oleaut32/tests: Cover Get*CustData in test_dump_typelib.
[wine.git] / configure
blobd29383c15466348ad07055b5d82cd0f0e7207753
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.21.
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.21'
584 PACKAGE_STRING='Wine 5.21'
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_gnutls
859 with_gsm
860 with_gssapi
861 with_gstreamer
862 with_hal
863 with_inotify
864 with_jpeg
865 with_krb5
866 with_ldap
867 with_mingw
868 with_mpg123
869 with_netapi
870 with_openal
871 with_opencl
872 with_opengl
873 with_osmesa
874 with_oss
875 with_pcap
876 with_png
877 with_pthread
878 with_pulse
879 with_quicktime
880 with_sane
881 with_sdl
882 with_tiff
883 with_udev
884 with_unwind
885 with_usb
886 with_v4l2
887 with_vkd3d
888 with_vulkan
889 with_xcomposite
890 with_xcursor
891 with_xfixes
892 with_xinerama
893 with_xinput
894 with_xinput2
895 with_xml
896 with_xrandr
897 with_xrender
898 with_xshape
899 with_xshm
900 with_xslt
901 with_xxf86vm
902 with_wine_tools
903 with_wine64
904 enable_largefile
905 with_x
906 enable_acledit
907 enable_aclui
908 enable_activeds_tlb
909 enable_activeds
910 enable_actxprxy
911 enable_adsiid
912 enable_adsldp
913 enable_adsldpc
914 enable_advapi32
915 enable_advpack
916 enable_amsi
917 enable_amstream
918 enable_api_ms_win_appmodel_identity_l1_1_0
919 enable_api_ms_win_appmodel_runtime_l1_1_1
920 enable_api_ms_win_appmodel_runtime_l1_1_2
921 enable_api_ms_win_core_apiquery_l1_1_0
922 enable_api_ms_win_core_appcompat_l1_1_1
923 enable_api_ms_win_core_appinit_l1_1_0
924 enable_api_ms_win_core_atoms_l1_1_0
925 enable_api_ms_win_core_bem_l1_1_0
926 enable_api_ms_win_core_com_l1_1_0
927 enable_api_ms_win_core_com_l1_1_1
928 enable_api_ms_win_core_com_private_l1_1_0
929 enable_api_ms_win_core_comm_l1_1_0
930 enable_api_ms_win_core_console_l1_1_0
931 enable_api_ms_win_core_console_l2_1_0
932 enable_api_ms_win_core_crt_l1_1_0
933 enable_api_ms_win_core_crt_l2_1_0
934 enable_api_ms_win_core_datetime_l1_1_0
935 enable_api_ms_win_core_datetime_l1_1_1
936 enable_api_ms_win_core_debug_l1_1_0
937 enable_api_ms_win_core_debug_l1_1_1
938 enable_api_ms_win_core_delayload_l1_1_0
939 enable_api_ms_win_core_delayload_l1_1_1
940 enable_api_ms_win_core_errorhandling_l1_1_0
941 enable_api_ms_win_core_errorhandling_l1_1_1
942 enable_api_ms_win_core_errorhandling_l1_1_2
943 enable_api_ms_win_core_errorhandling_l1_1_3
944 enable_api_ms_win_core_fibers_l1_1_0
945 enable_api_ms_win_core_fibers_l1_1_1
946 enable_api_ms_win_core_file_ansi_l2_1_0
947 enable_api_ms_win_core_file_fromapp_l1_1_0
948 enable_api_ms_win_core_file_l1_1_0
949 enable_api_ms_win_core_file_l1_2_0
950 enable_api_ms_win_core_file_l1_2_1
951 enable_api_ms_win_core_file_l1_2_2
952 enable_api_ms_win_core_file_l2_1_0
953 enable_api_ms_win_core_file_l2_1_1
954 enable_api_ms_win_core_file_l2_1_2
955 enable_api_ms_win_core_handle_l1_1_0
956 enable_api_ms_win_core_heap_l1_1_0
957 enable_api_ms_win_core_heap_l1_2_0
958 enable_api_ms_win_core_heap_l2_1_0
959 enable_api_ms_win_core_heap_obsolete_l1_1_0
960 enable_api_ms_win_core_interlocked_l1_1_0
961 enable_api_ms_win_core_interlocked_l1_2_0
962 enable_api_ms_win_core_io_l1_1_0
963 enable_api_ms_win_core_io_l1_1_1
964 enable_api_ms_win_core_job_l1_1_0
965 enable_api_ms_win_core_job_l2_1_0
966 enable_api_ms_win_core_kernel32_legacy_l1_1_0
967 enable_api_ms_win_core_kernel32_legacy_l1_1_1
968 enable_api_ms_win_core_kernel32_private_l1_1_1
969 enable_api_ms_win_core_largeinteger_l1_1_0
970 enable_api_ms_win_core_libraryloader_l1_1_0
971 enable_api_ms_win_core_libraryloader_l1_1_1
972 enable_api_ms_win_core_libraryloader_l1_2_0
973 enable_api_ms_win_core_libraryloader_l1_2_1
974 enable_api_ms_win_core_libraryloader_l1_2_2
975 enable_api_ms_win_core_libraryloader_l2_1_0
976 enable_api_ms_win_core_localization_l1_1_0
977 enable_api_ms_win_core_localization_l1_2_0
978 enable_api_ms_win_core_localization_l1_2_1
979 enable_api_ms_win_core_localization_l1_2_2
980 enable_api_ms_win_core_localization_l2_1_0
981 enable_api_ms_win_core_localization_obsolete_l1_1_0
982 enable_api_ms_win_core_localization_obsolete_l1_2_0
983 enable_api_ms_win_core_localization_obsolete_l1_3_0
984 enable_api_ms_win_core_localization_private_l1_1_0
985 enable_api_ms_win_core_localregistry_l1_1_0
986 enable_api_ms_win_core_memory_l1_1_0
987 enable_api_ms_win_core_memory_l1_1_1
988 enable_api_ms_win_core_memory_l1_1_2
989 enable_api_ms_win_core_memory_l1_1_3
990 enable_api_ms_win_core_memory_l1_1_4
991 enable_api_ms_win_core_misc_l1_1_0
992 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
993 enable_api_ms_win_core_namedpipe_l1_1_0
994 enable_api_ms_win_core_namedpipe_l1_2_0
995 enable_api_ms_win_core_namespace_l1_1_0
996 enable_api_ms_win_core_normalization_l1_1_0
997 enable_api_ms_win_core_path_l1_1_0
998 enable_api_ms_win_core_privateprofile_l1_1_1
999 enable_api_ms_win_core_processenvironment_l1_1_0
1000 enable_api_ms_win_core_processenvironment_l1_2_0
1001 enable_api_ms_win_core_processthreads_l1_1_0
1002 enable_api_ms_win_core_processthreads_l1_1_1
1003 enable_api_ms_win_core_processthreads_l1_1_2
1004 enable_api_ms_win_core_processthreads_l1_1_3
1005 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1006 enable_api_ms_win_core_profile_l1_1_0
1007 enable_api_ms_win_core_psapi_ansi_l1_1_0
1008 enable_api_ms_win_core_psapi_l1_1_0
1009 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1010 enable_api_ms_win_core_quirks_l1_1_0
1011 enable_api_ms_win_core_realtime_l1_1_0
1012 enable_api_ms_win_core_registry_l1_1_0
1013 enable_api_ms_win_core_registry_l2_1_0
1014 enable_api_ms_win_core_registry_l2_2_0
1015 enable_api_ms_win_core_registryuserspecific_l1_1_0
1016 enable_api_ms_win_core_rtlsupport_l1_1_0
1017 enable_api_ms_win_core_rtlsupport_l1_2_0
1018 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1019 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1020 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1021 enable_api_ms_win_core_shutdown_l1_1_0
1022 enable_api_ms_win_core_sidebyside_l1_1_0
1023 enable_api_ms_win_core_string_l1_1_0
1024 enable_api_ms_win_core_string_l2_1_0
1025 enable_api_ms_win_core_string_obsolete_l1_1_0
1026 enable_api_ms_win_core_stringansi_l1_1_0
1027 enable_api_ms_win_core_stringloader_l1_1_1
1028 enable_api_ms_win_core_synch_ansi_l1_1_0
1029 enable_api_ms_win_core_synch_l1_1_0
1030 enable_api_ms_win_core_synch_l1_2_0
1031 enable_api_ms_win_core_synch_l1_2_1
1032 enable_api_ms_win_core_sysinfo_l1_1_0
1033 enable_api_ms_win_core_sysinfo_l1_2_0
1034 enable_api_ms_win_core_sysinfo_l1_2_1
1035 enable_api_ms_win_core_systemtopology_l1_1_0
1036 enable_api_ms_win_core_threadpool_l1_1_0
1037 enable_api_ms_win_core_threadpool_l1_2_0
1038 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1039 enable_api_ms_win_core_threadpool_private_l1_1_0
1040 enable_api_ms_win_core_timezone_l1_1_0
1041 enable_api_ms_win_core_toolhelp_l1_1_0
1042 enable_api_ms_win_core_url_l1_1_0
1043 enable_api_ms_win_core_util_l1_1_0
1044 enable_api_ms_win_core_version_l1_1_0
1045 enable_api_ms_win_core_version_l1_1_1
1046 enable_api_ms_win_core_version_private_l1_1_0
1047 enable_api_ms_win_core_versionansi_l1_1_0
1048 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1049 enable_api_ms_win_core_winrt_error_l1_1_0
1050 enable_api_ms_win_core_winrt_error_l1_1_1
1051 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1052 enable_api_ms_win_core_winrt_l1_1_0
1053 enable_api_ms_win_core_winrt_registration_l1_1_0
1054 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1055 enable_api_ms_win_core_winrt_string_l1_1_0
1056 enable_api_ms_win_core_winrt_string_l1_1_1
1057 enable_api_ms_win_core_wow64_l1_1_0
1058 enable_api_ms_win_core_wow64_l1_1_1
1059 enable_api_ms_win_core_xstate_l1_1_0
1060 enable_api_ms_win_core_xstate_l2_1_0
1061 enable_api_ms_win_crt_conio_l1_1_0
1062 enable_api_ms_win_crt_convert_l1_1_0
1063 enable_api_ms_win_crt_environment_l1_1_0
1064 enable_api_ms_win_crt_filesystem_l1_1_0
1065 enable_api_ms_win_crt_heap_l1_1_0
1066 enable_api_ms_win_crt_locale_l1_1_0
1067 enable_api_ms_win_crt_math_l1_1_0
1068 enable_api_ms_win_crt_multibyte_l1_1_0
1069 enable_api_ms_win_crt_private_l1_1_0
1070 enable_api_ms_win_crt_process_l1_1_0
1071 enable_api_ms_win_crt_runtime_l1_1_0
1072 enable_api_ms_win_crt_stdio_l1_1_0
1073 enable_api_ms_win_crt_string_l1_1_0
1074 enable_api_ms_win_crt_time_l1_1_0
1075 enable_api_ms_win_crt_utility_l1_1_0
1076 enable_api_ms_win_devices_config_l1_1_0
1077 enable_api_ms_win_devices_config_l1_1_1
1078 enable_api_ms_win_devices_query_l1_1_1
1079 enable_api_ms_win_downlevel_advapi32_l1_1_0
1080 enable_api_ms_win_downlevel_advapi32_l2_1_0
1081 enable_api_ms_win_downlevel_kernel32_l2_1_0
1082 enable_api_ms_win_downlevel_normaliz_l1_1_0
1083 enable_api_ms_win_downlevel_ole32_l1_1_0
1084 enable_api_ms_win_downlevel_shell32_l1_1_0
1085 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1086 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1087 enable_api_ms_win_downlevel_user32_l1_1_0
1088 enable_api_ms_win_downlevel_version_l1_1_0
1089 enable_api_ms_win_dx_d3dkmt_l1_1_0
1090 enable_api_ms_win_eventing_classicprovider_l1_1_0
1091 enable_api_ms_win_eventing_consumer_l1_1_0
1092 enable_api_ms_win_eventing_controller_l1_1_0
1093 enable_api_ms_win_eventing_legacy_l1_1_0
1094 enable_api_ms_win_eventing_provider_l1_1_0
1095 enable_api_ms_win_eventlog_legacy_l1_1_0
1096 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1097 enable_api_ms_win_mm_joystick_l1_1_0
1098 enable_api_ms_win_mm_misc_l1_1_1
1099 enable_api_ms_win_mm_mme_l1_1_0
1100 enable_api_ms_win_mm_time_l1_1_0
1101 enable_api_ms_win_ntuser_dc_access_l1_1_0
1102 enable_api_ms_win_ntuser_rectangle_l1_1_0
1103 enable_api_ms_win_ntuser_sysparams_l1_1_0
1104 enable_api_ms_win_perf_legacy_l1_1_0
1105 enable_api_ms_win_power_base_l1_1_0
1106 enable_api_ms_win_power_setting_l1_1_0
1107 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1110 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1111 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1114 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1115 enable_api_ms_win_security_audit_l1_1_1
1116 enable_api_ms_win_security_base_l1_1_0
1117 enable_api_ms_win_security_base_l1_2_0
1118 enable_api_ms_win_security_base_private_l1_1_1
1119 enable_api_ms_win_security_credentials_l1_1_0
1120 enable_api_ms_win_security_cryptoapi_l1_1_0
1121 enable_api_ms_win_security_grouppolicy_l1_1_0
1122 enable_api_ms_win_security_lsalookup_l1_1_0
1123 enable_api_ms_win_security_lsalookup_l1_1_1
1124 enable_api_ms_win_security_lsalookup_l2_1_0
1125 enable_api_ms_win_security_lsalookup_l2_1_1
1126 enable_api_ms_win_security_lsapolicy_l1_1_0
1127 enable_api_ms_win_security_provider_l1_1_0
1128 enable_api_ms_win_security_sddl_l1_1_0
1129 enable_api_ms_win_security_systemfunctions_l1_1_0
1130 enable_api_ms_win_service_core_l1_1_0
1131 enable_api_ms_win_service_core_l1_1_1
1132 enable_api_ms_win_service_management_l1_1_0
1133 enable_api_ms_win_service_management_l2_1_0
1134 enable_api_ms_win_service_private_l1_1_1
1135 enable_api_ms_win_service_winsvc_l1_1_0
1136 enable_api_ms_win_service_winsvc_l1_2_0
1137 enable_api_ms_win_shcore_obsolete_l1_1_0
1138 enable_api_ms_win_shcore_scaling_l1_1_1
1139 enable_api_ms_win_shcore_stream_l1_1_0
1140 enable_api_ms_win_shcore_thread_l1_1_0
1141 enable_api_ms_win_shell_shellcom_l1_1_0
1142 enable_api_ms_win_shell_shellfolders_l1_1_0
1143 enable_apphelp
1144 enable_appwiz_cpl
1145 enable_atl
1146 enable_atl100
1147 enable_atl110
1148 enable_atl80
1149 enable_atl90
1150 enable_atlthunk
1151 enable_atmlib
1152 enable_authz
1153 enable_avicap32
1154 enable_avifil32
1155 enable_avrt
1156 enable_bcrypt
1157 enable_bluetoothapis
1158 enable_browseui
1159 enable_bthprops_cpl
1160 enable_cabinet
1161 enable_capi2032
1162 enable_cards
1163 enable_cdosys
1164 enable_cfgmgr32
1165 enable_clusapi
1166 enable_combase
1167 enable_comcat
1168 enable_comctl32
1169 enable_comdlg32
1170 enable_compstui
1171 enable_comsvcs
1172 enable_concrt140
1173 enable_connect
1174 enable_credui
1175 enable_crtdll
1176 enable_crypt32
1177 enable_cryptdlg
1178 enable_cryptdll
1179 enable_cryptext
1180 enable_cryptnet
1181 enable_cryptui
1182 enable_ctapi32
1183 enable_ctl3d32
1184 enable_d2d1
1185 enable_d3d10
1186 enable_d3d10_1
1187 enable_d3d10core
1188 enable_d3d11
1189 enable_d3d12
1190 enable_d3d8
1191 enable_d3d8thk
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_d3dim700
1208 enable_d3drm
1209 enable_d3dx10_33
1210 enable_d3dx10_34
1211 enable_d3dx10_35
1212 enable_d3dx10_36
1213 enable_d3dx10_37
1214 enable_d3dx10_38
1215 enable_d3dx10_39
1216 enable_d3dx10_40
1217 enable_d3dx10_41
1218 enable_d3dx10_42
1219 enable_d3dx10_43
1220 enable_d3dx11_42
1221 enable_d3dx11_43
1222 enable_d3dx9_24
1223 enable_d3dx9_25
1224 enable_d3dx9_26
1225 enable_d3dx9_27
1226 enable_d3dx9_28
1227 enable_d3dx9_29
1228 enable_d3dx9_30
1229 enable_d3dx9_31
1230 enable_d3dx9_32
1231 enable_d3dx9_33
1232 enable_d3dx9_34
1233 enable_d3dx9_35
1234 enable_d3dx9_36
1235 enable_d3dx9_37
1236 enable_d3dx9_38
1237 enable_d3dx9_39
1238 enable_d3dx9_40
1239 enable_d3dx9_41
1240 enable_d3dx9_42
1241 enable_d3dx9_43
1242 enable_d3dxof
1243 enable_davclnt
1244 enable_dbgeng
1245 enable_dbghelp
1246 enable_dciman32
1247 enable_ddraw
1248 enable_ddrawex
1249 enable_devenum
1250 enable_dhcpcsvc
1251 enable_dhtmled_ocx
1252 enable_difxapi
1253 enable_dinput
1254 enable_dinput8
1255 enable_directmanipulation
1256 enable_dispex
1257 enable_dmband
1258 enable_dmcompos
1259 enable_dmime
1260 enable_dmloader
1261 enable_dmoguids
1262 enable_dmscript
1263 enable_dmstyle
1264 enable_dmsynth
1265 enable_dmusic
1266 enable_dmusic32
1267 enable_dnsapi
1268 enable_dplay
1269 enable_dplayx
1270 enable_dpnaddr
1271 enable_dpnet
1272 enable_dpnhpast
1273 enable_dpnlobby
1274 enable_dpvoice
1275 enable_dpwsockx
1276 enable_drmclien
1277 enable_dsdmo
1278 enable_dsound
1279 enable_dsquery
1280 enable_dssenh
1281 enable_dsuiext
1282 enable_dswave
1283 enable_dwmapi
1284 enable_dwrite
1285 enable_dx8vb
1286 enable_dxdiagn
1287 enable_dxerr8
1288 enable_dxerr9
1289 enable_dxgi
1290 enable_dxguid
1291 enable_dxva2
1292 enable_esent
1293 enable_evr
1294 enable_explorerframe
1295 enable_ext_ms_win_authz_context_l1_1_0
1296 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1297 enable_ext_ms_win_dwmapi_ext_l1_1_0
1298 enable_ext_ms_win_gdi_dc_create_l1_1_0
1299 enable_ext_ms_win_gdi_dc_create_l1_1_1
1300 enable_ext_ms_win_gdi_dc_l1_2_0
1301 enable_ext_ms_win_gdi_devcaps_l1_1_0
1302 enable_ext_ms_win_gdi_draw_l1_1_0
1303 enable_ext_ms_win_gdi_draw_l1_1_1
1304 enable_ext_ms_win_gdi_font_l1_1_0
1305 enable_ext_ms_win_gdi_font_l1_1_1
1306 enable_ext_ms_win_gdi_render_l1_1_0
1307 enable_ext_ms_win_kernel32_package_current_l1_1_0
1308 enable_ext_ms_win_kernel32_package_l1_1_1
1309 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1310 enable_ext_ms_win_ntuser_draw_l1_1_0
1311 enable_ext_ms_win_ntuser_gui_l1_1_0
1312 enable_ext_ms_win_ntuser_gui_l1_3_0
1313 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1314 enable_ext_ms_win_ntuser_message_l1_1_0
1315 enable_ext_ms_win_ntuser_message_l1_1_1
1316 enable_ext_ms_win_ntuser_misc_l1_1_0
1317 enable_ext_ms_win_ntuser_misc_l1_2_0
1318 enable_ext_ms_win_ntuser_misc_l1_5_1
1319 enable_ext_ms_win_ntuser_mouse_l1_1_0
1320 enable_ext_ms_win_ntuser_private_l1_1_1
1321 enable_ext_ms_win_ntuser_private_l1_3_1
1322 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1323 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1324 enable_ext_ms_win_ntuser_window_l1_1_0
1325 enable_ext_ms_win_ntuser_window_l1_1_1
1326 enable_ext_ms_win_ntuser_window_l1_1_4
1327 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1328 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1329 enable_ext_ms_win_oleacc_l1_1_0
1330 enable_ext_ms_win_ras_rasapi32_l1_1_0
1331 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1332 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1333 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1334 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1335 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1336 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1337 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1338 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1339 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1340 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1341 enable_ext_ms_win_security_credui_l1_1_0
1342 enable_ext_ms_win_security_cryptui_l1_1_0
1343 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1344 enable_ext_ms_win_shell_comdlg32_l1_1_0
1345 enable_ext_ms_win_shell_shell32_l1_2_0
1346 enable_ext_ms_win_uxtheme_themes_l1_1_0
1347 enable_faultrep
1348 enable_feclient
1349 enable_fltlib
1350 enable_fltmgr_sys
1351 enable_fntcache
1352 enable_fontsub
1353 enable_fusion
1354 enable_fwpuclnt
1355 enable_gameux
1356 enable_gdi32
1357 enable_gdiplus
1358 enable_glu32
1359 enable_gphoto2_ds
1360 enable_gpkcsp
1361 enable_hal
1362 enable_hhctrl_ocx
1363 enable_hid
1364 enable_hidclass_sys
1365 enable_hlink
1366 enable_hnetcfg
1367 enable_http_sys
1368 enable_httpapi
1369 enable_iccvid
1370 enable_icmp
1371 enable_ieframe
1372 enable_ieproxy
1373 enable_imaadp32_acm
1374 enable_imagehlp
1375 enable_imm32
1376 enable_inetcomm
1377 enable_inetcpl_cpl
1378 enable_inetmib1
1379 enable_infosoft
1380 enable_initpki
1381 enable_inkobj
1382 enable_inseng
1383 enable_iphlpapi
1384 enable_iprop
1385 enable_irprops_cpl
1386 enable_itircl
1387 enable_itss
1388 enable_joy_cpl
1389 enable_jscript
1390 enable_jsproxy
1391 enable_kerberos
1392 enable_kernel32
1393 enable_kernelbase
1394 enable_ksecdd_sys
1395 enable_ksproxy_ax
1396 enable_ksuser
1397 enable_ktmw32
1398 enable_l3codeca_acm
1399 enable_loadperf
1400 enable_localspl
1401 enable_localui
1402 enable_lz32
1403 enable_mapi32
1404 enable_mapistub
1405 enable_mciavi32
1406 enable_mcicda
1407 enable_mciqtz32
1408 enable_mciseq
1409 enable_mciwave
1410 enable_mf
1411 enable_mf3216
1412 enable_mferror
1413 enable_mfmediaengine
1414 enable_mfplat
1415 enable_mfplay
1416 enable_mfreadwrite
1417 enable_mfuuid
1418 enable_mgmtapi
1419 enable_midimap
1420 enable_mlang
1421 enable_mmcndmgr
1422 enable_mmdevapi
1423 enable_mountmgr_sys
1424 enable_mp3dmod
1425 enable_mpr
1426 enable_mprapi
1427 enable_msacm32_drv
1428 enable_msacm32
1429 enable_msado15
1430 enable_msadp32_acm
1431 enable_msasn1
1432 enable_mscat32
1433 enable_mscms
1434 enable_mscoree
1435 enable_mscorwks
1436 enable_msctf
1437 enable_msctfp
1438 enable_msdaps
1439 enable_msdelta
1440 enable_msdmo
1441 enable_msdrm
1442 enable_msftedit
1443 enable_msg711_acm
1444 enable_msgsm32_acm
1445 enable_mshtml_tlb
1446 enable_mshtml
1447 enable_msi
1448 enable_msident
1449 enable_msimg32
1450 enable_msimsg
1451 enable_msimtf
1452 enable_msisip
1453 enable_msisys_ocx
1454 enable_msls31
1455 enable_msnet32
1456 enable_mspatcha
1457 enable_msports
1458 enable_msrle32
1459 enable_msscript_ocx
1460 enable_mssign32
1461 enable_mssip32
1462 enable_mstask
1463 enable_msvcirt
1464 enable_msvcm80
1465 enable_msvcm90
1466 enable_msvcp100
1467 enable_msvcp110
1468 enable_msvcp120
1469 enable_msvcp120_app
1470 enable_msvcp140
1471 enable_msvcp140_1
1472 enable_msvcp60
1473 enable_msvcp70
1474 enable_msvcp71
1475 enable_msvcp80
1476 enable_msvcp90
1477 enable_msvcr100
1478 enable_msvcr110
1479 enable_msvcr120
1480 enable_msvcr120_app
1481 enable_msvcr70
1482 enable_msvcr71
1483 enable_msvcr80
1484 enable_msvcr90
1485 enable_msvcrt
1486 enable_msvcrt20
1487 enable_msvcrt40
1488 enable_msvcrtd
1489 enable_msvfw32
1490 enable_msvidc32
1491 enable_mswsock
1492 enable_msxml
1493 enable_msxml2
1494 enable_msxml3
1495 enable_msxml4
1496 enable_msxml6
1497 enable_mtxdm
1498 enable_ncrypt
1499 enable_nddeapi
1500 enable_ndis_sys
1501 enable_netapi32
1502 enable_netcfgx
1503 enable_netio_sys
1504 enable_netprofm
1505 enable_netutils
1506 enable_newdev
1507 enable_ninput
1508 enable_normaliz
1509 enable_npmshtml
1510 enable_npptools
1511 enable_ntdll
1512 enable_ntdsapi
1513 enable_ntoskrnl_exe
1514 enable_ntprint
1515 enable_objsel
1516 enable_odbc32
1517 enable_odbcbcp
1518 enable_odbccp32
1519 enable_odbccu32
1520 enable_ole32
1521 enable_oleacc
1522 enable_oleaut32
1523 enable_olecli32
1524 enable_oledb32
1525 enable_oledlg
1526 enable_olepro32
1527 enable_olesvr32
1528 enable_olethk32
1529 enable_opcservices
1530 enable_openal32
1531 enable_opencl
1532 enable_opengl32
1533 enable_packager
1534 enable_pdh
1535 enable_photometadatahandler
1536 enable_pidgen
1537 enable_powrprof
1538 enable_printui
1539 enable_prntvpt
1540 enable_propsys
1541 enable_psapi
1542 enable_pstorec
1543 enable_pwrshplugin
1544 enable_qasf
1545 enable_qcap
1546 enable_qdvd
1547 enable_qedit
1548 enable_qmgr
1549 enable_qmgrprxy
1550 enable_quartz
1551 enable_query
1552 enable_qwave
1553 enable_rasapi32
1554 enable_rasdlg
1555 enable_regapi
1556 enable_resutils
1557 enable_riched20
1558 enable_riched32
1559 enable_rpcrt4
1560 enable_rsabase
1561 enable_rsaenh
1562 enable_rstrtmgr
1563 enable_rtutils
1564 enable_rtworkq
1565 enable_samlib
1566 enable_sane_ds
1567 enable_sapi
1568 enable_sas
1569 enable_scarddlg
1570 enable_sccbase
1571 enable_schannel
1572 enable_schedsvc
1573 enable_scrobj
1574 enable_scrrun
1575 enable_scsiport_sys
1576 enable_sechost
1577 enable_secur32
1578 enable_security
1579 enable_sensapi
1580 enable_serialui
1581 enable_setupapi
1582 enable_sfc
1583 enable_sfc_os
1584 enable_shcore
1585 enable_shdoclc
1586 enable_shdocvw
1587 enable_shell32
1588 enable_shfolder
1589 enable_shlwapi
1590 enable_slbcsp
1591 enable_slc
1592 enable_snmpapi
1593 enable_softpub
1594 enable_spoolss
1595 enable_srclient
1596 enable_srvcli
1597 enable_sspicli
1598 enable_stdole2_tlb
1599 enable_stdole32_tlb
1600 enable_sti
1601 enable_strmbase
1602 enable_strmdll
1603 enable_strmiids
1604 enable_svrapi
1605 enable_sxs
1606 enable_t2embed
1607 enable_tapi32
1608 enable_taskschd
1609 enable_tdh
1610 enable_tdi_sys
1611 enable_traffic
1612 enable_twain_32
1613 enable_tzres
1614 enable_ucrtbase
1615 enable_uianimation
1616 enable_uiautomationcore
1617 enable_uiribbon
1618 enable_unicows
1619 enable_updspapi
1620 enable_url
1621 enable_urlmon
1622 enable_usbd_sys
1623 enable_user32
1624 enable_userenv
1625 enable_usp10
1626 enable_utildll
1627 enable_uuid
1628 enable_uxtheme
1629 enable_vbscript
1630 enable_vcomp
1631 enable_vcomp100
1632 enable_vcomp110
1633 enable_vcomp120
1634 enable_vcomp140
1635 enable_vcomp90
1636 enable_vcruntime140
1637 enable_vcruntime140_1
1638 enable_vdmdbg
1639 enable_version
1640 enable_vga
1641 enable_virtdisk
1642 enable_vssapi
1643 enable_vulkan_1
1644 enable_wbemdisp
1645 enable_wbemprox
1646 enable_wbemuuid
1647 enable_wdscore
1648 enable_webservices
1649 enable_wer
1650 enable_wevtapi
1651 enable_wevtsvc
1652 enable_wiaservc
1653 enable_wimgapi
1654 enable_windowscodecs
1655 enable_windowscodecsext
1656 enable_winealsa_drv
1657 enable_wineandroid_drv
1658 enable_winebus_sys
1659 enable_winecoreaudio_drv
1660 enable_winecrt0
1661 enable_wined3d
1662 enable_winegstreamer
1663 enable_winehid_sys
1664 enable_winejoystick_drv
1665 enable_winemac_drv
1666 enable_winemapi
1667 enable_wineoss_drv
1668 enable_wineps_drv
1669 enable_winepulse_drv
1670 enable_wineqtdecoder
1671 enable_wineusb_sys
1672 enable_winevulkan
1673 enable_winex11_drv
1674 enable_wing32
1675 enable_winhttp
1676 enable_wininet
1677 enable_winmm
1678 enable_winnls32
1679 enable_winscard
1680 enable_winspool_drv
1681 enable_winsta
1682 enable_wintab32
1683 enable_wintrust
1684 enable_winusb
1685 enable_wlanapi
1686 enable_wlanui
1687 enable_wldap32
1688 enable_wmasf
1689 enable_wmcodecdspuuid
1690 enable_wmi
1691 enable_wmiutils
1692 enable_wmp
1693 enable_wmphoto
1694 enable_wmvcore
1695 enable_wnaspi32
1696 enable_wpc
1697 enable_wpcap
1698 enable_ws2_32
1699 enable_wsdapi
1700 enable_wshom_ocx
1701 enable_wsnmp32
1702 enable_wsock32
1703 enable_wtsapi32
1704 enable_wuapi
1705 enable_wuaueng
1706 enable_x3daudio1_0
1707 enable_x3daudio1_1
1708 enable_x3daudio1_2
1709 enable_x3daudio1_3
1710 enable_x3daudio1_4
1711 enable_x3daudio1_5
1712 enable_x3daudio1_6
1713 enable_x3daudio1_7
1714 enable_xactengine3_0
1715 enable_xactengine3_1
1716 enable_xactengine3_2
1717 enable_xactengine3_3
1718 enable_xactengine3_4
1719 enable_xactengine3_5
1720 enable_xactengine3_6
1721 enable_xactengine3_7
1722 enable_xapofx1_1
1723 enable_xapofx1_2
1724 enable_xapofx1_3
1725 enable_xapofx1_4
1726 enable_xapofx1_5
1727 enable_xaudio2_0
1728 enable_xaudio2_1
1729 enable_xaudio2_2
1730 enable_xaudio2_3
1731 enable_xaudio2_4
1732 enable_xaudio2_5
1733 enable_xaudio2_6
1734 enable_xaudio2_7
1735 enable_xaudio2_8
1736 enable_xaudio2_9
1737 enable_xinput1_1
1738 enable_xinput1_2
1739 enable_xinput1_3
1740 enable_xinput1_4
1741 enable_xinput9_1_0
1742 enable_xmllite
1743 enable_xolehlp
1744 enable_xpsprint
1745 enable_xpssvcs
1746 enable_fonts
1747 enable_include
1748 enable_port
1749 enable_wine
1750 enable_wpp
1751 enable_loader
1752 enable_nls
1753 enable_po
1754 enable_arp
1755 enable_aspnet_regiis
1756 enable_attrib
1757 enable_cabarc
1758 enable_cacls
1759 enable_chcp_com
1760 enable_clock
1761 enable_cmd
1762 enable_conhost
1763 enable_control
1764 enable_cscript
1765 enable_dism
1766 enable_dplaysvr
1767 enable_dpnsvr
1768 enable_dpvsetup
1769 enable_dxdiag
1770 enable_eject
1771 enable_expand
1772 enable_explorer
1773 enable_extrac32
1774 enable_fc
1775 enable_find
1776 enable_findstr
1777 enable_fsutil
1778 enable_hh
1779 enable_hostname
1780 enable_icacls
1781 enable_icinfo
1782 enable_iexplore
1783 enable_ipconfig
1784 enable_lodctr
1785 enable_mofcomp
1786 enable_mshta
1787 enable_msidb
1788 enable_msiexec
1789 enable_msinfo32
1790 enable_net
1791 enable_netsh
1792 enable_netstat
1793 enable_ngen
1794 enable_notepad
1795 enable_oleview
1796 enable_ping
1797 enable_plugplay
1798 enable_powershell
1799 enable_presentationfontcache
1800 enable_progman
1801 enable_reg
1802 enable_regasm
1803 enable_regedit
1804 enable_regini
1805 enable_regsvcs
1806 enable_regsvr32
1807 enable_rpcss
1808 enable_rundll32
1809 enable_sc
1810 enable_schtasks
1811 enable_sdbinst
1812 enable_secedit
1813 enable_servicemodelreg
1814 enable_services
1815 enable_shutdown
1816 enable_spoolsv
1817 enable_start
1818 enable_subst
1819 enable_svchost
1820 enable_systeminfo
1821 enable_taskkill
1822 enable_tasklist
1823 enable_taskmgr
1824 enable_termsv
1825 enable_uninstaller
1826 enable_unlodctr
1827 enable_view
1828 enable_wevtutil
1829 enable_where
1830 enable_whoami
1831 enable_wineboot
1832 enable_winebrowser
1833 enable_winecfg
1834 enable_wineconsole
1835 enable_winedbg
1836 enable_winedevice
1837 enable_winefile
1838 enable_winemenubuilder
1839 enable_winemine
1840 enable_winemsibuilder
1841 enable_winepath
1842 enable_winetest
1843 enable_winhlp32
1844 enable_winmgmt
1845 enable_winver
1846 enable_wmic
1847 enable_wmplayer
1848 enable_wordpad
1849 enable_write
1850 enable_wscript
1851 enable_wuauserv
1852 enable_wusa
1853 enable_xcopy
1854 enable_server
1855 enable_tools
1856 enable_sfnt2fon
1857 enable_widl
1858 enable_winebuild
1859 enable_winedump
1860 enable_winegcc
1861 enable_winemaker
1862 enable_wmc
1863 enable_wrc
1865 ac_precious_vars='build_alias
1866 host_alias
1867 target_alias
1869 CFLAGS
1870 LDFLAGS
1871 LIBS
1872 CPPFLAGS
1874 CXXFLAGS
1877 OBJC
1878 OBJCFLAGS
1879 OBJCPP
1880 XMKMF
1881 XML2_CFLAGS
1882 XML2_LIBS
1883 XSLT_CFLAGS
1884 XSLT_LIBS
1885 INOTIFY_CFLAGS
1886 INOTIFY_LIBS
1887 DBUS_CFLAGS
1888 DBUS_LIBS
1889 HAL_CFLAGS
1890 HAL_LIBS
1891 GNUTLS_CFLAGS
1892 GNUTLS_LIBS
1893 SANE_CFLAGS
1894 SANE_LIBS
1895 USB_CFLAGS
1896 USB_LIBS
1897 GPHOTO2_CFLAGS
1898 GPHOTO2_LIBS
1899 GPHOTO2_PORT_CFLAGS
1900 GPHOTO2_PORT_LIBS
1901 LCMS2_CFLAGS
1902 LCMS2_LIBS
1903 FREETYPE_CFLAGS
1904 FREETYPE_LIBS
1905 PULSE_CFLAGS
1906 PULSE_LIBS
1907 GSTREAMER_CFLAGS
1908 GSTREAMER_LIBS
1909 UDEV_CFLAGS
1910 UDEV_LIBS
1911 UNWIND_CFLAGS
1912 UNWIND_LIBS
1913 SDL2_CFLAGS
1914 SDL2_LIBS
1915 FAUDIO_CFLAGS
1916 FAUDIO_LIBS
1917 CAPI20_CFLAGS
1918 CAPI20_LIBS
1919 CUPS_CFLAGS
1920 CUPS_LIBS
1921 FONTCONFIG_CFLAGS
1922 FONTCONFIG_LIBS
1923 KRB5_CFLAGS
1924 KRB5_LIBS
1925 GSSAPI_CFLAGS
1926 GSSAPI_LIBS
1927 JPEG_CFLAGS
1928 JPEG_LIBS
1929 PNG_CFLAGS
1930 PNG_LIBS
1931 TIFF_CFLAGS
1932 TIFF_LIBS
1933 MPG123_CFLAGS
1934 MPG123_LIBS
1935 NETAPI_CFLAGS
1936 NETAPI_LIBS
1937 VKD3D_CFLAGS
1938 VKD3D_LIBS
1939 VKD3D_SHADER_CFLAGS
1940 VKD3D_SHADER_LIBS
1941 LDAP_CFLAGS
1942 LDAP_LIBS'
1945 # Initialize some variables set by options.
1946 ac_init_help=
1947 ac_init_version=false
1948 ac_unrecognized_opts=
1949 ac_unrecognized_sep=
1950 # The variables have the same names as the options, with
1951 # dashes changed to underlines.
1952 cache_file=/dev/null
1953 exec_prefix=NONE
1954 no_create=
1955 no_recursion=
1956 prefix=NONE
1957 program_prefix=NONE
1958 program_suffix=NONE
1959 program_transform_name=s,x,x,
1960 silent=
1961 site=
1962 srcdir=
1963 verbose=
1964 x_includes=NONE
1965 x_libraries=NONE
1967 # Installation directory options.
1968 # These are left unexpanded so users can "make install exec_prefix=/foo"
1969 # and all the variables that are supposed to be based on exec_prefix
1970 # by default will actually change.
1971 # Use braces instead of parens because sh, perl, etc. also accept them.
1972 # (The list follows the same order as the GNU Coding Standards.)
1973 bindir='${exec_prefix}/bin'
1974 sbindir='${exec_prefix}/sbin'
1975 libexecdir='${exec_prefix}/libexec'
1976 datarootdir='${prefix}/share'
1977 datadir='${datarootdir}'
1978 sysconfdir='${prefix}/etc'
1979 sharedstatedir='${prefix}/com'
1980 localstatedir='${prefix}/var'
1981 runstatedir='${localstatedir}/run'
1982 includedir='${prefix}/include'
1983 oldincludedir='/usr/include'
1984 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1985 infodir='${datarootdir}/info'
1986 htmldir='${docdir}'
1987 dvidir='${docdir}'
1988 pdfdir='${docdir}'
1989 psdir='${docdir}'
1990 libdir='${exec_prefix}/lib'
1991 localedir='${datarootdir}/locale'
1992 mandir='${datarootdir}/man'
1994 ac_prev=
1995 ac_dashdash=
1996 for ac_option
1998 # If the previous option needs an argument, assign it.
1999 if test -n "$ac_prev"; then
2000 eval $ac_prev=\$ac_option
2001 ac_prev=
2002 continue
2005 case $ac_option in
2006 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2007 *=) ac_optarg= ;;
2008 *) ac_optarg=yes ;;
2009 esac
2011 # Accept the important Cygnus configure options, so we can diagnose typos.
2013 case $ac_dashdash$ac_option in
2015 ac_dashdash=yes ;;
2017 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2018 ac_prev=bindir ;;
2019 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2020 bindir=$ac_optarg ;;
2022 -build | --build | --buil | --bui | --bu)
2023 ac_prev=build_alias ;;
2024 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2025 build_alias=$ac_optarg ;;
2027 -cache-file | --cache-file | --cache-fil | --cache-fi \
2028 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2029 ac_prev=cache_file ;;
2030 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2031 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2032 cache_file=$ac_optarg ;;
2034 --config-cache | -C)
2035 cache_file=config.cache ;;
2037 -datadir | --datadir | --datadi | --datad)
2038 ac_prev=datadir ;;
2039 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2040 datadir=$ac_optarg ;;
2042 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2043 | --dataroo | --dataro | --datar)
2044 ac_prev=datarootdir ;;
2045 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2046 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2047 datarootdir=$ac_optarg ;;
2049 -disable-* | --disable-*)
2050 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2051 # Reject names that are not valid shell variable names.
2052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2053 as_fn_error $? "invalid feature name: $ac_useropt"
2054 ac_useropt_orig=$ac_useropt
2055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2056 case $ac_user_opts in
2058 "enable_$ac_useropt"
2059 "*) ;;
2060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2061 ac_unrecognized_sep=', ';;
2062 esac
2063 eval enable_$ac_useropt=no ;;
2065 -docdir | --docdir | --docdi | --doc | --do)
2066 ac_prev=docdir ;;
2067 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2068 docdir=$ac_optarg ;;
2070 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2071 ac_prev=dvidir ;;
2072 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2073 dvidir=$ac_optarg ;;
2075 -enable-* | --enable-*)
2076 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2077 # Reject names that are not valid shell variable names.
2078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2079 as_fn_error $? "invalid feature name: $ac_useropt"
2080 ac_useropt_orig=$ac_useropt
2081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2082 case $ac_user_opts in
2084 "enable_$ac_useropt"
2085 "*) ;;
2086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2087 ac_unrecognized_sep=', ';;
2088 esac
2089 eval enable_$ac_useropt=\$ac_optarg ;;
2091 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2092 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2093 | --exec | --exe | --ex)
2094 ac_prev=exec_prefix ;;
2095 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2096 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2097 | --exec=* | --exe=* | --ex=*)
2098 exec_prefix=$ac_optarg ;;
2100 -gas | --gas | --ga | --g)
2101 # Obsolete; use --with-gas.
2102 with_gas=yes ;;
2104 -help | --help | --hel | --he | -h)
2105 ac_init_help=long ;;
2106 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2107 ac_init_help=recursive ;;
2108 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2109 ac_init_help=short ;;
2111 -host | --host | --hos | --ho)
2112 ac_prev=host_alias ;;
2113 -host=* | --host=* | --hos=* | --ho=*)
2114 host_alias=$ac_optarg ;;
2116 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2117 ac_prev=htmldir ;;
2118 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2119 | --ht=*)
2120 htmldir=$ac_optarg ;;
2122 -includedir | --includedir | --includedi | --included | --include \
2123 | --includ | --inclu | --incl | --inc)
2124 ac_prev=includedir ;;
2125 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2126 | --includ=* | --inclu=* | --incl=* | --inc=*)
2127 includedir=$ac_optarg ;;
2129 -infodir | --infodir | --infodi | --infod | --info | --inf)
2130 ac_prev=infodir ;;
2131 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2132 infodir=$ac_optarg ;;
2134 -libdir | --libdir | --libdi | --libd)
2135 ac_prev=libdir ;;
2136 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2137 libdir=$ac_optarg ;;
2139 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2140 | --libexe | --libex | --libe)
2141 ac_prev=libexecdir ;;
2142 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2143 | --libexe=* | --libex=* | --libe=*)
2144 libexecdir=$ac_optarg ;;
2146 -localedir | --localedir | --localedi | --localed | --locale)
2147 ac_prev=localedir ;;
2148 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2149 localedir=$ac_optarg ;;
2151 -localstatedir | --localstatedir | --localstatedi | --localstated \
2152 | --localstate | --localstat | --localsta | --localst | --locals)
2153 ac_prev=localstatedir ;;
2154 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2155 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2156 localstatedir=$ac_optarg ;;
2158 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2159 ac_prev=mandir ;;
2160 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2161 mandir=$ac_optarg ;;
2163 -nfp | --nfp | --nf)
2164 # Obsolete; use --without-fp.
2165 with_fp=no ;;
2167 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2168 | --no-cr | --no-c | -n)
2169 no_create=yes ;;
2171 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2172 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2173 no_recursion=yes ;;
2175 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2176 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2177 | --oldin | --oldi | --old | --ol | --o)
2178 ac_prev=oldincludedir ;;
2179 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2180 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2181 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2182 oldincludedir=$ac_optarg ;;
2184 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2185 ac_prev=prefix ;;
2186 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2187 prefix=$ac_optarg ;;
2189 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2190 | --program-pre | --program-pr | --program-p)
2191 ac_prev=program_prefix ;;
2192 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2193 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2194 program_prefix=$ac_optarg ;;
2196 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2197 | --program-suf | --program-su | --program-s)
2198 ac_prev=program_suffix ;;
2199 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2200 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2201 program_suffix=$ac_optarg ;;
2203 -program-transform-name | --program-transform-name \
2204 | --program-transform-nam | --program-transform-na \
2205 | --program-transform-n | --program-transform- \
2206 | --program-transform | --program-transfor \
2207 | --program-transfo | --program-transf \
2208 | --program-trans | --program-tran \
2209 | --progr-tra | --program-tr | --program-t)
2210 ac_prev=program_transform_name ;;
2211 -program-transform-name=* | --program-transform-name=* \
2212 | --program-transform-nam=* | --program-transform-na=* \
2213 | --program-transform-n=* | --program-transform-=* \
2214 | --program-transform=* | --program-transfor=* \
2215 | --program-transfo=* | --program-transf=* \
2216 | --program-trans=* | --program-tran=* \
2217 | --progr-tra=* | --program-tr=* | --program-t=*)
2218 program_transform_name=$ac_optarg ;;
2220 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2221 ac_prev=pdfdir ;;
2222 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2223 pdfdir=$ac_optarg ;;
2225 -psdir | --psdir | --psdi | --psd | --ps)
2226 ac_prev=psdir ;;
2227 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2228 psdir=$ac_optarg ;;
2230 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2231 | -silent | --silent | --silen | --sile | --sil)
2232 silent=yes ;;
2234 -runstatedir | --runstatedir | --runstatedi | --runstated \
2235 | --runstate | --runstat | --runsta | --runst | --runs \
2236 | --run | --ru | --r)
2237 ac_prev=runstatedir ;;
2238 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2239 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2240 | --run=* | --ru=* | --r=*)
2241 runstatedir=$ac_optarg ;;
2243 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2244 ac_prev=sbindir ;;
2245 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2246 | --sbi=* | --sb=*)
2247 sbindir=$ac_optarg ;;
2249 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2250 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2251 | --sharedst | --shareds | --shared | --share | --shar \
2252 | --sha | --sh)
2253 ac_prev=sharedstatedir ;;
2254 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2255 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2256 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2257 | --sha=* | --sh=*)
2258 sharedstatedir=$ac_optarg ;;
2260 -site | --site | --sit)
2261 ac_prev=site ;;
2262 -site=* | --site=* | --sit=*)
2263 site=$ac_optarg ;;
2265 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2266 ac_prev=srcdir ;;
2267 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2268 srcdir=$ac_optarg ;;
2270 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2271 | --syscon | --sysco | --sysc | --sys | --sy)
2272 ac_prev=sysconfdir ;;
2273 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2274 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2275 sysconfdir=$ac_optarg ;;
2277 -target | --target | --targe | --targ | --tar | --ta | --t)
2278 ac_prev=target_alias ;;
2279 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2280 target_alias=$ac_optarg ;;
2282 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2283 verbose=yes ;;
2285 -version | --version | --versio | --versi | --vers | -V)
2286 ac_init_version=: ;;
2288 -with-* | --with-*)
2289 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2290 # Reject names that are not valid shell variable names.
2291 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2292 as_fn_error $? "invalid package name: $ac_useropt"
2293 ac_useropt_orig=$ac_useropt
2294 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2295 case $ac_user_opts in
2297 "with_$ac_useropt"
2298 "*) ;;
2299 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2300 ac_unrecognized_sep=', ';;
2301 esac
2302 eval with_$ac_useropt=\$ac_optarg ;;
2304 -without-* | --without-*)
2305 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2306 # Reject names that are not valid shell variable names.
2307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2308 as_fn_error $? "invalid package name: $ac_useropt"
2309 ac_useropt_orig=$ac_useropt
2310 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2311 case $ac_user_opts in
2313 "with_$ac_useropt"
2314 "*) ;;
2315 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2316 ac_unrecognized_sep=', ';;
2317 esac
2318 eval with_$ac_useropt=no ;;
2320 --x)
2321 # Obsolete; use --with-x.
2322 with_x=yes ;;
2324 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2325 | --x-incl | --x-inc | --x-in | --x-i)
2326 ac_prev=x_includes ;;
2327 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2328 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2329 x_includes=$ac_optarg ;;
2331 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2332 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2333 ac_prev=x_libraries ;;
2334 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2335 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2336 x_libraries=$ac_optarg ;;
2338 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2339 Try \`$0 --help' for more information"
2342 *=*)
2343 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2344 # Reject names that are not valid shell variable names.
2345 case $ac_envvar in #(
2346 '' | [0-9]* | *[!_$as_cr_alnum]* )
2347 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2348 esac
2349 eval $ac_envvar=\$ac_optarg
2350 export $ac_envvar ;;
2353 # FIXME: should be removed in autoconf 3.0.
2354 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2355 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2356 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2357 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2360 esac
2361 done
2363 if test -n "$ac_prev"; then
2364 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2365 as_fn_error $? "missing argument to $ac_option"
2368 if test -n "$ac_unrecognized_opts"; then
2369 case $enable_option_checking in
2370 no) ;;
2371 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2372 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2373 esac
2376 # Check all directory arguments for consistency.
2377 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2378 datadir sysconfdir sharedstatedir localstatedir includedir \
2379 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2380 libdir localedir mandir runstatedir
2382 eval ac_val=\$$ac_var
2383 # Remove trailing slashes.
2384 case $ac_val in
2385 */ )
2386 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2387 eval $ac_var=\$ac_val;;
2388 esac
2389 # Be sure to have absolute directory names.
2390 case $ac_val in
2391 [\\/$]* | ?:[\\/]* ) continue;;
2392 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2393 esac
2394 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2395 done
2397 # There might be people who depend on the old broken behavior: `$host'
2398 # used to hold the argument of --host etc.
2399 # FIXME: To remove some day.
2400 build=$build_alias
2401 host=$host_alias
2402 target=$target_alias
2404 # FIXME: To remove some day.
2405 if test "x$host_alias" != x; then
2406 if test "x$build_alias" = x; then
2407 cross_compiling=maybe
2408 elif test "x$build_alias" != "x$host_alias"; then
2409 cross_compiling=yes
2413 ac_tool_prefix=
2414 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2416 test "$silent" = yes && exec 6>/dev/null
2419 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2420 ac_ls_di=`ls -di .` &&
2421 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2422 as_fn_error $? "working directory cannot be determined"
2423 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2424 as_fn_error $? "pwd does not report name of working directory"
2427 # Find the source files, if location was not specified.
2428 if test -z "$srcdir"; then
2429 ac_srcdir_defaulted=yes
2430 # Try the directory containing this script, then the parent directory.
2431 ac_confdir=`$as_dirname -- "$as_myself" ||
2432 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2433 X"$as_myself" : 'X\(//\)[^/]' \| \
2434 X"$as_myself" : 'X\(//\)$' \| \
2435 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2436 $as_echo X"$as_myself" |
2437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2438 s//\1/
2441 /^X\(\/\/\)[^/].*/{
2442 s//\1/
2445 /^X\(\/\/\)$/{
2446 s//\1/
2449 /^X\(\/\).*/{
2450 s//\1/
2453 s/.*/./; q'`
2454 srcdir=$ac_confdir
2455 if test ! -r "$srcdir/$ac_unique_file"; then
2456 srcdir=..
2458 else
2459 ac_srcdir_defaulted=no
2461 if test ! -r "$srcdir/$ac_unique_file"; then
2462 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2463 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2465 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2466 ac_abs_confdir=`(
2467 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2468 pwd)`
2469 # When building in place, set srcdir=.
2470 if test "$ac_abs_confdir" = "$ac_pwd"; then
2471 srcdir=.
2473 # Remove unnecessary trailing slashes from srcdir.
2474 # Double slashes in file names in object file debugging info
2475 # mess up M-x gdb in Emacs.
2476 case $srcdir in
2477 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2478 esac
2479 for ac_var in $ac_precious_vars; do
2480 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2481 eval ac_env_${ac_var}_value=\$${ac_var}
2482 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2483 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2484 done
2487 # Report the --help message.
2489 if test "$ac_init_help" = "long"; then
2490 # Omit some internal or obsolete options to make the list less imposing.
2491 # This message is too long to be a string in the A/UX 3.1 sh.
2492 cat <<_ACEOF
2493 \`configure' configures Wine 5.21 to adapt to many kinds of systems.
2495 Usage: $0 [OPTION]... [VAR=VALUE]...
2497 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2498 VAR=VALUE. See below for descriptions of some of the useful variables.
2500 Defaults for the options are specified in brackets.
2502 Configuration:
2503 -h, --help display this help and exit
2504 --help=short display options specific to this package
2505 --help=recursive display the short help of all the included packages
2506 -V, --version display version information and exit
2507 -q, --quiet, --silent do not print \`checking ...' messages
2508 --cache-file=FILE cache test results in FILE [disabled]
2509 -C, --config-cache alias for \`--cache-file=config.cache'
2510 -n, --no-create do not create output files
2511 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2513 Installation directories:
2514 --prefix=PREFIX install architecture-independent files in PREFIX
2515 [$ac_default_prefix]
2516 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2517 [PREFIX]
2519 By default, \`make install' will install all the files in
2520 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2521 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2522 for instance \`--prefix=\$HOME'.
2524 For better control, use the options below.
2526 Fine tuning of the installation directories:
2527 --bindir=DIR user executables [EPREFIX/bin]
2528 --sbindir=DIR system admin executables [EPREFIX/sbin]
2529 --libexecdir=DIR program executables [EPREFIX/libexec]
2530 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2531 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2532 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2533 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2534 --libdir=DIR object code libraries [EPREFIX/lib]
2535 --includedir=DIR C header files [PREFIX/include]
2536 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2537 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2538 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2539 --infodir=DIR info documentation [DATAROOTDIR/info]
2540 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2541 --mandir=DIR man documentation [DATAROOTDIR/man]
2542 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2543 --htmldir=DIR html documentation [DOCDIR]
2544 --dvidir=DIR dvi documentation [DOCDIR]
2545 --pdfdir=DIR pdf documentation [DOCDIR]
2546 --psdir=DIR ps documentation [DOCDIR]
2547 _ACEOF
2549 cat <<\_ACEOF
2551 X features:
2552 --x-includes=DIR X include files are in DIR
2553 --x-libraries=DIR X library files are in DIR
2555 System types:
2556 --build=BUILD configure for building on BUILD [guessed]
2557 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2558 _ACEOF
2561 if test -n "$ac_init_help"; then
2562 case $ac_init_help in
2563 short | recursive ) echo "Configuration of Wine 5.21:";;
2564 esac
2565 cat <<\_ACEOF
2567 Optional Features:
2568 --disable-option-checking ignore unrecognized --enable/--with options
2569 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2570 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2571 --disable-win16 do not include Win16 support
2572 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2573 binaries)
2574 --disable-tests do not build the regression tests
2575 --enable-maintainer-mode
2576 enable maintainer-specific build rules
2577 --enable-werror treat compilation warnings as errors
2578 --disable-largefile omit support for large files
2580 Optional Packages:
2581 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2582 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2583 --without-alsa do not use the Alsa sound support
2584 --without-capi do not use CAPI (ISDN support)
2585 --without-cms do not use CMS (color management support)
2586 --without-coreaudio do not use the CoreAudio sound support
2587 --without-cups do not use CUPS
2588 --without-dbus do not use DBus (dynamic device support)
2589 --without-faudio do not use FAudio (XAudio2 support)
2590 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2591 --without-fontconfig do not use fontconfig
2592 --without-freetype do not use the FreeType library
2593 --without-gettext do not use gettext
2594 --with-gettextpo use the GetTextPO library to rebuild po files
2595 --without-gphoto do not use gphoto (Digital Camera support)
2596 --without-gnutls do not use GnuTLS (schannel support)
2597 --without-gsm do not use libgsm (GSM 06.10 codec support)
2598 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2599 --without-gstreamer do not use GStreamer (codecs support)
2600 --without-hal do not use HAL (dynamic device support)
2601 --without-inotify do not use inotify (filesystem change notifications)
2602 --without-jpeg do not use JPEG
2603 --without-krb5 do not use krb5 (Kerberos)
2604 --without-ldap do not use LDAP
2605 --without-mingw do not use the MinGW cross-compiler
2606 --without-mpg123 do not use the mpg123 library
2607 --without-netapi do not use the Samba NetAPI library
2608 --without-openal do not use OpenAL
2609 --without-opencl do not use OpenCL
2610 --without-opengl do not use OpenGL
2611 --without-osmesa do not use the OSMesa library
2612 --without-oss do not use the OSS sound support
2613 --without-pcap do not use the Packet Capture library
2614 --without-png do not use PNG
2615 --without-pthread do not use the pthread library
2616 --without-pulse do not use PulseAudio sound support
2617 --without-quicktime do not use QuickTime support
2618 --without-sane do not use SANE (scanner support)
2619 --without-sdl do not use SDL
2620 --without-tiff do not use TIFF
2621 --without-udev do not use udev (plug and play support)
2622 --without-unwind do not use the libunwind library (exception
2623 handling)
2624 --without-usb do not use the libusb library
2625 --without-v4l2 do not use v4l2 (video capture)
2626 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2627 --without-vulkan do not use Vulkan
2628 --without-xcomposite do not use the Xcomposite extension
2629 --without-xcursor do not use the Xcursor extension
2630 --without-xfixes do not use Xfixes for clipboard change notifications
2631 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2632 --without-xinput do not use the Xinput extension
2633 --without-xinput2 do not use the Xinput 2 extension
2634 --without-xml do not use XML
2635 --without-xrandr do not use Xrandr (multi-monitor support)
2636 --without-xrender do not use the Xrender extension
2637 --without-xshape do not use the Xshape extension
2638 --without-xshm do not use XShm (shared memory extension)
2639 --without-xslt do not use XSLT
2640 --without-xxf86vm do not use XFree video mode extension
2641 --with-wine-tools=DIR use Wine tools from directory DIR
2642 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2643 --with-x use the X Window System
2645 Some influential environment variables:
2646 CC C compiler command
2647 CFLAGS C compiler flags
2648 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2649 nonstandard directory <lib dir>
2650 LIBS libraries to pass to the linker, e.g. -l<library>
2651 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2652 you have headers in a nonstandard directory <include dir>
2653 CXX C++ compiler command
2654 CXXFLAGS C++ compiler flags
2655 CPP C preprocessor
2656 OBJC Objective C compiler command
2657 OBJCFLAGS Objective C compiler flags
2658 OBJCPP Objective C preprocessor
2659 XMKMF Path to xmkmf, Makefile generator for X Window System
2660 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2661 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2662 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2663 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2664 INOTIFY_CFLAGS
2665 C compiler flags for libinotify, overriding pkg-config
2666 INOTIFY_LIBS
2667 Linker flags for libinotify, overriding pkg-config
2668 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2669 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2670 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2671 HAL_LIBS Linker flags for hal, overriding pkg-config
2672 GNUTLS_CFLAGS
2673 C compiler flags for gnutls, overriding pkg-config
2674 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2675 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2676 SANE_LIBS Linker flags for libsane, overriding pkg-config
2677 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2678 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2679 GPHOTO2_CFLAGS
2680 C compiler flags for libgphoto2, overriding pkg-config
2681 GPHOTO2_LIBS
2682 Linker flags for libgphoto2, overriding pkg-config
2683 GPHOTO2_PORT_CFLAGS
2684 C compiler flags for libgphoto2_port, overriding pkg-config
2685 GPHOTO2_PORT_LIBS
2686 Linker flags for libgphoto2_port, overriding pkg-config
2687 LCMS2_CFLAGS
2688 C compiler flags for lcms2, overriding pkg-config
2689 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2690 FREETYPE_CFLAGS
2691 C compiler flags for freetype2, overriding pkg-config
2692 FREETYPE_LIBS
2693 Linker flags for freetype2, overriding pkg-config
2694 PULSE_CFLAGS
2695 C compiler flags for libpulse, overriding pkg-config
2696 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2697 GSTREAMER_CFLAGS
2698 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2699 gstreamer-audio-1.0, overriding pkg-config
2700 GSTREAMER_LIBS
2701 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2702 gstreamer-audio-1.0, overriding pkg-config
2703 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2704 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2705 UNWIND_CFLAGS
2706 C compiler flags for libunwind, overriding pkg-config
2707 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2708 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2709 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2710 FAUDIO_CFLAGS
2711 C compiler flags for faudio, overriding pkg-config
2712 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2713 CAPI20_CFLAGS
2714 C compiler flags for capi20, overriding pkg-config
2715 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2716 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2717 CUPS_LIBS Linker flags for cups, overriding pkg-config
2718 FONTCONFIG_CFLAGS
2719 C compiler flags for fontconfig, overriding pkg-config
2720 FONTCONFIG_LIBS
2721 Linker flags for fontconfig, overriding pkg-config
2722 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2723 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2724 GSSAPI_CFLAGS
2725 C compiler flags for krb5-gssapi, overriding pkg-config
2726 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2727 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2728 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2729 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2730 PNG_LIBS Linker flags for libpng, overriding pkg-config
2731 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2732 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2733 MPG123_CFLAGS
2734 C compiler flags for libmpg123, overriding pkg-config
2735 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2736 NETAPI_CFLAGS
2737 C compiler flags for netapi, overriding pkg-config
2738 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2739 VKD3D_CFLAGS
2740 C compiler flags for libvkd3d, overriding pkg-config
2741 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2742 VKD3D_SHADER_CFLAGS
2743 C compiler flags for libvkd3d-shader, overriding pkg-config
2744 VKD3D_SHADER_LIBS
2745 Linker flags for libvkd3d-shader, overriding pkg-config
2746 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2747 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2749 Use these variables to override the choices made by `configure' or to help
2750 it to find libraries and programs with nonstandard names/locations.
2752 Report bugs to <wine-devel@winehq.org>.
2753 Wine home page: <https://www.winehq.org>.
2754 _ACEOF
2755 ac_status=$?
2758 if test "$ac_init_help" = "recursive"; then
2759 # If there are subdirs, report their specific --help.
2760 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2761 test -d "$ac_dir" ||
2762 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2763 continue
2764 ac_builddir=.
2766 case "$ac_dir" in
2767 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2769 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2770 # A ".." for each directory in $ac_dir_suffix.
2771 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2772 case $ac_top_builddir_sub in
2773 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2774 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2775 esac ;;
2776 esac
2777 ac_abs_top_builddir=$ac_pwd
2778 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2779 # for backward compatibility:
2780 ac_top_builddir=$ac_top_build_prefix
2782 case $srcdir in
2783 .) # We are building in place.
2784 ac_srcdir=.
2785 ac_top_srcdir=$ac_top_builddir_sub
2786 ac_abs_top_srcdir=$ac_pwd ;;
2787 [\\/]* | ?:[\\/]* ) # Absolute name.
2788 ac_srcdir=$srcdir$ac_dir_suffix;
2789 ac_top_srcdir=$srcdir
2790 ac_abs_top_srcdir=$srcdir ;;
2791 *) # Relative name.
2792 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2793 ac_top_srcdir=$ac_top_build_prefix$srcdir
2794 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2795 esac
2796 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2798 cd "$ac_dir" || { ac_status=$?; continue; }
2799 # Check for guested configure.
2800 if test -f "$ac_srcdir/configure.gnu"; then
2801 echo &&
2802 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2803 elif test -f "$ac_srcdir/configure"; then
2804 echo &&
2805 $SHELL "$ac_srcdir/configure" --help=recursive
2806 else
2807 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2808 fi || ac_status=$?
2809 cd "$ac_pwd" || { ac_status=$?; break; }
2810 done
2813 test -n "$ac_init_help" && exit $ac_status
2814 if $ac_init_version; then
2815 cat <<\_ACEOF
2816 Wine configure 5.21
2817 generated by GNU Autoconf 2.69
2819 Copyright (C) 2012 Free Software Foundation, Inc.
2820 This configure script is free software; the Free Software Foundation
2821 gives unlimited permission to copy, distribute and modify it.
2822 _ACEOF
2823 exit
2826 ## ------------------------ ##
2827 ## Autoconf initialization. ##
2828 ## ------------------------ ##
2830 # ac_fn_c_try_compile LINENO
2831 # --------------------------
2832 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2833 ac_fn_c_try_compile ()
2835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836 rm -f conftest.$ac_objext
2837 if { { ac_try="$ac_compile"
2838 case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2841 esac
2842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2843 $as_echo "$ac_try_echo"; } >&5
2844 (eval "$ac_compile") 2>conftest.err
2845 ac_status=$?
2846 if test -s conftest.err; then
2847 grep -v '^ *+' conftest.err >conftest.er1
2848 cat conftest.er1 >&5
2849 mv -f conftest.er1 conftest.err
2851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852 test $ac_status = 0; } && {
2853 test -z "$ac_c_werror_flag" ||
2854 test ! -s conftest.err
2855 } && test -s conftest.$ac_objext; then :
2856 ac_retval=0
2857 else
2858 $as_echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2861 ac_retval=1
2863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2864 as_fn_set_status $ac_retval
2866 } # ac_fn_c_try_compile
2868 # ac_fn_cxx_try_compile LINENO
2869 # ----------------------------
2870 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2871 ac_fn_cxx_try_compile ()
2873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874 rm -f conftest.$ac_objext
2875 if { { ac_try="$ac_compile"
2876 case "(($ac_try" in
2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2879 esac
2880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2881 $as_echo "$ac_try_echo"; } >&5
2882 (eval "$ac_compile") 2>conftest.err
2883 ac_status=$?
2884 if test -s conftest.err; then
2885 grep -v '^ *+' conftest.err >conftest.er1
2886 cat conftest.er1 >&5
2887 mv -f conftest.er1 conftest.err
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; } && {
2891 test -z "$ac_cxx_werror_flag" ||
2892 test ! -s conftest.err
2893 } && test -s conftest.$ac_objext; then :
2894 ac_retval=0
2895 else
2896 $as_echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2899 ac_retval=1
2901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 as_fn_set_status $ac_retval
2904 } # ac_fn_cxx_try_compile
2906 # ac_fn_c_try_link LINENO
2907 # -----------------------
2908 # Try to link conftest.$ac_ext, and return whether this succeeded.
2909 ac_fn_c_try_link ()
2911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2912 rm -f conftest.$ac_objext conftest$ac_exeext
2913 if { { ac_try="$ac_link"
2914 case "(($ac_try" in
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2917 esac
2918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 $as_echo "$ac_try_echo"; } >&5
2920 (eval "$ac_link") 2>conftest.err
2921 ac_status=$?
2922 if test -s conftest.err; then
2923 grep -v '^ *+' conftest.err >conftest.er1
2924 cat conftest.er1 >&5
2925 mv -f conftest.er1 conftest.err
2927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2928 test $ac_status = 0; } && {
2929 test -z "$ac_c_werror_flag" ||
2930 test ! -s conftest.err
2931 } && test -s conftest$ac_exeext && {
2932 test "$cross_compiling" = yes ||
2933 test -x conftest$ac_exeext
2934 }; then :
2935 ac_retval=0
2936 else
2937 $as_echo "$as_me: failed program was:" >&5
2938 sed 's/^/| /' conftest.$ac_ext >&5
2940 ac_retval=1
2942 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2943 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2944 # interfere with the next link command; also delete a directory that is
2945 # left behind by Apple's compiler. We do this before executing the actions.
2946 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2948 as_fn_set_status $ac_retval
2950 } # ac_fn_c_try_link
2952 # ac_fn_c_try_cpp LINENO
2953 # ----------------------
2954 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2955 ac_fn_c_try_cpp ()
2957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2958 if { { ac_try="$ac_cpp conftest.$ac_ext"
2959 case "(($ac_try" in
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2962 esac
2963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2964 $as_echo "$ac_try_echo"; } >&5
2965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2966 ac_status=$?
2967 if test -s conftest.err; then
2968 grep -v '^ *+' conftest.err >conftest.er1
2969 cat conftest.er1 >&5
2970 mv -f conftest.er1 conftest.err
2972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973 test $ac_status = 0; } > conftest.i && {
2974 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2975 test ! -s conftest.err
2976 }; then :
2977 ac_retval=0
2978 else
2979 $as_echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2982 ac_retval=1
2984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 as_fn_set_status $ac_retval
2987 } # ac_fn_c_try_cpp
2989 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2990 # -------------------------------------------------------
2991 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2992 # the include files in INCLUDES and setting the cache variable VAR
2993 # accordingly.
2994 ac_fn_c_check_header_mongrel ()
2996 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2997 if eval \${$3+:} false; then :
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2999 $as_echo_n "checking for $2... " >&6; }
3000 if eval \${$3+:} false; then :
3001 $as_echo_n "(cached) " >&6
3003 eval ac_res=\$$3
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3005 $as_echo "$ac_res" >&6; }
3006 else
3007 # Is the header compilable?
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3009 $as_echo_n "checking $2 usability... " >&6; }
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3013 #include <$2>
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"; then :
3016 ac_header_compiler=yes
3017 else
3018 ac_header_compiler=no
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3022 $as_echo "$ac_header_compiler" >&6; }
3024 # Is the header present?
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3026 $as_echo_n "checking $2 presence... " >&6; }
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3029 #include <$2>
3030 _ACEOF
3031 if ac_fn_c_try_cpp "$LINENO"; then :
3032 ac_header_preproc=yes
3033 else
3034 ac_header_preproc=no
3036 rm -f conftest.err conftest.i conftest.$ac_ext
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3038 $as_echo "$ac_header_preproc" >&6; }
3040 # So? What about this header?
3041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3042 yes:no: )
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3044 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3046 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3048 no:yes:* )
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3050 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3052 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3054 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3056 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3058 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3059 ( $as_echo "## ------------------------------------ ##
3060 ## Report this to wine-devel@winehq.org ##
3061 ## ------------------------------------ ##"
3062 ) | sed "s/^/$as_me: WARNING: /" >&2
3064 esac
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3066 $as_echo_n "checking for $2... " >&6; }
3067 if eval \${$3+:} false; then :
3068 $as_echo_n "(cached) " >&6
3069 else
3070 eval "$3=\$ac_header_compiler"
3072 eval ac_res=\$$3
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3074 $as_echo "$ac_res" >&6; }
3076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3078 } # ac_fn_c_check_header_mongrel
3080 # ac_fn_c_try_run LINENO
3081 # ----------------------
3082 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3083 # that executables *can* be run.
3084 ac_fn_c_try_run ()
3086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3087 if { { ac_try="$ac_link"
3088 case "(($ac_try" in
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3091 esac
3092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3093 $as_echo "$ac_try_echo"; } >&5
3094 (eval "$ac_link") 2>&5
3095 ac_status=$?
3096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3097 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3098 { { case "(($ac_try" in
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3101 esac
3102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3103 $as_echo "$ac_try_echo"; } >&5
3104 (eval "$ac_try") 2>&5
3105 ac_status=$?
3106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3107 test $ac_status = 0; }; }; then :
3108 ac_retval=0
3109 else
3110 $as_echo "$as_me: program exited with status $ac_status" >&5
3111 $as_echo "$as_me: failed program was:" >&5
3112 sed 's/^/| /' conftest.$ac_ext >&5
3114 ac_retval=$ac_status
3116 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3118 as_fn_set_status $ac_retval
3120 } # ac_fn_c_try_run
3122 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3123 # -------------------------------------------------------
3124 # Tests whether HEADER exists and can be compiled using the include files in
3125 # INCLUDES, setting the cache variable VAR accordingly.
3126 ac_fn_c_check_header_compile ()
3128 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3130 $as_echo_n "checking for $2... " >&6; }
3131 if eval \${$3+:} false; then :
3132 $as_echo_n "(cached) " >&6
3133 else
3134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3135 /* end confdefs.h. */
3137 #include <$2>
3138 _ACEOF
3139 if ac_fn_c_try_compile "$LINENO"; then :
3140 eval "$3=yes"
3141 else
3142 eval "$3=no"
3144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3146 eval ac_res=\$$3
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3148 $as_echo "$ac_res" >&6; }
3149 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3151 } # ac_fn_c_check_header_compile
3153 # ac_fn_objc_try_compile LINENO
3154 # -----------------------------
3155 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3156 ac_fn_objc_try_compile ()
3158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3159 rm -f conftest.$ac_objext
3160 if { { ac_try="$ac_compile"
3161 case "(($ac_try" in
3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3164 esac
3165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3166 $as_echo "$ac_try_echo"; } >&5
3167 (eval "$ac_compile") 2>conftest.err
3168 ac_status=$?
3169 if test -s conftest.err; then
3170 grep -v '^ *+' conftest.err >conftest.er1
3171 cat conftest.er1 >&5
3172 mv -f conftest.er1 conftest.err
3174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3175 test $ac_status = 0; } && {
3176 test -z "$ac_objc_werror_flag" ||
3177 test ! -s conftest.err
3178 } && test -s conftest.$ac_objext; then :
3179 ac_retval=0
3180 else
3181 $as_echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3184 ac_retval=1
3186 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3187 as_fn_set_status $ac_retval
3189 } # ac_fn_objc_try_compile
3191 # ac_fn_objc_try_cpp LINENO
3192 # -------------------------
3193 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3194 ac_fn_objc_try_cpp ()
3196 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3197 if { { ac_try="$ac_cpp conftest.$ac_ext"
3198 case "(($ac_try" in
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3201 esac
3202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3203 $as_echo "$ac_try_echo"; } >&5
3204 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3205 ac_status=$?
3206 if test -s conftest.err; then
3207 grep -v '^ *+' conftest.err >conftest.er1
3208 cat conftest.er1 >&5
3209 mv -f conftest.er1 conftest.err
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; } > conftest.i && {
3213 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3214 test ! -s conftest.err
3215 }; then :
3216 ac_retval=0
3217 else
3218 $as_echo "$as_me: failed program was:" >&5
3219 sed 's/^/| /' conftest.$ac_ext >&5
3221 ac_retval=1
3223 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3224 as_fn_set_status $ac_retval
3226 } # ac_fn_objc_try_cpp
3228 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3229 # ----------------------------------------------------------
3230 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3231 # the include files in INCLUDES and setting the cache variable VAR
3232 # accordingly.
3233 ac_fn_objc_check_header_mongrel ()
3235 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3236 if eval \${$3+:} false; then :
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3238 $as_echo_n "checking for $2... " >&6; }
3239 if eval \${$3+:} false; then :
3240 $as_echo_n "(cached) " >&6
3242 eval ac_res=\$$3
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3244 $as_echo "$ac_res" >&6; }
3245 else
3246 # Is the header compilable?
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3248 $as_echo_n "checking $2 usability... " >&6; }
3249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3252 #include <$2>
3253 _ACEOF
3254 if ac_fn_objc_try_compile "$LINENO"; then :
3255 ac_header_compiler=yes
3256 else
3257 ac_header_compiler=no
3259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3261 $as_echo "$ac_header_compiler" >&6; }
3263 # Is the header present?
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3265 $as_echo_n "checking $2 presence... " >&6; }
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3268 #include <$2>
3269 _ACEOF
3270 if ac_fn_objc_try_cpp "$LINENO"; then :
3271 ac_header_preproc=yes
3272 else
3273 ac_header_preproc=no
3275 rm -f conftest.err conftest.i conftest.$ac_ext
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3277 $as_echo "$ac_header_preproc" >&6; }
3279 # So? What about this header?
3280 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3281 yes:no: )
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3283 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3285 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3287 no:yes:* )
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3289 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3291 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3293 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3295 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3297 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3298 ( $as_echo "## ------------------------------------ ##
3299 ## Report this to wine-devel@winehq.org ##
3300 ## ------------------------------------ ##"
3301 ) | sed "s/^/$as_me: WARNING: /" >&2
3303 esac
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3305 $as_echo_n "checking for $2... " >&6; }
3306 if eval \${$3+:} false; then :
3307 $as_echo_n "(cached) " >&6
3308 else
3309 eval "$3=\$ac_header_compiler"
3311 eval ac_res=\$$3
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3313 $as_echo "$ac_res" >&6; }
3315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3317 } # ac_fn_objc_check_header_mongrel
3319 # ac_fn_c_check_func LINENO FUNC VAR
3320 # ----------------------------------
3321 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3322 ac_fn_c_check_func ()
3324 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3326 $as_echo_n "checking for $2... " >&6; }
3327 if eval \${$3+:} false; then :
3328 $as_echo_n "(cached) " >&6
3329 else
3330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3331 /* end confdefs.h. */
3332 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3334 #define $2 innocuous_$2
3336 /* System header to define __stub macros and hopefully few prototypes,
3337 which can conflict with char $2 (); below.
3338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3339 <limits.h> exists even on freestanding compilers. */
3341 #ifdef __STDC__
3342 # include <limits.h>
3343 #else
3344 # include <assert.h>
3345 #endif
3347 #undef $2
3349 /* Override any GCC internal prototype to avoid an error.
3350 Use char because int might match the return type of a GCC
3351 builtin and then its argument prototype would still apply. */
3352 #ifdef __cplusplus
3353 extern "C"
3354 #endif
3355 char $2 ();
3356 /* The GNU C library defines this for functions which it implements
3357 to always fail with ENOSYS. Some functions are actually named
3358 something starting with __ and the normal name is an alias. */
3359 #if defined __stub_$2 || defined __stub___$2
3360 choke me
3361 #endif
3364 main ()
3366 return $2 ();
3368 return 0;
3370 _ACEOF
3371 if ac_fn_c_try_link "$LINENO"; then :
3372 eval "$3=yes"
3373 else
3374 eval "$3=no"
3376 rm -f core conftest.err conftest.$ac_objext \
3377 conftest$ac_exeext conftest.$ac_ext
3379 eval ac_res=\$$3
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3381 $as_echo "$ac_res" >&6; }
3382 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3384 } # ac_fn_c_check_func
3386 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3387 # ----------------------------------------------------
3388 # Tries to find if the field MEMBER exists in type AGGR, after including
3389 # INCLUDES, setting cache variable VAR accordingly.
3390 ac_fn_c_check_member ()
3392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3394 $as_echo_n "checking for $2.$3... " >&6; }
3395 if eval \${$4+:} false; then :
3396 $as_echo_n "(cached) " >&6
3397 else
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3402 main ()
3404 static $2 ac_aggr;
3405 if (ac_aggr.$3)
3406 return 0;
3408 return 0;
3410 _ACEOF
3411 if ac_fn_c_try_compile "$LINENO"; then :
3412 eval "$4=yes"
3413 else
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3418 main ()
3420 static $2 ac_aggr;
3421 if (sizeof ac_aggr.$3)
3422 return 0;
3424 return 0;
3426 _ACEOF
3427 if ac_fn_c_try_compile "$LINENO"; then :
3428 eval "$4=yes"
3429 else
3430 eval "$4=no"
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 eval ac_res=\$$4
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3438 $as_echo "$ac_res" >&6; }
3439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3441 } # ac_fn_c_check_member
3443 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3444 # -------------------------------------------
3445 # Tests whether TYPE exists after having included INCLUDES, setting cache
3446 # variable VAR accordingly.
3447 ac_fn_c_check_type ()
3449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3451 $as_echo_n "checking for $2... " >&6; }
3452 if eval \${$3+:} false; then :
3453 $as_echo_n "(cached) " >&6
3454 else
3455 eval "$3=no"
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3460 main ()
3462 if (sizeof ($2))
3463 return 0;
3465 return 0;
3467 _ACEOF
3468 if ac_fn_c_try_compile "$LINENO"; then :
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3473 main ()
3475 if (sizeof (($2)))
3476 return 0;
3478 return 0;
3480 _ACEOF
3481 if ac_fn_c_try_compile "$LINENO"; then :
3483 else
3484 eval "$3=yes"
3486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 eval ac_res=\$$3
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3492 $as_echo "$ac_res" >&6; }
3493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3495 } # ac_fn_c_check_type
3496 cat >config.log <<_ACEOF
3497 This file contains any messages produced by compilers while
3498 running configure, to aid debugging if configure makes a mistake.
3500 It was created by Wine $as_me 5.21, which was
3501 generated by GNU Autoconf 2.69. Invocation command line was
3503 $ $0 $@
3505 _ACEOF
3506 exec 5>>config.log
3508 cat <<_ASUNAME
3509 ## --------- ##
3510 ## Platform. ##
3511 ## --------- ##
3513 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3514 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3515 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3516 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3517 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3519 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3520 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3522 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3523 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3524 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3525 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3526 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3527 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3528 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3530 _ASUNAME
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 for as_dir in $PATH
3535 IFS=$as_save_IFS
3536 test -z "$as_dir" && as_dir=.
3537 $as_echo "PATH: $as_dir"
3538 done
3539 IFS=$as_save_IFS
3541 } >&5
3543 cat >&5 <<_ACEOF
3546 ## ----------- ##
3547 ## Core tests. ##
3548 ## ----------- ##
3550 _ACEOF
3553 # Keep a trace of the command line.
3554 # Strip out --no-create and --no-recursion so they do not pile up.
3555 # Strip out --silent because we don't want to record it for future runs.
3556 # Also quote any args containing shell meta-characters.
3557 # Make two passes to allow for proper duplicate-argument suppression.
3558 ac_configure_args=
3559 ac_configure_args0=
3560 ac_configure_args1=
3561 ac_must_keep_next=false
3562 for ac_pass in 1 2
3564 for ac_arg
3566 case $ac_arg in
3567 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3568 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3569 | -silent | --silent | --silen | --sile | --sil)
3570 continue ;;
3571 *\'*)
3572 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3573 esac
3574 case $ac_pass in
3575 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3577 as_fn_append ac_configure_args1 " '$ac_arg'"
3578 if test $ac_must_keep_next = true; then
3579 ac_must_keep_next=false # Got value, back to normal.
3580 else
3581 case $ac_arg in
3582 *=* | --config-cache | -C | -disable-* | --disable-* \
3583 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3584 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3585 | -with-* | --with-* | -without-* | --without-* | --x)
3586 case "$ac_configure_args0 " in
3587 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3588 esac
3590 -* ) ac_must_keep_next=true ;;
3591 esac
3593 as_fn_append ac_configure_args " '$ac_arg'"
3595 esac
3596 done
3597 done
3598 { ac_configure_args0=; unset ac_configure_args0;}
3599 { ac_configure_args1=; unset ac_configure_args1;}
3601 # When interrupted or exit'd, cleanup temporary files, and complete
3602 # config.log. We remove comments because anyway the quotes in there
3603 # would cause problems or look ugly.
3604 # WARNING: Use '\'' to represent an apostrophe within the trap.
3605 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3606 trap 'exit_status=$?
3607 # Save into config.log some information that might help in debugging.
3609 echo
3611 $as_echo "## ---------------- ##
3612 ## Cache variables. ##
3613 ## ---------------- ##"
3614 echo
3615 # The following way of writing the cache mishandles newlines in values,
3617 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3618 eval ac_val=\$$ac_var
3619 case $ac_val in #(
3620 *${as_nl}*)
3621 case $ac_var in #(
3622 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3623 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3624 esac
3625 case $ac_var in #(
3626 _ | IFS | as_nl) ;; #(
3627 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3628 *) { eval $ac_var=; unset $ac_var;} ;;
3629 esac ;;
3630 esac
3631 done
3632 (set) 2>&1 |
3633 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3634 *${as_nl}ac_space=\ *)
3635 sed -n \
3636 "s/'\''/'\''\\\\'\'''\''/g;
3637 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3638 ;; #(
3640 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3642 esac |
3643 sort
3645 echo
3647 $as_echo "## ----------------- ##
3648 ## Output variables. ##
3649 ## ----------------- ##"
3650 echo
3651 for ac_var in $ac_subst_vars
3653 eval ac_val=\$$ac_var
3654 case $ac_val in
3655 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3656 esac
3657 $as_echo "$ac_var='\''$ac_val'\''"
3658 done | sort
3659 echo
3661 if test -n "$ac_subst_files"; then
3662 $as_echo "## ------------------- ##
3663 ## File substitutions. ##
3664 ## ------------------- ##"
3665 echo
3666 for ac_var in $ac_subst_files
3668 eval ac_val=\$$ac_var
3669 case $ac_val in
3670 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3671 esac
3672 $as_echo "$ac_var='\''$ac_val'\''"
3673 done | sort
3674 echo
3677 if test -s confdefs.h; then
3678 $as_echo "## ----------- ##
3679 ## confdefs.h. ##
3680 ## ----------- ##"
3681 echo
3682 cat confdefs.h
3683 echo
3685 test "$ac_signal" != 0 &&
3686 $as_echo "$as_me: caught signal $ac_signal"
3687 $as_echo "$as_me: exit $exit_status"
3688 } >&5
3689 rm -f core *.core core.conftest.* &&
3690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3691 exit $exit_status
3693 for ac_signal in 1 2 13 15; do
3694 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3695 done
3696 ac_signal=0
3698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3699 rm -f -r conftest* confdefs.h
3701 $as_echo "/* confdefs.h */" > confdefs.h
3703 # Predefined preprocessor variables.
3705 cat >>confdefs.h <<_ACEOF
3706 #define PACKAGE_NAME "$PACKAGE_NAME"
3707 _ACEOF
3709 cat >>confdefs.h <<_ACEOF
3710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3711 _ACEOF
3713 cat >>confdefs.h <<_ACEOF
3714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3715 _ACEOF
3717 cat >>confdefs.h <<_ACEOF
3718 #define PACKAGE_STRING "$PACKAGE_STRING"
3719 _ACEOF
3721 cat >>confdefs.h <<_ACEOF
3722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3723 _ACEOF
3725 cat >>confdefs.h <<_ACEOF
3726 #define PACKAGE_URL "$PACKAGE_URL"
3727 _ACEOF
3730 # Let the site file select an alternate cache file if it wants to.
3731 # Prefer an explicitly selected file to automatically selected ones.
3732 ac_site_file1=NONE
3733 ac_site_file2=NONE
3734 if test -n "$CONFIG_SITE"; then
3735 # We do not want a PATH search for config.site.
3736 case $CONFIG_SITE in #((
3737 -*) ac_site_file1=./$CONFIG_SITE;;
3738 */*) ac_site_file1=$CONFIG_SITE;;
3739 *) ac_site_file1=./$CONFIG_SITE;;
3740 esac
3741 elif test "x$prefix" != xNONE; then
3742 ac_site_file1=$prefix/share/config.site
3743 ac_site_file2=$prefix/etc/config.site
3744 else
3745 ac_site_file1=$ac_default_prefix/share/config.site
3746 ac_site_file2=$ac_default_prefix/etc/config.site
3748 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3750 test "x$ac_site_file" = xNONE && continue
3751 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3753 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3754 sed 's/^/| /' "$ac_site_file" >&5
3755 . "$ac_site_file" \
3756 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758 as_fn_error $? "failed to load site script $ac_site_file
3759 See \`config.log' for more details" "$LINENO" 5; }
3761 done
3763 if test -r "$cache_file"; then
3764 # Some versions of bash will fail to source /dev/null (special files
3765 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3766 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3768 $as_echo "$as_me: loading cache $cache_file" >&6;}
3769 case $cache_file in
3770 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3771 *) . "./$cache_file";;
3772 esac
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3776 $as_echo "$as_me: creating cache $cache_file" >&6;}
3777 >$cache_file
3780 # Check that the precious variables saved in the cache have kept the same
3781 # value.
3782 ac_cache_corrupted=false
3783 for ac_var in $ac_precious_vars; do
3784 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3785 eval ac_new_set=\$ac_env_${ac_var}_set
3786 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3787 eval ac_new_val=\$ac_env_${ac_var}_value
3788 case $ac_old_set,$ac_new_set in
3789 set,)
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3791 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3792 ac_cache_corrupted=: ;;
3793 ,set)
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3795 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3796 ac_cache_corrupted=: ;;
3797 ,);;
3799 if test "x$ac_old_val" != "x$ac_new_val"; then
3800 # differences in whitespace do not lead to failure.
3801 ac_old_val_w=`echo x $ac_old_val`
3802 ac_new_val_w=`echo x $ac_new_val`
3803 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3805 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3806 ac_cache_corrupted=:
3807 else
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3809 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3810 eval $ac_var=\$ac_old_val
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3813 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3815 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3816 fi;;
3817 esac
3818 # Pass precious variables to config.status.
3819 if test "$ac_new_set" = set; then
3820 case $ac_new_val in
3821 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3822 *) ac_arg=$ac_var=$ac_new_val ;;
3823 esac
3824 case " $ac_configure_args " in
3825 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3826 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3827 esac
3829 done
3830 if $ac_cache_corrupted; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3834 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3835 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3837 ## -------------------- ##
3838 ## Main body of script. ##
3839 ## -------------------- ##
3841 ac_ext=c
3842 ac_cpp='$CPP $CPPFLAGS'
3843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3849 ac_config_headers="$ac_config_headers include/config.h"
3851 ac_aux_dir=
3852 for ac_dir in tools "$srcdir"/tools; do
3853 if test -f "$ac_dir/install-sh"; then
3854 ac_aux_dir=$ac_dir
3855 ac_install_sh="$ac_aux_dir/install-sh -c"
3856 break
3857 elif test -f "$ac_dir/install.sh"; then
3858 ac_aux_dir=$ac_dir
3859 ac_install_sh="$ac_aux_dir/install.sh -c"
3860 break
3861 elif test -f "$ac_dir/shtool"; then
3862 ac_aux_dir=$ac_dir
3863 ac_install_sh="$ac_aux_dir/shtool install -c"
3864 break
3866 done
3867 if test -z "$ac_aux_dir"; then
3868 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3871 # These three variables are undocumented and unsupported,
3872 # and are intended to be withdrawn in a future Autoconf release.
3873 # They can cause serious problems if a builder's source tree is in a directory
3874 # whose full name contains unusual characters.
3875 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3876 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3877 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3881 libwine_version="1.0"
3885 # Check whether --enable-win16 was given.
3886 if test "${enable_win16+set}" = set; then :
3887 enableval=$enable_win16;
3890 # Check whether --enable-win64 was given.
3891 if test "${enable_win64+set}" = set; then :
3892 enableval=$enable_win64;
3895 # Check whether --enable-tests was given.
3896 if test "${enable_tests+set}" = set; then :
3897 enableval=$enable_tests;
3900 # Check whether --enable-maintainer-mode was given.
3901 if test "${enable_maintainer_mode+set}" = set; then :
3902 enableval=$enable_maintainer_mode;
3905 # Check whether --enable-werror was given.
3906 if test "${enable_werror+set}" = set; then :
3907 enableval=$enable_werror;
3912 # Check whether --with-alsa was given.
3913 if test "${with_alsa+set}" = set; then :
3914 withval=$with_alsa;
3918 # Check whether --with-capi was given.
3919 if test "${with_capi+set}" = set; then :
3920 withval=$with_capi;
3924 # Check whether --with-cms was given.
3925 if test "${with_cms+set}" = set; then :
3926 withval=$with_cms;
3930 # Check whether --with-coreaudio was given.
3931 if test "${with_coreaudio+set}" = set; then :
3932 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3936 # Check whether --with-cups was given.
3937 if test "${with_cups+set}" = set; then :
3938 withval=$with_cups;
3942 # Check whether --with-dbus was given.
3943 if test "${with_dbus+set}" = set; then :
3944 withval=$with_dbus;
3948 # Check whether --with-faudio was given.
3949 if test "${with_faudio+set}" = set; then :
3950 withval=$with_faudio;
3954 # Check whether --with-float-abi was given.
3955 if test "${with_float_abi+set}" = set; then :
3956 withval=$with_float_abi;
3960 # Check whether --with-fontconfig was given.
3961 if test "${with_fontconfig+set}" = set; then :
3962 withval=$with_fontconfig;
3966 # Check whether --with-freetype was given.
3967 if test "${with_freetype+set}" = set; then :
3968 withval=$with_freetype;
3972 # Check whether --with-gettext was given.
3973 if test "${with_gettext+set}" = set; then :
3974 withval=$with_gettext;
3978 # Check whether --with-gettextpo was given.
3979 if test "${with_gettextpo+set}" = set; then :
3980 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3984 # Check whether --with-gphoto was given.
3985 if test "${with_gphoto+set}" = set; then :
3986 withval=$with_gphoto;
3990 # Check whether --with-gnutls was given.
3991 if test "${with_gnutls+set}" = set; then :
3992 withval=$with_gnutls;
3996 # Check whether --with-gsm was given.
3997 if test "${with_gsm+set}" = set; then :
3998 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4002 # Check whether --with-gssapi was given.
4003 if test "${with_gssapi+set}" = set; then :
4004 withval=$with_gssapi;
4008 # Check whether --with-gstreamer was given.
4009 if test "${with_gstreamer+set}" = set; then :
4010 withval=$with_gstreamer;
4014 # Check whether --with-hal was given.
4015 if test "${with_hal+set}" = set; then :
4016 withval=$with_hal;
4020 # Check whether --with-inotify was given.
4021 if test "${with_inotify+set}" = set; then :
4022 withval=$with_inotify;
4026 # Check whether --with-jpeg was given.
4027 if test "${with_jpeg+set}" = set; then :
4028 withval=$with_jpeg;
4032 # Check whether --with-krb5 was given.
4033 if test "${with_krb5+set}" = set; then :
4034 withval=$with_krb5;
4038 # Check whether --with-ldap was given.
4039 if test "${with_ldap+set}" = set; then :
4040 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4044 # Check whether --with-mingw was given.
4045 if test "${with_mingw+set}" = set; then :
4046 withval=$with_mingw;
4050 # Check whether --with-mpg123 was given.
4051 if test "${with_mpg123+set}" = set; then :
4052 withval=$with_mpg123;
4056 # Check whether --with-netapi was given.
4057 if test "${with_netapi+set}" = set; then :
4058 withval=$with_netapi;
4062 # Check whether --with-openal was given.
4063 if test "${with_openal+set}" = set; then :
4064 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4068 # Check whether --with-opencl was given.
4069 if test "${with_opencl+set}" = set; then :
4070 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4074 # Check whether --with-opengl was given.
4075 if test "${with_opengl+set}" = set; then :
4076 withval=$with_opengl;
4080 # Check whether --with-osmesa was given.
4081 if test "${with_osmesa+set}" = set; then :
4082 withval=$with_osmesa;
4086 # Check whether --with-oss was given.
4087 if test "${with_oss+set}" = set; then :
4088 withval=$with_oss;
4092 # Check whether --with-pcap was given.
4093 if test "${with_pcap+set}" = set; then :
4094 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4098 # Check whether --with-png was given.
4099 if test "${with_png+set}" = set; then :
4100 withval=$with_png;
4104 # Check whether --with-pthread was given.
4105 if test "${with_pthread+set}" = set; then :
4106 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4110 # Check whether --with-pulse was given.
4111 if test "${with_pulse+set}" = set; then :
4112 withval=$with_pulse;
4116 # Check whether --with-quicktime was given.
4117 if test "${with_quicktime+set}" = set; then :
4118 withval=$with_quicktime;
4122 # Check whether --with-sane was given.
4123 if test "${with_sane+set}" = set; then :
4124 withval=$with_sane;
4128 # Check whether --with-sdl was given.
4129 if test "${with_sdl+set}" = set; then :
4130 withval=$with_sdl;
4134 # Check whether --with-tiff was given.
4135 if test "${with_tiff+set}" = set; then :
4136 withval=$with_tiff;
4140 # Check whether --with-udev was given.
4141 if test "${with_udev+set}" = set; then :
4142 withval=$with_udev;
4146 # Check whether --with-unwind was given.
4147 if test "${with_unwind+set}" = set; then :
4148 withval=$with_unwind;
4152 # Check whether --with-usb was given.
4153 if test "${with_usb+set}" = set; then :
4154 withval=$with_usb;
4158 # Check whether --with-v4l2 was given.
4159 if test "${with_v4l2+set}" = set; then :
4160 withval=$with_v4l2;
4164 # Check whether --with-vkd3d was given.
4165 if test "${with_vkd3d+set}" = set; then :
4166 withval=$with_vkd3d;
4170 # Check whether --with-vulkan was given.
4171 if test "${with_vulkan+set}" = set; then :
4172 withval=$with_vulkan;
4176 # Check whether --with-xcomposite was given.
4177 if test "${with_xcomposite+set}" = set; then :
4178 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4182 # Check whether --with-xcursor was given.
4183 if test "${with_xcursor+set}" = set; then :
4184 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4188 # Check whether --with-xfixes was given.
4189 if test "${with_xfixes+set}" = set; then :
4190 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4194 # Check whether --with-xinerama was given.
4195 if test "${with_xinerama+set}" = set; then :
4196 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4200 # Check whether --with-xinput was given.
4201 if test "${with_xinput+set}" = set; then :
4202 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4206 # Check whether --with-xinput2 was given.
4207 if test "${with_xinput2+set}" = set; then :
4208 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4212 # Check whether --with-xml was given.
4213 if test "${with_xml+set}" = set; then :
4214 withval=$with_xml;
4218 # Check whether --with-xrandr was given.
4219 if test "${with_xrandr+set}" = set; then :
4220 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4224 # Check whether --with-xrender was given.
4225 if test "${with_xrender+set}" = set; then :
4226 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4230 # Check whether --with-xshape was given.
4231 if test "${with_xshape+set}" = set; then :
4232 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4236 # Check whether --with-xshm was given.
4237 if test "${with_xshm+set}" = set; then :
4238 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4242 # Check whether --with-xslt was given.
4243 if test "${with_xslt+set}" = set; then :
4244 withval=$with_xslt;
4248 # Check whether --with-xxf86vm was given.
4249 if test "${with_xxf86vm+set}" = set; then :
4250 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
4255 # Check whether --with-wine-tools was given.
4256 if test "${with_wine_tools+set}" = set; then :
4257 withval=$with_wine_tools;
4261 # Check whether --with-wine64 was given.
4262 if test "${with_wine64+set}" = set; then :
4263 withval=$with_wine64;
4267 # Make sure we can run config.sub.
4268 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4269 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4272 $as_echo_n "checking build system type... " >&6; }
4273 if ${ac_cv_build+:} false; then :
4274 $as_echo_n "(cached) " >&6
4275 else
4276 ac_build_alias=$build_alias
4277 test "x$ac_build_alias" = x &&
4278 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4279 test "x$ac_build_alias" = x &&
4280 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4281 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4282 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4286 $as_echo "$ac_cv_build" >&6; }
4287 case $ac_cv_build in
4288 *-*-*) ;;
4289 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4290 esac
4291 build=$ac_cv_build
4292 ac_save_IFS=$IFS; IFS='-'
4293 set x $ac_cv_build
4294 shift
4295 build_cpu=$1
4296 build_vendor=$2
4297 shift; shift
4298 # Remember, the first character of IFS is used to create $*,
4299 # except with old shells:
4300 build_os=$*
4301 IFS=$ac_save_IFS
4302 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4306 $as_echo_n "checking host system type... " >&6; }
4307 if ${ac_cv_host+:} false; then :
4308 $as_echo_n "(cached) " >&6
4309 else
4310 if test "x$host_alias" = x; then
4311 ac_cv_host=$ac_cv_build
4312 else
4313 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4314 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4319 $as_echo "$ac_cv_host" >&6; }
4320 case $ac_cv_host in
4321 *-*-*) ;;
4322 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4323 esac
4324 host=$ac_cv_host
4325 ac_save_IFS=$IFS; IFS='-'
4326 set x $ac_cv_host
4327 shift
4328 host_cpu=$1
4329 host_vendor=$2
4330 shift; shift
4331 # Remember, the first character of IFS is used to create $*,
4332 # except with old shells:
4333 host_os=$*
4334 IFS=$ac_save_IFS
4335 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4341 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4342 set x ${MAKE-make}
4343 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4344 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4345 $as_echo_n "(cached) " >&6
4346 else
4347 cat >conftest.make <<\_ACEOF
4348 SHELL = /bin/sh
4349 all:
4350 @echo '@@@%%%=$(MAKE)=@@@%%%'
4351 _ACEOF
4352 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4353 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4354 *@@@%%%=?*=@@@%%%*)
4355 eval ac_cv_prog_make_${ac_make}_set=yes;;
4357 eval ac_cv_prog_make_${ac_make}_set=no;;
4358 esac
4359 rm -f conftest.make
4361 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4363 $as_echo "yes" >&6; }
4364 SET_MAKE=
4365 else
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4368 SET_MAKE="MAKE=${MAKE-make}"
4371 ac_ext=c
4372 ac_cpp='$CPP $CPPFLAGS'
4373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4376 if test -n "$ac_tool_prefix"; then
4377 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4378 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4380 $as_echo_n "checking for $ac_word... " >&6; }
4381 if ${ac_cv_prog_CC+:} false; then :
4382 $as_echo_n "(cached) " >&6
4383 else
4384 if test -n "$CC"; then
4385 ac_cv_prog_CC="$CC" # Let the user override the test.
4386 else
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 for as_dir in $PATH
4390 IFS=$as_save_IFS
4391 test -z "$as_dir" && as_dir=.
4392 for ac_exec_ext in '' $ac_executable_extensions; do
4393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4394 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 break 2
4398 done
4399 done
4400 IFS=$as_save_IFS
4404 CC=$ac_cv_prog_CC
4405 if test -n "$CC"; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4407 $as_echo "$CC" >&6; }
4408 else
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4415 if test -z "$ac_cv_prog_CC"; then
4416 ac_ct_CC=$CC
4417 # Extract the first word of "gcc", so it can be a program name with args.
4418 set dummy gcc; ac_word=$2
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4420 $as_echo_n "checking for $ac_word... " >&6; }
4421 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4422 $as_echo_n "(cached) " >&6
4423 else
4424 if test -n "$ac_ct_CC"; then
4425 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4426 else
4427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4428 for as_dir in $PATH
4430 IFS=$as_save_IFS
4431 test -z "$as_dir" && as_dir=.
4432 for ac_exec_ext in '' $ac_executable_extensions; do
4433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4434 ac_cv_prog_ac_ct_CC="gcc"
4435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 break 2
4438 done
4439 done
4440 IFS=$as_save_IFS
4444 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4445 if test -n "$ac_ct_CC"; then
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4447 $as_echo "$ac_ct_CC" >&6; }
4448 else
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450 $as_echo "no" >&6; }
4453 if test "x$ac_ct_CC" = x; then
4454 CC=""
4455 else
4456 case $cross_compiling:$ac_tool_warned in
4457 yes:)
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4460 ac_tool_warned=yes ;;
4461 esac
4462 CC=$ac_ct_CC
4464 else
4465 CC="$ac_cv_prog_CC"
4468 if test -z "$CC"; then
4469 if test -n "$ac_tool_prefix"; then
4470 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4471 set dummy ${ac_tool_prefix}cc; ac_word=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if ${ac_cv_prog_CC+:} false; then :
4475 $as_echo_n "(cached) " >&6
4476 else
4477 if test -n "$CC"; then
4478 ac_cv_prog_CC="$CC" # Let the user override the test.
4479 else
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH
4483 IFS=$as_save_IFS
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 ac_cv_prog_CC="${ac_tool_prefix}cc"
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 break 2
4491 done
4492 done
4493 IFS=$as_save_IFS
4497 CC=$ac_cv_prog_CC
4498 if test -n "$CC"; then
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4500 $as_echo "$CC" >&6; }
4501 else
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 $as_echo "no" >&6; }
4509 if test -z "$CC"; then
4510 # Extract the first word of "cc", so it can be a program name with args.
4511 set dummy cc; ac_word=$2
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4513 $as_echo_n "checking for $ac_word... " >&6; }
4514 if ${ac_cv_prog_CC+:} false; then :
4515 $as_echo_n "(cached) " >&6
4516 else
4517 if test -n "$CC"; then
4518 ac_cv_prog_CC="$CC" # Let the user override the test.
4519 else
4520 ac_prog_rejected=no
4521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4522 for as_dir in $PATH
4524 IFS=$as_save_IFS
4525 test -z "$as_dir" && as_dir=.
4526 for ac_exec_ext in '' $ac_executable_extensions; do
4527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4528 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4529 ac_prog_rejected=yes
4530 continue
4532 ac_cv_prog_CC="cc"
4533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 break 2
4536 done
4537 done
4538 IFS=$as_save_IFS
4540 if test $ac_prog_rejected = yes; then
4541 # We found a bogon in the path, so make sure we never use it.
4542 set dummy $ac_cv_prog_CC
4543 shift
4544 if test $# != 0; then
4545 # We chose a different compiler from the bogus one.
4546 # However, it has the same basename, so the bogon will be chosen
4547 # first if we set CC to just the basename; use the full file name.
4548 shift
4549 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4554 CC=$ac_cv_prog_CC
4555 if test -n "$CC"; then
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4557 $as_echo "$CC" >&6; }
4558 else
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4560 $as_echo "no" >&6; }
4565 if test -z "$CC"; then
4566 if test -n "$ac_tool_prefix"; then
4567 for ac_prog in cl.exe
4569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4570 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4572 $as_echo_n "checking for $ac_word... " >&6; }
4573 if ${ac_cv_prog_CC+:} false; then :
4574 $as_echo_n "(cached) " >&6
4575 else
4576 if test -n "$CC"; then
4577 ac_cv_prog_CC="$CC" # Let the user override the test.
4578 else
4579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 for as_dir in $PATH
4582 IFS=$as_save_IFS
4583 test -z "$as_dir" && as_dir=.
4584 for ac_exec_ext in '' $ac_executable_extensions; do
4585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4586 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588 break 2
4590 done
4591 done
4592 IFS=$as_save_IFS
4596 CC=$ac_cv_prog_CC
4597 if test -n "$CC"; then
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4599 $as_echo "$CC" >&6; }
4600 else
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602 $as_echo "no" >&6; }
4606 test -n "$CC" && break
4607 done
4609 if test -z "$CC"; then
4610 ac_ct_CC=$CC
4611 for ac_prog in cl.exe
4613 # Extract the first word of "$ac_prog", so it can be a program name with args.
4614 set dummy $ac_prog; ac_word=$2
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4616 $as_echo_n "checking for $ac_word... " >&6; }
4617 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4618 $as_echo_n "(cached) " >&6
4619 else
4620 if test -n "$ac_ct_CC"; then
4621 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4622 else
4623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4624 for as_dir in $PATH
4626 IFS=$as_save_IFS
4627 test -z "$as_dir" && as_dir=.
4628 for ac_exec_ext in '' $ac_executable_extensions; do
4629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4630 ac_cv_prog_ac_ct_CC="$ac_prog"
4631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 break 2
4634 done
4635 done
4636 IFS=$as_save_IFS
4640 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4641 if test -n "$ac_ct_CC"; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4643 $as_echo "$ac_ct_CC" >&6; }
4644 else
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 $as_echo "no" >&6; }
4650 test -n "$ac_ct_CC" && break
4651 done
4653 if test "x$ac_ct_CC" = x; then
4654 CC=""
4655 else
4656 case $cross_compiling:$ac_tool_warned in
4657 yes:)
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4660 ac_tool_warned=yes ;;
4661 esac
4662 CC=$ac_ct_CC
4669 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4671 as_fn_error $? "no acceptable C compiler found in \$PATH
4672 See \`config.log' for more details" "$LINENO" 5; }
4674 # Provide some information about the compiler.
4675 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4676 set X $ac_compile
4677 ac_compiler=$2
4678 for ac_option in --version -v -V -qversion; do
4679 { { ac_try="$ac_compiler $ac_option >&5"
4680 case "(($ac_try" in
4681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4682 *) ac_try_echo=$ac_try;;
4683 esac
4684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4685 $as_echo "$ac_try_echo"; } >&5
4686 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4687 ac_status=$?
4688 if test -s conftest.err; then
4689 sed '10a\
4690 ... rest of stderr output deleted ...
4691 10q' conftest.err >conftest.er1
4692 cat conftest.er1 >&5
4694 rm -f conftest.er1 conftest.err
4695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4696 test $ac_status = 0; }
4697 done
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4703 main ()
4707 return 0;
4709 _ACEOF
4710 ac_clean_files_save=$ac_clean_files
4711 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4712 # Try to create an executable without -o first, disregard a.out.
4713 # It will help us diagnose broken compilers, and finding out an intuition
4714 # of exeext.
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4716 $as_echo_n "checking whether the C compiler works... " >&6; }
4717 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4719 # The possible output files:
4720 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4722 ac_rmfiles=
4723 for ac_file in $ac_files
4725 case $ac_file in
4726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4727 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4728 esac
4729 done
4730 rm -f $ac_rmfiles
4732 if { { ac_try="$ac_link_default"
4733 case "(($ac_try" in
4734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735 *) ac_try_echo=$ac_try;;
4736 esac
4737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4738 $as_echo "$ac_try_echo"; } >&5
4739 (eval "$ac_link_default") 2>&5
4740 ac_status=$?
4741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4742 test $ac_status = 0; }; then :
4743 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4744 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4745 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4746 # so that the user can short-circuit this test for compilers unknown to
4747 # Autoconf.
4748 for ac_file in $ac_files ''
4750 test -f "$ac_file" || continue
4751 case $ac_file in
4752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4754 [ab].out )
4755 # We found the default executable, but exeext='' is most
4756 # certainly right.
4757 break;;
4758 *.* )
4759 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4760 then :; else
4761 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4763 # We set ac_cv_exeext here because the later test for it is not
4764 # safe: cross compilers may not add the suffix if given an `-o'
4765 # argument, so we may need to know it at that point already.
4766 # Even if this section looks crufty: it has the advantage of
4767 # actually working.
4768 break;;
4770 break;;
4771 esac
4772 done
4773 test "$ac_cv_exeext" = no && ac_cv_exeext=
4775 else
4776 ac_file=''
4778 if test -z "$ac_file"; then :
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4780 $as_echo "no" >&6; }
4781 $as_echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.$ac_ext >&5
4784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4786 as_fn_error 77 "C compiler cannot create executables
4787 See \`config.log' for more details" "$LINENO" 5; }
4788 else
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4790 $as_echo "yes" >&6; }
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4793 $as_echo_n "checking for C compiler default output file name... " >&6; }
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4795 $as_echo "$ac_file" >&6; }
4796 ac_exeext=$ac_cv_exeext
4798 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4799 ac_clean_files=$ac_clean_files_save
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4801 $as_echo_n "checking for suffix of executables... " >&6; }
4802 if { { ac_try="$ac_link"
4803 case "(($ac_try" in
4804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4805 *) ac_try_echo=$ac_try;;
4806 esac
4807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4808 $as_echo "$ac_try_echo"; } >&5
4809 (eval "$ac_link") 2>&5
4810 ac_status=$?
4811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4812 test $ac_status = 0; }; then :
4813 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4814 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4815 # work properly (i.e., refer to `conftest.exe'), while it won't with
4816 # `rm'.
4817 for ac_file in conftest.exe conftest conftest.*; do
4818 test -f "$ac_file" || continue
4819 case $ac_file in
4820 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4821 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4822 break;;
4823 * ) break;;
4824 esac
4825 done
4826 else
4827 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4829 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4830 See \`config.log' for more details" "$LINENO" 5; }
4832 rm -f conftest conftest$ac_cv_exeext
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4834 $as_echo "$ac_cv_exeext" >&6; }
4836 rm -f conftest.$ac_ext
4837 EXEEXT=$ac_cv_exeext
4838 ac_exeext=$EXEEXT
4839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4840 /* end confdefs.h. */
4841 #include <stdio.h>
4843 main ()
4845 FILE *f = fopen ("conftest.out", "w");
4846 return ferror (f) || fclose (f) != 0;
4849 return 0;
4851 _ACEOF
4852 ac_clean_files="$ac_clean_files conftest.out"
4853 # Check that the compiler produces executables we can run. If not, either
4854 # the compiler is broken, or we cross compile.
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4856 $as_echo_n "checking whether we are cross compiling... " >&6; }
4857 if test "$cross_compiling" != yes; then
4858 { { ac_try="$ac_link"
4859 case "(($ac_try" in
4860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4861 *) ac_try_echo=$ac_try;;
4862 esac
4863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4864 $as_echo "$ac_try_echo"; } >&5
4865 (eval "$ac_link") 2>&5
4866 ac_status=$?
4867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4868 test $ac_status = 0; }
4869 if { ac_try='./conftest$ac_cv_exeext'
4870 { { case "(($ac_try" in
4871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4872 *) ac_try_echo=$ac_try;;
4873 esac
4874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4875 $as_echo "$ac_try_echo"; } >&5
4876 (eval "$ac_try") 2>&5
4877 ac_status=$?
4878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4879 test $ac_status = 0; }; }; then
4880 cross_compiling=no
4881 else
4882 if test "$cross_compiling" = maybe; then
4883 cross_compiling=yes
4884 else
4885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4887 as_fn_error $? "cannot run C compiled programs.
4888 If you meant to cross compile, use \`--host'.
4889 See \`config.log' for more details" "$LINENO" 5; }
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4894 $as_echo "$cross_compiling" >&6; }
4896 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4897 ac_clean_files=$ac_clean_files_save
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4899 $as_echo_n "checking for suffix of object files... " >&6; }
4900 if ${ac_cv_objext+:} false; then :
4901 $as_echo_n "(cached) " >&6
4902 else
4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h. */
4907 main ()
4911 return 0;
4913 _ACEOF
4914 rm -f conftest.o conftest.obj
4915 if { { ac_try="$ac_compile"
4916 case "(($ac_try" in
4917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4918 *) ac_try_echo=$ac_try;;
4919 esac
4920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4921 $as_echo "$ac_try_echo"; } >&5
4922 (eval "$ac_compile") 2>&5
4923 ac_status=$?
4924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4925 test $ac_status = 0; }; then :
4926 for ac_file in conftest.o conftest.obj conftest.*; do
4927 test -f "$ac_file" || continue;
4928 case $ac_file in
4929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4930 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4931 break;;
4932 esac
4933 done
4934 else
4935 $as_echo "$as_me: failed program was:" >&5
4936 sed 's/^/| /' conftest.$ac_ext >&5
4938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4940 as_fn_error $? "cannot compute suffix of object files: cannot compile
4941 See \`config.log' for more details" "$LINENO" 5; }
4943 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4946 $as_echo "$ac_cv_objext" >&6; }
4947 OBJEXT=$ac_cv_objext
4948 ac_objext=$OBJEXT
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4950 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4951 if ${ac_cv_c_compiler_gnu+:} false; then :
4952 $as_echo_n "(cached) " >&6
4953 else
4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4958 main ()
4960 #ifndef __GNUC__
4961 choke me
4962 #endif
4965 return 0;
4967 _ACEOF
4968 if ac_fn_c_try_compile "$LINENO"; then :
4969 ac_compiler_gnu=yes
4970 else
4971 ac_compiler_gnu=no
4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4974 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4978 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4979 if test $ac_compiler_gnu = yes; then
4980 GCC=yes
4981 else
4982 GCC=
4984 ac_test_CFLAGS=${CFLAGS+set}
4985 ac_save_CFLAGS=$CFLAGS
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4987 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4988 if ${ac_cv_prog_cc_g+:} false; then :
4989 $as_echo_n "(cached) " >&6
4990 else
4991 ac_save_c_werror_flag=$ac_c_werror_flag
4992 ac_c_werror_flag=yes
4993 ac_cv_prog_cc_g=no
4994 CFLAGS="-g"
4995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4996 /* end confdefs.h. */
4999 main ()
5003 return 0;
5005 _ACEOF
5006 if ac_fn_c_try_compile "$LINENO"; then :
5007 ac_cv_prog_cc_g=yes
5008 else
5009 CFLAGS=""
5010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5014 main ()
5018 return 0;
5020 _ACEOF
5021 if ac_fn_c_try_compile "$LINENO"; then :
5023 else
5024 ac_c_werror_flag=$ac_save_c_werror_flag
5025 CFLAGS="-g"
5026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5027 /* end confdefs.h. */
5030 main ()
5034 return 0;
5036 _ACEOF
5037 if ac_fn_c_try_compile "$LINENO"; then :
5038 ac_cv_prog_cc_g=yes
5040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 ac_c_werror_flag=$ac_save_c_werror_flag
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5048 $as_echo "$ac_cv_prog_cc_g" >&6; }
5049 if test "$ac_test_CFLAGS" = set; then
5050 CFLAGS=$ac_save_CFLAGS
5051 elif test $ac_cv_prog_cc_g = yes; then
5052 if test "$GCC" = yes; then
5053 CFLAGS="-g -O2"
5054 else
5055 CFLAGS="-g"
5057 else
5058 if test "$GCC" = yes; then
5059 CFLAGS="-O2"
5060 else
5061 CFLAGS=
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5065 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5066 if ${ac_cv_prog_cc_c89+:} false; then :
5067 $as_echo_n "(cached) " >&6
5068 else
5069 ac_cv_prog_cc_c89=no
5070 ac_save_CC=$CC
5071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5072 /* end confdefs.h. */
5073 #include <stdarg.h>
5074 #include <stdio.h>
5075 struct stat;
5076 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5077 struct buf { int x; };
5078 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5079 static char *e (p, i)
5080 char **p;
5081 int i;
5083 return p[i];
5085 static char *f (char * (*g) (char **, int), char **p, ...)
5087 char *s;
5088 va_list v;
5089 va_start (v,p);
5090 s = g (p, va_arg (v,int));
5091 va_end (v);
5092 return s;
5095 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5096 function prototypes and stuff, but not '\xHH' hex character constants.
5097 These don't provoke an error unfortunately, instead are silently treated
5098 as 'x'. The following induces an error, until -std is added to get
5099 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5100 array size at least. It's necessary to write '\x00'==0 to get something
5101 that's true only with -std. */
5102 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5104 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5105 inside strings and character constants. */
5106 #define FOO(x) 'x'
5107 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5109 int test (int i, double x);
5110 struct s1 {int (*f) (int a);};
5111 struct s2 {int (*f) (double a);};
5112 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5113 int argc;
5114 char **argv;
5116 main ()
5118 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5120 return 0;
5122 _ACEOF
5123 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5124 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5126 CC="$ac_save_CC $ac_arg"
5127 if ac_fn_c_try_compile "$LINENO"; then :
5128 ac_cv_prog_cc_c89=$ac_arg
5130 rm -f core conftest.err conftest.$ac_objext
5131 test "x$ac_cv_prog_cc_c89" != "xno" && break
5132 done
5133 rm -f conftest.$ac_ext
5134 CC=$ac_save_CC
5137 # AC_CACHE_VAL
5138 case "x$ac_cv_prog_cc_c89" in
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5141 $as_echo "none needed" >&6; } ;;
5142 xno)
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5144 $as_echo "unsupported" >&6; } ;;
5146 CC="$CC $ac_cv_prog_cc_c89"
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5148 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5149 esac
5150 if test "x$ac_cv_prog_cc_c89" != xno; then :
5154 ac_ext=c
5155 ac_cpp='$CPP $CPPFLAGS'
5156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5160 ac_ext=cpp
5161 ac_cpp='$CXXCPP $CPPFLAGS'
5162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5165 if test -z "$CXX"; then
5166 if test -n "$CCC"; then
5167 CXX=$CCC
5168 else
5169 if test -n "$ac_tool_prefix"; then
5170 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5172 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5173 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_prog_CXX+:} false; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 if test -n "$CXX"; then
5180 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5181 else
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 for as_dir in $PATH
5185 IFS=$as_save_IFS
5186 test -z "$as_dir" && as_dir=.
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 break 2
5193 done
5194 done
5195 IFS=$as_save_IFS
5199 CXX=$ac_cv_prog_CXX
5200 if test -n "$CXX"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5202 $as_echo "$CXX" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5209 test -n "$CXX" && break
5210 done
5212 if test -z "$CXX"; then
5213 ac_ct_CXX=$CXX
5214 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5216 # Extract the first word of "$ac_prog", so it can be a program name with args.
5217 set dummy $ac_prog; ac_word=$2
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5219 $as_echo_n "checking for $ac_word... " >&6; }
5220 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5221 $as_echo_n "(cached) " >&6
5222 else
5223 if test -n "$ac_ct_CXX"; then
5224 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5225 else
5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227 for as_dir in $PATH
5229 IFS=$as_save_IFS
5230 test -z "$as_dir" && as_dir=.
5231 for ac_exec_ext in '' $ac_executable_extensions; do
5232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5233 ac_cv_prog_ac_ct_CXX="$ac_prog"
5234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 break 2
5237 done
5238 done
5239 IFS=$as_save_IFS
5243 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5244 if test -n "$ac_ct_CXX"; then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5246 $as_echo "$ac_ct_CXX" >&6; }
5247 else
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5253 test -n "$ac_ct_CXX" && break
5254 done
5256 if test "x$ac_ct_CXX" = x; then
5257 CXX="g++"
5258 else
5259 case $cross_compiling:$ac_tool_warned in
5260 yes:)
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5263 ac_tool_warned=yes ;;
5264 esac
5265 CXX=$ac_ct_CXX
5271 # Provide some information about the compiler.
5272 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5273 set X $ac_compile
5274 ac_compiler=$2
5275 for ac_option in --version -v -V -qversion; do
5276 { { ac_try="$ac_compiler $ac_option >&5"
5277 case "(($ac_try" in
5278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5279 *) ac_try_echo=$ac_try;;
5280 esac
5281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5282 $as_echo "$ac_try_echo"; } >&5
5283 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5284 ac_status=$?
5285 if test -s conftest.err; then
5286 sed '10a\
5287 ... rest of stderr output deleted ...
5288 10q' conftest.err >conftest.er1
5289 cat conftest.er1 >&5
5291 rm -f conftest.er1 conftest.err
5292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5293 test $ac_status = 0; }
5294 done
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5297 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5298 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5299 $as_echo_n "(cached) " >&6
5300 else
5301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5305 main ()
5307 #ifndef __GNUC__
5308 choke me
5309 #endif
5312 return 0;
5314 _ACEOF
5315 if ac_fn_cxx_try_compile "$LINENO"; then :
5316 ac_compiler_gnu=yes
5317 else
5318 ac_compiler_gnu=no
5320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5321 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5325 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5326 if test $ac_compiler_gnu = yes; then
5327 GXX=yes
5328 else
5329 GXX=
5331 ac_test_CXXFLAGS=${CXXFLAGS+set}
5332 ac_save_CXXFLAGS=$CXXFLAGS
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5334 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5335 if ${ac_cv_prog_cxx_g+:} false; then :
5336 $as_echo_n "(cached) " >&6
5337 else
5338 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5339 ac_cxx_werror_flag=yes
5340 ac_cv_prog_cxx_g=no
5341 CXXFLAGS="-g"
5342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5343 /* end confdefs.h. */
5346 main ()
5350 return 0;
5352 _ACEOF
5353 if ac_fn_cxx_try_compile "$LINENO"; then :
5354 ac_cv_prog_cxx_g=yes
5355 else
5356 CXXFLAGS=""
5357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5358 /* end confdefs.h. */
5361 main ()
5365 return 0;
5367 _ACEOF
5368 if ac_fn_cxx_try_compile "$LINENO"; then :
5370 else
5371 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5372 CXXFLAGS="-g"
5373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374 /* end confdefs.h. */
5377 main ()
5381 return 0;
5383 _ACEOF
5384 if ac_fn_cxx_try_compile "$LINENO"; then :
5385 ac_cv_prog_cxx_g=yes
5387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5395 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5396 if test "$ac_test_CXXFLAGS" = set; then
5397 CXXFLAGS=$ac_save_CXXFLAGS
5398 elif test $ac_cv_prog_cxx_g = yes; then
5399 if test "$GXX" = yes; then
5400 CXXFLAGS="-g -O2"
5401 else
5402 CXXFLAGS="-g"
5404 else
5405 if test "$GXX" = yes; then
5406 CXXFLAGS="-O2"
5407 else
5408 CXXFLAGS=
5411 ac_ext=c
5412 ac_cpp='$CPP $CPPFLAGS'
5413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5417 if test -n "$ac_tool_prefix"; then
5418 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5419 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_CPPBIN+:} false; then :
5423 $as_echo_n "(cached) " >&6
5424 else
5425 if test -n "$CPPBIN"; then
5426 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5427 else
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 for as_dir in $PATH
5431 IFS=$as_save_IFS
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 break 2
5439 done
5440 done
5441 IFS=$as_save_IFS
5445 CPPBIN=$ac_cv_prog_CPPBIN
5446 if test -n "$CPPBIN"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5448 $as_echo "$CPPBIN" >&6; }
5449 else
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5456 if test -z "$ac_cv_prog_CPPBIN"; then
5457 ac_ct_CPPBIN=$CPPBIN
5458 # Extract the first word of "cpp", so it can be a program name with args.
5459 set dummy cpp; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5463 $as_echo_n "(cached) " >&6
5464 else
5465 if test -n "$ac_ct_CPPBIN"; then
5466 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5467 else
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH
5471 IFS=$as_save_IFS
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_ac_ct_CPPBIN="cpp"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 break 2
5479 done
5480 done
5481 IFS=$as_save_IFS
5485 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5486 if test -n "$ac_ct_CPPBIN"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5488 $as_echo "$ac_ct_CPPBIN" >&6; }
5489 else
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5494 if test "x$ac_ct_CPPBIN" = x; then
5495 CPPBIN="cpp"
5496 else
5497 case $cross_compiling:$ac_tool_warned in
5498 yes:)
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5501 ac_tool_warned=yes ;;
5502 esac
5503 CPPBIN=$ac_ct_CPPBIN
5505 else
5506 CPPBIN="$ac_cv_prog_CPPBIN"
5510 cat >>confdefs.h <<_ACEOF
5511 #define EXEEXT "$ac_exeext"
5512 _ACEOF
5514 if test -n "$ac_tool_prefix"; then
5515 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5516 set dummy ${ac_tool_prefix}ld; ac_word=$2
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5518 $as_echo_n "checking for $ac_word... " >&6; }
5519 if ${ac_cv_prog_LD+:} false; then :
5520 $as_echo_n "(cached) " >&6
5521 else
5522 if test -n "$LD"; then
5523 ac_cv_prog_LD="$LD" # Let the user override the test.
5524 else
5525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5526 for as_dir in $PATH
5528 IFS=$as_save_IFS
5529 test -z "$as_dir" && as_dir=.
5530 for ac_exec_ext in '' $ac_executable_extensions; do
5531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5532 ac_cv_prog_LD="${ac_tool_prefix}ld"
5533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 break 2
5536 done
5537 done
5538 IFS=$as_save_IFS
5542 LD=$ac_cv_prog_LD
5543 if test -n "$LD"; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5545 $as_echo "$LD" >&6; }
5546 else
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5548 $as_echo "no" >&6; }
5553 if test -z "$ac_cv_prog_LD"; then
5554 ac_ct_LD=$LD
5555 # Extract the first word of "ld", so it can be a program name with args.
5556 set dummy ld; ac_word=$2
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5558 $as_echo_n "checking for $ac_word... " >&6; }
5559 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5560 $as_echo_n "(cached) " >&6
5561 else
5562 if test -n "$ac_ct_LD"; then
5563 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5564 else
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 for as_dir in $PATH
5568 IFS=$as_save_IFS
5569 test -z "$as_dir" && as_dir=.
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5572 ac_cv_prog_ac_ct_LD="ld"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 break 2
5576 done
5577 done
5578 IFS=$as_save_IFS
5582 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5583 if test -n "$ac_ct_LD"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5585 $as_echo "$ac_ct_LD" >&6; }
5586 else
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588 $as_echo "no" >&6; }
5591 if test "x$ac_ct_LD" = x; then
5592 LD=""
5593 else
5594 case $cross_compiling:$ac_tool_warned in
5595 yes:)
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5598 ac_tool_warned=yes ;;
5599 esac
5600 LD=$ac_ct_LD
5602 else
5603 LD="$ac_cv_prog_LD"
5607 case $host in
5608 *-darwin*)
5609 with_fontconfig=${with_fontconfig:-no}
5611 *-mingw32*|*-cygwin*)
5612 enable_win16=${enable_win16:-no}
5613 with_mingw=${with_mingw:-no}
5614 CFLAGS="$CFLAGS -D_WIN32"
5616 esac
5618 case $host in
5619 x86_64*|amd64*)
5620 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5621 then
5622 CC="$CC -m32"
5623 CXX="$CXX -m32"
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5626 $as_echo_n "checking whether $CC works... " >&6; }
5627 if ${wine_cv_cc_m32+:} false; then :
5628 $as_echo_n "(cached) " >&6
5629 else
5630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5634 main ()
5638 return 0;
5640 _ACEOF
5641 if ac_fn_c_try_link "$LINENO"; then :
5642 wine_cv_cc_m32=yes
5643 else
5644 wine_cv_cc_m32=no
5646 rm -f core conftest.err conftest.$ac_objext \
5647 conftest$ac_exeext conftest.$ac_ext
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5650 $as_echo "$wine_cv_cc_m32" >&6; }
5651 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
5652 host_cpu="i386"
5653 notice_platform="32-bit "
5654 TARGETFLAGS="-m32"
5656 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5657 export PKG_CONFIG_PATH
5658 enable_win16=${enable_win16:-yes}
5659 with_unwind=${with_unwind:-no}
5660 else
5661 if test "x${GCC}" = "xyes"
5662 then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5664 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5665 if ${wine_cv_builtin_ms_va_list+:} false; then :
5666 $as_echo_n "(cached) " >&6
5667 else
5668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5669 /* end confdefs.h. */
5670 #include <stdarg.h>
5672 main ()
5674 void func(__builtin_ms_va_list *args);
5676 return 0;
5678 _ACEOF
5679 if ac_fn_c_try_compile "$LINENO"; then :
5680 wine_cv_builtin_ms_va_list=yes
5681 else
5682 wine_cv_builtin_ms_va_list=no
5684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5687 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5688 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
5690 CC="$CC -m64"
5691 CXX="$CXX -m64"
5692 host_cpu="x86_64"
5693 notice_platform="64-bit "
5694 TARGETFLAGS="-m64"
5698 arm*)
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5700 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5701 if ${wine_cv_thumb+:} false; then :
5702 $as_echo_n "(cached) " >&6
5703 else
5704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5705 /* end confdefs.h. */
5706 int ac_test(int i) { return i; }
5708 main ()
5710 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5712 return 0;
5714 _ACEOF
5715 if ac_fn_c_try_link "$LINENO"; then :
5716 wine_cv_thumb=yes
5717 else
5718 wine_cv_thumb=no
5720 rm -f core conftest.err conftest.$ac_objext \
5721 conftest$ac_exeext conftest.$ac_ext
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5724 $as_echo "$wine_cv_thumb" >&6; }
5725 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5726 case $with_float_abi in
5727 soft|softfp|hard)
5728 float_abi=$with_float_abi ;;
5730 case $host_os in
5731 *eabihf)
5732 float_abi=hard ;;
5734 float_abi=softfp
5735 saved_CFLAGS=$CFLAGS
5736 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5738 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5739 if ${wine_cv_float_abi+:} false; then :
5740 $as_echo_n "(cached) " >&6
5741 else
5742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5743 /* end confdefs.h. */
5746 main ()
5748 asm("vmrs r2,fpscr");
5750 return 0;
5752 _ACEOF
5753 if ac_fn_c_try_link "$LINENO"; then :
5754 wine_cv_float_abi=yes
5755 else
5756 wine_cv_float_abi=no
5758 rm -f core conftest.err conftest.$ac_objext \
5759 conftest$ac_exeext conftest.$ac_ext
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5762 $as_echo "$wine_cv_float_abi" >&6; }
5763 if test $wine_cv_float_abi = no
5764 then
5765 float_abi=soft
5766 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5768 CFLAGS=$saved_CFLAGS
5769 esac
5771 esac
5772 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5773 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5776 aarch64*)
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5778 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5779 if ${wine_cv_builtin_ms_va_list+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5784 #include <stdarg.h>
5786 main ()
5788 void func(__builtin_ms_va_list *args);
5790 return 0;
5792 _ACEOF
5793 if ac_fn_c_try_compile "$LINENO"; then :
5794 wine_cv_builtin_ms_va_list=yes
5795 else
5796 wine_cv_builtin_ms_va_list=no
5798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5801 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5802 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5804 i[3456789]86*)
5805 enable_win16=${enable_win16:-yes}
5806 with_unwind=${with_unwind:-no}
5808 esac
5810 enable_win16=${enable_win16:-no}
5811 enable_win64=${enable_win64:-no}
5813 enable_winetest=${enable_winetest:-$enable_tests}
5815 if test "x$enable_win64" = "xyes"
5816 then
5817 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5818 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5819 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5823 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5824 if ${wine_cv_toolsdir+:} false; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 wine_cv_toolsdir="$with_wine_tools"
5828 if test -z "$with_wine_tools"; then
5829 if test "$cross_compiling" = "yes"; then
5830 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5831 elif test -n "$with_wine64"; then
5832 wine_cv_toolsdir="$with_wine64"
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5837 $as_echo "$wine_cv_toolsdir" >&6; }
5838 if test -z "$wine_cv_toolsdir"; then
5839 wine_makedep=tools/makedep
5840 TOOLSDIR="."
5842 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5843 wine_makedep=$wine_cv_toolsdir/tools/makedep
5844 TOOLSDIR=$wine_cv_toolsdir
5846 enable_tools=${enable_tools:-no}
5847 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5848 else
5849 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5851 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5852 then
5853 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5857 for ac_prog in flex
5859 # Extract the first word of "$ac_prog", so it can be a program name with args.
5860 set dummy $ac_prog; ac_word=$2
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5862 $as_echo_n "checking for $ac_word... " >&6; }
5863 if ${ac_cv_prog_FLEX+:} false; then :
5864 $as_echo_n "(cached) " >&6
5865 else
5866 if test -n "$FLEX"; then
5867 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5868 else
5869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 for as_dir in $PATH
5872 IFS=$as_save_IFS
5873 test -z "$as_dir" && as_dir=.
5874 for ac_exec_ext in '' $ac_executable_extensions; do
5875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5876 ac_cv_prog_FLEX="$ac_prog"
5877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 break 2
5880 done
5881 done
5882 IFS=$as_save_IFS
5886 FLEX=$ac_cv_prog_FLEX
5887 if test -n "$FLEX"; then
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5889 $as_echo "$FLEX" >&6; }
5890 else
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5892 $as_echo "no" >&6; }
5896 test -n "$FLEX" && break
5897 done
5898 test -n "$FLEX" || FLEX="none"
5900 if test "$FLEX" = "none"
5901 then
5902 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5905 $as_echo_n "checking whether flex is recent enough... " >&6; }
5906 if ${wine_cv_recent_flex+:} false; then :
5907 $as_echo_n "(cached) " >&6
5908 else
5909 cat >conftest.l <<EOF
5910 %top{
5911 #include "prediluvian.h"
5915 if $FLEX -t conftest.l >/dev/null 2>&5
5916 then
5917 wine_cv_recent_flex=yes
5918 else
5919 wine_cv_recent_flex=no
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5923 $as_echo "$wine_cv_recent_flex" >&6; }
5924 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
5926 for ac_prog in bison
5928 # Extract the first word of "$ac_prog", so it can be a program name with args.
5929 set dummy $ac_prog; ac_word=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if ${ac_cv_prog_BISON+:} false; then :
5933 $as_echo_n "(cached) " >&6
5934 else
5935 if test -n "$BISON"; then
5936 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5937 else
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 for as_dir in $PATH
5941 IFS=$as_save_IFS
5942 test -z "$as_dir" && as_dir=.
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5945 ac_cv_prog_BISON="$ac_prog"
5946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 break 2
5949 done
5950 done
5951 IFS=$as_save_IFS
5955 BISON=$ac_cv_prog_BISON
5956 if test -n "$BISON"; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5958 $as_echo "$BISON" >&6; }
5959 else
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5965 test -n "$BISON" && break
5966 done
5967 test -n "$BISON" || BISON="none"
5969 if test "$BISON" = "none"
5970 then
5971 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5974 $as_echo_n "checking whether bison is recent enough... " >&6; }
5975 if ${wine_cv_recent_bison+:} false; then :
5976 $as_echo_n "(cached) " >&6
5977 else
5978 cat >conftest.y <<EOF
5979 %define parse.error verbose
5981 empty: ;
5983 if $BISON conftest.y >/dev/null 2>&5
5984 then
5985 wine_cv_recent_bison=yes
5986 else
5987 wine_cv_recent_bison=no
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5991 $as_echo "$wine_cv_recent_bison" >&6; }
5992 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
5994 if test -n "$ac_tool_prefix"; then
5995 for ac_prog in ar gar
5997 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5998 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6000 $as_echo_n "checking for $ac_word... " >&6; }
6001 if ${ac_cv_prog_AR+:} false; then :
6002 $as_echo_n "(cached) " >&6
6003 else
6004 if test -n "$AR"; then
6005 ac_cv_prog_AR="$AR" # Let the user override the test.
6006 else
6007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 for as_dir in $PATH
6010 IFS=$as_save_IFS
6011 test -z "$as_dir" && as_dir=.
6012 for ac_exec_ext in '' $ac_executable_extensions; do
6013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6014 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 break 2
6018 done
6019 done
6020 IFS=$as_save_IFS
6024 AR=$ac_cv_prog_AR
6025 if test -n "$AR"; then
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6027 $as_echo "$AR" >&6; }
6028 else
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6030 $as_echo "no" >&6; }
6034 test -n "$AR" && break
6035 done
6037 if test -z "$AR"; then
6038 ac_ct_AR=$AR
6039 for ac_prog in ar gar
6041 # Extract the first word of "$ac_prog", so it can be a program name with args.
6042 set dummy $ac_prog; ac_word=$2
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6044 $as_echo_n "checking for $ac_word... " >&6; }
6045 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6046 $as_echo_n "(cached) " >&6
6047 else
6048 if test -n "$ac_ct_AR"; then
6049 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6050 else
6051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6052 for as_dir in $PATH
6054 IFS=$as_save_IFS
6055 test -z "$as_dir" && as_dir=.
6056 for ac_exec_ext in '' $ac_executable_extensions; do
6057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6058 ac_cv_prog_ac_ct_AR="$ac_prog"
6059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6060 break 2
6062 done
6063 done
6064 IFS=$as_save_IFS
6068 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6069 if test -n "$ac_ct_AR"; then
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6071 $as_echo "$ac_ct_AR" >&6; }
6072 else
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6074 $as_echo "no" >&6; }
6078 test -n "$ac_ct_AR" && break
6079 done
6081 if test "x$ac_ct_AR" = x; then
6082 AR="ar"
6083 else
6084 case $cross_compiling:$ac_tool_warned in
6085 yes:)
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6088 ac_tool_warned=yes ;;
6089 esac
6090 AR=$ac_ct_AR
6094 if test -n "$ac_tool_prefix"; then
6095 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6096 set dummy ${ac_tool_prefix}strip; ac_word=$2
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6098 $as_echo_n "checking for $ac_word... " >&6; }
6099 if ${ac_cv_prog_STRIP+:} false; then :
6100 $as_echo_n "(cached) " >&6
6101 else
6102 if test -n "$STRIP"; then
6103 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6104 else
6105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 for as_dir in $PATH
6108 IFS=$as_save_IFS
6109 test -z "$as_dir" && as_dir=.
6110 for ac_exec_ext in '' $ac_executable_extensions; do
6111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6112 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6114 break 2
6116 done
6117 done
6118 IFS=$as_save_IFS
6122 STRIP=$ac_cv_prog_STRIP
6123 if test -n "$STRIP"; then
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6125 $as_echo "$STRIP" >&6; }
6126 else
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6128 $as_echo "no" >&6; }
6133 if test -z "$ac_cv_prog_STRIP"; then
6134 ac_ct_STRIP=$STRIP
6135 # Extract the first word of "strip", so it can be a program name with args.
6136 set dummy strip; ac_word=$2
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6138 $as_echo_n "checking for $ac_word... " >&6; }
6139 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6140 $as_echo_n "(cached) " >&6
6141 else
6142 if test -n "$ac_ct_STRIP"; then
6143 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6144 else
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 for as_dir in $PATH
6148 IFS=$as_save_IFS
6149 test -z "$as_dir" && as_dir=.
6150 for ac_exec_ext in '' $ac_executable_extensions; do
6151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6152 ac_cv_prog_ac_ct_STRIP="strip"
6153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6154 break 2
6156 done
6157 done
6158 IFS=$as_save_IFS
6162 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6163 if test -n "$ac_ct_STRIP"; then
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6165 $as_echo "$ac_ct_STRIP" >&6; }
6166 else
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6168 $as_echo "no" >&6; }
6171 if test "x$ac_ct_STRIP" = x; then
6172 STRIP="strip"
6173 else
6174 case $cross_compiling:$ac_tool_warned in
6175 yes:)
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6178 ac_tool_warned=yes ;;
6179 esac
6180 STRIP=$ac_ct_STRIP
6182 else
6183 STRIP="$ac_cv_prog_STRIP"
6186 if test -n "$ac_tool_prefix"; then
6187 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6188 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6190 $as_echo_n "checking for $ac_word... " >&6; }
6191 if ${ac_cv_prog_RANLIB+:} false; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 if test -n "$RANLIB"; then
6195 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6196 else
6197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 for as_dir in $PATH
6200 IFS=$as_save_IFS
6201 test -z "$as_dir" && as_dir=.
6202 for ac_exec_ext in '' $ac_executable_extensions; do
6203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6204 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6206 break 2
6208 done
6209 done
6210 IFS=$as_save_IFS
6214 RANLIB=$ac_cv_prog_RANLIB
6215 if test -n "$RANLIB"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6217 $as_echo "$RANLIB" >&6; }
6218 else
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220 $as_echo "no" >&6; }
6225 if test -z "$ac_cv_prog_RANLIB"; then
6226 ac_ct_RANLIB=$RANLIB
6227 # Extract the first word of "ranlib", so it can be a program name with args.
6228 set dummy ranlib; ac_word=$2
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6230 $as_echo_n "checking for $ac_word... " >&6; }
6231 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6232 $as_echo_n "(cached) " >&6
6233 else
6234 if test -n "$ac_ct_RANLIB"; then
6235 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6236 else
6237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 for as_dir in $PATH
6240 IFS=$as_save_IFS
6241 test -z "$as_dir" && as_dir=.
6242 for ac_exec_ext in '' $ac_executable_extensions; do
6243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6244 ac_cv_prog_ac_ct_RANLIB="ranlib"
6245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6246 break 2
6248 done
6249 done
6250 IFS=$as_save_IFS
6254 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6255 if test -n "$ac_ct_RANLIB"; then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6257 $as_echo "$ac_ct_RANLIB" >&6; }
6258 else
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6260 $as_echo "no" >&6; }
6263 if test "x$ac_ct_RANLIB" = x; then
6264 RANLIB=":"
6265 else
6266 case $cross_compiling:$ac_tool_warned in
6267 yes:)
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6270 ac_tool_warned=yes ;;
6271 esac
6272 RANLIB=$ac_ct_RANLIB
6274 else
6275 RANLIB="$ac_cv_prog_RANLIB"
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6279 $as_echo_n "checking whether ln -s works... " >&6; }
6280 LN_S=$as_ln_s
6281 if test "$LN_S" = "ln -s"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6283 $as_echo "yes" >&6; }
6284 else
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6286 $as_echo "no, using $LN_S" >&6; }
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6290 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6291 if ${ac_cv_path_GREP+:} false; then :
6292 $as_echo_n "(cached) " >&6
6293 else
6294 if test -z "$GREP"; then
6295 ac_path_GREP_found=false
6296 # Loop through the user's path and test for each of PROGNAME-LIST
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6300 IFS=$as_save_IFS
6301 test -z "$as_dir" && as_dir=.
6302 for ac_prog in grep ggrep; do
6303 for ac_exec_ext in '' $ac_executable_extensions; do
6304 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6305 as_fn_executable_p "$ac_path_GREP" || continue
6306 # Check for GNU ac_path_GREP and select it if it is found.
6307 # Check for GNU $ac_path_GREP
6308 case `"$ac_path_GREP" --version 2>&1` in
6309 *GNU*)
6310 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6312 ac_count=0
6313 $as_echo_n 0123456789 >"conftest.in"
6314 while :
6316 cat "conftest.in" "conftest.in" >"conftest.tmp"
6317 mv "conftest.tmp" "conftest.in"
6318 cp "conftest.in" "conftest.nl"
6319 $as_echo 'GREP' >> "conftest.nl"
6320 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6321 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6322 as_fn_arith $ac_count + 1 && ac_count=$as_val
6323 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6324 # Best one so far, save it but keep looking for a better one
6325 ac_cv_path_GREP="$ac_path_GREP"
6326 ac_path_GREP_max=$ac_count
6328 # 10*(2^10) chars as input seems more than enough
6329 test $ac_count -gt 10 && break
6330 done
6331 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6332 esac
6334 $ac_path_GREP_found && break 3
6335 done
6336 done
6337 done
6338 IFS=$as_save_IFS
6339 if test -z "$ac_cv_path_GREP"; then
6340 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6342 else
6343 ac_cv_path_GREP=$GREP
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6348 $as_echo "$ac_cv_path_GREP" >&6; }
6349 GREP="$ac_cv_path_GREP"
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6353 $as_echo_n "checking for egrep... " >&6; }
6354 if ${ac_cv_path_EGREP+:} false; then :
6355 $as_echo_n "(cached) " >&6
6356 else
6357 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6358 then ac_cv_path_EGREP="$GREP -E"
6359 else
6360 if test -z "$EGREP"; then
6361 ac_path_EGREP_found=false
6362 # Loop through the user's path and test for each of PROGNAME-LIST
6363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6364 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6366 IFS=$as_save_IFS
6367 test -z "$as_dir" && as_dir=.
6368 for ac_prog in egrep; do
6369 for ac_exec_ext in '' $ac_executable_extensions; do
6370 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6371 as_fn_executable_p "$ac_path_EGREP" || continue
6372 # Check for GNU ac_path_EGREP and select it if it is found.
6373 # Check for GNU $ac_path_EGREP
6374 case `"$ac_path_EGREP" --version 2>&1` in
6375 *GNU*)
6376 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6378 ac_count=0
6379 $as_echo_n 0123456789 >"conftest.in"
6380 while :
6382 cat "conftest.in" "conftest.in" >"conftest.tmp"
6383 mv "conftest.tmp" "conftest.in"
6384 cp "conftest.in" "conftest.nl"
6385 $as_echo 'EGREP' >> "conftest.nl"
6386 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6387 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6388 as_fn_arith $ac_count + 1 && ac_count=$as_val
6389 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6390 # Best one so far, save it but keep looking for a better one
6391 ac_cv_path_EGREP="$ac_path_EGREP"
6392 ac_path_EGREP_max=$ac_count
6394 # 10*(2^10) chars as input seems more than enough
6395 test $ac_count -gt 10 && break
6396 done
6397 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6398 esac
6400 $ac_path_EGREP_found && break 3
6401 done
6402 done
6403 done
6404 IFS=$as_save_IFS
6405 if test -z "$ac_cv_path_EGREP"; then
6406 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6408 else
6409 ac_cv_path_EGREP=$EGREP
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6415 $as_echo "$ac_cv_path_EGREP" >&6; }
6416 EGREP="$ac_cv_path_EGREP"
6419 # Extract the first word of "ldconfig", so it can be a program name with args.
6420 set dummy ldconfig; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if ${ac_cv_path_LDCONFIG+:} false; then :
6424 $as_echo_n "(cached) " >&6
6425 else
6426 case $LDCONFIG in
6427 [\\/]* | ?:[\\/]*)
6428 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 for as_dir in /sbin /usr/sbin $PATH
6434 IFS=$as_save_IFS
6435 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6438 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6440 break 2
6442 done
6443 done
6444 IFS=$as_save_IFS
6446 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6448 esac
6450 LDCONFIG=$ac_cv_path_LDCONFIG
6451 if test -n "$LDCONFIG"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6453 $as_echo "$LDCONFIG" >&6; }
6454 else
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6460 for ac_prog in msgfmt
6462 # Extract the first word of "$ac_prog", so it can be a program name with args.
6463 set dummy $ac_prog; ac_word=$2
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6465 $as_echo_n "checking for $ac_word... " >&6; }
6466 if ${ac_cv_prog_MSGFMT+:} false; then :
6467 $as_echo_n "(cached) " >&6
6468 else
6469 if test -n "$MSGFMT"; then
6470 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6471 else
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 for as_dir in $PATH
6475 IFS=$as_save_IFS
6476 test -z "$as_dir" && as_dir=.
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6479 ac_cv_prog_MSGFMT="$ac_prog"
6480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6481 break 2
6483 done
6484 done
6485 IFS=$as_save_IFS
6489 MSGFMT=$ac_cv_prog_MSGFMT
6490 if test -n "$MSGFMT"; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6492 $as_echo "$MSGFMT" >&6; }
6493 else
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6495 $as_echo "no" >&6; }
6499 test -n "$MSGFMT" && break
6500 done
6501 test -n "$MSGFMT" || MSGFMT="false"
6503 if ${ac_tool_prefix+:} false; then :
6504 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6505 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6507 $as_echo_n "checking for $ac_word... " >&6; }
6508 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 if test -n "$PKG_CONFIG"; then
6512 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6513 else
6514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6515 for as_dir in $PATH
6517 IFS=$as_save_IFS
6518 test -z "$as_dir" && as_dir=.
6519 for ac_exec_ext in '' $ac_executable_extensions; do
6520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6521 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6523 break 2
6525 done
6526 done
6527 IFS=$as_save_IFS
6531 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6532 if test -n "$PKG_CONFIG"; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6534 $as_echo "$PKG_CONFIG" >&6; }
6535 else
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 $as_echo "no" >&6; }
6542 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6543 if test "x$cross_compiling" = xyes; then :
6545 else
6546 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6547 # Extract the first word of "pkg-config", so it can be a program name with args.
6548 set dummy pkg-config; ac_word=$2
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550 $as_echo_n "checking for $ac_word... " >&6; }
6551 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6552 $as_echo_n "(cached) " >&6
6553 else
6554 if test -n "$PKG_CONFIG"; then
6555 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6556 else
6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 for as_dir in $PATH
6560 IFS=$as_save_IFS
6561 test -z "$as_dir" && as_dir=.
6562 for ac_exec_ext in '' $ac_executable_extensions; do
6563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6564 ac_cv_prog_PKG_CONFIG="pkg-config"
6565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 break 2
6568 done
6569 done
6570 IFS=$as_save_IFS
6574 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6575 if test -n "$PKG_CONFIG"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6577 $as_echo "$PKG_CONFIG" >&6; }
6578 else
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6585 else
6586 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6589 if test "x$enable_maintainer_mode" != "xyes"
6590 then
6591 FONTFORGE=""
6592 RSVG=""
6593 CONVERT=""
6594 ICOTOOL=""
6595 else
6596 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6597 for ac_prog in fontforge
6599 # Extract the first word of "$ac_prog", so it can be a program name with args.
6600 set dummy $ac_prog; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 $as_echo_n "checking for $ac_word... " >&6; }
6603 if ${ac_cv_prog_FONTFORGE+:} false; then :
6604 $as_echo_n "(cached) " >&6
6605 else
6606 if test -n "$FONTFORGE"; then
6607 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6608 else
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610 for as_dir in $PATH
6612 IFS=$as_save_IFS
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6616 ac_cv_prog_FONTFORGE="$ac_prog"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 break 2
6620 done
6621 done
6622 IFS=$as_save_IFS
6626 FONTFORGE=$ac_cv_prog_FONTFORGE
6627 if test -n "$FONTFORGE"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6629 $as_echo "$FONTFORGE" >&6; }
6630 else
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6636 test -n "$FONTFORGE" && break
6637 done
6638 test -n "$FONTFORGE" || FONTFORGE="false"
6640 for ac_prog in rsvg-convert rsvg
6642 # Extract the first word of "$ac_prog", so it can be a program name with args.
6643 set dummy $ac_prog; ac_word=$2
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645 $as_echo_n "checking for $ac_word... " >&6; }
6646 if ${ac_cv_prog_RSVG+:} false; then :
6647 $as_echo_n "(cached) " >&6
6648 else
6649 if test -n "$RSVG"; then
6650 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6651 else
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 for as_dir in $PATH
6655 IFS=$as_save_IFS
6656 test -z "$as_dir" && as_dir=.
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6659 ac_cv_prog_RSVG="$ac_prog"
6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6661 break 2
6663 done
6664 done
6665 IFS=$as_save_IFS
6669 RSVG=$ac_cv_prog_RSVG
6670 if test -n "$RSVG"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6672 $as_echo "$RSVG" >&6; }
6673 else
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 $as_echo "no" >&6; }
6679 test -n "$RSVG" && break
6680 done
6681 test -n "$RSVG" || RSVG="false"
6683 for ac_prog in convert
6685 # Extract the first word of "$ac_prog", so it can be a program name with args.
6686 set dummy $ac_prog; ac_word=$2
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 $as_echo_n "checking for $ac_word... " >&6; }
6689 if ${ac_cv_prog_CONVERT+:} false; then :
6690 $as_echo_n "(cached) " >&6
6691 else
6692 if test -n "$CONVERT"; then
6693 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6694 else
6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 for as_dir in $PATH
6698 IFS=$as_save_IFS
6699 test -z "$as_dir" && as_dir=.
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_CONVERT="$ac_prog"
6703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 break 2
6706 done
6707 done
6708 IFS=$as_save_IFS
6712 CONVERT=$ac_cv_prog_CONVERT
6713 if test -n "$CONVERT"; then
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6715 $as_echo "$CONVERT" >&6; }
6716 else
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 $as_echo "no" >&6; }
6722 test -n "$CONVERT" && break
6723 done
6724 test -n "$CONVERT" || CONVERT="false"
6726 for ac_prog in icotool
6728 # Extract the first word of "$ac_prog", so it can be a program name with args.
6729 set dummy $ac_prog; ac_word=$2
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6731 $as_echo_n "checking for $ac_word... " >&6; }
6732 if ${ac_cv_prog_ICOTOOL+:} false; then :
6733 $as_echo_n "(cached) " >&6
6734 else
6735 if test -n "$ICOTOOL"; then
6736 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6737 else
6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739 for as_dir in $PATH
6741 IFS=$as_save_IFS
6742 test -z "$as_dir" && as_dir=.
6743 for ac_exec_ext in '' $ac_executable_extensions; do
6744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6745 ac_cv_prog_ICOTOOL="$ac_prog"
6746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6747 break 2
6749 done
6750 done
6751 IFS=$as_save_IFS
6755 ICOTOOL=$ac_cv_prog_ICOTOOL
6756 if test -n "$ICOTOOL"; then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6758 $as_echo "$ICOTOOL" >&6; }
6759 else
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761 $as_echo "no" >&6; }
6765 test -n "$ICOTOOL" && break
6766 done
6767 test -n "$ICOTOOL" || ICOTOOL="false"
6769 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6770 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6772 if test "$CONVERT" = false
6773 then
6774 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6775 else
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6777 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6778 convert_version=`convert --version | head -n1`
6779 if test "x$convert_version" != "x"
6780 then
6781 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6782 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6783 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6784 then
6785 CONVERT=false
6788 if test "$CONVERT" = false
6789 then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6791 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6792 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6793 else
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6795 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6799 if test "$ICOTOOL" = false
6800 then
6801 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6802 else
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6804 $as_echo_n "checking for recent enough icotool... " >&6; }
6805 icotool_version=`icotool --version | head -n1`
6806 if test "x$icotool_version" != "x"
6807 then
6808 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6809 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6810 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6811 then
6812 ICOTOOL=false
6813 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6816 if test "$ICOTOOL" = false
6817 then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6819 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6820 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6821 else
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6823 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6827 with_gettext=yes
6828 with_gettextpo=yes
6830 enable_werror=yes
6833 test "x$with_gettext" != xno || MSGFMT=false
6834 if test "$MSGFMT" != "false"
6835 then
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6837 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6838 if ${wine_cv_msgfmt_contexts+:} false; then :
6839 $as_echo_n "(cached) " >&6
6840 else
6841 cat >conftest.po <<EOF
6842 # comment
6843 msgctxt "ctxt"
6844 msgid "id"
6845 msgstr "str"
6847 if $MSGFMT -o /dev/null conftest.po 2>&5
6848 then
6849 wine_cv_msgfmt_contexts=yes
6850 else
6851 wine_cv_msgfmt_contexts=no
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6855 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6856 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6858 if test "$MSGFMT" = false; then :
6859 case "x$with_gettext" in
6860 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6861 xno) ;;
6862 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6863 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6864 esac
6865 enable_po=${enable_po:-no}
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6870 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6871 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6872 $as_echo_n "(cached) " >&6
6873 else
6874 ac_check_lib_save_LIBS=$LIBS
6875 LIBS="-li386 $LIBS"
6876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6877 /* end confdefs.h. */
6879 /* Override any GCC internal prototype to avoid an error.
6880 Use char because int might match the return type of a GCC
6881 builtin and then its argument prototype would still apply. */
6882 #ifdef __cplusplus
6883 extern "C"
6884 #endif
6885 char i386_set_ldt ();
6887 main ()
6889 return i386_set_ldt ();
6891 return 0;
6893 _ACEOF
6894 if ac_fn_c_try_link "$LINENO"; then :
6895 ac_cv_lib_i386_i386_set_ldt=yes
6896 else
6897 ac_cv_lib_i386_i386_set_ldt=no
6899 rm -f core conftest.err conftest.$ac_objext \
6900 conftest$ac_exeext conftest.$ac_ext
6901 LIBS=$ac_check_lib_save_LIBS
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6904 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6905 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6906 I386_LIBS="-li386"
6911 OPENGL_LIBS=""
6915 # Check whether --enable-largefile was given.
6916 if test "${enable_largefile+set}" = set; then :
6917 enableval=$enable_largefile;
6920 if test "$enable_largefile" != no; then
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6923 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6924 if ${ac_cv_sys_largefile_CC+:} false; then :
6925 $as_echo_n "(cached) " >&6
6926 else
6927 ac_cv_sys_largefile_CC=no
6928 if test "$GCC" != yes; then
6929 ac_save_CC=$CC
6930 while :; do
6931 # IRIX 6.2 and later do not support large files by default,
6932 # so use the C compiler's -n32 option if that helps.
6933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6934 /* end confdefs.h. */
6935 #include <sys/types.h>
6936 /* Check that off_t can represent 2**63 - 1 correctly.
6937 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6938 since some C++ compilers masquerading as C compilers
6939 incorrectly reject 9223372036854775807. */
6940 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6941 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6942 && LARGE_OFF_T % 2147483647 == 1)
6943 ? 1 : -1];
6945 main ()
6949 return 0;
6951 _ACEOF
6952 if ac_fn_c_try_compile "$LINENO"; then :
6953 break
6955 rm -f core conftest.err conftest.$ac_objext
6956 CC="$CC -n32"
6957 if ac_fn_c_try_compile "$LINENO"; then :
6958 ac_cv_sys_largefile_CC=' -n32'; break
6960 rm -f core conftest.err conftest.$ac_objext
6961 break
6962 done
6963 CC=$ac_save_CC
6964 rm -f conftest.$ac_ext
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6968 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6969 if test "$ac_cv_sys_largefile_CC" != no; then
6970 CC=$CC$ac_cv_sys_largefile_CC
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6974 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6975 if ${ac_cv_sys_file_offset_bits+:} false; then :
6976 $as_echo_n "(cached) " >&6
6977 else
6978 while :; do
6979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6980 /* end confdefs.h. */
6981 #include <sys/types.h>
6982 /* Check that off_t can represent 2**63 - 1 correctly.
6983 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6984 since some C++ compilers masquerading as C compilers
6985 incorrectly reject 9223372036854775807. */
6986 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6987 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6988 && LARGE_OFF_T % 2147483647 == 1)
6989 ? 1 : -1];
6991 main ()
6995 return 0;
6997 _ACEOF
6998 if ac_fn_c_try_compile "$LINENO"; then :
6999 ac_cv_sys_file_offset_bits=no; break
7001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7003 /* end confdefs.h. */
7004 #define _FILE_OFFSET_BITS 64
7005 #include <sys/types.h>
7006 /* Check that off_t can represent 2**63 - 1 correctly.
7007 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7008 since some C++ compilers masquerading as C compilers
7009 incorrectly reject 9223372036854775807. */
7010 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7011 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7012 && LARGE_OFF_T % 2147483647 == 1)
7013 ? 1 : -1];
7015 main ()
7019 return 0;
7021 _ACEOF
7022 if ac_fn_c_try_compile "$LINENO"; then :
7023 ac_cv_sys_file_offset_bits=64; break
7025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7026 ac_cv_sys_file_offset_bits=unknown
7027 break
7028 done
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7031 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7032 case $ac_cv_sys_file_offset_bits in #(
7033 no | unknown) ;;
7035 cat >>confdefs.h <<_ACEOF
7036 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7037 _ACEOF
7039 esac
7040 rm -rf conftest*
7041 if test $ac_cv_sys_file_offset_bits = unknown; then
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7043 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7044 if ${ac_cv_sys_large_files+:} false; then :
7045 $as_echo_n "(cached) " >&6
7046 else
7047 while :; do
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7050 #include <sys/types.h>
7051 /* Check that off_t can represent 2**63 - 1 correctly.
7052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7053 since some C++ compilers masquerading as C compilers
7054 incorrectly reject 9223372036854775807. */
7055 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7057 && LARGE_OFF_T % 2147483647 == 1)
7058 ? 1 : -1];
7060 main ()
7064 return 0;
7066 _ACEOF
7067 if ac_fn_c_try_compile "$LINENO"; then :
7068 ac_cv_sys_large_files=no; break
7070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7072 /* end confdefs.h. */
7073 #define _LARGE_FILES 1
7074 #include <sys/types.h>
7075 /* Check that off_t can represent 2**63 - 1 correctly.
7076 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7077 since some C++ compilers masquerading as C compilers
7078 incorrectly reject 9223372036854775807. */
7079 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7080 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7081 && LARGE_OFF_T % 2147483647 == 1)
7082 ? 1 : -1];
7084 main ()
7088 return 0;
7090 _ACEOF
7091 if ac_fn_c_try_compile "$LINENO"; then :
7092 ac_cv_sys_large_files=1; break
7094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7095 ac_cv_sys_large_files=unknown
7096 break
7097 done
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7100 $as_echo "$ac_cv_sys_large_files" >&6; }
7101 case $ac_cv_sys_large_files in #(
7102 no | unknown) ;;
7104 cat >>confdefs.h <<_ACEOF
7105 #define _LARGE_FILES $ac_cv_sys_large_files
7106 _ACEOF
7108 esac
7109 rm -rf conftest*
7116 ac_ext=c
7117 ac_cpp='$CPP $CPPFLAGS'
7118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7122 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7123 # On Suns, sometimes $CPP names a directory.
7124 if test -n "$CPP" && test -d "$CPP"; then
7125 CPP=
7127 if test -z "$CPP"; then
7128 if ${ac_cv_prog_CPP+:} false; then :
7129 $as_echo_n "(cached) " >&6
7130 else
7131 # Double quotes because CPP needs to be expanded
7132 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7134 ac_preproc_ok=false
7135 for ac_c_preproc_warn_flag in '' yes
7137 # Use a header file that comes with gcc, so configuring glibc
7138 # with a fresh cross-compiler works.
7139 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7140 # <limits.h> exists even on freestanding compilers.
7141 # On the NeXT, cc -E runs the code through the compiler's parser,
7142 # not just through cpp. "Syntax error" is here to catch this case.
7143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7144 /* end confdefs.h. */
7145 #ifdef __STDC__
7146 # include <limits.h>
7147 #else
7148 # include <assert.h>
7149 #endif
7150 Syntax error
7151 _ACEOF
7152 if ac_fn_c_try_cpp "$LINENO"; then :
7154 else
7155 # Broken: fails on valid input.
7156 continue
7158 rm -f conftest.err conftest.i conftest.$ac_ext
7160 # OK, works on sane cases. Now check whether nonexistent headers
7161 # can be detected and how.
7162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7163 /* end confdefs.h. */
7164 #include <ac_nonexistent.h>
7165 _ACEOF
7166 if ac_fn_c_try_cpp "$LINENO"; then :
7167 # Broken: success on invalid input.
7168 continue
7169 else
7170 # Passes both tests.
7171 ac_preproc_ok=:
7172 break
7174 rm -f conftest.err conftest.i conftest.$ac_ext
7176 done
7177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7178 rm -f conftest.i conftest.err conftest.$ac_ext
7179 if $ac_preproc_ok; then :
7180 break
7183 done
7184 ac_cv_prog_CPP=$CPP
7187 CPP=$ac_cv_prog_CPP
7188 else
7189 ac_cv_prog_CPP=$CPP
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7192 $as_echo "$CPP" >&6; }
7193 ac_preproc_ok=false
7194 for ac_c_preproc_warn_flag in '' yes
7196 # Use a header file that comes with gcc, so configuring glibc
7197 # with a fresh cross-compiler works.
7198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7199 # <limits.h> exists even on freestanding compilers.
7200 # On the NeXT, cc -E runs the code through the compiler's parser,
7201 # not just through cpp. "Syntax error" is here to catch this case.
7202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7203 /* end confdefs.h. */
7204 #ifdef __STDC__
7205 # include <limits.h>
7206 #else
7207 # include <assert.h>
7208 #endif
7209 Syntax error
7210 _ACEOF
7211 if ac_fn_c_try_cpp "$LINENO"; then :
7213 else
7214 # Broken: fails on valid input.
7215 continue
7217 rm -f conftest.err conftest.i conftest.$ac_ext
7219 # OK, works on sane cases. Now check whether nonexistent headers
7220 # can be detected and how.
7221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7222 /* end confdefs.h. */
7223 #include <ac_nonexistent.h>
7224 _ACEOF
7225 if ac_fn_c_try_cpp "$LINENO"; then :
7226 # Broken: success on invalid input.
7227 continue
7228 else
7229 # Passes both tests.
7230 ac_preproc_ok=:
7231 break
7233 rm -f conftest.err conftest.i conftest.$ac_ext
7235 done
7236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7237 rm -f conftest.i conftest.err conftest.$ac_ext
7238 if $ac_preproc_ok; then :
7240 else
7241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7243 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7244 See \`config.log' for more details" "$LINENO" 5; }
7247 ac_ext=c
7248 ac_cpp='$CPP $CPPFLAGS'
7249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7255 $as_echo_n "checking for ANSI C header files... " >&6; }
7256 if ${ac_cv_header_stdc+:} false; then :
7257 $as_echo_n "(cached) " >&6
7258 else
7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7260 /* end confdefs.h. */
7261 #include <stdlib.h>
7262 #include <stdarg.h>
7263 #include <string.h>
7264 #include <float.h>
7267 main ()
7271 return 0;
7273 _ACEOF
7274 if ac_fn_c_try_compile "$LINENO"; then :
7275 ac_cv_header_stdc=yes
7276 else
7277 ac_cv_header_stdc=no
7279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7281 if test $ac_cv_header_stdc = yes; then
7282 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7284 /* end confdefs.h. */
7285 #include <string.h>
7287 _ACEOF
7288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7289 $EGREP "memchr" >/dev/null 2>&1; then :
7291 else
7292 ac_cv_header_stdc=no
7294 rm -f conftest*
7298 if test $ac_cv_header_stdc = yes; then
7299 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7301 /* end confdefs.h. */
7302 #include <stdlib.h>
7304 _ACEOF
7305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7306 $EGREP "free" >/dev/null 2>&1; then :
7308 else
7309 ac_cv_header_stdc=no
7311 rm -f conftest*
7315 if test $ac_cv_header_stdc = yes; then
7316 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7317 if test "$cross_compiling" = yes; then :
7319 else
7320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7321 /* end confdefs.h. */
7322 #include <ctype.h>
7323 #include <stdlib.h>
7324 #if ((' ' & 0x0FF) == 0x020)
7325 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7326 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7327 #else
7328 # define ISLOWER(c) \
7329 (('a' <= (c) && (c) <= 'i') \
7330 || ('j' <= (c) && (c) <= 'r') \
7331 || ('s' <= (c) && (c) <= 'z'))
7332 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7333 #endif
7335 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7337 main ()
7339 int i;
7340 for (i = 0; i < 256; i++)
7341 if (XOR (islower (i), ISLOWER (i))
7342 || toupper (i) != TOUPPER (i))
7343 return 2;
7344 return 0;
7346 _ACEOF
7347 if ac_fn_c_try_run "$LINENO"; then :
7349 else
7350 ac_cv_header_stdc=no
7352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7353 conftest.$ac_objext conftest.beam conftest.$ac_ext
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7359 $as_echo "$ac_cv_header_stdc" >&6; }
7360 if test $ac_cv_header_stdc = yes; then
7362 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7366 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7367 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7368 inttypes.h stdint.h unistd.h
7369 do :
7370 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7371 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7373 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7374 cat >>confdefs.h <<_ACEOF
7375 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7376 _ACEOF
7380 done
7383 for ac_header in \
7384 AL/al.h \
7385 ApplicationServices/ApplicationServices.h \
7386 AudioToolbox/AudioConverter.h \
7387 AudioUnit/AudioUnit.h \
7388 AudioUnit/AudioComponent.h \
7389 CL/cl.h \
7390 Carbon/Carbon.h \
7391 CommonCrypto/CommonCryptor.h \
7392 CoreAudio/CoreAudio.h \
7393 CoreServices/CoreServices.h \
7394 DiskArbitration/DiskArbitration.h \
7395 EGL/egl.h \
7396 IOKit/IOKitLib.h \
7397 IOKit/hid/IOHIDLib.h \
7398 OpenAL/al.h \
7399 OpenCL/opencl.h \
7400 QuickTime/ImageCompression.h \
7401 Security/Security.h \
7402 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7403 SystemConfiguration/SCNetworkConfiguration.h \
7404 alias.h \
7405 arpa/inet.h \
7406 arpa/nameser.h \
7407 asm/types.h \
7408 asm/user.h \
7409 dirent.h \
7410 dlfcn.h \
7411 elf.h \
7412 float.h \
7413 fnmatch.h \
7414 getopt.h \
7415 gettext-po.h \
7416 grp.h \
7417 gsm.h \
7418 gsm/gsm.h \
7419 ieeefp.h \
7420 inet/mib2.h \
7421 kstat.h \
7422 libproc.h \
7423 link.h \
7424 linux/cdrom.h \
7425 linux/compiler.h \
7426 linux/filter.h \
7427 linux/hdreg.h \
7428 linux/hidraw.h \
7429 linux/input.h \
7430 linux/ioctl.h \
7431 linux/joystick.h \
7432 linux/major.h \
7433 linux/param.h \
7434 linux/serial.h \
7435 linux/types.h \
7436 linux/ucdrom.h \
7437 lwp.h \
7438 mach-o/nlist.h \
7439 mach-o/loader.h \
7440 mach/mach.h \
7441 mach/machine.h \
7442 machine/cpu.h \
7443 machine/sysarch.h \
7444 mntent.h \
7445 netdb.h \
7446 netinet/in.h \
7447 netinet/in_systm.h \
7448 netinet/tcp.h \
7449 netinet/tcp_fsm.h \
7450 pcap/pcap.h \
7451 poll.h \
7452 port.h \
7453 pthread.h \
7454 pwd.h \
7455 sasl/sasl.h \
7456 sched.h \
7457 scsi/scsi.h \
7458 scsi/scsi_ioctl.h \
7459 scsi/sg.h \
7460 stdbool.h \
7461 stdint.h \
7462 stropts.h \
7463 sys/attr.h \
7464 sys/auxv.h \
7465 sys/cdio.h \
7466 sys/epoll.h \
7467 sys/event.h \
7468 sys/filio.h \
7469 sys/ioctl.h \
7470 sys/ipc.h \
7471 sys/link.h \
7472 sys/mman.h \
7473 sys/modem.h \
7474 sys/msg.h \
7475 sys/mtio.h \
7476 sys/param.h \
7477 sys/poll.h \
7478 sys/prctl.h \
7479 sys/protosw.h \
7480 sys/ptrace.h \
7481 sys/queue.h \
7482 sys/random.h \
7483 sys/resource.h \
7484 sys/scsiio.h \
7485 sys/shm.h \
7486 sys/signal.h \
7487 sys/socket.h \
7488 sys/socketvar.h \
7489 sys/sockio.h \
7490 sys/statvfs.h \
7491 sys/strtio.h \
7492 sys/syscall.h \
7493 sys/sysinfo.h \
7494 sys/tihdr.h \
7495 sys/time.h \
7496 sys/timeout.h \
7497 sys/times.h \
7498 sys/uio.h \
7499 sys/user.h \
7500 sys/utsname.h \
7501 sys/vnode.h \
7502 sys/wait.h \
7503 syscall.h \
7504 termios.h \
7505 unistd.h \
7506 utime.h \
7507 valgrind/memcheck.h \
7508 valgrind/valgrind.h
7510 do :
7511 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7512 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7513 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7514 cat >>confdefs.h <<_ACEOF
7515 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7516 _ACEOF
7520 done
7522 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7523 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7525 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7530 if test $ac_cv_header_sys_mkdev_h = no; then
7531 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7532 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7534 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7541 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7542 if ${ac_cv_header_stat_broken+:} false; then :
7543 $as_echo_n "(cached) " >&6
7544 else
7545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7546 /* end confdefs.h. */
7547 #include <sys/types.h>
7548 #include <sys/stat.h>
7550 #if defined S_ISBLK && defined S_IFDIR
7551 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7552 #endif
7554 #if defined S_ISBLK && defined S_IFCHR
7555 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7556 #endif
7558 #if defined S_ISLNK && defined S_IFREG
7559 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7560 #endif
7562 #if defined S_ISSOCK && defined S_IFREG
7563 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7564 #endif
7566 _ACEOF
7567 if ac_fn_c_try_compile "$LINENO"; then :
7568 ac_cv_header_stat_broken=no
7569 else
7570 ac_cv_header_stat_broken=yes
7572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7575 $as_echo "$ac_cv_header_stat_broken" >&6; }
7576 if test $ac_cv_header_stat_broken = yes; then
7578 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7584 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7585 do :
7586 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7587 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7588 #ifdef HAVE_SYS_PARAM_H
7589 # include <sys/param.h>
7590 #endif
7592 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7593 cat >>confdefs.h <<_ACEOF
7594 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7595 _ACEOF
7599 done
7602 saved_sysctl_h_CFLAGS=$CFLAGS
7603 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7604 for ac_header in sys/sysctl.h
7605 do :
7606 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7607 #ifdef HAVE_SYS_PARAM_H
7608 # include <sys/param.h>
7609 #endif
7611 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7612 cat >>confdefs.h <<_ACEOF
7613 #define HAVE_SYS_SYSCTL_H 1
7614 _ACEOF
7618 done
7620 CFLAGS=$saved_sysctl_h_CFLAGS
7622 for ac_header in \
7623 netinet/ip.h \
7624 net/if.h \
7625 net/if_arp.h \
7626 net/if_dl.h \
7627 net/if_types.h \
7628 net/route.h \
7629 netinet/if_ether.h \
7630 netinet/if_inarp.h \
7631 netinet/in_pcb.h \
7632 netinet/ip_icmp.h \
7633 netinet/ip_var.h \
7634 netinet/udp.h \
7635 netipx/ipx.h \
7636 sys/un.h \
7638 do :
7639 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7640 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7641 #ifdef HAVE_SYS_SOCKET_H
7642 # include <sys/socket.h>
7643 #endif
7644 #ifdef HAVE_SYS_SOCKETVAR_H
7645 # include <sys/socketvar.h>
7646 #endif
7647 #ifdef HAVE_NET_ROUTE_H
7648 # include <net/route.h>
7649 #endif
7650 #ifdef HAVE_NETINET_IN_H
7651 # include <netinet/in.h>
7652 #endif
7653 #ifdef HAVE_NETINET_IN_SYSTM_H
7654 # include <netinet/in_systm.h>
7655 #endif
7656 #ifdef HAVE_NET_IF_H
7657 # include <net/if.h>
7658 #endif
7659 #ifdef HAVE_NETINET_IP_H
7660 # include <netinet/ip.h>
7661 #endif
7663 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7664 cat >>confdefs.h <<_ACEOF
7665 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7666 _ACEOF
7670 done
7673 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7674 do :
7675 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7676 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7677 #ifdef HAVE_ALIAS_H
7678 # include <alias.h>
7679 #endif
7680 #ifdef HAVE_SYS_SOCKET_H
7681 # include <sys/socket.h>
7682 #endif
7683 #ifdef HAVE_SYS_SOCKETVAR_H
7684 # include <sys/socketvar.h>
7685 #endif
7686 #ifdef HAVE_SYS_TIMEOUT_H
7687 # include <sys/timeout.h>
7688 #endif
7689 #ifdef HAVE_NETINET_IN_H
7690 # include <netinet/in.h>
7691 #endif
7692 #ifdef HAVE_NETINET_IN_SYSTM_H
7693 # include <netinet/in_systm.h>
7694 #endif
7695 #ifdef HAVE_NETINET_IP_H
7696 # include <netinet/ip.h>
7697 #endif
7698 #ifdef HAVE_NETINET_IP_VAR_H
7699 # include <netinet/ip_var.h>
7700 #endif
7701 #ifdef HAVE_NETINET_IP_ICMP_H
7702 # include <netinet/ip_icmp.h>
7703 #endif
7704 #ifdef HAVE_NETINET_UDP_H
7705 # include <netinet/udp.h>
7706 #endif
7707 #ifdef HAVE_NETINET_TCP_H
7708 # include <netinet/tcp.h>
7709 #endif
7710 #ifdef HAVE_NETINET_TCP_TIMER_H
7711 #include <netinet/tcp_timer.h>
7712 #endif
7714 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7715 cat >>confdefs.h <<_ACEOF
7716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7717 _ACEOF
7721 done
7724 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7725 do :
7726 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7727 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7728 #ifdef HAVE_ASM_TYPES_H
7729 # include <asm/types.h>
7730 #endif
7731 #ifdef HAVE_SYS_SOCKET_H
7732 # include <sys/socket.h>
7733 #endif
7734 #ifdef HAVE_LINUX_TYPES_H
7735 # include <linux/types.h>
7736 #endif
7738 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7739 cat >>confdefs.h <<_ACEOF
7740 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7741 _ACEOF
7745 done
7748 for ac_header in resolv.h
7749 do :
7750 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7751 #ifdef HAVE_SYS_SOCKET_H
7752 # include <sys/socket.h>
7753 #endif
7754 #ifdef HAVE_NETINET_IN_H
7755 # include <netinet/in.h>
7756 #endif
7757 #ifdef HAVE_ARPA_NAMESER_H
7758 # include <arpa/nameser.h>
7759 #endif
7761 if test "x$ac_cv_header_resolv_h" = xyes; then :
7762 cat >>confdefs.h <<_ACEOF
7763 #define HAVE_RESOLV_H 1
7764 _ACEOF
7768 done
7771 for ac_header in ifaddrs.h
7772 do :
7773 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7775 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7776 cat >>confdefs.h <<_ACEOF
7777 #define HAVE_IFADDRS_H 1
7778 _ACEOF
7782 done
7785 for ac_header in sys/ucontext.h
7786 do :
7787 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7789 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7790 cat >>confdefs.h <<_ACEOF
7791 #define HAVE_SYS_UCONTEXT_H 1
7792 _ACEOF
7796 done
7799 for ac_header in sys/thr.h
7800 do :
7801 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7802 #ifdef HAVE_SYS_UCONTEXT_H
7803 #include <sys/ucontext.h>
7804 #endif
7806 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7807 cat >>confdefs.h <<_ACEOF
7808 #define HAVE_SYS_THR_H 1
7809 _ACEOF
7813 done
7816 for ac_header in pthread_np.h
7817 do :
7818 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7819 #include <pthread.h>
7820 #endif
7822 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7823 cat >>confdefs.h <<_ACEOF
7824 #define HAVE_PTHREAD_NP_H 1
7825 _ACEOF
7829 done
7832 for ac_header in linux/videodev2.h
7833 do :
7834 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7835 #include <sys/time.h>
7836 #endif
7837 #include <sys/types.h>
7838 #ifdef HAVE_ASM_TYPES_H
7839 #include <asm/types.h>
7840 #endif
7842 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7843 cat >>confdefs.h <<_ACEOF
7844 #define HAVE_LINUX_VIDEODEV2_H 1
7845 _ACEOF
7849 done
7852 for ac_header in libprocstat.h
7853 do :
7854 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7855 #include <sys/param.h>
7856 #endif
7857 #ifdef HAVE_SYS_QUEUE_H
7858 #include <sys/queue.h>
7859 #endif
7860 #ifdef HAVE_SYS_SOCKET_H
7861 #include <sys/socket.h>
7862 #endif
7864 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7865 cat >>confdefs.h <<_ACEOF
7866 #define HAVE_LIBPROCSTAT_H 1
7867 _ACEOF
7871 done
7875 DLLFLAGS="-D_REENTRANT"
7877 LDDLLFLAGS=""
7879 LDEXECFLAGS=""
7881 TOP_INSTALL_LIB=""
7883 TOP_INSTALL_DEV=""
7885 WINELOADER_LDFLAGS=""
7887 WINEPRELOADER_LDFLAGS=""
7889 LIBEXT="so"
7890 DLLEXT=".so"
7891 # Extract the first word of "ldd", so it can be a program name with args.
7892 set dummy ldd; ac_word=$2
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7894 $as_echo_n "checking for $ac_word... " >&6; }
7895 if ${ac_cv_path_LDD+:} false; then :
7896 $as_echo_n "(cached) " >&6
7897 else
7898 case $LDD in
7899 [\\/]* | ?:[\\/]*)
7900 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7904 as_dummy="/sbin:/usr/sbin:$PATH"
7905 for as_dir in $as_dummy
7907 IFS=$as_save_IFS
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7911 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 break 2
7915 done
7916 done
7917 IFS=$as_save_IFS
7919 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7921 esac
7923 LDD=$ac_cv_path_LDD
7924 if test -n "$LDD"; then
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7926 $as_echo "$LDD" >&6; }
7927 else
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7929 $as_echo "no" >&6; }
7933 if test -n "$ac_tool_prefix"; then
7934 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7935 set dummy ${ac_tool_prefix}otool; ac_word=$2
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7937 $as_echo_n "checking for $ac_word... " >&6; }
7938 if ${ac_cv_prog_OTOOL+:} false; then :
7939 $as_echo_n "(cached) " >&6
7940 else
7941 if test -n "$OTOOL"; then
7942 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7943 else
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7945 for as_dir in $PATH
7947 IFS=$as_save_IFS
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7951 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 break 2
7955 done
7956 done
7957 IFS=$as_save_IFS
7961 OTOOL=$ac_cv_prog_OTOOL
7962 if test -n "$OTOOL"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7964 $as_echo "$OTOOL" >&6; }
7965 else
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7972 if test -z "$ac_cv_prog_OTOOL"; then
7973 ac_ct_OTOOL=$OTOOL
7974 # Extract the first word of "otool", so it can be a program name with args.
7975 set dummy otool; ac_word=$2
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7977 $as_echo_n "checking for $ac_word... " >&6; }
7978 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7979 $as_echo_n "(cached) " >&6
7980 else
7981 if test -n "$ac_ct_OTOOL"; then
7982 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7983 else
7984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7985 for as_dir in $PATH
7987 IFS=$as_save_IFS
7988 test -z "$as_dir" && as_dir=.
7989 for ac_exec_ext in '' $ac_executable_extensions; do
7990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7991 ac_cv_prog_ac_ct_OTOOL="otool"
7992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7993 break 2
7995 done
7996 done
7997 IFS=$as_save_IFS
8001 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8002 if test -n "$ac_ct_OTOOL"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8004 $as_echo "$ac_ct_OTOOL" >&6; }
8005 else
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8010 if test "x$ac_ct_OTOOL" = x; then
8011 OTOOL="otool"
8012 else
8013 case $cross_compiling:$ac_tool_warned in
8014 yes:)
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8017 ac_tool_warned=yes ;;
8018 esac
8019 OTOOL=$ac_ct_OTOOL
8021 else
8022 OTOOL="$ac_cv_prog_OTOOL"
8025 if test -n "$ac_tool_prefix"; then
8026 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8027 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 $as_echo_n "checking for $ac_word... " >&6; }
8030 if ${ac_cv_prog_READELF+:} false; then :
8031 $as_echo_n "(cached) " >&6
8032 else
8033 if test -n "$READELF"; then
8034 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8035 else
8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 for as_dir in $PATH
8039 IFS=$as_save_IFS
8040 test -z "$as_dir" && as_dir=.
8041 for ac_exec_ext in '' $ac_executable_extensions; do
8042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8043 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8045 break 2
8047 done
8048 done
8049 IFS=$as_save_IFS
8053 READELF=$ac_cv_prog_READELF
8054 if test -n "$READELF"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8056 $as_echo "$READELF" >&6; }
8057 else
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8064 if test -z "$ac_cv_prog_READELF"; then
8065 ac_ct_READELF=$READELF
8066 # Extract the first word of "readelf", so it can be a program name with args.
8067 set dummy readelf; ac_word=$2
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8069 $as_echo_n "checking for $ac_word... " >&6; }
8070 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8071 $as_echo_n "(cached) " >&6
8072 else
8073 if test -n "$ac_ct_READELF"; then
8074 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8075 else
8076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8077 for as_dir in $PATH
8079 IFS=$as_save_IFS
8080 test -z "$as_dir" && as_dir=.
8081 for ac_exec_ext in '' $ac_executable_extensions; do
8082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8083 ac_cv_prog_ac_ct_READELF="readelf"
8084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8085 break 2
8087 done
8088 done
8089 IFS=$as_save_IFS
8093 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8094 if test -n "$ac_ct_READELF"; then
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8096 $as_echo "$ac_ct_READELF" >&6; }
8097 else
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8099 $as_echo "no" >&6; }
8102 if test "x$ac_ct_READELF" = x; then
8103 READELF="true"
8104 else
8105 case $cross_compiling:$ac_tool_warned in
8106 yes:)
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8109 ac_tool_warned=yes ;;
8110 esac
8111 READELF=$ac_ct_READELF
8113 else
8114 READELF="$ac_cv_prog_READELF"
8117 wine_rules_file=conf$$rules.make
8118 rm -f $wine_rules_file
8119 SUBDIRS=""
8121 DISABLED_SUBDIRS=""
8123 CONFIGURE_TARGETS=""
8126 wine_fn_append_file ()
8128 as_fn_append $1 " \\$as_nl $2"
8131 wine_fn_append_rule ()
8133 $as_echo "$1" >>$wine_rules_file
8136 wine_fn_config_makefile ()
8138 wine_fn_append_file SUBDIRS $1
8139 if eval test \"x\$"$2"\" = x"no"; then :
8140 wine_fn_append_file DISABLED_SUBDIRS $1
8144 wine_fn_config_symlink ()
8146 ac_links=$@
8147 wine_fn_append_rule \
8148 "$ac_links:
8149 @./config.status \$@"
8150 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8153 wine_binary="wine"
8154 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8155 WINELOADER_PROGRAMS="$wine_binary"
8157 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8159 case $host_os in
8160 cygwin*|mingw32*)
8161 if test -n "$ac_tool_prefix"; then
8162 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8163 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8165 $as_echo_n "checking for $ac_word... " >&6; }
8166 if ${ac_cv_prog_DLLTOOL+:} false; then :
8167 $as_echo_n "(cached) " >&6
8168 else
8169 if test -n "$DLLTOOL"; then
8170 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8171 else
8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8173 for as_dir in $PATH
8175 IFS=$as_save_IFS
8176 test -z "$as_dir" && as_dir=.
8177 for ac_exec_ext in '' $ac_executable_extensions; do
8178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8179 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8181 break 2
8183 done
8184 done
8185 IFS=$as_save_IFS
8189 DLLTOOL=$ac_cv_prog_DLLTOOL
8190 if test -n "$DLLTOOL"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8192 $as_echo "$DLLTOOL" >&6; }
8193 else
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8195 $as_echo "no" >&6; }
8200 if test -z "$ac_cv_prog_DLLTOOL"; then
8201 ac_ct_DLLTOOL=$DLLTOOL
8202 # Extract the first word of "dlltool", so it can be a program name with args.
8203 set dummy dlltool; ac_word=$2
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8205 $as_echo_n "checking for $ac_word... " >&6; }
8206 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8207 $as_echo_n "(cached) " >&6
8208 else
8209 if test -n "$ac_ct_DLLTOOL"; then
8210 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8211 else
8212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8213 for as_dir in $PATH
8215 IFS=$as_save_IFS
8216 test -z "$as_dir" && as_dir=.
8217 for ac_exec_ext in '' $ac_executable_extensions; do
8218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8219 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8221 break 2
8223 done
8224 done
8225 IFS=$as_save_IFS
8229 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8230 if test -n "$ac_ct_DLLTOOL"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8232 $as_echo "$ac_ct_DLLTOOL" >&6; }
8233 else
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8235 $as_echo "no" >&6; }
8238 if test "x$ac_ct_DLLTOOL" = x; then
8239 DLLTOOL="false"
8240 else
8241 case $cross_compiling:$ac_tool_warned in
8242 yes:)
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8245 ac_tool_warned=yes ;;
8246 esac
8247 DLLTOOL=$ac_ct_DLLTOOL
8249 else
8250 DLLTOOL="$ac_cv_prog_DLLTOOL"
8253 LIBEXT="dll"
8254 DLLEXT=""
8255 case $host_cpu in
8256 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8257 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8258 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8259 $as_echo_n "(cached) " >&6
8260 else
8261 ac_wine_try_cflags_saved=$CFLAGS
8262 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8264 /* end confdefs.h. */
8265 int main(int argc, char **argv) { return 0; }
8266 _ACEOF
8267 if ac_fn_c_try_link "$LINENO"; then :
8268 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8269 else
8270 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8272 rm -f core conftest.err conftest.$ac_objext \
8273 conftest$ac_exeext conftest.$ac_ext
8274 CFLAGS=$ac_wine_try_cflags_saved
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8277 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8278 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8279 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8280 fi ;;
8281 esac
8282 enable_iphlpapi=${enable_iphlpapi:-no}
8283 enable_ws2_32=${enable_ws2_32:-no}
8284 enable_loader=${enable_loader:-no}
8285 enable_server=${enable_server:-no}
8286 with_x=${with_x:-no}
8287 with_pthread=${with_pthread:-no}
8290 darwin*|macosx*)
8291 ac_ext=m
8292 ac_cpp='$OBJCPP $CPPFLAGS'
8293 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8294 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8295 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8297 ac_ext=m
8298 ac_cpp='$OBJCPP $CPPFLAGS'
8299 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8300 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8301 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8302 if test -n "$ac_tool_prefix"; then
8303 for ac_prog in gcc objcc objc cc CC
8305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8306 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if ${ac_cv_prog_OBJC+:} false; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 if test -n "$OBJC"; then
8313 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8314 else
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8316 for as_dir in $PATH
8318 IFS=$as_save_IFS
8319 test -z "$as_dir" && as_dir=.
8320 for ac_exec_ext in '' $ac_executable_extensions; do
8321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8322 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8324 break 2
8326 done
8327 done
8328 IFS=$as_save_IFS
8332 OBJC=$ac_cv_prog_OBJC
8333 if test -n "$OBJC"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8335 $as_echo "$OBJC" >&6; }
8336 else
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8342 test -n "$OBJC" && break
8343 done
8345 if test -z "$OBJC"; then
8346 ac_ct_OBJC=$OBJC
8347 for ac_prog in gcc objcc objc cc CC
8349 # Extract the first word of "$ac_prog", so it can be a program name with args.
8350 set dummy $ac_prog; ac_word=$2
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8352 $as_echo_n "checking for $ac_word... " >&6; }
8353 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8354 $as_echo_n "(cached) " >&6
8355 else
8356 if test -n "$ac_ct_OBJC"; then
8357 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8358 else
8359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8360 for as_dir in $PATH
8362 IFS=$as_save_IFS
8363 test -z "$as_dir" && as_dir=.
8364 for ac_exec_ext in '' $ac_executable_extensions; do
8365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8366 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8368 break 2
8370 done
8371 done
8372 IFS=$as_save_IFS
8376 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8377 if test -n "$ac_ct_OBJC"; then
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8379 $as_echo "$ac_ct_OBJC" >&6; }
8380 else
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8382 $as_echo "no" >&6; }
8386 test -n "$ac_ct_OBJC" && break
8387 done
8389 if test "x$ac_ct_OBJC" = x; then
8390 OBJC="gcc"
8391 else
8392 case $cross_compiling:$ac_tool_warned in
8393 yes:)
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8396 ac_tool_warned=yes ;;
8397 esac
8398 OBJC=$ac_ct_OBJC
8402 # Provide some information about the compiler.
8403 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8404 set X $ac_compile
8405 ac_compiler=$2
8406 for ac_option in --version -v -V -qversion; do
8407 { { ac_try="$ac_compiler $ac_option >&5"
8408 case "(($ac_try" in
8409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8410 *) ac_try_echo=$ac_try;;
8411 esac
8412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8413 $as_echo "$ac_try_echo"; } >&5
8414 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8415 ac_status=$?
8416 if test -s conftest.err; then
8417 sed '10a\
8418 ... rest of stderr output deleted ...
8419 10q' conftest.err >conftest.er1
8420 cat conftest.er1 >&5
8422 rm -f conftest.er1 conftest.err
8423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8424 test $ac_status = 0; }
8425 done
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8428 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8429 if ${ac_cv_objc_compiler_gnu+:} false; then :
8430 $as_echo_n "(cached) " >&6
8431 else
8432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8436 main ()
8438 #ifndef __GNUC__
8439 choke me
8440 #endif
8443 return 0;
8445 _ACEOF
8446 if ac_fn_objc_try_compile "$LINENO"; then :
8447 ac_compiler_gnu=yes
8448 else
8449 ac_compiler_gnu=no
8451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8452 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8456 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8457 if test $ac_compiler_gnu = yes; then
8458 GOBJC=yes
8459 else
8460 GOBJC=
8462 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8463 ac_save_OBJCFLAGS=$OBJCFLAGS
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8465 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8466 if ${ac_cv_prog_objc_g+:} false; then :
8467 $as_echo_n "(cached) " >&6
8468 else
8469 ac_save_objc_werror_flag=$ac_objc_werror_flag
8470 ac_objc_werror_flag=yes
8471 ac_cv_prog_objc_g=no
8472 OBJCFLAGS="-g"
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8477 main ()
8481 return 0;
8483 _ACEOF
8484 if ac_fn_objc_try_compile "$LINENO"; then :
8485 ac_cv_prog_objc_g=yes
8486 else
8487 OBJCFLAGS=""
8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8492 main ()
8496 return 0;
8498 _ACEOF
8499 if ac_fn_objc_try_compile "$LINENO"; then :
8501 else
8502 ac_objc_werror_flag=$ac_save_objc_werror_flag
8503 OBJCFLAGS="-g"
8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8508 main ()
8512 return 0;
8514 _ACEOF
8515 if ac_fn_objc_try_compile "$LINENO"; then :
8516 ac_cv_prog_objc_g=yes
8518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8523 ac_objc_werror_flag=$ac_save_objc_werror_flag
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8526 $as_echo "$ac_cv_prog_objc_g" >&6; }
8527 if test "$ac_test_OBJCFLAGS" = set; then
8528 OBJCFLAGS=$ac_save_OBJCFLAGS
8529 elif test $ac_cv_prog_objc_g = yes; then
8530 if test "$GOBJC" = yes; then
8531 OBJCFLAGS="-g -O2"
8532 else
8533 OBJCFLAGS="-g"
8535 else
8536 if test "$GOBJC" = yes; then
8537 OBJCFLAGS="-O2"
8538 else
8539 OBJCFLAGS=
8542 ac_ext=m
8543 ac_cpp='$OBJCPP $CPPFLAGS'
8544 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8545 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8546 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8549 ac_ext=m
8550 ac_cpp='$OBJCPP $CPPFLAGS'
8551 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8552 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8553 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8555 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8556 if test -z "$OBJCPP"; then
8557 if ${ac_cv_prog_OBJCPP+:} false; then :
8558 $as_echo_n "(cached) " >&6
8559 else
8560 # Double quotes because OBJCPP needs to be expanded
8561 for OBJCPP in "$OBJC -E" "/lib/cpp"
8563 ac_preproc_ok=false
8564 for ac_objc_preproc_warn_flag in '' yes
8566 # Use a header file that comes with gcc, so configuring glibc
8567 # with a fresh cross-compiler works.
8568 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8569 # <limits.h> exists even on freestanding compilers.
8570 # On the NeXT, cc -E runs the code through the compiler's parser,
8571 # not just through cpp. "Syntax error" is here to catch this case.
8572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8574 #ifdef __STDC__
8575 # include <limits.h>
8576 #else
8577 # include <assert.h>
8578 #endif
8579 Syntax error
8580 _ACEOF
8581 if ac_fn_objc_try_cpp "$LINENO"; then :
8583 else
8584 # Broken: fails on valid input.
8585 continue
8587 rm -f conftest.err conftest.i conftest.$ac_ext
8589 # OK, works on sane cases. Now check whether nonexistent headers
8590 # can be detected and how.
8591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8593 #include <ac_nonexistent.h>
8594 _ACEOF
8595 if ac_fn_objc_try_cpp "$LINENO"; then :
8596 # Broken: success on invalid input.
8597 continue
8598 else
8599 # Passes both tests.
8600 ac_preproc_ok=:
8601 break
8603 rm -f conftest.err conftest.i conftest.$ac_ext
8605 done
8606 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8607 rm -f conftest.i conftest.err conftest.$ac_ext
8608 if $ac_preproc_ok; then :
8609 break
8612 done
8613 ac_cv_prog_OBJCPP=$OBJCPP
8616 OBJCPP=$ac_cv_prog_OBJCPP
8617 else
8618 ac_cv_prog_OBJCPP=$OBJCPP
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8621 $as_echo "$OBJCPP" >&6; }
8622 ac_preproc_ok=false
8623 for ac_objc_preproc_warn_flag in '' yes
8625 # Use a header file that comes with gcc, so configuring glibc
8626 # with a fresh cross-compiler works.
8627 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8628 # <limits.h> exists even on freestanding compilers.
8629 # On the NeXT, cc -E runs the code through the compiler's parser,
8630 # not just through cpp. "Syntax error" is here to catch this case.
8631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8632 /* end confdefs.h. */
8633 #ifdef __STDC__
8634 # include <limits.h>
8635 #else
8636 # include <assert.h>
8637 #endif
8638 Syntax error
8639 _ACEOF
8640 if ac_fn_objc_try_cpp "$LINENO"; then :
8642 else
8643 # Broken: fails on valid input.
8644 continue
8646 rm -f conftest.err conftest.i conftest.$ac_ext
8648 # OK, works on sane cases. Now check whether nonexistent headers
8649 # can be detected and how.
8650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8651 /* end confdefs.h. */
8652 #include <ac_nonexistent.h>
8653 _ACEOF
8654 if ac_fn_objc_try_cpp "$LINENO"; then :
8655 # Broken: success on invalid input.
8656 continue
8657 else
8658 # Passes both tests.
8659 ac_preproc_ok=:
8660 break
8662 rm -f conftest.err conftest.i conftest.$ac_ext
8664 done
8665 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8666 rm -f conftest.i conftest.err conftest.$ac_ext
8667 if $ac_preproc_ok; then :
8669 else
8670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8672 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8673 See \`config.log' for more details" "$LINENO" 5; }
8676 ac_ext=m
8677 ac_cpp='$OBJCPP $CPPFLAGS'
8678 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8679 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8680 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8683 for ac_header in Metal/Metal.h
8684 do :
8685 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8686 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8687 cat >>confdefs.h <<_ACEOF
8688 #define HAVE_METAL_METAL_H 1
8689 _ACEOF
8693 done
8695 ac_ext=c
8696 ac_cpp='$CPP $CPPFLAGS'
8697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8701 LIBEXT="dylib"
8702 DLLFLAGS="$DLLFLAGS -fPIC"
8703 LDDLLFLAGS="-fPIC"
8704 COREFOUNDATION_LIBS="-framework CoreFoundation"
8706 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8708 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8710 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8712 CORESERVICES_LIBS="-framework CoreServices"
8714 APPKIT_LIBS="-framework AppKit"
8716 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8719 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8721 wine_can_build_preloader=yes
8722 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8724 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8725 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8726 $as_echo_n "(cached) " >&6
8727 else
8728 ac_wine_try_cflags_saved=$CFLAGS
8729 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8732 int main(int argc, char **argv) { return 0; }
8733 _ACEOF
8734 if ac_fn_c_try_link "$LINENO"; then :
8735 ac_cv_cflags__Wl__no_new_main__e__main=yes
8736 else
8737 ac_cv_cflags__Wl__no_new_main__e__main=no
8739 rm -f core conftest.err conftest.$ac_objext \
8740 conftest$ac_exeext conftest.$ac_ext
8741 CFLAGS=$ac_wine_try_cflags_saved
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8744 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8745 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8746 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8748 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8749 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8750 $as_echo_n "(cached) " >&6
8751 else
8752 ac_wine_try_cflags_saved=$CFLAGS
8753 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8755 /* end confdefs.h. */
8756 int main(int argc, char **argv) { return 0; }
8757 _ACEOF
8758 if ac_fn_c_try_link "$LINENO"; then :
8759 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8760 else
8761 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8763 rm -f core conftest.err conftest.$ac_objext \
8764 conftest$ac_exeext conftest.$ac_ext
8765 CFLAGS=$ac_wine_try_cflags_saved
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8768 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8769 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8770 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8771 else
8772 { $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
8773 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8774 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8775 $as_echo_n "(cached) " >&6
8776 else
8777 ac_wine_try_cflags_saved=$CFLAGS
8778 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8781 int main(int argc, char **argv) { return 0; }
8782 _ACEOF
8783 if ac_fn_c_try_link "$LINENO"; then :
8784 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8785 else
8786 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8788 rm -f core conftest.err conftest.$ac_objext \
8789 conftest$ac_exeext conftest.$ac_ext
8790 CFLAGS=$ac_wine_try_cflags_saved
8792 { $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
8793 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8794 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8795 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8796 else
8797 wine_can_build_preloader=no
8800 else
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8802 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8803 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8804 $as_echo_n "(cached) " >&6
8805 else
8806 ac_wine_try_cflags_saved=$CFLAGS
8807 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8809 /* end confdefs.h. */
8810 int main(int argc, char **argv) { return 0; }
8811 _ACEOF
8812 if ac_fn_c_try_link "$LINENO"; then :
8813 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8814 else
8815 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8817 rm -f core conftest.err conftest.$ac_objext \
8818 conftest$ac_exeext conftest.$ac_ext
8819 CFLAGS=$ac_wine_try_cflags_saved
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8822 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8823 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8824 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8825 else
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8827 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8828 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 ac_wine_try_cflags_saved=$CFLAGS
8832 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8834 /* end confdefs.h. */
8835 int main(int argc, char **argv) { return 0; }
8836 _ACEOF
8837 if ac_fn_c_try_link "$LINENO"; then :
8838 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8839 else
8840 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8842 rm -f core conftest.err conftest.$ac_objext \
8843 conftest$ac_exeext conftest.$ac_ext
8844 CFLAGS=$ac_wine_try_cflags_saved
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8847 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8848 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8849 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8850 else
8851 wine_can_build_preloader=no
8855 if test "$wine_can_build_preloader" = "yes"
8856 then
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8858 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8859 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8860 $as_echo_n "(cached) " >&6
8861 else
8862 ac_wine_try_cflags_saved=$CFLAGS
8863 CFLAGS="$CFLAGS -Wl,-no_pie"
8864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8865 /* end confdefs.h. */
8866 int main(int argc, char **argv) { return 0; }
8867 _ACEOF
8868 if ac_fn_c_try_link "$LINENO"; then :
8869 ac_cv_cflags__Wl__no_pie=yes
8870 else
8871 ac_cv_cflags__Wl__no_pie=no
8873 rm -f core conftest.err conftest.$ac_objext \
8874 conftest$ac_exeext conftest.$ac_ext
8875 CFLAGS=$ac_wine_try_cflags_saved
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8878 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8879 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8880 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8882 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8883 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8884 else
8885 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8888 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8889 then
8890 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8893 if test "$ac_cv_header_Security_Security_h" = "yes"
8894 then
8895 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8897 ac_save_LIBS="$LIBS"
8898 LIBS="$LIBS $SECURITY_LIBS"
8899 for ac_func in SSLCopyPeerCertificates
8900 do :
8901 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8902 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8903 cat >>confdefs.h <<_ACEOF
8904 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8905 _ACEOF
8908 done
8910 LIBS="$ac_save_LIBS"
8912 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8913 then
8914 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8915 then
8916 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8918 else
8919 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8922 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8923 ac_save_LIBS="$LIBS"
8924 LIBS="$LIBS $COREAUDIO_LIBS"
8925 for ac_func in AUGraphAddNode
8926 do :
8927 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8928 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8929 cat >>confdefs.h <<_ACEOF
8930 #define HAVE_AUGRAPHADDNODE 1
8931 _ACEOF
8934 done
8936 LIBS="$ac_save_LIBS"
8938 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8939 then
8940 OPENAL_LIBS="-framework OpenAL"
8943 cat >>confdefs.h <<_ACEOF
8944 #define HAVE_OPENAL 1
8945 _ACEOF
8947 ac_cv_lib_openal=yes
8949 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8950 then
8951 OPENCL_LIBS="-framework OpenCL"
8953 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8955 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8956 then
8957 ac_save_LIBS="$LIBS"
8958 LIBS="$LIBS $IOKIT_LIBS"
8959 for ac_func in IOHIDManagerCreate
8960 do :
8961 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8962 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8963 cat >>confdefs.h <<_ACEOF
8964 #define HAVE_IOHIDMANAGERCREATE 1
8965 _ACEOF
8968 done
8970 LIBS="$ac_save_LIBS"
8973 if test "x$with_quicktime" != "xno"
8974 then
8975 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8976 then
8977 ac_save_LIBS="$LIBS"
8978 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8980 $as_echo_n "checking for the QuickTime framework... " >&6; }
8981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8982 /* end confdefs.h. */
8983 #include <QuickTime/ImageCompression.h>
8985 main ()
8987 CodecManagerVersion(NULL);
8989 return 0;
8991 _ACEOF
8992 if ac_fn_c_try_link "$LINENO"; then :
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8994 $as_echo "yes" >&6; }
8995 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8997 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8998 else
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9000 $as_echo "no" >&6; }
9001 ac_cv_header_QuickTime_ImageCompression_h=no
9003 rm -f core conftest.err conftest.$ac_objext \
9004 conftest$ac_exeext conftest.$ac_ext
9005 LIBS="$ac_save_LIBS"
9008 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9009 case "x$with_quicktime" in
9010 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9011 xno) ;;
9012 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9013 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9014 esac
9018 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9019 then
9020 CARBON_LIBS="-framework Carbon"
9023 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9024 then
9025 METAL_LIBS="-framework Metal -framework QuartzCore"
9029 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9030 then
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9032 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9033 ac_ext=m
9034 ac_cpp='$OBJCPP $CPPFLAGS'
9035 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9036 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9037 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9040 /* end confdefs.h. */
9041 #include <Metal/Metal.h>
9043 main ()
9045 id<MTLDevice> device; device.registryID;
9047 return 0;
9049 _ACEOF
9050 if ac_fn_objc_try_compile "$LINENO"; then :
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9052 $as_echo "yes" >&6; }
9054 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9056 else
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9058 $as_echo "no" >&6; }
9060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9061 ac_ext=c
9062 ac_cpp='$CPP $CPPFLAGS'
9063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9069 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9070 then
9071 ac_save_LIBS="$LIBS"
9072 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9073 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9074 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9075 enable_winemac_drv=${enable_winemac_drv:-yes}
9078 LIBS="$ac_save_LIBS"
9081 if test "x$enable_win16" = "xyes"
9082 then
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9084 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9085 if test "$cross_compiling" = yes; then :
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9087 $as_echo "cross-compiling, assuming yes" >&6; }
9088 else
9089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9090 /* end confdefs.h. */
9091 asm(".text\n"
9092 "bad:\tnop;nop\n"
9093 "good:\tnop;nop\n\t"
9094 ".globl _testfunc\n"
9095 "_testfunc:\tcallw good");
9096 extern void testfunc();
9098 main ()
9100 unsigned short *p = (unsigned short *)testfunc;
9101 return p[0] != 0xe866 || p[1] != 0xfffa
9103 return 0;
9105 _ACEOF
9106 if ac_fn_c_try_run "$LINENO"; then :
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9108 $as_echo "yes" >&6; }
9109 else
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9111 $as_echo "no" >&6; }
9112 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
9114 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9115 conftest.$ac_objext conftest.beam conftest.$ac_ext
9120 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9122 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9124 WINELOADER_DEPENDS="wine_info.plist"
9126 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9127 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9130 linux-android*)
9131 DLLFLAGS="$DLLFLAGS -fPIC"
9132 LDDLLFLAGS="-fPIC"
9133 LDEXECFLAGS="-Wl,-pie"
9134 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9136 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9137 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9138 $as_echo_n "(cached) " >&6
9139 else
9140 ac_wine_try_cflags_saved=$CFLAGS
9141 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9143 /* end confdefs.h. */
9144 int main(int argc, char **argv) { return 0; }
9145 _ACEOF
9146 if ac_fn_c_try_link "$LINENO"; then :
9147 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9148 else
9149 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9151 rm -f core conftest.err conftest.$ac_objext \
9152 conftest$ac_exeext conftest.$ac_ext
9153 CFLAGS=$ac_wine_try_cflags_saved
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9156 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9157 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9158 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9160 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9162 LIBWINE_SHAREDLIB="libwine.so"
9164 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9166 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9169 $as_echo_n "checking for -lEGL... " >&6; }
9170 if ${ac_cv_lib_soname_EGL+:} false; then :
9171 $as_echo_n "(cached) " >&6
9172 else
9173 ac_check_soname_save_LIBS=$LIBS
9174 LIBS="-lEGL $LIBS"
9175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9178 /* Override any GCC internal prototype to avoid an error.
9179 Use char because int might match the return type of a GCC
9180 builtin and then its argument prototype would still apply. */
9181 #ifdef __cplusplus
9182 extern "C"
9183 #endif
9184 char eglGetProcAddress ();
9186 main ()
9188 return eglGetProcAddress ();
9190 return 0;
9192 _ACEOF
9193 if ac_fn_c_try_link "$LINENO"; then :
9194 case "$LIBEXT" in
9195 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9196 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'` ;;
9197 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9198 if ${ac_cv_lib_soname_EGL:+false} :; then :
9199 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9200 fi ;;
9201 esac
9202 else
9203 ac_cv_lib_soname_EGL=
9205 rm -f core conftest.err conftest.$ac_objext \
9206 conftest$ac_exeext conftest.$ac_ext
9207 LIBS=$ac_check_soname_save_LIBS
9209 if ${ac_cv_lib_soname_EGL:+false} :; then :
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9211 $as_echo "not found" >&6; }
9213 else
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9215 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9217 cat >>confdefs.h <<_ACEOF
9218 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9219 _ACEOF
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9224 $as_echo_n "checking for -lGLESv2... " >&6; }
9225 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9226 $as_echo_n "(cached) " >&6
9227 else
9228 ac_check_soname_save_LIBS=$LIBS
9229 LIBS="-lGLESv2 $LIBS"
9230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9231 /* end confdefs.h. */
9233 /* Override any GCC internal prototype to avoid an error.
9234 Use char because int might match the return type of a GCC
9235 builtin and then its argument prototype would still apply. */
9236 #ifdef __cplusplus
9237 extern "C"
9238 #endif
9239 char glFlush ();
9241 main ()
9243 return glFlush ();
9245 return 0;
9247 _ACEOF
9248 if ac_fn_c_try_link "$LINENO"; then :
9249 case "$LIBEXT" in
9250 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9251 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'` ;;
9252 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9253 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9254 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9255 fi ;;
9256 esac
9257 else
9258 ac_cv_lib_soname_GLESv2=
9260 rm -f core conftest.err conftest.$ac_objext \
9261 conftest$ac_exeext conftest.$ac_ext
9262 LIBS=$ac_check_soname_save_LIBS
9264 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9266 $as_echo "not found" >&6; }
9268 else
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9270 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9272 cat >>confdefs.h <<_ACEOF
9273 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9274 _ACEOF
9279 if test "x$exec_prefix" = xNONE
9280 then
9281 case $host_cpu in
9282 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9283 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9284 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9285 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9286 esac
9291 case $host_cpu in
9292 *i[3456789]86*)
9293 DLLFLAGS="$DLLFLAGS -fno-PIC"
9294 LDDLLFLAGS="-fno-PIC" ;;
9296 DLLFLAGS="$DLLFLAGS -fPIC"
9297 LDDLLFLAGS="-fPIC" ;;
9298 esac
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9300 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9301 if ${ac_cv_c_dll_gnuelf+:} false; then :
9302 $as_echo_n "(cached) " >&6
9303 else
9304 ac_wine_try_cflags_saved=$CFLAGS
9305 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9307 /* end confdefs.h. */
9308 void myfunc() {}
9309 _ACEOF
9310 if ac_fn_c_try_link "$LINENO"; then :
9311 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9312 else
9313 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9315 rm -f core conftest.err conftest.$ac_objext \
9316 conftest$ac_exeext conftest.$ac_ext
9317 CFLAGS=$ac_wine_try_cflags_saved
9318 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9319 ac_cv_c_dll_gnuelf="yes"
9320 else
9321 ac_cv_c_dll_gnuelf="no"
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9325 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9326 if test "$ac_cv_c_dll_gnuelf" = "yes"
9327 then
9328 LIBWINE_LDFLAGS="-shared"
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9330 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9331 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9332 $as_echo_n "(cached) " >&6
9333 else
9334 ac_wine_try_cflags_saved=$CFLAGS
9335 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9337 /* end confdefs.h. */
9338 int main(int argc, char **argv) { return 0; }
9339 _ACEOF
9340 if ac_fn_c_try_link "$LINENO"; then :
9341 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9342 else
9343 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9345 rm -f core conftest.err conftest.$ac_objext \
9346 conftest$ac_exeext conftest.$ac_ext
9347 CFLAGS=$ac_wine_try_cflags_saved
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9350 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9351 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9352 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9353 else
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9355 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9356 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9357 $as_echo_n "(cached) " >&6
9358 else
9359 ac_wine_try_cflags_saved=$CFLAGS
9360 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9362 /* end confdefs.h. */
9363 int main(int argc, char **argv) { return 0; }
9364 _ACEOF
9365 if ac_fn_c_try_link "$LINENO"; then :
9366 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9367 else
9368 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9370 rm -f core conftest.err conftest.$ac_objext \
9371 conftest$ac_exeext conftest.$ac_ext
9372 CFLAGS=$ac_wine_try_cflags_saved
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9375 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9376 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9377 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9381 echo '{ global: *; };' >conftest.map
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9383 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9384 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9385 $as_echo_n "(cached) " >&6
9386 else
9387 ac_wine_try_cflags_saved=$CFLAGS
9388 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9390 /* end confdefs.h. */
9391 int main(int argc, char **argv) { return 0; }
9392 _ACEOF
9393 if ac_fn_c_try_link "$LINENO"; then :
9394 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9395 else
9396 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9398 rm -f core conftest.err conftest.$ac_objext \
9399 conftest$ac_exeext conftest.$ac_ext
9400 CFLAGS=$ac_wine_try_cflags_saved
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9403 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9404 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9405 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9407 rm -f conftest.map
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9410 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9411 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9412 $as_echo_n "(cached) " >&6
9413 else
9414 ac_wine_try_cflags_saved=$CFLAGS
9415 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9417 /* end confdefs.h. */
9418 int main(int argc, char **argv) { return 0; }
9419 _ACEOF
9420 if ac_fn_c_try_link "$LINENO"; then :
9421 ac_cv_cflags__Wl___export_dynamic=yes
9422 else
9423 ac_cv_cflags__Wl___export_dynamic=no
9425 rm -f core conftest.err conftest.$ac_objext \
9426 conftest$ac_exeext conftest.$ac_ext
9427 CFLAGS=$ac_wine_try_cflags_saved
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9430 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9431 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9432 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9434 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9436 case $host_cpu in
9437 *i[3456789]86* | x86_64 | *aarch64*)
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9439 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9440 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9441 $as_echo_n "(cached) " >&6
9442 else
9443 ac_wine_try_cflags_saved=$CFLAGS
9444 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9446 /* end confdefs.h. */
9447 int main(int argc, char **argv) { return 0; }
9448 _ACEOF
9449 if ac_fn_c_try_link "$LINENO"; then :
9450 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9451 else
9452 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9454 rm -f core conftest.err conftest.$ac_objext \
9455 conftest$ac_exeext conftest.$ac_ext
9456 CFLAGS=$ac_wine_try_cflags_saved
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9459 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9460 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9461 case $host_os in
9462 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9463 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9464 esac
9465 else
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9467 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9468 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9469 $as_echo_n "(cached) " >&6
9470 else
9471 ac_wine_try_cflags_saved=$CFLAGS
9472 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9474 /* end confdefs.h. */
9475 int main(int argc, char **argv) { return 0; }
9476 _ACEOF
9477 if ac_fn_c_try_link "$LINENO"; then :
9478 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9479 else
9480 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9482 rm -f core conftest.err conftest.$ac_objext \
9483 conftest$ac_exeext conftest.$ac_ext
9484 CFLAGS=$ac_wine_try_cflags_saved
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9487 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9488 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9489 case $host_os in
9490 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9491 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9492 esac
9494 # Extract the first word of "prelink", so it can be a program name with args.
9495 set dummy prelink; ac_word=$2
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9497 $as_echo_n "checking for $ac_word... " >&6; }
9498 if ${ac_cv_path_PRELINK+:} false; then :
9499 $as_echo_n "(cached) " >&6
9500 else
9501 case $PRELINK in
9502 [\\/]* | ?:[\\/]*)
9503 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9507 for as_dir in /sbin /usr/sbin $PATH
9509 IFS=$as_save_IFS
9510 test -z "$as_dir" && as_dir=.
9511 for ac_exec_ext in '' $ac_executable_extensions; do
9512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9513 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9515 break 2
9517 done
9518 done
9519 IFS=$as_save_IFS
9521 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9523 esac
9525 PRELINK=$ac_cv_path_PRELINK
9526 if test -n "$PRELINK"; then
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9528 $as_echo "$PRELINK" >&6; }
9529 else
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9531 $as_echo "no" >&6; }
9535 if test "x$PRELINK" = xfalse
9536 then
9537 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9541 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9542 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9543 $as_echo_n "(cached) " >&6
9544 else
9545 ac_wine_try_cflags_saved=$CFLAGS
9546 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9549 int main(int argc, char **argv) { return 0; }
9550 _ACEOF
9551 if ac_fn_c_try_link "$LINENO"; then :
9552 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9553 else
9554 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9556 rm -f core conftest.err conftest.$ac_objext \
9557 conftest$ac_exeext conftest.$ac_ext
9558 CFLAGS=$ac_wine_try_cflags_saved
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9561 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9562 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9563 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9566 esac
9568 else
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9570 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9571 if ${ac_cv_c_dll_unixware+:} false; then :
9572 $as_echo_n "(cached) " >&6
9573 else
9574 ac_wine_try_cflags_saved=$CFLAGS
9575 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9578 void myfunc() {}
9579 _ACEOF
9580 if ac_fn_c_try_link "$LINENO"; then :
9581 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9582 else
9583 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9585 rm -f core conftest.err conftest.$ac_objext \
9586 conftest$ac_exeext conftest.$ac_ext
9587 CFLAGS=$ac_wine_try_cflags_saved
9588 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9589 ac_cv_c_dll_unixware="yes"
9590 else
9591 ac_cv_c_dll_unixware="no"
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9595 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9596 if test "$ac_cv_c_dll_unixware" = "yes"
9597 then
9598 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9601 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9603 LIBWINE_DEPENDS="wine.map"
9605 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9606 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9608 esac
9610 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9611 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9612 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9613 enable_winemac_drv=${enable_winemac_drv:-no}
9614 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9617 if test "x$with_mingw" != xno
9618 then
9619 case "x$with_mingw" in
9620 x|xyes) case "$host_cpu" in
9621 aarch64*)
9622 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9623 arm*)
9624 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9625 i[3456789]86*)
9626 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
9627 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9628 mingw32-gcc" ;;
9629 x86_64)
9630 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
9631 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9633 ac_prefix_list="" ;;
9634 esac
9635 for ac_prog in $ac_prefix_list
9637 # Extract the first word of "$ac_prog", so it can be a program name with args.
9638 set dummy $ac_prog; ac_word=$2
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9640 $as_echo_n "checking for $ac_word... " >&6; }
9641 if ${ac_cv_prog_CROSSCC+:} false; then :
9642 $as_echo_n "(cached) " >&6
9643 else
9644 if test -n "$CROSSCC"; then
9645 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9646 else
9647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9648 for as_dir in $PATH
9650 IFS=$as_save_IFS
9651 test -z "$as_dir" && as_dir=.
9652 for ac_exec_ext in '' $ac_executable_extensions; do
9653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9654 ac_cv_prog_CROSSCC="$ac_prog"
9655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9656 break 2
9658 done
9659 done
9660 IFS=$as_save_IFS
9664 CROSSCC=$ac_cv_prog_CROSSCC
9665 if test -n "$CROSSCC"; then
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9667 $as_echo "$CROSSCC" >&6; }
9668 else
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9670 $as_echo "no" >&6; }
9674 test -n "$CROSSCC" && break
9675 done
9676 test -n "$CROSSCC" || CROSSCC="false"
9678 *) CROSSCC=$with_mingw ;;
9679 esac
9680 if test "$CROSSCC" != "false"
9681 then
9682 ac_save_CC="$CC"
9683 saved_CFLAGS=$CFLAGS
9684 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9686 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9690 CC="$CROSSCC"
9691 CFLAGS=$CROSSCFLAGS
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9693 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9694 if ${wine_cv_crosscc+:} false; then :
9695 $as_echo_n "(cached) " >&6
9696 else
9697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9698 /* end confdefs.h. */
9701 main ()
9705 return 0;
9707 _ACEOF
9708 if ac_fn_c_try_compile "$LINENO"; then :
9709 wine_cv_crosscc=yes
9710 else
9711 wine_cv_crosscc=no
9713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9716 $as_echo "$wine_cv_crosscc" >&6; }
9717 if test $wine_cv_crosscc = yes
9718 then
9719 set x $CROSSCC
9720 shift
9721 while test $# -ge 1
9723 case "$1" in
9724 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9725 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9726 esac
9727 shift
9728 done
9730 llvm_target=$CROSSTARGET
9731 llvm_cflags="-fuse-ld=lld"
9732 if test -z "$llvm_target"
9733 then
9734 case $host_cpu in
9735 *i[3456789]86*) llvm_target=i686-windows ;;
9736 *) llvm_target=$host_cpu-windows ;;
9737 esac
9739 case $llvm_target in
9740 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9741 esac
9742 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9744 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9745 if eval \${$as_ac_var+:} false; then :
9746 $as_echo_n "(cached) " >&6
9747 else
9748 ac_wine_try_cflags_saved=$CFLAGS
9749 ac_wine_try_cflags_saved_cc=$CC
9750 ac_wine_try_cflags_saved_exeext=$ac_exeext
9751 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9752 CC="$CROSSCC"
9753 ac_exeext=".exe"
9754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9755 /* end confdefs.h. */
9756 int __cdecl mainCRTStartup(void) { return 0; }
9757 _ACEOF
9758 if ac_fn_c_try_link "$LINENO"; then :
9759 eval "$as_ac_var=yes"
9760 else
9761 eval "$as_ac_var=no"
9763 rm -f core conftest.err conftest.$ac_objext \
9764 conftest$ac_exeext conftest.$ac_ext
9765 CFLAGS=$ac_wine_try_cflags_saved
9766 CC=$ac_wine_try_cflags_saved_cc
9767 ac_exeext=$ac_wine_try_cflags_saved_exeext
9769 eval ac_res=\$$as_ac_var
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9771 $as_echo "$ac_res" >&6; }
9772 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9773 CROSSTARGET=$llvm_target
9774 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9775 DELAYLOADFLAG="-Wl,-delayload,"
9777 CFLAGS="$CFLAGS $llvm_cflags"
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9781 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9782 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9783 $as_echo_n "(cached) " >&6
9784 else
9785 ac_wine_try_cflags_saved=$CFLAGS
9786 ac_wine_try_cflags_saved_cc=$CC
9787 ac_wine_try_cflags_saved_exeext=$ac_exeext
9788 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9789 CC="$CROSSCC"
9790 ac_exeext=".exe"
9791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9793 int __cdecl mainCRTStartup(void) { return 0; }
9794 _ACEOF
9795 if ac_fn_c_try_link "$LINENO"; then :
9796 ac_cv_crosscflags__fno_strict_aliasing=yes
9797 else
9798 ac_cv_crosscflags__fno_strict_aliasing=no
9800 rm -f core conftest.err conftest.$ac_objext \
9801 conftest$ac_exeext conftest.$ac_ext
9802 CFLAGS=$ac_wine_try_cflags_saved
9803 CC=$ac_wine_try_cflags_saved_cc
9804 ac_exeext=$ac_wine_try_cflags_saved_exeext
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9807 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9808 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9809 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9812 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9813 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9814 $as_echo_n "(cached) " >&6
9815 else
9816 ac_wine_try_cflags_saved=$CFLAGS
9817 ac_wine_try_cflags_saved_cc=$CC
9818 ac_wine_try_cflags_saved_exeext=$ac_exeext
9819 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9820 CC="$CROSSCC"
9821 ac_exeext=".exe"
9822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9823 /* end confdefs.h. */
9824 int __cdecl mainCRTStartup(void) { return 0; }
9825 _ACEOF
9826 if ac_fn_c_try_link "$LINENO"; then :
9827 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9828 else
9829 ac_cv_crosscflags__Werror_unknown_warning_option=no
9831 rm -f core conftest.err conftest.$ac_objext \
9832 conftest$ac_exeext conftest.$ac_ext
9833 CFLAGS=$ac_wine_try_cflags_saved
9834 CC=$ac_wine_try_cflags_saved_cc
9835 ac_exeext=$ac_wine_try_cflags_saved_exeext
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9838 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9839 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9840 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9843 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9844 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9845 $as_echo_n "(cached) " >&6
9846 else
9847 ac_wine_try_cflags_saved=$CFLAGS
9848 ac_wine_try_cflags_saved_cc=$CC
9849 ac_wine_try_cflags_saved_exeext=$ac_exeext
9850 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9851 CC="$CROSSCC"
9852 ac_exeext=".exe"
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9855 int __cdecl mainCRTStartup(void) { return 0; }
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9859 else
9860 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9862 rm -f core conftest.err conftest.$ac_objext \
9863 conftest$ac_exeext conftest.$ac_ext
9864 CFLAGS=$ac_wine_try_cflags_saved
9865 CC=$ac_wine_try_cflags_saved_cc
9866 ac_exeext=$ac_wine_try_cflags_saved_exeext
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9869 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9870 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9871 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9874 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9875 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9876 $as_echo_n "(cached) " >&6
9877 else
9878 ac_wine_try_cflags_saved=$CFLAGS
9879 ac_wine_try_cflags_saved_cc=$CC
9880 ac_wine_try_cflags_saved_exeext=$ac_exeext
9881 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9882 CC="$CROSSCC"
9883 ac_exeext=".exe"
9884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9885 /* end confdefs.h. */
9886 int __cdecl mainCRTStartup(void) { return 0; }
9887 _ACEOF
9888 if ac_fn_c_try_link "$LINENO"; then :
9889 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9890 else
9891 ac_cv_crosscflags__Wdeclaration_after_statement=no
9893 rm -f core conftest.err conftest.$ac_objext \
9894 conftest$ac_exeext conftest.$ac_ext
9895 CFLAGS=$ac_wine_try_cflags_saved
9896 CC=$ac_wine_try_cflags_saved_cc
9897 ac_exeext=$ac_wine_try_cflags_saved_exeext
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9900 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9901 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9902 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9905 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9906 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9907 $as_echo_n "(cached) " >&6
9908 else
9909 ac_wine_try_cflags_saved=$CFLAGS
9910 ac_wine_try_cflags_saved_cc=$CC
9911 ac_wine_try_cflags_saved_exeext=$ac_exeext
9912 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9913 CC="$CROSSCC"
9914 ac_exeext=".exe"
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9917 int __cdecl mainCRTStartup(void) { return 0; }
9918 _ACEOF
9919 if ac_fn_c_try_link "$LINENO"; then :
9920 ac_cv_crosscflags__Wempty_body=yes
9921 else
9922 ac_cv_crosscflags__Wempty_body=no
9924 rm -f core conftest.err conftest.$ac_objext \
9925 conftest$ac_exeext conftest.$ac_ext
9926 CFLAGS=$ac_wine_try_cflags_saved
9927 CC=$ac_wine_try_cflags_saved_cc
9928 ac_exeext=$ac_wine_try_cflags_saved_exeext
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9931 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9932 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9933 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9936 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9937 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9938 $as_echo_n "(cached) " >&6
9939 else
9940 ac_wine_try_cflags_saved=$CFLAGS
9941 ac_wine_try_cflags_saved_cc=$CC
9942 ac_wine_try_cflags_saved_exeext=$ac_exeext
9943 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9944 CC="$CROSSCC"
9945 ac_exeext=".exe"
9946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9947 /* end confdefs.h. */
9948 int __cdecl mainCRTStartup(void) { return 0; }
9949 _ACEOF
9950 if ac_fn_c_try_link "$LINENO"; then :
9951 ac_cv_crosscflags__Wignored_qualifiers=yes
9952 else
9953 ac_cv_crosscflags__Wignored_qualifiers=no
9955 rm -f core conftest.err conftest.$ac_objext \
9956 conftest$ac_exeext conftest.$ac_ext
9957 CFLAGS=$ac_wine_try_cflags_saved
9958 CC=$ac_wine_try_cflags_saved_cc
9959 ac_exeext=$ac_wine_try_cflags_saved_exeext
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9962 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9963 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9964 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9967 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9968 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9969 $as_echo_n "(cached) " >&6
9970 else
9971 ac_wine_try_cflags_saved=$CFLAGS
9972 ac_wine_try_cflags_saved_cc=$CC
9973 ac_wine_try_cflags_saved_exeext=$ac_exeext
9974 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9975 CC="$CROSSCC"
9976 ac_exeext=".exe"
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9979 int __cdecl mainCRTStartup(void) { return 0; }
9980 _ACEOF
9981 if ac_fn_c_try_link "$LINENO"; then :
9982 ac_cv_crosscflags__Wpacked_not_aligned=yes
9983 else
9984 ac_cv_crosscflags__Wpacked_not_aligned=no
9986 rm -f core conftest.err conftest.$ac_objext \
9987 conftest$ac_exeext conftest.$ac_ext
9988 CFLAGS=$ac_wine_try_cflags_saved
9989 CC=$ac_wine_try_cflags_saved_cc
9990 ac_exeext=$ac_wine_try_cflags_saved_exeext
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9993 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9994 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9995 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9998 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9999 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10000 $as_echo_n "(cached) " >&6
10001 else
10002 ac_wine_try_cflags_saved=$CFLAGS
10003 ac_wine_try_cflags_saved_cc=$CC
10004 ac_wine_try_cflags_saved_exeext=$ac_exeext
10005 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10006 CC="$CROSSCC"
10007 ac_exeext=".exe"
10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10010 int __cdecl mainCRTStartup(void) { return 0; }
10011 _ACEOF
10012 if ac_fn_c_try_link "$LINENO"; then :
10013 ac_cv_crosscflags__Wpragma_pack=yes
10014 else
10015 ac_cv_crosscflags__Wpragma_pack=no
10017 rm -f core conftest.err conftest.$ac_objext \
10018 conftest$ac_exeext conftest.$ac_ext
10019 CFLAGS=$ac_wine_try_cflags_saved
10020 CC=$ac_wine_try_cflags_saved_cc
10021 ac_exeext=$ac_wine_try_cflags_saved_exeext
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10024 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10025 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10026 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10029 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10030 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10031 $as_echo_n "(cached) " >&6
10032 else
10033 ac_wine_try_cflags_saved=$CFLAGS
10034 ac_wine_try_cflags_saved_cc=$CC
10035 ac_wine_try_cflags_saved_exeext=$ac_exeext
10036 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10037 CC="$CROSSCC"
10038 ac_exeext=".exe"
10039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10040 /* end confdefs.h. */
10041 int __cdecl mainCRTStartup(void) { return 0; }
10042 _ACEOF
10043 if ac_fn_c_try_link "$LINENO"; then :
10044 ac_cv_crosscflags__Wshift_overflow_2=yes
10045 else
10046 ac_cv_crosscflags__Wshift_overflow_2=no
10048 rm -f core conftest.err conftest.$ac_objext \
10049 conftest$ac_exeext conftest.$ac_ext
10050 CFLAGS=$ac_wine_try_cflags_saved
10051 CC=$ac_wine_try_cflags_saved_cc
10052 ac_exeext=$ac_wine_try_cflags_saved_exeext
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10055 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10056 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10057 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10060 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10061 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10062 $as_echo_n "(cached) " >&6
10063 else
10064 ac_wine_try_cflags_saved=$CFLAGS
10065 ac_wine_try_cflags_saved_cc=$CC
10066 ac_wine_try_cflags_saved_exeext=$ac_exeext
10067 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10068 CC="$CROSSCC"
10069 ac_exeext=".exe"
10070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10072 int __cdecl mainCRTStartup(void) { return 0; }
10073 _ACEOF
10074 if ac_fn_c_try_link "$LINENO"; then :
10075 ac_cv_crosscflags__Wstrict_prototypes=yes
10076 else
10077 ac_cv_crosscflags__Wstrict_prototypes=no
10079 rm -f core conftest.err conftest.$ac_objext \
10080 conftest$ac_exeext conftest.$ac_ext
10081 CFLAGS=$ac_wine_try_cflags_saved
10082 CC=$ac_wine_try_cflags_saved_cc
10083 ac_exeext=$ac_wine_try_cflags_saved_exeext
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10086 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10087 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10088 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10091 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10092 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10093 $as_echo_n "(cached) " >&6
10094 else
10095 ac_wine_try_cflags_saved=$CFLAGS
10096 ac_wine_try_cflags_saved_cc=$CC
10097 ac_wine_try_cflags_saved_exeext=$ac_exeext
10098 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10099 CC="$CROSSCC"
10100 ac_exeext=".exe"
10101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10102 /* end confdefs.h. */
10103 int __cdecl mainCRTStartup(void) { return 0; }
10104 _ACEOF
10105 if ac_fn_c_try_link "$LINENO"; then :
10106 ac_cv_crosscflags__Wtype_limits=yes
10107 else
10108 ac_cv_crosscflags__Wtype_limits=no
10110 rm -f core conftest.err conftest.$ac_objext \
10111 conftest$ac_exeext conftest.$ac_ext
10112 CFLAGS=$ac_wine_try_cflags_saved
10113 CC=$ac_wine_try_cflags_saved_cc
10114 ac_exeext=$ac_wine_try_cflags_saved_exeext
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10117 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10118 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10119 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10122 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10123 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10124 $as_echo_n "(cached) " >&6
10125 else
10126 ac_wine_try_cflags_saved=$CFLAGS
10127 ac_wine_try_cflags_saved_cc=$CC
10128 ac_wine_try_cflags_saved_exeext=$ac_exeext
10129 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10130 CC="$CROSSCC"
10131 ac_exeext=".exe"
10132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10133 /* end confdefs.h. */
10134 int __cdecl mainCRTStartup(void) { return 0; }
10135 _ACEOF
10136 if ac_fn_c_try_link "$LINENO"; then :
10137 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10138 else
10139 ac_cv_crosscflags__Wunused_but_set_parameter=no
10141 rm -f core conftest.err conftest.$ac_objext \
10142 conftest$ac_exeext conftest.$ac_ext
10143 CFLAGS=$ac_wine_try_cflags_saved
10144 CC=$ac_wine_try_cflags_saved_cc
10145 ac_exeext=$ac_wine_try_cflags_saved_exeext
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10148 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10149 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10150 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10153 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10154 if ${ac_cv_crosscflags__Wvla+:} false; then :
10155 $as_echo_n "(cached) " >&6
10156 else
10157 ac_wine_try_cflags_saved=$CFLAGS
10158 ac_wine_try_cflags_saved_cc=$CC
10159 ac_wine_try_cflags_saved_exeext=$ac_exeext
10160 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10161 CC="$CROSSCC"
10162 ac_exeext=".exe"
10163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10164 /* end confdefs.h. */
10165 int __cdecl mainCRTStartup(void) { return 0; }
10166 _ACEOF
10167 if ac_fn_c_try_link "$LINENO"; then :
10168 ac_cv_crosscflags__Wvla=yes
10169 else
10170 ac_cv_crosscflags__Wvla=no
10172 rm -f core conftest.err conftest.$ac_objext \
10173 conftest$ac_exeext conftest.$ac_ext
10174 CFLAGS=$ac_wine_try_cflags_saved
10175 CC=$ac_wine_try_cflags_saved_cc
10176 ac_exeext=$ac_wine_try_cflags_saved_exeext
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10179 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10180 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10181 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10184 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10185 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10186 $as_echo_n "(cached) " >&6
10187 else
10188 ac_wine_try_cflags_saved=$CFLAGS
10189 ac_wine_try_cflags_saved_cc=$CC
10190 ac_wine_try_cflags_saved_exeext=$ac_exeext
10191 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10192 CC="$CROSSCC"
10193 ac_exeext=".exe"
10194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10195 /* end confdefs.h. */
10196 int __cdecl mainCRTStartup(void) { return 0; }
10197 _ACEOF
10198 if ac_fn_c_try_link "$LINENO"; then :
10199 ac_cv_crosscflags__Wwrite_strings=yes
10200 else
10201 ac_cv_crosscflags__Wwrite_strings=no
10203 rm -f core conftest.err conftest.$ac_objext \
10204 conftest$ac_exeext conftest.$ac_ext
10205 CFLAGS=$ac_wine_try_cflags_saved
10206 CC=$ac_wine_try_cflags_saved_cc
10207 ac_exeext=$ac_wine_try_cflags_saved_exeext
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10210 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10211 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10212 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10215 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10216 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10217 $as_echo_n "(cached) " >&6
10218 else
10219 ac_wine_try_cflags_saved=$CFLAGS
10220 ac_wine_try_cflags_saved_cc=$CC
10221 ac_wine_try_cflags_saved_exeext=$ac_exeext
10222 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10223 CC="$CROSSCC"
10224 ac_exeext=".exe"
10225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10226 /* end confdefs.h. */
10227 int __cdecl mainCRTStartup(void) { return 0; }
10228 _ACEOF
10229 if ac_fn_c_try_link "$LINENO"; then :
10230 ac_cv_crosscflags__Wpointer_arith=yes
10231 else
10232 ac_cv_crosscflags__Wpointer_arith=no
10234 rm -f core conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10236 CFLAGS=$ac_wine_try_cflags_saved
10237 CC=$ac_wine_try_cflags_saved_cc
10238 ac_exeext=$ac_wine_try_cflags_saved_exeext
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10241 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10242 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10243 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10246 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10247 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10248 $as_echo_n "(cached) " >&6
10249 else
10250 ac_wine_try_cflags_saved=$CFLAGS
10251 ac_wine_try_cflags_saved_cc=$CC
10252 ac_wine_try_cflags_saved_exeext=$ac_exeext
10253 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10254 CC="$CROSSCC"
10255 ac_exeext=".exe"
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10258 int __cdecl mainCRTStartup(void) { return 0; }
10259 _ACEOF
10260 if ac_fn_c_try_link "$LINENO"; then :
10261 ac_cv_crosscflags__Wlogical_op=yes
10262 else
10263 ac_cv_crosscflags__Wlogical_op=no
10265 rm -f core conftest.err conftest.$ac_objext \
10266 conftest$ac_exeext conftest.$ac_ext
10267 CFLAGS=$ac_wine_try_cflags_saved
10268 CC=$ac_wine_try_cflags_saved_cc
10269 ac_exeext=$ac_wine_try_cflags_saved_exeext
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10272 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10273 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10274 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10277 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10278 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10279 $as_echo_n "(cached) " >&6
10280 else
10281 ac_wine_try_cflags_saved=$CFLAGS
10282 ac_wine_try_cflags_saved_cc=$CC
10283 ac_wine_try_cflags_saved_exeext=$ac_exeext
10284 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10285 CC="$CROSSCC"
10286 ac_exeext=".exe"
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10289 int __cdecl mainCRTStartup(void) { return 0; }
10290 _ACEOF
10291 if ac_fn_c_try_link "$LINENO"; then :
10292 ac_cv_crosscflags__Wabsolute_value=yes
10293 else
10294 ac_cv_crosscflags__Wabsolute_value=no
10296 rm -f core conftest.err conftest.$ac_objext \
10297 conftest$ac_exeext conftest.$ac_ext
10298 CFLAGS=$ac_wine_try_cflags_saved
10299 CC=$ac_wine_try_cflags_saved_cc
10300 ac_exeext=$ac_wine_try_cflags_saved_exeext
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10303 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10304 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10305 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10308 case $host_cpu in
10309 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10310 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10311 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10312 $as_echo_n "(cached) " >&6
10313 else
10314 ac_wine_try_cflags_saved=$CFLAGS
10315 ac_wine_try_cflags_saved_cc=$CC
10316 ac_wine_try_cflags_saved_exeext=$ac_exeext
10317 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10318 CC="$CROSSCC"
10319 ac_exeext=".exe"
10320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10321 /* end confdefs.h. */
10322 int __cdecl mainCRTStartup(void) { return 0; }
10323 _ACEOF
10324 if ac_fn_c_try_link "$LINENO"; then :
10325 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10326 else
10327 ac_cv_crosscflags__fno_omit_frame_pointer=no
10329 rm -f core conftest.err conftest.$ac_objext \
10330 conftest$ac_exeext conftest.$ac_ext
10331 CFLAGS=$ac_wine_try_cflags_saved
10332 CC=$ac_wine_try_cflags_saved_cc
10333 ac_exeext=$ac_wine_try_cflags_saved_exeext
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10336 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10337 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10338 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10339 fi ;;
10340 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10341 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10342 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10343 $as_echo_n "(cached) " >&6
10344 else
10345 ac_wine_try_cflags_saved=$CFLAGS
10346 ac_wine_try_cflags_saved_cc=$CC
10347 ac_wine_try_cflags_saved_exeext=$ac_exeext
10348 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10349 CC="$CROSSCC"
10350 ac_exeext=".exe"
10351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10352 /* end confdefs.h. */
10353 int __cdecl mainCRTStartup(void) { return 0; }
10354 _ACEOF
10355 if ac_fn_c_try_link "$LINENO"; then :
10356 ac_cv_crosscflags__Wno_format=yes
10357 else
10358 ac_cv_crosscflags__Wno_format=no
10360 rm -f core conftest.err conftest.$ac_objext \
10361 conftest$ac_exeext conftest.$ac_ext
10362 CFLAGS=$ac_wine_try_cflags_saved
10363 CC=$ac_wine_try_cflags_saved_cc
10364 ac_exeext=$ac_wine_try_cflags_saved_exeext
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10367 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10368 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10369 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10372 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10373 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10374 $as_echo_n "(cached) " >&6
10375 else
10376 ac_wine_try_cflags_saved=$CFLAGS
10377 ac_wine_try_cflags_saved_cc=$CC
10378 ac_wine_try_cflags_saved_exeext=$ac_exeext
10379 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10380 CC="$CROSSCC"
10381 ac_exeext=".exe"
10382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10384 int __cdecl mainCRTStartup(void) { return 0; }
10385 _ACEOF
10386 if ac_fn_c_try_link "$LINENO"; then :
10387 ac_cv_crosscflags__Wformat_overflow=yes
10388 else
10389 ac_cv_crosscflags__Wformat_overflow=no
10391 rm -f core conftest.err conftest.$ac_objext \
10392 conftest$ac_exeext conftest.$ac_ext
10393 CFLAGS=$ac_wine_try_cflags_saved
10394 CC=$ac_wine_try_cflags_saved_cc
10395 ac_exeext=$ac_wine_try_cflags_saved_exeext
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10398 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10399 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10400 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10403 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10404 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10405 $as_echo_n "(cached) " >&6
10406 else
10407 ac_wine_try_cflags_saved=$CFLAGS
10408 ac_wine_try_cflags_saved_cc=$CC
10409 ac_wine_try_cflags_saved_exeext=$ac_exeext
10410 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10411 CC="$CROSSCC"
10412 ac_exeext=".exe"
10413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10415 int __cdecl mainCRTStartup(void) { return 0; }
10416 _ACEOF
10417 if ac_fn_c_try_link "$LINENO"; then :
10418 ac_cv_crosscflags__Wnonnull=yes
10419 else
10420 ac_cv_crosscflags__Wnonnull=no
10422 rm -f core conftest.err conftest.$ac_objext \
10423 conftest$ac_exeext conftest.$ac_ext
10424 CFLAGS=$ac_wine_try_cflags_saved
10425 CC=$ac_wine_try_cflags_saved_cc
10426 ac_exeext=$ac_wine_try_cflags_saved_exeext
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10429 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10430 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10431 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10434 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10435 if ${ac_cv_crosscflags__mcx16+:} false; then :
10436 $as_echo_n "(cached) " >&6
10437 else
10438 ac_wine_try_cflags_saved=$CFLAGS
10439 ac_wine_try_cflags_saved_cc=$CC
10440 ac_wine_try_cflags_saved_exeext=$ac_exeext
10441 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10442 CC="$CROSSCC"
10443 ac_exeext=".exe"
10444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10446 int __cdecl mainCRTStartup(void) { return 0; }
10447 _ACEOF
10448 if ac_fn_c_try_link "$LINENO"; then :
10449 ac_cv_crosscflags__mcx16=yes
10450 else
10451 ac_cv_crosscflags__mcx16=no
10453 rm -f core conftest.err conftest.$ac_objext \
10454 conftest$ac_exeext conftest.$ac_ext
10455 CFLAGS=$ac_wine_try_cflags_saved
10456 CC=$ac_wine_try_cflags_saved_cc
10457 ac_exeext=$ac_wine_try_cflags_saved_exeext
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10460 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10461 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10462 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10463 fi ;;
10464 esac
10467 if test -z "$CROSSDEBUG"
10468 then
10469 for ac_flag in $CROSSCFLAGS; do
10470 case $ac_flag in
10471 -gdwarf*) CROSSDEBUG=dwarf ;;
10472 -gcodeview) CROSSDEBUG=pdb ;;
10473 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10474 esac
10475 done
10477 case $CROSSDEBUG in
10478 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10479 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10480 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10481 $as_echo_n "(cached) " >&6
10482 else
10483 ac_wine_try_cflags_saved=$CFLAGS
10484 ac_wine_try_cflags_saved_cc=$CC
10485 ac_wine_try_cflags_saved_exeext=$ac_exeext
10486 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10487 CC="$CROSSCC"
10488 ac_exeext=".exe"
10489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10490 /* end confdefs.h. */
10491 int __cdecl mainCRTStartup(void) { return 0; }
10492 _ACEOF
10493 if ac_fn_c_try_link "$LINENO"; then :
10494 ac_cv_crosscflags__gdwarf_2=yes
10495 else
10496 ac_cv_crosscflags__gdwarf_2=no
10498 rm -f core conftest.err conftest.$ac_objext \
10499 conftest$ac_exeext conftest.$ac_ext
10500 CFLAGS=$ac_wine_try_cflags_saved
10501 CC=$ac_wine_try_cflags_saved_cc
10502 ac_exeext=$ac_wine_try_cflags_saved_exeext
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10505 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10506 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10507 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10510 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10511 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10512 $as_echo_n "(cached) " >&6
10513 else
10514 ac_wine_try_cflags_saved=$CFLAGS
10515 ac_wine_try_cflags_saved_cc=$CC
10516 ac_wine_try_cflags_saved_exeext=$ac_exeext
10517 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10518 CC="$CROSSCC"
10519 ac_exeext=".exe"
10520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10521 /* end confdefs.h. */
10522 int __cdecl mainCRTStartup(void) { return 0; }
10523 _ACEOF
10524 if ac_fn_c_try_link "$LINENO"; then :
10525 ac_cv_crosscflags__gstrict_dwarf=yes
10526 else
10527 ac_cv_crosscflags__gstrict_dwarf=no
10529 rm -f core conftest.err conftest.$ac_objext \
10530 conftest$ac_exeext conftest.$ac_ext
10531 CFLAGS=$ac_wine_try_cflags_saved
10532 CC=$ac_wine_try_cflags_saved_cc
10533 ac_exeext=$ac_wine_try_cflags_saved_exeext
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10536 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10537 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10538 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10539 fi ;;
10540 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10541 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10542 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10543 $as_echo_n "(cached) " >&6
10544 else
10545 ac_wine_try_cflags_saved=$CFLAGS
10546 ac_wine_try_cflags_saved_cc=$CC
10547 ac_wine_try_cflags_saved_exeext=$ac_exeext
10548 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10549 CC="$CROSSCC"
10550 ac_exeext=".exe"
10551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10552 /* end confdefs.h. */
10553 int __cdecl mainCRTStartup(void) { return 0; }
10554 _ACEOF
10555 if ac_fn_c_try_link "$LINENO"; then :
10556 ac_cv_crosscflags__gcodeview=yes
10557 else
10558 ac_cv_crosscflags__gcodeview=no
10560 rm -f core conftest.err conftest.$ac_objext \
10561 conftest$ac_exeext conftest.$ac_ext
10562 CFLAGS=$ac_wine_try_cflags_saved
10563 CC=$ac_wine_try_cflags_saved_cc
10564 ac_exeext=$ac_wine_try_cflags_saved_exeext
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10567 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10568 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10569 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10570 fi ;;
10571 esac
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10574 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10575 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10576 $as_echo_n "(cached) " >&6
10577 else
10578 ac_wine_try_cflags_saved=$CFLAGS
10579 ac_wine_try_cflags_saved_cc=$CC
10580 ac_wine_try_cflags_saved_exeext=$ac_exeext
10581 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10582 CC="$CROSSCC"
10583 ac_exeext=".exe"
10584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10585 /* end confdefs.h. */
10586 int __cdecl mainCRTStartup(void) { return 0; }
10587 _ACEOF
10588 if ac_fn_c_try_link "$LINENO"; then :
10589 ac_cv_crosscflags__fexcess_precision_standard=yes
10590 else
10591 ac_cv_crosscflags__fexcess_precision_standard=no
10593 rm -f core conftest.err conftest.$ac_objext \
10594 conftest$ac_exeext conftest.$ac_ext
10595 CFLAGS=$ac_wine_try_cflags_saved
10596 CC=$ac_wine_try_cflags_saved_cc
10597 ac_exeext=$ac_wine_try_cflags_saved_exeext
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10600 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10601 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10602 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10606 if test "x$enable_werror" = "xyes"
10607 then
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10609 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10610 if ${ac_cv_crosscflags__Werror+:} false; then :
10611 $as_echo_n "(cached) " >&6
10612 else
10613 ac_wine_try_cflags_saved=$CFLAGS
10614 ac_wine_try_cflags_saved_cc=$CC
10615 ac_wine_try_cflags_saved_exeext=$ac_exeext
10616 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10617 CC="$CROSSCC"
10618 ac_exeext=".exe"
10619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10620 /* end confdefs.h. */
10621 int __cdecl mainCRTStartup(void) { return 0; }
10622 _ACEOF
10623 if ac_fn_c_try_link "$LINENO"; then :
10624 ac_cv_crosscflags__Werror=yes
10625 else
10626 ac_cv_crosscflags__Werror=no
10628 rm -f core conftest.err conftest.$ac_objext \
10629 conftest$ac_exeext conftest.$ac_ext
10630 CFLAGS=$ac_wine_try_cflags_saved
10631 CC=$ac_wine_try_cflags_saved_cc
10632 ac_exeext=$ac_wine_try_cflags_saved_exeext
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10635 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10636 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10637 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10641 CFLAGS=$saved_CFLAGS
10642 CC="$ac_save_CC"
10645 if test "x$CROSSTARGET" = "x"; then :
10646 case "x$with_mingw" in
10647 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10648 xno) ;;
10649 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10650 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10651 esac
10656 if test "$ac_cv_header_pthread_h" = "yes"
10657 then
10658 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10659 if test "x$ac_cv_func_pthread_create" = xyes; then :
10661 else
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10663 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10664 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10665 $as_echo_n "(cached) " >&6
10666 else
10667 ac_check_lib_save_LIBS=$LIBS
10668 LIBS="-lpthread $LIBS"
10669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10670 /* end confdefs.h. */
10672 /* Override any GCC internal prototype to avoid an error.
10673 Use char because int might match the return type of a GCC
10674 builtin and then its argument prototype would still apply. */
10675 #ifdef __cplusplus
10676 extern "C"
10677 #endif
10678 char pthread_create ();
10680 main ()
10682 return pthread_create ();
10684 return 0;
10686 _ACEOF
10687 if ac_fn_c_try_link "$LINENO"; then :
10688 ac_cv_lib_pthread_pthread_create=yes
10689 else
10690 ac_cv_lib_pthread_pthread_create=no
10692 rm -f core conftest.err conftest.$ac_objext \
10693 conftest$ac_exeext conftest.$ac_ext
10694 LIBS=$ac_check_lib_save_LIBS
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10697 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10698 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10699 PTHREAD_LIBS="-lpthread"
10706 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10707 case "x$with_pthread" in
10708 xno) ;;
10709 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10710 Wine cannot support threads without libpthread.
10711 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10712 esac
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10718 $as_echo_n "checking for X... " >&6; }
10721 # Check whether --with-x was given.
10722 if test "${with_x+set}" = set; then :
10723 withval=$with_x;
10726 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10727 if test "x$with_x" = xno; then
10728 # The user explicitly disabled X.
10729 have_x=disabled
10730 else
10731 case $x_includes,$x_libraries in #(
10732 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10733 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10734 $as_echo_n "(cached) " >&6
10735 else
10736 # One or both of the vars are not set, and there is no cached value.
10737 ac_x_includes=no ac_x_libraries=no
10738 rm -f -r conftest.dir
10739 if mkdir conftest.dir; then
10740 cd conftest.dir
10741 cat >Imakefile <<'_ACEOF'
10742 incroot:
10743 @echo incroot='${INCROOT}'
10744 usrlibdir:
10745 @echo usrlibdir='${USRLIBDIR}'
10746 libdir:
10747 @echo libdir='${LIBDIR}'
10748 _ACEOF
10749 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10750 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10751 for ac_var in incroot usrlibdir libdir; do
10752 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10753 done
10754 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10755 for ac_extension in a so sl dylib la dll; do
10756 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10757 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10758 ac_im_usrlibdir=$ac_im_libdir; break
10760 done
10761 # Screen out bogus values from the imake configuration. They are
10762 # bogus both because they are the default anyway, and because
10763 # using them would break gcc on systems where it needs fixed includes.
10764 case $ac_im_incroot in
10765 /usr/include) ac_x_includes= ;;
10766 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10767 esac
10768 case $ac_im_usrlibdir in
10769 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10770 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10771 esac
10773 cd ..
10774 rm -f -r conftest.dir
10777 # Standard set of common directories for X headers.
10778 # Check X11 before X11Rn because it is often a symlink to the current release.
10779 ac_x_header_dirs='
10780 /usr/X11/include
10781 /usr/X11R7/include
10782 /usr/X11R6/include
10783 /usr/X11R5/include
10784 /usr/X11R4/include
10786 /usr/include/X11
10787 /usr/include/X11R7
10788 /usr/include/X11R6
10789 /usr/include/X11R5
10790 /usr/include/X11R4
10792 /usr/local/X11/include
10793 /usr/local/X11R7/include
10794 /usr/local/X11R6/include
10795 /usr/local/X11R5/include
10796 /usr/local/X11R4/include
10798 /usr/local/include/X11
10799 /usr/local/include/X11R7
10800 /usr/local/include/X11R6
10801 /usr/local/include/X11R5
10802 /usr/local/include/X11R4
10804 /usr/X386/include
10805 /usr/x386/include
10806 /usr/XFree86/include/X11
10808 /usr/include
10809 /usr/local/include
10810 /usr/unsupported/include
10811 /usr/athena/include
10812 /usr/local/x11r5/include
10813 /usr/lpp/Xamples/include
10815 /usr/openwin/include
10816 /usr/openwin/share/include'
10818 if test "$ac_x_includes" = no; then
10819 # Guess where to find include files, by looking for Xlib.h.
10820 # First, try using that file with no special directory specified.
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10823 #include <X11/Xlib.h>
10824 _ACEOF
10825 if ac_fn_c_try_cpp "$LINENO"; then :
10826 # We can compile using X headers with no special include directory.
10827 ac_x_includes=
10828 else
10829 for ac_dir in $ac_x_header_dirs; do
10830 if test -r "$ac_dir/X11/Xlib.h"; then
10831 ac_x_includes=$ac_dir
10832 break
10834 done
10836 rm -f conftest.err conftest.i conftest.$ac_ext
10837 fi # $ac_x_includes = no
10839 if test "$ac_x_libraries" = no; then
10840 # Check for the libraries.
10841 # See if we find them without any special options.
10842 # Don't add to $LIBS permanently.
10843 ac_save_LIBS=$LIBS
10844 LIBS="-lX11 $LIBS"
10845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10846 /* end confdefs.h. */
10847 #include <X11/Xlib.h>
10849 main ()
10851 XrmInitialize ()
10853 return 0;
10855 _ACEOF
10856 if ac_fn_c_try_link "$LINENO"; then :
10857 LIBS=$ac_save_LIBS
10858 # We can link X programs with no special library path.
10859 ac_x_libraries=
10860 else
10861 LIBS=$ac_save_LIBS
10862 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10864 # Don't even attempt the hair of trying to link an X program!
10865 for ac_extension in a so sl dylib la dll; do
10866 if test -r "$ac_dir/libX11.$ac_extension"; then
10867 ac_x_libraries=$ac_dir
10868 break 2
10870 done
10871 done
10873 rm -f core conftest.err conftest.$ac_objext \
10874 conftest$ac_exeext conftest.$ac_ext
10875 fi # $ac_x_libraries = no
10877 case $ac_x_includes,$ac_x_libraries in #(
10878 no,* | *,no | *\'*)
10879 # Didn't find X, or a directory has "'" in its name.
10880 ac_cv_have_x="have_x=no";; #(
10882 # Record where we found X for the cache.
10883 ac_cv_have_x="have_x=yes\
10884 ac_x_includes='$ac_x_includes'\
10885 ac_x_libraries='$ac_x_libraries'"
10886 esac
10888 ;; #(
10889 *) have_x=yes;;
10890 esac
10891 eval "$ac_cv_have_x"
10892 fi # $with_x != no
10894 if test "$have_x" != yes; then
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10896 $as_echo "$have_x" >&6; }
10897 no_x=yes
10898 else
10899 # If each of the values was on the command line, it overrides each guess.
10900 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10901 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10902 # Update the cache value to reflect the command line values.
10903 ac_cv_have_x="have_x=yes\
10904 ac_x_includes='$x_includes'\
10905 ac_x_libraries='$x_libraries'"
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10907 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10910 if test "$no_x" = yes; then
10911 # Not all programs may use this symbol, but it does not hurt to define it.
10913 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10915 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10916 else
10917 if test -n "$x_includes"; then
10918 X_CFLAGS="$X_CFLAGS -I$x_includes"
10921 # It would also be nice to do this for all -L options, not just this one.
10922 if test -n "$x_libraries"; then
10923 X_LIBS="$X_LIBS -L$x_libraries"
10924 # For Solaris; some versions of Sun CC require a space after -R and
10925 # others require no space. Words are not sufficient . . . .
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10927 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10928 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10929 ac_xsave_c_werror_flag=$ac_c_werror_flag
10930 ac_c_werror_flag=yes
10931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10932 /* end confdefs.h. */
10935 main ()
10939 return 0;
10941 _ACEOF
10942 if ac_fn_c_try_link "$LINENO"; then :
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10944 $as_echo "no" >&6; }
10945 X_LIBS="$X_LIBS -R$x_libraries"
10946 else
10947 LIBS="$ac_xsave_LIBS -R $x_libraries"
10948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10952 main ()
10956 return 0;
10958 _ACEOF
10959 if ac_fn_c_try_link "$LINENO"; then :
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10961 $as_echo "yes" >&6; }
10962 X_LIBS="$X_LIBS -R $x_libraries"
10963 else
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10965 $as_echo "neither works" >&6; }
10967 rm -f core conftest.err conftest.$ac_objext \
10968 conftest$ac_exeext conftest.$ac_ext
10970 rm -f core conftest.err conftest.$ac_objext \
10971 conftest$ac_exeext conftest.$ac_ext
10972 ac_c_werror_flag=$ac_xsave_c_werror_flag
10973 LIBS=$ac_xsave_LIBS
10976 # Check for system-dependent libraries X programs must link with.
10977 # Do this before checking for the system-independent R6 libraries
10978 # (-lICE), since we may need -lsocket or whatever for X linking.
10980 if test "$ISC" = yes; then
10981 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10982 else
10983 # Martyn Johnson says this is needed for Ultrix, if the X
10984 # libraries were built with DECnet support. And Karl Berry says
10985 # the Alpha needs dnet_stub (dnet does not exist).
10986 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
10993 #ifdef __cplusplus
10994 extern "C"
10995 #endif
10996 char XOpenDisplay ();
10998 main ()
11000 return XOpenDisplay ();
11002 return 0;
11004 _ACEOF
11005 if ac_fn_c_try_link "$LINENO"; then :
11007 else
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11009 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11010 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11011 $as_echo_n "(cached) " >&6
11012 else
11013 ac_check_lib_save_LIBS=$LIBS
11014 LIBS="-ldnet $LIBS"
11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11021 #ifdef __cplusplus
11022 extern "C"
11023 #endif
11024 char dnet_ntoa ();
11026 main ()
11028 return dnet_ntoa ();
11030 return 0;
11032 _ACEOF
11033 if ac_fn_c_try_link "$LINENO"; then :
11034 ac_cv_lib_dnet_dnet_ntoa=yes
11035 else
11036 ac_cv_lib_dnet_dnet_ntoa=no
11038 rm -f core conftest.err conftest.$ac_objext \
11039 conftest$ac_exeext conftest.$ac_ext
11040 LIBS=$ac_check_lib_save_LIBS
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11043 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11044 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11045 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11048 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11050 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11051 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11052 $as_echo_n "(cached) " >&6
11053 else
11054 ac_check_lib_save_LIBS=$LIBS
11055 LIBS="-ldnet_stub $LIBS"
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11062 #ifdef __cplusplus
11063 extern "C"
11064 #endif
11065 char dnet_ntoa ();
11067 main ()
11069 return dnet_ntoa ();
11071 return 0;
11073 _ACEOF
11074 if ac_fn_c_try_link "$LINENO"; then :
11075 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11076 else
11077 ac_cv_lib_dnet_stub_dnet_ntoa=no
11079 rm -f core conftest.err conftest.$ac_objext \
11080 conftest$ac_exeext conftest.$ac_ext
11081 LIBS=$ac_check_lib_save_LIBS
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11084 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11085 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11086 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11091 rm -f core conftest.err conftest.$ac_objext \
11092 conftest$ac_exeext conftest.$ac_ext
11093 LIBS="$ac_xsave_LIBS"
11095 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11096 # to get the SysV transport functions.
11097 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11098 # needs -lnsl.
11099 # The nsl library prevents programs from opening the X display
11100 # on Irix 5.2, according to T.E. Dickey.
11101 # The functions gethostbyname, getservbyname, and inet_addr are
11102 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11103 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11104 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11108 if test $ac_cv_func_gethostbyname = no; then
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11110 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11111 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11112 $as_echo_n "(cached) " >&6
11113 else
11114 ac_check_lib_save_LIBS=$LIBS
11115 LIBS="-lnsl $LIBS"
11116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11122 #ifdef __cplusplus
11123 extern "C"
11124 #endif
11125 char gethostbyname ();
11127 main ()
11129 return gethostbyname ();
11131 return 0;
11133 _ACEOF
11134 if ac_fn_c_try_link "$LINENO"; then :
11135 ac_cv_lib_nsl_gethostbyname=yes
11136 else
11137 ac_cv_lib_nsl_gethostbyname=no
11139 rm -f core conftest.err conftest.$ac_objext \
11140 conftest$ac_exeext conftest.$ac_ext
11141 LIBS=$ac_check_lib_save_LIBS
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11144 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11145 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11146 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11149 if test $ac_cv_lib_nsl_gethostbyname = no; then
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11151 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11152 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11153 $as_echo_n "(cached) " >&6
11154 else
11155 ac_check_lib_save_LIBS=$LIBS
11156 LIBS="-lbsd $LIBS"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11163 #ifdef __cplusplus
11164 extern "C"
11165 #endif
11166 char gethostbyname ();
11168 main ()
11170 return gethostbyname ();
11172 return 0;
11174 _ACEOF
11175 if ac_fn_c_try_link "$LINENO"; then :
11176 ac_cv_lib_bsd_gethostbyname=yes
11177 else
11178 ac_cv_lib_bsd_gethostbyname=no
11180 rm -f core conftest.err conftest.$ac_objext \
11181 conftest$ac_exeext conftest.$ac_ext
11182 LIBS=$ac_check_lib_save_LIBS
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11185 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11186 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11187 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11193 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11194 # socket/setsockopt and other routines are undefined under SCO ODT
11195 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11196 # on later versions), says Simon Leinen: it contains gethostby*
11197 # variants that don't use the name server (or something). -lsocket
11198 # must be given before -lnsl if both are needed. We assume that
11199 # if connect needs -lnsl, so does gethostbyname.
11200 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11201 if test "x$ac_cv_func_connect" = xyes; then :
11205 if test $ac_cv_func_connect = no; then
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11207 $as_echo_n "checking for connect in -lsocket... " >&6; }
11208 if ${ac_cv_lib_socket_connect+:} false; then :
11209 $as_echo_n "(cached) " >&6
11210 else
11211 ac_check_lib_save_LIBS=$LIBS
11212 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h. */
11216 /* Override any GCC internal prototype to avoid an error.
11217 Use char because int might match the return type of a GCC
11218 builtin and then its argument prototype would still apply. */
11219 #ifdef __cplusplus
11220 extern "C"
11221 #endif
11222 char connect ();
11224 main ()
11226 return connect ();
11228 return 0;
11230 _ACEOF
11231 if ac_fn_c_try_link "$LINENO"; then :
11232 ac_cv_lib_socket_connect=yes
11233 else
11234 ac_cv_lib_socket_connect=no
11236 rm -f core conftest.err conftest.$ac_objext \
11237 conftest$ac_exeext conftest.$ac_ext
11238 LIBS=$ac_check_lib_save_LIBS
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11241 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11242 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11243 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11248 # Guillermo Gomez says -lposix is necessary on A/UX.
11249 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11250 if test "x$ac_cv_func_remove" = xyes; then :
11254 if test $ac_cv_func_remove = no; then
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11256 $as_echo_n "checking for remove in -lposix... " >&6; }
11257 if ${ac_cv_lib_posix_remove+:} false; then :
11258 $as_echo_n "(cached) " >&6
11259 else
11260 ac_check_lib_save_LIBS=$LIBS
11261 LIBS="-lposix $LIBS"
11262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h. */
11265 /* Override any GCC internal prototype to avoid an error.
11266 Use char because int might match the return type of a GCC
11267 builtin and then its argument prototype would still apply. */
11268 #ifdef __cplusplus
11269 extern "C"
11270 #endif
11271 char remove ();
11273 main ()
11275 return remove ();
11277 return 0;
11279 _ACEOF
11280 if ac_fn_c_try_link "$LINENO"; then :
11281 ac_cv_lib_posix_remove=yes
11282 else
11283 ac_cv_lib_posix_remove=no
11285 rm -f core conftest.err conftest.$ac_objext \
11286 conftest$ac_exeext conftest.$ac_ext
11287 LIBS=$ac_check_lib_save_LIBS
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11290 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11291 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11292 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11297 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11298 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11299 if test "x$ac_cv_func_shmat" = xyes; then :
11303 if test $ac_cv_func_shmat = no; then
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11305 $as_echo_n "checking for shmat in -lipc... " >&6; }
11306 if ${ac_cv_lib_ipc_shmat+:} false; then :
11307 $as_echo_n "(cached) " >&6
11308 else
11309 ac_check_lib_save_LIBS=$LIBS
11310 LIBS="-lipc $LIBS"
11311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11312 /* end confdefs.h. */
11314 /* Override any GCC internal prototype to avoid an error.
11315 Use char because int might match the return type of a GCC
11316 builtin and then its argument prototype would still apply. */
11317 #ifdef __cplusplus
11318 extern "C"
11319 #endif
11320 char shmat ();
11322 main ()
11324 return shmat ();
11326 return 0;
11328 _ACEOF
11329 if ac_fn_c_try_link "$LINENO"; then :
11330 ac_cv_lib_ipc_shmat=yes
11331 else
11332 ac_cv_lib_ipc_shmat=no
11334 rm -f core conftest.err conftest.$ac_objext \
11335 conftest$ac_exeext conftest.$ac_ext
11336 LIBS=$ac_check_lib_save_LIBS
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11339 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11340 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11341 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11347 # Check for libraries that X11R6 Xt/Xaw programs need.
11348 ac_save_LDFLAGS=$LDFLAGS
11349 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11350 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11351 # check for ICE first), but we must link in the order -lSM -lICE or
11352 # we get undefined symbols. So assume we have SM if we have ICE.
11353 # These have to be linked with before -lX11, unlike the other
11354 # libraries we check for below, so use a different variable.
11355 # John Interrante, Karl Berry
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11357 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11358 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11359 $as_echo_n "(cached) " >&6
11360 else
11361 ac_check_lib_save_LIBS=$LIBS
11362 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11364 /* end confdefs.h. */
11366 /* Override any GCC internal prototype to avoid an error.
11367 Use char because int might match the return type of a GCC
11368 builtin and then its argument prototype would still apply. */
11369 #ifdef __cplusplus
11370 extern "C"
11371 #endif
11372 char IceConnectionNumber ();
11374 main ()
11376 return IceConnectionNumber ();
11378 return 0;
11380 _ACEOF
11381 if ac_fn_c_try_link "$LINENO"; then :
11382 ac_cv_lib_ICE_IceConnectionNumber=yes
11383 else
11384 ac_cv_lib_ICE_IceConnectionNumber=no
11386 rm -f core conftest.err conftest.$ac_objext \
11387 conftest$ac_exeext conftest.$ac_ext
11388 LIBS=$ac_check_lib_save_LIBS
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11391 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11392 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11393 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11396 LDFLAGS=$ac_save_LDFLAGS
11401 if test "$have_x" = "yes"
11402 then
11403 ac_save_CPPFLAGS="$CPPFLAGS"
11404 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11407 $as_echo_n "checking for -lX11... " >&6; }
11408 if ${ac_cv_lib_soname_X11+:} false; then :
11409 $as_echo_n "(cached) " >&6
11410 else
11411 ac_check_soname_save_LIBS=$LIBS
11412 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11419 #ifdef __cplusplus
11420 extern "C"
11421 #endif
11422 char XCreateWindow ();
11424 main ()
11426 return XCreateWindow ();
11428 return 0;
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 case "$LIBEXT" in
11433 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11434 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'` ;;
11435 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11436 if ${ac_cv_lib_soname_X11:+false} :; then :
11437 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11438 fi ;;
11439 esac
11440 else
11441 ac_cv_lib_soname_X11=
11443 rm -f core conftest.err conftest.$ac_objext \
11444 conftest$ac_exeext conftest.$ac_ext
11445 LIBS=$ac_check_soname_save_LIBS
11447 if ${ac_cv_lib_soname_X11:+false} :; then :
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11449 $as_echo "not found" >&6; }
11451 else
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11453 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11455 cat >>confdefs.h <<_ACEOF
11456 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11457 _ACEOF
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11462 $as_echo_n "checking for -lXext... " >&6; }
11463 if ${ac_cv_lib_soname_Xext+:} false; then :
11464 $as_echo_n "(cached) " >&6
11465 else
11466 ac_check_soname_save_LIBS=$LIBS
11467 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11471 /* Override any GCC internal prototype to avoid an error.
11472 Use char because int might match the return type of a GCC
11473 builtin and then its argument prototype would still apply. */
11474 #ifdef __cplusplus
11475 extern "C"
11476 #endif
11477 char XextCreateExtension ();
11479 main ()
11481 return XextCreateExtension ();
11483 return 0;
11485 _ACEOF
11486 if ac_fn_c_try_link "$LINENO"; then :
11487 case "$LIBEXT" in
11488 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11489 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'` ;;
11490 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11491 if ${ac_cv_lib_soname_Xext:+false} :; then :
11492 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11493 fi ;;
11494 esac
11495 else
11496 ac_cv_lib_soname_Xext=
11498 rm -f core conftest.err conftest.$ac_objext \
11499 conftest$ac_exeext conftest.$ac_ext
11500 LIBS=$ac_check_soname_save_LIBS
11502 if ${ac_cv_lib_soname_Xext:+false} :; then :
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11504 $as_echo "not found" >&6; }
11506 else
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11508 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11510 cat >>confdefs.h <<_ACEOF
11511 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11512 _ACEOF
11514 X_LIBS="$X_LIBS -lXext"
11516 X_LIBS="$X_LIBS -lX11"
11518 for ac_header in X11/Xlib.h \
11519 X11/XKBlib.h \
11520 X11/Xutil.h \
11521 X11/Xcursor/Xcursor.h \
11522 X11/extensions/shape.h \
11523 X11/extensions/XInput.h \
11524 X11/extensions/XInput2.h \
11525 X11/extensions/XShm.h \
11526 X11/extensions/Xcomposite.h \
11527 X11/extensions/Xfixes.h \
11528 X11/extensions/Xinerama.h \
11529 X11/extensions/Xrandr.h \
11530 X11/extensions/Xrender.h \
11531 X11/extensions/xf86vmode.h \
11532 X11/extensions/xf86vmproto.h
11533 do :
11534 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11535 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11536 # include <X11/Xlib.h>
11537 #endif
11538 #ifdef HAVE_X11_XUTIL_H
11539 # include <X11/Xutil.h>
11540 #endif
11542 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11543 cat >>confdefs.h <<_ACEOF
11544 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11545 _ACEOF
11549 done
11552 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11553 then
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11555 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11556 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11557 $as_echo_n "(cached) " >&6
11558 else
11559 ac_check_lib_save_LIBS=$LIBS
11560 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11564 /* Override any GCC internal prototype to avoid an error.
11565 Use char because int might match the return type of a GCC
11566 builtin and then its argument prototype would still apply. */
11567 #ifdef __cplusplus
11568 extern "C"
11569 #endif
11570 char XkbQueryExtension ();
11572 main ()
11574 return XkbQueryExtension ();
11576 return 0;
11578 _ACEOF
11579 if ac_fn_c_try_link "$LINENO"; then :
11580 ac_cv_lib_X11_XkbQueryExtension=yes
11581 else
11582 ac_cv_lib_X11_XkbQueryExtension=no
11584 rm -f core conftest.err conftest.$ac_objext \
11585 conftest$ac_exeext conftest.$ac_ext
11586 LIBS=$ac_check_lib_save_LIBS
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11589 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11590 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11592 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11598 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11599 then
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11601 $as_echo_n "checking for -lXcursor... " >&6; }
11602 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11603 $as_echo_n "(cached) " >&6
11604 else
11605 ac_check_soname_save_LIBS=$LIBS
11606 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11610 /* Override any GCC internal prototype to avoid an error.
11611 Use char because int might match the return type of a GCC
11612 builtin and then its argument prototype would still apply. */
11613 #ifdef __cplusplus
11614 extern "C"
11615 #endif
11616 char XcursorImageLoadCursor ();
11618 main ()
11620 return XcursorImageLoadCursor ();
11622 return 0;
11624 _ACEOF
11625 if ac_fn_c_try_link "$LINENO"; then :
11626 case "$LIBEXT" in
11627 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11628 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'` ;;
11629 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11630 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11631 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11632 fi ;;
11633 esac
11634 else
11635 ac_cv_lib_soname_Xcursor=
11637 rm -f core conftest.err conftest.$ac_objext \
11638 conftest$ac_exeext conftest.$ac_ext
11639 LIBS=$ac_check_soname_save_LIBS
11641 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11643 $as_echo "not found" >&6; }
11645 else
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11647 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11649 cat >>confdefs.h <<_ACEOF
11650 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11651 _ACEOF
11656 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11657 case "x$with_xcursor" in
11658 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11659 xno) ;;
11660 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11661 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11662 esac
11666 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11667 then
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11669 $as_echo_n "checking for -lXi... " >&6; }
11670 if ${ac_cv_lib_soname_Xi+:} false; then :
11671 $as_echo_n "(cached) " >&6
11672 else
11673 ac_check_soname_save_LIBS=$LIBS
11674 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11676 /* end confdefs.h. */
11678 /* Override any GCC internal prototype to avoid an error.
11679 Use char because int might match the return type of a GCC
11680 builtin and then its argument prototype would still apply. */
11681 #ifdef __cplusplus
11682 extern "C"
11683 #endif
11684 char XOpenDevice ();
11686 main ()
11688 return XOpenDevice ();
11690 return 0;
11692 _ACEOF
11693 if ac_fn_c_try_link "$LINENO"; then :
11694 case "$LIBEXT" in
11695 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11696 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'` ;;
11697 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11698 if ${ac_cv_lib_soname_Xi:+false} :; then :
11699 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11700 fi ;;
11701 esac
11702 else
11703 ac_cv_lib_soname_Xi=
11705 rm -f core conftest.err conftest.$ac_objext \
11706 conftest$ac_exeext conftest.$ac_ext
11707 LIBS=$ac_check_soname_save_LIBS
11709 if ${ac_cv_lib_soname_Xi:+false} :; then :
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11711 $as_echo "not found" >&6; }
11713 else
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11715 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11717 cat >>confdefs.h <<_ACEOF
11718 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11719 _ACEOF
11724 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11725 case "x$with_xinput" in
11726 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11727 xno) ;;
11728 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11729 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11730 esac
11734 if test "x$ac_cv_lib_soname_Xi" != x
11735 then
11736 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11737 case "x$with_xinput2" in
11738 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11739 xno) ;;
11740 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11741 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11742 esac
11747 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11748 then
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11750 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11751 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11752 $as_echo_n "(cached) " >&6
11753 else
11754 ac_check_lib_save_LIBS=$LIBS
11755 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11759 /* Override any GCC internal prototype to avoid an error.
11760 Use char because int might match the return type of a GCC
11761 builtin and then its argument prototype would still apply. */
11762 #ifdef __cplusplus
11763 extern "C"
11764 #endif
11765 char XShmQueryExtension ();
11767 main ()
11769 return XShmQueryExtension ();
11771 return 0;
11773 _ACEOF
11774 if ac_fn_c_try_link "$LINENO"; then :
11775 ac_cv_lib_Xext_XShmQueryExtension=yes
11776 else
11777 ac_cv_lib_Xext_XShmQueryExtension=no
11779 rm -f core conftest.err conftest.$ac_objext \
11780 conftest$ac_exeext conftest.$ac_ext
11781 LIBS=$ac_check_lib_save_LIBS
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11784 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11785 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11787 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11792 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11793 case "x$with_xshm" in
11794 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11795 xno) ;;
11796 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11797 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11798 esac
11802 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11803 then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11805 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11806 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11807 $as_echo_n "(cached) " >&6
11808 else
11809 ac_check_lib_save_LIBS=$LIBS
11810 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11812 /* end confdefs.h. */
11814 /* Override any GCC internal prototype to avoid an error.
11815 Use char because int might match the return type of a GCC
11816 builtin and then its argument prototype would still apply. */
11817 #ifdef __cplusplus
11818 extern "C"
11819 #endif
11820 char XShapeQueryExtension ();
11822 main ()
11824 return XShapeQueryExtension ();
11826 return 0;
11828 _ACEOF
11829 if ac_fn_c_try_link "$LINENO"; then :
11830 ac_cv_lib_Xext_XShapeQueryExtension=yes
11831 else
11832 ac_cv_lib_Xext_XShapeQueryExtension=no
11834 rm -f core conftest.err conftest.$ac_objext \
11835 conftest$ac_exeext conftest.$ac_ext
11836 LIBS=$ac_check_lib_save_LIBS
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11839 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11840 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11842 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11847 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11848 case "x$with_xshape" in
11849 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11850 xno) ;;
11851 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11852 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11853 esac
11857 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11858 then
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11860 $as_echo_n "checking for -lXxf86vm... " >&6; }
11861 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11862 $as_echo_n "(cached) " >&6
11863 else
11864 ac_check_soname_save_LIBS=$LIBS
11865 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11867 /* end confdefs.h. */
11869 /* Override any GCC internal prototype to avoid an error.
11870 Use char because int might match the return type of a GCC
11871 builtin and then its argument prototype would still apply. */
11872 #ifdef __cplusplus
11873 extern "C"
11874 #endif
11875 char XF86VidModeQueryExtension ();
11877 main ()
11879 return XF86VidModeQueryExtension ();
11881 return 0;
11883 _ACEOF
11884 if ac_fn_c_try_link "$LINENO"; then :
11885 case "$LIBEXT" in
11886 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11887 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'` ;;
11888 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11889 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11890 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11891 fi ;;
11892 esac
11893 else
11894 ac_cv_lib_soname_Xxf86vm=
11896 rm -f core conftest.err conftest.$ac_objext \
11897 conftest$ac_exeext conftest.$ac_ext
11898 LIBS=$ac_check_soname_save_LIBS
11900 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11902 $as_echo "not found" >&6; }
11904 else
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11906 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11908 cat >>confdefs.h <<_ACEOF
11909 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11910 _ACEOF
11915 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11916 case "x$with_xxf86vm" in
11917 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11918 xno) ;;
11919 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11920 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11921 esac
11925 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11926 then
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11928 $as_echo_n "checking for -lXrender... " >&6; }
11929 if ${ac_cv_lib_soname_Xrender+:} false; then :
11930 $as_echo_n "(cached) " >&6
11931 else
11932 ac_check_soname_save_LIBS=$LIBS
11933 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11937 /* Override any GCC internal prototype to avoid an error.
11938 Use char because int might match the return type of a GCC
11939 builtin and then its argument prototype would still apply. */
11940 #ifdef __cplusplus
11941 extern "C"
11942 #endif
11943 char XRenderQueryExtension ();
11945 main ()
11947 return XRenderQueryExtension ();
11949 return 0;
11951 _ACEOF
11952 if ac_fn_c_try_link "$LINENO"; then :
11953 case "$LIBEXT" in
11954 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11955 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'` ;;
11956 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11957 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11958 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11959 fi ;;
11960 esac
11961 else
11962 ac_cv_lib_soname_Xrender=
11964 rm -f core conftest.err conftest.$ac_objext \
11965 conftest$ac_exeext conftest.$ac_ext
11966 LIBS=$ac_check_soname_save_LIBS
11968 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11970 $as_echo "not found" >&6; }
11972 else
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11974 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11976 cat >>confdefs.h <<_ACEOF
11977 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11978 _ACEOF
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11981 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11982 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11983 $as_echo_n "(cached) " >&6
11984 else
11985 ac_check_lib_save_LIBS=$LIBS
11986 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11988 /* end confdefs.h. */
11990 /* Override any GCC internal prototype to avoid an error.
11991 Use char because int might match the return type of a GCC
11992 builtin and then its argument prototype would still apply. */
11993 #ifdef __cplusplus
11994 extern "C"
11995 #endif
11996 char XRenderSetPictureTransform ();
11998 main ()
12000 return XRenderSetPictureTransform ();
12002 return 0;
12004 _ACEOF
12005 if ac_fn_c_try_link "$LINENO"; then :
12006 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12007 else
12008 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12010 rm -f core conftest.err conftest.$ac_objext \
12011 conftest$ac_exeext conftest.$ac_ext
12012 LIBS=$ac_check_lib_save_LIBS
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12015 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12016 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12018 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12023 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12024 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12025 $as_echo_n "(cached) " >&6
12026 else
12027 ac_check_lib_save_LIBS=$LIBS
12028 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12030 /* end confdefs.h. */
12032 /* Override any GCC internal prototype to avoid an error.
12033 Use char because int might match the return type of a GCC
12034 builtin and then its argument prototype would still apply. */
12035 #ifdef __cplusplus
12036 extern "C"
12037 #endif
12038 char XRenderCreateLinearGradient ();
12040 main ()
12042 return XRenderCreateLinearGradient ();
12044 return 0;
12046 _ACEOF
12047 if ac_fn_c_try_link "$LINENO"; then :
12048 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12049 else
12050 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12052 rm -f core conftest.err conftest.$ac_objext \
12053 conftest$ac_exeext conftest.$ac_ext
12054 LIBS=$ac_check_lib_save_LIBS
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12057 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12058 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12060 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12067 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12068 case "x$with_xrender" in
12069 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12070 xno) ;;
12071 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12072 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12073 esac
12077 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12078 then
12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12081 #include <X11/Xlib.h>
12082 #include <X11/extensions/Xrandr.h>
12084 main ()
12086 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_compile "$LINENO"; then :
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12093 $as_echo_n "checking for -lXrandr... " >&6; }
12094 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12095 $as_echo_n "(cached) " >&6
12096 else
12097 ac_check_soname_save_LIBS=$LIBS
12098 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12100 /* end confdefs.h. */
12102 /* Override any GCC internal prototype to avoid an error.
12103 Use char because int might match the return type of a GCC
12104 builtin and then its argument prototype would still apply. */
12105 #ifdef __cplusplus
12106 extern "C"
12107 #endif
12108 char XRRQueryExtension ();
12110 main ()
12112 return XRRQueryExtension ();
12114 return 0;
12116 _ACEOF
12117 if ac_fn_c_try_link "$LINENO"; then :
12118 case "$LIBEXT" in
12119 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12120 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'` ;;
12121 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12122 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12123 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12124 fi ;;
12125 esac
12126 else
12127 ac_cv_lib_soname_Xrandr=
12129 rm -f core conftest.err conftest.$ac_objext \
12130 conftest$ac_exeext conftest.$ac_ext
12131 LIBS=$ac_check_soname_save_LIBS
12133 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12135 $as_echo "not found" >&6; }
12137 else
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12139 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12141 cat >>confdefs.h <<_ACEOF
12142 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12143 _ACEOF
12145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12147 #include <X11/Xlib.h>
12148 #include <X11/extensions/Xrandr.h>
12150 main ()
12152 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12154 return 0;
12156 _ACEOF
12157 if ac_fn_c_try_compile "$LINENO"; then :
12159 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12161 else
12162 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12169 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12170 case "x$with_xrandr" in
12171 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12172 xno) ;;
12173 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12174 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12175 esac
12179 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12180 then
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12183 #include <X11/Xlib.h>
12184 #include <X11/extensions/Xfixes.h>
12186 main ()
12188 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12190 return 0;
12192 _ACEOF
12193 if ac_fn_c_try_compile "$LINENO"; then :
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12195 $as_echo_n "checking for -lXfixes... " >&6; }
12196 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12197 $as_echo_n "(cached) " >&6
12198 else
12199 ac_check_soname_save_LIBS=$LIBS
12200 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12202 /* end confdefs.h. */
12204 /* Override any GCC internal prototype to avoid an error.
12205 Use char because int might match the return type of a GCC
12206 builtin and then its argument prototype would still apply. */
12207 #ifdef __cplusplus
12208 extern "C"
12209 #endif
12210 char XFixesQueryVersion ();
12212 main ()
12214 return XFixesQueryVersion ();
12216 return 0;
12218 _ACEOF
12219 if ac_fn_c_try_link "$LINENO"; then :
12220 case "$LIBEXT" in
12221 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12222 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'` ;;
12223 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12224 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12225 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12226 fi ;;
12227 esac
12228 else
12229 ac_cv_lib_soname_Xfixes=
12231 rm -f core conftest.err conftest.$ac_objext \
12232 conftest$ac_exeext conftest.$ac_ext
12233 LIBS=$ac_check_soname_save_LIBS
12235 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12237 $as_echo "not found" >&6; }
12239 else
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12241 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12243 cat >>confdefs.h <<_ACEOF
12244 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12245 _ACEOF
12250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12252 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12253 case "x$with_xfixes" in
12254 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12255 xno) ;;
12256 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12257 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12258 esac
12262 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12263 then
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12266 #include <X11/Xlib.h>
12267 #include <X11/extensions/Xinerama.h>
12269 main ()
12271 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12273 return 0;
12275 _ACEOF
12276 if ac_fn_c_try_compile "$LINENO"; then :
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12278 $as_echo_n "checking for -lXinerama... " >&6; }
12279 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12280 $as_echo_n "(cached) " >&6
12281 else
12282 ac_check_soname_save_LIBS=$LIBS
12283 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12287 /* Override any GCC internal prototype to avoid an error.
12288 Use char because int might match the return type of a GCC
12289 builtin and then its argument prototype would still apply. */
12290 #ifdef __cplusplus
12291 extern "C"
12292 #endif
12293 char XineramaQueryScreens ();
12295 main ()
12297 return XineramaQueryScreens ();
12299 return 0;
12301 _ACEOF
12302 if ac_fn_c_try_link "$LINENO"; then :
12303 case "$LIBEXT" in
12304 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12305 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'` ;;
12306 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12307 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12308 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12309 fi ;;
12310 esac
12311 else
12312 ac_cv_lib_soname_Xinerama=
12314 rm -f core conftest.err conftest.$ac_objext \
12315 conftest$ac_exeext conftest.$ac_ext
12316 LIBS=$ac_check_soname_save_LIBS
12318 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12320 $as_echo "not found" >&6; }
12322 else
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12324 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12326 cat >>confdefs.h <<_ACEOF
12327 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12328 _ACEOF
12333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12335 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12336 case "x$with_xinerama" in
12337 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12338 xno) ;;
12339 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12340 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12341 esac
12345 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12346 then
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12348 $as_echo_n "checking for -lXcomposite... " >&6; }
12349 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12350 $as_echo_n "(cached) " >&6
12351 else
12352 ac_check_soname_save_LIBS=$LIBS
12353 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355 /* end confdefs.h. */
12357 /* Override any GCC internal prototype to avoid an error.
12358 Use char because int might match the return type of a GCC
12359 builtin and then its argument prototype would still apply. */
12360 #ifdef __cplusplus
12361 extern "C"
12362 #endif
12363 char XCompositeRedirectWindow ();
12365 main ()
12367 return XCompositeRedirectWindow ();
12369 return 0;
12371 _ACEOF
12372 if ac_fn_c_try_link "$LINENO"; then :
12373 case "$LIBEXT" in
12374 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12375 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'` ;;
12376 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12377 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12378 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12379 fi ;;
12380 esac
12381 else
12382 ac_cv_lib_soname_Xcomposite=
12384 rm -f core conftest.err conftest.$ac_objext \
12385 conftest$ac_exeext conftest.$ac_ext
12386 LIBS=$ac_check_soname_save_LIBS
12388 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12390 $as_echo "not found" >&6; }
12392 else
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12394 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12396 cat >>confdefs.h <<_ACEOF
12397 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12398 _ACEOF
12403 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12404 case "x$with_xcomposite" in
12405 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12406 xno) ;;
12407 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12408 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12409 esac
12413 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12414 #include <X11/Xlib.h>
12415 #endif
12417 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12419 cat >>confdefs.h <<_ACEOF
12420 #define HAVE_XICCALLBACK_CALLBACK 1
12421 _ACEOF
12425 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12426 #include <X11/Xlib.h>
12427 #endif
12429 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12431 cat >>confdefs.h <<_ACEOF
12432 #define HAVE_XEVENT_XCOOKIE 1
12433 _ACEOF
12440 opengl_msg=""
12441 if test "x$with_opengl" != "xno"
12442 then
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12444 $as_echo_n "checking for -lGL... " >&6; }
12445 if ${ac_cv_lib_soname_GL+:} false; then :
12446 $as_echo_n "(cached) " >&6
12447 else
12448 ac_check_soname_save_LIBS=$LIBS
12449 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12451 /* end confdefs.h. */
12453 /* Override any GCC internal prototype to avoid an error.
12454 Use char because int might match the return type of a GCC
12455 builtin and then its argument prototype would still apply. */
12456 #ifdef __cplusplus
12457 extern "C"
12458 #endif
12459 char glXCreateContext ();
12461 main ()
12463 return glXCreateContext ();
12465 return 0;
12467 _ACEOF
12468 if ac_fn_c_try_link "$LINENO"; then :
12469 case "$LIBEXT" in
12470 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12471 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'` ;;
12472 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12473 if ${ac_cv_lib_soname_GL:+false} :; then :
12474 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12475 fi ;;
12476 esac
12477 else
12478 ac_cv_lib_soname_GL=
12480 rm -f core conftest.err conftest.$ac_objext \
12481 conftest$ac_exeext conftest.$ac_ext
12482 LIBS=$ac_check_soname_save_LIBS
12484 if ${ac_cv_lib_soname_GL:+false} :; then :
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12486 $as_echo "not found" >&6; }
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12488 $as_echo_n "checking for -lGL... " >&6; }
12489 if ${ac_cv_lib_soname_GL+:} false; then :
12490 $as_echo_n "(cached) " >&6
12491 else
12492 ac_check_soname_save_LIBS=$LIBS
12493 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"
12494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12497 /* Override any GCC internal prototype to avoid an error.
12498 Use char because int might match the return type of a GCC
12499 builtin and then its argument prototype would still apply. */
12500 #ifdef __cplusplus
12501 extern "C"
12502 #endif
12503 char glXCreateContext ();
12505 main ()
12507 return glXCreateContext ();
12509 return 0;
12511 _ACEOF
12512 if ac_fn_c_try_link "$LINENO"; then :
12513 case "$LIBEXT" in
12514 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12515 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'` ;;
12516 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12517 if ${ac_cv_lib_soname_GL:+false} :; then :
12518 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12519 fi ;;
12520 esac
12521 else
12522 ac_cv_lib_soname_GL=
12524 rm -f core conftest.err conftest.$ac_objext \
12525 conftest$ac_exeext conftest.$ac_ext
12526 LIBS=$ac_check_soname_save_LIBS
12528 if ${ac_cv_lib_soname_GL:+false} :; then :
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12530 $as_echo "not found" >&6; }
12531 if test -f /usr/X11R6/lib/libGL.a
12532 then
12533 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12534 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12535 else
12536 opengl_msg="No OpenGL library found on this system."
12538 else
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12540 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12542 cat >>confdefs.h <<_ACEOF
12543 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12544 _ACEOF
12546 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"
12548 else
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12550 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12552 cat >>confdefs.h <<_ACEOF
12553 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12554 _ACEOF
12556 OPENGL_LIBS="-lGL"
12558 if test "x$with_osmesa" != "xno"
12559 then
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12561 $as_echo_n "checking for -lOSMesa... " >&6; }
12562 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12563 $as_echo_n "(cached) " >&6
12564 else
12565 ac_check_soname_save_LIBS=$LIBS
12566 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12570 /* Override any GCC internal prototype to avoid an error.
12571 Use char because int might match the return type of a GCC
12572 builtin and then its argument prototype would still apply. */
12573 #ifdef __cplusplus
12574 extern "C"
12575 #endif
12576 char OSMesaGetProcAddress ();
12578 main ()
12580 return OSMesaGetProcAddress ();
12582 return 0;
12584 _ACEOF
12585 if ac_fn_c_try_link "$LINENO"; then :
12586 case "$LIBEXT" in
12587 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12588 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'` ;;
12589 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12590 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12591 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12592 fi ;;
12593 esac
12594 else
12595 ac_cv_lib_soname_OSMesa=
12597 rm -f core conftest.err conftest.$ac_objext \
12598 conftest$ac_exeext conftest.$ac_ext
12599 LIBS=$ac_check_soname_save_LIBS
12601 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12603 $as_echo "not found" >&6; }
12605 else
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12607 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12609 cat >>confdefs.h <<_ACEOF
12610 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12611 _ACEOF
12615 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12616 case "x$with_osmesa" in
12617 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12618 xno) ;;
12619 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12620 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12621 esac
12626 if test -n "$opengl_msg"; then :
12627 case "x$with_opengl" in
12628 x) as_fn_append wine_warnings "|$opengl_msg
12629 OpenGL and Direct3D won't be supported." ;;
12630 xno) ;;
12631 *) as_fn_error $? "$opengl_msg
12632 OpenGL and Direct3D won't be supported.
12633 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12634 esac
12638 CPPFLAGS="$ac_save_CPPFLAGS"
12639 else
12640 X_CFLAGS=""
12641 X_LIBS=""
12644 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12645 then
12646 if test "x$X_LIBS" = "x"; then :
12647 case "x$with_x" in
12648 xno) ;;
12649 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12650 without X support, which probably isn't what you want. You will need
12651 to install ${notice_platform}development packages of Xlib at the very least.
12652 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12653 esac
12654 enable_winex11_drv=${enable_winex11_drv:-no}
12656 else
12657 if test "x$X_LIBS" = "x"; then :
12658 case "x$with_x" in
12659 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12660 xno) ;;
12661 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12662 This is an error since --with-x was requested." "$LINENO" 5 ;;
12663 esac
12664 enable_winex11_drv=${enable_winex11_drv:-no}
12668 if test "$ac_cv_header_CL_cl_h" = "yes"
12669 then
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12671 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12672 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12673 $as_echo_n "(cached) " >&6
12674 else
12675 ac_check_lib_save_LIBS=$LIBS
12676 LIBS="-lOpenCL $LIBS"
12677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12680 /* Override any GCC internal prototype to avoid an error.
12681 Use char because int might match the return type of a GCC
12682 builtin and then its argument prototype would still apply. */
12683 #ifdef __cplusplus
12684 extern "C"
12685 #endif
12686 char clGetPlatformInfo ();
12688 main ()
12690 return clGetPlatformInfo ();
12692 return 0;
12694 _ACEOF
12695 if ac_fn_c_try_link "$LINENO"; then :
12696 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12697 else
12698 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12700 rm -f core conftest.err conftest.$ac_objext \
12701 conftest$ac_exeext conftest.$ac_ext
12702 LIBS=$ac_check_lib_save_LIBS
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12705 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12706 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12707 OPENCL_LIBS="-lOpenCL"
12712 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12713 case "x$with_opencl" in
12714 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12715 xno) ;;
12716 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12717 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12718 esac
12719 enable_opencl=${enable_opencl:-no}
12722 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12723 then
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12725 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12726 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12727 $as_echo_n "(cached) " >&6
12728 else
12729 ac_check_lib_save_LIBS=$LIBS
12730 LIBS="-lpcap $LIBS"
12731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12732 /* end confdefs.h. */
12734 /* Override any GCC internal prototype to avoid an error.
12735 Use char because int might match the return type of a GCC
12736 builtin and then its argument prototype would still apply. */
12737 #ifdef __cplusplus
12738 extern "C"
12739 #endif
12740 char pcap_create ();
12742 main ()
12744 return pcap_create ();
12746 return 0;
12748 _ACEOF
12749 if ac_fn_c_try_link "$LINENO"; then :
12750 ac_cv_lib_pcap_pcap_create=yes
12751 else
12752 ac_cv_lib_pcap_pcap_create=no
12754 rm -f core conftest.err conftest.$ac_objext \
12755 conftest$ac_exeext conftest.$ac_ext
12756 LIBS=$ac_check_lib_save_LIBS
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12759 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12760 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12761 PCAP_LIBS="-lpcap"
12766 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12767 case "x$with_pcap" in
12768 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12769 xno) ;;
12770 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12771 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12772 esac
12773 enable_wpcap=${enable_wpcap:-no}
12777 if test "x$with_xml" != "xno"
12778 then
12779 if ${XML2_CFLAGS:+false} :; then :
12780 if ${PKG_CONFIG+:} false; then :
12781 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12784 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12785 if ${XML2_LIBS:+false} :; then :
12786 if ${PKG_CONFIG+:} false; then :
12787 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12790 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12791 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12792 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12793 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12794 ac_save_CPPFLAGS=$CPPFLAGS
12795 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12796 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12797 do :
12798 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12799 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12800 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12801 cat >>confdefs.h <<_ACEOF
12802 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12803 _ACEOF
12807 done
12809 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"
12810 then
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12812 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12813 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12814 $as_echo_n "(cached) " >&6
12815 else
12816 ac_check_lib_save_LIBS=$LIBS
12817 LIBS="-lxml2 $XML2_LIBS $LIBS"
12818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12819 /* end confdefs.h. */
12821 /* Override any GCC internal prototype to avoid an error.
12822 Use char because int might match the return type of a GCC
12823 builtin and then its argument prototype would still apply. */
12824 #ifdef __cplusplus
12825 extern "C"
12826 #endif
12827 char xmlParseMemory ();
12829 main ()
12831 return xmlParseMemory ();
12833 return 0;
12835 _ACEOF
12836 if ac_fn_c_try_link "$LINENO"; then :
12837 ac_cv_lib_xml2_xmlParseMemory=yes
12838 else
12839 ac_cv_lib_xml2_xmlParseMemory=no
12841 rm -f core conftest.err conftest.$ac_objext \
12842 conftest$ac_exeext conftest.$ac_ext
12843 LIBS=$ac_check_lib_save_LIBS
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12846 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12847 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12849 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12851 else
12852 XML2_LIBS=""
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12856 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12857 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12858 $as_echo_n "(cached) " >&6
12859 else
12860 ac_check_lib_save_LIBS=$LIBS
12861 LIBS="-lxml2 $XML2_LIBS $LIBS"
12862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12863 /* end confdefs.h. */
12865 /* Override any GCC internal prototype to avoid an error.
12866 Use char because int might match the return type of a GCC
12867 builtin and then its argument prototype would still apply. */
12868 #ifdef __cplusplus
12869 extern "C"
12870 #endif
12871 char xmlReadMemory ();
12873 main ()
12875 return xmlReadMemory ();
12877 return 0;
12879 _ACEOF
12880 if ac_fn_c_try_link "$LINENO"; then :
12881 ac_cv_lib_xml2_xmlReadMemory=yes
12882 else
12883 ac_cv_lib_xml2_xmlReadMemory=no
12885 rm -f core conftest.err conftest.$ac_objext \
12886 conftest$ac_exeext conftest.$ac_ext
12887 LIBS=$ac_check_lib_save_LIBS
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12890 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12891 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12893 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12898 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12899 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12900 $as_echo_n "(cached) " >&6
12901 else
12902 ac_check_lib_save_LIBS=$LIBS
12903 LIBS="-lxml2 $XML2_LIBS $LIBS"
12904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12905 /* end confdefs.h. */
12907 /* Override any GCC internal prototype to avoid an error.
12908 Use char because int might match the return type of a GCC
12909 builtin and then its argument prototype would still apply. */
12910 #ifdef __cplusplus
12911 extern "C"
12912 #endif
12913 char xmlNewDocPI ();
12915 main ()
12917 return xmlNewDocPI ();
12919 return 0;
12921 _ACEOF
12922 if ac_fn_c_try_link "$LINENO"; then :
12923 ac_cv_lib_xml2_xmlNewDocPI=yes
12924 else
12925 ac_cv_lib_xml2_xmlNewDocPI=no
12927 rm -f core conftest.err conftest.$ac_objext \
12928 conftest$ac_exeext conftest.$ac_ext
12929 LIBS=$ac_check_lib_save_LIBS
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12932 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12933 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12935 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12940 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12941 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12942 $as_echo_n "(cached) " >&6
12943 else
12944 ac_check_lib_save_LIBS=$LIBS
12945 LIBS="-lxml2 $XML2_LIBS $LIBS"
12946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12947 /* end confdefs.h. */
12949 /* Override any GCC internal prototype to avoid an error.
12950 Use char because int might match the return type of a GCC
12951 builtin and then its argument prototype would still apply. */
12952 #ifdef __cplusplus
12953 extern "C"
12954 #endif
12955 char xmlSchemaSetParserStructuredErrors ();
12957 main ()
12959 return xmlSchemaSetParserStructuredErrors ();
12961 return 0;
12963 _ACEOF
12964 if ac_fn_c_try_link "$LINENO"; then :
12965 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12966 else
12967 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12969 rm -f core conftest.err conftest.$ac_objext \
12970 conftest$ac_exeext conftest.$ac_ext
12971 LIBS=$ac_check_lib_save_LIBS
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12974 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12975 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12977 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12982 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12983 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12984 $as_echo_n "(cached) " >&6
12985 else
12986 ac_check_lib_save_LIBS=$LIBS
12987 LIBS="-lxml2 $XML2_LIBS $LIBS"
12988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12989 /* end confdefs.h. */
12991 /* Override any GCC internal prototype to avoid an error.
12992 Use char because int might match the return type of a GCC
12993 builtin and then its argument prototype would still apply. */
12994 #ifdef __cplusplus
12995 extern "C"
12996 #endif
12997 char xmlSchemaSetValidStructuredErrors ();
12999 main ()
13001 return xmlSchemaSetValidStructuredErrors ();
13003 return 0;
13005 _ACEOF
13006 if ac_fn_c_try_link "$LINENO"; then :
13007 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13008 else
13009 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13011 rm -f core conftest.err conftest.$ac_objext \
13012 conftest$ac_exeext conftest.$ac_ext
13013 LIBS=$ac_check_lib_save_LIBS
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13016 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13017 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13019 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13024 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13025 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13026 $as_echo_n "(cached) " >&6
13027 else
13028 ac_check_lib_save_LIBS=$LIBS
13029 LIBS="-lxml2 $XML2_LIBS $LIBS"
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13033 /* Override any GCC internal prototype to avoid an error.
13034 Use char because int might match the return type of a GCC
13035 builtin and then its argument prototype would still apply. */
13036 #ifdef __cplusplus
13037 extern "C"
13038 #endif
13039 char xmlFirstElementChild ();
13041 main ()
13043 return xmlFirstElementChild ();
13045 return 0;
13047 _ACEOF
13048 if ac_fn_c_try_link "$LINENO"; then :
13049 ac_cv_lib_xml2_xmlFirstElementChild=yes
13050 else
13051 ac_cv_lib_xml2_xmlFirstElementChild=no
13053 rm -f core conftest.err conftest.$ac_objext \
13054 conftest$ac_exeext conftest.$ac_ext
13055 LIBS=$ac_check_lib_save_LIBS
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13058 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13059 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13061 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13065 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13067 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13069 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13073 else
13074 XML2_CFLAGS=""
13075 XML2_LIBS=""
13077 CPPFLAGS=$ac_save_CPPFLAGS
13080 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13081 case "x$with_xml" in
13082 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13083 xno) ;;
13084 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13085 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13086 esac
13090 if test "x$with_xslt" != "xno"
13091 then
13092 if ${XSLT_CFLAGS:+false} :; then :
13093 if ${PKG_CONFIG+:} false; then :
13094 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13097 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13098 if ${XSLT_LIBS:+false} :; then :
13099 if ${PKG_CONFIG+:} false; then :
13100 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13103 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13104 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13105 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13106 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13107 ac_save_CPPFLAGS=$CPPFLAGS
13108 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13109 for ac_header in libxslt/pattern.h libxslt/transform.h
13110 do :
13111 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13112 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13113 # include <libxslt/pattern.h>
13114 #endif
13116 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13117 cat >>confdefs.h <<_ACEOF
13118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13119 _ACEOF
13123 done
13125 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13126 then
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13128 $as_echo_n "checking for -lxslt... " >&6; }
13129 if ${ac_cv_lib_soname_xslt+:} false; then :
13130 $as_echo_n "(cached) " >&6
13131 else
13132 ac_check_soname_save_LIBS=$LIBS
13133 LIBS="-lxslt $XSLT_LIBS $LIBS"
13134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13135 /* end confdefs.h. */
13137 /* Override any GCC internal prototype to avoid an error.
13138 Use char because int might match the return type of a GCC
13139 builtin and then its argument prototype would still apply. */
13140 #ifdef __cplusplus
13141 extern "C"
13142 #endif
13143 char xsltCompilePattern ();
13145 main ()
13147 return xsltCompilePattern ();
13149 return 0;
13151 _ACEOF
13152 if ac_fn_c_try_link "$LINENO"; then :
13153 case "$LIBEXT" in
13154 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13155 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'` ;;
13156 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13157 if ${ac_cv_lib_soname_xslt:+false} :; then :
13158 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13159 fi ;;
13160 esac
13161 else
13162 ac_cv_lib_soname_xslt=
13164 rm -f core conftest.err conftest.$ac_objext \
13165 conftest$ac_exeext conftest.$ac_ext
13166 LIBS=$ac_check_soname_save_LIBS
13168 if ${ac_cv_lib_soname_xslt:+false} :; then :
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13170 $as_echo "not found" >&6; }
13172 else
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13174 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13176 cat >>confdefs.h <<_ACEOF
13177 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13178 _ACEOF
13182 else
13183 XSLT_CFLAGS=""
13185 CPPFLAGS=$ac_save_CPPFLAGS
13188 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13189 case "x$with_xslt" in
13190 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13191 xno) ;;
13192 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13193 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13194 esac
13198 if test "x$with_inotify" != "xno"
13199 then
13200 if ${INOTIFY_CFLAGS:+false} :; then :
13201 if ${PKG_CONFIG+:} false; then :
13202 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13206 if ${INOTIFY_LIBS:+false} :; then :
13207 if ${PKG_CONFIG+:} false; then :
13208 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13213 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13214 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13215 ac_save_CPPFLAGS=$CPPFLAGS
13216 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13217 for ac_header in sys/inotify.h
13218 do :
13219 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13220 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13221 cat >>confdefs.h <<_ACEOF
13222 #define HAVE_SYS_INOTIFY_H 1
13223 _ACEOF
13227 done
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13230 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13231 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13232 $as_echo_n "(cached) " >&6
13233 else
13234 ac_check_lib_save_LIBS=$LIBS
13235 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13237 /* end confdefs.h. */
13239 /* Override any GCC internal prototype to avoid an error.
13240 Use char because int might match the return type of a GCC
13241 builtin and then its argument prototype would still apply. */
13242 #ifdef __cplusplus
13243 extern "C"
13244 #endif
13245 char inotify_add_watch ();
13247 main ()
13249 return inotify_add_watch ();
13251 return 0;
13253 _ACEOF
13254 if ac_fn_c_try_link "$LINENO"; then :
13255 ac_cv_lib_inotify_inotify_add_watch=yes
13256 else
13257 ac_cv_lib_inotify_inotify_add_watch=no
13259 rm -f core conftest.err conftest.$ac_objext \
13260 conftest$ac_exeext conftest.$ac_ext
13261 LIBS=$ac_check_lib_save_LIBS
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13264 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13265 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13267 else
13268 INOTIFY_LIBS=""
13271 CPPFLAGS=$ac_save_CPPFLAGS
13274 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13275 case "x$with_inotify" in
13276 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13277 xno) ;;
13278 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13279 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13280 esac
13284 if test "x$with_dbus" != "xno"
13285 then
13286 if ${DBUS_CFLAGS:+false} :; then :
13287 if ${PKG_CONFIG+:} false; then :
13288 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13292 if ${DBUS_LIBS:+false} :; then :
13293 if ${PKG_CONFIG+:} false; then :
13294 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13299 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13300 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13301 ac_save_CPPFLAGS=$CPPFLAGS
13302 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13303 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13304 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13306 $as_echo_n "checking for -ldbus-1... " >&6; }
13307 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13308 $as_echo_n "(cached) " >&6
13309 else
13310 ac_check_soname_save_LIBS=$LIBS
13311 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13313 /* end confdefs.h. */
13315 /* Override any GCC internal prototype to avoid an error.
13316 Use char because int might match the return type of a GCC
13317 builtin and then its argument prototype would still apply. */
13318 #ifdef __cplusplus
13319 extern "C"
13320 #endif
13321 char dbus_connection_close ();
13323 main ()
13325 return dbus_connection_close ();
13327 return 0;
13329 _ACEOF
13330 if ac_fn_c_try_link "$LINENO"; then :
13331 case "$LIBEXT" in
13332 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13333 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'` ;;
13334 *) 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'`
13335 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13336 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13337 fi ;;
13338 esac
13339 else
13340 ac_cv_lib_soname_dbus_1=
13342 rm -f core conftest.err conftest.$ac_objext \
13343 conftest$ac_exeext conftest.$ac_ext
13344 LIBS=$ac_check_soname_save_LIBS
13346 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13348 $as_echo "not found" >&6; }
13349 DBUS_CFLAGS=""
13350 else
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13352 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13354 cat >>confdefs.h <<_ACEOF
13355 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13356 _ACEOF
13360 else
13361 DBUS_CFLAGS=""
13365 CPPFLAGS=$ac_save_CPPFLAGS
13368 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13369 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13370 case "x$with_dbus" in
13371 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13372 xno) ;;
13373 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13374 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13375 esac
13379 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13380 then
13381 if ${HAL_CFLAGS:+false} :; then :
13382 if ${PKG_CONFIG+:} false; then :
13383 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13387 if ${HAL_LIBS:+false} :; then :
13388 if ${PKG_CONFIG+:} false; then :
13389 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13393 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13394 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13395 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13396 ac_save_CPPFLAGS=$CPPFLAGS
13397 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13398 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13399 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13401 $as_echo_n "checking for -lhal... " >&6; }
13402 if ${ac_cv_lib_soname_hal+:} false; then :
13403 $as_echo_n "(cached) " >&6
13404 else
13405 ac_check_soname_save_LIBS=$LIBS
13406 LIBS="-lhal $HAL_LIBS $LIBS"
13407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408 /* end confdefs.h. */
13410 /* Override any GCC internal prototype to avoid an error.
13411 Use char because int might match the return type of a GCC
13412 builtin and then its argument prototype would still apply. */
13413 #ifdef __cplusplus
13414 extern "C"
13415 #endif
13416 char libhal_ctx_new ();
13418 main ()
13420 return libhal_ctx_new ();
13422 return 0;
13424 _ACEOF
13425 if ac_fn_c_try_link "$LINENO"; then :
13426 case "$LIBEXT" in
13427 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13428 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'` ;;
13429 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13430 if ${ac_cv_lib_soname_hal:+false} :; then :
13431 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13432 fi ;;
13433 esac
13434 else
13435 ac_cv_lib_soname_hal=
13437 rm -f core conftest.err conftest.$ac_objext \
13438 conftest$ac_exeext conftest.$ac_ext
13439 LIBS=$ac_check_soname_save_LIBS
13441 if ${ac_cv_lib_soname_hal:+false} :; then :
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13443 $as_echo "not found" >&6; }
13444 HAL_CFLAGS=""
13445 else
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13447 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13449 cat >>confdefs.h <<_ACEOF
13450 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13451 _ACEOF
13455 else
13456 HAL_CFLAGS=""
13460 CPPFLAGS=$ac_save_CPPFLAGS
13462 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13463 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13464 case "x$with_hal" in
13465 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13466 xno) ;;
13467 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13468 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13469 esac
13474 if test "x$with_gnutls" != "xno"
13475 then
13476 if ${GNUTLS_CFLAGS:+false} :; then :
13477 if ${PKG_CONFIG+:} false; then :
13478 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13482 if ${GNUTLS_LIBS:+false} :; then :
13483 if ${PKG_CONFIG+:} false; then :
13484 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13488 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13489 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13490 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13491 ac_save_CPPFLAGS=$CPPFLAGS
13492 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13493 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13494 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13496 /* end confdefs.h. */
13497 #include <gnutls/gnutls.h>
13498 #include <gnutls/crypto.h>
13500 main ()
13502 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13504 return 0;
13506 _ACEOF
13507 if ac_fn_c_try_compile "$LINENO"; then :
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13509 $as_echo_n "checking for -lgnutls... " >&6; }
13510 if ${ac_cv_lib_soname_gnutls+:} false; then :
13511 $as_echo_n "(cached) " >&6
13512 else
13513 ac_check_soname_save_LIBS=$LIBS
13514 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13516 /* end confdefs.h. */
13518 /* Override any GCC internal prototype to avoid an error.
13519 Use char because int might match the return type of a GCC
13520 builtin and then its argument prototype would still apply. */
13521 #ifdef __cplusplus
13522 extern "C"
13523 #endif
13524 char gnutls_global_init ();
13526 main ()
13528 return gnutls_global_init ();
13530 return 0;
13532 _ACEOF
13533 if ac_fn_c_try_link "$LINENO"; then :
13534 case "$LIBEXT" in
13535 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13536 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'` ;;
13537 *) 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'`
13538 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13539 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'`
13540 fi ;;
13541 esac
13542 else
13543 ac_cv_lib_soname_gnutls=
13545 rm -f core conftest.err conftest.$ac_objext \
13546 conftest$ac_exeext conftest.$ac_ext
13547 LIBS=$ac_check_soname_save_LIBS
13549 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13551 $as_echo "not found" >&6; }
13552 GNUTLS_CFLAGS=""
13553 else
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13555 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13557 cat >>confdefs.h <<_ACEOF
13558 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13559 _ACEOF
13563 ac_wine_check_funcs_save_LIBS="$LIBS"
13564 LIBS="$LIBS $GNUTLS_LIBS"
13565 for ac_func in gnutls_cipher_init
13566 do :
13567 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13568 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13569 cat >>confdefs.h <<_ACEOF
13570 #define HAVE_GNUTLS_CIPHER_INIT 1
13571 _ACEOF
13573 else
13574 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13576 done
13578 LIBS="$ac_wine_check_funcs_save_LIBS"
13580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13581 else
13582 GNUTLS_CFLAGS=""
13586 CPPFLAGS=$ac_save_CPPFLAGS
13589 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13590 case "x$with_gnutls" in
13591 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13592 xno) ;;
13593 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13594 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13595 esac
13599 if test "x$with_sane" != "xno"
13600 then
13601 if ${SANE_CFLAGS:+false} :; then :
13602 if ${PKG_CONFIG+:} false; then :
13603 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13606 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13607 if ${SANE_LIBS:+false} :; then :
13608 if ${PKG_CONFIG+:} false; then :
13609 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13612 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13614 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13615 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13616 ac_save_CPPFLAGS=$CPPFLAGS
13617 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13618 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13619 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13621 $as_echo_n "checking for -lsane... " >&6; }
13622 if ${ac_cv_lib_soname_sane+:} false; then :
13623 $as_echo_n "(cached) " >&6
13624 else
13625 ac_check_soname_save_LIBS=$LIBS
13626 LIBS="-lsane $SANE_LIBS $LIBS"
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13630 /* Override any GCC internal prototype to avoid an error.
13631 Use char because int might match the return type of a GCC
13632 builtin and then its argument prototype would still apply. */
13633 #ifdef __cplusplus
13634 extern "C"
13635 #endif
13636 char sane_init ();
13638 main ()
13640 return sane_init ();
13642 return 0;
13644 _ACEOF
13645 if ac_fn_c_try_link "$LINENO"; then :
13646 case "$LIBEXT" in
13647 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13648 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'` ;;
13649 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13650 if ${ac_cv_lib_soname_sane:+false} :; then :
13651 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13652 fi ;;
13653 esac
13654 else
13655 ac_cv_lib_soname_sane=
13657 rm -f core conftest.err conftest.$ac_objext \
13658 conftest$ac_exeext conftest.$ac_ext
13659 LIBS=$ac_check_soname_save_LIBS
13661 if ${ac_cv_lib_soname_sane:+false} :; then :
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13663 $as_echo "not found" >&6; }
13664 SANE_CFLAGS=""
13665 else
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13667 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13669 cat >>confdefs.h <<_ACEOF
13670 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13671 _ACEOF
13675 else
13676 SANE_CFLAGS=""
13680 CPPFLAGS=$ac_save_CPPFLAGS
13683 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13684 case "x$with_sane" in
13685 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13686 xno) ;;
13687 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13688 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13689 esac
13693 if test "x$with_usb" != "xno"
13694 then
13695 if ${USB_CFLAGS:+false} :; then :
13696 if ${PKG_CONFIG+:} false; then :
13697 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13701 if ${USB_LIBS:+false} :; then :
13702 if ${PKG_CONFIG+:} false; then :
13703 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13707 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13708 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13709 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13710 ac_save_CPPFLAGS=$CPPFLAGS
13711 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13712 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13713 if test "x$ac_cv_header_libusb_h" = xyes; then :
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13715 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13716 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13717 $as_echo_n "(cached) " >&6
13718 else
13719 ac_check_lib_save_LIBS=$LIBS
13720 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13724 /* Override any GCC internal prototype to avoid an error.
13725 Use char because int might match the return type of a GCC
13726 builtin and then its argument prototype would still apply. */
13727 #ifdef __cplusplus
13728 extern "C"
13729 #endif
13730 char libusb_interrupt_event_handler ();
13732 main ()
13734 return libusb_interrupt_event_handler ();
13736 return 0;
13738 _ACEOF
13739 if ac_fn_c_try_link "$LINENO"; then :
13740 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13741 else
13742 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13744 rm -f core conftest.err conftest.$ac_objext \
13745 conftest$ac_exeext conftest.$ac_ext
13746 LIBS=$ac_check_lib_save_LIBS
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13749 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13750 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13752 else
13753 USB_LIBS=""
13756 else
13757 USB_LIBS=""
13761 CPPFLAGS=$ac_save_CPPFLAGS
13764 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13765 case "x$with_usb" in
13766 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13767 xno) ;;
13768 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13769 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13770 esac
13771 enable_wineusb_sys=${enable_wineusb_sys:-no}
13774 if test "x$with_v4l2" != "xno"
13775 then
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13777 $as_echo_n "checking for -lv4l2... " >&6; }
13778 if ${ac_cv_lib_soname_v4l2+:} false; then :
13779 $as_echo_n "(cached) " >&6
13780 else
13781 ac_check_soname_save_LIBS=$LIBS
13782 LIBS="-lv4l2 $LIBS"
13783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13786 /* Override any GCC internal prototype to avoid an error.
13787 Use char because int might match the return type of a GCC
13788 builtin and then its argument prototype would still apply. */
13789 #ifdef __cplusplus
13790 extern "C"
13791 #endif
13792 char v4l2_open ();
13794 main ()
13796 return v4l2_open ();
13798 return 0;
13800 _ACEOF
13801 if ac_fn_c_try_link "$LINENO"; then :
13802 case "$LIBEXT" in
13803 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13804 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'` ;;
13805 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13806 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13807 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13808 fi ;;
13809 esac
13810 else
13811 ac_cv_lib_soname_v4l2=
13813 rm -f core conftest.err conftest.$ac_objext \
13814 conftest$ac_exeext conftest.$ac_ext
13815 LIBS=$ac_check_soname_save_LIBS
13817 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13819 $as_echo "not found" >&6; }
13821 else
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13823 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13825 cat >>confdefs.h <<_ACEOF
13826 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13827 _ACEOF
13832 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13833 case "x$with_v4l2" in
13834 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13835 xno) ;;
13836 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13837 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13838 esac
13842 if test "x$with_gphoto" != "xno"
13843 then
13844 if ${GPHOTO2_CFLAGS:+false} :; then :
13845 if ${PKG_CONFIG+:} false; then :
13846 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13849 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13850 if ${GPHOTO2_LIBS:+false} :; then :
13851 if ${PKG_CONFIG+:} false; then :
13852 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13855 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13856 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13857 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13858 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13859 ac_save_CPPFLAGS=$CPPFLAGS
13860 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13861 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13862 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13864 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13865 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13866 $as_echo_n "(cached) " >&6
13867 else
13868 ac_check_lib_save_LIBS=$LIBS
13869 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13873 /* Override any GCC internal prototype to avoid an error.
13874 Use char because int might match the return type of a GCC
13875 builtin and then its argument prototype would still apply. */
13876 #ifdef __cplusplus
13877 extern "C"
13878 #endif
13879 char gp_camera_new ();
13881 main ()
13883 return gp_camera_new ();
13885 return 0;
13887 _ACEOF
13888 if ac_fn_c_try_link "$LINENO"; then :
13889 ac_cv_lib_gphoto2_gp_camera_new=yes
13890 else
13891 ac_cv_lib_gphoto2_gp_camera_new=no
13893 rm -f core conftest.err conftest.$ac_objext \
13894 conftest$ac_exeext conftest.$ac_ext
13895 LIBS=$ac_check_lib_save_LIBS
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13898 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13899 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13901 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13903 else
13904 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13907 else
13908 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13912 CPPFLAGS=$ac_save_CPPFLAGS
13914 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13915 if ${PKG_CONFIG+:} false; then :
13916 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13919 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13920 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13921 if ${PKG_CONFIG+:} false; then :
13922 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13925 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13926 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13927 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13928 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13929 ac_save_CPPFLAGS=$CPPFLAGS
13930 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13931 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13932 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13934 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13935 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13936 $as_echo_n "(cached) " >&6
13937 else
13938 ac_check_lib_save_LIBS=$LIBS
13939 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13941 /* end confdefs.h. */
13943 /* Override any GCC internal prototype to avoid an error.
13944 Use char because int might match the return type of a GCC
13945 builtin and then its argument prototype would still apply. */
13946 #ifdef __cplusplus
13947 extern "C"
13948 #endif
13949 char gp_port_info_list_new ();
13951 main ()
13953 return gp_port_info_list_new ();
13955 return 0;
13957 _ACEOF
13958 if ac_fn_c_try_link "$LINENO"; then :
13959 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13960 else
13961 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13963 rm -f core conftest.err conftest.$ac_objext \
13964 conftest$ac_exeext conftest.$ac_ext
13965 LIBS=$ac_check_lib_save_LIBS
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13968 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13969 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13971 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13973 else
13974 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13977 else
13978 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13982 CPPFLAGS=$ac_save_CPPFLAGS
13985 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13986 case "x$with_gphoto" in
13987 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13988 xno) ;;
13989 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13990 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13991 esac
13994 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13995 case "x$with_gphoto" in
13996 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13997 xno) ;;
13998 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13999 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14000 esac
14005 if test "$ac_cv_header_resolv_h" = "yes"
14006 then
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14008 $as_echo_n "checking for resolver library... " >&6; }
14009 if ${ac_cv_have_resolv+:} false; then :
14010 $as_echo_n "(cached) " >&6
14011 else
14012 ac_save_LIBS="$LIBS"
14013 for lib in '' -lresolv
14015 LIBS="$lib $ac_save_LIBS"
14016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14017 /* end confdefs.h. */
14018 #ifdef HAVE_NETINET_IN_H
14019 #include <netinet/in.h>
14020 #endif
14021 #include <resolv.h>
14023 main ()
14025 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14027 return 0;
14029 _ACEOF
14030 if ac_fn_c_try_link "$LINENO"; then :
14031 ac_cv_have_resolv=${lib:-"none required"}
14032 else
14033 ac_cv_have_resolv="not found"
14035 rm -f core conftest.err conftest.$ac_objext \
14036 conftest$ac_exeext conftest.$ac_ext
14037 test "x$ac_cv_have_resolv" = "xnot found" || break
14038 done
14039 LIBS="$ac_save_LIBS"
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14042 $as_echo "$ac_cv_have_resolv" >&6; }
14044 case "$ac_cv_have_resolv" in
14045 "not found") ;;
14046 "none required")
14048 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14051 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14053 RESOLV_LIBS=$ac_cv_have_resolv
14055 esac
14057 if test "x$ac_cv_have_resolv" != "xnot found"
14058 then
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14060 $as_echo_n "checking for res_getservers... " >&6; }
14061 if ${ac_cv_have_res_getservers+:} false; then :
14062 $as_echo_n "(cached) " >&6
14063 else
14064 ac_save_LIBS="$LIBS"
14065 LIBS="$RESOLV_LIBS $LIBS"
14066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14068 #include <resolv.h>
14070 main ()
14072 res_getservers(NULL, NULL, 0);
14074 return 0;
14076 _ACEOF
14077 if ac_fn_c_try_link "$LINENO"; then :
14078 ac_cv_have_res_getservers=yes
14079 else
14080 ac_cv_have_res_getservers=no
14082 rm -f core conftest.err conftest.$ac_objext \
14083 conftest$ac_exeext conftest.$ac_ext
14084 LIBS="$ac_save_LIBS"
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14087 $as_echo "$ac_cv_have_res_getservers" >&6; }
14088 if test "$ac_cv_have_res_getservers" = "yes"
14089 then
14091 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14097 if test "x$with_cms" != "xno"
14098 then
14099 if ${LCMS2_CFLAGS:+false} :; then :
14100 if ${PKG_CONFIG+:} false; then :
14101 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14105 if ${LCMS2_LIBS:+false} :; then :
14106 if ${PKG_CONFIG+:} false; then :
14107 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14111 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14112 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14113 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14114 ac_save_CPPFLAGS=$CPPFLAGS
14115 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14116 for ac_header in lcms2.h
14117 do :
14118 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14119 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14120 cat >>confdefs.h <<_ACEOF
14121 #define HAVE_LCMS2_H 1
14122 _ACEOF
14126 done
14128 if test "$ac_cv_header_lcms2_h" = "yes"
14129 then
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14131 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14132 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14133 $as_echo_n "(cached) " >&6
14134 else
14135 ac_check_lib_save_LIBS=$LIBS
14136 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14140 /* Override any GCC internal prototype to avoid an error.
14141 Use char because int might match the return type of a GCC
14142 builtin and then its argument prototype would still apply. */
14143 #ifdef __cplusplus
14144 extern "C"
14145 #endif
14146 char cmsOpenProfileFromFile ();
14148 main ()
14150 return cmsOpenProfileFromFile ();
14152 return 0;
14154 _ACEOF
14155 if ac_fn_c_try_link "$LINENO"; then :
14156 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14157 else
14158 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14160 rm -f core conftest.err conftest.$ac_objext \
14161 conftest$ac_exeext conftest.$ac_ext
14162 LIBS=$ac_check_lib_save_LIBS
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14165 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14166 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14168 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14170 else
14171 LCMS2_LIBS=""
14174 else
14175 LCMS2_CFLAGS=""
14176 LCMS2_LIBS=""
14178 CPPFLAGS=$ac_save_CPPFLAGS
14181 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14182 case "x$with_cms" in
14183 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14184 xno) ;;
14185 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14186 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14187 esac
14191 if test "x$with_freetype" != "xno"
14192 then
14193 if ${FREETYPE_CFLAGS:+false} :; then :
14194 if ${PKG_CONFIG+:} false; then :
14195 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14198 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14199 if ${FREETYPE_LIBS:+false} :; then :
14200 if ${PKG_CONFIG+:} false; then :
14201 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14204 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14205 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14206 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14207 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14208 ac_save_CPPFLAGS=$CPPFLAGS
14209 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14210 for ac_header in ft2build.h
14211 do :
14212 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14213 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14214 cat >>confdefs.h <<_ACEOF
14215 #define HAVE_FT2BUILD_H 1
14216 _ACEOF
14220 done
14222 if test "$ac_cv_header_ft2build_h" = "yes"
14223 then
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14225 $as_echo_n "checking for -lfreetype... " >&6; }
14226 if ${ac_cv_lib_soname_freetype+:} false; then :
14227 $as_echo_n "(cached) " >&6
14228 else
14229 ac_check_soname_save_LIBS=$LIBS
14230 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14232 /* end confdefs.h. */
14234 /* Override any GCC internal prototype to avoid an error.
14235 Use char because int might match the return type of a GCC
14236 builtin and then its argument prototype would still apply. */
14237 #ifdef __cplusplus
14238 extern "C"
14239 #endif
14240 char FT_Init_FreeType ();
14242 main ()
14244 return FT_Init_FreeType ();
14246 return 0;
14248 _ACEOF
14249 if ac_fn_c_try_link "$LINENO"; then :
14250 case "$LIBEXT" in
14251 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14252 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'` ;;
14253 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14254 if ${ac_cv_lib_soname_freetype:+false} :; then :
14255 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14256 fi ;;
14257 esac
14258 else
14259 ac_cv_lib_soname_freetype=
14261 rm -f core conftest.err conftest.$ac_objext \
14262 conftest$ac_exeext conftest.$ac_ext
14263 LIBS=$ac_check_soname_save_LIBS
14265 if ${ac_cv_lib_soname_freetype:+false} :; then :
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14267 $as_echo "not found" >&6; }
14268 FREETYPE_LIBS=""
14269 else
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14271 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14273 cat >>confdefs.h <<_ACEOF
14274 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14275 _ACEOF
14278 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14280 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14281 #include FT_MODULE_H
14283 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14285 cat >>confdefs.h <<_ACEOF
14286 #define HAVE_FT_TRUETYPEENGINETYPE 1
14287 _ACEOF
14293 else
14294 FREETYPE_CFLAGS=""
14295 FREETYPE_LIBS=""
14297 CPPFLAGS=$ac_save_CPPFLAGS
14300 if test "x$ac_cv_lib_soname_freetype" = x; then :
14301 case "x$with_freetype" in
14302 xno) ;;
14303 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14304 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14305 esac
14306 enable_fonts=${enable_fonts:-no}
14309 ac_wine_check_funcs_save_LIBS="$LIBS"
14310 LIBS="$LIBS $PTHREAD_LIBS"
14311 for ac_func in \
14312 pthread_getthreadid_np
14313 do :
14314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14316 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14317 cat >>confdefs.h <<_ACEOF
14318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14319 _ACEOF
14322 done
14324 LIBS="$ac_wine_check_funcs_save_LIBS"
14326 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14327 then
14328 if test "$ac_cv_header_gettext_po_h" = "yes"
14329 then
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14331 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14332 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14333 $as_echo_n "(cached) " >&6
14334 else
14335 ac_check_lib_save_LIBS=$LIBS
14336 LIBS="-lgettextpo $LIBS"
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14340 /* Override any GCC internal prototype to avoid an error.
14341 Use char because int might match the return type of a GCC
14342 builtin and then its argument prototype would still apply. */
14343 #ifdef __cplusplus
14344 extern "C"
14345 #endif
14346 char po_message_msgctxt ();
14348 main ()
14350 return po_message_msgctxt ();
14352 return 0;
14354 _ACEOF
14355 if ac_fn_c_try_link "$LINENO"; then :
14356 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14357 else
14358 ac_cv_lib_gettextpo_po_message_msgctxt=no
14360 rm -f core conftest.err conftest.$ac_objext \
14361 conftest$ac_exeext conftest.$ac_ext
14362 LIBS=$ac_check_lib_save_LIBS
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14365 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14366 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14368 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14370 GETTEXTPO_LIBS="-lgettextpo"
14375 if test "x$GETTEXTPO_LIBS" = "x"; then :
14376 case "x$with_gettextpo" in
14377 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14378 xno) ;;
14379 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14380 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14381 esac
14384 if test "$srcdir" != .; then :
14385 case "x$with_gettextpo" in
14386 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14387 xno) ;;
14388 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14389 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14390 esac
14395 if test "x$with_pulse" != "xno";
14396 then
14397 if ${PULSE_CFLAGS:+false} :; then :
14398 if ${PKG_CONFIG+:} false; then :
14399 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14403 if ${PULSE_LIBS:+false} :; then :
14404 if ${PKG_CONFIG+:} false; then :
14405 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14410 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14411 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14412 ac_save_CPPFLAGS=$CPPFLAGS
14413 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14414 for ac_header in pulse/pulseaudio.h
14415 do :
14416 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14417 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14418 cat >>confdefs.h <<_ACEOF
14419 #define HAVE_PULSE_PULSEAUDIO_H 1
14420 _ACEOF
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14422 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14423 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14424 $as_echo_n "(cached) " >&6
14425 else
14426 ac_check_lib_save_LIBS=$LIBS
14427 LIBS="-lpulse $PULSE_LIBS $LIBS"
14428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14429 /* end confdefs.h. */
14431 /* Override any GCC internal prototype to avoid an error.
14432 Use char because int might match the return type of a GCC
14433 builtin and then its argument prototype would still apply. */
14434 #ifdef __cplusplus
14435 extern "C"
14436 #endif
14437 char pa_stream_is_corked ();
14439 main ()
14441 return pa_stream_is_corked ();
14443 return 0;
14445 _ACEOF
14446 if ac_fn_c_try_link "$LINENO"; then :
14447 ac_cv_lib_pulse_pa_stream_is_corked=yes
14448 else
14449 ac_cv_lib_pulse_pa_stream_is_corked=no
14451 rm -f core conftest.err conftest.$ac_objext \
14452 conftest$ac_exeext conftest.$ac_ext
14453 LIBS=$ac_check_lib_save_LIBS
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14456 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14457 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14459 else
14460 PULSE_LIBS=""
14463 else
14464 PULSE_LIBS=""
14467 done
14469 CPPFLAGS=$ac_save_CPPFLAGS
14472 if test -z "$PULSE_LIBS"; then :
14473 case "x$with_pulse" in
14474 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14475 xno) ;;
14476 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14477 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14478 esac
14479 enable_winepulse_drv=${enable_winepulse_drv:-no}
14482 if test "x$with_gstreamer" != "xno"
14483 then
14484 if ${GSTREAMER_CFLAGS:+false} :; then :
14485 if ${PKG_CONFIG+:} false; then :
14486 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14490 if ${GSTREAMER_LIBS:+false} :; then :
14491 if ${PKG_CONFIG+:} false; then :
14492 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14497 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14498 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14499 ac_save_CPPFLAGS=$CPPFLAGS
14500 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14501 ac_gst_incl=""
14502 for i in $GSTREAMER_CFLAGS
14504 case "$i" in
14505 -I*) ac_gst_incl="$ac_gst_incl $i";;
14506 esac
14507 done
14508 GSTREAMER_CFLAGS=$ac_gst_incl
14509 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14510 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14511 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14513 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14515 /* end confdefs.h. */
14516 #include <gst/gst.h>
14518 main ()
14520 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14522 return 0;
14524 _ACEOF
14525 if ac_fn_c_try_compile "$LINENO"; then :
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14527 $as_echo "yes" >&6; }
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14529 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14530 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14531 $as_echo_n "(cached) " >&6
14532 else
14533 ac_check_lib_save_LIBS=$LIBS
14534 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14536 /* end confdefs.h. */
14538 /* Override any GCC internal prototype to avoid an error.
14539 Use char because int might match the return type of a GCC
14540 builtin and then its argument prototype would still apply. */
14541 #ifdef __cplusplus
14542 extern "C"
14543 #endif
14544 char gst_pad_new ();
14546 main ()
14548 return gst_pad_new ();
14550 return 0;
14552 _ACEOF
14553 if ac_fn_c_try_link "$LINENO"; then :
14554 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14555 else
14556 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14558 rm -f core conftest.err conftest.$ac_objext \
14559 conftest$ac_exeext conftest.$ac_ext
14560 LIBS=$ac_check_lib_save_LIBS
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14563 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14564 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14568 else
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14570 $as_echo "no" >&6; }
14571 ac_glib2_broken=yes
14572 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14578 CPPFLAGS=$ac_save_CPPFLAGS
14581 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 :
14582 case "x$with_gstreamer" in
14583 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14584 xno) ;;
14585 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14586 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14587 esac
14590 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14592 ALSA_LIBS=""
14594 if test "x$with_alsa" != "xno"
14595 then
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14597 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14598 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14599 $as_echo_n "(cached) " >&6
14600 else
14601 ac_check_lib_save_LIBS=$LIBS
14602 LIBS="-lasound $LIBS"
14603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14604 /* end confdefs.h. */
14606 /* Override any GCC internal prototype to avoid an error.
14607 Use char because int might match the return type of a GCC
14608 builtin and then its argument prototype would still apply. */
14609 #ifdef __cplusplus
14610 extern "C"
14611 #endif
14612 char snd_pcm_hw_params_get_access_mask ();
14614 main ()
14616 return snd_pcm_hw_params_get_access_mask ();
14618 return 0;
14620 _ACEOF
14621 if ac_fn_c_try_link "$LINENO"; then :
14622 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14623 else
14624 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14626 rm -f core conftest.err conftest.$ac_objext \
14627 conftest$ac_exeext conftest.$ac_ext
14628 LIBS=$ac_check_lib_save_LIBS
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14631 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14632 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14635 #include <alsa/asoundlib.h>
14637 main ()
14639 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14641 return 0;
14643 _ACEOF
14644 if ac_fn_c_try_compile "$LINENO"; then :
14645 ALSA_LIBS="-lasound"
14647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14651 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14653 if test "x$with_oss" != xno
14654 then
14655 ac_save_CPPFLAGS="$CPPFLAGS"
14656 if test -f /etc/oss.conf
14657 then
14658 . /etc/oss.conf
14660 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14661 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14662 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14663 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14664 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14666 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14668 cat >>confdefs.h <<_ACEOF
14669 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14670 _ACEOF
14672 OSS4_CFLAGS="$ac_oss_incl"
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14675 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14676 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14677 $as_echo_n "(cached) " >&6
14678 else
14679 ac_check_lib_save_LIBS=$LIBS
14680 LIBS="-lossaudio $LIBS"
14681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14682 /* end confdefs.h. */
14684 /* Override any GCC internal prototype to avoid an error.
14685 Use char because int might match the return type of a GCC
14686 builtin and then its argument prototype would still apply. */
14687 #ifdef __cplusplus
14688 extern "C"
14689 #endif
14690 char _oss_ioctl ();
14692 main ()
14694 return _oss_ioctl ();
14696 return 0;
14698 _ACEOF
14699 if ac_fn_c_try_link "$LINENO"; then :
14700 ac_cv_lib_ossaudio__oss_ioctl=yes
14701 else
14702 ac_cv_lib_ossaudio__oss_ioctl=no
14704 rm -f core conftest.err conftest.$ac_objext \
14705 conftest$ac_exeext conftest.$ac_ext
14706 LIBS=$ac_check_lib_save_LIBS
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14709 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14710 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14711 OSS4_LIBS="-lossaudio"
14720 CPPFLAGS="$ac_save_CPPFLAGS"
14722 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14723 case "x$with_oss" in
14724 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14725 xno) ;;
14726 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14727 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14728 esac
14729 enable_wineoss_drv=${enable_wineoss_drv:-no}
14732 if test "x$with_udev" != "xno"
14733 then
14734 if ${UDEV_CFLAGS:+false} :; then :
14735 if ${PKG_CONFIG+:} false; then :
14736 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14740 if ${UDEV_LIBS:+false} :; then :
14741 if ${PKG_CONFIG+:} false; then :
14742 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14746 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14747 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14748 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14749 ac_save_CPPFLAGS=$CPPFLAGS
14750 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14751 for ac_header in libudev.h
14752 do :
14753 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14754 if test "x$ac_cv_header_libudev_h" = xyes; then :
14755 cat >>confdefs.h <<_ACEOF
14756 #define HAVE_LIBUDEV_H 1
14757 _ACEOF
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14759 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14760 if ${ac_cv_lib_udev_udev_new+:} false; then :
14761 $as_echo_n "(cached) " >&6
14762 else
14763 ac_check_lib_save_LIBS=$LIBS
14764 LIBS="-ludev $UDEV_LIBS $LIBS"
14765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14768 /* Override any GCC internal prototype to avoid an error.
14769 Use char because int might match the return type of a GCC
14770 builtin and then its argument prototype would still apply. */
14771 #ifdef __cplusplus
14772 extern "C"
14773 #endif
14774 char udev_new ();
14776 main ()
14778 return udev_new ();
14780 return 0;
14782 _ACEOF
14783 if ac_fn_c_try_link "$LINENO"; then :
14784 ac_cv_lib_udev_udev_new=yes
14785 else
14786 ac_cv_lib_udev_udev_new=no
14788 rm -f core conftest.err conftest.$ac_objext \
14789 conftest$ac_exeext conftest.$ac_ext
14790 LIBS=$ac_check_lib_save_LIBS
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14793 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14794 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14796 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14798 else
14799 UDEV_LIBS=""
14802 else
14803 UDEV_LIBS=""
14806 done
14808 CPPFLAGS=$ac_save_CPPFLAGS
14811 if test "x$UDEV_LIBS" = "x"; then :
14812 case "x$with_udev" in
14813 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14814 xno) ;;
14815 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14816 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14817 esac
14821 if test "x$with_unwind" != xno
14822 then
14823 if ${UNWIND_CFLAGS:+false} :; then :
14824 if ${PKG_CONFIG+:} false; then :
14825 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14829 if ${UNWIND_LIBS:+false} :; then :
14830 if ${PKG_CONFIG+:} false; then :
14831 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14835 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14836 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14837 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14838 ac_save_CPPFLAGS=$CPPFLAGS
14839 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14841 $as_echo_n "checking for unw_step... " >&6; }
14842 if ${wine_cv_have_unw_step+:} false; then :
14843 $as_echo_n "(cached) " >&6
14844 else
14845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14846 /* end confdefs.h. */
14847 #define UNW_LOCAL_ONLY
14848 #include <libunwind.h>
14850 main ()
14852 unw_cursor_t cursor; unw_step( &cursor );
14854 return 0;
14856 _ACEOF
14857 if ac_fn_c_try_link "$LINENO"; then :
14858 wine_cv_have_unw_step="yes"
14859 else
14860 wine_cv_have_unw_step="no"
14862 rm -f core conftest.err conftest.$ac_objext \
14863 conftest$ac_exeext conftest.$ac_ext
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14866 $as_echo "$wine_cv_have_unw_step" >&6; }
14867 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14868 then
14869 save_libs=$LIBS
14870 LIBS="$UNWIND_LIBS $LIBS"
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14872 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14873 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14874 $as_echo_n "(cached) " >&6
14875 else
14876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14878 #define UNW_LOCAL_ONLY
14879 #include <libunwind.h>
14881 main ()
14883 unw_cursor_t cursor; unw_step( &cursor );
14885 return 0;
14887 _ACEOF
14888 if ac_fn_c_try_link "$LINENO"; then :
14889 wine_cv_have_libunwind_unw_step="yes"
14890 else
14891 wine_cv_have_libunwind_unw_step="no"
14893 rm -f core conftest.err conftest.$ac_objext \
14894 conftest$ac_exeext conftest.$ac_ext
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14897 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14898 LIBS=$save_libs
14900 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14901 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14902 then
14904 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14907 CPPFLAGS=$ac_save_CPPFLAGS
14910 case $host in
14911 aarch64*|*-darwin*)
14912 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14913 case "x$with_unwind" in
14914 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14915 xno) ;;
14916 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14917 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14918 esac
14920 fi ;;
14921 esac
14923 if test "x$with_sdl" != "xno"
14924 then
14925 if ${SDL2_CFLAGS:+false} :; then :
14926 if ${PKG_CONFIG+:} false; then :
14927 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14931 if ${SDL2_LIBS:+false} :; then :
14932 if ${PKG_CONFIG+:} false; then :
14933 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14937 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14938 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14939 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14940 ac_save_CPPFLAGS=$CPPFLAGS
14941 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14942 for ac_header in SDL2/SDL.h
14943 do :
14944 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14945 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14946 cat >>confdefs.h <<_ACEOF
14947 #define HAVE_SDL2_SDL_H 1
14948 _ACEOF
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14950 $as_echo_n "checking for -lSDL2... " >&6; }
14951 if ${ac_cv_lib_soname_SDL2+:} false; then :
14952 $as_echo_n "(cached) " >&6
14953 else
14954 ac_check_soname_save_LIBS=$LIBS
14955 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14959 /* Override any GCC internal prototype to avoid an error.
14960 Use char because int might match the return type of a GCC
14961 builtin and then its argument prototype would still apply. */
14962 #ifdef __cplusplus
14963 extern "C"
14964 #endif
14965 char SDL_Init ();
14967 main ()
14969 return SDL_Init ();
14971 return 0;
14973 _ACEOF
14974 if ac_fn_c_try_link "$LINENO"; then :
14975 case "$LIBEXT" in
14976 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14977 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'` ;;
14978 *) 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'`
14979 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14980 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14981 fi ;;
14982 esac
14983 else
14984 ac_cv_lib_soname_SDL2=
14986 rm -f core conftest.err conftest.$ac_objext \
14987 conftest$ac_exeext conftest.$ac_ext
14988 LIBS=$ac_check_soname_save_LIBS
14990 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14992 $as_echo "not found" >&6; }
14994 else
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14996 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14998 cat >>confdefs.h <<_ACEOF
14999 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15000 _ACEOF
15006 done
15008 CPPFLAGS=$ac_save_CPPFLAGS
15011 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15012 case "x$with_sdl" in
15013 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15014 xno) ;;
15015 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15016 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15017 esac
15021 if test "x$with_faudio" != "xno"
15022 then
15023 if ${FAUDIO_CFLAGS:+false} :; then :
15024 if ${PKG_CONFIG+:} false; then :
15025 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15029 if ${FAUDIO_LIBS:+false} :; then :
15030 if ${PKG_CONFIG+:} false; then :
15031 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15035 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15036 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15037 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15038 ac_save_CPPFLAGS=$CPPFLAGS
15039 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15040 for ac_header in FAudio.h
15041 do :
15042 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15043 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15044 cat >>confdefs.h <<_ACEOF
15045 #define HAVE_FAUDIO_H 1
15046 _ACEOF
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15048 $as_echo_n "checking for -lFAudio... " >&6; }
15049 if ${ac_cv_lib_soname_FAudio+:} false; then :
15050 $as_echo_n "(cached) " >&6
15051 else
15052 ac_check_soname_save_LIBS=$LIBS
15053 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15057 /* Override any GCC internal prototype to avoid an error.
15058 Use char because int might match the return type of a GCC
15059 builtin and then its argument prototype would still apply. */
15060 #ifdef __cplusplus
15061 extern "C"
15062 #endif
15063 char FAudioCreate ();
15065 main ()
15067 return FAudioCreate ();
15069 return 0;
15071 _ACEOF
15072 if ac_fn_c_try_link "$LINENO"; then :
15073 case "$LIBEXT" in
15074 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15075 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'` ;;
15076 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15077 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15078 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15079 fi ;;
15080 esac
15081 else
15082 ac_cv_lib_soname_FAudio=
15084 rm -f core conftest.err conftest.$ac_objext \
15085 conftest$ac_exeext conftest.$ac_ext
15086 LIBS=$ac_check_soname_save_LIBS
15088 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15090 $as_echo "not found" >&6; }
15092 else
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15094 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15096 cat >>confdefs.h <<_ACEOF
15097 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15098 _ACEOF
15104 done
15106 ac_wine_check_funcs_save_LIBS="$LIBS"
15107 LIBS="$LIBS $FAUDIO_LIBS"
15108 for ac_func in FAudio_CommitOperationSet \
15109 F3DAudioInitialize8 \
15110 FAudioLinkedVersion \
15111 FAudioCreateReverb9WithCustomAllocatorEXT
15112 do :
15113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15115 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15116 cat >>confdefs.h <<_ACEOF
15117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15118 _ACEOF
15121 done
15123 LIBS="$ac_wine_check_funcs_save_LIBS"
15125 CPPFLAGS=$ac_save_CPPFLAGS
15128 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15129 case "x$with_faudio" in
15130 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15131 xno) ;;
15132 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15133 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15134 esac
15138 if test "x$with_capi" != "xno"
15139 then
15140 if ${CAPI20_CFLAGS:+false} :; then :
15141 if ${PKG_CONFIG+:} false; then :
15142 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15146 if ${CAPI20_LIBS:+false} :; then :
15147 if ${PKG_CONFIG+:} false; then :
15148 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15153 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15154 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15155 ac_save_CPPFLAGS=$CPPFLAGS
15156 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15157 for ac_header in capi20.h linux/capi.h
15158 do :
15159 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15160 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15162 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15163 cat >>confdefs.h <<_ACEOF
15164 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15165 _ACEOF
15169 done
15171 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15172 then
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15174 $as_echo_n "checking for -lcapi20... " >&6; }
15175 if ${ac_cv_lib_soname_capi20+:} false; then :
15176 $as_echo_n "(cached) " >&6
15177 else
15178 ac_check_soname_save_LIBS=$LIBS
15179 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15183 /* Override any GCC internal prototype to avoid an error.
15184 Use char because int might match the return type of a GCC
15185 builtin and then its argument prototype would still apply. */
15186 #ifdef __cplusplus
15187 extern "C"
15188 #endif
15189 char capi20_register ();
15191 main ()
15193 return capi20_register ();
15195 return 0;
15197 _ACEOF
15198 if ac_fn_c_try_link "$LINENO"; then :
15199 case "$LIBEXT" in
15200 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15201 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'` ;;
15202 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15203 if ${ac_cv_lib_soname_capi20:+false} :; then :
15204 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15205 fi ;;
15206 esac
15207 else
15208 ac_cv_lib_soname_capi20=
15210 rm -f core conftest.err conftest.$ac_objext \
15211 conftest$ac_exeext conftest.$ac_ext
15212 LIBS=$ac_check_soname_save_LIBS
15214 if ${ac_cv_lib_soname_capi20:+false} :; then :
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15216 $as_echo "not found" >&6; }
15218 else
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15220 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15222 cat >>confdefs.h <<_ACEOF
15223 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15224 _ACEOF
15229 CPPFLAGS=$ac_save_CPPFLAGS
15232 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15233 case "x$with_capi" in
15234 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15235 xno) ;;
15236 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15237 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15238 esac
15242 if test "x$with_cups" != "xno"
15243 then
15244 if ${CUPS_CFLAGS:+false} :; then :
15245 if ${PKG_CONFIG+:} false; then :
15246 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15249 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15250 if ${CUPS_LIBS:+false} :; then :
15251 if ${PKG_CONFIG+:} false; then :
15252 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15255 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15256 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15257 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15258 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15259 ac_save_CPPFLAGS=$CPPFLAGS
15260 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15261 for ac_header in cups/cups.h cups/ppd.h
15262 do :
15263 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15264 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15265 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15266 cat >>confdefs.h <<_ACEOF
15267 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15268 _ACEOF
15272 done
15274 if test "$ac_cv_header_cups_cups_h" = "yes"
15275 then
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15277 $as_echo_n "checking for -lcups... " >&6; }
15278 if ${ac_cv_lib_soname_cups+:} false; then :
15279 $as_echo_n "(cached) " >&6
15280 else
15281 ac_check_soname_save_LIBS=$LIBS
15282 LIBS="-lcups $CUPS_LIBS $LIBS"
15283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15284 /* end confdefs.h. */
15286 /* Override any GCC internal prototype to avoid an error.
15287 Use char because int might match the return type of a GCC
15288 builtin and then its argument prototype would still apply. */
15289 #ifdef __cplusplus
15290 extern "C"
15291 #endif
15292 char cupsGetDefault ();
15294 main ()
15296 return cupsGetDefault ();
15298 return 0;
15300 _ACEOF
15301 if ac_fn_c_try_link "$LINENO"; then :
15302 case "$LIBEXT" in
15303 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15304 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'` ;;
15305 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15306 if ${ac_cv_lib_soname_cups:+false} :; then :
15307 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15308 fi ;;
15309 esac
15310 else
15311 ac_cv_lib_soname_cups=
15313 rm -f core conftest.err conftest.$ac_objext \
15314 conftest$ac_exeext conftest.$ac_ext
15315 LIBS=$ac_check_soname_save_LIBS
15317 if ${ac_cv_lib_soname_cups:+false} :; then :
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15319 $as_echo "not found" >&6; }
15320 CUPS_LIBS=""
15321 else
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15323 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15325 cat >>confdefs.h <<_ACEOF
15326 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15327 _ACEOF
15331 else
15332 CUPS_CFLAGS=""
15333 CUPS_LIBS=""
15335 CPPFLAGS=$ac_save_CPPFLAGS
15338 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15339 case "x$with_cups" in
15340 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15341 xno) ;;
15342 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15343 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15344 esac
15348 if test "x$with_fontconfig" != "xno"
15349 then
15350 if ${FONTCONFIG_CFLAGS:+false} :; then :
15351 if ${PKG_CONFIG+:} false; then :
15352 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15355 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15356 if ${FONTCONFIG_LIBS:+false} :; then :
15357 if ${PKG_CONFIG+:} false; then :
15358 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15361 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15363 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15364 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15365 ac_save_CPPFLAGS=$CPPFLAGS
15366 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15367 for ac_header in fontconfig/fontconfig.h
15368 do :
15369 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15370 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15371 cat >>confdefs.h <<_ACEOF
15372 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15373 _ACEOF
15377 done
15379 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15380 then
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15382 $as_echo_n "checking for -lfontconfig... " >&6; }
15383 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15384 $as_echo_n "(cached) " >&6
15385 else
15386 ac_check_soname_save_LIBS=$LIBS
15387 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15389 /* end confdefs.h. */
15391 /* Override any GCC internal prototype to avoid an error.
15392 Use char because int might match the return type of a GCC
15393 builtin and then its argument prototype would still apply. */
15394 #ifdef __cplusplus
15395 extern "C"
15396 #endif
15397 char FcInit ();
15399 main ()
15401 return FcInit ();
15403 return 0;
15405 _ACEOF
15406 if ac_fn_c_try_link "$LINENO"; then :
15407 case "$LIBEXT" in
15408 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15409 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'` ;;
15410 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15411 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15412 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15413 fi ;;
15414 esac
15415 else
15416 ac_cv_lib_soname_fontconfig=
15418 rm -f core conftest.err conftest.$ac_objext \
15419 conftest$ac_exeext conftest.$ac_ext
15420 LIBS=$ac_check_soname_save_LIBS
15422 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15424 $as_echo "not found" >&6; }
15425 FONTCONFIG_CFLAGS=""
15426 else
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15428 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15430 cat >>confdefs.h <<_ACEOF
15431 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15432 _ACEOF
15436 else
15437 FONTCONFIG_CFLAGS=""
15439 CPPFLAGS=$ac_save_CPPFLAGS
15442 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15443 case "x$with_fontconfig" in
15444 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15445 xno) ;;
15446 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15447 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15448 esac
15452 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15453 then
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15455 $as_echo_n "checking for -lgsm... " >&6; }
15456 if ${ac_cv_lib_soname_gsm+:} false; then :
15457 $as_echo_n "(cached) " >&6
15458 else
15459 ac_check_soname_save_LIBS=$LIBS
15460 LIBS="-lgsm $LIBS"
15461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15462 /* end confdefs.h. */
15464 /* Override any GCC internal prototype to avoid an error.
15465 Use char because int might match the return type of a GCC
15466 builtin and then its argument prototype would still apply. */
15467 #ifdef __cplusplus
15468 extern "C"
15469 #endif
15470 char gsm_create ();
15472 main ()
15474 return gsm_create ();
15476 return 0;
15478 _ACEOF
15479 if ac_fn_c_try_link "$LINENO"; then :
15480 case "$LIBEXT" in
15481 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15482 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'` ;;
15483 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15484 if ${ac_cv_lib_soname_gsm:+false} :; then :
15485 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15486 fi ;;
15487 esac
15488 else
15489 ac_cv_lib_soname_gsm=
15491 rm -f core conftest.err conftest.$ac_objext \
15492 conftest$ac_exeext conftest.$ac_ext
15493 LIBS=$ac_check_soname_save_LIBS
15495 if ${ac_cv_lib_soname_gsm:+false} :; then :
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15497 $as_echo "not found" >&6; }
15499 else
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15501 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15503 cat >>confdefs.h <<_ACEOF
15504 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15505 _ACEOF
15510 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15511 case "x$with_gsm" in
15512 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15513 xno) ;;
15514 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15515 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15516 esac
15520 if test "x$with_krb5" != "xno"
15521 then
15522 if ${KRB5_CFLAGS:+false} :; then :
15523 if ${PKG_CONFIG+:} false; then :
15524 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15527 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15528 if ${KRB5_LIBS:+false} :; then :
15529 if ${PKG_CONFIG+:} false; then :
15530 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15533 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15535 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15536 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15537 ac_save_CPPFLAGS=$CPPFLAGS
15538 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15539 for ac_header in krb5/krb5.h
15540 do :
15541 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15542 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15543 cat >>confdefs.h <<_ACEOF
15544 #define HAVE_KRB5_KRB5_H 1
15545 _ACEOF
15549 done
15551 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15552 then
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15554 $as_echo_n "checking for -lkrb5... " >&6; }
15555 if ${ac_cv_lib_soname_krb5+:} false; then :
15556 $as_echo_n "(cached) " >&6
15557 else
15558 ac_check_soname_save_LIBS=$LIBS
15559 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15561 /* end confdefs.h. */
15563 /* Override any GCC internal prototype to avoid an error.
15564 Use char because int might match the return type of a GCC
15565 builtin and then its argument prototype would still apply. */
15566 #ifdef __cplusplus
15567 extern "C"
15568 #endif
15569 char krb5_is_config_principal ();
15571 main ()
15573 return krb5_is_config_principal ();
15575 return 0;
15577 _ACEOF
15578 if ac_fn_c_try_link "$LINENO"; then :
15579 case "$LIBEXT" in
15580 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15581 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'` ;;
15582 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15583 if ${ac_cv_lib_soname_krb5:+false} :; then :
15584 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15585 fi ;;
15586 esac
15587 else
15588 ac_cv_lib_soname_krb5=
15590 rm -f core conftest.err conftest.$ac_objext \
15591 conftest$ac_exeext conftest.$ac_ext
15592 LIBS=$ac_check_soname_save_LIBS
15594 if ${ac_cv_lib_soname_krb5:+false} :; then :
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15596 $as_echo "not found" >&6; }
15597 KRB5_CFLAGS=""
15598 else
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15600 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15602 cat >>confdefs.h <<_ACEOF
15603 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15604 _ACEOF
15608 else
15609 KRB5_CFLAGS=""
15611 CPPFLAGS=$ac_save_CPPFLAGS
15614 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15615 case "x$with_krb5" in
15616 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15617 xno) ;;
15618 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15619 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15620 esac
15623 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15625 if test "x$with_gssapi" != "xno"
15626 then
15627 if ${GSSAPI_CFLAGS:+false} :; then :
15628 if ${PKG_CONFIG+:} false; then :
15629 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15632 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15633 if ${GSSAPI_LIBS:+false} :; then :
15634 if ${PKG_CONFIG+:} false; then :
15635 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15638 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15640 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15641 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15642 ac_save_CPPFLAGS=$CPPFLAGS
15643 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15644 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15645 do :
15646 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15647 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15648 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15649 cat >>confdefs.h <<_ACEOF
15650 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15651 _ACEOF
15655 done
15657 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15658 then
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15660 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15661 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15662 $as_echo_n "(cached) " >&6
15663 else
15664 ac_check_soname_save_LIBS=$LIBS
15665 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15669 /* Override any GCC internal prototype to avoid an error.
15670 Use char because int might match the return type of a GCC
15671 builtin and then its argument prototype would still apply. */
15672 #ifdef __cplusplus
15673 extern "C"
15674 #endif
15675 char gss_init_sec_context ();
15677 main ()
15679 return gss_init_sec_context ();
15681 return 0;
15683 _ACEOF
15684 if ac_fn_c_try_link "$LINENO"; then :
15685 case "$LIBEXT" in
15686 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15687 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'` ;;
15688 *) 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'`
15689 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15690 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15691 fi ;;
15692 esac
15693 else
15694 ac_cv_lib_soname_gssapi_krb5=
15696 rm -f core conftest.err conftest.$ac_objext \
15697 conftest$ac_exeext conftest.$ac_ext
15698 LIBS=$ac_check_soname_save_LIBS
15700 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15702 $as_echo "not found" >&6; }
15703 GSSAPI_CFLAGS=""
15704 else
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15706 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15708 cat >>confdefs.h <<_ACEOF
15709 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15710 _ACEOF
15714 else
15715 GSSAPI_CFLAGS=""
15717 CPPFLAGS=$ac_save_CPPFLAGS
15720 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15721 case "x$with_gssapi" in
15722 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15723 xno) ;;
15724 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15725 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15726 esac
15730 if test "x$with_jpeg" != "xno"
15731 then
15732 if ${JPEG_CFLAGS:+false} :; then :
15733 if ${PKG_CONFIG+:} false; then :
15734 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15738 if ${JPEG_LIBS:+false} :; then :
15739 if ${PKG_CONFIG+:} false; then :
15740 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15745 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15746 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15747 ac_save_CPPFLAGS=$CPPFLAGS
15748 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15749 for ac_header in jpeglib.h
15750 do :
15751 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15752 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15753 cat >>confdefs.h <<_ACEOF
15754 #define HAVE_JPEGLIB_H 1
15755 _ACEOF
15759 done
15761 if test "$ac_cv_header_jpeglib_h" = "yes"
15762 then
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15764 $as_echo_n "checking for -ljpeg... " >&6; }
15765 if ${ac_cv_lib_soname_jpeg+:} false; then :
15766 $as_echo_n "(cached) " >&6
15767 else
15768 ac_check_soname_save_LIBS=$LIBS
15769 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15771 /* end confdefs.h. */
15773 /* Override any GCC internal prototype to avoid an error.
15774 Use char because int might match the return type of a GCC
15775 builtin and then its argument prototype would still apply. */
15776 #ifdef __cplusplus
15777 extern "C"
15778 #endif
15779 char jpeg_start_decompress ();
15781 main ()
15783 return jpeg_start_decompress ();
15785 return 0;
15787 _ACEOF
15788 if ac_fn_c_try_link "$LINENO"; then :
15789 case "$LIBEXT" in
15790 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15791 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'` ;;
15792 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15793 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15794 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15795 fi ;;
15796 esac
15797 else
15798 ac_cv_lib_soname_jpeg=
15800 rm -f core conftest.err conftest.$ac_objext \
15801 conftest$ac_exeext conftest.$ac_ext
15802 LIBS=$ac_check_soname_save_LIBS
15804 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15806 $as_echo "not found" >&6; }
15807 JPEG_CFLAGS=""
15808 else
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15810 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15812 cat >>confdefs.h <<_ACEOF
15813 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15814 _ACEOF
15818 else
15819 JPEG_CFLAGS=""
15821 CPPFLAGS=$ac_save_CPPFLAGS
15824 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15825 case "x$with_jpeg" in
15826 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15827 xno) ;;
15828 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15829 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15830 esac
15834 if test "x$with_png" != "xno"
15835 then
15836 if ${PNG_CFLAGS:+false} :; then :
15837 if ${PKG_CONFIG+:} false; then :
15838 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15841 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15842 if ${PNG_LIBS:+false} :; then :
15843 if ${PKG_CONFIG+:} false; then :
15844 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15847 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15849 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15850 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15851 ac_save_CPPFLAGS=$CPPFLAGS
15852 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15853 for ac_header in png.h
15854 do :
15855 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15856 if test "x$ac_cv_header_png_h" = xyes; then :
15857 cat >>confdefs.h <<_ACEOF
15858 #define HAVE_PNG_H 1
15859 _ACEOF
15863 done
15865 if test "$ac_cv_header_png_h" = "yes"
15866 then
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15868 $as_echo_n "checking for -lpng... " >&6; }
15869 if ${ac_cv_lib_soname_png+:} false; then :
15870 $as_echo_n "(cached) " >&6
15871 else
15872 ac_check_soname_save_LIBS=$LIBS
15873 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15875 /* end confdefs.h. */
15877 /* Override any GCC internal prototype to avoid an error.
15878 Use char because int might match the return type of a GCC
15879 builtin and then its argument prototype would still apply. */
15880 #ifdef __cplusplus
15881 extern "C"
15882 #endif
15883 char png_create_read_struct ();
15885 main ()
15887 return png_create_read_struct ();
15889 return 0;
15891 _ACEOF
15892 if ac_fn_c_try_link "$LINENO"; then :
15893 case "$LIBEXT" in
15894 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15895 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'` ;;
15896 *) 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'`
15897 if ${ac_cv_lib_soname_png:+false} :; then :
15898 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15899 fi ;;
15900 esac
15901 else
15902 ac_cv_lib_soname_png=
15904 rm -f core conftest.err conftest.$ac_objext \
15905 conftest$ac_exeext conftest.$ac_ext
15906 LIBS=$ac_check_soname_save_LIBS
15908 if ${ac_cv_lib_soname_png:+false} :; then :
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15910 $as_echo "not found" >&6; }
15911 PNG_CFLAGS=""
15912 else
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15914 $as_echo "$ac_cv_lib_soname_png" >&6; }
15916 cat >>confdefs.h <<_ACEOF
15917 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15918 _ACEOF
15922 else
15923 PNG_CFLAGS=""
15925 CPPFLAGS=$ac_save_CPPFLAGS
15928 if test "x$ac_cv_lib_soname_png" = "x"; then :
15929 case "x$with_png" in
15930 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15931 xno) ;;
15932 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15933 This is an error since --with-png was requested." "$LINENO" 5 ;;
15934 esac
15938 if test "x$with_tiff" != "xno"
15939 then
15940 if ${TIFF_CFLAGS:+false} :; then :
15941 if ${PKG_CONFIG+:} false; then :
15942 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15946 if ${TIFF_LIBS:+false} :; then :
15947 if ${PKG_CONFIG+:} false; then :
15948 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15953 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15954 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15955 ac_save_CPPFLAGS=$CPPFLAGS
15956 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15957 for ac_header in tiffio.h
15958 do :
15959 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15960 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15961 cat >>confdefs.h <<_ACEOF
15962 #define HAVE_TIFFIO_H 1
15963 _ACEOF
15967 done
15969 if test "$ac_cv_header_tiffio_h" = "yes"
15970 then
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15972 $as_echo_n "checking for -ltiff... " >&6; }
15973 if ${ac_cv_lib_soname_tiff+:} false; then :
15974 $as_echo_n "(cached) " >&6
15975 else
15976 ac_check_soname_save_LIBS=$LIBS
15977 LIBS="-ltiff $TIFF_LIBS $LIBS"
15978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15979 /* end confdefs.h. */
15981 /* Override any GCC internal prototype to avoid an error.
15982 Use char because int might match the return type of a GCC
15983 builtin and then its argument prototype would still apply. */
15984 #ifdef __cplusplus
15985 extern "C"
15986 #endif
15987 char TIFFClientOpen ();
15989 main ()
15991 return TIFFClientOpen ();
15993 return 0;
15995 _ACEOF
15996 if ac_fn_c_try_link "$LINENO"; then :
15997 case "$LIBEXT" in
15998 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15999 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'` ;;
16000 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16001 if ${ac_cv_lib_soname_tiff:+false} :; then :
16002 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16003 fi ;;
16004 esac
16005 else
16006 ac_cv_lib_soname_tiff=
16008 rm -f core conftest.err conftest.$ac_objext \
16009 conftest$ac_exeext conftest.$ac_ext
16010 LIBS=$ac_check_soname_save_LIBS
16012 if ${ac_cv_lib_soname_tiff:+false} :; then :
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16014 $as_echo "not found" >&6; }
16016 else
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16018 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16020 cat >>confdefs.h <<_ACEOF
16021 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16022 _ACEOF
16027 CPPFLAGS=$ac_save_CPPFLAGS
16030 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16031 case "x$with_tiff" in
16032 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16033 xno) ;;
16034 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16035 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16036 esac
16040 if test "x$with_mpg123" != "xno"
16041 then
16042 if ${MPG123_CFLAGS:+false} :; then :
16043 if ${PKG_CONFIG+:} false; then :
16044 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16048 if ${MPG123_LIBS:+false} :; then :
16049 if ${PKG_CONFIG+:} false; then :
16050 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16054 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16055 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16056 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16057 ac_save_CPPFLAGS=$CPPFLAGS
16058 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16059 for ac_header in mpg123.h
16060 do :
16061 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16062 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16063 cat >>confdefs.h <<_ACEOF
16064 #define HAVE_MPG123_H 1
16065 _ACEOF
16069 done
16071 if test "$ac_cv_header_mpg123_h" = "yes"
16072 then
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16074 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16075 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16076 $as_echo_n "(cached) " >&6
16077 else
16078 ac_check_lib_save_LIBS=$LIBS
16079 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16081 /* end confdefs.h. */
16083 /* Override any GCC internal prototype to avoid an error.
16084 Use char because int might match the return type of a GCC
16085 builtin and then its argument prototype would still apply. */
16086 #ifdef __cplusplus
16087 extern "C"
16088 #endif
16089 char mpg123_feed ();
16091 main ()
16093 return mpg123_feed ();
16095 return 0;
16097 _ACEOF
16098 if ac_fn_c_try_link "$LINENO"; then :
16099 ac_cv_lib_mpg123_mpg123_feed=yes
16100 else
16101 ac_cv_lib_mpg123_mpg123_feed=no
16103 rm -f core conftest.err conftest.$ac_objext \
16104 conftest$ac_exeext conftest.$ac_ext
16105 LIBS=$ac_check_lib_save_LIBS
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16108 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16109 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16111 else
16112 MPG123_LIBS=""
16115 else
16116 MPG123_CFLAGS=""
16117 MPG123_LIBS=""
16119 CPPFLAGS=$ac_save_CPPFLAGS
16122 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16123 case "x$with_mpg123" in
16124 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16125 xno) ;;
16126 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16127 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16128 esac
16129 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16131 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16133 if test "$ac_cv_header_AL_al_h" = "yes"
16134 then
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16136 $as_echo_n "checking for -lopenal... " >&6; }
16137 if ${ac_cv_lib_soname_openal+:} false; then :
16138 $as_echo_n "(cached) " >&6
16139 else
16140 ac_check_soname_save_LIBS=$LIBS
16141 LIBS="-lopenal $LIBS"
16142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16143 /* end confdefs.h. */
16145 /* Override any GCC internal prototype to avoid an error.
16146 Use char because int might match the return type of a GCC
16147 builtin and then its argument prototype would still apply. */
16148 #ifdef __cplusplus
16149 extern "C"
16150 #endif
16151 char alGetSource3i ();
16153 main ()
16155 return alGetSource3i ();
16157 return 0;
16159 _ACEOF
16160 if ac_fn_c_try_link "$LINENO"; then :
16161 case "$LIBEXT" in
16162 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16163 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'` ;;
16164 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16165 if ${ac_cv_lib_soname_openal:+false} :; then :
16166 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16167 fi ;;
16168 esac
16169 else
16170 ac_cv_lib_soname_openal=
16172 rm -f core conftest.err conftest.$ac_objext \
16173 conftest$ac_exeext conftest.$ac_ext
16174 LIBS=$ac_check_soname_save_LIBS
16176 if ${ac_cv_lib_soname_openal:+false} :; then :
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16178 $as_echo "not found" >&6; }
16180 else
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16182 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16184 cat >>confdefs.h <<_ACEOF
16185 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16186 _ACEOF
16188 OPENAL_LIBS="-lopenal"
16190 ac_cv_lib_openal=yes
16192 cat >>confdefs.h <<_ACEOF
16193 #define HAVE_OPENAL 1
16194 _ACEOF
16198 if test "x$ac_cv_lib_openal" != xyes; then :
16199 case "x$with_openal" in
16200 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16201 xno) ;;
16202 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16203 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16204 esac
16205 enable_openal32=${enable_openal32:-no}
16208 if test "x$ac_cv_lib_soname_FAudio" = "x"
16209 then
16210 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16211 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16212 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16213 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16214 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16215 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16216 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16217 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16218 enable_xactengine3_0=${enable_xactengine3_0:-no}
16219 enable_xactengine3_1=${enable_xactengine3_1:-no}
16220 enable_xactengine3_2=${enable_xactengine3_2:-no}
16221 enable_xactengine3_3=${enable_xactengine3_3:-no}
16222 enable_xactengine3_4=${enable_xactengine3_4:-no}
16223 enable_xactengine3_5=${enable_xactengine3_5:-no}
16224 enable_xactengine3_6=${enable_xactengine3_6:-no}
16225 enable_xactengine3_7=${enable_xactengine3_7:-no}
16226 enable_xapofx1_1=${enable_xapofx1_1:-no}
16227 enable_xapofx1_2=${enable_xapofx1_2:-no}
16228 enable_xapofx1_3=${enable_xapofx1_3:-no}
16229 enable_xapofx1_4=${enable_xapofx1_4:-no}
16230 enable_xapofx1_5=${enable_xapofx1_5:-no}
16231 enable_xaudio2_0=${enable_xaudio2_0:-no}
16232 enable_xaudio2_1=${enable_xaudio2_1:-no}
16233 enable_xaudio2_2=${enable_xaudio2_2:-no}
16234 enable_xaudio2_3=${enable_xaudio2_3:-no}
16235 enable_xaudio2_4=${enable_xaudio2_4:-no}
16236 enable_xaudio2_5=${enable_xaudio2_5:-no}
16237 enable_xaudio2_6=${enable_xaudio2_6:-no}
16238 enable_xaudio2_7=${enable_xaudio2_7:-no}
16239 enable_xaudio2_8=${enable_xaudio2_8:-no}
16240 enable_xaudio2_9=${enable_xaudio2_9:-no}
16243 if test "$ac_cv_header_kstat_h" = "yes"
16244 then
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16246 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16247 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16248 $as_echo_n "(cached) " >&6
16249 else
16250 ac_check_lib_save_LIBS=$LIBS
16251 LIBS="-lkstat $LIBS"
16252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16253 /* end confdefs.h. */
16255 /* Override any GCC internal prototype to avoid an error.
16256 Use char because int might match the return type of a GCC
16257 builtin and then its argument prototype would still apply. */
16258 #ifdef __cplusplus
16259 extern "C"
16260 #endif
16261 char kstat_open ();
16263 main ()
16265 return kstat_open ();
16267 return 0;
16269 _ACEOF
16270 if ac_fn_c_try_link "$LINENO"; then :
16271 ac_cv_lib_kstat_kstat_open=yes
16272 else
16273 ac_cv_lib_kstat_kstat_open=no
16275 rm -f core conftest.err conftest.$ac_objext \
16276 conftest$ac_exeext conftest.$ac_ext
16277 LIBS=$ac_check_lib_save_LIBS
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16280 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16281 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16283 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16285 KSTAT_LIBS="-lkstat"
16291 if test "$ac_cv_header_libprocstat_h" = "yes"
16292 then
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16294 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16295 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16296 $as_echo_n "(cached) " >&6
16297 else
16298 ac_check_lib_save_LIBS=$LIBS
16299 LIBS="-lprocstat $LIBS"
16300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16301 /* end confdefs.h. */
16303 /* Override any GCC internal prototype to avoid an error.
16304 Use char because int might match the return type of a GCC
16305 builtin and then its argument prototype would still apply. */
16306 #ifdef __cplusplus
16307 extern "C"
16308 #endif
16309 char procstat_open_sysctl ();
16311 main ()
16313 return procstat_open_sysctl ();
16315 return 0;
16317 _ACEOF
16318 if ac_fn_c_try_link "$LINENO"; then :
16319 ac_cv_lib_procstat_procstat_open_sysctl=yes
16320 else
16321 ac_cv_lib_procstat_procstat_open_sysctl=no
16323 rm -f core conftest.err conftest.$ac_objext \
16324 conftest$ac_exeext conftest.$ac_ext
16325 LIBS=$ac_check_lib_save_LIBS
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16328 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16329 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16331 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16333 PROCSTAT_LIBS="-lprocstat"
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16340 $as_echo_n "checking for -lodbc... " >&6; }
16341 if ${ac_cv_lib_soname_odbc+:} false; then :
16342 $as_echo_n "(cached) " >&6
16343 else
16344 ac_check_soname_save_LIBS=$LIBS
16345 LIBS="-lodbc $LIBS"
16346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16347 /* end confdefs.h. */
16349 /* Override any GCC internal prototype to avoid an error.
16350 Use char because int might match the return type of a GCC
16351 builtin and then its argument prototype would still apply. */
16352 #ifdef __cplusplus
16353 extern "C"
16354 #endif
16355 char SQLConnect ();
16357 main ()
16359 return SQLConnect ();
16361 return 0;
16363 _ACEOF
16364 if ac_fn_c_try_link "$LINENO"; then :
16365 case "$LIBEXT" in
16366 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16367 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'` ;;
16368 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16369 if ${ac_cv_lib_soname_odbc:+false} :; then :
16370 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16371 fi ;;
16372 esac
16373 else
16374 ac_cv_lib_soname_odbc=
16376 rm -f core conftest.err conftest.$ac_objext \
16377 conftest$ac_exeext conftest.$ac_ext
16378 LIBS=$ac_check_soname_save_LIBS
16380 if ${ac_cv_lib_soname_odbc:+false} :; then :
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16382 $as_echo "not found" >&6; }
16383 cat >>confdefs.h <<_ACEOF
16384 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16385 _ACEOF
16387 else
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16389 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16391 cat >>confdefs.h <<_ACEOF
16392 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16393 _ACEOF
16398 if test "x$with_netapi" != "xno"
16399 then
16400 if ${NETAPI_CFLAGS:+false} :; then :
16401 if ${PKG_CONFIG+:} false; then :
16402 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16406 if ${NETAPI_LIBS:+false} :; then :
16407 if ${PKG_CONFIG+:} false; then :
16408 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16413 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16414 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16415 ac_save_CPPFLAGS=$CPPFLAGS
16416 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16418 $as_echo_n "checking for -lnetapi... " >&6; }
16419 if ${ac_cv_lib_soname_netapi+:} false; then :
16420 $as_echo_n "(cached) " >&6
16421 else
16422 ac_check_soname_save_LIBS=$LIBS
16423 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16425 /* end confdefs.h. */
16427 /* Override any GCC internal prototype to avoid an error.
16428 Use char because int might match the return type of a GCC
16429 builtin and then its argument prototype would still apply. */
16430 #ifdef __cplusplus
16431 extern "C"
16432 #endif
16433 char libnetapi_init ();
16435 main ()
16437 return libnetapi_init ();
16439 return 0;
16441 _ACEOF
16442 if ac_fn_c_try_link "$LINENO"; then :
16443 case "$LIBEXT" in
16444 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16445 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'` ;;
16446 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16447 if ${ac_cv_lib_soname_netapi:+false} :; then :
16448 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16449 fi ;;
16450 esac
16451 else
16452 ac_cv_lib_soname_netapi=
16454 rm -f core conftest.err conftest.$ac_objext \
16455 conftest$ac_exeext conftest.$ac_ext
16456 LIBS=$ac_check_soname_save_LIBS
16458 if ${ac_cv_lib_soname_netapi:+false} :; then :
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16460 $as_echo "not found" >&6; }
16461 cat >>confdefs.h <<_ACEOF
16462 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16463 _ACEOF
16465 else
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16467 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16469 cat >>confdefs.h <<_ACEOF
16470 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16471 _ACEOF
16475 CPPFLAGS=$ac_save_CPPFLAGS
16479 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16480 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16481 then
16482 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16485 if test "x$with_vulkan" != "xno"
16486 then
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16488 $as_echo_n "checking for -lvulkan... " >&6; }
16489 if ${ac_cv_lib_soname_vulkan+:} false; then :
16490 $as_echo_n "(cached) " >&6
16491 else
16492 ac_check_soname_save_LIBS=$LIBS
16493 LIBS="-lvulkan $LIBS"
16494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16495 /* end confdefs.h. */
16497 /* Override any GCC internal prototype to avoid an error.
16498 Use char because int might match the return type of a GCC
16499 builtin and then its argument prototype would still apply. */
16500 #ifdef __cplusplus
16501 extern "C"
16502 #endif
16503 char vkGetInstanceProcAddr ();
16505 main ()
16507 return vkGetInstanceProcAddr ();
16509 return 0;
16511 _ACEOF
16512 if ac_fn_c_try_link "$LINENO"; then :
16513 case "$LIBEXT" in
16514 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16515 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'` ;;
16516 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16517 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16518 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16519 fi ;;
16520 esac
16521 else
16522 ac_cv_lib_soname_vulkan=
16524 rm -f core conftest.err conftest.$ac_objext \
16525 conftest$ac_exeext conftest.$ac_ext
16526 LIBS=$ac_check_soname_save_LIBS
16528 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16530 $as_echo "not found" >&6; }
16532 else
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16534 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16536 cat >>confdefs.h <<_ACEOF
16537 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16538 _ACEOF
16542 if test "x$ac_cv_lib_soname_vulkan" = "x"
16543 then
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16545 $as_echo_n "checking for -lMoltenVK... " >&6; }
16546 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16547 $as_echo_n "(cached) " >&6
16548 else
16549 ac_check_soname_save_LIBS=$LIBS
16550 LIBS="-lMoltenVK $LIBS"
16551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16552 /* end confdefs.h. */
16554 /* Override any GCC internal prototype to avoid an error.
16555 Use char because int might match the return type of a GCC
16556 builtin and then its argument prototype would still apply. */
16557 #ifdef __cplusplus
16558 extern "C"
16559 #endif
16560 char vkGetInstanceProcAddr ();
16562 main ()
16564 return vkGetInstanceProcAddr ();
16566 return 0;
16568 _ACEOF
16569 if ac_fn_c_try_link "$LINENO"; then :
16570 case "$LIBEXT" in
16571 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16572 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'` ;;
16573 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16574 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16575 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16576 fi ;;
16577 esac
16578 else
16579 ac_cv_lib_soname_MoltenVK=
16581 rm -f core conftest.err conftest.$ac_objext \
16582 conftest$ac_exeext conftest.$ac_ext
16583 LIBS=$ac_check_soname_save_LIBS
16585 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16587 $as_echo "not found" >&6; }
16589 else
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16591 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16593 cat >>confdefs.h <<_ACEOF
16594 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16595 _ACEOF
16601 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16602 case "x$with_vulkan" in
16603 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16604 xno) ;;
16605 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16606 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16607 esac
16611 if test "x$with_vkd3d" != "xno"
16612 then
16613 if ${VKD3D_CFLAGS:+false} :; then :
16614 if ${PKG_CONFIG+:} false; then :
16615 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16619 if ${VKD3D_LIBS:+false} :; then :
16620 if ${PKG_CONFIG+:} false; then :
16621 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16626 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16627 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16628 ac_save_CPPFLAGS=$CPPFLAGS
16629 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16631 $as_echo_n "checking for -lvkd3d... " >&6; }
16632 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16633 $as_echo_n "(cached) " >&6
16634 else
16635 ac_check_soname_save_LIBS=$LIBS
16636 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16638 /* end confdefs.h. */
16640 /* Override any GCC internal prototype to avoid an error.
16641 Use char because int might match the return type of a GCC
16642 builtin and then its argument prototype would still apply. */
16643 #ifdef __cplusplus
16644 extern "C"
16645 #endif
16646 char vkd3d_get_dxgi_format ();
16648 main ()
16650 return vkd3d_get_dxgi_format ();
16652 return 0;
16654 _ACEOF
16655 if ac_fn_c_try_link "$LINENO"; then :
16656 case "$LIBEXT" in
16657 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16658 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'` ;;
16659 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16660 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16661 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16662 fi ;;
16663 esac
16664 else
16665 ac_cv_lib_soname_vkd3d=
16667 rm -f core conftest.err conftest.$ac_objext \
16668 conftest$ac_exeext conftest.$ac_ext
16669 LIBS=$ac_check_soname_save_LIBS
16671 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16673 $as_echo "not found" >&6; }
16675 else
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16677 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16679 cat >>confdefs.h <<_ACEOF
16680 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16681 _ACEOF
16685 CPPFLAGS=$ac_save_CPPFLAGS
16687 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16688 if ${PKG_CONFIG+:} false; then :
16689 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16693 if ${VKD3D_SHADER_LIBS:+false} :; then :
16694 if ${PKG_CONFIG+:} false; then :
16695 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16700 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16701 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16702 ac_save_CPPFLAGS=$CPPFLAGS
16703 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16705 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16706 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16707 $as_echo_n "(cached) " >&6
16708 else
16709 ac_check_soname_save_LIBS=$LIBS
16710 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16712 /* end confdefs.h. */
16714 /* Override any GCC internal prototype to avoid an error.
16715 Use char because int might match the return type of a GCC
16716 builtin and then its argument prototype would still apply. */
16717 #ifdef __cplusplus
16718 extern "C"
16719 #endif
16720 char vkd3d_shader_compile ();
16722 main ()
16724 return vkd3d_shader_compile ();
16726 return 0;
16728 _ACEOF
16729 if ac_fn_c_try_link "$LINENO"; then :
16730 case "$LIBEXT" in
16731 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16732 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'` ;;
16733 *) 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'`
16734 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16735 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16736 fi ;;
16737 esac
16738 else
16739 ac_cv_lib_soname_vkd3d_shader=
16741 rm -f core conftest.err conftest.$ac_objext \
16742 conftest$ac_exeext conftest.$ac_ext
16743 LIBS=$ac_check_soname_save_LIBS
16745 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16747 $as_echo "not found" >&6; }
16749 else
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16751 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16753 cat >>confdefs.h <<_ACEOF
16754 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16755 _ACEOF
16759 CPPFLAGS=$ac_save_CPPFLAGS
16762 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16763 case "x$with_vkd3d" in
16764 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16765 xno) ;;
16766 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16767 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16768 esac
16771 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16774 EXTRACFLAGS=""
16776 if test "x${GCC}" = "xyes"
16777 then
16778 EXTRACFLAGS="-Wall -pipe"
16780 saved_CFLAGS=$CFLAGS
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16782 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16783 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16784 $as_echo_n "(cached) " >&6
16785 else
16786 ac_wine_try_cflags_saved=$CFLAGS
16787 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16789 /* end confdefs.h. */
16790 int main(int argc, char **argv) { return 0; }
16791 _ACEOF
16792 if ac_fn_c_try_link "$LINENO"; then :
16793 ac_cv_cflags__Werror_unknown_warning_option=yes
16794 else
16795 ac_cv_cflags__Werror_unknown_warning_option=no
16797 rm -f core conftest.err conftest.$ac_objext \
16798 conftest$ac_exeext conftest.$ac_ext
16799 CFLAGS=$ac_wine_try_cflags_saved
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16802 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16803 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16804 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16807 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16808 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16809 $as_echo_n "(cached) " >&6
16810 else
16811 ac_wine_try_cflags_saved=$CFLAGS
16812 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h. */
16815 int main(int argc, char **argv) { return 0; }
16816 _ACEOF
16817 if ac_fn_c_try_link "$LINENO"; then :
16818 ac_cv_cflags__Werror_unused_command_line_argument=yes
16819 else
16820 ac_cv_cflags__Werror_unused_command_line_argument=no
16822 rm -f core conftest.err conftest.$ac_objext \
16823 conftest$ac_exeext conftest.$ac_ext
16824 CFLAGS=$ac_wine_try_cflags_saved
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16827 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16828 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16829 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16832 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16833 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16834 $as_echo_n "(cached) " >&6
16835 else
16836 ac_wine_try_cflags_saved=$CFLAGS
16837 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16839 /* end confdefs.h. */
16840 int main(int argc, char **argv) { return 0; }
16841 _ACEOF
16842 if ac_fn_c_try_link "$LINENO"; then :
16843 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16844 else
16845 ac_cv_cflags__Werror_ignored_optimization_argument=no
16847 rm -f core conftest.err conftest.$ac_objext \
16848 conftest$ac_exeext conftest.$ac_ext
16849 CFLAGS=$ac_wine_try_cflags_saved
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16852 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16853 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16854 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16857 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16858 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16859 $as_echo_n "(cached) " >&6
16860 else
16861 ac_wine_try_cflags_saved=$CFLAGS
16862 CFLAGS="$CFLAGS -fcf-protection=none"
16863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16865 int main(int argc, char **argv) { return 0; }
16866 _ACEOF
16867 if ac_fn_c_try_link "$LINENO"; then :
16868 ac_cv_cflags__fcf_protection_none=yes
16869 else
16870 ac_cv_cflags__fcf_protection_none=no
16872 rm -f core conftest.err conftest.$ac_objext \
16873 conftest$ac_exeext conftest.$ac_ext
16874 CFLAGS=$ac_wine_try_cflags_saved
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16877 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16878 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16879 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16882 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16883 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16884 $as_echo_n "(cached) " >&6
16885 else
16886 ac_wine_try_cflags_saved=$CFLAGS
16887 CFLAGS="$CFLAGS -fno-stack-protector"
16888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16890 int main(int argc, char **argv) { return 0; }
16891 _ACEOF
16892 if ac_fn_c_try_link "$LINENO"; then :
16893 ac_cv_cflags__fno_stack_protector=yes
16894 else
16895 ac_cv_cflags__fno_stack_protector=no
16897 rm -f core conftest.err conftest.$ac_objext \
16898 conftest$ac_exeext conftest.$ac_ext
16899 CFLAGS=$ac_wine_try_cflags_saved
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16902 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16903 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16904 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16907 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16908 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16909 $as_echo_n "(cached) " >&6
16910 else
16911 ac_wine_try_cflags_saved=$CFLAGS
16912 CFLAGS="$CFLAGS -fno-strict-aliasing"
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16915 int main(int argc, char **argv) { return 0; }
16916 _ACEOF
16917 if ac_fn_c_try_link "$LINENO"; then :
16918 ac_cv_cflags__fno_strict_aliasing=yes
16919 else
16920 ac_cv_cflags__fno_strict_aliasing=no
16922 rm -f core conftest.err conftest.$ac_objext \
16923 conftest$ac_exeext conftest.$ac_ext
16924 CFLAGS=$ac_wine_try_cflags_saved
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16927 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16928 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16929 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16932 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16933 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16934 $as_echo_n "(cached) " >&6
16935 else
16936 ac_wine_try_cflags_saved=$CFLAGS
16937 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16940 int main(int argc, char **argv) { return 0; }
16941 _ACEOF
16942 if ac_fn_c_try_link "$LINENO"; then :
16943 ac_cv_cflags__Wdeclaration_after_statement=yes
16944 else
16945 ac_cv_cflags__Wdeclaration_after_statement=no
16947 rm -f core conftest.err conftest.$ac_objext \
16948 conftest$ac_exeext conftest.$ac_ext
16949 CFLAGS=$ac_wine_try_cflags_saved
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16952 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16953 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16954 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16957 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16958 if ${ac_cv_cflags__Wempty_body+:} false; then :
16959 $as_echo_n "(cached) " >&6
16960 else
16961 ac_wine_try_cflags_saved=$CFLAGS
16962 CFLAGS="$CFLAGS -Wempty-body"
16963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16965 int main(int argc, char **argv) { return 0; }
16966 _ACEOF
16967 if ac_fn_c_try_link "$LINENO"; then :
16968 ac_cv_cflags__Wempty_body=yes
16969 else
16970 ac_cv_cflags__Wempty_body=no
16972 rm -f core conftest.err conftest.$ac_objext \
16973 conftest$ac_exeext conftest.$ac_ext
16974 CFLAGS=$ac_wine_try_cflags_saved
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16977 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16978 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16979 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16982 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16983 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16984 $as_echo_n "(cached) " >&6
16985 else
16986 ac_wine_try_cflags_saved=$CFLAGS
16987 CFLAGS="$CFLAGS -Wignored-qualifiers"
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 int main(int argc, char **argv) { return 0; }
16991 _ACEOF
16992 if ac_fn_c_try_link "$LINENO"; then :
16993 ac_cv_cflags__Wignored_qualifiers=yes
16994 else
16995 ac_cv_cflags__Wignored_qualifiers=no
16997 rm -f core conftest.err conftest.$ac_objext \
16998 conftest$ac_exeext conftest.$ac_ext
16999 CFLAGS=$ac_wine_try_cflags_saved
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17002 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17003 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17004 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17007 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17008 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17009 $as_echo_n "(cached) " >&6
17010 else
17011 ac_wine_try_cflags_saved=$CFLAGS
17012 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17015 int main(int argc, char **argv) { return 0; }
17016 _ACEOF
17017 if ac_fn_c_try_link "$LINENO"; then :
17018 ac_cv_cflags__Wpacked_not_aligned=yes
17019 else
17020 ac_cv_cflags__Wpacked_not_aligned=no
17022 rm -f core conftest.err conftest.$ac_objext \
17023 conftest$ac_exeext conftest.$ac_ext
17024 CFLAGS=$ac_wine_try_cflags_saved
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17027 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17028 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17029 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17032 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17033 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17034 $as_echo_n "(cached) " >&6
17035 else
17036 ac_wine_try_cflags_saved=$CFLAGS
17037 CFLAGS="$CFLAGS -Wpragma-pack"
17038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17040 int main(int argc, char **argv) { return 0; }
17041 _ACEOF
17042 if ac_fn_c_try_link "$LINENO"; then :
17043 ac_cv_cflags__Wpragma_pack=yes
17044 else
17045 ac_cv_cflags__Wpragma_pack=no
17047 rm -f core conftest.err conftest.$ac_objext \
17048 conftest$ac_exeext conftest.$ac_ext
17049 CFLAGS=$ac_wine_try_cflags_saved
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17052 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17053 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17054 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17057 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17058 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17059 $as_echo_n "(cached) " >&6
17060 else
17061 ac_wine_try_cflags_saved=$CFLAGS
17062 CFLAGS="$CFLAGS -Wshift-overflow=2"
17063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17065 int main(int argc, char **argv) { return 0; }
17066 _ACEOF
17067 if ac_fn_c_try_link "$LINENO"; then :
17068 ac_cv_cflags__Wshift_overflow_2=yes
17069 else
17070 ac_cv_cflags__Wshift_overflow_2=no
17072 rm -f core conftest.err conftest.$ac_objext \
17073 conftest$ac_exeext conftest.$ac_ext
17074 CFLAGS=$ac_wine_try_cflags_saved
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17077 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17078 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17079 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17082 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17083 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17084 $as_echo_n "(cached) " >&6
17085 else
17086 ac_wine_try_cflags_saved=$CFLAGS
17087 CFLAGS="$CFLAGS -Wstrict-prototypes"
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h. */
17090 int main(int argc, char **argv) { return 0; }
17091 _ACEOF
17092 if ac_fn_c_try_link "$LINENO"; then :
17093 ac_cv_cflags__Wstrict_prototypes=yes
17094 else
17095 ac_cv_cflags__Wstrict_prototypes=no
17097 rm -f core conftest.err conftest.$ac_objext \
17098 conftest$ac_exeext conftest.$ac_ext
17099 CFLAGS=$ac_wine_try_cflags_saved
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17102 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17103 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17104 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17107 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17108 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17109 $as_echo_n "(cached) " >&6
17110 else
17111 ac_wine_try_cflags_saved=$CFLAGS
17112 CFLAGS="$CFLAGS -Wtype-limits"
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17115 int main(int argc, char **argv) { return 0; }
17116 _ACEOF
17117 if ac_fn_c_try_link "$LINENO"; then :
17118 ac_cv_cflags__Wtype_limits=yes
17119 else
17120 ac_cv_cflags__Wtype_limits=no
17122 rm -f core conftest.err conftest.$ac_objext \
17123 conftest$ac_exeext conftest.$ac_ext
17124 CFLAGS=$ac_wine_try_cflags_saved
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17127 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17128 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17129 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17132 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17133 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17134 $as_echo_n "(cached) " >&6
17135 else
17136 ac_wine_try_cflags_saved=$CFLAGS
17137 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17140 int main(int argc, char **argv) { return 0; }
17141 _ACEOF
17142 if ac_fn_c_try_link "$LINENO"; then :
17143 ac_cv_cflags__Wunused_but_set_parameter=yes
17144 else
17145 ac_cv_cflags__Wunused_but_set_parameter=no
17147 rm -f core conftest.err conftest.$ac_objext \
17148 conftest$ac_exeext conftest.$ac_ext
17149 CFLAGS=$ac_wine_try_cflags_saved
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17152 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17153 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17154 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17157 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17158 if ${ac_cv_cflags__Wvla+:} false; then :
17159 $as_echo_n "(cached) " >&6
17160 else
17161 ac_wine_try_cflags_saved=$CFLAGS
17162 CFLAGS="$CFLAGS -Wvla"
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 int main(int argc, char **argv) { return 0; }
17166 _ACEOF
17167 if ac_fn_c_try_link "$LINENO"; then :
17168 ac_cv_cflags__Wvla=yes
17169 else
17170 ac_cv_cflags__Wvla=no
17172 rm -f core conftest.err conftest.$ac_objext \
17173 conftest$ac_exeext conftest.$ac_ext
17174 CFLAGS=$ac_wine_try_cflags_saved
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17177 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17178 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17179 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17182 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17183 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17184 $as_echo_n "(cached) " >&6
17185 else
17186 ac_wine_try_cflags_saved=$CFLAGS
17187 CFLAGS="$CFLAGS -Wwrite-strings"
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17190 int main(int argc, char **argv) { return 0; }
17191 _ACEOF
17192 if ac_fn_c_try_link "$LINENO"; then :
17193 ac_cv_cflags__Wwrite_strings=yes
17194 else
17195 ac_cv_cflags__Wwrite_strings=no
17197 rm -f core conftest.err conftest.$ac_objext \
17198 conftest$ac_exeext conftest.$ac_ext
17199 CFLAGS=$ac_wine_try_cflags_saved
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17202 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17203 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17204 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17207 if test -z "$CROSSTARGET"
17208 then
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17210 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17211 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17212 $as_echo_n "(cached) " >&6
17213 else
17214 ac_wine_try_cflags_saved=$CFLAGS
17215 CFLAGS="$CFLAGS -fexcess-precision=standard"
17216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17217 /* end confdefs.h. */
17218 int main(int argc, char **argv) { return 0; }
17219 _ACEOF
17220 if ac_fn_c_try_link "$LINENO"; then :
17221 ac_cv_cflags__fexcess_precision_standard=yes
17222 else
17223 ac_cv_cflags__fexcess_precision_standard=no
17225 rm -f core conftest.err conftest.$ac_objext \
17226 conftest$ac_exeext conftest.$ac_ext
17227 CFLAGS=$ac_wine_try_cflags_saved
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17230 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17231 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17232 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17238 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17239 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17240 $as_echo_n "(cached) " >&6
17241 else
17242 ac_wine_try_cflags_saved=$CFLAGS
17243 CFLAGS="$CFLAGS -Wpointer-arith"
17244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17246 int main(int argc, char **argv) { return 0; }
17247 _ACEOF
17248 if ac_fn_c_try_link "$LINENO"; then :
17249 ac_cv_cflags__Wpointer_arith=yes
17250 else
17251 ac_cv_cflags__Wpointer_arith=no
17253 rm -f core conftest.err conftest.$ac_objext \
17254 conftest$ac_exeext conftest.$ac_ext
17255 CFLAGS=$ac_wine_try_cflags_saved
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17258 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17259 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17260 saved_string_h_CFLAGS=$CFLAGS
17261 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17263 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17264 if ${ac_cv_c_string_h_warnings+:} false; then :
17265 $as_echo_n "(cached) " >&6
17266 else
17267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17269 #include <string.h>
17271 main ()
17275 return 0;
17277 _ACEOF
17278 if ac_fn_c_try_compile "$LINENO"; then :
17279 ac_cv_c_string_h_warnings=no
17280 else
17281 ac_cv_c_string_h_warnings=yes
17283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17286 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17287 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17288 CFLAGS=$saved_string_h_CFLAGS
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17292 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17293 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17294 $as_echo_n "(cached) " >&6
17295 else
17296 ac_wine_try_cflags_saved=$CFLAGS
17297 CFLAGS="$CFLAGS -Wlogical-op"
17298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17299 /* end confdefs.h. */
17300 int main(int argc, char **argv) { return 0; }
17301 _ACEOF
17302 if ac_fn_c_try_link "$LINENO"; then :
17303 ac_cv_cflags__Wlogical_op=yes
17304 else
17305 ac_cv_cflags__Wlogical_op=no
17307 rm -f core conftest.err conftest.$ac_objext \
17308 conftest$ac_exeext conftest.$ac_ext
17309 CFLAGS=$ac_wine_try_cflags_saved
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17312 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17313 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17314 saved_string_h_CFLAGS=$CFLAGS
17315 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17317 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17318 if ${ac_cv_c_logicalop_noisy+:} false; then :
17319 $as_echo_n "(cached) " >&6
17320 else
17321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17322 /* end confdefs.h. */
17323 #include <string.h>
17324 char*f(const char *h,char n) {return strchr(h,n);}
17326 main ()
17330 return 0;
17332 _ACEOF
17333 if ac_fn_c_try_compile "$LINENO"; then :
17334 ac_cv_c_logicalop_noisy=no
17335 else
17336 ac_cv_c_logicalop_noisy=yes
17338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17341 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17342 CFLAGS=$saved_string_h_CFLAGS
17343 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17347 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17348 if ${wine_cv_64bit_compare_swap+:} false; then :
17349 $as_echo_n "(cached) " >&6
17350 else
17351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h. */
17353 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17354 #error no
17355 #endif
17357 main ()
17361 return 0;
17363 _ACEOF
17364 if ac_fn_c_try_compile "$LINENO"; then :
17365 wine_cv_64bit_compare_swap="none needed"
17366 else
17367 case $host_cpu in
17368 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17369 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17370 *) wine_cv_64bit_compare_swap="unknown" ;;
17371 esac
17372 if test "x$wine_cv_64bit_compare_swap" != xunknown
17373 then
17374 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h. */
17377 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17378 #error no
17379 #endif
17381 main ()
17385 return 0;
17387 _ACEOF
17388 if ac_fn_c_try_compile "$LINENO"; then :
17390 else
17391 wine_cv_64bit_compare_swap="unknown"
17393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17394 CFLAGS=$saved_CFLAGS
17397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17400 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17401 case "$wine_cv_64bit_compare_swap" in
17402 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17403 "none needed") ;;
17404 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17405 esac
17407 for ac_flag in $CFLAGS; do
17408 case $ac_flag in
17409 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17410 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17411 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17412 $as_echo_n "(cached) " >&6
17413 else
17414 ac_wine_try_cflags_saved=$CFLAGS
17415 CFLAGS="$CFLAGS -gdwarf-2"
17416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17417 /* end confdefs.h. */
17418 int main(int argc, char **argv) { return 0; }
17419 _ACEOF
17420 if ac_fn_c_try_link "$LINENO"; then :
17421 ac_cv_cflags__gdwarf_2=yes
17422 else
17423 ac_cv_cflags__gdwarf_2=no
17425 rm -f core conftest.err conftest.$ac_objext \
17426 conftest$ac_exeext conftest.$ac_ext
17427 CFLAGS=$ac_wine_try_cflags_saved
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17430 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17431 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17432 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17435 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17436 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17437 $as_echo_n "(cached) " >&6
17438 else
17439 ac_wine_try_cflags_saved=$CFLAGS
17440 CFLAGS="$CFLAGS -gstrict-dwarf"
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17443 int main(int argc, char **argv) { return 0; }
17444 _ACEOF
17445 if ac_fn_c_try_link "$LINENO"; then :
17446 ac_cv_cflags__gstrict_dwarf=yes
17447 else
17448 ac_cv_cflags__gstrict_dwarf=no
17450 rm -f core conftest.err conftest.$ac_objext \
17451 conftest$ac_exeext conftest.$ac_ext
17452 CFLAGS=$ac_wine_try_cflags_saved
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17455 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17456 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17457 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17458 fi ;;
17459 esac
17460 done
17462 MSVCRTFLAGS=""
17464 case $host_os in
17465 mingw32*) ;;
17466 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17467 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17468 if ${ac_cv_cflags__fno_builtin+:} false; then :
17469 $as_echo_n "(cached) " >&6
17470 else
17471 ac_wine_try_cflags_saved=$CFLAGS
17472 CFLAGS="$CFLAGS -fno-builtin"
17473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17474 /* end confdefs.h. */
17475 int main(int argc, char **argv) { return 0; }
17476 _ACEOF
17477 if ac_fn_c_try_link "$LINENO"; then :
17478 ac_cv_cflags__fno_builtin=yes
17479 else
17480 ac_cv_cflags__fno_builtin=no
17482 rm -f core conftest.err conftest.$ac_objext \
17483 conftest$ac_exeext conftest.$ac_ext
17484 CFLAGS=$ac_wine_try_cflags_saved
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17487 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17488 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17489 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17492 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17493 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17494 $as_echo_n "(cached) " >&6
17495 else
17496 ac_wine_try_cflags_saved=$CFLAGS
17497 CFLAGS="$CFLAGS -fshort-wchar"
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17500 int main(int argc, char **argv) { return 0; }
17501 _ACEOF
17502 if ac_fn_c_try_link "$LINENO"; then :
17503 ac_cv_cflags__fshort_wchar=yes
17504 else
17505 ac_cv_cflags__fshort_wchar=no
17507 rm -f core conftest.err conftest.$ac_objext \
17508 conftest$ac_exeext conftest.$ac_ext
17509 CFLAGS=$ac_wine_try_cflags_saved
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17512 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17513 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17514 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17515 fi ;;
17516 esac
17518 case $host_cpu in
17519 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17520 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17521 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17522 $as_echo_n "(cached) " >&6
17523 else
17524 ac_wine_try_cflags_saved=$CFLAGS
17525 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17527 /* end confdefs.h. */
17528 int main(int argc, char **argv) { return 0; }
17529 _ACEOF
17530 if ac_fn_c_try_link "$LINENO"; then :
17531 ac_cv_cflags__fno_omit_frame_pointer=yes
17532 else
17533 ac_cv_cflags__fno_omit_frame_pointer=no
17535 rm -f core conftest.err conftest.$ac_objext \
17536 conftest$ac_exeext conftest.$ac_ext
17537 CFLAGS=$ac_wine_try_cflags_saved
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17540 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17541 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17542 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17543 fi ;;
17544 *x86_64*)
17545 case $host_os in
17546 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17547 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17548 if ${ac_cv_cflags__Wno_format+:} false; then :
17549 $as_echo_n "(cached) " >&6
17550 else
17551 ac_wine_try_cflags_saved=$CFLAGS
17552 CFLAGS="$CFLAGS -Wno-format"
17553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h. */
17555 int main(int argc, char **argv) { return 0; }
17556 _ACEOF
17557 if ac_fn_c_try_link "$LINENO"; then :
17558 ac_cv_cflags__Wno_format=yes
17559 else
17560 ac_cv_cflags__Wno_format=no
17562 rm -f core conftest.err conftest.$ac_objext \
17563 conftest$ac_exeext conftest.$ac_ext
17564 CFLAGS=$ac_wine_try_cflags_saved
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17567 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17568 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17569 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17570 fi ;;
17571 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17572 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17573 if ${ac_cv_cflags__mabi_ms+:} false; then :
17574 $as_echo_n "(cached) " >&6
17575 else
17576 ac_wine_try_cflags_saved=$CFLAGS
17577 CFLAGS="$CFLAGS -mabi=ms"
17578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17579 /* end confdefs.h. */
17580 int main(int argc, char **argv) { return 0; }
17581 _ACEOF
17582 if ac_fn_c_try_link "$LINENO"; then :
17583 ac_cv_cflags__mabi_ms=yes
17584 else
17585 ac_cv_cflags__mabi_ms=no
17587 rm -f core conftest.err conftest.$ac_objext \
17588 conftest$ac_exeext conftest.$ac_ext
17589 CFLAGS=$ac_wine_try_cflags_saved
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17592 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17593 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17594 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17595 fi ;;
17596 esac ;;
17597 esac
17599 CFLAGS=$saved_CFLAGS
17601 if test "x$enable_werror" = "xyes"
17602 then
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17604 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17605 if ${ac_cv_cflags__Werror+:} false; then :
17606 $as_echo_n "(cached) " >&6
17607 else
17608 ac_wine_try_cflags_saved=$CFLAGS
17609 CFLAGS="$CFLAGS -Werror"
17610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h. */
17612 int main(int argc, char **argv) { return 0; }
17613 _ACEOF
17614 if ac_fn_c_try_link "$LINENO"; then :
17615 ac_cv_cflags__Werror=yes
17616 else
17617 ac_cv_cflags__Werror=no
17619 rm -f core conftest.err conftest.$ac_objext \
17620 conftest$ac_exeext conftest.$ac_ext
17621 CFLAGS=$ac_wine_try_cflags_saved
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17624 $as_echo "$ac_cv_cflags__Werror" >&6; }
17625 if test "x$ac_cv_cflags__Werror" = xyes; then :
17626 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17633 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17634 if ${ac_cv_c_fortify_enabled+:} false; then :
17635 $as_echo_n "(cached) " >&6
17636 else
17637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17639 #include <string.h>
17641 main ()
17643 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17644 #error Fortify enabled
17645 #endif
17647 return 0;
17649 _ACEOF
17650 if ac_fn_c_try_compile "$LINENO"; then :
17651 ac_cv_c_fortify_enabled=no
17652 else
17653 ac_cv_c_fortify_enabled=yes
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17658 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17659 if test "$ac_cv_c_fortify_enabled" = yes
17660 then
17661 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17666 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17667 if ${ac_cv_c_cfi_support+:} false; then :
17668 $as_echo_n "(cached) " >&6
17669 else
17670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17672 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17674 main ()
17678 return 0;
17680 _ACEOF
17681 if ac_fn_c_try_compile "$LINENO"; then :
17682 ac_cv_c_cfi_support="yes"
17683 else
17684 ac_cv_c_cfi_support="no"
17686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17689 $as_echo "$ac_cv_c_cfi_support" >&6; }
17690 if test "$ac_cv_c_cfi_support" = "yes"
17691 then
17692 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17693 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17694 else
17695 if test "x$enable_win64" = "xyes"
17696 then
17697 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17702 case $build_os in
17703 cygwin*|mingw32*) TOOLSEXT=".exe"
17705 esac
17707 case $host_os in
17708 linux*)
17709 case $host_cpu in
17710 *i[3456789]86*|x86_64*|*aarch64*)
17711 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17712 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17714 esac
17716 esac
17719 ac_save_CFLAGS="$CFLAGS"
17720 CFLAGS="$CFLAGS $BUILTINFLAG"
17721 for ac_func in \
17722 __res_get_state \
17723 __res_getservers \
17724 _spawnvp \
17725 epoll_create \
17726 ffs \
17727 fnmatch \
17728 fork \
17729 fstatfs \
17730 fstatvfs \
17731 futimens \
17732 futimes \
17733 futimesat \
17734 getattrlist \
17735 getauxval \
17736 getifaddrs \
17737 getopt_long_only \
17738 getrandom \
17739 kqueue \
17740 lstat \
17741 mach_continuous_time \
17742 pipe2 \
17743 poll \
17744 port_create \
17745 prctl \
17746 pread \
17747 proc_pidinfo \
17748 pwrite \
17749 readdir \
17750 readlink \
17751 sched_yield \
17752 select \
17753 setproctitle \
17754 setprogname \
17755 settimeofday \
17756 sigprocmask \
17757 statfs \
17758 statvfs \
17759 strnlen \
17760 strtold \
17761 symlink \
17762 sysinfo \
17763 tcdrain \
17764 thr_kill2 \
17765 usleep
17767 do :
17768 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17769 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17770 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17771 cat >>confdefs.h <<_ACEOF
17772 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17773 _ACEOF
17776 done
17778 CFLAGS="$ac_save_CFLAGS"
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17781 $as_echo_n "checking for library containing dlopen... " >&6; }
17782 if ${ac_cv_search_dlopen+:} false; then :
17783 $as_echo_n "(cached) " >&6
17784 else
17785 ac_func_search_save_LIBS=$LIBS
17786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17789 /* Override any GCC internal prototype to avoid an error.
17790 Use char because int might match the return type of a GCC
17791 builtin and then its argument prototype would still apply. */
17792 #ifdef __cplusplus
17793 extern "C"
17794 #endif
17795 char dlopen ();
17797 main ()
17799 return dlopen ();
17801 return 0;
17803 _ACEOF
17804 for ac_lib in '' dl; do
17805 if test -z "$ac_lib"; then
17806 ac_res="none required"
17807 else
17808 ac_res=-l$ac_lib
17809 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17811 if ac_fn_c_try_link "$LINENO"; then :
17812 ac_cv_search_dlopen=$ac_res
17814 rm -f core conftest.err conftest.$ac_objext \
17815 conftest$ac_exeext
17816 if ${ac_cv_search_dlopen+:} false; then :
17817 break
17819 done
17820 if ${ac_cv_search_dlopen+:} false; then :
17822 else
17823 ac_cv_search_dlopen=no
17825 rm conftest.$ac_ext
17826 LIBS=$ac_func_search_save_LIBS
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17829 $as_echo "$ac_cv_search_dlopen" >&6; }
17830 ac_res=$ac_cv_search_dlopen
17831 if test "$ac_res" != no; then :
17832 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17836 ac_wine_check_funcs_save_LIBS="$LIBS"
17837 LIBS="$LIBS $DL_LIBS"
17838 for ac_func in dladdr dlinfo
17839 do :
17840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17842 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17843 cat >>confdefs.h <<_ACEOF
17844 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17845 _ACEOF
17848 done
17850 LIBS="$ac_wine_check_funcs_save_LIBS"
17852 if test "$ac_cv_func_poll" = no
17853 then
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17855 $as_echo_n "checking for poll in -lpoll... " >&6; }
17856 if ${ac_cv_lib_poll_poll+:} false; then :
17857 $as_echo_n "(cached) " >&6
17858 else
17859 ac_check_lib_save_LIBS=$LIBS
17860 LIBS="-lpoll $LIBS"
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17864 /* Override any GCC internal prototype to avoid an error.
17865 Use char because int might match the return type of a GCC
17866 builtin and then its argument prototype would still apply. */
17867 #ifdef __cplusplus
17868 extern "C"
17869 #endif
17870 char poll ();
17872 main ()
17874 return poll ();
17876 return 0;
17878 _ACEOF
17879 if ac_fn_c_try_link "$LINENO"; then :
17880 ac_cv_lib_poll_poll=yes
17881 else
17882 ac_cv_lib_poll_poll=no
17884 rm -f core conftest.err conftest.$ac_objext \
17885 conftest$ac_exeext conftest.$ac_ext
17886 LIBS=$ac_check_lib_save_LIBS
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17889 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17890 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17891 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17892 POLL_LIBS="-lpoll"
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17899 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17900 if ${ac_cv_search_gethostbyname+:} false; then :
17901 $as_echo_n "(cached) " >&6
17902 else
17903 ac_func_search_save_LIBS=$LIBS
17904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17905 /* end confdefs.h. */
17907 /* Override any GCC internal prototype to avoid an error.
17908 Use char because int might match the return type of a GCC
17909 builtin and then its argument prototype would still apply. */
17910 #ifdef __cplusplus
17911 extern "C"
17912 #endif
17913 char gethostbyname ();
17915 main ()
17917 return gethostbyname ();
17919 return 0;
17921 _ACEOF
17922 for ac_lib in '' nsl; do
17923 if test -z "$ac_lib"; then
17924 ac_res="none required"
17925 else
17926 ac_res=-l$ac_lib
17927 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17929 if ac_fn_c_try_link "$LINENO"; then :
17930 ac_cv_search_gethostbyname=$ac_res
17932 rm -f core conftest.err conftest.$ac_objext \
17933 conftest$ac_exeext
17934 if ${ac_cv_search_gethostbyname+:} false; then :
17935 break
17937 done
17938 if ${ac_cv_search_gethostbyname+:} false; then :
17940 else
17941 ac_cv_search_gethostbyname=no
17943 rm conftest.$ac_ext
17944 LIBS=$ac_func_search_save_LIBS
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17947 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17948 ac_res=$ac_cv_search_gethostbyname
17949 if test "$ac_res" != no; then :
17950 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17956 $as_echo_n "checking for library containing connect... " >&6; }
17957 if ${ac_cv_search_connect+:} false; then :
17958 $as_echo_n "(cached) " >&6
17959 else
17960 ac_func_search_save_LIBS=$LIBS
17961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17962 /* end confdefs.h. */
17964 /* Override any GCC internal prototype to avoid an error.
17965 Use char because int might match the return type of a GCC
17966 builtin and then its argument prototype would still apply. */
17967 #ifdef __cplusplus
17968 extern "C"
17969 #endif
17970 char connect ();
17972 main ()
17974 return connect ();
17976 return 0;
17978 _ACEOF
17979 for ac_lib in '' socket; do
17980 if test -z "$ac_lib"; then
17981 ac_res="none required"
17982 else
17983 ac_res=-l$ac_lib
17984 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17986 if ac_fn_c_try_link "$LINENO"; then :
17987 ac_cv_search_connect=$ac_res
17989 rm -f core conftest.err conftest.$ac_objext \
17990 conftest$ac_exeext
17991 if ${ac_cv_search_connect+:} false; then :
17992 break
17994 done
17995 if ${ac_cv_search_connect+:} false; then :
17997 else
17998 ac_cv_search_connect=no
18000 rm conftest.$ac_ext
18001 LIBS=$ac_func_search_save_LIBS
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18004 $as_echo "$ac_cv_search_connect" >&6; }
18005 ac_res=$ac_cv_search_connect
18006 if test "$ac_res" != no; then :
18007 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18013 $as_echo_n "checking for library containing inet_aton... " >&6; }
18014 if ${ac_cv_search_inet_aton+:} false; then :
18015 $as_echo_n "(cached) " >&6
18016 else
18017 ac_func_search_save_LIBS=$LIBS
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18021 /* Override any GCC internal prototype to avoid an error.
18022 Use char because int might match the return type of a GCC
18023 builtin and then its argument prototype would still apply. */
18024 #ifdef __cplusplus
18025 extern "C"
18026 #endif
18027 char inet_aton ();
18029 main ()
18031 return inet_aton ();
18033 return 0;
18035 _ACEOF
18036 for ac_lib in '' resolv; do
18037 if test -z "$ac_lib"; then
18038 ac_res="none required"
18039 else
18040 ac_res=-l$ac_lib
18041 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18043 if ac_fn_c_try_link "$LINENO"; then :
18044 ac_cv_search_inet_aton=$ac_res
18046 rm -f core conftest.err conftest.$ac_objext \
18047 conftest$ac_exeext
18048 if ${ac_cv_search_inet_aton+:} false; then :
18049 break
18051 done
18052 if ${ac_cv_search_inet_aton+:} false; then :
18054 else
18055 ac_cv_search_inet_aton=no
18057 rm conftest.$ac_ext
18058 LIBS=$ac_func_search_save_LIBS
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18061 $as_echo "$ac_cv_search_inet_aton" >&6; }
18062 ac_res=$ac_cv_search_inet_aton
18063 if test "$ac_res" != no; then :
18064 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18069 for ac_func in \
18070 getaddrinfo \
18071 getnameinfo \
18072 getnetbyname \
18073 getservbyport \
18075 do :
18076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18077 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18078 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18079 cat >>confdefs.h <<_ACEOF
18080 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18081 _ACEOF
18084 done
18087 case $host_os in
18088 darwin*|macosx*) ;;
18089 *) ac_save_LIBS=$LIBS
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18091 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18092 if ${ac_cv_search_clock_gettime+:} false; then :
18093 $as_echo_n "(cached) " >&6
18094 else
18095 ac_func_search_save_LIBS=$LIBS
18096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18097 /* end confdefs.h. */
18099 /* Override any GCC internal prototype to avoid an error.
18100 Use char because int might match the return type of a GCC
18101 builtin and then its argument prototype would still apply. */
18102 #ifdef __cplusplus
18103 extern "C"
18104 #endif
18105 char clock_gettime ();
18107 main ()
18109 return clock_gettime ();
18111 return 0;
18113 _ACEOF
18114 for ac_lib in '' rt; do
18115 if test -z "$ac_lib"; then
18116 ac_res="none required"
18117 else
18118 ac_res=-l$ac_lib
18119 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18121 if ac_fn_c_try_link "$LINENO"; then :
18122 ac_cv_search_clock_gettime=$ac_res
18124 rm -f core conftest.err conftest.$ac_objext \
18125 conftest$ac_exeext
18126 if ${ac_cv_search_clock_gettime+:} false; then :
18127 break
18129 done
18130 if ${ac_cv_search_clock_gettime+:} false; then :
18132 else
18133 ac_cv_search_clock_gettime=no
18135 rm conftest.$ac_ext
18136 LIBS=$ac_func_search_save_LIBS
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18139 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18140 ac_res=$ac_cv_search_clock_gettime
18141 if test "$ac_res" != no; then :
18142 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18144 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18146 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18150 LIBS=$ac_save_LIBS
18152 esac
18154 if test "x$with_ldap" != "xno"
18155 then
18156 if ${LDAP_CFLAGS:+false} :; then :
18157 if ${PKG_CONFIG+:} false; then :
18158 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18162 if ${LDAP_LIBS:+false} :; then :
18163 if ${PKG_CONFIG+:} false; then :
18164 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18168 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18169 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18170 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18171 ac_save_CPPFLAGS=$CPPFLAGS
18172 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18173 for ac_header in ldap.h lber.h
18174 do :
18175 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18176 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18177 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18178 cat >>confdefs.h <<_ACEOF
18179 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18180 _ACEOF
18184 done
18186 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18187 then
18188 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18190 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18192 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18193 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18194 $as_echo_n "(cached) " >&6
18195 else
18196 ac_check_lib_save_LIBS=$LIBS
18197 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18201 /* Override any GCC internal prototype to avoid an error.
18202 Use char because int might match the return type of a GCC
18203 builtin and then its argument prototype would still apply. */
18204 #ifdef __cplusplus
18205 extern "C"
18206 #endif
18207 char ldap_initialize ();
18209 main ()
18211 return ldap_initialize ();
18213 return 0;
18215 _ACEOF
18216 if ac_fn_c_try_link "$LINENO"; then :
18217 ac_cv_lib_ldap_r_ldap_initialize=yes
18218 else
18219 ac_cv_lib_ldap_r_ldap_initialize=no
18221 rm -f core conftest.err conftest.$ac_objext \
18222 conftest$ac_exeext conftest.$ac_ext
18223 LIBS=$ac_check_lib_save_LIBS
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18226 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18227 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18229 $as_echo_n "checking for ber_init in -llber... " >&6; }
18230 if ${ac_cv_lib_lber_ber_init+:} false; then :
18231 $as_echo_n "(cached) " >&6
18232 else
18233 ac_check_lib_save_LIBS=$LIBS
18234 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18236 /* end confdefs.h. */
18238 /* Override any GCC internal prototype to avoid an error.
18239 Use char because int might match the return type of a GCC
18240 builtin and then its argument prototype would still apply. */
18241 #ifdef __cplusplus
18242 extern "C"
18243 #endif
18244 char ber_init ();
18246 main ()
18248 return ber_init ();
18250 return 0;
18252 _ACEOF
18253 if ac_fn_c_try_link "$LINENO"; then :
18254 ac_cv_lib_lber_ber_init=yes
18255 else
18256 ac_cv_lib_lber_ber_init=no
18258 rm -f core conftest.err conftest.$ac_objext \
18259 conftest$ac_exeext conftest.$ac_ext
18260 LIBS=$ac_check_lib_save_LIBS
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18263 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18264 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18266 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18268 else
18269 LDAP_LIBS=""
18272 else
18273 LDAP_LIBS=""
18276 else
18277 LDAP_LIBS=""
18280 ac_wine_check_funcs_save_LIBS="$LIBS"
18281 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18282 for ac_func in \
18283 ldap_count_references \
18284 ldap_first_reference \
18285 ldap_next_reference \
18286 ldap_parse_reference \
18287 ldap_parse_sort_control \
18288 ldap_parse_sortresponse_control \
18289 ldap_parse_vlv_control \
18290 ldap_parse_vlvresponse_control
18291 do :
18292 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18294 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18295 cat >>confdefs.h <<_ACEOF
18296 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18297 _ACEOF
18300 done
18302 LIBS="$ac_wine_check_funcs_save_LIBS"
18303 else
18304 LDAP_LIBS=""
18306 CPPFLAGS=$ac_save_CPPFLAGS
18309 if test "x$LDAP_LIBS" = "x"; then :
18310 case "x$with_ldap" in
18311 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18312 xno) ;;
18313 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18314 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18315 esac
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18320 $as_echo_n "checking for sched_setaffinity... " >&6; }
18321 if ${wine_cv_have_sched_setaffinity+:} false; then :
18322 $as_echo_n "(cached) " >&6
18323 else
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18326 #define _GNU_SOURCE
18327 #include <sched.h>
18329 main ()
18331 sched_setaffinity(0, 0, 0);
18333 return 0;
18335 _ACEOF
18336 if ac_fn_c_try_link "$LINENO"; then :
18337 wine_cv_have_sched_setaffinity=yes
18338 else
18339 wine_cv_have_sched_setaffinity=no
18341 rm -f core conftest.err conftest.$ac_objext \
18342 conftest$ac_exeext conftest.$ac_ext
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18345 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18346 if test "$wine_cv_have_sched_setaffinity" = "yes"
18347 then
18349 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18354 $as_echo_n "checking for fallocate... " >&6; }
18355 if ${wine_cv_have_fallocate+:} false; then :
18356 $as_echo_n "(cached) " >&6
18357 else
18358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18359 /* end confdefs.h. */
18360 #define _GNU_SOURCE
18361 #include <fcntl.h>
18363 main ()
18365 fallocate(-1, 0, 0, 0);
18367 return 0;
18369 _ACEOF
18370 if ac_fn_c_try_link "$LINENO"; then :
18371 wine_cv_have_fallocate=yes
18372 else
18373 wine_cv_have_fallocate=no
18375 rm -f core conftest.err conftest.$ac_objext \
18376 conftest$ac_exeext conftest.$ac_ext
18378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18379 $as_echo "$wine_cv_have_fallocate" >&6; }
18380 if test "$wine_cv_have_fallocate" = "yes"
18381 then
18383 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18389 $as_echo_n "checking for inline... " >&6; }
18390 if ${ac_cv_c_inline+:} false; then :
18391 $as_echo_n "(cached) " >&6
18392 else
18393 ac_cv_c_inline=no
18394 for ac_kw in inline __inline__ __inline; do
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 #ifndef __cplusplus
18398 typedef int foo_t;
18399 static $ac_kw foo_t static_foo () {return 0; }
18400 $ac_kw foo_t foo () {return 0; }
18401 #endif
18403 _ACEOF
18404 if ac_fn_c_try_compile "$LINENO"; then :
18405 ac_cv_c_inline=$ac_kw
18407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18408 test "$ac_cv_c_inline" != no && break
18409 done
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18413 $as_echo "$ac_cv_c_inline" >&6; }
18415 case $ac_cv_c_inline in
18416 inline | yes) ;;
18418 case $ac_cv_c_inline in
18419 no) ac_val=;;
18420 *) ac_val=$ac_cv_c_inline;;
18421 esac
18422 cat >>confdefs.h <<_ACEOF
18423 #ifndef __cplusplus
18424 #define inline $ac_val
18425 #endif
18426 _ACEOF
18428 esac
18430 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18431 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18433 cat >>confdefs.h <<_ACEOF
18434 #define HAVE_FSBLKCNT_T 1
18435 _ACEOF
18439 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18440 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18442 cat >>confdefs.h <<_ACEOF
18443 #define HAVE_FSFILCNT_T 1
18444 _ACEOF
18449 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18450 #include <signal.h>
18452 if test "x$ac_cv_type_sigset_t" = xyes; then :
18454 cat >>confdefs.h <<_ACEOF
18455 #define HAVE_SIGSET_T 1
18456 _ACEOF
18461 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18463 if test "x$ac_cv_type_request_sense" = xyes; then :
18465 cat >>confdefs.h <<_ACEOF
18466 #define HAVE_REQUEST_SENSE 1
18467 _ACEOF
18473 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18474 #ifdef HAVE_SYS_SOCKET_H
18475 #include <sys/socket.h>
18476 #endif
18477 #ifdef HAVE_SYS_SOCKETVAR_H
18478 #include <sys/socketvar.h>
18479 #endif
18480 #ifdef HAVE_NET_ROUTE_H
18481 #include <net/route.h>
18482 #endif
18483 #ifdef HAVE_NETINET_IN_H
18484 #include <netinet/in.h>
18485 #endif
18486 #ifdef HAVE_NETINET_IN_SYSTM_H
18487 #include <netinet/in_systm.h>
18488 #endif
18489 #ifdef HAVE_NETINET_IP_H
18490 #include <netinet/ip.h>
18491 #endif
18492 #ifdef HAVE_NETINET_IN_PCB_H
18493 #include <netinet/in_pcb.h>
18494 #endif
18496 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18498 cat >>confdefs.h <<_ACEOF
18499 #define HAVE_STRUCT_XINPGEN 1
18500 _ACEOF
18506 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18507 #include <linux/input.h>
18508 #endif
18510 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18512 cat >>confdefs.h <<_ACEOF
18513 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18514 _ACEOF
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18521 $as_echo_n "checking for if_nameindex... " >&6; }
18522 if ${wine_cv_have_if_nameindex+:} false; then :
18523 $as_echo_n "(cached) " >&6
18524 else
18525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18526 /* end confdefs.h. */
18527 #ifdef HAVE_SYS_TYPES_H
18528 #include <sys/types.h>
18529 #endif
18530 #ifdef HAVE_SYS_SOCKET_H
18531 #include <sys/socket.h>
18532 #endif
18533 #ifdef HAVE_NET_IF_H
18534 # include <net/if.h>
18535 #endif
18537 main ()
18539 struct if_nameindex *p = if_nameindex(); return p->if_index;
18541 return 0;
18543 _ACEOF
18544 if ac_fn_c_try_link "$LINENO"; then :
18545 wine_cv_have_if_nameindex=yes
18546 else
18547 wine_cv_have_if_nameindex=no
18549 rm -f core conftest.err conftest.$ac_objext \
18550 conftest$ac_exeext conftest.$ac_ext
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18553 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18554 if test "$wine_cv_have_if_nameindex" = "yes"
18555 then
18557 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18562 $as_echo_n "checking for sigaddset... " >&6; }
18563 if ${wine_cv_have_sigaddset+:} false; then :
18564 $as_echo_n "(cached) " >&6
18565 else
18566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18567 /* end confdefs.h. */
18568 #include <signal.h>
18570 main ()
18572 sigset_t set; sigaddset(&set,SIGTERM);
18574 return 0;
18576 _ACEOF
18577 if ac_fn_c_try_link "$LINENO"; then :
18578 wine_cv_have_sigaddset=yes
18579 else
18580 wine_cv_have_sigaddset=no
18582 rm -f core conftest.err conftest.$ac_objext \
18583 conftest$ac_exeext conftest.$ac_ext
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18586 $as_echo "$wine_cv_have_sigaddset" >&6; }
18587 if test "$wine_cv_have_sigaddset" = "yes"
18588 then
18590 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18596 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18597 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18598 $as_echo_n "(cached) " >&6
18599 else
18600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18601 /* end confdefs.h. */
18602 #include <netdb.h>
18604 main ()
18607 char *name=0;
18608 struct hostent he;
18609 struct hostent *result;
18610 char *buf=0;
18611 int bufsize=0;
18612 int errnr;
18613 char *addr=0;
18614 int addrlen=0;
18615 int addrtype=0;
18616 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18617 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18620 return 0;
18622 _ACEOF
18623 if ac_fn_c_try_link "$LINENO"; then :
18624 wine_cv_linux_gethostbyname_r_6=yes
18625 else
18626 wine_cv_linux_gethostbyname_r_6=no
18629 rm -f core conftest.err conftest.$ac_objext \
18630 conftest$ac_exeext conftest.$ac_ext
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18634 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18635 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18636 then
18638 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18642 if test "$ac_cv_header_linux_joystick_h" = "yes"
18643 then
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18645 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18646 if ${wine_cv_linux_joystick_22_api+:} false; then :
18647 $as_echo_n "(cached) " >&6
18648 else
18649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18650 /* end confdefs.h. */
18652 #include <sys/ioctl.h>
18653 #include <sys/types.h>
18654 #include <linux/joystick.h>
18656 struct js_event blub;
18657 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18658 #error "no 2.2 header"
18659 #endif
18662 main ()
18664 /*empty*/
18666 return 0;
18668 _ACEOF
18669 if ac_fn_c_try_compile "$LINENO"; then :
18670 wine_cv_linux_joystick_22_api=yes
18671 else
18672 wine_cv_linux_joystick_22_api=no
18674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18678 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18679 if test "$wine_cv_linux_joystick_22_api" = "yes"
18680 then
18682 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18688 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18689 #ifdef HAVE_SYS_PARAM_H
18690 # include <sys/param.h>
18691 #endif
18692 #ifdef HAVE_SYS_MOUNT_H
18693 # include <sys/mount.h>
18694 #endif
18695 #ifdef HAVE_SYS_VFS_H
18696 # include <sys/vfs.h>
18697 #endif
18698 #ifdef HAVE_SYS_STATFS_H
18699 # include <sys/statfs.h>
18700 #endif
18702 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18704 cat >>confdefs.h <<_ACEOF
18705 #define HAVE_STRUCT_STATFS_F_BFREE 1
18706 _ACEOF
18710 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18711 #ifdef HAVE_SYS_PARAM_H
18712 # include <sys/param.h>
18713 #endif
18714 #ifdef HAVE_SYS_MOUNT_H
18715 # include <sys/mount.h>
18716 #endif
18717 #ifdef HAVE_SYS_VFS_H
18718 # include <sys/vfs.h>
18719 #endif
18720 #ifdef HAVE_SYS_STATFS_H
18721 # include <sys/statfs.h>
18722 #endif
18724 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18726 cat >>confdefs.h <<_ACEOF
18727 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18728 _ACEOF
18732 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18733 #ifdef HAVE_SYS_PARAM_H
18734 # include <sys/param.h>
18735 #endif
18736 #ifdef HAVE_SYS_MOUNT_H
18737 # include <sys/mount.h>
18738 #endif
18739 #ifdef HAVE_SYS_VFS_H
18740 # include <sys/vfs.h>
18741 #endif
18742 #ifdef HAVE_SYS_STATFS_H
18743 # include <sys/statfs.h>
18744 #endif
18746 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18748 cat >>confdefs.h <<_ACEOF
18749 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18750 _ACEOF
18754 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18755 #ifdef HAVE_SYS_PARAM_H
18756 # include <sys/param.h>
18757 #endif
18758 #ifdef HAVE_SYS_MOUNT_H
18759 # include <sys/mount.h>
18760 #endif
18761 #ifdef HAVE_SYS_VFS_H
18762 # include <sys/vfs.h>
18763 #endif
18764 #ifdef HAVE_SYS_STATFS_H
18765 # include <sys/statfs.h>
18766 #endif
18768 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18770 cat >>confdefs.h <<_ACEOF
18771 #define HAVE_STRUCT_STATFS_F_FFREE 1
18772 _ACEOF
18776 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18777 #ifdef HAVE_SYS_PARAM_H
18778 # include <sys/param.h>
18779 #endif
18780 #ifdef HAVE_SYS_MOUNT_H
18781 # include <sys/mount.h>
18782 #endif
18783 #ifdef HAVE_SYS_VFS_H
18784 # include <sys/vfs.h>
18785 #endif
18786 #ifdef HAVE_SYS_STATFS_H
18787 # include <sys/statfs.h>
18788 #endif
18790 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18792 cat >>confdefs.h <<_ACEOF
18793 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18794 _ACEOF
18798 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18799 #ifdef HAVE_SYS_PARAM_H
18800 # include <sys/param.h>
18801 #endif
18802 #ifdef HAVE_SYS_MOUNT_H
18803 # include <sys/mount.h>
18804 #endif
18805 #ifdef HAVE_SYS_VFS_H
18806 # include <sys/vfs.h>
18807 #endif
18808 #ifdef HAVE_SYS_STATFS_H
18809 # include <sys/statfs.h>
18810 #endif
18812 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18814 cat >>confdefs.h <<_ACEOF
18815 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18816 _ACEOF
18822 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18823 #include <sys/statvfs.h>
18824 #endif
18826 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18828 cat >>confdefs.h <<_ACEOF
18829 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18830 _ACEOF
18836 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18837 #include <dirent.h>
18838 #endif
18840 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18842 cat >>confdefs.h <<_ACEOF
18843 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18844 _ACEOF
18850 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18851 #ifdef HAVE_SYS_SOCKET_H
18852 # include <sys/socket.h>
18853 #endif
18854 #ifdef HAVE_SYS_UN_H
18855 # include <sys/un.h>
18856 #endif
18858 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18860 cat >>confdefs.h <<_ACEOF
18861 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18862 _ACEOF
18866 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18867 #ifdef HAVE_SYS_SOCKET_H
18868 # include <sys/socket.h>
18869 #endif
18870 #ifdef HAVE_SYS_UN_H
18871 # include <sys/un.h>
18872 #endif
18874 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18876 cat >>confdefs.h <<_ACEOF
18877 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18878 _ACEOF
18882 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18883 #ifdef HAVE_SYS_SOCKET_H
18884 # include <sys/socket.h>
18885 #endif
18886 #ifdef HAVE_SYS_UN_H
18887 # include <sys/un.h>
18888 #endif
18890 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18892 cat >>confdefs.h <<_ACEOF
18893 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18894 _ACEOF
18900 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18901 #ifdef HAVE_SCSI_SG_H
18902 #include <scsi/sg.h>
18903 #endif
18905 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18907 cat >>confdefs.h <<_ACEOF
18908 #define HAVE_SCSIREQ_T_CMD 1
18909 _ACEOF
18913 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>
18914 #ifdef HAVE_SCSI_SG_H
18915 #include <scsi/sg.h>
18916 #endif
18918 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18920 cat >>confdefs.h <<_ACEOF
18921 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18922 _ACEOF
18928 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18930 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18932 cat >>confdefs.h <<_ACEOF
18933 #define HAVE_SIGINFO_T_SI_FD 1
18934 _ACEOF
18940 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18941 #ifdef HAVE_SYS_MTIO_H
18942 #include <sys/mtio.h>
18943 #endif
18945 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18947 cat >>confdefs.h <<_ACEOF
18948 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18949 _ACEOF
18953 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#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_gstat" = xyes; then :
18960 cat >>confdefs.h <<_ACEOF
18961 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18962 _ACEOF
18966 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#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_blkno" = xyes; then :
18973 cat >>confdefs.h <<_ACEOF
18974 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18975 _ACEOF
18981 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18982 #include <getopt.h>
18983 #endif
18985 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18987 cat >>confdefs.h <<_ACEOF
18988 #define HAVE_STRUCT_OPTION_NAME 1
18989 _ACEOF
18995 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18996 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18998 cat >>confdefs.h <<_ACEOF
18999 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19000 _ACEOF
19004 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19005 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19007 cat >>confdefs.h <<_ACEOF
19008 #define HAVE_STRUCT_STAT_ST_MTIM 1
19009 _ACEOF
19013 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19014 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19016 cat >>confdefs.h <<_ACEOF
19017 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19018 _ACEOF
19022 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19023 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19025 cat >>confdefs.h <<_ACEOF
19026 #define HAVE_STRUCT_STAT_ST_CTIM 1
19027 _ACEOF
19031 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19032 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19034 cat >>confdefs.h <<_ACEOF
19035 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19036 _ACEOF
19040 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19041 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19043 cat >>confdefs.h <<_ACEOF
19044 #define HAVE_STRUCT_STAT_ST_ATIM 1
19045 _ACEOF
19049 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19050 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19052 cat >>confdefs.h <<_ACEOF
19053 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19054 _ACEOF
19058 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19059 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19061 cat >>confdefs.h <<_ACEOF
19062 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19063 _ACEOF
19067 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19068 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19070 cat >>confdefs.h <<_ACEOF
19071 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19072 _ACEOF
19076 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19077 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19079 cat >>confdefs.h <<_ACEOF
19080 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19081 _ACEOF
19085 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19086 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19088 cat >>confdefs.h <<_ACEOF
19089 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19090 _ACEOF
19094 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19095 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19097 cat >>confdefs.h <<_ACEOF
19098 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19099 _ACEOF
19105 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
19106 #include <sys/types.h>
19107 #endif
19108 #ifdef HAVE_NETINET_IN_H
19109 #include <netinet/in.h>
19110 #endif
19112 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19114 cat >>confdefs.h <<_ACEOF
19115 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19116 _ACEOF
19122 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19123 #include <sys/types.h>
19124 #endif
19125 #ifdef HAVE_NETINET_IN_H
19126 #include <netinet/in.h>
19127 #endif
19128 #ifdef HAVE_RESOLV_H
19129 #include <resolv.h>
19130 #endif
19132 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19134 cat >>confdefs.h <<_ACEOF
19135 #define HAVE_STRUCT___RES_STATE 1
19136 _ACEOF
19142 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
19143 #include <resolv.h>
19144 #endif
19146 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19150 _ACEOF
19156 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19157 #include <sys/types.h>
19158 #endif
19159 #ifdef HAVE_NETINET_IN_H
19160 # include <netinet/in.h>
19161 #endif
19162 #ifdef HAVE_ARPA_NAMESER_H
19163 # include <arpa/nameser.h>
19164 #endif
19166 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19168 cat >>confdefs.h <<_ACEOF
19169 #define HAVE_NS_MSG__MSG_PTR 1
19170 _ACEOF
19176 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19177 #include <sys/types.h>
19178 #endif
19179 #ifdef HAVE_NETINET_IN_H
19180 #include <netinet/in.h>
19181 #endif
19182 #ifdef HAVE_NETINET_IP_H
19183 #include <netinet/ip.h>
19184 #endif
19185 #ifdef HAVE_NETINET_IP_ICMP_H
19186 #include <netinet/ip_icmp.h>
19187 #endif
19188 #ifdef HAVE_NETINET_ICMP_VAR_H
19189 #include <netinet/icmp_var.h>
19190 #endif
19192 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19194 cat >>confdefs.h <<_ACEOF
19195 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19196 _ACEOF
19202 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19203 #include <sys/types.h>
19204 #endif
19205 #ifdef HAVE_ALIAS_H
19206 #include <alias.h>
19207 #endif
19208 #ifdef HAVE_SYS_SOCKET_H
19209 #include <sys/socket.h>
19210 #endif
19211 #ifdef HAVE_SYS_SOCKETVAR_H
19212 #include <sys/socketvar.h>
19213 #endif
19214 #ifdef HAVE_SYS_TIMEOUT_H
19215 #include <sys/timeout.h>
19216 #endif
19217 #ifdef HAVE_NETINET_IN_H
19218 #include <netinet/in.h>
19219 #endif
19220 #ifdef HAVE_NETINET_IN_SYSTM_H
19221 #include <netinet/in_systm.h>
19222 #endif
19223 #ifdef HAVE_NETINET_IP_H
19224 #include <netinet/ip.h>
19225 #endif
19226 #ifdef HAVE_NETINET_IP_VAR_H
19227 #include <netinet/ip_var.h>
19228 #endif
19229 #ifdef HAVE_NETINET_IP_ICMP_H
19230 #include <netinet/ip_icmp.h>
19231 #endif
19232 #ifdef HAVE_NETINET_ICMP_VAR_H
19233 #include <netinet/icmp_var.h>
19234 #endif
19236 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19238 cat >>confdefs.h <<_ACEOF
19239 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19240 _ACEOF
19246 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19247 #include <sys/types.h>
19248 #endif
19249 #ifdef HAVE_SYS_SOCKETVAR_H
19250 #include <sys/socketvar.h>
19251 #endif
19252 #ifdef HAVE_NETINET_IN_H
19253 #include <netinet/in.h>
19254 #endif
19255 #ifdef HAVE_NETINET_IP_VAR_H
19256 #include <netinet/ip_var.h>
19257 #endif
19259 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19261 cat >>confdefs.h <<_ACEOF
19262 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19263 _ACEOF
19269 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
19270 #include <netinet/ip_var.h>
19271 #endif
19273 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19275 cat >>confdefs.h <<_ACEOF
19276 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19277 _ACEOF
19283 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19284 #include <sys/types.h>
19285 #endif
19286 #ifdef HAVE_SYS_SOCKETVAR_H
19287 #include <sys/socketvar.h>
19288 #endif
19289 #ifdef HAVE_NETINET_IN_H
19290 #include <netinet/in.h>
19291 #endif
19292 #ifdef HAVE_NETINET_TCP_H
19293 #include <netinet/tcp.h>
19294 #endif
19295 #ifdef HAVE_NETINET_TCP_VAR_H
19296 #include <netinet/tcp_var.h>
19297 #endif
19299 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19301 cat >>confdefs.h <<_ACEOF
19302 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19303 _ACEOF
19309 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
19310 #include <netinet/tcp_var.h>
19311 #endif
19313 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19315 cat >>confdefs.h <<_ACEOF
19316 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19317 _ACEOF
19323 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19324 #include <sys/types.h>
19325 #endif
19326 #ifdef HAVE_NETINET_IN_H
19327 #include <netinet/in.h>
19328 #endif
19329 #ifdef HAVE_NETINET_IP_VAR_H
19330 #include <netinet/ip_var.h>
19331 #endif
19332 #ifdef HAVE_NETINET_UDP_H
19333 #include <netinet/udp.h>
19334 #endif
19335 #ifdef HAVE_NETINET_UDP_VAR_H
19336 #include <netinet/udp_var.h>
19337 #endif
19339 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19341 cat >>confdefs.h <<_ACEOF
19342 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19343 _ACEOF
19349 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19350 #include <sys/types.h>
19351 #endif
19352 #ifdef HAVE_NET_IF_H
19353 # include <net/if.h>
19354 #endif
19356 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19358 cat >>confdefs.h <<_ACEOF
19359 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19360 _ACEOF
19366 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19367 # include <sys/sysinfo.h>
19368 #endif
19370 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19372 cat >>confdefs.h <<_ACEOF
19373 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19374 _ACEOF
19378 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19379 # include <sys/sysinfo.h>
19380 #endif
19382 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19384 cat >>confdefs.h <<_ACEOF
19385 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19386 _ACEOF
19392 ac_save_LIBS="$LIBS"
19393 LIBS="$LIBS -lm"
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19395 $as_echo_n "checking for isfinite... " >&6; }
19396 if ${ac_cv_have_isfinite+:} false; then :
19397 $as_echo_n "(cached) " >&6
19398 else
19399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19401 #define _GNU_SOURCE
19402 #include <math.h>
19404 main ()
19406 float f = 0.0; return isfinite(f)
19408 return 0;
19410 _ACEOF
19411 if ac_fn_c_try_link "$LINENO"; then :
19412 ac_cv_have_isfinite="yes"
19413 else
19414 ac_cv_have_isfinite="no"
19416 rm -f core conftest.err conftest.$ac_objext \
19417 conftest$ac_exeext conftest.$ac_ext
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19420 $as_echo "$ac_cv_have_isfinite" >&6; }
19421 if test "$ac_cv_have_isfinite" = "yes"
19422 then
19424 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19429 $as_echo_n "checking for isinf... " >&6; }
19430 if ${ac_cv_have_isinf+:} false; then :
19431 $as_echo_n "(cached) " >&6
19432 else
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <math.h>
19437 main ()
19439 float f = 0.0; return isinf(f)
19441 return 0;
19443 _ACEOF
19444 if ac_fn_c_try_link "$LINENO"; then :
19445 ac_cv_have_isinf="yes"
19446 else
19447 ac_cv_have_isinf="no"
19449 rm -f core conftest.err conftest.$ac_objext \
19450 conftest$ac_exeext conftest.$ac_ext
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19453 $as_echo "$ac_cv_have_isinf" >&6; }
19454 if test "$ac_cv_have_isinf" = "yes"
19455 then
19457 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19462 $as_echo_n "checking for isnan... " >&6; }
19463 if ${ac_cv_have_isnan+:} false; then :
19464 $as_echo_n "(cached) " >&6
19465 else
19466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19467 /* end confdefs.h. */
19468 #include <math.h>
19470 main ()
19472 float f = 0.0; return isnan(f)
19474 return 0;
19476 _ACEOF
19477 if ac_fn_c_try_link "$LINENO"; then :
19478 ac_cv_have_isnan="yes"
19479 else
19480 ac_cv_have_isnan="no"
19482 rm -f core conftest.err conftest.$ac_objext \
19483 conftest$ac_exeext conftest.$ac_ext
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19486 $as_echo "$ac_cv_have_isnan" >&6; }
19487 if test "$ac_cv_have_isnan" = "yes"
19488 then
19490 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19494 for ac_func in \
19495 acosh \
19496 acoshf \
19497 asinh \
19498 asinhf \
19499 atanh \
19500 atanhf \
19501 cbrt \
19502 cbrtf \
19503 erf \
19504 erfc \
19505 erfcf \
19506 erff \
19507 exp2 \
19508 exp2f \
19509 expm1 \
19510 expm1f \
19511 fma \
19512 fmaf \
19513 j0 \
19514 j1 \
19515 jn \
19516 lgamma \
19517 lgammaf \
19518 llrint \
19519 llrintf \
19520 llround \
19521 llroundf \
19522 log1p \
19523 log1pf \
19524 log2 \
19525 log2f \
19526 lrint \
19527 lrintf \
19528 lround \
19529 lroundf \
19530 nearbyint \
19531 nearbyintf \
19532 nexttoward \
19533 nexttowardf \
19534 remainder \
19535 remainderf \
19536 remquo \
19537 remquof \
19538 rint \
19539 rintf \
19540 round \
19541 roundf \
19542 tgamma \
19543 tgammaf \
19544 trunc \
19545 truncf \
19546 y0 \
19547 y1 \
19550 do :
19551 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19553 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19554 cat >>confdefs.h <<_ACEOF
19555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19556 _ACEOF
19559 done
19561 LIBS="$ac_save_LIBS"
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19564 $as_echo_n "checking for __builtin_popcount... " >&6; }
19565 if ${ac_cv_have___builtin_popcount+:} false; then :
19566 $as_echo_n "(cached) " >&6
19567 else
19568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h. */
19572 main ()
19574 return __builtin_popcount(1)
19576 return 0;
19578 _ACEOF
19579 if ac_fn_c_try_link "$LINENO"; then :
19580 ac_cv_have___builtin_popcount="yes"
19581 else
19582 ac_cv_have___builtin_popcount="no"
19584 rm -f core conftest.err conftest.$ac_objext \
19585 conftest$ac_exeext conftest.$ac_ext
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19588 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19589 if test "$ac_cv_have___builtin_popcount" = "yes"
19590 then
19592 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19597 $as_echo_n "checking for __clear_cache... " >&6; }
19598 if ${ac_cv_have___clear_cache+:} false; then :
19599 $as_echo_n "(cached) " >&6
19600 else
19601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19602 /* end confdefs.h. */
19605 main ()
19607 __clear_cache((void*)0, (void*)0); return 0;
19609 return 0;
19611 _ACEOF
19612 if ac_fn_c_try_link "$LINENO"; then :
19613 ac_cv_have___clear_cache="yes"
19614 else
19615 ac_cv_have___clear_cache="no"
19617 rm -f core conftest.err conftest.$ac_objext \
19618 conftest$ac_exeext conftest.$ac_ext
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19621 $as_echo "$ac_cv_have___clear_cache" >&6; }
19622 if test "$ac_cv_have___clear_cache" = "yes"
19623 then
19625 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19630 case $host_cpu in
19631 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19632 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19633 if ${ac_cv_cpp_def___i386__+:} false; then :
19634 $as_echo_n "(cached) " >&6
19635 else
19636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19637 /* end confdefs.h. */
19638 #ifndef __i386__
19640 #endif
19641 _ACEOF
19642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19643 $EGREP "yes" >/dev/null 2>&1; then :
19644 ac_cv_cpp_def___i386__=yes
19645 else
19646 ac_cv_cpp_def___i386__=no
19648 rm -f conftest*
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19652 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19653 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19654 CFLAGS="$CFLAGS -D__i386__"
19655 LINTFLAGS="$LINTFLAGS -D__i386__"
19656 fi ;;
19657 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19658 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19659 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19660 $as_echo_n "(cached) " >&6
19661 else
19662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19663 /* end confdefs.h. */
19664 #ifndef __x86_64__
19666 #endif
19667 _ACEOF
19668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19669 $EGREP "yes" >/dev/null 2>&1; then :
19670 ac_cv_cpp_def___x86_64__=yes
19671 else
19672 ac_cv_cpp_def___x86_64__=no
19674 rm -f conftest*
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19678 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19679 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19680 CFLAGS="$CFLAGS -D__x86_64__"
19681 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19682 fi ;;
19683 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19684 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19685 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19686 $as_echo_n "(cached) " >&6
19687 else
19688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19689 /* end confdefs.h. */
19690 #ifndef __sparc64__
19692 #endif
19693 _ACEOF
19694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19695 $EGREP "yes" >/dev/null 2>&1; then :
19696 ac_cv_cpp_def___sparc64__=yes
19697 else
19698 ac_cv_cpp_def___sparc64__=no
19700 rm -f conftest*
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19704 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19705 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19706 CFLAGS="$CFLAGS -D__sparc64__"
19707 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19708 fi ;;
19709 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19710 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19711 if ${ac_cv_cpp_def___sparc__+:} false; then :
19712 $as_echo_n "(cached) " >&6
19713 else
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19716 #ifndef __sparc__
19718 #endif
19719 _ACEOF
19720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19721 $EGREP "yes" >/dev/null 2>&1; then :
19722 ac_cv_cpp_def___sparc__=yes
19723 else
19724 ac_cv_cpp_def___sparc__=no
19726 rm -f conftest*
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19730 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19731 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19732 CFLAGS="$CFLAGS -D__sparc__"
19733 LINTFLAGS="$LINTFLAGS -D__sparc__"
19734 fi ;;
19735 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19736 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19737 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19738 $as_echo_n "(cached) " >&6
19739 else
19740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19741 /* end confdefs.h. */
19742 #ifndef __powerpc64__
19744 #endif
19745 _ACEOF
19746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19747 $EGREP "yes" >/dev/null 2>&1; then :
19748 ac_cv_cpp_def___powerpc64__=yes
19749 else
19750 ac_cv_cpp_def___powerpc64__=no
19752 rm -f conftest*
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19756 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19757 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19758 CFLAGS="$CFLAGS -D__powerpc64__"
19759 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19760 fi ;;
19761 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19762 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19763 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19764 $as_echo_n "(cached) " >&6
19765 else
19766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19767 /* end confdefs.h. */
19768 #ifndef __powerpc__
19770 #endif
19771 _ACEOF
19772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19773 $EGREP "yes" >/dev/null 2>&1; then :
19774 ac_cv_cpp_def___powerpc__=yes
19775 else
19776 ac_cv_cpp_def___powerpc__=no
19778 rm -f conftest*
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19782 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19783 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19784 CFLAGS="$CFLAGS -D__powerpc__"
19785 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19786 fi ;;
19787 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19788 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19789 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19790 $as_echo_n "(cached) " >&6
19791 else
19792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19793 /* end confdefs.h. */
19794 #ifndef __aarch64__
19796 #endif
19797 _ACEOF
19798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19799 $EGREP "yes" >/dev/null 2>&1; then :
19800 ac_cv_cpp_def___aarch64__=yes
19801 else
19802 ac_cv_cpp_def___aarch64__=no
19804 rm -f conftest*
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19808 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19809 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19810 CFLAGS="$CFLAGS -D__aarch64__"
19811 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19812 fi ;;
19813 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19814 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19815 if ${ac_cv_cpp_def___arm__+:} false; then :
19816 $as_echo_n "(cached) " >&6
19817 else
19818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19820 #ifndef __arm__
19822 #endif
19823 _ACEOF
19824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19825 $EGREP "yes" >/dev/null 2>&1; then :
19826 ac_cv_cpp_def___arm__=yes
19827 else
19828 ac_cv_cpp_def___arm__=no
19830 rm -f conftest*
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19834 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19835 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19836 CFLAGS="$CFLAGS -D__arm__"
19837 LINTFLAGS="$LINTFLAGS -D__arm__"
19838 fi ;;
19839 esac
19841 case $host_vendor in
19842 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19843 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19844 if ${ac_cv_cpp_def___sun__+:} false; then :
19845 $as_echo_n "(cached) " >&6
19846 else
19847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19848 /* end confdefs.h. */
19849 #ifndef __sun__
19851 #endif
19852 _ACEOF
19853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19854 $EGREP "yes" >/dev/null 2>&1; then :
19855 ac_cv_cpp_def___sun__=yes
19856 else
19857 ac_cv_cpp_def___sun__=no
19859 rm -f conftest*
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19863 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19864 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19865 CFLAGS="$CFLAGS -D__sun__"
19866 LINTFLAGS="$LINTFLAGS -D__sun__"
19867 fi ;;
19868 esac
19874 ac_config_commands="$ac_config_commands include/stamp-h"
19876 $as_echo_n "creating Makefile rules..." >&6
19878 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19879 OPENGL_LIBS = $OPENGL_LIBS
19880 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19881 IOKIT_LIBS = $IOKIT_LIBS
19882 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19883 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19884 CORESERVICES_LIBS = $CORESERVICES_LIBS
19885 APPKIT_LIBS = $APPKIT_LIBS
19886 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19887 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19888 SECURITY_LIBS = $SECURITY_LIBS
19889 COREAUDIO_LIBS = $COREAUDIO_LIBS
19890 OPENAL_LIBS = $OPENAL_LIBS
19891 OPENCL_LIBS = $OPENCL_LIBS
19892 QUICKTIME_LIBS = $QUICKTIME_LIBS
19893 CARBON_LIBS = $CARBON_LIBS
19894 METAL_LIBS = $METAL_LIBS
19895 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19896 PTHREAD_LIBS = $PTHREAD_LIBS
19897 X_CFLAGS = $X_CFLAGS
19898 X_PRE_LIBS = $X_PRE_LIBS
19899 X_LIBS = $X_LIBS
19900 X_EXTRA_LIBS = $X_EXTRA_LIBS
19901 PCAP_LIBS = $PCAP_LIBS
19902 XML2_CFLAGS = $XML2_CFLAGS
19903 XML2_LIBS = $XML2_LIBS
19904 XSLT_CFLAGS = $XSLT_CFLAGS
19905 XSLT_LIBS = $XSLT_LIBS
19906 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19907 INOTIFY_LIBS = $INOTIFY_LIBS
19908 DBUS_CFLAGS = $DBUS_CFLAGS
19909 DBUS_LIBS = $DBUS_LIBS
19910 HAL_CFLAGS = $HAL_CFLAGS
19911 HAL_LIBS = $HAL_LIBS
19912 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19913 GNUTLS_LIBS = $GNUTLS_LIBS
19914 SANE_CFLAGS = $SANE_CFLAGS
19915 SANE_LIBS = $SANE_LIBS
19916 USB_CFLAGS = $USB_CFLAGS
19917 USB_LIBS = $USB_LIBS
19918 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19919 GPHOTO2_LIBS = $GPHOTO2_LIBS
19920 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19921 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19922 RESOLV_LIBS = $RESOLV_LIBS
19923 LCMS2_CFLAGS = $LCMS2_CFLAGS
19924 LCMS2_LIBS = $LCMS2_LIBS
19925 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19926 FREETYPE_LIBS = $FREETYPE_LIBS
19927 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19928 PULSE_CFLAGS = $PULSE_CFLAGS
19929 PULSE_LIBS = $PULSE_LIBS
19930 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19931 GSTREAMER_LIBS = $GSTREAMER_LIBS
19932 ALSA_LIBS = $ALSA_LIBS
19933 OSS4_CFLAGS = $OSS4_CFLAGS
19934 OSS4_LIBS = $OSS4_LIBS
19935 UDEV_CFLAGS = $UDEV_CFLAGS
19936 UDEV_LIBS = $UDEV_LIBS
19937 UNWIND_CFLAGS = $UNWIND_CFLAGS
19938 UNWIND_LIBS = $UNWIND_LIBS
19939 SDL2_CFLAGS = $SDL2_CFLAGS
19940 SDL2_LIBS = $SDL2_LIBS
19941 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19942 FAUDIO_LIBS = $FAUDIO_LIBS
19943 CAPI20_CFLAGS = $CAPI20_CFLAGS
19944 CAPI20_LIBS = $CAPI20_LIBS
19945 CUPS_CFLAGS = $CUPS_CFLAGS
19946 CUPS_LIBS = $CUPS_LIBS
19947 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19948 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19949 KRB5_CFLAGS = $KRB5_CFLAGS
19950 KRB5_LIBS = $KRB5_LIBS
19951 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19952 GSSAPI_LIBS = $GSSAPI_LIBS
19953 JPEG_CFLAGS = $JPEG_CFLAGS
19954 JPEG_LIBS = $JPEG_LIBS
19955 PNG_CFLAGS = $PNG_CFLAGS
19956 PNG_LIBS = $PNG_LIBS
19957 TIFF_CFLAGS = $TIFF_CFLAGS
19958 TIFF_LIBS = $TIFF_LIBS
19959 MPG123_CFLAGS = $MPG123_CFLAGS
19960 MPG123_LIBS = $MPG123_LIBS
19961 KSTAT_LIBS = $KSTAT_LIBS
19962 PROCSTAT_LIBS = $PROCSTAT_LIBS
19963 NETAPI_CFLAGS = $NETAPI_CFLAGS
19964 NETAPI_LIBS = $NETAPI_LIBS
19965 VKD3D_CFLAGS = $VKD3D_CFLAGS
19966 VKD3D_LIBS = $VKD3D_LIBS
19967 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19968 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19969 POLL_LIBS = $POLL_LIBS
19970 RT_LIBS = $RT_LIBS
19971 LDAP_CFLAGS = $LDAP_CFLAGS
19972 LDAP_LIBS = $LDAP_LIBS
19977 wine_fn_append_rule "
19978 # Rules automatically generated by configure
19980 .INIT: Makefile
19981 .MAKEFILEDEPS:
19982 all: Makefile
19983 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19984 @./config.status Make.tmp Makefile
19985 depend: \$(MAKEDEP)
19986 \$(MAKEDEP)
19987 dummy:
19988 .PHONY: depend dummy"
19990 ac_config_links="$ac_config_links wine:tools/winewrapper"
19991 wine_fn_config_symlink wine
19992 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19993 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19994 wine_fn_config_symlink wine64
19997 wine_fn_config_makefile dlls/acledit enable_acledit
19998 wine_fn_config_makefile dlls/aclui enable_aclui
19999 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20000 wine_fn_config_makefile dlls/activeds enable_activeds
20001 wine_fn_config_makefile dlls/activeds/tests enable_tests
20002 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20003 wine_fn_config_makefile dlls/adsiid enable_adsiid
20004 wine_fn_config_makefile dlls/adsldp enable_adsldp
20005 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20006 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20007 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20008 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20009 wine_fn_config_makefile dlls/advpack enable_advpack
20010 wine_fn_config_makefile dlls/advpack/tests enable_tests
20011 wine_fn_config_makefile dlls/amsi enable_amsi
20012 wine_fn_config_makefile dlls/amstream enable_amstream
20013 wine_fn_config_makefile dlls/amstream/tests enable_tests
20014 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20016 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20017 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20019 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20024 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20032 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20034 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20036 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20038 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20039 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20040 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20042 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20047 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20048 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20050 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20051 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20060 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20064 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20065 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20068 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20070 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20071 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20075 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20076 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20084 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20085 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20086 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20087 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20095 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20099 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20100 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20101 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20124 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20128 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20131 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20142 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20153 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20155 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20174 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20175 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20195 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20206 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20210 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20212 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20214 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20215 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20220 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20222 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20228 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20231 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20233 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20235 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20239 wine_fn_config_makefile dlls/apphelp enable_apphelp
20240 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20241 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20242 wine_fn_config_makefile dlls/atl enable_atl
20243 wine_fn_config_makefile dlls/atl/tests enable_tests
20244 wine_fn_config_makefile dlls/atl100 enable_atl100
20245 wine_fn_config_makefile dlls/atl100/tests enable_tests
20246 wine_fn_config_makefile dlls/atl110 enable_atl110
20247 wine_fn_config_makefile dlls/atl80 enable_atl80
20248 wine_fn_config_makefile dlls/atl80/tests enable_tests
20249 wine_fn_config_makefile dlls/atl90 enable_atl90
20250 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20251 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20252 wine_fn_config_makefile dlls/atmlib enable_atmlib
20253 wine_fn_config_makefile dlls/authz enable_authz
20254 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20255 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20256 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20257 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20258 wine_fn_config_makefile dlls/avrt enable_avrt
20259 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20260 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20261 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20262 wine_fn_config_makefile dlls/browseui enable_browseui
20263 wine_fn_config_makefile dlls/browseui/tests enable_tests
20264 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20265 wine_fn_config_makefile dlls/cabinet enable_cabinet
20266 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20267 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20268 wine_fn_config_makefile dlls/cards enable_cards
20269 wine_fn_config_makefile dlls/cdosys enable_cdosys
20270 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20271 wine_fn_config_makefile dlls/clusapi enable_clusapi
20272 wine_fn_config_makefile dlls/combase enable_combase
20273 wine_fn_config_makefile dlls/combase/tests enable_tests
20274 wine_fn_config_makefile dlls/comcat enable_comcat
20275 wine_fn_config_makefile dlls/comcat/tests enable_tests
20276 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20277 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20278 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20279 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20280 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20281 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20282 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20283 wine_fn_config_makefile dlls/compstui enable_compstui
20284 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20285 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20286 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20287 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20288 wine_fn_config_makefile dlls/connect enable_connect
20289 wine_fn_config_makefile dlls/credui enable_credui
20290 wine_fn_config_makefile dlls/credui/tests enable_tests
20291 wine_fn_config_makefile dlls/crtdll enable_crtdll
20292 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20293 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20294 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20295 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20296 wine_fn_config_makefile dlls/cryptext enable_cryptext
20297 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20298 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20299 wine_fn_config_makefile dlls/cryptui enable_cryptui
20300 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20301 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20302 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20303 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20304 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20305 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20306 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20307 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20308 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20309 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20310 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20311 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20312 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20313 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20314 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20315 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20316 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20317 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20318 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20319 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20320 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20321 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20322 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20323 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20324 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20325 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20326 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20327 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20328 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20329 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20330 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20331 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20332 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20333 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20334 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20335 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20336 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20337 wine_fn_config_makefile dlls/d3dim enable_d3dim
20338 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20339 wine_fn_config_makefile dlls/d3drm enable_d3drm
20340 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20341 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20342 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20343 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20344 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20345 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20346 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20347 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20348 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20349 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20350 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20351 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20352 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20353 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20354 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20355 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20356 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20357 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20358 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20359 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20360 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20361 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20362 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20363 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20364 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20365 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20366 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20367 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20368 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20369 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20370 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20371 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20372 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20373 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20374 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20375 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20376 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20377 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20378 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20379 wine_fn_config_makefile dlls/davclnt enable_davclnt
20380 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20381 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20382 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20383 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20384 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20385 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20386 wine_fn_config_makefile dlls/ddraw enable_ddraw
20387 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20388 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20389 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20390 wine_fn_config_makefile dlls/devenum enable_devenum
20391 wine_fn_config_makefile dlls/devenum/tests enable_tests
20392 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20393 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20394 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20395 wine_fn_config_makefile dlls/difxapi enable_difxapi
20396 wine_fn_config_makefile dlls/dinput enable_dinput
20397 wine_fn_config_makefile dlls/dinput/tests enable_tests
20398 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20399 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20400 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20401 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20402 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20403 wine_fn_config_makefile dlls/dispex enable_dispex
20404 wine_fn_config_makefile dlls/dispex/tests enable_tests
20405 wine_fn_config_makefile dlls/display.drv16 enable_win16
20406 wine_fn_config_makefile dlls/dmband enable_dmband
20407 wine_fn_config_makefile dlls/dmband/tests enable_tests
20408 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20409 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20410 wine_fn_config_makefile dlls/dmime enable_dmime
20411 wine_fn_config_makefile dlls/dmime/tests enable_tests
20412 wine_fn_config_makefile dlls/dmloader enable_dmloader
20413 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20414 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20415 wine_fn_config_makefile dlls/dmscript enable_dmscript
20416 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20417 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20418 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20419 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20420 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20421 wine_fn_config_makefile dlls/dmusic enable_dmusic
20422 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20423 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20424 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20425 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20426 wine_fn_config_makefile dlls/dplay enable_dplay
20427 wine_fn_config_makefile dlls/dplayx enable_dplayx
20428 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20429 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20430 wine_fn_config_makefile dlls/dpnet enable_dpnet
20431 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20432 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20433 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20434 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20435 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20436 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20437 wine_fn_config_makefile dlls/drmclien enable_drmclien
20438 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20439 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20440 wine_fn_config_makefile dlls/dsound enable_dsound
20441 wine_fn_config_makefile dlls/dsound/tests enable_tests
20442 wine_fn_config_makefile dlls/dsquery enable_dsquery
20443 wine_fn_config_makefile dlls/dssenh enable_dssenh
20444 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20445 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20446 wine_fn_config_makefile dlls/dswave enable_dswave
20447 wine_fn_config_makefile dlls/dswave/tests enable_tests
20448 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20449 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20450 wine_fn_config_makefile dlls/dwrite enable_dwrite
20451 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20452 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20453 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20454 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20455 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20456 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20457 wine_fn_config_makefile dlls/dxgi enable_dxgi
20458 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20459 wine_fn_config_makefile dlls/dxguid enable_dxguid
20460 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20461 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20462 wine_fn_config_makefile dlls/esent enable_esent
20463 wine_fn_config_makefile dlls/evr enable_evr
20464 wine_fn_config_makefile dlls/evr/tests enable_tests
20465 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20466 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20467 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20468 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20469 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20470 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20471 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20472 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20473 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20474 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20475 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20476 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20477 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20478 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20479 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20480 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20481 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20482 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20483 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20484 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20485 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20486 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20487 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20488 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20489 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20490 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20491 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20492 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20493 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20494 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20495 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20496 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20497 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20498 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20499 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20500 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20501 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20502 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20503 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20504 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20505 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20506 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20507 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
20508 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20509 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20510 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20511 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20512 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20513 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20514 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20515 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20516 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20517 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20518 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20519 wine_fn_config_makefile dlls/faultrep enable_faultrep
20520 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20521 wine_fn_config_makefile dlls/feclient enable_feclient
20522 wine_fn_config_makefile dlls/fltlib enable_fltlib
20523 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20524 wine_fn_config_makefile dlls/fntcache enable_fntcache
20525 wine_fn_config_makefile dlls/fontsub enable_fontsub
20526 wine_fn_config_makefile dlls/fusion enable_fusion
20527 wine_fn_config_makefile dlls/fusion/tests enable_tests
20528 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20529 wine_fn_config_makefile dlls/gameux enable_gameux
20530 wine_fn_config_makefile dlls/gameux/tests enable_tests
20531 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20532 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20533 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20534 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20535 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20536 wine_fn_config_makefile dlls/glu32 enable_glu32
20537 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20538 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20539 wine_fn_config_makefile dlls/hal enable_hal
20540 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20541 wine_fn_config_makefile dlls/hid enable_hid
20542 wine_fn_config_makefile dlls/hid/tests enable_tests
20543 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20544 wine_fn_config_makefile dlls/hlink enable_hlink
20545 wine_fn_config_makefile dlls/hlink/tests enable_tests
20546 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20547 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20548 wine_fn_config_makefile dlls/http.sys enable_http_sys
20549 wine_fn_config_makefile dlls/httpapi enable_httpapi
20550 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20551 wine_fn_config_makefile dlls/iccvid enable_iccvid
20552 wine_fn_config_makefile dlls/icmp enable_icmp
20553 wine_fn_config_makefile dlls/ieframe enable_ieframe
20554 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20555 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20556 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20557 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20558 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20559 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20560 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20561 wine_fn_config_makefile dlls/imm32 enable_imm32
20562 wine_fn_config_makefile dlls/imm32/tests enable_tests
20563 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20564 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20565 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20566 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20567 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20568 wine_fn_config_makefile dlls/infosoft enable_infosoft
20569 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20570 wine_fn_config_makefile dlls/initpki enable_initpki
20571 wine_fn_config_makefile dlls/inkobj enable_inkobj
20572 wine_fn_config_makefile dlls/inseng enable_inseng
20573 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20574 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20575 wine_fn_config_makefile dlls/iprop enable_iprop
20576 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20577 wine_fn_config_makefile dlls/itircl enable_itircl
20578 wine_fn_config_makefile dlls/itss enable_itss
20579 wine_fn_config_makefile dlls/itss/tests enable_tests
20580 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20581 wine_fn_config_makefile dlls/jscript enable_jscript
20582 wine_fn_config_makefile dlls/jscript/tests enable_tests
20583 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20584 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20585 wine_fn_config_makefile dlls/kerberos enable_kerberos
20586 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20587 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20588 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20589 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20590 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20591 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20592 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20593 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20594 wine_fn_config_makefile dlls/ksuser enable_ksuser
20595 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20596 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20597 wine_fn_config_makefile dlls/loadperf enable_loadperf
20598 wine_fn_config_makefile dlls/localspl enable_localspl
20599 wine_fn_config_makefile dlls/localspl/tests enable_tests
20600 wine_fn_config_makefile dlls/localui enable_localui
20601 wine_fn_config_makefile dlls/localui/tests enable_tests
20602 wine_fn_config_makefile dlls/lz32 enable_lz32
20603 wine_fn_config_makefile dlls/lz32/tests enable_tests
20604 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20605 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20606 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20607 wine_fn_config_makefile dlls/mapistub enable_mapistub
20608 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20609 wine_fn_config_makefile dlls/mcicda enable_mcicda
20610 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20611 wine_fn_config_makefile dlls/mciseq enable_mciseq
20612 wine_fn_config_makefile dlls/mciwave enable_mciwave
20613 wine_fn_config_makefile dlls/mf enable_mf
20614 wine_fn_config_makefile dlls/mf/tests enable_tests
20615 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20616 wine_fn_config_makefile dlls/mferror enable_mferror
20617 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20618 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20619 wine_fn_config_makefile dlls/mfplat enable_mfplat
20620 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20621 wine_fn_config_makefile dlls/mfplay enable_mfplay
20622 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20623 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20624 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20625 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20626 wine_fn_config_makefile dlls/midimap enable_midimap
20627 wine_fn_config_makefile dlls/mlang enable_mlang
20628 wine_fn_config_makefile dlls/mlang/tests enable_tests
20629 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20630 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20631 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20632 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20633 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20634 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20635 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20636 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20637 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20638 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20639 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20640 wine_fn_config_makefile dlls/mpr enable_mpr
20641 wine_fn_config_makefile dlls/mpr/tests enable_tests
20642 wine_fn_config_makefile dlls/mprapi enable_mprapi
20643 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20644 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20645 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20646 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20647 wine_fn_config_makefile dlls/msado15 enable_msado15
20648 wine_fn_config_makefile dlls/msado15/tests enable_tests
20649 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20650 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20651 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20652 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20653 wine_fn_config_makefile dlls/mscms enable_mscms
20654 wine_fn_config_makefile dlls/mscms/tests enable_tests
20655 wine_fn_config_makefile dlls/mscoree enable_mscoree
20656 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20657 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20658 wine_fn_config_makefile dlls/msctf enable_msctf
20659 wine_fn_config_makefile dlls/msctf/tests enable_tests
20660 wine_fn_config_makefile dlls/msctfp enable_msctfp
20661 wine_fn_config_makefile dlls/msdaps enable_msdaps
20662 wine_fn_config_makefile dlls/msdelta enable_msdelta
20663 wine_fn_config_makefile dlls/msdmo enable_msdmo
20664 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20665 wine_fn_config_makefile dlls/msdrm enable_msdrm
20666 wine_fn_config_makefile dlls/msftedit enable_msftedit
20667 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20668 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20669 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20670 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20671 wine_fn_config_makefile dlls/mshtml enable_mshtml
20672 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20673 wine_fn_config_makefile dlls/msi enable_msi
20674 wine_fn_config_makefile dlls/msi/tests enable_tests
20675 wine_fn_config_makefile dlls/msident enable_msident
20676 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20677 wine_fn_config_makefile dlls/msimsg enable_msimsg
20678 wine_fn_config_makefile dlls/msimtf enable_msimtf
20679 wine_fn_config_makefile dlls/msisip enable_msisip
20680 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20681 wine_fn_config_makefile dlls/msls31 enable_msls31
20682 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20683 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20684 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20685 wine_fn_config_makefile dlls/msports enable_msports
20686 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20687 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20688 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20689 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20690 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20691 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20692 wine_fn_config_makefile dlls/mstask enable_mstask
20693 wine_fn_config_makefile dlls/mstask/tests enable_tests
20694 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20695 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20696 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20697 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20698 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20699 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20700 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20701 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20702 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20703 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20704 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20705 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20706 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20707 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20708 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20709 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20710 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20711 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20712 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20713 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20714 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20715 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20716 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20717 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20718 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20719 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20720 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20721 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20722 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20723 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20724 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20725 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20726 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20727 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20728 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20729 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20730 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20731 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20732 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20733 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20734 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20735 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20736 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20737 wine_fn_config_makefile dlls/mswsock enable_mswsock
20738 wine_fn_config_makefile dlls/msxml enable_msxml
20739 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20740 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20741 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20742 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20743 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20744 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20745 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20746 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20747 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20748 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20749 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20750 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20751 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20752 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20753 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20754 wine_fn_config_makefile dlls/netprofm enable_netprofm
20755 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20756 wine_fn_config_makefile dlls/netutils enable_netutils
20757 wine_fn_config_makefile dlls/newdev enable_newdev
20758 wine_fn_config_makefile dlls/ninput enable_ninput
20759 wine_fn_config_makefile dlls/ninput/tests enable_tests
20760 wine_fn_config_makefile dlls/normaliz enable_normaliz
20761 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20762 wine_fn_config_makefile dlls/npptools enable_npptools
20763 wine_fn_config_makefile dlls/ntdll enable_ntdll
20764 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20765 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20766 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20767 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20768 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20769 wine_fn_config_makefile dlls/ntprint enable_ntprint
20770 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20771 wine_fn_config_makefile dlls/objsel enable_objsel
20772 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20773 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20774 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20775 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20776 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20777 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20778 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20779 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20780 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20781 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20782 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20783 wine_fn_config_makefile dlls/ole32 enable_ole32
20784 wine_fn_config_makefile dlls/ole32/tests enable_tests
20785 wine_fn_config_makefile dlls/oleacc enable_oleacc
20786 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20787 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20788 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20789 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20790 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20791 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20792 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20793 wine_fn_config_makefile dlls/oledlg enable_oledlg
20794 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20795 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20796 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20797 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20798 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20799 wine_fn_config_makefile dlls/opcservices enable_opcservices
20800 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20801 wine_fn_config_makefile dlls/openal32 enable_openal32
20802 wine_fn_config_makefile dlls/opencl enable_opencl
20803 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20804 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20805 wine_fn_config_makefile dlls/packager enable_packager
20806 wine_fn_config_makefile dlls/packager/tests enable_tests
20807 wine_fn_config_makefile dlls/pdh enable_pdh
20808 wine_fn_config_makefile dlls/pdh/tests enable_tests
20809 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20810 wine_fn_config_makefile dlls/pidgen enable_pidgen
20811 wine_fn_config_makefile dlls/powrprof enable_powrprof
20812 wine_fn_config_makefile dlls/printui enable_printui
20813 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20814 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20815 wine_fn_config_makefile dlls/propsys enable_propsys
20816 wine_fn_config_makefile dlls/propsys/tests enable_tests
20817 wine_fn_config_makefile dlls/psapi enable_psapi
20818 wine_fn_config_makefile dlls/psapi/tests enable_tests
20819 wine_fn_config_makefile dlls/pstorec enable_pstorec
20820 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20821 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20822 wine_fn_config_makefile dlls/qasf enable_qasf
20823 wine_fn_config_makefile dlls/qasf/tests enable_tests
20824 wine_fn_config_makefile dlls/qcap enable_qcap
20825 wine_fn_config_makefile dlls/qcap/tests enable_tests
20826 wine_fn_config_makefile dlls/qdvd enable_qdvd
20827 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20828 wine_fn_config_makefile dlls/qedit enable_qedit
20829 wine_fn_config_makefile dlls/qedit/tests enable_tests
20830 wine_fn_config_makefile dlls/qmgr enable_qmgr
20831 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20832 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20833 wine_fn_config_makefile dlls/quartz enable_quartz
20834 wine_fn_config_makefile dlls/quartz/tests enable_tests
20835 wine_fn_config_makefile dlls/query enable_query
20836 wine_fn_config_makefile dlls/qwave enable_qwave
20837 wine_fn_config_makefile dlls/qwave/tests enable_tests
20838 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20839 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20840 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20841 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20842 wine_fn_config_makefile dlls/regapi enable_regapi
20843 wine_fn_config_makefile dlls/resutils enable_resutils
20844 wine_fn_config_makefile dlls/riched20 enable_riched20
20845 wine_fn_config_makefile dlls/riched20/tests enable_tests
20846 wine_fn_config_makefile dlls/riched32 enable_riched32
20847 wine_fn_config_makefile dlls/riched32/tests enable_tests
20848 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20849 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20850 wine_fn_config_makefile dlls/rsabase enable_rsabase
20851 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20852 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20853 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20854 wine_fn_config_makefile dlls/rtutils enable_rtutils
20855 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20856 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20857 wine_fn_config_makefile dlls/samlib enable_samlib
20858 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20859 wine_fn_config_makefile dlls/sapi enable_sapi
20860 wine_fn_config_makefile dlls/sapi/tests enable_tests
20861 wine_fn_config_makefile dlls/sas enable_sas
20862 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20863 wine_fn_config_makefile dlls/sccbase enable_sccbase
20864 wine_fn_config_makefile dlls/schannel enable_schannel
20865 wine_fn_config_makefile dlls/schannel/tests enable_tests
20866 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20867 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20868 wine_fn_config_makefile dlls/scrobj enable_scrobj
20869 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20870 wine_fn_config_makefile dlls/scrrun enable_scrrun
20871 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20872 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20873 wine_fn_config_makefile dlls/sechost enable_sechost
20874 wine_fn_config_makefile dlls/secur32 enable_secur32
20875 wine_fn_config_makefile dlls/secur32/tests enable_tests
20876 wine_fn_config_makefile dlls/security enable_security
20877 wine_fn_config_makefile dlls/sensapi enable_sensapi
20878 wine_fn_config_makefile dlls/serialui enable_serialui
20879 wine_fn_config_makefile dlls/serialui/tests enable_tests
20880 wine_fn_config_makefile dlls/setupapi enable_setupapi
20881 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20882 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20883 wine_fn_config_makefile dlls/sfc enable_sfc
20884 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20885 wine_fn_config_makefile dlls/shcore enable_shcore
20886 wine_fn_config_makefile dlls/shcore/tests enable_tests
20887 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20888 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20889 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20890 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20891 wine_fn_config_makefile dlls/shell32 enable_shell32
20892 wine_fn_config_makefile dlls/shell32/tests enable_tests
20893 wine_fn_config_makefile dlls/shfolder enable_shfolder
20894 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20895 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20896 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20897 wine_fn_config_makefile dlls/slc enable_slc
20898 wine_fn_config_makefile dlls/slc/tests enable_tests
20899 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20900 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20901 wine_fn_config_makefile dlls/softpub enable_softpub
20902 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20903 wine_fn_config_makefile dlls/spoolss enable_spoolss
20904 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20905 wine_fn_config_makefile dlls/srclient enable_srclient
20906 wine_fn_config_makefile dlls/srvcli enable_srvcli
20907 wine_fn_config_makefile dlls/sspicli enable_sspicli
20908 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20909 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20910 wine_fn_config_makefile dlls/sti enable_sti
20911 wine_fn_config_makefile dlls/sti/tests enable_tests
20912 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20913 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20914 wine_fn_config_makefile dlls/strmbase enable_strmbase
20915 wine_fn_config_makefile dlls/strmdll enable_strmdll
20916 wine_fn_config_makefile dlls/strmiids enable_strmiids
20917 wine_fn_config_makefile dlls/svrapi enable_svrapi
20918 wine_fn_config_makefile dlls/sxs enable_sxs
20919 wine_fn_config_makefile dlls/sxs/tests enable_tests
20920 wine_fn_config_makefile dlls/system.drv16 enable_win16
20921 wine_fn_config_makefile dlls/t2embed enable_t2embed
20922 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20923 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20924 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20925 wine_fn_config_makefile dlls/taskschd enable_taskschd
20926 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20927 wine_fn_config_makefile dlls/tdh enable_tdh
20928 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20929 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20930 wine_fn_config_makefile dlls/traffic enable_traffic
20931 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20932 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20933 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20934 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20935 wine_fn_config_makefile dlls/tzres enable_tzres
20936 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20937 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20938 wine_fn_config_makefile dlls/uianimation enable_uianimation
20939 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20940 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20941 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20942 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20943 wine_fn_config_makefile dlls/unicows enable_unicows
20944 wine_fn_config_makefile dlls/updspapi enable_updspapi
20945 wine_fn_config_makefile dlls/url enable_url
20946 wine_fn_config_makefile dlls/urlmon enable_urlmon
20947 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20948 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20949 wine_fn_config_makefile dlls/user.exe16 enable_win16
20950 wine_fn_config_makefile dlls/user32 enable_user32
20951 wine_fn_config_makefile dlls/user32/tests enable_tests
20952 wine_fn_config_makefile dlls/userenv enable_userenv
20953 wine_fn_config_makefile dlls/userenv/tests enable_tests
20954 wine_fn_config_makefile dlls/usp10 enable_usp10
20955 wine_fn_config_makefile dlls/usp10/tests enable_tests
20956 wine_fn_config_makefile dlls/utildll enable_utildll
20957 wine_fn_config_makefile dlls/uuid enable_uuid
20958 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20959 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20960 wine_fn_config_makefile dlls/vbscript enable_vbscript
20961 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20962 wine_fn_config_makefile dlls/vcomp enable_vcomp
20963 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20964 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20965 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20966 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20967 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20968 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20969 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20970 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20971 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20972 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20973 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20974 wine_fn_config_makefile dlls/version enable_version
20975 wine_fn_config_makefile dlls/version/tests enable_tests
20976 wine_fn_config_makefile dlls/vga enable_vga
20977 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20978 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20979 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20980 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20981 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20982 wine_fn_config_makefile dlls/vssapi enable_vssapi
20983 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20984 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20985 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20986 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20987 wine_fn_config_makefile dlls/w32skrnl enable_win16
20988 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20989 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20990 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20991 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20992 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20993 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20994 wine_fn_config_makefile dlls/wdscore enable_wdscore
20995 wine_fn_config_makefile dlls/webservices enable_webservices
20996 wine_fn_config_makefile dlls/webservices/tests enable_tests
20997 wine_fn_config_makefile dlls/wer enable_wer
20998 wine_fn_config_makefile dlls/wer/tests enable_tests
20999 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21000 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21001 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21002 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21003 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21004 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21005 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21006 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21007 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21008 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21009 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21010 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21011 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21012 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21013 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21014 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21015 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21016 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21017 wine_fn_config_makefile dlls/wined3d enable_wined3d
21018 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21019 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21020 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21021 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21022 wine_fn_config_makefile dlls/winemapi enable_winemapi
21023 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21024 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21025 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21026 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21027 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21028 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21029 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21030 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21031 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21032 wine_fn_config_makefile dlls/wing32 enable_wing32
21033 wine_fn_config_makefile dlls/winhttp enable_winhttp
21034 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21035 wine_fn_config_makefile dlls/wininet enable_wininet
21036 wine_fn_config_makefile dlls/wininet/tests enable_tests
21037 wine_fn_config_makefile dlls/winmm enable_winmm
21038 wine_fn_config_makefile dlls/winmm/tests enable_tests
21039 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21040 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21041 wine_fn_config_makefile dlls/winscard enable_winscard
21042 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21043 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21044 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21045 wine_fn_config_makefile dlls/winsta enable_winsta
21046 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21047 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21048 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21049 wine_fn_config_makefile dlls/wintrust enable_wintrust
21050 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21051 wine_fn_config_makefile dlls/winusb enable_winusb
21052 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21053 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21054 wine_fn_config_makefile dlls/wlanui enable_wlanui
21055 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21056 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21057 wine_fn_config_makefile dlls/wmasf enable_wmasf
21058 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21059 wine_fn_config_makefile dlls/wmi enable_wmi
21060 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21061 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21062 wine_fn_config_makefile dlls/wmp enable_wmp
21063 wine_fn_config_makefile dlls/wmp/tests enable_tests
21064 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21065 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21066 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21067 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21068 wine_fn_config_makefile dlls/wow32 enable_win16
21069 wine_fn_config_makefile dlls/wpc enable_wpc
21070 wine_fn_config_makefile dlls/wpc/tests enable_tests
21071 wine_fn_config_makefile dlls/wpcap enable_wpcap
21072 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21073 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21074 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21075 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21076 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21077 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21078 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21079 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21080 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21081 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21082 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21083 wine_fn_config_makefile dlls/wuapi enable_wuapi
21084 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21085 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21086 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21087 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21088 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21089 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21090 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21091 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21092 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21093 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21094 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21095 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21096 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21097 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21098 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21099 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21100 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21101 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21102 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21103 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21104 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21105 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21106 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21107 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21108 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21109 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21110 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21111 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21112 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21113 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21114 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21115 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21116 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21117 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21118 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21119 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21120 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21121 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21122 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21123 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21124 wine_fn_config_makefile dlls/xmllite enable_xmllite
21125 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21126 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21127 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21128 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21129 wine_fn_config_makefile fonts enable_fonts
21130 wine_fn_config_makefile include enable_include
21131 wine_fn_config_makefile libs/port enable_port
21132 wine_fn_config_makefile libs/wine enable_wine
21133 wine_fn_config_makefile libs/wpp enable_wpp
21134 wine_fn_config_makefile loader enable_loader
21135 wine_fn_config_makefile nls enable_nls
21136 wine_fn_config_makefile po enable_po
21137 wine_fn_config_makefile programs/arp enable_arp
21138 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21139 wine_fn_config_makefile programs/attrib enable_attrib
21140 wine_fn_config_makefile programs/cabarc enable_cabarc
21141 wine_fn_config_makefile programs/cacls enable_cacls
21142 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21143 wine_fn_config_makefile programs/clock enable_clock
21144 wine_fn_config_makefile programs/cmd enable_cmd
21145 wine_fn_config_makefile programs/cmd/tests enable_tests
21146 wine_fn_config_makefile programs/conhost enable_conhost
21147 wine_fn_config_makefile programs/conhost/tests enable_tests
21148 wine_fn_config_makefile programs/control enable_control
21149 wine_fn_config_makefile programs/cscript enable_cscript
21150 wine_fn_config_makefile programs/dism enable_dism
21151 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21152 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21153 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21154 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21155 wine_fn_config_makefile programs/eject enable_eject
21156 wine_fn_config_makefile programs/expand enable_expand
21157 wine_fn_config_makefile programs/explorer enable_explorer
21158 wine_fn_config_makefile programs/extrac32 enable_extrac32
21159 wine_fn_config_makefile programs/fc enable_fc
21160 wine_fn_config_makefile programs/find enable_find
21161 wine_fn_config_makefile programs/find/tests enable_tests
21162 wine_fn_config_makefile programs/findstr enable_findstr
21163 wine_fn_config_makefile programs/fsutil enable_fsutil
21164 wine_fn_config_makefile programs/fsutil/tests enable_tests
21165 wine_fn_config_makefile programs/hh enable_hh
21166 wine_fn_config_makefile programs/hostname enable_hostname
21167 wine_fn_config_makefile programs/icacls enable_icacls
21168 wine_fn_config_makefile programs/icinfo enable_icinfo
21169 wine_fn_config_makefile programs/iexplore enable_iexplore
21170 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21171 wine_fn_config_makefile programs/lodctr enable_lodctr
21172 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21173 wine_fn_config_makefile programs/mshta enable_mshta
21174 wine_fn_config_makefile programs/msidb enable_msidb
21175 wine_fn_config_makefile programs/msiexec enable_msiexec
21176 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21177 wine_fn_config_makefile programs/net enable_net
21178 wine_fn_config_makefile programs/netsh enable_netsh
21179 wine_fn_config_makefile programs/netstat enable_netstat
21180 wine_fn_config_makefile programs/ngen enable_ngen
21181 wine_fn_config_makefile programs/notepad enable_notepad
21182 wine_fn_config_makefile programs/oleview enable_oleview
21183 wine_fn_config_makefile programs/ping enable_ping
21184 wine_fn_config_makefile programs/plugplay enable_plugplay
21185 wine_fn_config_makefile programs/powershell enable_powershell
21186 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21187 wine_fn_config_makefile programs/progman enable_progman
21188 wine_fn_config_makefile programs/reg enable_reg
21189 wine_fn_config_makefile programs/reg/tests enable_tests
21190 wine_fn_config_makefile programs/regasm enable_regasm
21191 wine_fn_config_makefile programs/regedit enable_regedit
21192 wine_fn_config_makefile programs/regedit/tests enable_tests
21193 wine_fn_config_makefile programs/regini enable_regini
21194 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21195 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21196 wine_fn_config_makefile programs/rpcss enable_rpcss
21197 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21198 wine_fn_config_makefile programs/rundll32 enable_rundll32
21199 wine_fn_config_makefile programs/sc enable_sc
21200 wine_fn_config_makefile programs/schtasks enable_schtasks
21201 wine_fn_config_makefile programs/schtasks/tests enable_tests
21202 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21203 wine_fn_config_makefile programs/secedit enable_secedit
21204 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21205 wine_fn_config_makefile programs/services enable_services
21206 wine_fn_config_makefile programs/services/tests enable_tests
21207 wine_fn_config_makefile programs/shutdown enable_shutdown
21208 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21209 wine_fn_config_makefile programs/start enable_start
21210 wine_fn_config_makefile programs/subst enable_subst
21211 wine_fn_config_makefile programs/svchost enable_svchost
21212 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21213 wine_fn_config_makefile programs/taskkill enable_taskkill
21214 wine_fn_config_makefile programs/tasklist enable_tasklist
21215 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21216 wine_fn_config_makefile programs/termsv enable_termsv
21217 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21218 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21219 wine_fn_config_makefile programs/view enable_view
21220 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21221 wine_fn_config_makefile programs/where enable_where
21222 wine_fn_config_makefile programs/whoami enable_whoami
21223 wine_fn_config_makefile programs/wineboot enable_wineboot
21224 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21225 wine_fn_config_makefile programs/winecfg enable_winecfg
21226 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21227 wine_fn_config_makefile programs/winedbg enable_winedbg
21228 wine_fn_config_makefile programs/winedevice enable_winedevice
21229 wine_fn_config_makefile programs/winefile enable_winefile
21230 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21231 wine_fn_config_makefile programs/winemine enable_winemine
21232 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21233 wine_fn_config_makefile programs/winepath enable_winepath
21234 wine_fn_config_makefile programs/winetest enable_winetest
21235 wine_fn_config_makefile programs/winevdm enable_win16
21236 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21237 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21238 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21239 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21240 wine_fn_config_makefile programs/winver enable_winver
21241 wine_fn_config_makefile programs/wmic enable_wmic
21242 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21243 wine_fn_config_makefile programs/wordpad enable_wordpad
21244 wine_fn_config_makefile programs/write enable_write
21245 wine_fn_config_makefile programs/wscript enable_wscript
21246 wine_fn_config_makefile programs/wscript/tests enable_tests
21247 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21248 wine_fn_config_makefile programs/wusa enable_wusa
21249 wine_fn_config_makefile programs/xcopy enable_xcopy
21250 wine_fn_config_makefile programs/xcopy/tests enable_tests
21251 wine_fn_config_makefile server enable_server
21252 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21253 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21254 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21255 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21256 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21257 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21258 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21259 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21260 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21263 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21264 wine_fn_append_file CONFIGURE_TARGETS "tags"
21265 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21266 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21267 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21268 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21269 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21270 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21272 if test "x$enable_tools" != xno
21273 then
21274 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21275 ac_config_commands="$ac_config_commands tools/makedep"
21279 ac_config_commands="$ac_config_commands Makefile"
21282 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21286 if test "x$enable_maintainer_mode" = xyes
21287 then
21288 wine_fn_append_rule "configure: configure.ac aclocal.m4
21289 autoconf --warnings=all
21290 include/config.h.in: include/stamp-h.in
21291 include/stamp-h.in: configure.ac aclocal.m4
21292 autoheader --warnings=all
21293 @echo timestamp > \$@"
21296 if test "x$enable_tools" != xno
21297 then
21298 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21299 @./config.status tools/makedep
21300 Makefile: tools/makedep$ac_exeext"
21301 else
21302 wine_fn_append_rule "\$(MAKEDEP):
21303 @echo \"You need to run make in $TOOLSDIR first\" && false"
21306 if test -n "$with_wine64"
21307 then
21308 case "$with_wine64" in
21309 /*) reldir="" ;;
21310 *) reldir="../" ;;
21311 esac
21312 rm -f fonts server 2>/dev/null
21313 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21314 loader/wine64 loader/wine64-preloader:
21315 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21316 $with_wine64/loader/wine:
21317 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21318 $with_wine64/loader/wine-preloader:
21319 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21320 clean::
21321 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21322 else
21323 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21324 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21325 fonts \
21326 loader/wine.inf \
21327 loader/winebus.inf \
21328 loader/winehid.inf \
21329 loader/wineusb.inf \
21330 nls \
21331 programs/msidb/msidb \
21332 programs/msiexec/msiexec \
21333 programs/notepad/notepad \
21334 programs/regedit/regedit \
21335 programs/regsvr32/regsvr32 \
21336 programs/wineboot/wineboot \
21337 programs/winecfg/winecfg \
21338 programs/wineconsole/wineconsole \
21339 programs/winedbg/winedbg \
21340 programs/winefile/winefile \
21341 programs/winemine/winemine \
21342 programs/winepath/winepath \
21343 server/wineserver"
21345 case $host_os in
21346 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21347 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21348 esac
21351 $as_echo " done" >&6
21352 cat >confcache <<\_ACEOF
21353 # This file is a shell script that caches the results of configure
21354 # tests run on this system so they can be shared between configure
21355 # scripts and configure runs, see configure's option --config-cache.
21356 # It is not useful on other systems. If it contains results you don't
21357 # want to keep, you may remove or edit it.
21359 # config.status only pays attention to the cache file if you give it
21360 # the --recheck option to rerun configure.
21362 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21363 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21364 # following values.
21366 _ACEOF
21368 # The following way of writing the cache mishandles newlines in values,
21369 # but we know of no workaround that is simple, portable, and efficient.
21370 # So, we kill variables containing newlines.
21371 # Ultrix sh set writes to stderr and can't be redirected directly,
21372 # and sets the high bit in the cache file unless we assign to the vars.
21374 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21375 eval ac_val=\$$ac_var
21376 case $ac_val in #(
21377 *${as_nl}*)
21378 case $ac_var in #(
21379 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21380 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21381 esac
21382 case $ac_var in #(
21383 _ | IFS | as_nl) ;; #(
21384 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21385 *) { eval $ac_var=; unset $ac_var;} ;;
21386 esac ;;
21387 esac
21388 done
21390 (set) 2>&1 |
21391 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21392 *${as_nl}ac_space=\ *)
21393 # `set' does not quote correctly, so add quotes: double-quote
21394 # substitution turns \\\\ into \\, and sed turns \\ into \.
21395 sed -n \
21396 "s/'/'\\\\''/g;
21397 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21398 ;; #(
21400 # `set' quotes correctly as required by POSIX, so do not add quotes.
21401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21403 esac |
21404 sort
21406 sed '
21407 /^ac_cv_env_/b end
21408 t clear
21409 :clear
21410 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21411 t end
21412 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21413 :end' >>confcache
21414 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21415 if test -w "$cache_file"; then
21416 if test "x$cache_file" != "x/dev/null"; then
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21418 $as_echo "$as_me: updating cache $cache_file" >&6;}
21419 if test ! -f "$cache_file" || test -h "$cache_file"; then
21420 cat confcache >"$cache_file"
21421 else
21422 case $cache_file in #(
21423 */* | ?:*)
21424 mv -f confcache "$cache_file"$$ &&
21425 mv -f "$cache_file"$$ "$cache_file" ;; #(
21427 mv -f confcache "$cache_file" ;;
21428 esac
21431 else
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21433 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21436 rm -f confcache
21438 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21439 # Let make expand exec_prefix.
21440 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21442 DEFS=-DHAVE_CONFIG_H
21444 ac_libobjs=
21445 ac_ltlibobjs=
21447 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21448 # 1. Remove the extension, and $U if already installed.
21449 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21450 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21451 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21452 # will be set to the directory where LIBOBJS objects are built.
21453 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21454 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21455 done
21456 LIBOBJS=$ac_libobjs
21458 LTLIBOBJS=$ac_ltlibobjs
21462 : "${CONFIG_STATUS=./config.status}"
21463 ac_write_fail=0
21464 ac_clean_files_save=$ac_clean_files
21465 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21467 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21468 as_write_fail=0
21469 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21470 #! $SHELL
21471 # Generated by $as_me.
21472 # Run this file to recreate the current configuration.
21473 # Compiler output produced by configure, useful for debugging
21474 # configure, is in config.log if it exists.
21476 debug=false
21477 ac_cs_recheck=false
21478 ac_cs_silent=false
21480 SHELL=\${CONFIG_SHELL-$SHELL}
21481 export SHELL
21482 _ASEOF
21483 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21484 ## -------------------- ##
21485 ## M4sh Initialization. ##
21486 ## -------------------- ##
21488 # Be more Bourne compatible
21489 DUALCASE=1; export DUALCASE # for MKS sh
21490 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21491 emulate sh
21492 NULLCMD=:
21493 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21494 # is contrary to our usage. Disable this feature.
21495 alias -g '${1+"$@"}'='"$@"'
21496 setopt NO_GLOB_SUBST
21497 else
21498 case `(set -o) 2>/dev/null` in #(
21499 *posix*) :
21500 set -o posix ;; #(
21501 *) :
21503 esac
21507 as_nl='
21509 export as_nl
21510 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21511 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21512 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21513 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21514 # Prefer a ksh shell builtin over an external printf program on Solaris,
21515 # but without wasting forks for bash or zsh.
21516 if test -z "$BASH_VERSION$ZSH_VERSION" \
21517 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21518 as_echo='print -r --'
21519 as_echo_n='print -rn --'
21520 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21521 as_echo='printf %s\n'
21522 as_echo_n='printf %s'
21523 else
21524 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21525 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21526 as_echo_n='/usr/ucb/echo -n'
21527 else
21528 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21529 as_echo_n_body='eval
21530 arg=$1;
21531 case $arg in #(
21532 *"$as_nl"*)
21533 expr "X$arg" : "X\\(.*\\)$as_nl";
21534 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21535 esac;
21536 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21538 export as_echo_n_body
21539 as_echo_n='sh -c $as_echo_n_body as_echo'
21541 export as_echo_body
21542 as_echo='sh -c $as_echo_body as_echo'
21545 # The user is always right.
21546 if test "${PATH_SEPARATOR+set}" != set; then
21547 PATH_SEPARATOR=:
21548 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21549 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21550 PATH_SEPARATOR=';'
21555 # IFS
21556 # We need space, tab and new line, in precisely that order. Quoting is
21557 # there to prevent editors from complaining about space-tab.
21558 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21559 # splitting by setting IFS to empty value.)
21560 IFS=" "" $as_nl"
21562 # Find who we are. Look in the path if we contain no directory separator.
21563 as_myself=
21564 case $0 in #((
21565 *[\\/]* ) as_myself=$0 ;;
21566 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21567 for as_dir in $PATH
21569 IFS=$as_save_IFS
21570 test -z "$as_dir" && as_dir=.
21571 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21572 done
21573 IFS=$as_save_IFS
21576 esac
21577 # We did not find ourselves, most probably we were run as `sh COMMAND'
21578 # in which case we are not to be found in the path.
21579 if test "x$as_myself" = x; then
21580 as_myself=$0
21582 if test ! -f "$as_myself"; then
21583 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21584 exit 1
21587 # Unset variables that we do not need and which cause bugs (e.g. in
21588 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21589 # suppresses any "Segmentation fault" message there. '((' could
21590 # trigger a bug in pdksh 5.2.14.
21591 for as_var in BASH_ENV ENV MAIL MAILPATH
21592 do eval test x\${$as_var+set} = xset \
21593 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21594 done
21595 PS1='$ '
21596 PS2='> '
21597 PS4='+ '
21599 # NLS nuisances.
21600 LC_ALL=C
21601 export LC_ALL
21602 LANGUAGE=C
21603 export LANGUAGE
21605 # CDPATH.
21606 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21609 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21610 # ----------------------------------------
21611 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21612 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21613 # script with STATUS, using 1 if that was 0.
21614 as_fn_error ()
21616 as_status=$1; test $as_status -eq 0 && as_status=1
21617 if test "$4"; then
21618 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21619 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21621 $as_echo "$as_me: error: $2" >&2
21622 as_fn_exit $as_status
21623 } # as_fn_error
21626 # as_fn_set_status STATUS
21627 # -----------------------
21628 # Set $? to STATUS, without forking.
21629 as_fn_set_status ()
21631 return $1
21632 } # as_fn_set_status
21634 # as_fn_exit STATUS
21635 # -----------------
21636 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21637 as_fn_exit ()
21639 set +e
21640 as_fn_set_status $1
21641 exit $1
21642 } # as_fn_exit
21644 # as_fn_unset VAR
21645 # ---------------
21646 # Portably unset VAR.
21647 as_fn_unset ()
21649 { eval $1=; unset $1;}
21651 as_unset=as_fn_unset
21652 # as_fn_append VAR VALUE
21653 # ----------------------
21654 # Append the text in VALUE to the end of the definition contained in VAR. Take
21655 # advantage of any shell optimizations that allow amortized linear growth over
21656 # repeated appends, instead of the typical quadratic growth present in naive
21657 # implementations.
21658 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21659 eval 'as_fn_append ()
21661 eval $1+=\$2
21663 else
21664 as_fn_append ()
21666 eval $1=\$$1\$2
21668 fi # as_fn_append
21670 # as_fn_arith ARG...
21671 # ------------------
21672 # Perform arithmetic evaluation on the ARGs, and store the result in the
21673 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21674 # must be portable across $(()) and expr.
21675 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21676 eval 'as_fn_arith ()
21678 as_val=$(( $* ))
21680 else
21681 as_fn_arith ()
21683 as_val=`expr "$@" || test $? -eq 1`
21685 fi # as_fn_arith
21688 if expr a : '\(a\)' >/dev/null 2>&1 &&
21689 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21690 as_expr=expr
21691 else
21692 as_expr=false
21695 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21696 as_basename=basename
21697 else
21698 as_basename=false
21701 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21702 as_dirname=dirname
21703 else
21704 as_dirname=false
21707 as_me=`$as_basename -- "$0" ||
21708 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21709 X"$0" : 'X\(//\)$' \| \
21710 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21711 $as_echo X/"$0" |
21712 sed '/^.*\/\([^/][^/]*\)\/*$/{
21713 s//\1/
21716 /^X\/\(\/\/\)$/{
21717 s//\1/
21720 /^X\/\(\/\).*/{
21721 s//\1/
21724 s/.*/./; q'`
21726 # Avoid depending upon Character Ranges.
21727 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21728 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21729 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21730 as_cr_digits='0123456789'
21731 as_cr_alnum=$as_cr_Letters$as_cr_digits
21733 ECHO_C= ECHO_N= ECHO_T=
21734 case `echo -n x` in #(((((
21735 -n*)
21736 case `echo 'xy\c'` in
21737 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21738 xy) ECHO_C='\c';;
21739 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21740 ECHO_T=' ';;
21741 esac;;
21743 ECHO_N='-n';;
21744 esac
21746 rm -f conf$$ conf$$.exe conf$$.file
21747 if test -d conf$$.dir; then
21748 rm -f conf$$.dir/conf$$.file
21749 else
21750 rm -f conf$$.dir
21751 mkdir conf$$.dir 2>/dev/null
21753 if (echo >conf$$.file) 2>/dev/null; then
21754 if ln -s conf$$.file conf$$ 2>/dev/null; then
21755 as_ln_s='ln -s'
21756 # ... but there are two gotchas:
21757 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21758 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21759 # In both cases, we have to default to `cp -pR'.
21760 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21761 as_ln_s='cp -pR'
21762 elif ln conf$$.file conf$$ 2>/dev/null; then
21763 as_ln_s=ln
21764 else
21765 as_ln_s='cp -pR'
21767 else
21768 as_ln_s='cp -pR'
21770 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21771 rmdir conf$$.dir 2>/dev/null
21774 # as_fn_mkdir_p
21775 # -------------
21776 # Create "$as_dir" as a directory, including parents if necessary.
21777 as_fn_mkdir_p ()
21780 case $as_dir in #(
21781 -*) as_dir=./$as_dir;;
21782 esac
21783 test -d "$as_dir" || eval $as_mkdir_p || {
21784 as_dirs=
21785 while :; do
21786 case $as_dir in #(
21787 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21788 *) as_qdir=$as_dir;;
21789 esac
21790 as_dirs="'$as_qdir' $as_dirs"
21791 as_dir=`$as_dirname -- "$as_dir" ||
21792 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21793 X"$as_dir" : 'X\(//\)[^/]' \| \
21794 X"$as_dir" : 'X\(//\)$' \| \
21795 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21796 $as_echo X"$as_dir" |
21797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21798 s//\1/
21801 /^X\(\/\/\)[^/].*/{
21802 s//\1/
21805 /^X\(\/\/\)$/{
21806 s//\1/
21809 /^X\(\/\).*/{
21810 s//\1/
21813 s/.*/./; q'`
21814 test -d "$as_dir" && break
21815 done
21816 test -z "$as_dirs" || eval "mkdir $as_dirs"
21817 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21820 } # as_fn_mkdir_p
21821 if mkdir -p . 2>/dev/null; then
21822 as_mkdir_p='mkdir -p "$as_dir"'
21823 else
21824 test -d ./-p && rmdir ./-p
21825 as_mkdir_p=false
21829 # as_fn_executable_p FILE
21830 # -----------------------
21831 # Test if FILE is an executable regular file.
21832 as_fn_executable_p ()
21834 test -f "$1" && test -x "$1"
21835 } # as_fn_executable_p
21836 as_test_x='test -x'
21837 as_executable_p=as_fn_executable_p
21839 # Sed expression to map a string onto a valid CPP name.
21840 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21842 # Sed expression to map a string onto a valid variable name.
21843 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21846 exec 6>&1
21847 ## ----------------------------------- ##
21848 ## Main body of $CONFIG_STATUS script. ##
21849 ## ----------------------------------- ##
21850 _ASEOF
21851 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21854 # Save the log message, to keep $0 and so on meaningful, and to
21855 # report actual input values of CONFIG_FILES etc. instead of their
21856 # values after options handling.
21857 ac_log="
21858 This file was extended by Wine $as_me 5.21, which was
21859 generated by GNU Autoconf 2.69. Invocation command line was
21861 CONFIG_FILES = $CONFIG_FILES
21862 CONFIG_HEADERS = $CONFIG_HEADERS
21863 CONFIG_LINKS = $CONFIG_LINKS
21864 CONFIG_COMMANDS = $CONFIG_COMMANDS
21865 $ $0 $@
21867 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21870 _ACEOF
21872 case $ac_config_files in *"
21873 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21874 esac
21876 case $ac_config_headers in *"
21877 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21878 esac
21881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21882 # Files that config.status was made for.
21883 config_files="$ac_config_files"
21884 config_headers="$ac_config_headers"
21885 config_links="$ac_config_links"
21886 config_commands="$ac_config_commands"
21888 _ACEOF
21890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21891 ac_cs_usage="\
21892 \`$as_me' instantiates files and other configuration actions
21893 from templates according to the current configuration. Unless the files
21894 and actions are specified as TAGs, all are instantiated by default.
21896 Usage: $0 [OPTION]... [TAG]...
21898 -h, --help print this help, then exit
21899 -V, --version print version number and configuration settings, then exit
21900 --config print configuration, then exit
21901 -q, --quiet, --silent
21902 do not print progress messages
21903 -d, --debug don't remove temporary files
21904 --recheck update $as_me by reconfiguring in the same conditions
21905 --file=FILE[:TEMPLATE]
21906 instantiate the configuration file FILE
21907 --header=FILE[:TEMPLATE]
21908 instantiate the configuration header FILE
21910 Configuration files:
21911 $config_files
21913 Configuration headers:
21914 $config_headers
21916 Configuration links:
21917 $config_links
21919 Configuration commands:
21920 $config_commands
21922 Report bugs to <wine-devel@winehq.org>.
21923 Wine home page: <https://www.winehq.org>."
21925 _ACEOF
21926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21927 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21928 ac_cs_version="\\
21929 Wine config.status 5.21
21930 configured by $0, generated by GNU Autoconf 2.69,
21931 with options \\"\$ac_cs_config\\"
21933 Copyright (C) 2012 Free Software Foundation, Inc.
21934 This config.status script is free software; the Free Software Foundation
21935 gives unlimited permission to copy, distribute and modify it."
21937 ac_pwd='$ac_pwd'
21938 srcdir='$srcdir'
21939 test -n "\$AWK" || AWK=awk
21940 _ACEOF
21942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21943 # The default lists apply if the user does not specify any file.
21944 ac_need_defaults=:
21945 while test $# != 0
21947 case $1 in
21948 --*=?*)
21949 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21950 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21951 ac_shift=:
21953 --*=)
21954 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21955 ac_optarg=
21956 ac_shift=:
21959 ac_option=$1
21960 ac_optarg=$2
21961 ac_shift=shift
21963 esac
21965 case $ac_option in
21966 # Handling of the options.
21967 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21968 ac_cs_recheck=: ;;
21969 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21970 $as_echo "$ac_cs_version"; exit ;;
21971 --config | --confi | --conf | --con | --co | --c )
21972 $as_echo "$ac_cs_config"; exit ;;
21973 --debug | --debu | --deb | --de | --d | -d )
21974 debug=: ;;
21975 --file | --fil | --fi | --f )
21976 $ac_shift
21977 case $ac_optarg in
21978 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21979 '') as_fn_error $? "missing file argument" ;;
21980 esac
21981 as_fn_append CONFIG_FILES " '$ac_optarg'"
21982 ac_need_defaults=false;;
21983 --header | --heade | --head | --hea )
21984 $ac_shift
21985 case $ac_optarg in
21986 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21987 esac
21988 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21989 ac_need_defaults=false;;
21990 --he | --h)
21991 # Conflict between --help and --header
21992 as_fn_error $? "ambiguous option: \`$1'
21993 Try \`$0 --help' for more information.";;
21994 --help | --hel | -h )
21995 $as_echo "$ac_cs_usage"; exit ;;
21996 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21997 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21998 ac_cs_silent=: ;;
22000 # This is an error.
22001 -*) as_fn_error $? "unrecognized option: \`$1'
22002 Try \`$0 --help' for more information." ;;
22004 *) as_fn_append ac_config_targets " $1"
22005 ac_need_defaults=false ;;
22007 esac
22008 shift
22009 done
22011 ac_configure_extra_args=
22013 if $ac_cs_silent; then
22014 exec 6>/dev/null
22015 ac_configure_extra_args="$ac_configure_extra_args --silent"
22018 _ACEOF
22019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22020 if \$ac_cs_recheck; then
22021 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22022 shift
22023 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22024 CONFIG_SHELL='$SHELL'
22025 export CONFIG_SHELL
22026 exec "\$@"
22029 _ACEOF
22030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22031 exec 5>>config.log
22033 echo
22034 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22035 ## Running $as_me. ##
22036 _ASBOX
22037 $as_echo "$ac_log"
22038 } >&5
22040 _ACEOF
22041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22043 # INIT-COMMANDS
22045 wine_fn_output_makedep ()
22047 as_dir=tools; as_fn_mkdir_p
22048 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22050 wine_fn_output_makefile ()
22052 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22053 `cat $wine_rules_file`
22054 _WINE_EOF
22055 as_fn_error $? "could not create Makefile" "$LINENO" 5
22058 _ACEOF
22060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22062 # Handling of arguments.
22063 for ac_config_target in $ac_config_targets
22065 case $ac_config_target in
22066 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22067 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22068 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22069 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22070 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22071 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22072 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22074 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22075 esac
22076 done
22079 # If the user did not use the arguments to specify the items to instantiate,
22080 # then the envvar interface is used. Set only those that are not.
22081 # We use the long form for the default assignment because of an extremely
22082 # bizarre bug on SunOS 4.1.3.
22083 if $ac_need_defaults; then
22084 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22085 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22086 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22087 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22090 # Have a temporary directory for convenience. Make it in the build tree
22091 # simply because there is no reason against having it here, and in addition,
22092 # creating and moving files from /tmp can sometimes cause problems.
22093 # Hook for its removal unless debugging.
22094 # Note that there is a small window in which the directory will not be cleaned:
22095 # after its creation but before its name has been assigned to `$tmp'.
22096 $debug ||
22098 tmp= ac_tmp=
22099 trap 'exit_status=$?
22100 : "${ac_tmp:=$tmp}"
22101 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22103 trap 'as_fn_exit 1' 1 2 13 15
22105 # Create a (secure) tmp directory for tmp files.
22108 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22109 test -d "$tmp"
22110 } ||
22112 tmp=./conf$$-$RANDOM
22113 (umask 077 && mkdir "$tmp")
22114 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22115 ac_tmp=$tmp
22117 # Set up the scripts for CONFIG_FILES section.
22118 # No need to generate them if there are no CONFIG_FILES.
22119 # This happens for instance with `./config.status config.h'.
22120 if test -n "$CONFIG_FILES"; then
22123 ac_cr=`echo X | tr X '\015'`
22124 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22125 # But we know of no other shell where ac_cr would be empty at this
22126 # point, so we can use a bashism as a fallback.
22127 if test "x$ac_cr" = x; then
22128 eval ac_cr=\$\'\\r\'
22130 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22131 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22132 ac_cs_awk_cr='\\r'
22133 else
22134 ac_cs_awk_cr=$ac_cr
22137 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22138 _ACEOF
22142 echo "cat >conf$$subs.awk <<_ACEOF" &&
22143 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22144 echo "_ACEOF"
22145 } >conf$$subs.sh ||
22146 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22147 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22148 ac_delim='%!_!# '
22149 for ac_last_try in false false false false false :; do
22150 . ./conf$$subs.sh ||
22151 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22153 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22154 if test $ac_delim_n = $ac_delim_num; then
22155 break
22156 elif $ac_last_try; then
22157 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22158 else
22159 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22161 done
22162 rm -f conf$$subs.sh
22164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22165 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22166 _ACEOF
22167 sed -n '
22169 s/^/S["/; s/!.*/"]=/
22172 s/^[^!]*!//
22173 :repl
22174 t repl
22175 s/'"$ac_delim"'$//
22176 t delim
22179 s/\(.\{148\}\)..*/\1/
22180 t more1
22181 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22184 b repl
22185 :more1
22186 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22189 s/.\{148\}//
22190 t nl
22191 :delim
22193 s/\(.\{148\}\)..*/\1/
22194 t more2
22195 s/["\\]/\\&/g; s/^/"/; s/$/"/
22198 :more2
22199 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22202 s/.\{148\}//
22203 t delim
22204 ' <conf$$subs.awk | sed '
22205 /^[^""]/{
22207 s/\n//
22209 ' >>$CONFIG_STATUS || ac_write_fail=1
22210 rm -f conf$$subs.awk
22211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22212 _ACAWK
22213 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22214 for (key in S) S_is_set[key] = 1
22215 FS = "\a"
22219 line = $ 0
22220 nfields = split(line, field, "@")
22221 substed = 0
22222 len = length(field[1])
22223 for (i = 2; i < nfields; i++) {
22224 key = field[i]
22225 keylen = length(key)
22226 if (S_is_set[key]) {
22227 value = S[key]
22228 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22229 len += length(value) + length(field[++i])
22230 substed = 1
22231 } else
22232 len += 1 + keylen
22235 print line
22238 _ACAWK
22239 _ACEOF
22240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22241 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22242 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22243 else
22245 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22246 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22247 _ACEOF
22249 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22250 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22251 # trailing colons and then remove the whole line if VPATH becomes empty
22252 # (actually we leave an empty line to preserve line numbers).
22253 if test "x$srcdir" = x.; then
22254 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22256 s///
22257 s/^/:/
22258 s/[ ]*$/:/
22259 s/:\$(srcdir):/:/g
22260 s/:\${srcdir}:/:/g
22261 s/:@srcdir@:/:/g
22262 s/^:*//
22263 s/:*$//
22265 s/\(=[ ]*\).*/\1/
22267 s/\n//
22268 s/^[^=]*=[ ]*$//
22272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22273 fi # test -n "$CONFIG_FILES"
22275 # Set up the scripts for CONFIG_HEADERS section.
22276 # No need to generate them if there are no CONFIG_HEADERS.
22277 # This happens for instance with `./config.status Makefile'.
22278 if test -n "$CONFIG_HEADERS"; then
22279 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22280 BEGIN {
22281 _ACEOF
22283 # Transform confdefs.h into an awk script `defines.awk', embedded as
22284 # here-document in config.status, that substitutes the proper values into
22285 # config.h.in to produce config.h.
22287 # Create a delimiter string that does not exist in confdefs.h, to ease
22288 # handling of long lines.
22289 ac_delim='%!_!# '
22290 for ac_last_try in false false :; do
22291 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22292 if test -z "$ac_tt"; then
22293 break
22294 elif $ac_last_try; then
22295 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22296 else
22297 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22299 done
22301 # For the awk script, D is an array of macro values keyed by name,
22302 # likewise P contains macro parameters if any. Preserve backslash
22303 # newline sequences.
22305 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22306 sed -n '
22307 s/.\{148\}/&'"$ac_delim"'/g
22308 t rset
22309 :rset
22310 s/^[ ]*#[ ]*define[ ][ ]*/ /
22311 t def
22313 :def
22314 s/\\$//
22315 t bsnl
22316 s/["\\]/\\&/g
22317 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22318 D["\1"]=" \3"/p
22319 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22321 :bsnl
22322 s/["\\]/\\&/g
22323 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22324 D["\1"]=" \3\\\\\\n"\\/p
22325 t cont
22326 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22327 t cont
22329 :cont
22331 s/.\{148\}/&'"$ac_delim"'/g
22332 t clear
22333 :clear
22334 s/\\$//
22335 t bsnlc
22336 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22338 :bsnlc
22339 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22340 b cont
22341 ' <confdefs.h | sed '
22342 s/'"$ac_delim"'/"\\\
22343 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22346 for (key in D) D_is_set[key] = 1
22347 FS = "\a"
22349 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22350 line = \$ 0
22351 split(line, arg, " ")
22352 if (arg[1] == "#") {
22353 defundef = arg[2]
22354 mac1 = arg[3]
22355 } else {
22356 defundef = substr(arg[1], 2)
22357 mac1 = arg[2]
22359 split(mac1, mac2, "(") #)
22360 macro = mac2[1]
22361 prefix = substr(line, 1, index(line, defundef) - 1)
22362 if (D_is_set[macro]) {
22363 # Preserve the white space surrounding the "#".
22364 print prefix "define", macro P[macro] D[macro]
22365 next
22366 } else {
22367 # Replace #undef with comments. This is necessary, for example,
22368 # in the case of _POSIX_SOURCE, which is predefined and required
22369 # on some systems where configure will not decide to define it.
22370 if (defundef == "undef") {
22371 print "/*", prefix defundef, macro, "*/"
22372 next
22376 { print }
22377 _ACAWK
22378 _ACEOF
22379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22380 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22381 fi # test -n "$CONFIG_HEADERS"
22384 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22385 shift
22386 for ac_tag
22388 case $ac_tag in
22389 :[FHLC]) ac_mode=$ac_tag; continue;;
22390 esac
22391 case $ac_mode$ac_tag in
22392 :[FHL]*:*);;
22393 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22394 :[FH]-) ac_tag=-:-;;
22395 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22396 esac
22397 ac_save_IFS=$IFS
22398 IFS=:
22399 set x $ac_tag
22400 IFS=$ac_save_IFS
22401 shift
22402 ac_file=$1
22403 shift
22405 case $ac_mode in
22406 :L) ac_source=$1;;
22407 :[FH])
22408 ac_file_inputs=
22409 for ac_f
22411 case $ac_f in
22412 -) ac_f="$ac_tmp/stdin";;
22413 *) # Look for the file first in the build tree, then in the source tree
22414 # (if the path is not absolute). The absolute path cannot be DOS-style,
22415 # because $ac_f cannot contain `:'.
22416 test -f "$ac_f" ||
22417 case $ac_f in
22418 [\\/$]*) false;;
22419 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22420 esac ||
22421 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22422 esac
22423 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22424 as_fn_append ac_file_inputs " '$ac_f'"
22425 done
22427 # Let's still pretend it is `configure' which instantiates (i.e., don't
22428 # use $as_me), people would be surprised to read:
22429 # /* config.h. Generated by config.status. */
22430 configure_input='Generated from '`
22431 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22432 `' by configure.'
22433 if test x"$ac_file" != x-; then
22434 configure_input="$ac_file. $configure_input"
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22436 $as_echo "$as_me: creating $ac_file" >&6;}
22438 # Neutralize special characters interpreted by sed in replacement strings.
22439 case $configure_input in #(
22440 *\&* | *\|* | *\\* )
22441 ac_sed_conf_input=`$as_echo "$configure_input" |
22442 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22443 *) ac_sed_conf_input=$configure_input;;
22444 esac
22446 case $ac_tag in
22447 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22448 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22449 esac
22451 esac
22453 ac_dir=`$as_dirname -- "$ac_file" ||
22454 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22455 X"$ac_file" : 'X\(//\)[^/]' \| \
22456 X"$ac_file" : 'X\(//\)$' \| \
22457 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22458 $as_echo X"$ac_file" |
22459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22460 s//\1/
22463 /^X\(\/\/\)[^/].*/{
22464 s//\1/
22467 /^X\(\/\/\)$/{
22468 s//\1/
22471 /^X\(\/\).*/{
22472 s//\1/
22475 s/.*/./; q'`
22476 as_dir="$ac_dir"; as_fn_mkdir_p
22477 ac_builddir=.
22479 case "$ac_dir" in
22480 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22482 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22483 # A ".." for each directory in $ac_dir_suffix.
22484 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22485 case $ac_top_builddir_sub in
22486 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22487 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22488 esac ;;
22489 esac
22490 ac_abs_top_builddir=$ac_pwd
22491 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22492 # for backward compatibility:
22493 ac_top_builddir=$ac_top_build_prefix
22495 case $srcdir in
22496 .) # We are building in place.
22497 ac_srcdir=.
22498 ac_top_srcdir=$ac_top_builddir_sub
22499 ac_abs_top_srcdir=$ac_pwd ;;
22500 [\\/]* | ?:[\\/]* ) # Absolute name.
22501 ac_srcdir=$srcdir$ac_dir_suffix;
22502 ac_top_srcdir=$srcdir
22503 ac_abs_top_srcdir=$srcdir ;;
22504 *) # Relative name.
22505 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22506 ac_top_srcdir=$ac_top_build_prefix$srcdir
22507 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22508 esac
22509 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22512 case $ac_mode in
22515 # CONFIG_FILE
22518 _ACEOF
22520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22521 # If the template does not know about datarootdir, expand it.
22522 # FIXME: This hack should be removed a few years after 2.60.
22523 ac_datarootdir_hack=; ac_datarootdir_seen=
22524 ac_sed_dataroot='
22525 /datarootdir/ {
22529 /@datadir@/p
22530 /@docdir@/p
22531 /@infodir@/p
22532 /@localedir@/p
22533 /@mandir@/p'
22534 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22535 *datarootdir*) ac_datarootdir_seen=yes;;
22536 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22538 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22539 _ACEOF
22540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22541 ac_datarootdir_hack='
22542 s&@datadir@&$datadir&g
22543 s&@docdir@&$docdir&g
22544 s&@infodir@&$infodir&g
22545 s&@localedir@&$localedir&g
22546 s&@mandir@&$mandir&g
22547 s&\\\${datarootdir}&$datarootdir&g' ;;
22548 esac
22549 _ACEOF
22551 # Neutralize VPATH when `$srcdir' = `.'.
22552 # Shell code in configure.ac might set extrasub.
22553 # FIXME: do we really want to maintain this feature?
22554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22555 ac_sed_extra="$ac_vpsub
22556 $extrasub
22557 _ACEOF
22558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22560 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22561 s|@configure_input@|$ac_sed_conf_input|;t t
22562 s&@top_builddir@&$ac_top_builddir_sub&;t t
22563 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22564 s&@srcdir@&$ac_srcdir&;t t
22565 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22566 s&@top_srcdir@&$ac_top_srcdir&;t t
22567 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22568 s&@builddir@&$ac_builddir&;t t
22569 s&@abs_builddir@&$ac_abs_builddir&;t t
22570 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22571 $ac_datarootdir_hack
22573 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22574 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22576 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22577 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22578 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22579 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22581 which seems to be undefined. Please make sure it is defined" >&5
22582 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22583 which seems to be undefined. Please make sure it is defined" >&2;}
22585 rm -f "$ac_tmp/stdin"
22586 case $ac_file in
22587 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22588 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22589 esac \
22590 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22594 # CONFIG_HEADER
22596 if test x"$ac_file" != x-; then
22598 $as_echo "/* $configure_input */" \
22599 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22600 } >"$ac_tmp/config.h" \
22601 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22602 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22603 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22604 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22605 else
22606 rm -f "$ac_file"
22607 mv "$ac_tmp/config.h" "$ac_file" \
22608 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22610 else
22611 $as_echo "/* $configure_input */" \
22612 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22613 || as_fn_error $? "could not create -" "$LINENO" 5
22618 # CONFIG_LINK
22621 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22623 else
22624 # Prefer the file from the source tree if names are identical.
22625 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22626 ac_source=$srcdir/$ac_source
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22630 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22632 if test ! -r "$ac_source"; then
22633 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22635 rm -f "$ac_file"
22637 # Try a relative symlink, then a hard link, then a copy.
22638 case $ac_source in
22639 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22640 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22641 esac
22642 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22643 ln "$ac_source" "$ac_file" 2>/dev/null ||
22644 cp -p "$ac_source" "$ac_file" ||
22645 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22648 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22649 $as_echo "$as_me: executing $ac_file commands" >&6;}
22651 esac
22654 case $ac_file$ac_mode in
22655 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22656 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22657 "Makefile":C) wine_fn_output_makefile Makefile ;;
22659 esac
22660 done # for ac_tag
22663 as_fn_exit 0
22664 _ACEOF
22665 ac_clean_files=$ac_clean_files_save
22667 test $ac_write_fail = 0 ||
22668 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22671 # configure is writing to config.log, and then calls config.status.
22672 # config.status does its own redirection, appending to config.log.
22673 # Unfortunately, on DOS this fails, as config.log is still kept open
22674 # by configure, so config.status won't be able to write to it; its
22675 # output is simply discarded. So we exec the FD to /dev/null,
22676 # effectively closing config.log, so it can be properly (re)opened and
22677 # appended to by config.status. When coming back to configure, we
22678 # need to make the FD available again.
22679 if test "$no_create" != yes; then
22680 ac_cs_success=:
22681 ac_config_status_args=
22682 test "$silent" = yes &&
22683 ac_config_status_args="$ac_config_status_args --quiet"
22684 exec 5>/dev/null
22685 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22686 exec 5>>config.log
22687 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22688 # would make configure fail if this is the last instruction.
22689 $ac_cs_success || as_fn_exit 1
22691 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22693 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22697 if test "$no_create" = "yes"
22698 then
22699 exit 0
22702 ac_save_IFS="$IFS"
22703 if test "x$wine_notices" != x; then
22704 echo >&6
22705 IFS="|"
22706 for msg in $wine_notices; do
22707 IFS="$ac_save_IFS"
22708 if ${msg:+false} :; then :
22710 else
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22712 $as_echo "$as_me: $msg" >&6;}
22714 done
22716 IFS="|"
22717 for msg in $wine_warnings; do
22718 IFS="$ac_save_IFS"
22719 if ${msg:+false} :; then :
22721 else
22722 echo >&2
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22724 $as_echo "$as_me: WARNING: $msg" >&2;}
22726 done
22727 IFS="$ac_save_IFS"
22729 $as_echo "
22730 $as_me: Finished. Do '${ac_make}' to compile Wine.
22731 " >&6