evr/presenter: Handle shutdown state in more methods.
[wine.git] / configure
blob8b56730b73509387f161adea1aa85d672393ad80
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.20.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='6.20'
584 PACKAGE_STRING='Wine 6.20'
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 TOOLSEXT
632 MSVCRTFLAGS
633 VKD3D_SHADER_LIBS
634 VKD3D_SHADER_CFLAGS
635 VKD3D_LIBS
636 VKD3D_CFLAGS
637 NETAPI_LIBS
638 NETAPI_CFLAGS
639 PROCSTAT_LIBS
640 JPEG_LIBS
641 JPEG_CFLAGS
642 GSSAPI_LIBS
643 GSSAPI_CFLAGS
644 KRB5_LIBS
645 KRB5_CFLAGS
646 FONTCONFIG_LIBS
647 FONTCONFIG_CFLAGS
648 CUPS_LIBS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 SDL2_LIBS
653 SDL2_CFLAGS
654 UNWIND_LIBS
655 UNWIND_CFLAGS
656 UDEV_LIBS
657 UDEV_CFLAGS
658 OSS4_LIBS
659 OSS4_CFLAGS
660 ALSA_LIBS
661 GSTREAMER_LIBS
662 GSTREAMER_CFLAGS
663 PULSE_LIBS
664 PULSE_CFLAGS
665 GETTEXTPO_LIBS
666 FREETYPE_LIBS
667 FREETYPE_CFLAGS
668 RESOLV_LIBS
669 GPHOTO2_PORT_LIBS
670 GPHOTO2_PORT_CFLAGS
671 GPHOTO2_LIBS
672 GPHOTO2_CFLAGS
673 USB_LIBS
674 USB_CFLAGS
675 SANE_LIBS
676 SANE_CFLAGS
677 GNUTLS_LIBS
678 GNUTLS_CFLAGS
679 HAL_LIBS
680 HAL_CFLAGS
681 DBUS_LIBS
682 DBUS_CFLAGS
683 INOTIFY_LIBS
684 INOTIFY_CFLAGS
685 PCAP_LIBS
686 X_EXTRA_LIBS
687 X_LIBS
688 X_PRE_LIBS
689 X_CFLAGS
690 XMKMF
691 PTHREAD_LIBS
692 ZLIB_PE_LIBS
693 ZLIB_PE_CFLAGS
694 XSLT_PE_LIBS
695 XSLT_PE_CFLAGS
696 XML2_PE_LIBS
697 XML2_PE_CFLAGS
698 TIFF_PE_LIBS
699 TIFF_PE_CFLAGS
700 PNG_PE_LIBS
701 PNG_PE_CFLAGS
702 MPG123_PE_LIBS
703 MPG123_PE_CFLAGS
704 LCMS2_PE_LIBS
705 LCMS2_PE_CFLAGS
706 JXR_PE_LIBS
707 JXR_PE_CFLAGS
708 JPEG_PE_LIBS
709 JPEG_PE_CFLAGS
710 GSM_PE_LIBS
711 GSM_PE_CFLAGS
712 FAUDIO_PE_LIBS
713 FAUDIO_PE_CFLAGS
714 EXCESS_PRECISION_CFLAGS
715 CROSSDEBUG
716 DELAYLOADFLAG
717 CROSSLDFLAGS
718 EXTRACROSSCFLAGS
719 CROSSCFLAGS
720 CROSSCC
721 CROSSTARGET
722 LIBWINE_DEPENDS
723 PRELINK
724 WINELOADER_DEPENDS
725 LIBWINE_LDFLAGS
726 LIBWINE_SHAREDLIB
727 METAL_LIBS
728 CARBON_LIBS
729 QUICKTIME_LIBS
730 OPENCL_LIBS
731 OPENAL_LIBS
732 COREAUDIO_LIBS
733 SECURITY_LIBS
734 DISKARBITRATION_LIBS
735 SYSTEMCONFIGURATION_LIBS
736 APPKIT_LIBS
737 CORESERVICES_LIBS
738 APPLICATIONSERVICES_LIBS
739 IOKIT_LIBS
740 COREFOUNDATION_LIBS
741 OBJCPP
742 ac_ct_OBJC
743 OBJCFLAGS
744 OBJC
745 DLLTOOL
746 WINELOADER_PROGRAMS
747 CONFIGURE_TARGETS
748 DISABLED_SUBDIRS
749 SUBDIRS
750 READELF
751 OTOOL
753 WINEPRELOADER_LDFLAGS
754 WINELOADER_LDFLAGS
755 TOP_INSTALL_DEV
756 TOP_INSTALL_LIB
757 UNIXLDFLAGS
758 UNIXDLLFLAGS
759 EXTRACFLAGS
760 LDEXECFLAGS
761 LDDLLFLAGS
762 DLLFLAGS
764 OPENGL_LIBS
765 I386_LIBS
766 ICOTOOL
767 CONVERT
768 RSVG
769 FONTFORGE
770 PKG_CONFIG
771 MSGFMT
772 LDCONFIG
773 EGREP
774 GREP
775 LN_S
776 RANLIB
777 STRIP
778 ac_ct_AR
780 BISON
781 FLEX
782 TOOLSDIR
783 TARGETFLAGS
785 CPPBIN
786 ac_ct_CXX
787 CXXFLAGS
789 OBJEXT
790 EXEEXT
791 ac_ct_CC
792 CPPFLAGS
793 LDFLAGS
794 CFLAGS
796 SET_MAKE
797 host_os
798 host_vendor
799 host_cpu
800 host
801 build_os
802 build_vendor
803 build_cpu
804 build
805 target_alias
806 host_alias
807 build_alias
808 LIBS
809 ECHO_T
810 ECHO_N
811 ECHO_C
812 DEFS
813 mandir
814 localedir
815 libdir
816 psdir
817 pdfdir
818 dvidir
819 htmldir
820 infodir
821 docdir
822 oldincludedir
823 includedir
824 runstatedir
825 localstatedir
826 sharedstatedir
827 sysconfdir
828 datadir
829 datarootdir
830 libexecdir
831 sbindir
832 bindir
833 program_transform_name
834 prefix
835 exec_prefix
836 PACKAGE_URL
837 PACKAGE_BUGREPORT
838 PACKAGE_STRING
839 PACKAGE_VERSION
840 PACKAGE_TARNAME
841 PACKAGE_NAME
842 PATH_SEPARATOR
843 SHELL'
844 ac_subst_files=''
845 ac_user_opts='
846 enable_option_checking
847 enable_win16
848 enable_win64
849 enable_tests
850 enable_build_id
851 enable_maintainer_mode
852 enable_silent_rules
853 enable_werror
854 with_alsa
855 with_capi
856 with_coreaudio
857 with_cups
858 with_dbus
859 with_float_abi
860 with_fontconfig
861 with_freetype
862 with_gettext
863 with_gettextpo
864 with_gphoto
865 with_gnutls
866 with_gssapi
867 with_gstreamer
868 with_hal
869 with_inotify
870 with_jpeg
871 with_krb5
872 with_ldap
873 with_mingw
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_pthread
882 with_pulse
883 with_quicktime
884 with_sane
885 with_sdl
886 with_udev
887 with_unwind
888 with_usb
889 with_v4l2
890 with_vkd3d
891 with_vulkan
892 with_xcomposite
893 with_xcursor
894 with_xfixes
895 with_xinerama
896 with_xinput
897 with_xinput2
898 with_xrandr
899 with_xrender
900 with_xshape
901 with_xshm
902 with_xxf86vm
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_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_l1_2_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_console_l3_2_0
934 enable_api_ms_win_core_crt_l1_1_0
935 enable_api_ms_win_core_crt_l2_1_0
936 enable_api_ms_win_core_datetime_l1_1_0
937 enable_api_ms_win_core_datetime_l1_1_1
938 enable_api_ms_win_core_debug_l1_1_0
939 enable_api_ms_win_core_debug_l1_1_1
940 enable_api_ms_win_core_delayload_l1_1_0
941 enable_api_ms_win_core_delayload_l1_1_1
942 enable_api_ms_win_core_errorhandling_l1_1_0
943 enable_api_ms_win_core_errorhandling_l1_1_1
944 enable_api_ms_win_core_errorhandling_l1_1_2
945 enable_api_ms_win_core_errorhandling_l1_1_3
946 enable_api_ms_win_core_featurestaging_l1_1_0
947 enable_api_ms_win_core_fibers_l1_1_0
948 enable_api_ms_win_core_fibers_l1_1_1
949 enable_api_ms_win_core_file_ansi_l2_1_0
950 enable_api_ms_win_core_file_fromapp_l1_1_0
951 enable_api_ms_win_core_file_l1_1_0
952 enable_api_ms_win_core_file_l1_2_0
953 enable_api_ms_win_core_file_l1_2_1
954 enable_api_ms_win_core_file_l1_2_2
955 enable_api_ms_win_core_file_l2_1_0
956 enable_api_ms_win_core_file_l2_1_1
957 enable_api_ms_win_core_file_l2_1_2
958 enable_api_ms_win_core_handle_l1_1_0
959 enable_api_ms_win_core_heap_l1_1_0
960 enable_api_ms_win_core_heap_l1_2_0
961 enable_api_ms_win_core_heap_l2_1_0
962 enable_api_ms_win_core_heap_obsolete_l1_1_0
963 enable_api_ms_win_core_interlocked_l1_1_0
964 enable_api_ms_win_core_interlocked_l1_2_0
965 enable_api_ms_win_core_io_l1_1_0
966 enable_api_ms_win_core_io_l1_1_1
967 enable_api_ms_win_core_job_l1_1_0
968 enable_api_ms_win_core_job_l2_1_0
969 enable_api_ms_win_core_kernel32_legacy_l1_1_0
970 enable_api_ms_win_core_kernel32_legacy_l1_1_1
971 enable_api_ms_win_core_kernel32_legacy_l1_1_2
972 enable_api_ms_win_core_kernel32_legacy_l1_1_5
973 enable_api_ms_win_core_kernel32_private_l1_1_1
974 enable_api_ms_win_core_largeinteger_l1_1_0
975 enable_api_ms_win_core_libraryloader_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_1
977 enable_api_ms_win_core_libraryloader_l1_2_0
978 enable_api_ms_win_core_libraryloader_l1_2_1
979 enable_api_ms_win_core_libraryloader_l1_2_2
980 enable_api_ms_win_core_libraryloader_l2_1_0
981 enable_api_ms_win_core_localization_l1_1_0
982 enable_api_ms_win_core_localization_l1_2_0
983 enable_api_ms_win_core_localization_l1_2_1
984 enable_api_ms_win_core_localization_l1_2_2
985 enable_api_ms_win_core_localization_l2_1_0
986 enable_api_ms_win_core_localization_obsolete_l1_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_2_0
988 enable_api_ms_win_core_localization_obsolete_l1_3_0
989 enable_api_ms_win_core_localization_private_l1_1_0
990 enable_api_ms_win_core_localregistry_l1_1_0
991 enable_api_ms_win_core_memory_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_1
993 enable_api_ms_win_core_memory_l1_1_2
994 enable_api_ms_win_core_memory_l1_1_3
995 enable_api_ms_win_core_memory_l1_1_4
996 enable_api_ms_win_core_misc_l1_1_0
997 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
998 enable_api_ms_win_core_namedpipe_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_2_0
1000 enable_api_ms_win_core_namespace_l1_1_0
1001 enable_api_ms_win_core_normalization_l1_1_0
1002 enable_api_ms_win_core_path_l1_1_0
1003 enable_api_ms_win_core_privateprofile_l1_1_1
1004 enable_api_ms_win_core_processenvironment_l1_1_0
1005 enable_api_ms_win_core_processenvironment_l1_2_0
1006 enable_api_ms_win_core_processthreads_l1_1_0
1007 enable_api_ms_win_core_processthreads_l1_1_1
1008 enable_api_ms_win_core_processthreads_l1_1_2
1009 enable_api_ms_win_core_processthreads_l1_1_3
1010 enable_api_ms_win_core_processtopology_l1_1_0
1011 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1012 enable_api_ms_win_core_profile_l1_1_0
1013 enable_api_ms_win_core_psapi_ansi_l1_1_0
1014 enable_api_ms_win_core_psapi_l1_1_0
1015 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1016 enable_api_ms_win_core_psm_appnotify_l1_1_0
1017 enable_api_ms_win_core_quirks_l1_1_0
1018 enable_api_ms_win_core_realtime_l1_1_0
1019 enable_api_ms_win_core_realtime_l1_1_1
1020 enable_api_ms_win_core_registry_l1_1_0
1021 enable_api_ms_win_core_registry_l2_1_0
1022 enable_api_ms_win_core_registry_l2_2_0
1023 enable_api_ms_win_core_registryuserspecific_l1_1_0
1024 enable_api_ms_win_core_rtlsupport_l1_1_0
1025 enable_api_ms_win_core_rtlsupport_l1_2_0
1026 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1027 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1028 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1029 enable_api_ms_win_core_shutdown_l1_1_0
1030 enable_api_ms_win_core_sidebyside_l1_1_0
1031 enable_api_ms_win_core_string_l1_1_0
1032 enable_api_ms_win_core_string_l2_1_0
1033 enable_api_ms_win_core_string_obsolete_l1_1_0
1034 enable_api_ms_win_core_stringansi_l1_1_0
1035 enable_api_ms_win_core_stringloader_l1_1_1
1036 enable_api_ms_win_core_synch_ansi_l1_1_0
1037 enable_api_ms_win_core_synch_l1_1_0
1038 enable_api_ms_win_core_synch_l1_2_0
1039 enable_api_ms_win_core_synch_l1_2_1
1040 enable_api_ms_win_core_sysinfo_l1_1_0
1041 enable_api_ms_win_core_sysinfo_l1_2_0
1042 enable_api_ms_win_core_sysinfo_l1_2_1
1043 enable_api_ms_win_core_systemtopology_l1_1_0
1044 enable_api_ms_win_core_threadpool_l1_1_0
1045 enable_api_ms_win_core_threadpool_l1_2_0
1046 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1047 enable_api_ms_win_core_threadpool_private_l1_1_0
1048 enable_api_ms_win_core_timezone_l1_1_0
1049 enable_api_ms_win_core_toolhelp_l1_1_0
1050 enable_api_ms_win_core_url_l1_1_0
1051 enable_api_ms_win_core_util_l1_1_0
1052 enable_api_ms_win_core_version_l1_1_0
1053 enable_api_ms_win_core_version_l1_1_1
1054 enable_api_ms_win_core_version_private_l1_1_0
1055 enable_api_ms_win_core_versionansi_l1_1_0
1056 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1057 enable_api_ms_win_core_winrt_error_l1_1_0
1058 enable_api_ms_win_core_winrt_error_l1_1_1
1059 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1060 enable_api_ms_win_core_winrt_l1_1_0
1061 enable_api_ms_win_core_winrt_registration_l1_1_0
1062 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1063 enable_api_ms_win_core_winrt_string_l1_1_0
1064 enable_api_ms_win_core_winrt_string_l1_1_1
1065 enable_api_ms_win_core_wow64_l1_1_0
1066 enable_api_ms_win_core_wow64_l1_1_1
1067 enable_api_ms_win_core_xstate_l1_1_0
1068 enable_api_ms_win_core_xstate_l2_1_0
1069 enable_api_ms_win_crt_conio_l1_1_0
1070 enable_api_ms_win_crt_convert_l1_1_0
1071 enable_api_ms_win_crt_environment_l1_1_0
1072 enable_api_ms_win_crt_filesystem_l1_1_0
1073 enable_api_ms_win_crt_heap_l1_1_0
1074 enable_api_ms_win_crt_locale_l1_1_0
1075 enable_api_ms_win_crt_math_l1_1_0
1076 enable_api_ms_win_crt_multibyte_l1_1_0
1077 enable_api_ms_win_crt_private_l1_1_0
1078 enable_api_ms_win_crt_process_l1_1_0
1079 enable_api_ms_win_crt_runtime_l1_1_0
1080 enable_api_ms_win_crt_stdio_l1_1_0
1081 enable_api_ms_win_crt_string_l1_1_0
1082 enable_api_ms_win_crt_time_l1_1_0
1083 enable_api_ms_win_crt_utility_l1_1_0
1084 enable_api_ms_win_devices_config_l1_1_0
1085 enable_api_ms_win_devices_config_l1_1_1
1086 enable_api_ms_win_devices_query_l1_1_1
1087 enable_api_ms_win_downlevel_advapi32_l1_1_0
1088 enable_api_ms_win_downlevel_advapi32_l2_1_0
1089 enable_api_ms_win_downlevel_kernel32_l2_1_0
1090 enable_api_ms_win_downlevel_normaliz_l1_1_0
1091 enable_api_ms_win_downlevel_ole32_l1_1_0
1092 enable_api_ms_win_downlevel_shell32_l1_1_0
1093 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1094 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1095 enable_api_ms_win_downlevel_user32_l1_1_0
1096 enable_api_ms_win_downlevel_version_l1_1_0
1097 enable_api_ms_win_dx_d3dkmt_l1_1_0
1098 enable_api_ms_win_eventing_classicprovider_l1_1_0
1099 enable_api_ms_win_eventing_consumer_l1_1_0
1100 enable_api_ms_win_eventing_controller_l1_1_0
1101 enable_api_ms_win_eventing_legacy_l1_1_0
1102 enable_api_ms_win_eventing_provider_l1_1_0
1103 enable_api_ms_win_eventlog_legacy_l1_1_0
1104 enable_api_ms_win_gaming_tcui_l1_1_0
1105 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1106 enable_api_ms_win_mm_joystick_l1_1_0
1107 enable_api_ms_win_mm_misc_l1_1_1
1108 enable_api_ms_win_mm_mme_l1_1_0
1109 enable_api_ms_win_mm_time_l1_1_0
1110 enable_api_ms_win_ntuser_dc_access_l1_1_0
1111 enable_api_ms_win_ntuser_rectangle_l1_1_0
1112 enable_api_ms_win_ntuser_sysparams_l1_1_0
1113 enable_api_ms_win_perf_legacy_l1_1_0
1114 enable_api_ms_win_power_base_l1_1_0
1115 enable_api_ms_win_power_setting_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1119 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1122 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1123 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1124 enable_api_ms_win_security_audit_l1_1_1
1125 enable_api_ms_win_security_base_l1_1_0
1126 enable_api_ms_win_security_base_l1_2_0
1127 enable_api_ms_win_security_base_private_l1_1_1
1128 enable_api_ms_win_security_credentials_l1_1_0
1129 enable_api_ms_win_security_cryptoapi_l1_1_0
1130 enable_api_ms_win_security_grouppolicy_l1_1_0
1131 enable_api_ms_win_security_lsalookup_l1_1_0
1132 enable_api_ms_win_security_lsalookup_l1_1_1
1133 enable_api_ms_win_security_lsalookup_l2_1_0
1134 enable_api_ms_win_security_lsalookup_l2_1_1
1135 enable_api_ms_win_security_lsapolicy_l1_1_0
1136 enable_api_ms_win_security_provider_l1_1_0
1137 enable_api_ms_win_security_sddl_l1_1_0
1138 enable_api_ms_win_security_systemfunctions_l1_1_0
1139 enable_api_ms_win_service_core_l1_1_0
1140 enable_api_ms_win_service_core_l1_1_1
1141 enable_api_ms_win_service_management_l1_1_0
1142 enable_api_ms_win_service_management_l2_1_0
1143 enable_api_ms_win_service_private_l1_1_1
1144 enable_api_ms_win_service_winsvc_l1_1_0
1145 enable_api_ms_win_service_winsvc_l1_2_0
1146 enable_api_ms_win_shcore_obsolete_l1_1_0
1147 enable_api_ms_win_shcore_scaling_l1_1_0
1148 enable_api_ms_win_shcore_scaling_l1_1_1
1149 enable_api_ms_win_shcore_stream_l1_1_0
1150 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1151 enable_api_ms_win_shcore_thread_l1_1_0
1152 enable_api_ms_win_shell_shellcom_l1_1_0
1153 enable_api_ms_win_shell_shellfolders_l1_1_0
1154 enable_apphelp
1155 enable_appwiz_cpl
1156 enable_atl
1157 enable_atl100
1158 enable_atl110
1159 enable_atl80
1160 enable_atl90
1161 enable_atlthunk
1162 enable_atmlib
1163 enable_authz
1164 enable_avicap32
1165 enable_avifil32
1166 enable_avrt
1167 enable_bcrypt
1168 enable_bluetoothapis
1169 enable_browseui
1170 enable_bthprops_cpl
1171 enable_cabinet
1172 enable_capi2032
1173 enable_cards
1174 enable_cdosys
1175 enable_cfgmgr32
1176 enable_clusapi
1177 enable_cng_sys
1178 enable_combase
1179 enable_comcat
1180 enable_comctl32
1181 enable_comdlg32
1182 enable_compstui
1183 enable_comsvcs
1184 enable_concrt140
1185 enable_connect
1186 enable_credui
1187 enable_crtdll
1188 enable_crypt32
1189 enable_cryptdlg
1190 enable_cryptdll
1191 enable_cryptext
1192 enable_cryptnet
1193 enable_cryptsp
1194 enable_cryptui
1195 enable_ctapi32
1196 enable_ctl3d32
1197 enable_d2d1
1198 enable_d3d10
1199 enable_d3d10_1
1200 enable_d3d10core
1201 enable_d3d11
1202 enable_d3d12
1203 enable_d3d8
1204 enable_d3d8thk
1205 enable_d3d9
1206 enable_d3dcompiler_33
1207 enable_d3dcompiler_34
1208 enable_d3dcompiler_35
1209 enable_d3dcompiler_36
1210 enable_d3dcompiler_37
1211 enable_d3dcompiler_38
1212 enable_d3dcompiler_39
1213 enable_d3dcompiler_40
1214 enable_d3dcompiler_41
1215 enable_d3dcompiler_42
1216 enable_d3dcompiler_43
1217 enable_d3dcompiler_46
1218 enable_d3dcompiler_47
1219 enable_d3dim
1220 enable_d3dim700
1221 enable_d3drm
1222 enable_d3dx10_33
1223 enable_d3dx10_34
1224 enable_d3dx10_35
1225 enable_d3dx10_36
1226 enable_d3dx10_37
1227 enable_d3dx10_38
1228 enable_d3dx10_39
1229 enable_d3dx10_40
1230 enable_d3dx10_41
1231 enable_d3dx10_42
1232 enable_d3dx10_43
1233 enable_d3dx11_42
1234 enable_d3dx11_43
1235 enable_d3dx9_24
1236 enable_d3dx9_25
1237 enable_d3dx9_26
1238 enable_d3dx9_27
1239 enable_d3dx9_28
1240 enable_d3dx9_29
1241 enable_d3dx9_30
1242 enable_d3dx9_31
1243 enable_d3dx9_32
1244 enable_d3dx9_33
1245 enable_d3dx9_34
1246 enable_d3dx9_35
1247 enable_d3dx9_36
1248 enable_d3dx9_37
1249 enable_d3dx9_38
1250 enable_d3dx9_39
1251 enable_d3dx9_40
1252 enable_d3dx9_41
1253 enable_d3dx9_42
1254 enable_d3dx9_43
1255 enable_d3dxof
1256 enable_davclnt
1257 enable_dbgeng
1258 enable_dbghelp
1259 enable_dciman32
1260 enable_dcomp
1261 enable_ddraw
1262 enable_ddrawex
1263 enable_devenum
1264 enable_dhcpcsvc
1265 enable_dhcpcsvc6
1266 enable_dhtmled_ocx
1267 enable_difxapi
1268 enable_dinput
1269 enable_dinput8
1270 enable_directmanipulation
1271 enable_dispex
1272 enable_dmband
1273 enable_dmcompos
1274 enable_dmime
1275 enable_dmloader
1276 enable_dmscript
1277 enable_dmstyle
1278 enable_dmsynth
1279 enable_dmusic
1280 enable_dmusic32
1281 enable_dnsapi
1282 enable_dplay
1283 enable_dplayx
1284 enable_dpnaddr
1285 enable_dpnet
1286 enable_dpnhpast
1287 enable_dpnhupnp
1288 enable_dpnlobby
1289 enable_dpvoice
1290 enable_dpwsockx
1291 enable_drmclien
1292 enable_dsdmo
1293 enable_dsound
1294 enable_dsquery
1295 enable_dssenh
1296 enable_dsuiext
1297 enable_dswave
1298 enable_dwmapi
1299 enable_dwrite
1300 enable_dx8vb
1301 enable_dxdiagn
1302 enable_dxgi
1303 enable_dxtrans
1304 enable_dxva2
1305 enable_esent
1306 enable_evr
1307 enable_explorerframe
1308 enable_ext_ms_win_authz_context_l1_1_0
1309 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1310 enable_ext_ms_win_dwmapi_ext_l1_1_0
1311 enable_ext_ms_win_gdi_dc_create_l1_1_0
1312 enable_ext_ms_win_gdi_dc_create_l1_1_1
1313 enable_ext_ms_win_gdi_dc_l1_2_0
1314 enable_ext_ms_win_gdi_devcaps_l1_1_0
1315 enable_ext_ms_win_gdi_draw_l1_1_0
1316 enable_ext_ms_win_gdi_draw_l1_1_1
1317 enable_ext_ms_win_gdi_font_l1_1_0
1318 enable_ext_ms_win_gdi_font_l1_1_1
1319 enable_ext_ms_win_gdi_render_l1_1_0
1320 enable_ext_ms_win_kernel32_package_current_l1_1_0
1321 enable_ext_ms_win_kernel32_package_l1_1_1
1322 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1323 enable_ext_ms_win_ntuser_draw_l1_1_0
1324 enable_ext_ms_win_ntuser_gui_l1_1_0
1325 enable_ext_ms_win_ntuser_gui_l1_3_0
1326 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1327 enable_ext_ms_win_ntuser_message_l1_1_0
1328 enable_ext_ms_win_ntuser_message_l1_1_1
1329 enable_ext_ms_win_ntuser_misc_l1_1_0
1330 enable_ext_ms_win_ntuser_misc_l1_2_0
1331 enable_ext_ms_win_ntuser_misc_l1_5_1
1332 enable_ext_ms_win_ntuser_mouse_l1_1_0
1333 enable_ext_ms_win_ntuser_private_l1_1_1
1334 enable_ext_ms_win_ntuser_private_l1_3_1
1335 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1336 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1337 enable_ext_ms_win_ntuser_window_l1_1_0
1338 enable_ext_ms_win_ntuser_window_l1_1_1
1339 enable_ext_ms_win_ntuser_window_l1_1_4
1340 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1341 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1342 enable_ext_ms_win_oleacc_l1_1_0
1343 enable_ext_ms_win_ras_rasapi32_l1_1_0
1344 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1345 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1346 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1351 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1352 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1354 enable_ext_ms_win_security_credui_l1_1_0
1355 enable_ext_ms_win_security_cryptui_l1_1_0
1356 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1357 enable_ext_ms_win_shell_comdlg32_l1_1_0
1358 enable_ext_ms_win_shell_shell32_l1_2_0
1359 enable_ext_ms_win_uxtheme_themes_l1_1_0
1360 enable_faultrep
1361 enable_feclient
1362 enable_fltlib
1363 enable_fltmgr_sys
1364 enable_fntcache
1365 enable_fontsub
1366 enable_fusion
1367 enable_fwpuclnt
1368 enable_gameux
1369 enable_gamingtcui
1370 enable_gdi32
1371 enable_gdiplus
1372 enable_glu32
1373 enable_gphoto2_ds
1374 enable_gpkcsp
1375 enable_hal
1376 enable_hhctrl_ocx
1377 enable_hid
1378 enable_hidclass_sys
1379 enable_hidparse_sys
1380 enable_hlink
1381 enable_hnetcfg
1382 enable_http_sys
1383 enable_httpapi
1384 enable_iccvid
1385 enable_icmp
1386 enable_ieframe
1387 enable_ieproxy
1388 enable_imaadp32_acm
1389 enable_imagehlp
1390 enable_imm32
1391 enable_inetcomm
1392 enable_inetcpl_cpl
1393 enable_inetmib1
1394 enable_infosoft
1395 enable_initpki
1396 enable_inkobj
1397 enable_inseng
1398 enable_iphlpapi
1399 enable_iprop
1400 enable_irprops_cpl
1401 enable_itircl
1402 enable_itss
1403 enable_joy_cpl
1404 enable_jscript
1405 enable_jsproxy
1406 enable_kerberos
1407 enable_kernel32
1408 enable_kernelbase
1409 enable_ksecdd_sys
1410 enable_ksproxy_ax
1411 enable_ksuser
1412 enable_ktmw32
1413 enable_l3codeca_acm
1414 enable_light_msstyles
1415 enable_loadperf
1416 enable_localspl
1417 enable_localui
1418 enable_lz32
1419 enable_mapi32
1420 enable_mapistub
1421 enable_mciavi32
1422 enable_mcicda
1423 enable_mciqtz32
1424 enable_mciseq
1425 enable_mciwave
1426 enable_mf
1427 enable_mf3216
1428 enable_mferror
1429 enable_mfmediaengine
1430 enable_mfplat
1431 enable_mfplay
1432 enable_mfreadwrite
1433 enable_mgmtapi
1434 enable_midimap
1435 enable_mlang
1436 enable_mmcndmgr
1437 enable_mmdevapi
1438 enable_mountmgr_sys
1439 enable_mp3dmod
1440 enable_mpr
1441 enable_mprapi
1442 enable_msacm32_drv
1443 enable_msacm32
1444 enable_msado15
1445 enable_msadp32_acm
1446 enable_msasn1
1447 enable_mscat32
1448 enable_mscms
1449 enable_mscoree
1450 enable_mscorwks
1451 enable_msctf
1452 enable_msctfp
1453 enable_msdaps
1454 enable_msdasql
1455 enable_msdelta
1456 enable_msdmo
1457 enable_msdrm
1458 enable_msftedit
1459 enable_msg711_acm
1460 enable_msgsm32_acm
1461 enable_mshtml_tlb
1462 enable_mshtml
1463 enable_msi
1464 enable_msident
1465 enable_msimg32
1466 enable_msimsg
1467 enable_msimtf
1468 enable_msisip
1469 enable_msisys_ocx
1470 enable_msls31
1471 enable_msnet32
1472 enable_mspatcha
1473 enable_msports
1474 enable_msrle32
1475 enable_msscript_ocx
1476 enable_mssign32
1477 enable_mssip32
1478 enable_mstask
1479 enable_msv1_0
1480 enable_msvcirt
1481 enable_msvcm80
1482 enable_msvcm90
1483 enable_msvcp100
1484 enable_msvcp110
1485 enable_msvcp120
1486 enable_msvcp120_app
1487 enable_msvcp140
1488 enable_msvcp140_1
1489 enable_msvcp60
1490 enable_msvcp70
1491 enable_msvcp71
1492 enable_msvcp80
1493 enable_msvcp90
1494 enable_msvcr100
1495 enable_msvcr110
1496 enable_msvcr120
1497 enable_msvcr120_app
1498 enable_msvcr70
1499 enable_msvcr71
1500 enable_msvcr80
1501 enable_msvcr90
1502 enable_msvcrt
1503 enable_msvcrt20
1504 enable_msvcrt40
1505 enable_msvcrtd
1506 enable_msvfw32
1507 enable_msvidc32
1508 enable_mswsock
1509 enable_msxml
1510 enable_msxml2
1511 enable_msxml3
1512 enable_msxml4
1513 enable_msxml6
1514 enable_mtxdm
1515 enable_ncrypt
1516 enable_nddeapi
1517 enable_ndis_sys
1518 enable_netapi32
1519 enable_netcfgx
1520 enable_netio_sys
1521 enable_netprofm
1522 enable_netutils
1523 enable_newdev
1524 enable_ninput
1525 enable_normaliz
1526 enable_npmshtml
1527 enable_npptools
1528 enable_nsi
1529 enable_nsiproxy_sys
1530 enable_ntdll
1531 enable_ntdsapi
1532 enable_ntoskrnl_exe
1533 enable_ntprint
1534 enable_objsel
1535 enable_odbc32
1536 enable_odbcbcp
1537 enable_odbccp32
1538 enable_odbccu32
1539 enable_ole32
1540 enable_oleacc
1541 enable_oleaut32
1542 enable_olecli32
1543 enable_oledb32
1544 enable_oledlg
1545 enable_olepro32
1546 enable_olesvr32
1547 enable_olethk32
1548 enable_opcservices
1549 enable_openal32
1550 enable_opencl
1551 enable_opengl32
1552 enable_packager
1553 enable_pdh
1554 enable_photometadatahandler
1555 enable_pidgen
1556 enable_powrprof
1557 enable_printui
1558 enable_prntvpt
1559 enable_propsys
1560 enable_psapi
1561 enable_pstorec
1562 enable_pwrshplugin
1563 enable_qasf
1564 enable_qcap
1565 enable_qdvd
1566 enable_qedit
1567 enable_qmgr
1568 enable_qmgrprxy
1569 enable_quartz
1570 enable_query
1571 enable_qwave
1572 enable_rasapi32
1573 enable_rasdlg
1574 enable_regapi
1575 enable_resutils
1576 enable_riched20
1577 enable_riched32
1578 enable_rpcrt4
1579 enable_rsabase
1580 enable_rsaenh
1581 enable_rstrtmgr
1582 enable_rtutils
1583 enable_rtworkq
1584 enable_samlib
1585 enable_sane_ds
1586 enable_sapi
1587 enable_sas
1588 enable_scarddlg
1589 enable_sccbase
1590 enable_schannel
1591 enable_schedsvc
1592 enable_scrobj
1593 enable_scrrun
1594 enable_scsiport_sys
1595 enable_sechost
1596 enable_secur32
1597 enable_security
1598 enable_sensapi
1599 enable_serialui
1600 enable_setupapi
1601 enable_sfc
1602 enable_sfc_os
1603 enable_shcore
1604 enable_shdoclc
1605 enable_shdocvw
1606 enable_shell32
1607 enable_shfolder
1608 enable_shlwapi
1609 enable_slbcsp
1610 enable_slc
1611 enable_snmpapi
1612 enable_softpub
1613 enable_spoolss
1614 enable_sppc
1615 enable_srclient
1616 enable_srvcli
1617 enable_sspicli
1618 enable_stdole2_tlb
1619 enable_stdole32_tlb
1620 enable_sti
1621 enable_strmbase
1622 enable_strmdll
1623 enable_svrapi
1624 enable_sxs
1625 enable_t2embed
1626 enable_tapi32
1627 enable_taskschd
1628 enable_tbs
1629 enable_tdh
1630 enable_tdi_sys
1631 enable_traffic
1632 enable_twain_32
1633 enable_tzres
1634 enable_ucrtbase
1635 enable_uianimation
1636 enable_uiautomationcore
1637 enable_uiribbon
1638 enable_unicows
1639 enable_updspapi
1640 enable_url
1641 enable_urlmon
1642 enable_usbd_sys
1643 enable_user32
1644 enable_userenv
1645 enable_usp10
1646 enable_utildll
1647 enable_uxtheme
1648 enable_vbscript
1649 enable_vcomp
1650 enable_vcomp100
1651 enable_vcomp110
1652 enable_vcomp120
1653 enable_vcomp140
1654 enable_vcomp90
1655 enable_vcruntime140
1656 enable_vcruntime140_1
1657 enable_vdmdbg
1658 enable_version
1659 enable_vga
1660 enable_virtdisk
1661 enable_vssapi
1662 enable_vulkan_1
1663 enable_wbemdisp
1664 enable_wbemprox
1665 enable_wdscore
1666 enable_webservices
1667 enable_websocket
1668 enable_wer
1669 enable_wevtapi
1670 enable_wevtsvc
1671 enable_wiaservc
1672 enable_wimgapi
1673 enable_win32u
1674 enable_windows_devices_enumeration
1675 enable_windows_gaming_input
1676 enable_windows_globalization
1677 enable_windows_media_devices
1678 enable_windows_media_speech
1679 enable_windowscodecs
1680 enable_windowscodecsext
1681 enable_winealsa_drv
1682 enable_wineandroid_drv
1683 enable_winebus_sys
1684 enable_winecoreaudio_drv
1685 enable_winecrt0
1686 enable_wined3d
1687 enable_winegstreamer
1688 enable_winehid_sys
1689 enable_winejoystick_drv
1690 enable_winemac_drv
1691 enable_winemapi
1692 enable_wineoss_drv
1693 enable_wineps_drv
1694 enable_winepulse_drv
1695 enable_wineqtdecoder
1696 enable_wineusb_sys
1697 enable_winevulkan
1698 enable_winex11_drv
1699 enable_winexinput_sys
1700 enable_wing32
1701 enable_winhttp
1702 enable_wininet
1703 enable_winmm
1704 enable_winnls32
1705 enable_winscard
1706 enable_winspool_drv
1707 enable_winsta
1708 enable_wintab32
1709 enable_wintrust
1710 enable_winusb
1711 enable_wlanapi
1712 enable_wlanui
1713 enable_wldap32
1714 enable_wmasf
1715 enable_wmi
1716 enable_wmiutils
1717 enable_wmp
1718 enable_wmphoto
1719 enable_wmvcore
1720 enable_wnaspi32
1721 enable_wow64
1722 enable_wow64cpu
1723 enable_wow64win
1724 enable_wpc
1725 enable_wpcap
1726 enable_ws2_32
1727 enable_wsdapi
1728 enable_wshom_ocx
1729 enable_wsnmp32
1730 enable_wsock32
1731 enable_wtsapi32
1732 enable_wuapi
1733 enable_wuaueng
1734 enable_x3daudio1_0
1735 enable_x3daudio1_1
1736 enable_x3daudio1_2
1737 enable_x3daudio1_3
1738 enable_x3daudio1_4
1739 enable_x3daudio1_5
1740 enable_x3daudio1_6
1741 enable_x3daudio1_7
1742 enable_xactengine2_0
1743 enable_xactengine2_4
1744 enable_xactengine2_7
1745 enable_xactengine2_9
1746 enable_xactengine3_0
1747 enable_xactengine3_1
1748 enable_xactengine3_2
1749 enable_xactengine3_3
1750 enable_xactengine3_4
1751 enable_xactengine3_5
1752 enable_xactengine3_6
1753 enable_xactengine3_7
1754 enable_xapofx1_1
1755 enable_xapofx1_2
1756 enable_xapofx1_3
1757 enable_xapofx1_4
1758 enable_xapofx1_5
1759 enable_xaudio2_0
1760 enable_xaudio2_1
1761 enable_xaudio2_2
1762 enable_xaudio2_3
1763 enable_xaudio2_4
1764 enable_xaudio2_5
1765 enable_xaudio2_6
1766 enable_xaudio2_7
1767 enable_xaudio2_8
1768 enable_xaudio2_9
1769 enable_xinput1_1
1770 enable_xinput1_2
1771 enable_xinput1_3
1772 enable_xinput1_4
1773 enable_xinput9_1_0
1774 enable_xmllite
1775 enable_xolehlp
1776 enable_xpsprint
1777 enable_xpssvcs
1778 enable_fonts
1779 enable_include
1780 enable_adsiid
1781 enable_dmoguids
1782 enable_dxerr8
1783 enable_dxerr9
1784 enable_dxguid
1785 enable_faudio
1786 enable_gsm
1787 enable_jpeg
1788 enable_jxr
1789 enable_lcms2
1790 enable_mfuuid
1791 enable_mpg123
1792 enable_png
1793 enable_strmiids
1794 enable_tiff
1795 enable_uuid
1796 enable_wbemuuid
1797 enable_wine
1798 enable_wmcodecdspuuid
1799 enable_xml2
1800 enable_xslt
1801 enable_zlib
1802 enable_loader
1803 enable_nls
1804 enable_po
1805 enable_arp
1806 enable_aspnet_regiis
1807 enable_attrib
1808 enable_cabarc
1809 enable_cacls
1810 enable_chcp_com
1811 enable_clock
1812 enable_cmd
1813 enable_conhost
1814 enable_control
1815 enable_cscript
1816 enable_dism
1817 enable_dplaysvr
1818 enable_dpnsvr
1819 enable_dpvsetup
1820 enable_dxdiag
1821 enable_eject
1822 enable_expand
1823 enable_explorer
1824 enable_extrac32
1825 enable_fc
1826 enable_find
1827 enable_findstr
1828 enable_fsutil
1829 enable_hh
1830 enable_hostname
1831 enable_icacls
1832 enable_icinfo
1833 enable_iexplore
1834 enable_ipconfig
1835 enable_lodctr
1836 enable_mofcomp
1837 enable_mshta
1838 enable_msidb
1839 enable_msiexec
1840 enable_msinfo32
1841 enable_net
1842 enable_netsh
1843 enable_netstat
1844 enable_ngen
1845 enable_notepad
1846 enable_oleview
1847 enable_ping
1848 enable_plugplay
1849 enable_powershell
1850 enable_presentationfontcache
1851 enable_progman
1852 enable_reg
1853 enable_regasm
1854 enable_regedit
1855 enable_regini
1856 enable_regsvcs
1857 enable_regsvr32
1858 enable_robocopy
1859 enable_rpcss
1860 enable_rundll32
1861 enable_sc
1862 enable_schtasks
1863 enable_sdbinst
1864 enable_secedit
1865 enable_servicemodelreg
1866 enable_services
1867 enable_shutdown
1868 enable_spoolsv
1869 enable_start
1870 enable_subst
1871 enable_svchost
1872 enable_systeminfo
1873 enable_taskkill
1874 enable_tasklist
1875 enable_taskmgr
1876 enable_termsv
1877 enable_uninstaller
1878 enable_unlodctr
1879 enable_view
1880 enable_wevtutil
1881 enable_where
1882 enable_whoami
1883 enable_wineboot
1884 enable_winebrowser
1885 enable_winecfg
1886 enable_wineconsole
1887 enable_winedbg
1888 enable_winedevice
1889 enable_winefile
1890 enable_winemenubuilder
1891 enable_winemine
1892 enable_winemsibuilder
1893 enable_winepath
1894 enable_winetest
1895 enable_winhlp32
1896 enable_winmgmt
1897 enable_winver
1898 enable_wmic
1899 enable_wmplayer
1900 enable_wordpad
1901 enable_write
1902 enable_wscript
1903 enable_wuauserv
1904 enable_wusa
1905 enable_xcopy
1906 enable_server
1907 enable_tools
1908 enable_sfnt2fon
1909 enable_widl
1910 enable_winebuild
1911 enable_winedump
1912 enable_winegcc
1913 enable_winemaker
1914 enable_wmc
1915 enable_wrc
1917 ac_precious_vars='build_alias
1918 host_alias
1919 target_alias
1921 CFLAGS
1922 LDFLAGS
1923 LIBS
1924 CPPFLAGS
1926 CXXFLAGS
1929 OBJC
1930 OBJCFLAGS
1931 OBJCPP
1932 FAUDIO_PE_CFLAGS
1933 FAUDIO_PE_LIBS
1934 GSM_PE_CFLAGS
1935 GSM_PE_LIBS
1936 JPEG_PE_CFLAGS
1937 JPEG_PE_LIBS
1938 JXR_PE_CFLAGS
1939 JXR_PE_LIBS
1940 LCMS2_PE_CFLAGS
1941 LCMS2_PE_LIBS
1942 MPG123_PE_CFLAGS
1943 MPG123_PE_LIBS
1944 PNG_PE_CFLAGS
1945 PNG_PE_LIBS
1946 TIFF_PE_CFLAGS
1947 TIFF_PE_LIBS
1948 XML2_PE_CFLAGS
1949 XML2_PE_LIBS
1950 XSLT_PE_CFLAGS
1951 XSLT_PE_LIBS
1952 ZLIB_PE_CFLAGS
1953 ZLIB_PE_LIBS
1954 XMKMF
1955 INOTIFY_CFLAGS
1956 INOTIFY_LIBS
1957 DBUS_CFLAGS
1958 DBUS_LIBS
1959 HAL_CFLAGS
1960 HAL_LIBS
1961 GNUTLS_CFLAGS
1962 GNUTLS_LIBS
1963 SANE_CFLAGS
1964 SANE_LIBS
1965 USB_CFLAGS
1966 USB_LIBS
1967 GPHOTO2_CFLAGS
1968 GPHOTO2_LIBS
1969 GPHOTO2_PORT_CFLAGS
1970 GPHOTO2_PORT_LIBS
1971 FREETYPE_CFLAGS
1972 FREETYPE_LIBS
1973 PULSE_CFLAGS
1974 PULSE_LIBS
1975 GSTREAMER_CFLAGS
1976 GSTREAMER_LIBS
1977 UDEV_CFLAGS
1978 UDEV_LIBS
1979 UNWIND_CFLAGS
1980 UNWIND_LIBS
1981 SDL2_CFLAGS
1982 SDL2_LIBS
1983 CAPI20_CFLAGS
1984 CAPI20_LIBS
1985 CUPS_CFLAGS
1986 CUPS_LIBS
1987 FONTCONFIG_CFLAGS
1988 FONTCONFIG_LIBS
1989 KRB5_CFLAGS
1990 KRB5_LIBS
1991 GSSAPI_CFLAGS
1992 GSSAPI_LIBS
1993 JPEG_CFLAGS
1994 JPEG_LIBS
1995 NETAPI_CFLAGS
1996 NETAPI_LIBS
1997 VKD3D_CFLAGS
1998 VKD3D_LIBS
1999 VKD3D_SHADER_CFLAGS
2000 VKD3D_SHADER_LIBS
2001 LDAP_CFLAGS
2002 LDAP_LIBS'
2005 # Initialize some variables set by options.
2006 ac_init_help=
2007 ac_init_version=false
2008 ac_unrecognized_opts=
2009 ac_unrecognized_sep=
2010 # The variables have the same names as the options, with
2011 # dashes changed to underlines.
2012 cache_file=/dev/null
2013 exec_prefix=NONE
2014 no_create=
2015 no_recursion=
2016 prefix=NONE
2017 program_prefix=NONE
2018 program_suffix=NONE
2019 program_transform_name=s,x,x,
2020 silent=
2021 site=
2022 srcdir=
2023 verbose=
2024 x_includes=NONE
2025 x_libraries=NONE
2027 # Installation directory options.
2028 # These are left unexpanded so users can "make install exec_prefix=/foo"
2029 # and all the variables that are supposed to be based on exec_prefix
2030 # by default will actually change.
2031 # Use braces instead of parens because sh, perl, etc. also accept them.
2032 # (The list follows the same order as the GNU Coding Standards.)
2033 bindir='${exec_prefix}/bin'
2034 sbindir='${exec_prefix}/sbin'
2035 libexecdir='${exec_prefix}/libexec'
2036 datarootdir='${prefix}/share'
2037 datadir='${datarootdir}'
2038 sysconfdir='${prefix}/etc'
2039 sharedstatedir='${prefix}/com'
2040 localstatedir='${prefix}/var'
2041 runstatedir='${localstatedir}/run'
2042 includedir='${prefix}/include'
2043 oldincludedir='/usr/include'
2044 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2045 infodir='${datarootdir}/info'
2046 htmldir='${docdir}'
2047 dvidir='${docdir}'
2048 pdfdir='${docdir}'
2049 psdir='${docdir}'
2050 libdir='${exec_prefix}/lib'
2051 localedir='${datarootdir}/locale'
2052 mandir='${datarootdir}/man'
2054 ac_prev=
2055 ac_dashdash=
2056 for ac_option
2058 # If the previous option needs an argument, assign it.
2059 if test -n "$ac_prev"; then
2060 eval $ac_prev=\$ac_option
2061 ac_prev=
2062 continue
2065 case $ac_option in
2066 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2067 *=) ac_optarg= ;;
2068 *) ac_optarg=yes ;;
2069 esac
2071 # Accept the important Cygnus configure options, so we can diagnose typos.
2073 case $ac_dashdash$ac_option in
2075 ac_dashdash=yes ;;
2077 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2078 ac_prev=bindir ;;
2079 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2080 bindir=$ac_optarg ;;
2082 -build | --build | --buil | --bui | --bu)
2083 ac_prev=build_alias ;;
2084 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2085 build_alias=$ac_optarg ;;
2087 -cache-file | --cache-file | --cache-fil | --cache-fi \
2088 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2089 ac_prev=cache_file ;;
2090 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2091 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2092 cache_file=$ac_optarg ;;
2094 --config-cache | -C)
2095 cache_file=config.cache ;;
2097 -datadir | --datadir | --datadi | --datad)
2098 ac_prev=datadir ;;
2099 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2100 datadir=$ac_optarg ;;
2102 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2103 | --dataroo | --dataro | --datar)
2104 ac_prev=datarootdir ;;
2105 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2106 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2107 datarootdir=$ac_optarg ;;
2109 -disable-* | --disable-*)
2110 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2111 # Reject names that are not valid shell variable names.
2112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2113 as_fn_error $? "invalid feature name: $ac_useropt"
2114 ac_useropt_orig=$ac_useropt
2115 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2116 case $ac_user_opts in
2118 "enable_$ac_useropt"
2119 "*) ;;
2120 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2121 ac_unrecognized_sep=', ';;
2122 esac
2123 eval enable_$ac_useropt=no ;;
2125 -docdir | --docdir | --docdi | --doc | --do)
2126 ac_prev=docdir ;;
2127 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2128 docdir=$ac_optarg ;;
2130 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2131 ac_prev=dvidir ;;
2132 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2133 dvidir=$ac_optarg ;;
2135 -enable-* | --enable-*)
2136 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2137 # Reject names that are not valid shell variable names.
2138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2139 as_fn_error $? "invalid feature name: $ac_useropt"
2140 ac_useropt_orig=$ac_useropt
2141 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2142 case $ac_user_opts in
2144 "enable_$ac_useropt"
2145 "*) ;;
2146 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2147 ac_unrecognized_sep=', ';;
2148 esac
2149 eval enable_$ac_useropt=\$ac_optarg ;;
2151 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2152 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2153 | --exec | --exe | --ex)
2154 ac_prev=exec_prefix ;;
2155 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2156 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2157 | --exec=* | --exe=* | --ex=*)
2158 exec_prefix=$ac_optarg ;;
2160 -gas | --gas | --ga | --g)
2161 # Obsolete; use --with-gas.
2162 with_gas=yes ;;
2164 -help | --help | --hel | --he | -h)
2165 ac_init_help=long ;;
2166 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2167 ac_init_help=recursive ;;
2168 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2169 ac_init_help=short ;;
2171 -host | --host | --hos | --ho)
2172 ac_prev=host_alias ;;
2173 -host=* | --host=* | --hos=* | --ho=*)
2174 host_alias=$ac_optarg ;;
2176 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2177 ac_prev=htmldir ;;
2178 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2179 | --ht=*)
2180 htmldir=$ac_optarg ;;
2182 -includedir | --includedir | --includedi | --included | --include \
2183 | --includ | --inclu | --incl | --inc)
2184 ac_prev=includedir ;;
2185 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2186 | --includ=* | --inclu=* | --incl=* | --inc=*)
2187 includedir=$ac_optarg ;;
2189 -infodir | --infodir | --infodi | --infod | --info | --inf)
2190 ac_prev=infodir ;;
2191 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2192 infodir=$ac_optarg ;;
2194 -libdir | --libdir | --libdi | --libd)
2195 ac_prev=libdir ;;
2196 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2197 libdir=$ac_optarg ;;
2199 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2200 | --libexe | --libex | --libe)
2201 ac_prev=libexecdir ;;
2202 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2203 | --libexe=* | --libex=* | --libe=*)
2204 libexecdir=$ac_optarg ;;
2206 -localedir | --localedir | --localedi | --localed | --locale)
2207 ac_prev=localedir ;;
2208 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2209 localedir=$ac_optarg ;;
2211 -localstatedir | --localstatedir | --localstatedi | --localstated \
2212 | --localstate | --localstat | --localsta | --localst | --locals)
2213 ac_prev=localstatedir ;;
2214 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2215 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2216 localstatedir=$ac_optarg ;;
2218 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2219 ac_prev=mandir ;;
2220 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2221 mandir=$ac_optarg ;;
2223 -nfp | --nfp | --nf)
2224 # Obsolete; use --without-fp.
2225 with_fp=no ;;
2227 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2228 | --no-cr | --no-c | -n)
2229 no_create=yes ;;
2231 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2232 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2233 no_recursion=yes ;;
2235 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2236 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2237 | --oldin | --oldi | --old | --ol | --o)
2238 ac_prev=oldincludedir ;;
2239 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2240 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2241 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2242 oldincludedir=$ac_optarg ;;
2244 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2245 ac_prev=prefix ;;
2246 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2247 prefix=$ac_optarg ;;
2249 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2250 | --program-pre | --program-pr | --program-p)
2251 ac_prev=program_prefix ;;
2252 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2253 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2254 program_prefix=$ac_optarg ;;
2256 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2257 | --program-suf | --program-su | --program-s)
2258 ac_prev=program_suffix ;;
2259 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2260 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2261 program_suffix=$ac_optarg ;;
2263 -program-transform-name | --program-transform-name \
2264 | --program-transform-nam | --program-transform-na \
2265 | --program-transform-n | --program-transform- \
2266 | --program-transform | --program-transfor \
2267 | --program-transfo | --program-transf \
2268 | --program-trans | --program-tran \
2269 | --progr-tra | --program-tr | --program-t)
2270 ac_prev=program_transform_name ;;
2271 -program-transform-name=* | --program-transform-name=* \
2272 | --program-transform-nam=* | --program-transform-na=* \
2273 | --program-transform-n=* | --program-transform-=* \
2274 | --program-transform=* | --program-transfor=* \
2275 | --program-transfo=* | --program-transf=* \
2276 | --program-trans=* | --program-tran=* \
2277 | --progr-tra=* | --program-tr=* | --program-t=*)
2278 program_transform_name=$ac_optarg ;;
2280 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2281 ac_prev=pdfdir ;;
2282 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2283 pdfdir=$ac_optarg ;;
2285 -psdir | --psdir | --psdi | --psd | --ps)
2286 ac_prev=psdir ;;
2287 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2288 psdir=$ac_optarg ;;
2290 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2291 | -silent | --silent | --silen | --sile | --sil)
2292 silent=yes ;;
2294 -runstatedir | --runstatedir | --runstatedi | --runstated \
2295 | --runstate | --runstat | --runsta | --runst | --runs \
2296 | --run | --ru | --r)
2297 ac_prev=runstatedir ;;
2298 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2299 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2300 | --run=* | --ru=* | --r=*)
2301 runstatedir=$ac_optarg ;;
2303 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2304 ac_prev=sbindir ;;
2305 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2306 | --sbi=* | --sb=*)
2307 sbindir=$ac_optarg ;;
2309 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2310 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2311 | --sharedst | --shareds | --shared | --share | --shar \
2312 | --sha | --sh)
2313 ac_prev=sharedstatedir ;;
2314 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2315 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2316 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2317 | --sha=* | --sh=*)
2318 sharedstatedir=$ac_optarg ;;
2320 -site | --site | --sit)
2321 ac_prev=site ;;
2322 -site=* | --site=* | --sit=*)
2323 site=$ac_optarg ;;
2325 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2326 ac_prev=srcdir ;;
2327 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2328 srcdir=$ac_optarg ;;
2330 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2331 | --syscon | --sysco | --sysc | --sys | --sy)
2332 ac_prev=sysconfdir ;;
2333 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2334 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2335 sysconfdir=$ac_optarg ;;
2337 -target | --target | --targe | --targ | --tar | --ta | --t)
2338 ac_prev=target_alias ;;
2339 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2340 target_alias=$ac_optarg ;;
2342 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2343 verbose=yes ;;
2345 -version | --version | --versio | --versi | --vers | -V)
2346 ac_init_version=: ;;
2348 -with-* | --with-*)
2349 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2350 # Reject names that are not valid shell variable names.
2351 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2352 as_fn_error $? "invalid package name: $ac_useropt"
2353 ac_useropt_orig=$ac_useropt
2354 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2355 case $ac_user_opts in
2357 "with_$ac_useropt"
2358 "*) ;;
2359 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2360 ac_unrecognized_sep=', ';;
2361 esac
2362 eval with_$ac_useropt=\$ac_optarg ;;
2364 -without-* | --without-*)
2365 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2366 # Reject names that are not valid shell variable names.
2367 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2368 as_fn_error $? "invalid package name: $ac_useropt"
2369 ac_useropt_orig=$ac_useropt
2370 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2371 case $ac_user_opts in
2373 "with_$ac_useropt"
2374 "*) ;;
2375 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2376 ac_unrecognized_sep=', ';;
2377 esac
2378 eval with_$ac_useropt=no ;;
2380 --x)
2381 # Obsolete; use --with-x.
2382 with_x=yes ;;
2384 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2385 | --x-incl | --x-inc | --x-in | --x-i)
2386 ac_prev=x_includes ;;
2387 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2388 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2389 x_includes=$ac_optarg ;;
2391 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2392 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2393 ac_prev=x_libraries ;;
2394 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2395 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2396 x_libraries=$ac_optarg ;;
2398 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2399 Try \`$0 --help' for more information"
2402 *=*)
2403 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2404 # Reject names that are not valid shell variable names.
2405 case $ac_envvar in #(
2406 '' | [0-9]* | *[!_$as_cr_alnum]* )
2407 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2408 esac
2409 eval $ac_envvar=\$ac_optarg
2410 export $ac_envvar ;;
2413 # FIXME: should be removed in autoconf 3.0.
2414 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2415 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2416 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2417 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2420 esac
2421 done
2423 if test -n "$ac_prev"; then
2424 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2425 as_fn_error $? "missing argument to $ac_option"
2428 if test -n "$ac_unrecognized_opts"; then
2429 case $enable_option_checking in
2430 no) ;;
2431 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2432 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2433 esac
2436 # Check all directory arguments for consistency.
2437 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2438 datadir sysconfdir sharedstatedir localstatedir includedir \
2439 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2440 libdir localedir mandir runstatedir
2442 eval ac_val=\$$ac_var
2443 # Remove trailing slashes.
2444 case $ac_val in
2445 */ )
2446 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2447 eval $ac_var=\$ac_val;;
2448 esac
2449 # Be sure to have absolute directory names.
2450 case $ac_val in
2451 [\\/$]* | ?:[\\/]* ) continue;;
2452 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2453 esac
2454 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2455 done
2457 # There might be people who depend on the old broken behavior: `$host'
2458 # used to hold the argument of --host etc.
2459 # FIXME: To remove some day.
2460 build=$build_alias
2461 host=$host_alias
2462 target=$target_alias
2464 # FIXME: To remove some day.
2465 if test "x$host_alias" != x; then
2466 if test "x$build_alias" = x; then
2467 cross_compiling=maybe
2468 elif test "x$build_alias" != "x$host_alias"; then
2469 cross_compiling=yes
2473 ac_tool_prefix=
2474 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2476 test "$silent" = yes && exec 6>/dev/null
2479 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2480 ac_ls_di=`ls -di .` &&
2481 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2482 as_fn_error $? "working directory cannot be determined"
2483 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2484 as_fn_error $? "pwd does not report name of working directory"
2487 # Find the source files, if location was not specified.
2488 if test -z "$srcdir"; then
2489 ac_srcdir_defaulted=yes
2490 # Try the directory containing this script, then the parent directory.
2491 ac_confdir=`$as_dirname -- "$as_myself" ||
2492 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2493 X"$as_myself" : 'X\(//\)[^/]' \| \
2494 X"$as_myself" : 'X\(//\)$' \| \
2495 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2496 $as_echo X"$as_myself" |
2497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2498 s//\1/
2501 /^X\(\/\/\)[^/].*/{
2502 s//\1/
2505 /^X\(\/\/\)$/{
2506 s//\1/
2509 /^X\(\/\).*/{
2510 s//\1/
2513 s/.*/./; q'`
2514 srcdir=$ac_confdir
2515 if test ! -r "$srcdir/$ac_unique_file"; then
2516 srcdir=..
2518 else
2519 ac_srcdir_defaulted=no
2521 if test ! -r "$srcdir/$ac_unique_file"; then
2522 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2523 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2525 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2526 ac_abs_confdir=`(
2527 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2528 pwd)`
2529 # When building in place, set srcdir=.
2530 if test "$ac_abs_confdir" = "$ac_pwd"; then
2531 srcdir=.
2533 # Remove unnecessary trailing slashes from srcdir.
2534 # Double slashes in file names in object file debugging info
2535 # mess up M-x gdb in Emacs.
2536 case $srcdir in
2537 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2538 esac
2539 for ac_var in $ac_precious_vars; do
2540 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2541 eval ac_env_${ac_var}_value=\$${ac_var}
2542 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2543 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2544 done
2547 # Report the --help message.
2549 if test "$ac_init_help" = "long"; then
2550 # Omit some internal or obsolete options to make the list less imposing.
2551 # This message is too long to be a string in the A/UX 3.1 sh.
2552 cat <<_ACEOF
2553 \`configure' configures Wine 6.20 to adapt to many kinds of systems.
2555 Usage: $0 [OPTION]... [VAR=VALUE]...
2557 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2558 VAR=VALUE. See below for descriptions of some of the useful variables.
2560 Defaults for the options are specified in brackets.
2562 Configuration:
2563 -h, --help display this help and exit
2564 --help=short display options specific to this package
2565 --help=recursive display the short help of all the included packages
2566 -V, --version display version information and exit
2567 -q, --quiet, --silent do not print \`checking ...' messages
2568 --cache-file=FILE cache test results in FILE [disabled]
2569 -C, --config-cache alias for \`--cache-file=config.cache'
2570 -n, --no-create do not create output files
2571 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2573 Installation directories:
2574 --prefix=PREFIX install architecture-independent files in PREFIX
2575 [$ac_default_prefix]
2576 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2577 [PREFIX]
2579 By default, \`make install' will install all the files in
2580 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2581 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2582 for instance \`--prefix=\$HOME'.
2584 For better control, use the options below.
2586 Fine tuning of the installation directories:
2587 --bindir=DIR user executables [EPREFIX/bin]
2588 --sbindir=DIR system admin executables [EPREFIX/sbin]
2589 --libexecdir=DIR program executables [EPREFIX/libexec]
2590 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2591 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2592 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2593 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2594 --libdir=DIR object code libraries [EPREFIX/lib]
2595 --includedir=DIR C header files [PREFIX/include]
2596 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2597 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2598 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2599 --infodir=DIR info documentation [DATAROOTDIR/info]
2600 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2601 --mandir=DIR man documentation [DATAROOTDIR/man]
2602 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2603 --htmldir=DIR html documentation [DOCDIR]
2604 --dvidir=DIR dvi documentation [DOCDIR]
2605 --pdfdir=DIR pdf documentation [DOCDIR]
2606 --psdir=DIR ps documentation [DOCDIR]
2607 _ACEOF
2609 cat <<\_ACEOF
2611 X features:
2612 --x-includes=DIR X include files are in DIR
2613 --x-libraries=DIR X library files are in DIR
2615 System types:
2616 --build=BUILD configure for building on BUILD [guessed]
2617 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2618 _ACEOF
2621 if test -n "$ac_init_help"; then
2622 case $ac_init_help in
2623 short | recursive ) echo "Configuration of Wine 6.20:";;
2624 esac
2625 cat <<\_ACEOF
2627 Optional Features:
2628 --disable-option-checking ignore unrecognized --enable/--with options
2629 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2630 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2631 --disable-win16 do not include Win16 support
2632 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2633 binaries)
2634 --disable-tests do not build the regression tests
2635 --enable-build-id include .buildid section in output objects
2636 --enable-maintainer-mode
2637 enable maintainer-specific build rules
2638 --enable-silent-rules use silent build rules (override: "make V=1")
2639 --enable-werror treat compilation warnings as errors
2640 --disable-largefile omit support for large files
2642 Optional Packages:
2643 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2644 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2645 --without-alsa do not use the Alsa sound support
2646 --without-capi do not use CAPI (ISDN support)
2647 --without-coreaudio do not use the CoreAudio sound support
2648 --without-cups do not use CUPS
2649 --without-dbus do not use DBus (dynamic device support)
2650 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2651 --without-fontconfig do not use fontconfig
2652 --without-freetype do not use the FreeType library
2653 --without-gettext do not use gettext
2654 --with-gettextpo use the GetTextPO library to rebuild po files
2655 --without-gphoto do not use gphoto (Digital Camera support)
2656 --without-gnutls do not use GnuTLS (schannel support)
2657 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2658 --without-gstreamer do not use GStreamer (codecs support)
2659 --without-hal do not use HAL (dynamic device support)
2660 --without-inotify do not use inotify (filesystem change notifications)
2661 --without-jpeg do not use JPEG
2662 --without-krb5 do not use krb5 (Kerberos)
2663 --without-ldap do not use LDAP
2664 --without-mingw do not use the MinGW cross-compiler
2665 --without-netapi do not use the Samba NetAPI library
2666 --without-openal do not use OpenAL
2667 --without-opencl do not use OpenCL
2668 --without-opengl do not use OpenGL
2669 --without-osmesa do not use the OSMesa library
2670 --without-oss do not use the OSS sound support
2671 --without-pcap do not use the Packet Capture library
2672 --without-pthread do not use the pthread library
2673 --without-pulse do not use PulseAudio sound support
2674 --without-quicktime do not use QuickTime support
2675 --without-sane do not use SANE (scanner support)
2676 --without-sdl do not use SDL
2677 --without-udev do not use udev (plug and play support)
2678 --without-unwind do not use the libunwind library (exception
2679 handling)
2680 --without-usb do not use the libusb library
2681 --without-v4l2 do not use v4l2 (video capture)
2682 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2683 --without-vulkan do not use Vulkan
2684 --without-xcomposite do not use the Xcomposite extension
2685 --without-xcursor do not use the Xcursor extension
2686 --without-xfixes do not use Xfixes for clipboard change notifications
2687 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2688 --without-xinput do not use the Xinput extension
2689 --without-xinput2 do not use the Xinput 2 extension
2690 --without-xrandr do not use Xrandr (multi-monitor support)
2691 --without-xrender do not use the Xrender extension
2692 --without-xshape do not use the Xshape extension
2693 --without-xshm do not use XShm (shared memory extension)
2694 --without-xxf86vm do not use XFree video mode extension
2695 --with-wine-tools=DIR use Wine tools from directory DIR
2696 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2697 --with-x use the X Window System
2699 Some influential environment variables:
2700 CC C compiler command
2701 CFLAGS C compiler flags
2702 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2703 nonstandard directory <lib dir>
2704 LIBS libraries to pass to the linker, e.g. -l<library>
2705 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2706 you have headers in a nonstandard directory <include dir>
2707 CXX C++ compiler command
2708 CXXFLAGS C++ compiler flags
2709 CPP C preprocessor
2710 OBJC Objective C compiler command
2711 OBJCFLAGS Objective C compiler flags
2712 OBJCPP Objective C preprocessor
2713 FAUDIO_PE_CFLAGS
2714 C compiler flags for the PE faudio, overriding the bundled
2715 version
2716 FAUDIO_PE_LIBS
2717 Linker flags for the PE faudio, overriding the bundled version
2718 GSM_PE_CFLAGS
2719 C compiler flags for the PE gsm, overriding the bundled version
2720 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2721 JPEG_PE_CFLAGS
2722 C compiler flags for the PE jpeg, overriding the bundled version
2723 JPEG_PE_LIBS
2724 Linker flags for the PE jpeg, overriding the bundled version
2725 JXR_PE_CFLAGS
2726 C compiler flags for the PE jxr, overriding the bundled version
2727 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2728 LCMS2_PE_CFLAGS
2729 C compiler flags for the PE lcms2, overriding the bundled
2730 version
2731 LCMS2_PE_LIBS
2732 Linker flags for the PE lcms2, overriding the bundled version
2733 MPG123_PE_CFLAGS
2734 C compiler flags for the PE mpg123, overriding the bundled
2735 version
2736 MPG123_PE_LIBS
2737 Linker flags for the PE mpg123, overriding the bundled version
2738 PNG_PE_CFLAGS
2739 C compiler flags for the PE png, overriding the bundled version
2740 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2741 TIFF_PE_CFLAGS
2742 C compiler flags for the PE tiff, overriding the bundled version
2743 TIFF_PE_LIBS
2744 Linker flags for the PE tiff, overriding the bundled version
2745 XML2_PE_CFLAGS
2746 C compiler flags for the PE libxml2, overriding the bundled
2747 version
2748 XML2_PE_LIBS
2749 Linker flags for the PE libxml2, overriding the bundled version
2750 XSLT_PE_CFLAGS
2751 C compiler flags for the PE libxslt, overriding the bundled
2752 version
2753 XSLT_PE_LIBS
2754 Linker flags for the PE libxslt, overriding the bundled version
2755 ZLIB_PE_CFLAGS
2756 C compiler flags for the PE zlib, overriding the bundled version
2757 ZLIB_PE_LIBS
2758 Linker flags for the PE zlib, overriding the bundled version
2759 XMKMF Path to xmkmf, Makefile generator for X Window System
2760 INOTIFY_CFLAGS
2761 C compiler flags for libinotify, overriding pkg-config
2762 INOTIFY_LIBS
2763 Linker flags for libinotify, overriding pkg-config
2764 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2765 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2766 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2767 HAL_LIBS Linker flags for hal, overriding pkg-config
2768 GNUTLS_CFLAGS
2769 C compiler flags for gnutls, overriding pkg-config
2770 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2771 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2772 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2773 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2774 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2775 GPHOTO2_CFLAGS
2776 C compiler flags for libgphoto2, overriding pkg-config
2777 GPHOTO2_LIBS
2778 Linker flags for libgphoto2, overriding pkg-config
2779 GPHOTO2_PORT_CFLAGS
2780 C compiler flags for libgphoto2_port, overriding pkg-config
2781 GPHOTO2_PORT_LIBS
2782 Linker flags for libgphoto2_port, overriding pkg-config
2783 FREETYPE_CFLAGS
2784 C compiler flags for freetype2, overriding pkg-config
2785 FREETYPE_LIBS
2786 Linker flags for freetype2, overriding pkg-config
2787 PULSE_CFLAGS
2788 C compiler flags for libpulse, overriding pkg-config
2789 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2790 GSTREAMER_CFLAGS
2791 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2792 gstreamer-audio-1.0, overriding pkg-config
2793 GSTREAMER_LIBS
2794 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2795 gstreamer-audio-1.0, overriding pkg-config
2796 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2797 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2798 UNWIND_CFLAGS
2799 C compiler flags for libunwind, overriding pkg-config
2800 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2801 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2802 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2803 CAPI20_CFLAGS
2804 C compiler flags for capi20, overriding pkg-config
2805 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2806 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2807 CUPS_LIBS Linker flags for cups, overriding pkg-config
2808 FONTCONFIG_CFLAGS
2809 C compiler flags for fontconfig, overriding pkg-config
2810 FONTCONFIG_LIBS
2811 Linker flags for fontconfig, overriding pkg-config
2812 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2813 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2814 GSSAPI_CFLAGS
2815 C compiler flags for krb5-gssapi, overriding pkg-config
2816 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2817 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2818 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2819 NETAPI_CFLAGS
2820 C compiler flags for netapi, overriding pkg-config
2821 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2822 VKD3D_CFLAGS
2823 C compiler flags for libvkd3d, overriding pkg-config
2824 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2825 VKD3D_SHADER_CFLAGS
2826 C compiler flags for libvkd3d-shader, overriding pkg-config
2827 VKD3D_SHADER_LIBS
2828 Linker flags for libvkd3d-shader, overriding pkg-config
2829 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2830 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2832 Use these variables to override the choices made by `configure' or to help
2833 it to find libraries and programs with nonstandard names/locations.
2835 Report bugs to <wine-devel@winehq.org>.
2836 Wine home page: <https://www.winehq.org>.
2837 _ACEOF
2838 ac_status=$?
2841 if test "$ac_init_help" = "recursive"; then
2842 # If there are subdirs, report their specific --help.
2843 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2844 test -d "$ac_dir" ||
2845 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2846 continue
2847 ac_builddir=.
2849 case "$ac_dir" in
2850 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2852 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2853 # A ".." for each directory in $ac_dir_suffix.
2854 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2855 case $ac_top_builddir_sub in
2856 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2857 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2858 esac ;;
2859 esac
2860 ac_abs_top_builddir=$ac_pwd
2861 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2862 # for backward compatibility:
2863 ac_top_builddir=$ac_top_build_prefix
2865 case $srcdir in
2866 .) # We are building in place.
2867 ac_srcdir=.
2868 ac_top_srcdir=$ac_top_builddir_sub
2869 ac_abs_top_srcdir=$ac_pwd ;;
2870 [\\/]* | ?:[\\/]* ) # Absolute name.
2871 ac_srcdir=$srcdir$ac_dir_suffix;
2872 ac_top_srcdir=$srcdir
2873 ac_abs_top_srcdir=$srcdir ;;
2874 *) # Relative name.
2875 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2876 ac_top_srcdir=$ac_top_build_prefix$srcdir
2877 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2878 esac
2879 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2881 cd "$ac_dir" || { ac_status=$?; continue; }
2882 # Check for guested configure.
2883 if test -f "$ac_srcdir/configure.gnu"; then
2884 echo &&
2885 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2886 elif test -f "$ac_srcdir/configure"; then
2887 echo &&
2888 $SHELL "$ac_srcdir/configure" --help=recursive
2889 else
2890 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2891 fi || ac_status=$?
2892 cd "$ac_pwd" || { ac_status=$?; break; }
2893 done
2896 test -n "$ac_init_help" && exit $ac_status
2897 if $ac_init_version; then
2898 cat <<\_ACEOF
2899 Wine configure 6.20
2900 generated by GNU Autoconf 2.69
2902 Copyright (C) 2012 Free Software Foundation, Inc.
2903 This configure script is free software; the Free Software Foundation
2904 gives unlimited permission to copy, distribute and modify it.
2905 _ACEOF
2906 exit
2909 ## ------------------------ ##
2910 ## Autoconf initialization. ##
2911 ## ------------------------ ##
2913 # ac_fn_c_try_compile LINENO
2914 # --------------------------
2915 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2916 ac_fn_c_try_compile ()
2918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2919 rm -f conftest.$ac_objext
2920 if { { ac_try="$ac_compile"
2921 case "(($ac_try" in
2922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2924 esac
2925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2926 $as_echo "$ac_try_echo"; } >&5
2927 (eval "$ac_compile") 2>conftest.err
2928 ac_status=$?
2929 if test -s conftest.err; then
2930 grep -v '^ *+' conftest.err >conftest.er1
2931 cat conftest.er1 >&5
2932 mv -f conftest.er1 conftest.err
2934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2935 test $ac_status = 0; } && {
2936 test -z "$ac_c_werror_flag" ||
2937 test ! -s conftest.err
2938 } && test -s conftest.$ac_objext; then :
2939 ac_retval=0
2940 else
2941 $as_echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2944 ac_retval=1
2946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2947 as_fn_set_status $ac_retval
2949 } # ac_fn_c_try_compile
2951 # ac_fn_cxx_try_compile LINENO
2952 # ----------------------------
2953 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2954 ac_fn_cxx_try_compile ()
2956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2957 rm -f conftest.$ac_objext
2958 if { { ac_try="$ac_compile"
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_compile") 2>conftest.err
2966 ac_status=$?
2967 if test -s conftest.err; then
2968 grep -v '^ *+' conftest.err >conftest.er1
2969 cat conftest.er1 >&5
2970 mv -f conftest.er1 conftest.err
2972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973 test $ac_status = 0; } && {
2974 test -z "$ac_cxx_werror_flag" ||
2975 test ! -s conftest.err
2976 } && test -s conftest.$ac_objext; 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_cxx_try_compile
2989 # ac_fn_c_try_link LINENO
2990 # -----------------------
2991 # Try to link conftest.$ac_ext, and return whether this succeeded.
2992 ac_fn_c_try_link ()
2994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2995 rm -f conftest.$ac_objext conftest$ac_exeext
2996 if { { ac_try="$ac_link"
2997 case "(($ac_try" in
2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2999 *) ac_try_echo=$ac_try;;
3000 esac
3001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3002 $as_echo "$ac_try_echo"; } >&5
3003 (eval "$ac_link") 2>conftest.err
3004 ac_status=$?
3005 if test -s conftest.err; then
3006 grep -v '^ *+' conftest.err >conftest.er1
3007 cat conftest.er1 >&5
3008 mv -f conftest.er1 conftest.err
3010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3011 test $ac_status = 0; } && {
3012 test -z "$ac_c_werror_flag" ||
3013 test ! -s conftest.err
3014 } && test -s conftest$ac_exeext && {
3015 test "$cross_compiling" = yes ||
3016 test -x conftest$ac_exeext
3017 }; then :
3018 ac_retval=0
3019 else
3020 $as_echo "$as_me: failed program was:" >&5
3021 sed 's/^/| /' conftest.$ac_ext >&5
3023 ac_retval=1
3025 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3026 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3027 # interfere with the next link command; also delete a directory that is
3028 # left behind by Apple's compiler. We do this before executing the actions.
3029 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3031 as_fn_set_status $ac_retval
3033 } # ac_fn_c_try_link
3035 # ac_fn_c_try_cpp LINENO
3036 # ----------------------
3037 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3038 ac_fn_c_try_cpp ()
3040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3041 if { { ac_try="$ac_cpp conftest.$ac_ext"
3042 case "(($ac_try" in
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3045 esac
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3049 ac_status=$?
3050 if test -s conftest.err; then
3051 grep -v '^ *+' conftest.err >conftest.er1
3052 cat conftest.er1 >&5
3053 mv -f conftest.er1 conftest.err
3055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3056 test $ac_status = 0; } > conftest.i && {
3057 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3058 test ! -s conftest.err
3059 }; then :
3060 ac_retval=0
3061 else
3062 $as_echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.$ac_ext >&5
3065 ac_retval=1
3067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3068 as_fn_set_status $ac_retval
3070 } # ac_fn_c_try_cpp
3072 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3073 # -------------------------------------------------------
3074 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3075 # the include files in INCLUDES and setting the cache variable VAR
3076 # accordingly.
3077 ac_fn_c_check_header_mongrel ()
3079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3080 if eval \${$3+:} false; then :
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3082 $as_echo_n "checking for $2... " >&6; }
3083 if eval \${$3+:} false; then :
3084 $as_echo_n "(cached) " >&6
3086 eval ac_res=\$$3
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3088 $as_echo "$ac_res" >&6; }
3089 else
3090 # Is the header compilable?
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3092 $as_echo_n "checking $2 usability... " >&6; }
3093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3096 #include <$2>
3097 _ACEOF
3098 if ac_fn_c_try_compile "$LINENO"; then :
3099 ac_header_compiler=yes
3100 else
3101 ac_header_compiler=no
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3105 $as_echo "$ac_header_compiler" >&6; }
3107 # Is the header present?
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3109 $as_echo_n "checking $2 presence... " >&6; }
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3112 #include <$2>
3113 _ACEOF
3114 if ac_fn_c_try_cpp "$LINENO"; then :
3115 ac_header_preproc=yes
3116 else
3117 ac_header_preproc=no
3119 rm -f conftest.err conftest.i conftest.$ac_ext
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3121 $as_echo "$ac_header_preproc" >&6; }
3123 # So? What about this header?
3124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3125 yes:no: )
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3127 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3129 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3131 no:yes:* )
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3133 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3135 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3137 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3139 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3141 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3142 ( $as_echo "## ------------------------------------ ##
3143 ## Report this to wine-devel@winehq.org ##
3144 ## ------------------------------------ ##"
3145 ) | sed "s/^/$as_me: WARNING: /" >&2
3147 esac
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3149 $as_echo_n "checking for $2... " >&6; }
3150 if eval \${$3+:} false; then :
3151 $as_echo_n "(cached) " >&6
3152 else
3153 eval "$3=\$ac_header_compiler"
3155 eval ac_res=\$$3
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3157 $as_echo "$ac_res" >&6; }
3159 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3161 } # ac_fn_c_check_header_mongrel
3163 # ac_fn_c_try_run LINENO
3164 # ----------------------
3165 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3166 # that executables *can* be run.
3167 ac_fn_c_try_run ()
3169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3170 if { { ac_try="$ac_link"
3171 case "(($ac_try" in
3172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3173 *) ac_try_echo=$ac_try;;
3174 esac
3175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3176 $as_echo "$ac_try_echo"; } >&5
3177 (eval "$ac_link") 2>&5
3178 ac_status=$?
3179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3180 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3181 { { case "(($ac_try" in
3182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3183 *) ac_try_echo=$ac_try;;
3184 esac
3185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3186 $as_echo "$ac_try_echo"; } >&5
3187 (eval "$ac_try") 2>&5
3188 ac_status=$?
3189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3190 test $ac_status = 0; }; }; then :
3191 ac_retval=0
3192 else
3193 $as_echo "$as_me: program exited with status $ac_status" >&5
3194 $as_echo "$as_me: failed program was:" >&5
3195 sed 's/^/| /' conftest.$ac_ext >&5
3197 ac_retval=$ac_status
3199 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3200 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3201 as_fn_set_status $ac_retval
3203 } # ac_fn_c_try_run
3205 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3206 # -------------------------------------------------------
3207 # Tests whether HEADER exists and can be compiled using the include files in
3208 # INCLUDES, setting the cache variable VAR accordingly.
3209 ac_fn_c_check_header_compile ()
3211 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3213 $as_echo_n "checking for $2... " >&6; }
3214 if eval \${$3+:} false; then :
3215 $as_echo_n "(cached) " >&6
3216 else
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3220 #include <$2>
3221 _ACEOF
3222 if ac_fn_c_try_compile "$LINENO"; then :
3223 eval "$3=yes"
3224 else
3225 eval "$3=no"
3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3229 eval ac_res=\$$3
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3231 $as_echo "$ac_res" >&6; }
3232 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3234 } # ac_fn_c_check_header_compile
3236 # ac_fn_objc_try_compile LINENO
3237 # -----------------------------
3238 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3239 ac_fn_objc_try_compile ()
3241 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3242 rm -f conftest.$ac_objext
3243 if { { ac_try="$ac_compile"
3244 case "(($ac_try" in
3245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246 *) ac_try_echo=$ac_try;;
3247 esac
3248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3249 $as_echo "$ac_try_echo"; } >&5
3250 (eval "$ac_compile") 2>conftest.err
3251 ac_status=$?
3252 if test -s conftest.err; then
3253 grep -v '^ *+' conftest.err >conftest.er1
3254 cat conftest.er1 >&5
3255 mv -f conftest.er1 conftest.err
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; } && {
3259 test -z "$ac_objc_werror_flag" ||
3260 test ! -s conftest.err
3261 } && test -s conftest.$ac_objext; then :
3262 ac_retval=0
3263 else
3264 $as_echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3267 ac_retval=1
3269 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3270 as_fn_set_status $ac_retval
3272 } # ac_fn_objc_try_compile
3274 # ac_fn_objc_try_cpp LINENO
3275 # -------------------------
3276 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3277 ac_fn_objc_try_cpp ()
3279 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3280 if { { ac_try="$ac_cpp conftest.$ac_ext"
3281 case "(($ac_try" in
3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3284 esac
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3288 ac_status=$?
3289 if test -s conftest.err; then
3290 grep -v '^ *+' conftest.err >conftest.er1
3291 cat conftest.er1 >&5
3292 mv -f conftest.er1 conftest.err
3294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3295 test $ac_status = 0; } > conftest.i && {
3296 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3297 test ! -s conftest.err
3298 }; then :
3299 ac_retval=0
3300 else
3301 $as_echo "$as_me: failed program was:" >&5
3302 sed 's/^/| /' conftest.$ac_ext >&5
3304 ac_retval=1
3306 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3307 as_fn_set_status $ac_retval
3309 } # ac_fn_objc_try_cpp
3311 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3312 # ----------------------------------------------------------
3313 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3314 # the include files in INCLUDES and setting the cache variable VAR
3315 # accordingly.
3316 ac_fn_objc_check_header_mongrel ()
3318 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3319 if eval \${$3+:} false; then :
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3321 $as_echo_n "checking for $2... " >&6; }
3322 if eval \${$3+:} false; then :
3323 $as_echo_n "(cached) " >&6
3325 eval ac_res=\$$3
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3327 $as_echo "$ac_res" >&6; }
3328 else
3329 # Is the header compilable?
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3331 $as_echo_n "checking $2 usability... " >&6; }
3332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3335 #include <$2>
3336 _ACEOF
3337 if ac_fn_objc_try_compile "$LINENO"; then :
3338 ac_header_compiler=yes
3339 else
3340 ac_header_compiler=no
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3344 $as_echo "$ac_header_compiler" >&6; }
3346 # Is the header present?
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3348 $as_echo_n "checking $2 presence... " >&6; }
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3351 #include <$2>
3352 _ACEOF
3353 if ac_fn_objc_try_cpp "$LINENO"; then :
3354 ac_header_preproc=yes
3355 else
3356 ac_header_preproc=no
3358 rm -f conftest.err conftest.i conftest.$ac_ext
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3360 $as_echo "$ac_header_preproc" >&6; }
3362 # So? What about this header?
3363 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3364 yes:no: )
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3366 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3368 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3370 no:yes:* )
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3372 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3374 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3376 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3378 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3380 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3381 ( $as_echo "## ------------------------------------ ##
3382 ## Report this to wine-devel@winehq.org ##
3383 ## ------------------------------------ ##"
3384 ) | sed "s/^/$as_me: WARNING: /" >&2
3386 esac
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3388 $as_echo_n "checking for $2... " >&6; }
3389 if eval \${$3+:} false; then :
3390 $as_echo_n "(cached) " >&6
3391 else
3392 eval "$3=\$ac_header_compiler"
3394 eval ac_res=\$$3
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3396 $as_echo "$ac_res" >&6; }
3398 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3400 } # ac_fn_objc_check_header_mongrel
3402 # ac_fn_c_check_func LINENO FUNC VAR
3403 # ----------------------------------
3404 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3405 ac_fn_c_check_func ()
3407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3409 $as_echo_n "checking for $2... " >&6; }
3410 if eval \${$3+:} false; then :
3411 $as_echo_n "(cached) " >&6
3412 else
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3415 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3417 #define $2 innocuous_$2
3419 /* System header to define __stub macros and hopefully few prototypes,
3420 which can conflict with char $2 (); below.
3421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3422 <limits.h> exists even on freestanding compilers. */
3424 #ifdef __STDC__
3425 # include <limits.h>
3426 #else
3427 # include <assert.h>
3428 #endif
3430 #undef $2
3432 /* Override any GCC internal prototype to avoid an error.
3433 Use char because int might match the return type of a GCC
3434 builtin and then its argument prototype would still apply. */
3435 #ifdef __cplusplus
3436 extern "C"
3437 #endif
3438 char $2 ();
3439 /* The GNU C library defines this for functions which it implements
3440 to always fail with ENOSYS. Some functions are actually named
3441 something starting with __ and the normal name is an alias. */
3442 #if defined __stub_$2 || defined __stub___$2
3443 choke me
3444 #endif
3447 main ()
3449 return $2 ();
3451 return 0;
3453 _ACEOF
3454 if ac_fn_c_try_link "$LINENO"; then :
3455 eval "$3=yes"
3456 else
3457 eval "$3=no"
3459 rm -f core conftest.err conftest.$ac_objext \
3460 conftest$ac_exeext conftest.$ac_ext
3462 eval ac_res=\$$3
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3464 $as_echo "$ac_res" >&6; }
3465 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3467 } # ac_fn_c_check_func
3469 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3470 # ----------------------------------------------------
3471 # Tries to find if the field MEMBER exists in type AGGR, after including
3472 # INCLUDES, setting cache variable VAR accordingly.
3473 ac_fn_c_check_member ()
3475 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3477 $as_echo_n "checking for $2.$3... " >&6; }
3478 if eval \${$4+:} false; then :
3479 $as_echo_n "(cached) " >&6
3480 else
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3485 main ()
3487 static $2 ac_aggr;
3488 if (ac_aggr.$3)
3489 return 0;
3491 return 0;
3493 _ACEOF
3494 if ac_fn_c_try_compile "$LINENO"; then :
3495 eval "$4=yes"
3496 else
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3501 main ()
3503 static $2 ac_aggr;
3504 if (sizeof ac_aggr.$3)
3505 return 0;
3507 return 0;
3509 _ACEOF
3510 if ac_fn_c_try_compile "$LINENO"; then :
3511 eval "$4=yes"
3512 else
3513 eval "$4=no"
3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3519 eval ac_res=\$$4
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3521 $as_echo "$ac_res" >&6; }
3522 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3524 } # ac_fn_c_check_member
3526 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3527 # -------------------------------------------
3528 # Tests whether TYPE exists after having included INCLUDES, setting cache
3529 # variable VAR accordingly.
3530 ac_fn_c_check_type ()
3532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3534 $as_echo_n "checking for $2... " >&6; }
3535 if eval \${$3+:} false; then :
3536 $as_echo_n "(cached) " >&6
3537 else
3538 eval "$3=no"
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3543 main ()
3545 if (sizeof ($2))
3546 return 0;
3548 return 0;
3550 _ACEOF
3551 if ac_fn_c_try_compile "$LINENO"; then :
3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3556 main ()
3558 if (sizeof (($2)))
3559 return 0;
3561 return 0;
3563 _ACEOF
3564 if ac_fn_c_try_compile "$LINENO"; then :
3566 else
3567 eval "$3=yes"
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 eval ac_res=\$$3
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3575 $as_echo "$ac_res" >&6; }
3576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3578 } # ac_fn_c_check_type
3579 cat >config.log <<_ACEOF
3580 This file contains any messages produced by compilers while
3581 running configure, to aid debugging if configure makes a mistake.
3583 It was created by Wine $as_me 6.20, which was
3584 generated by GNU Autoconf 2.69. Invocation command line was
3586 $ $0 $@
3588 _ACEOF
3589 exec 5>>config.log
3591 cat <<_ASUNAME
3592 ## --------- ##
3593 ## Platform. ##
3594 ## --------- ##
3596 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3597 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3598 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3599 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3600 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3602 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3603 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3605 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3606 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3607 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3608 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3609 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3610 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3611 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3613 _ASUNAME
3615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616 for as_dir in $PATH
3618 IFS=$as_save_IFS
3619 test -z "$as_dir" && as_dir=.
3620 $as_echo "PATH: $as_dir"
3621 done
3622 IFS=$as_save_IFS
3624 } >&5
3626 cat >&5 <<_ACEOF
3629 ## ----------- ##
3630 ## Core tests. ##
3631 ## ----------- ##
3633 _ACEOF
3636 # Keep a trace of the command line.
3637 # Strip out --no-create and --no-recursion so they do not pile up.
3638 # Strip out --silent because we don't want to record it for future runs.
3639 # Also quote any args containing shell meta-characters.
3640 # Make two passes to allow for proper duplicate-argument suppression.
3641 ac_configure_args=
3642 ac_configure_args0=
3643 ac_configure_args1=
3644 ac_must_keep_next=false
3645 for ac_pass in 1 2
3647 for ac_arg
3649 case $ac_arg in
3650 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3652 | -silent | --silent | --silen | --sile | --sil)
3653 continue ;;
3654 *\'*)
3655 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3656 esac
3657 case $ac_pass in
3658 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3660 as_fn_append ac_configure_args1 " '$ac_arg'"
3661 if test $ac_must_keep_next = true; then
3662 ac_must_keep_next=false # Got value, back to normal.
3663 else
3664 case $ac_arg in
3665 *=* | --config-cache | -C | -disable-* | --disable-* \
3666 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3667 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3668 | -with-* | --with-* | -without-* | --without-* | --x)
3669 case "$ac_configure_args0 " in
3670 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3671 esac
3673 -* ) ac_must_keep_next=true ;;
3674 esac
3676 as_fn_append ac_configure_args " '$ac_arg'"
3678 esac
3679 done
3680 done
3681 { ac_configure_args0=; unset ac_configure_args0;}
3682 { ac_configure_args1=; unset ac_configure_args1;}
3684 # When interrupted or exit'd, cleanup temporary files, and complete
3685 # config.log. We remove comments because anyway the quotes in there
3686 # would cause problems or look ugly.
3687 # WARNING: Use '\'' to represent an apostrophe within the trap.
3688 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3689 trap 'exit_status=$?
3690 # Save into config.log some information that might help in debugging.
3692 echo
3694 $as_echo "## ---------------- ##
3695 ## Cache variables. ##
3696 ## ---------------- ##"
3697 echo
3698 # The following way of writing the cache mishandles newlines in values,
3700 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3701 eval ac_val=\$$ac_var
3702 case $ac_val in #(
3703 *${as_nl}*)
3704 case $ac_var in #(
3705 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3706 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3707 esac
3708 case $ac_var in #(
3709 _ | IFS | as_nl) ;; #(
3710 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3711 *) { eval $ac_var=; unset $ac_var;} ;;
3712 esac ;;
3713 esac
3714 done
3715 (set) 2>&1 |
3716 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3717 *${as_nl}ac_space=\ *)
3718 sed -n \
3719 "s/'\''/'\''\\\\'\'''\''/g;
3720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3721 ;; #(
3723 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3725 esac |
3726 sort
3728 echo
3730 $as_echo "## ----------------- ##
3731 ## Output variables. ##
3732 ## ----------------- ##"
3733 echo
3734 for ac_var in $ac_subst_vars
3736 eval ac_val=\$$ac_var
3737 case $ac_val in
3738 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3739 esac
3740 $as_echo "$ac_var='\''$ac_val'\''"
3741 done | sort
3742 echo
3744 if test -n "$ac_subst_files"; then
3745 $as_echo "## ------------------- ##
3746 ## File substitutions. ##
3747 ## ------------------- ##"
3748 echo
3749 for ac_var in $ac_subst_files
3751 eval ac_val=\$$ac_var
3752 case $ac_val in
3753 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3754 esac
3755 $as_echo "$ac_var='\''$ac_val'\''"
3756 done | sort
3757 echo
3760 if test -s confdefs.h; then
3761 $as_echo "## ----------- ##
3762 ## confdefs.h. ##
3763 ## ----------- ##"
3764 echo
3765 cat confdefs.h
3766 echo
3768 test "$ac_signal" != 0 &&
3769 $as_echo "$as_me: caught signal $ac_signal"
3770 $as_echo "$as_me: exit $exit_status"
3771 } >&5
3772 rm -f core *.core core.conftest.* &&
3773 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3774 exit $exit_status
3776 for ac_signal in 1 2 13 15; do
3777 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3778 done
3779 ac_signal=0
3781 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3782 rm -f -r conftest* confdefs.h
3784 $as_echo "/* confdefs.h */" > confdefs.h
3786 # Predefined preprocessor variables.
3788 cat >>confdefs.h <<_ACEOF
3789 #define PACKAGE_NAME "$PACKAGE_NAME"
3790 _ACEOF
3792 cat >>confdefs.h <<_ACEOF
3793 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3794 _ACEOF
3796 cat >>confdefs.h <<_ACEOF
3797 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3798 _ACEOF
3800 cat >>confdefs.h <<_ACEOF
3801 #define PACKAGE_STRING "$PACKAGE_STRING"
3802 _ACEOF
3804 cat >>confdefs.h <<_ACEOF
3805 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3806 _ACEOF
3808 cat >>confdefs.h <<_ACEOF
3809 #define PACKAGE_URL "$PACKAGE_URL"
3810 _ACEOF
3813 # Let the site file select an alternate cache file if it wants to.
3814 # Prefer an explicitly selected file to automatically selected ones.
3815 ac_site_file1=NONE
3816 ac_site_file2=NONE
3817 if test -n "$CONFIG_SITE"; then
3818 # We do not want a PATH search for config.site.
3819 case $CONFIG_SITE in #((
3820 -*) ac_site_file1=./$CONFIG_SITE;;
3821 */*) ac_site_file1=$CONFIG_SITE;;
3822 *) ac_site_file1=./$CONFIG_SITE;;
3823 esac
3824 elif test "x$prefix" != xNONE; then
3825 ac_site_file1=$prefix/share/config.site
3826 ac_site_file2=$prefix/etc/config.site
3827 else
3828 ac_site_file1=$ac_default_prefix/share/config.site
3829 ac_site_file2=$ac_default_prefix/etc/config.site
3831 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3833 test "x$ac_site_file" = xNONE && continue
3834 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3836 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3837 sed 's/^/| /' "$ac_site_file" >&5
3838 . "$ac_site_file" \
3839 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3841 as_fn_error $? "failed to load site script $ac_site_file
3842 See \`config.log' for more details" "$LINENO" 5; }
3844 done
3846 if test -r "$cache_file"; then
3847 # Some versions of bash will fail to source /dev/null (special files
3848 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3849 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3851 $as_echo "$as_me: loading cache $cache_file" >&6;}
3852 case $cache_file in
3853 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3854 *) . "./$cache_file";;
3855 esac
3857 else
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3859 $as_echo "$as_me: creating cache $cache_file" >&6;}
3860 >$cache_file
3863 # Check that the precious variables saved in the cache have kept the same
3864 # value.
3865 ac_cache_corrupted=false
3866 for ac_var in $ac_precious_vars; do
3867 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3868 eval ac_new_set=\$ac_env_${ac_var}_set
3869 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3870 eval ac_new_val=\$ac_env_${ac_var}_value
3871 case $ac_old_set,$ac_new_set in
3872 set,)
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3874 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3875 ac_cache_corrupted=: ;;
3876 ,set)
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3878 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3879 ac_cache_corrupted=: ;;
3880 ,);;
3882 if test "x$ac_old_val" != "x$ac_new_val"; then
3883 # differences in whitespace do not lead to failure.
3884 ac_old_val_w=`echo x $ac_old_val`
3885 ac_new_val_w=`echo x $ac_new_val`
3886 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3888 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3889 ac_cache_corrupted=:
3890 else
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3892 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3893 eval $ac_var=\$ac_old_val
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3896 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3898 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3899 fi;;
3900 esac
3901 # Pass precious variables to config.status.
3902 if test "$ac_new_set" = set; then
3903 case $ac_new_val in
3904 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3905 *) ac_arg=$ac_var=$ac_new_val ;;
3906 esac
3907 case " $ac_configure_args " in
3908 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3909 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3910 esac
3912 done
3913 if $ac_cache_corrupted; then
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3917 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3918 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3920 ## -------------------- ##
3921 ## Main body of script. ##
3922 ## -------------------- ##
3924 ac_ext=c
3925 ac_cpp='$CPP $CPPFLAGS'
3926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3932 ac_config_headers="$ac_config_headers include/config.h"
3934 ac_aux_dir=
3935 for ac_dir in tools "$srcdir"/tools; do
3936 if test -f "$ac_dir/install-sh"; then
3937 ac_aux_dir=$ac_dir
3938 ac_install_sh="$ac_aux_dir/install-sh -c"
3939 break
3940 elif test -f "$ac_dir/install.sh"; then
3941 ac_aux_dir=$ac_dir
3942 ac_install_sh="$ac_aux_dir/install.sh -c"
3943 break
3944 elif test -f "$ac_dir/shtool"; then
3945 ac_aux_dir=$ac_dir
3946 ac_install_sh="$ac_aux_dir/shtool install -c"
3947 break
3949 done
3950 if test -z "$ac_aux_dir"; then
3951 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3954 # These three variables are undocumented and unsupported,
3955 # and are intended to be withdrawn in a future Autoconf release.
3956 # They can cause serious problems if a builder's source tree is in a directory
3957 # whose full name contains unusual characters.
3958 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3959 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3960 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3964 libwine_version="1.0"
3968 # Check whether --enable-win16 was given.
3969 if test "${enable_win16+set}" = set; then :
3970 enableval=$enable_win16;
3973 # Check whether --enable-win64 was given.
3974 if test "${enable_win64+set}" = set; then :
3975 enableval=$enable_win64;
3978 # Check whether --enable-tests was given.
3979 if test "${enable_tests+set}" = set; then :
3980 enableval=$enable_tests;
3983 # Check whether --enable-build-id was given.
3984 if test "${enable_build_id+set}" = set; then :
3985 enableval=$enable_build_id;
3988 # Check whether --enable-maintainer-mode was given.
3989 if test "${enable_maintainer_mode+set}" = set; then :
3990 enableval=$enable_maintainer_mode;
3993 # Check whether --enable-silent-rules was given.
3994 if test "${enable_silent_rules+set}" = set; then :
3995 enableval=$enable_silent_rules;
3998 # Check whether --enable-werror was given.
3999 if test "${enable_werror+set}" = set; then :
4000 enableval=$enable_werror;
4005 # Check whether --with-alsa was given.
4006 if test "${with_alsa+set}" = set; then :
4007 withval=$with_alsa;
4011 # Check whether --with-capi was given.
4012 if test "${with_capi+set}" = set; then :
4013 withval=$with_capi;
4017 # Check whether --with-coreaudio was given.
4018 if test "${with_coreaudio+set}" = set; then :
4019 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4023 # Check whether --with-cups was given.
4024 if test "${with_cups+set}" = set; then :
4025 withval=$with_cups;
4029 # Check whether --with-dbus was given.
4030 if test "${with_dbus+set}" = set; then :
4031 withval=$with_dbus;
4035 # Check whether --with-float-abi was given.
4036 if test "${with_float_abi+set}" = set; then :
4037 withval=$with_float_abi;
4041 # Check whether --with-fontconfig was given.
4042 if test "${with_fontconfig+set}" = set; then :
4043 withval=$with_fontconfig;
4047 # Check whether --with-freetype was given.
4048 if test "${with_freetype+set}" = set; then :
4049 withval=$with_freetype;
4053 # Check whether --with-gettext was given.
4054 if test "${with_gettext+set}" = set; then :
4055 withval=$with_gettext;
4059 # Check whether --with-gettextpo was given.
4060 if test "${with_gettextpo+set}" = set; then :
4061 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4065 # Check whether --with-gphoto was given.
4066 if test "${with_gphoto+set}" = set; then :
4067 withval=$with_gphoto;
4071 # Check whether --with-gnutls was given.
4072 if test "${with_gnutls+set}" = set; then :
4073 withval=$with_gnutls;
4077 # Check whether --with-gssapi was given.
4078 if test "${with_gssapi+set}" = set; then :
4079 withval=$with_gssapi;
4083 # Check whether --with-gstreamer was given.
4084 if test "${with_gstreamer+set}" = set; then :
4085 withval=$with_gstreamer;
4089 # Check whether --with-hal was given.
4090 if test "${with_hal+set}" = set; then :
4091 withval=$with_hal;
4095 # Check whether --with-inotify was given.
4096 if test "${with_inotify+set}" = set; then :
4097 withval=$with_inotify;
4101 # Check whether --with-jpeg was given.
4102 if test "${with_jpeg+set}" = set; then :
4103 withval=$with_jpeg;
4107 # Check whether --with-krb5 was given.
4108 if test "${with_krb5+set}" = set; then :
4109 withval=$with_krb5;
4113 # Check whether --with-ldap was given.
4114 if test "${with_ldap+set}" = set; then :
4115 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4119 # Check whether --with-mingw was given.
4120 if test "${with_mingw+set}" = set; then :
4121 withval=$with_mingw;
4125 # Check whether --with-netapi was given.
4126 if test "${with_netapi+set}" = set; then :
4127 withval=$with_netapi;
4131 # Check whether --with-openal was given.
4132 if test "${with_openal+set}" = set; then :
4133 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4137 # Check whether --with-opencl was given.
4138 if test "${with_opencl+set}" = set; then :
4139 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4143 # Check whether --with-opengl was given.
4144 if test "${with_opengl+set}" = set; then :
4145 withval=$with_opengl;
4149 # Check whether --with-osmesa was given.
4150 if test "${with_osmesa+set}" = set; then :
4151 withval=$with_osmesa;
4155 # Check whether --with-oss was given.
4156 if test "${with_oss+set}" = set; then :
4157 withval=$with_oss;
4161 # Check whether --with-pcap was given.
4162 if test "${with_pcap+set}" = set; then :
4163 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4167 # Check whether --with-pthread was given.
4168 if test "${with_pthread+set}" = set; then :
4169 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4173 # Check whether --with-pulse was given.
4174 if test "${with_pulse+set}" = set; then :
4175 withval=$with_pulse;
4179 # Check whether --with-quicktime was given.
4180 if test "${with_quicktime+set}" = set; then :
4181 withval=$with_quicktime;
4185 # Check whether --with-sane was given.
4186 if test "${with_sane+set}" = set; then :
4187 withval=$with_sane;
4191 # Check whether --with-sdl was given.
4192 if test "${with_sdl+set}" = set; then :
4193 withval=$with_sdl;
4197 # Check whether --with-udev was given.
4198 if test "${with_udev+set}" = set; then :
4199 withval=$with_udev;
4203 # Check whether --with-unwind was given.
4204 if test "${with_unwind+set}" = set; then :
4205 withval=$with_unwind;
4209 # Check whether --with-usb was given.
4210 if test "${with_usb+set}" = set; then :
4211 withval=$with_usb;
4215 # Check whether --with-v4l2 was given.
4216 if test "${with_v4l2+set}" = set; then :
4217 withval=$with_v4l2;
4221 # Check whether --with-vkd3d was given.
4222 if test "${with_vkd3d+set}" = set; then :
4223 withval=$with_vkd3d;
4227 # Check whether --with-vulkan was given.
4228 if test "${with_vulkan+set}" = set; then :
4229 withval=$with_vulkan;
4233 # Check whether --with-xcomposite was given.
4234 if test "${with_xcomposite+set}" = set; then :
4235 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4239 # Check whether --with-xcursor was given.
4240 if test "${with_xcursor+set}" = set; then :
4241 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4245 # Check whether --with-xfixes was given.
4246 if test "${with_xfixes+set}" = set; then :
4247 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4251 # Check whether --with-xinerama was given.
4252 if test "${with_xinerama+set}" = set; then :
4253 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4257 # Check whether --with-xinput was given.
4258 if test "${with_xinput+set}" = set; then :
4259 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4263 # Check whether --with-xinput2 was given.
4264 if test "${with_xinput2+set}" = set; then :
4265 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4269 # Check whether --with-xrandr was given.
4270 if test "${with_xrandr+set}" = set; then :
4271 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4275 # Check whether --with-xrender was given.
4276 if test "${with_xrender+set}" = set; then :
4277 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4281 # Check whether --with-xshape was given.
4282 if test "${with_xshape+set}" = set; then :
4283 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4287 # Check whether --with-xshm was given.
4288 if test "${with_xshm+set}" = set; then :
4289 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4293 # Check whether --with-xxf86vm was given.
4294 if test "${with_xxf86vm+set}" = set; then :
4295 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
4300 # Check whether --with-wine-tools was given.
4301 if test "${with_wine_tools+set}" = set; then :
4302 withval=$with_wine_tools;
4306 # Check whether --with-wine64 was given.
4307 if test "${with_wine64+set}" = set; then :
4308 withval=$with_wine64;
4312 # Make sure we can run config.sub.
4313 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4314 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4317 $as_echo_n "checking build system type... " >&6; }
4318 if ${ac_cv_build+:} false; then :
4319 $as_echo_n "(cached) " >&6
4320 else
4321 ac_build_alias=$build_alias
4322 test "x$ac_build_alias" = x &&
4323 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4324 test "x$ac_build_alias" = x &&
4325 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4326 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4327 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4331 $as_echo "$ac_cv_build" >&6; }
4332 case $ac_cv_build in
4333 *-*-*) ;;
4334 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4335 esac
4336 build=$ac_cv_build
4337 ac_save_IFS=$IFS; IFS='-'
4338 set x $ac_cv_build
4339 shift
4340 build_cpu=$1
4341 build_vendor=$2
4342 shift; shift
4343 # Remember, the first character of IFS is used to create $*,
4344 # except with old shells:
4345 build_os=$*
4346 IFS=$ac_save_IFS
4347 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4351 $as_echo_n "checking host system type... " >&6; }
4352 if ${ac_cv_host+:} false; then :
4353 $as_echo_n "(cached) " >&6
4354 else
4355 if test "x$host_alias" = x; then
4356 ac_cv_host=$ac_cv_build
4357 else
4358 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4359 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4364 $as_echo "$ac_cv_host" >&6; }
4365 case $ac_cv_host in
4366 *-*-*) ;;
4367 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4368 esac
4369 host=$ac_cv_host
4370 ac_save_IFS=$IFS; IFS='-'
4371 set x $ac_cv_host
4372 shift
4373 host_cpu=$1
4374 host_vendor=$2
4375 shift; shift
4376 # Remember, the first character of IFS is used to create $*,
4377 # except with old shells:
4378 host_os=$*
4379 IFS=$ac_save_IFS
4380 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4386 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4387 set x ${MAKE-make}
4388 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4389 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4390 $as_echo_n "(cached) " >&6
4391 else
4392 cat >conftest.make <<\_ACEOF
4393 SHELL = /bin/sh
4394 all:
4395 @echo '@@@%%%=$(MAKE)=@@@%%%'
4396 _ACEOF
4397 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4398 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4399 *@@@%%%=?*=@@@%%%*)
4400 eval ac_cv_prog_make_${ac_make}_set=yes;;
4402 eval ac_cv_prog_make_${ac_make}_set=no;;
4403 esac
4404 rm -f conftest.make
4406 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4408 $as_echo "yes" >&6; }
4409 SET_MAKE=
4410 else
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4412 $as_echo "no" >&6; }
4413 SET_MAKE="MAKE=${MAKE-make}"
4416 ac_ext=c
4417 ac_cpp='$CPP $CPPFLAGS'
4418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4421 if test -n "$ac_tool_prefix"; then
4422 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4423 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4425 $as_echo_n "checking for $ac_word... " >&6; }
4426 if ${ac_cv_prog_CC+:} false; then :
4427 $as_echo_n "(cached) " >&6
4428 else
4429 if test -n "$CC"; then
4430 ac_cv_prog_CC="$CC" # Let the user override the test.
4431 else
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433 for as_dir in $PATH
4435 IFS=$as_save_IFS
4436 test -z "$as_dir" && as_dir=.
4437 for ac_exec_ext in '' $ac_executable_extensions; do
4438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4439 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4441 break 2
4443 done
4444 done
4445 IFS=$as_save_IFS
4449 CC=$ac_cv_prog_CC
4450 if test -n "$CC"; then
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4452 $as_echo "$CC" >&6; }
4453 else
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4455 $as_echo "no" >&6; }
4460 if test -z "$ac_cv_prog_CC"; then
4461 ac_ct_CC=$CC
4462 # Extract the first word of "gcc", so it can be a program name with args.
4463 set dummy gcc; ac_word=$2
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4465 $as_echo_n "checking for $ac_word... " >&6; }
4466 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 if test -n "$ac_ct_CC"; then
4470 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4471 else
4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473 for as_dir in $PATH
4475 IFS=$as_save_IFS
4476 test -z "$as_dir" && as_dir=.
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4479 ac_cv_prog_ac_ct_CC="gcc"
4480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 break 2
4483 done
4484 done
4485 IFS=$as_save_IFS
4489 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4490 if test -n "$ac_ct_CC"; then
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4492 $as_echo "$ac_ct_CC" >&6; }
4493 else
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4495 $as_echo "no" >&6; }
4498 if test "x$ac_ct_CC" = x; then
4499 CC=""
4500 else
4501 case $cross_compiling:$ac_tool_warned in
4502 yes:)
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4505 ac_tool_warned=yes ;;
4506 esac
4507 CC=$ac_ct_CC
4509 else
4510 CC="$ac_cv_prog_CC"
4513 if test -z "$CC"; then
4514 if test -n "$ac_tool_prefix"; then
4515 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4516 set dummy ${ac_tool_prefix}cc; ac_word=$2
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4518 $as_echo_n "checking for $ac_word... " >&6; }
4519 if ${ac_cv_prog_CC+:} false; then :
4520 $as_echo_n "(cached) " >&6
4521 else
4522 if test -n "$CC"; then
4523 ac_cv_prog_CC="$CC" # Let the user override the test.
4524 else
4525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4526 for as_dir in $PATH
4528 IFS=$as_save_IFS
4529 test -z "$as_dir" && as_dir=.
4530 for ac_exec_ext in '' $ac_executable_extensions; do
4531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4532 ac_cv_prog_CC="${ac_tool_prefix}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
4542 CC=$ac_cv_prog_CC
4543 if test -n "$CC"; then
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4545 $as_echo "$CC" >&6; }
4546 else
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4548 $as_echo "no" >&6; }
4554 if test -z "$CC"; then
4555 # Extract the first word of "cc", so it can be a program name with args.
4556 set dummy cc; ac_word=$2
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4558 $as_echo_n "checking for $ac_word... " >&6; }
4559 if ${ac_cv_prog_CC+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 if test -n "$CC"; then
4563 ac_cv_prog_CC="$CC" # Let the user override the test.
4564 else
4565 ac_prog_rejected=no
4566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567 for as_dir in $PATH
4569 IFS=$as_save_IFS
4570 test -z "$as_dir" && as_dir=.
4571 for ac_exec_ext in '' $ac_executable_extensions; do
4572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4573 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4574 ac_prog_rejected=yes
4575 continue
4577 ac_cv_prog_CC="cc"
4578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4579 break 2
4581 done
4582 done
4583 IFS=$as_save_IFS
4585 if test $ac_prog_rejected = yes; then
4586 # We found a bogon in the path, so make sure we never use it.
4587 set dummy $ac_cv_prog_CC
4588 shift
4589 if test $# != 0; then
4590 # We chose a different compiler from the bogus one.
4591 # However, it has the same basename, so the bogon will be chosen
4592 # first if we set CC to just the basename; use the full file name.
4593 shift
4594 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4599 CC=$ac_cv_prog_CC
4600 if test -n "$CC"; then
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4602 $as_echo "$CC" >&6; }
4603 else
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 $as_echo "no" >&6; }
4610 if test -z "$CC"; then
4611 if test -n "$ac_tool_prefix"; then
4612 for ac_prog in cl.exe
4614 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4615 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if ${ac_cv_prog_CC+:} false; then :
4619 $as_echo_n "(cached) " >&6
4620 else
4621 if test -n "$CC"; then
4622 ac_cv_prog_CC="$CC" # Let the user override the test.
4623 else
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH
4627 IFS=$as_save_IFS
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4631 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 break 2
4635 done
4636 done
4637 IFS=$as_save_IFS
4641 CC=$ac_cv_prog_CC
4642 if test -n "$CC"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4644 $as_echo "$CC" >&6; }
4645 else
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4651 test -n "$CC" && break
4652 done
4654 if test -z "$CC"; then
4655 ac_ct_CC=$CC
4656 for ac_prog in cl.exe
4658 # Extract the first word of "$ac_prog", so it can be a program name with args.
4659 set dummy $ac_prog; ac_word=$2
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661 $as_echo_n "checking for $ac_word... " >&6; }
4662 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4663 $as_echo_n "(cached) " >&6
4664 else
4665 if test -n "$ac_ct_CC"; then
4666 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4667 else
4668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 for as_dir in $PATH
4671 IFS=$as_save_IFS
4672 test -z "$as_dir" && as_dir=.
4673 for ac_exec_ext in '' $ac_executable_extensions; do
4674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4675 ac_cv_prog_ac_ct_CC="$ac_prog"
4676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 break 2
4679 done
4680 done
4681 IFS=$as_save_IFS
4685 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4686 if test -n "$ac_ct_CC"; then
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4688 $as_echo "$ac_ct_CC" >&6; }
4689 else
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4695 test -n "$ac_ct_CC" && break
4696 done
4698 if test "x$ac_ct_CC" = x; then
4699 CC=""
4700 else
4701 case $cross_compiling:$ac_tool_warned in
4702 yes:)
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4705 ac_tool_warned=yes ;;
4706 esac
4707 CC=$ac_ct_CC
4714 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4716 as_fn_error $? "no acceptable C compiler found in \$PATH
4717 See \`config.log' for more details" "$LINENO" 5; }
4719 # Provide some information about the compiler.
4720 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4721 set X $ac_compile
4722 ac_compiler=$2
4723 for ac_option in --version -v -V -qversion; do
4724 { { ac_try="$ac_compiler $ac_option >&5"
4725 case "(($ac_try" in
4726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4727 *) ac_try_echo=$ac_try;;
4728 esac
4729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4730 $as_echo "$ac_try_echo"; } >&5
4731 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4732 ac_status=$?
4733 if test -s conftest.err; then
4734 sed '10a\
4735 ... rest of stderr output deleted ...
4736 10q' conftest.err >conftest.er1
4737 cat conftest.er1 >&5
4739 rm -f conftest.er1 conftest.err
4740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4741 test $ac_status = 0; }
4742 done
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4748 main ()
4752 return 0;
4754 _ACEOF
4755 ac_clean_files_save=$ac_clean_files
4756 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4757 # Try to create an executable without -o first, disregard a.out.
4758 # It will help us diagnose broken compilers, and finding out an intuition
4759 # of exeext.
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4761 $as_echo_n "checking whether the C compiler works... " >&6; }
4762 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4764 # The possible output files:
4765 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4767 ac_rmfiles=
4768 for ac_file in $ac_files
4770 case $ac_file in
4771 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4772 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4773 esac
4774 done
4775 rm -f $ac_rmfiles
4777 if { { ac_try="$ac_link_default"
4778 case "(($ac_try" in
4779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4780 *) ac_try_echo=$ac_try;;
4781 esac
4782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4783 $as_echo "$ac_try_echo"; } >&5
4784 (eval "$ac_link_default") 2>&5
4785 ac_status=$?
4786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4787 test $ac_status = 0; }; then :
4788 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4789 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4790 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4791 # so that the user can short-circuit this test for compilers unknown to
4792 # Autoconf.
4793 for ac_file in $ac_files ''
4795 test -f "$ac_file" || continue
4796 case $ac_file in
4797 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4799 [ab].out )
4800 # We found the default executable, but exeext='' is most
4801 # certainly right.
4802 break;;
4803 *.* )
4804 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4805 then :; else
4806 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4808 # We set ac_cv_exeext here because the later test for it is not
4809 # safe: cross compilers may not add the suffix if given an `-o'
4810 # argument, so we may need to know it at that point already.
4811 # Even if this section looks crufty: it has the advantage of
4812 # actually working.
4813 break;;
4815 break;;
4816 esac
4817 done
4818 test "$ac_cv_exeext" = no && ac_cv_exeext=
4820 else
4821 ac_file=''
4823 if test -z "$ac_file"; then :
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 $as_echo "no" >&6; }
4826 $as_echo "$as_me: failed program was:" >&5
4827 sed 's/^/| /' conftest.$ac_ext >&5
4829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4831 as_fn_error 77 "C compiler cannot create executables
4832 See \`config.log' for more details" "$LINENO" 5; }
4833 else
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4835 $as_echo "yes" >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4838 $as_echo_n "checking for C compiler default output file name... " >&6; }
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4840 $as_echo "$ac_file" >&6; }
4841 ac_exeext=$ac_cv_exeext
4843 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4844 ac_clean_files=$ac_clean_files_save
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4846 $as_echo_n "checking for suffix of executables... " >&6; }
4847 if { { ac_try="$ac_link"
4848 case "(($ac_try" in
4849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4850 *) ac_try_echo=$ac_try;;
4851 esac
4852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4853 $as_echo "$ac_try_echo"; } >&5
4854 (eval "$ac_link") 2>&5
4855 ac_status=$?
4856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4857 test $ac_status = 0; }; then :
4858 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4859 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4860 # work properly (i.e., refer to `conftest.exe'), while it won't with
4861 # `rm'.
4862 for ac_file in conftest.exe conftest conftest.*; do
4863 test -f "$ac_file" || continue
4864 case $ac_file in
4865 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4866 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4867 break;;
4868 * ) break;;
4869 esac
4870 done
4871 else
4872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4874 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4875 See \`config.log' for more details" "$LINENO" 5; }
4877 rm -f conftest conftest$ac_cv_exeext
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4879 $as_echo "$ac_cv_exeext" >&6; }
4881 rm -f conftest.$ac_ext
4882 EXEEXT=$ac_cv_exeext
4883 ac_exeext=$EXEEXT
4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h. */
4886 #include <stdio.h>
4888 main ()
4890 FILE *f = fopen ("conftest.out", "w");
4891 return ferror (f) || fclose (f) != 0;
4894 return 0;
4896 _ACEOF
4897 ac_clean_files="$ac_clean_files conftest.out"
4898 # Check that the compiler produces executables we can run. If not, either
4899 # the compiler is broken, or we cross compile.
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4901 $as_echo_n "checking whether we are cross compiling... " >&6; }
4902 if test "$cross_compiling" != yes; then
4903 { { ac_try="$ac_link"
4904 case "(($ac_try" in
4905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4906 *) ac_try_echo=$ac_try;;
4907 esac
4908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4909 $as_echo "$ac_try_echo"; } >&5
4910 (eval "$ac_link") 2>&5
4911 ac_status=$?
4912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4913 test $ac_status = 0; }
4914 if { ac_try='./conftest$ac_cv_exeext'
4915 { { case "(($ac_try" in
4916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4917 *) ac_try_echo=$ac_try;;
4918 esac
4919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4920 $as_echo "$ac_try_echo"; } >&5
4921 (eval "$ac_try") 2>&5
4922 ac_status=$?
4923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4924 test $ac_status = 0; }; }; then
4925 cross_compiling=no
4926 else
4927 if test "$cross_compiling" = maybe; then
4928 cross_compiling=yes
4929 else
4930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4932 as_fn_error $? "cannot run C compiled programs.
4933 If you meant to cross compile, use \`--host'.
4934 See \`config.log' for more details" "$LINENO" 5; }
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4939 $as_echo "$cross_compiling" >&6; }
4941 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4942 ac_clean_files=$ac_clean_files_save
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4944 $as_echo_n "checking for suffix of object files... " >&6; }
4945 if ${ac_cv_objext+:} false; then :
4946 $as_echo_n "(cached) " >&6
4947 else
4948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4949 /* end confdefs.h. */
4952 main ()
4956 return 0;
4958 _ACEOF
4959 rm -f conftest.o conftest.obj
4960 if { { ac_try="$ac_compile"
4961 case "(($ac_try" in
4962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4963 *) ac_try_echo=$ac_try;;
4964 esac
4965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4966 $as_echo "$ac_try_echo"; } >&5
4967 (eval "$ac_compile") 2>&5
4968 ac_status=$?
4969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4970 test $ac_status = 0; }; then :
4971 for ac_file in conftest.o conftest.obj conftest.*; do
4972 test -f "$ac_file" || continue;
4973 case $ac_file in
4974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4975 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4976 break;;
4977 esac
4978 done
4979 else
4980 $as_echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.$ac_ext >&5
4983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4985 as_fn_error $? "cannot compute suffix of object files: cannot compile
4986 See \`config.log' for more details" "$LINENO" 5; }
4988 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4991 $as_echo "$ac_cv_objext" >&6; }
4992 OBJEXT=$ac_cv_objext
4993 ac_objext=$OBJEXT
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4995 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4996 if ${ac_cv_c_compiler_gnu+:} false; then :
4997 $as_echo_n "(cached) " >&6
4998 else
4999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5003 main ()
5005 #ifndef __GNUC__
5006 choke me
5007 #endif
5010 return 0;
5012 _ACEOF
5013 if ac_fn_c_try_compile "$LINENO"; then :
5014 ac_compiler_gnu=yes
5015 else
5016 ac_compiler_gnu=no
5018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5023 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5024 if test $ac_compiler_gnu = yes; then
5025 GCC=yes
5026 else
5027 GCC=
5029 ac_test_CFLAGS=${CFLAGS+set}
5030 ac_save_CFLAGS=$CFLAGS
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5032 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5033 if ${ac_cv_prog_cc_g+:} false; then :
5034 $as_echo_n "(cached) " >&6
5035 else
5036 ac_save_c_werror_flag=$ac_c_werror_flag
5037 ac_c_werror_flag=yes
5038 ac_cv_prog_cc_g=no
5039 CFLAGS="-g"
5040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5041 /* end confdefs.h. */
5044 main ()
5048 return 0;
5050 _ACEOF
5051 if ac_fn_c_try_compile "$LINENO"; then :
5052 ac_cv_prog_cc_g=yes
5053 else
5054 CFLAGS=""
5055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5059 main ()
5063 return 0;
5065 _ACEOF
5066 if ac_fn_c_try_compile "$LINENO"; then :
5068 else
5069 ac_c_werror_flag=$ac_save_c_werror_flag
5070 CFLAGS="-g"
5071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5072 /* end confdefs.h. */
5075 main ()
5079 return 0;
5081 _ACEOF
5082 if ac_fn_c_try_compile "$LINENO"; then :
5083 ac_cv_prog_cc_g=yes
5085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5090 ac_c_werror_flag=$ac_save_c_werror_flag
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5093 $as_echo "$ac_cv_prog_cc_g" >&6; }
5094 if test "$ac_test_CFLAGS" = set; then
5095 CFLAGS=$ac_save_CFLAGS
5096 elif test $ac_cv_prog_cc_g = yes; then
5097 if test "$GCC" = yes; then
5098 CFLAGS="-g -O2"
5099 else
5100 CFLAGS="-g"
5102 else
5103 if test "$GCC" = yes; then
5104 CFLAGS="-O2"
5105 else
5106 CFLAGS=
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5110 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5111 if ${ac_cv_prog_cc_c89+:} false; then :
5112 $as_echo_n "(cached) " >&6
5113 else
5114 ac_cv_prog_cc_c89=no
5115 ac_save_CC=$CC
5116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117 /* end confdefs.h. */
5118 #include <stdarg.h>
5119 #include <stdio.h>
5120 struct stat;
5121 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5122 struct buf { int x; };
5123 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5124 static char *e (p, i)
5125 char **p;
5126 int i;
5128 return p[i];
5130 static char *f (char * (*g) (char **, int), char **p, ...)
5132 char *s;
5133 va_list v;
5134 va_start (v,p);
5135 s = g (p, va_arg (v,int));
5136 va_end (v);
5137 return s;
5140 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5141 function prototypes and stuff, but not '\xHH' hex character constants.
5142 These don't provoke an error unfortunately, instead are silently treated
5143 as 'x'. The following induces an error, until -std is added to get
5144 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5145 array size at least. It's necessary to write '\x00'==0 to get something
5146 that's true only with -std. */
5147 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5149 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5150 inside strings and character constants. */
5151 #define FOO(x) 'x'
5152 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5154 int test (int i, double x);
5155 struct s1 {int (*f) (int a);};
5156 struct s2 {int (*f) (double a);};
5157 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5158 int argc;
5159 char **argv;
5161 main ()
5163 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5165 return 0;
5167 _ACEOF
5168 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5169 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5171 CC="$ac_save_CC $ac_arg"
5172 if ac_fn_c_try_compile "$LINENO"; then :
5173 ac_cv_prog_cc_c89=$ac_arg
5175 rm -f core conftest.err conftest.$ac_objext
5176 test "x$ac_cv_prog_cc_c89" != "xno" && break
5177 done
5178 rm -f conftest.$ac_ext
5179 CC=$ac_save_CC
5182 # AC_CACHE_VAL
5183 case "x$ac_cv_prog_cc_c89" in
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5186 $as_echo "none needed" >&6; } ;;
5187 xno)
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5189 $as_echo "unsupported" >&6; } ;;
5191 CC="$CC $ac_cv_prog_cc_c89"
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5193 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5194 esac
5195 if test "x$ac_cv_prog_cc_c89" != xno; then :
5199 ac_ext=c
5200 ac_cpp='$CPP $CPPFLAGS'
5201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5205 ac_ext=cpp
5206 ac_cpp='$CXXCPP $CPPFLAGS'
5207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5210 if test -z "$CXX"; then
5211 if test -n "$CCC"; then
5212 CXX=$CCC
5213 else
5214 if test -n "$ac_tool_prefix"; then
5215 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5218 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if ${ac_cv_prog_CXX+:} false; then :
5222 $as_echo_n "(cached) " >&6
5223 else
5224 if test -n "$CXX"; then
5225 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5226 else
5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 for as_dir in $PATH
5230 IFS=$as_save_IFS
5231 test -z "$as_dir" && as_dir=.
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 break 2
5238 done
5239 done
5240 IFS=$as_save_IFS
5244 CXX=$ac_cv_prog_CXX
5245 if test -n "$CXX"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5247 $as_echo "$CXX" >&6; }
5248 else
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5254 test -n "$CXX" && break
5255 done
5257 if test -z "$CXX"; then
5258 ac_ct_CXX=$CXX
5259 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5261 # Extract the first word of "$ac_prog", so it can be a program name with args.
5262 set dummy $ac_prog; ac_word=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5266 $as_echo_n "(cached) " >&6
5267 else
5268 if test -n "$ac_ct_CXX"; then
5269 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5270 else
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272 for as_dir in $PATH
5274 IFS=$as_save_IFS
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5278 ac_cv_prog_ac_ct_CXX="$ac_prog"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 break 2
5282 done
5283 done
5284 IFS=$as_save_IFS
5288 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5289 if test -n "$ac_ct_CXX"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5291 $as_echo "$ac_ct_CXX" >&6; }
5292 else
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5298 test -n "$ac_ct_CXX" && break
5299 done
5301 if test "x$ac_ct_CXX" = x; then
5302 CXX="g++"
5303 else
5304 case $cross_compiling:$ac_tool_warned in
5305 yes:)
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5308 ac_tool_warned=yes ;;
5309 esac
5310 CXX=$ac_ct_CXX
5316 # Provide some information about the compiler.
5317 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5318 set X $ac_compile
5319 ac_compiler=$2
5320 for ac_option in --version -v -V -qversion; do
5321 { { ac_try="$ac_compiler $ac_option >&5"
5322 case "(($ac_try" in
5323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5324 *) ac_try_echo=$ac_try;;
5325 esac
5326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5327 $as_echo "$ac_try_echo"; } >&5
5328 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5329 ac_status=$?
5330 if test -s conftest.err; then
5331 sed '10a\
5332 ... rest of stderr output deleted ...
5333 10q' conftest.err >conftest.er1
5334 cat conftest.er1 >&5
5336 rm -f conftest.er1 conftest.err
5337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5338 test $ac_status = 0; }
5339 done
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5342 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5343 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5344 $as_echo_n "(cached) " >&6
5345 else
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5350 main ()
5352 #ifndef __GNUC__
5353 choke me
5354 #endif
5357 return 0;
5359 _ACEOF
5360 if ac_fn_cxx_try_compile "$LINENO"; then :
5361 ac_compiler_gnu=yes
5362 else
5363 ac_compiler_gnu=no
5365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5366 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5370 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5371 if test $ac_compiler_gnu = yes; then
5372 GXX=yes
5373 else
5374 GXX=
5376 ac_test_CXXFLAGS=${CXXFLAGS+set}
5377 ac_save_CXXFLAGS=$CXXFLAGS
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5379 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5380 if ${ac_cv_prog_cxx_g+:} false; then :
5381 $as_echo_n "(cached) " >&6
5382 else
5383 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5384 ac_cxx_werror_flag=yes
5385 ac_cv_prog_cxx_g=no
5386 CXXFLAGS="-g"
5387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5388 /* end confdefs.h. */
5391 main ()
5395 return 0;
5397 _ACEOF
5398 if ac_fn_cxx_try_compile "$LINENO"; then :
5399 ac_cv_prog_cxx_g=yes
5400 else
5401 CXXFLAGS=""
5402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h. */
5406 main ()
5410 return 0;
5412 _ACEOF
5413 if ac_fn_cxx_try_compile "$LINENO"; then :
5415 else
5416 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5417 CXXFLAGS="-g"
5418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5422 main ()
5426 return 0;
5428 _ACEOF
5429 if ac_fn_cxx_try_compile "$LINENO"; then :
5430 ac_cv_prog_cxx_g=yes
5432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5437 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5440 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5441 if test "$ac_test_CXXFLAGS" = set; then
5442 CXXFLAGS=$ac_save_CXXFLAGS
5443 elif test $ac_cv_prog_cxx_g = yes; then
5444 if test "$GXX" = yes; then
5445 CXXFLAGS="-g -O2"
5446 else
5447 CXXFLAGS="-g"
5449 else
5450 if test "$GXX" = yes; then
5451 CXXFLAGS="-O2"
5452 else
5453 CXXFLAGS=
5456 ac_ext=c
5457 ac_cpp='$CPP $CPPFLAGS'
5458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5462 if test -n "$ac_tool_prefix"; then
5463 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5464 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5466 $as_echo_n "checking for $ac_word... " >&6; }
5467 if ${ac_cv_prog_CPPBIN+:} false; then :
5468 $as_echo_n "(cached) " >&6
5469 else
5470 if test -n "$CPPBIN"; then
5471 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5472 else
5473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5474 for as_dir in $PATH
5476 IFS=$as_save_IFS
5477 test -z "$as_dir" && as_dir=.
5478 for ac_exec_ext in '' $ac_executable_extensions; do
5479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5480 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 break 2
5484 done
5485 done
5486 IFS=$as_save_IFS
5490 CPPBIN=$ac_cv_prog_CPPBIN
5491 if test -n "$CPPBIN"; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5493 $as_echo "$CPPBIN" >&6; }
5494 else
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496 $as_echo "no" >&6; }
5501 if test -z "$ac_cv_prog_CPPBIN"; then
5502 ac_ct_CPPBIN=$CPPBIN
5503 # Extract the first word of "cpp", so it can be a program name with args.
5504 set dummy cpp; ac_word=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5508 $as_echo_n "(cached) " >&6
5509 else
5510 if test -n "$ac_ct_CPPBIN"; then
5511 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5512 else
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514 for as_dir in $PATH
5516 IFS=$as_save_IFS
5517 test -z "$as_dir" && as_dir=.
5518 for ac_exec_ext in '' $ac_executable_extensions; do
5519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5520 ac_cv_prog_ac_ct_CPPBIN="cpp"
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 break 2
5524 done
5525 done
5526 IFS=$as_save_IFS
5530 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5531 if test -n "$ac_ct_CPPBIN"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5533 $as_echo "$ac_ct_CPPBIN" >&6; }
5534 else
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5539 if test "x$ac_ct_CPPBIN" = x; then
5540 CPPBIN="cpp"
5541 else
5542 case $cross_compiling:$ac_tool_warned in
5543 yes:)
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5546 ac_tool_warned=yes ;;
5547 esac
5548 CPPBIN=$ac_ct_CPPBIN
5550 else
5551 CPPBIN="$ac_cv_prog_CPPBIN"
5555 cat >>confdefs.h <<_ACEOF
5556 #define EXEEXT "$ac_exeext"
5557 _ACEOF
5559 if test -n "$ac_tool_prefix"; then
5560 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5561 set dummy ${ac_tool_prefix}ld; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_LD+:} false; then :
5565 $as_echo_n "(cached) " >&6
5566 else
5567 if test -n "$LD"; then
5568 ac_cv_prog_LD="$LD" # Let the user override the test.
5569 else
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in $PATH
5573 IFS=$as_save_IFS
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_LD="${ac_tool_prefix}ld"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 break 2
5581 done
5582 done
5583 IFS=$as_save_IFS
5587 LD=$ac_cv_prog_LD
5588 if test -n "$LD"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5590 $as_echo "$LD" >&6; }
5591 else
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5598 if test -z "$ac_cv_prog_LD"; then
5599 ac_ct_LD=$LD
5600 # Extract the first word of "ld", so it can be a program name with args.
5601 set dummy ld; ac_word=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5605 $as_echo_n "(cached) " >&6
5606 else
5607 if test -n "$ac_ct_LD"; then
5608 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5609 else
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 for as_dir in $PATH
5613 IFS=$as_save_IFS
5614 test -z "$as_dir" && as_dir=.
5615 for ac_exec_ext in '' $ac_executable_extensions; do
5616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5617 ac_cv_prog_ac_ct_LD="ld"
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5619 break 2
5621 done
5622 done
5623 IFS=$as_save_IFS
5627 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5628 if test -n "$ac_ct_LD"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5630 $as_echo "$ac_ct_LD" >&6; }
5631 else
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5636 if test "x$ac_ct_LD" = x; then
5637 LD=""
5638 else
5639 case $cross_compiling:$ac_tool_warned in
5640 yes:)
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5643 ac_tool_warned=yes ;;
5644 esac
5645 LD=$ac_ct_LD
5647 else
5648 LD="$ac_cv_prog_LD"
5652 case $host in
5653 *-darwin*)
5654 with_fontconfig=${with_fontconfig:-no}
5656 *-mingw32*|*-cygwin*)
5657 enable_win16=${enable_win16:-no}
5658 with_mingw=${with_mingw:-no}
5660 esac
5663 case $host in
5664 x86_64*|amd64*)
5665 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5666 then
5667 CC="$CC -m32"
5668 CXX="$CXX -m32"
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5671 $as_echo_n "checking whether $CC works... " >&6; }
5672 if ${wine_cv_cc_m32+:} false; then :
5673 $as_echo_n "(cached) " >&6
5674 else
5675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5679 main ()
5683 return 0;
5685 _ACEOF
5686 if ac_fn_c_try_link "$LINENO"; then :
5687 wine_cv_cc_m32=yes
5688 else
5689 wine_cv_cc_m32=no
5691 rm -f core conftest.err conftest.$ac_objext \
5692 conftest$ac_exeext conftest.$ac_ext
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5695 $as_echo "$wine_cv_cc_m32" >&6; }
5696 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
5697 host_cpu="i386"
5698 notice_platform="32-bit "
5699 TARGETFLAGS="$TARGETFLAGS -m32"
5700 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5701 export PKG_CONFIG_PATH
5702 enable_win16=${enable_win16:-yes}
5703 with_unwind=${with_unwind:-no}
5704 else
5705 if test "x${GCC}" = "xyes"
5706 then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5708 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5709 if ${wine_cv_builtin_ms_va_list+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5714 #include <stdarg.h>
5716 main ()
5718 void func(__builtin_ms_va_list *args);
5720 return 0;
5722 _ACEOF
5723 if ac_fn_c_try_compile "$LINENO"; then :
5724 wine_cv_builtin_ms_va_list=yes
5725 else
5726 wine_cv_builtin_ms_va_list=no
5728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5731 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5732 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
5734 CC="$CC -m64"
5735 CXX="$CXX -m64"
5736 host_cpu="x86_64"
5737 notice_platform="64-bit "
5738 TARGETFLAGS="$TARGETFLAGS -m64"
5739 enable_wow64=${enable_wow64:-yes}
5740 enable_wow64win=${enable_wow64win:-yes}
5741 enable_wow64cpu=${enable_wow64cpu:-yes}
5744 arm*)
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5746 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5747 if ${wine_cv_thumb2+:} false; then :
5748 $as_echo_n "(cached) " >&6
5749 else
5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5751 /* end confdefs.h. */
5754 main ()
5756 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5758 return 0;
5760 _ACEOF
5761 if ac_fn_c_try_link "$LINENO"; then :
5762 wine_cv_thumb2=yes
5763 else
5764 wine_cv_thumb2=no
5766 rm -f core conftest.err conftest.$ac_objext \
5767 conftest$ac_exeext conftest.$ac_ext
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5770 $as_echo "$wine_cv_thumb2" >&6; }
5771 if test x"$wine_cv_thumb2" = xyes
5772 then
5773 CFLAGS="$CFLAGS -mthumb"
5774 TARGETFLAGS="$TARGETFLAGS -mthumb"
5775 else
5776 CFLAGS="$CFLAGS -marm"
5777 TARGETFLAGS="$TARGETFLAGS -marm"
5779 case $with_float_abi in
5780 soft|softfp|hard)
5781 float_abi=$with_float_abi ;;
5783 case $host_os in
5784 *eabihf)
5785 float_abi=hard ;;
5787 float_abi=softfp
5788 saved_CFLAGS=$CFLAGS
5789 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5791 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5792 if ${wine_cv_float_abi+:} false; then :
5793 $as_echo_n "(cached) " >&6
5794 else
5795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h. */
5799 main ()
5801 asm("vmrs r2,fpscr");
5803 return 0;
5805 _ACEOF
5806 if ac_fn_c_try_link "$LINENO"; then :
5807 wine_cv_float_abi=yes
5808 else
5809 wine_cv_float_abi=no
5811 rm -f core conftest.err conftest.$ac_objext \
5812 conftest$ac_exeext conftest.$ac_ext
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5815 $as_echo "$wine_cv_float_abi" >&6; }
5816 if test $wine_cv_float_abi = no
5817 then
5818 float_abi=soft
5819 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5821 CFLAGS=$saved_CFLAGS
5822 esac
5824 esac
5825 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5826 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5828 aarch64*)
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5830 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5831 if ${wine_cv_builtin_ms_va_list+:} false; then :
5832 $as_echo_n "(cached) " >&6
5833 else
5834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5835 /* end confdefs.h. */
5836 #include <stdarg.h>
5838 main ()
5840 void func(__builtin_ms_va_list *args);
5842 return 0;
5844 _ACEOF
5845 if ac_fn_c_try_compile "$LINENO"; then :
5846 wine_cv_builtin_ms_va_list=yes
5847 else
5848 wine_cv_builtin_ms_va_list=no
5850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5853 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5854 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5855 enable_wow64=${enable_wow64:-yes}
5856 enable_wow64win=${enable_wow64win:-yes}
5858 i[3456789]86*)
5859 enable_win16=${enable_win16:-yes}
5860 with_unwind=${with_unwind:-no}
5862 esac
5864 enable_win16=${enable_win16:-no}
5865 enable_win64=${enable_win64:-no}
5866 enable_wow64=${enable_wow64:-no}
5867 enable_wow64win=${enable_wow64win:-no}
5868 enable_wow64cpu=${enable_wow64cpu:-no}
5870 enable_winetest=${enable_winetest:-$enable_tests}
5872 if test "x$enable_win64" = "xyes"
5873 then
5874 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5875 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5879 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5880 if ${wine_cv_toolsdir+:} false; then :
5881 $as_echo_n "(cached) " >&6
5882 else
5883 wine_cv_toolsdir="$with_wine_tools"
5884 if test -z "$with_wine_tools"; then
5885 if test "$cross_compiling" = "yes"; then
5886 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5887 elif test -n "$with_wine64"; then
5888 wine_cv_toolsdir="$with_wine64"
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5893 $as_echo "$wine_cv_toolsdir" >&6; }
5894 if test -z "$wine_cv_toolsdir"; then
5895 wine_makedep=tools/makedep
5896 TOOLSDIR="."
5898 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5899 wine_makedep=$wine_cv_toolsdir/tools/makedep
5900 TOOLSDIR=$wine_cv_toolsdir
5902 enable_tools=${enable_tools:-no}
5903 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5904 else
5905 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5907 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5908 then
5909 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5912 for ac_prog in flex
5914 # Extract the first word of "$ac_prog", so it can be a program name with args.
5915 set dummy $ac_prog; ac_word=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 $as_echo_n "checking for $ac_word... " >&6; }
5918 if ${ac_cv_prog_FLEX+:} false; then :
5919 $as_echo_n "(cached) " >&6
5920 else
5921 if test -n "$FLEX"; then
5922 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5923 else
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 for as_dir in $PATH
5927 IFS=$as_save_IFS
5928 test -z "$as_dir" && as_dir=.
5929 for ac_exec_ext in '' $ac_executable_extensions; do
5930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5931 ac_cv_prog_FLEX="$ac_prog"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 break 2
5935 done
5936 done
5937 IFS=$as_save_IFS
5941 FLEX=$ac_cv_prog_FLEX
5942 if test -n "$FLEX"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5944 $as_echo "$FLEX" >&6; }
5945 else
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 $as_echo "no" >&6; }
5951 test -n "$FLEX" && break
5952 done
5953 test -n "$FLEX" || FLEX="none"
5955 if test "$FLEX" = "none"
5956 then
5957 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5960 $as_echo_n "checking whether flex is recent enough... " >&6; }
5961 if ${wine_cv_recent_flex+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 cat >conftest.l <<EOF
5965 %top{
5966 #include "prediluvian.h"
5970 if $FLEX -t conftest.l >/dev/null 2>&5
5971 then
5972 wine_cv_recent_flex=yes
5973 else
5974 wine_cv_recent_flex=no
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5978 $as_echo "$wine_cv_recent_flex" >&6; }
5979 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
5981 for ac_prog in bison
5983 # Extract the first word of "$ac_prog", so it can be a program name with args.
5984 set dummy $ac_prog; ac_word=$2
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5986 $as_echo_n "checking for $ac_word... " >&6; }
5987 if ${ac_cv_prog_BISON+:} false; then :
5988 $as_echo_n "(cached) " >&6
5989 else
5990 if test -n "$BISON"; then
5991 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5992 else
5993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5994 for as_dir in $PATH
5996 IFS=$as_save_IFS
5997 test -z "$as_dir" && as_dir=.
5998 for ac_exec_ext in '' $ac_executable_extensions; do
5999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6000 ac_cv_prog_BISON="$ac_prog"
6001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6002 break 2
6004 done
6005 done
6006 IFS=$as_save_IFS
6010 BISON=$ac_cv_prog_BISON
6011 if test -n "$BISON"; then
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6013 $as_echo "$BISON" >&6; }
6014 else
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6016 $as_echo "no" >&6; }
6020 test -n "$BISON" && break
6021 done
6022 test -n "$BISON" || BISON="none"
6024 if test "$BISON" = "none"
6025 then
6026 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6029 $as_echo_n "checking whether bison is recent enough... " >&6; }
6030 if ${wine_cv_recent_bison+:} false; then :
6031 $as_echo_n "(cached) " >&6
6032 else
6033 cat >conftest.y <<EOF
6034 %define parse.error verbose
6036 empty: ;
6038 if $BISON conftest.y >/dev/null 2>&5
6039 then
6040 wine_cv_recent_bison=yes
6041 else
6042 wine_cv_recent_bison=no
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6046 $as_echo "$wine_cv_recent_bison" >&6; }
6047 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
6049 if test -n "$ac_tool_prefix"; then
6050 for ac_prog in ar gar
6052 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6053 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 $as_echo_n "checking for $ac_word... " >&6; }
6056 if ${ac_cv_prog_AR+:} false; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 if test -n "$AR"; then
6060 ac_cv_prog_AR="$AR" # Let the user override the test.
6061 else
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 for as_dir in $PATH
6065 IFS=$as_save_IFS
6066 test -z "$as_dir" && as_dir=.
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6069 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 break 2
6073 done
6074 done
6075 IFS=$as_save_IFS
6079 AR=$ac_cv_prog_AR
6080 if test -n "$AR"; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6082 $as_echo "$AR" >&6; }
6083 else
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 $as_echo "no" >&6; }
6089 test -n "$AR" && break
6090 done
6092 if test -z "$AR"; then
6093 ac_ct_AR=$AR
6094 for ac_prog in ar gar
6096 # Extract the first word of "$ac_prog", so it can be a program name with args.
6097 set dummy $ac_prog; ac_word=$2
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 $as_echo_n "checking for $ac_word... " >&6; }
6100 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6101 $as_echo_n "(cached) " >&6
6102 else
6103 if test -n "$ac_ct_AR"; then
6104 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6105 else
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 for as_dir in $PATH
6109 IFS=$as_save_IFS
6110 test -z "$as_dir" && as_dir=.
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_ac_ct_AR="$ac_prog"
6114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 break 2
6117 done
6118 done
6119 IFS=$as_save_IFS
6123 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6124 if test -n "$ac_ct_AR"; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6126 $as_echo "$ac_ct_AR" >&6; }
6127 else
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 $as_echo "no" >&6; }
6133 test -n "$ac_ct_AR" && break
6134 done
6136 if test "x$ac_ct_AR" = x; then
6137 AR="ar"
6138 else
6139 case $cross_compiling:$ac_tool_warned in
6140 yes:)
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6143 ac_tool_warned=yes ;;
6144 esac
6145 AR=$ac_ct_AR
6149 if test -n "$ac_tool_prefix"; then
6150 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6151 set dummy ${ac_tool_prefix}strip; ac_word=$2
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153 $as_echo_n "checking for $ac_word... " >&6; }
6154 if ${ac_cv_prog_STRIP+:} false; then :
6155 $as_echo_n "(cached) " >&6
6156 else
6157 if test -n "$STRIP"; then
6158 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6159 else
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $PATH
6163 IFS=$as_save_IFS
6164 test -z "$as_dir" && as_dir=.
6165 for ac_exec_ext in '' $ac_executable_extensions; do
6166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6167 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 break 2
6171 done
6172 done
6173 IFS=$as_save_IFS
6177 STRIP=$ac_cv_prog_STRIP
6178 if test -n "$STRIP"; then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6180 $as_echo "$STRIP" >&6; }
6181 else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 $as_echo "no" >&6; }
6188 if test -z "$ac_cv_prog_STRIP"; then
6189 ac_ct_STRIP=$STRIP
6190 # Extract the first word of "strip", so it can be a program name with args.
6191 set dummy strip; ac_word=$2
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6193 $as_echo_n "checking for $ac_word... " >&6; }
6194 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6195 $as_echo_n "(cached) " >&6
6196 else
6197 if test -n "$ac_ct_STRIP"; then
6198 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6199 else
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 for as_dir in $PATH
6203 IFS=$as_save_IFS
6204 test -z "$as_dir" && as_dir=.
6205 for ac_exec_ext in '' $ac_executable_extensions; do
6206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6207 ac_cv_prog_ac_ct_STRIP="strip"
6208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6209 break 2
6211 done
6212 done
6213 IFS=$as_save_IFS
6217 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6218 if test -n "$ac_ct_STRIP"; then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6220 $as_echo "$ac_ct_STRIP" >&6; }
6221 else
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6223 $as_echo "no" >&6; }
6226 if test "x$ac_ct_STRIP" = x; then
6227 STRIP="strip"
6228 else
6229 case $cross_compiling:$ac_tool_warned in
6230 yes:)
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6233 ac_tool_warned=yes ;;
6234 esac
6235 STRIP=$ac_ct_STRIP
6237 else
6238 STRIP="$ac_cv_prog_STRIP"
6241 if test -n "$ac_tool_prefix"; then
6242 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6243 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6245 $as_echo_n "checking for $ac_word... " >&6; }
6246 if ${ac_cv_prog_RANLIB+:} false; then :
6247 $as_echo_n "(cached) " >&6
6248 else
6249 if test -n "$RANLIB"; then
6250 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6251 else
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 for as_dir in $PATH
6255 IFS=$as_save_IFS
6256 test -z "$as_dir" && as_dir=.
6257 for ac_exec_ext in '' $ac_executable_extensions; do
6258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6259 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6261 break 2
6263 done
6264 done
6265 IFS=$as_save_IFS
6269 RANLIB=$ac_cv_prog_RANLIB
6270 if test -n "$RANLIB"; then
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6272 $as_echo "$RANLIB" >&6; }
6273 else
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6275 $as_echo "no" >&6; }
6280 if test -z "$ac_cv_prog_RANLIB"; then
6281 ac_ct_RANLIB=$RANLIB
6282 # Extract the first word of "ranlib", so it can be a program name with args.
6283 set dummy ranlib; ac_word=$2
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285 $as_echo_n "checking for $ac_word... " >&6; }
6286 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6287 $as_echo_n "(cached) " >&6
6288 else
6289 if test -n "$ac_ct_RANLIB"; then
6290 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6291 else
6292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6293 for as_dir in $PATH
6295 IFS=$as_save_IFS
6296 test -z "$as_dir" && as_dir=.
6297 for ac_exec_ext in '' $ac_executable_extensions; do
6298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6299 ac_cv_prog_ac_ct_RANLIB="ranlib"
6300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6301 break 2
6303 done
6304 done
6305 IFS=$as_save_IFS
6309 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6310 if test -n "$ac_ct_RANLIB"; then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6312 $as_echo "$ac_ct_RANLIB" >&6; }
6313 else
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6315 $as_echo "no" >&6; }
6318 if test "x$ac_ct_RANLIB" = x; then
6319 RANLIB=":"
6320 else
6321 case $cross_compiling:$ac_tool_warned in
6322 yes:)
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6325 ac_tool_warned=yes ;;
6326 esac
6327 RANLIB=$ac_ct_RANLIB
6329 else
6330 RANLIB="$ac_cv_prog_RANLIB"
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6334 $as_echo_n "checking whether ln -s works... " >&6; }
6335 LN_S=$as_ln_s
6336 if test "$LN_S" = "ln -s"; then
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6338 $as_echo "yes" >&6; }
6339 else
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6341 $as_echo "no, using $LN_S" >&6; }
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6345 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6346 if ${ac_cv_path_GREP+:} false; then :
6347 $as_echo_n "(cached) " >&6
6348 else
6349 if test -z "$GREP"; then
6350 ac_path_GREP_found=false
6351 # Loop through the user's path and test for each of PROGNAME-LIST
6352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6355 IFS=$as_save_IFS
6356 test -z "$as_dir" && as_dir=.
6357 for ac_prog in grep ggrep; do
6358 for ac_exec_ext in '' $ac_executable_extensions; do
6359 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6360 as_fn_executable_p "$ac_path_GREP" || continue
6361 # Check for GNU ac_path_GREP and select it if it is found.
6362 # Check for GNU $ac_path_GREP
6363 case `"$ac_path_GREP" --version 2>&1` in
6364 *GNU*)
6365 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6367 ac_count=0
6368 $as_echo_n 0123456789 >"conftest.in"
6369 while :
6371 cat "conftest.in" "conftest.in" >"conftest.tmp"
6372 mv "conftest.tmp" "conftest.in"
6373 cp "conftest.in" "conftest.nl"
6374 $as_echo 'GREP' >> "conftest.nl"
6375 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6376 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6377 as_fn_arith $ac_count + 1 && ac_count=$as_val
6378 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6379 # Best one so far, save it but keep looking for a better one
6380 ac_cv_path_GREP="$ac_path_GREP"
6381 ac_path_GREP_max=$ac_count
6383 # 10*(2^10) chars as input seems more than enough
6384 test $ac_count -gt 10 && break
6385 done
6386 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6387 esac
6389 $ac_path_GREP_found && break 3
6390 done
6391 done
6392 done
6393 IFS=$as_save_IFS
6394 if test -z "$ac_cv_path_GREP"; then
6395 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6397 else
6398 ac_cv_path_GREP=$GREP
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6403 $as_echo "$ac_cv_path_GREP" >&6; }
6404 GREP="$ac_cv_path_GREP"
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6408 $as_echo_n "checking for egrep... " >&6; }
6409 if ${ac_cv_path_EGREP+:} false; then :
6410 $as_echo_n "(cached) " >&6
6411 else
6412 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6413 then ac_cv_path_EGREP="$GREP -E"
6414 else
6415 if test -z "$EGREP"; then
6416 ac_path_EGREP_found=false
6417 # Loop through the user's path and test for each of PROGNAME-LIST
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6421 IFS=$as_save_IFS
6422 test -z "$as_dir" && as_dir=.
6423 for ac_prog in egrep; do
6424 for ac_exec_ext in '' $ac_executable_extensions; do
6425 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6426 as_fn_executable_p "$ac_path_EGREP" || continue
6427 # Check for GNU ac_path_EGREP and select it if it is found.
6428 # Check for GNU $ac_path_EGREP
6429 case `"$ac_path_EGREP" --version 2>&1` in
6430 *GNU*)
6431 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6433 ac_count=0
6434 $as_echo_n 0123456789 >"conftest.in"
6435 while :
6437 cat "conftest.in" "conftest.in" >"conftest.tmp"
6438 mv "conftest.tmp" "conftest.in"
6439 cp "conftest.in" "conftest.nl"
6440 $as_echo 'EGREP' >> "conftest.nl"
6441 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6442 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6443 as_fn_arith $ac_count + 1 && ac_count=$as_val
6444 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6445 # Best one so far, save it but keep looking for a better one
6446 ac_cv_path_EGREP="$ac_path_EGREP"
6447 ac_path_EGREP_max=$ac_count
6449 # 10*(2^10) chars as input seems more than enough
6450 test $ac_count -gt 10 && break
6451 done
6452 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6453 esac
6455 $ac_path_EGREP_found && break 3
6456 done
6457 done
6458 done
6459 IFS=$as_save_IFS
6460 if test -z "$ac_cv_path_EGREP"; then
6461 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6463 else
6464 ac_cv_path_EGREP=$EGREP
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6470 $as_echo "$ac_cv_path_EGREP" >&6; }
6471 EGREP="$ac_cv_path_EGREP"
6474 # Extract the first word of "ldconfig", so it can be a program name with args.
6475 set dummy ldconfig; ac_word=$2
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6477 $as_echo_n "checking for $ac_word... " >&6; }
6478 if ${ac_cv_path_LDCONFIG+:} false; then :
6479 $as_echo_n "(cached) " >&6
6480 else
6481 case $LDCONFIG in
6482 [\\/]* | ?:[\\/]*)
6483 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 for as_dir in /sbin /usr/sbin $PATH
6489 IFS=$as_save_IFS
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6493 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6495 break 2
6497 done
6498 done
6499 IFS=$as_save_IFS
6501 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6503 esac
6505 LDCONFIG=$ac_cv_path_LDCONFIG
6506 if test -n "$LDCONFIG"; then
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6508 $as_echo "$LDCONFIG" >&6; }
6509 else
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6511 $as_echo "no" >&6; }
6515 for ac_prog in msgfmt
6517 # Extract the first word of "$ac_prog", so it can be a program name with args.
6518 set dummy $ac_prog; ac_word=$2
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6520 $as_echo_n "checking for $ac_word... " >&6; }
6521 if ${ac_cv_prog_MSGFMT+:} false; then :
6522 $as_echo_n "(cached) " >&6
6523 else
6524 if test -n "$MSGFMT"; then
6525 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6526 else
6527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6528 for as_dir in $PATH
6530 IFS=$as_save_IFS
6531 test -z "$as_dir" && as_dir=.
6532 for ac_exec_ext in '' $ac_executable_extensions; do
6533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6534 ac_cv_prog_MSGFMT="$ac_prog"
6535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6536 break 2
6538 done
6539 done
6540 IFS=$as_save_IFS
6544 MSGFMT=$ac_cv_prog_MSGFMT
6545 if test -n "$MSGFMT"; then
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6547 $as_echo "$MSGFMT" >&6; }
6548 else
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 $as_echo "no" >&6; }
6554 test -n "$MSGFMT" && break
6555 done
6556 test -n "$MSGFMT" || MSGFMT="false"
6558 if ${ac_tool_prefix+:} false; then :
6559 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6560 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562 $as_echo_n "checking for $ac_word... " >&6; }
6563 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6564 $as_echo_n "(cached) " >&6
6565 else
6566 if test -n "$PKG_CONFIG"; then
6567 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6568 else
6569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6570 for as_dir in $PATH
6572 IFS=$as_save_IFS
6573 test -z "$as_dir" && as_dir=.
6574 for ac_exec_ext in '' $ac_executable_extensions; do
6575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6576 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578 break 2
6580 done
6581 done
6582 IFS=$as_save_IFS
6586 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6587 if test -n "$PKG_CONFIG"; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6589 $as_echo "$PKG_CONFIG" >&6; }
6590 else
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592 $as_echo "no" >&6; }
6597 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6598 if test "x$cross_compiling" = xyes; then :
6600 else
6601 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6602 # Extract the first word of "pkg-config", so it can be a program name with args.
6603 set dummy pkg-config; ac_word=$2
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6605 $as_echo_n "checking for $ac_word... " >&6; }
6606 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6607 $as_echo_n "(cached) " >&6
6608 else
6609 if test -n "$PKG_CONFIG"; then
6610 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6611 else
6612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613 for as_dir in $PATH
6615 IFS=$as_save_IFS
6616 test -z "$as_dir" && as_dir=.
6617 for ac_exec_ext in '' $ac_executable_extensions; do
6618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6619 ac_cv_prog_PKG_CONFIG="pkg-config"
6620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6621 break 2
6623 done
6624 done
6625 IFS=$as_save_IFS
6629 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6630 if test -n "$PKG_CONFIG"; then
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6632 $as_echo "$PKG_CONFIG" >&6; }
6633 else
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6635 $as_echo "no" >&6; }
6640 else
6641 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6644 if test "x$enable_maintainer_mode" != "xyes"
6645 then
6646 FONTFORGE=""
6647 RSVG=""
6648 CONVERT=""
6649 ICOTOOL=""
6650 else
6651 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6652 for ac_prog in fontforge
6654 # Extract the first word of "$ac_prog", so it can be a program name with args.
6655 set dummy $ac_prog; ac_word=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if ${ac_cv_prog_FONTFORGE+:} false; then :
6659 $as_echo_n "(cached) " >&6
6660 else
6661 if test -n "$FONTFORGE"; then
6662 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6663 else
6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665 for as_dir in $PATH
6667 IFS=$as_save_IFS
6668 test -z "$as_dir" && as_dir=.
6669 for ac_exec_ext in '' $ac_executable_extensions; do
6670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6671 ac_cv_prog_FONTFORGE="$ac_prog"
6672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6673 break 2
6675 done
6676 done
6677 IFS=$as_save_IFS
6681 FONTFORGE=$ac_cv_prog_FONTFORGE
6682 if test -n "$FONTFORGE"; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6684 $as_echo "$FONTFORGE" >&6; }
6685 else
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6691 test -n "$FONTFORGE" && break
6692 done
6693 test -n "$FONTFORGE" || FONTFORGE="false"
6695 for ac_prog in rsvg-convert rsvg
6697 # Extract the first word of "$ac_prog", so it can be a program name with args.
6698 set dummy $ac_prog; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700 $as_echo_n "checking for $ac_word... " >&6; }
6701 if ${ac_cv_prog_RSVG+:} false; then :
6702 $as_echo_n "(cached) " >&6
6703 else
6704 if test -n "$RSVG"; then
6705 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6706 else
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708 for as_dir in $PATH
6710 IFS=$as_save_IFS
6711 test -z "$as_dir" && as_dir=.
6712 for ac_exec_ext in '' $ac_executable_extensions; do
6713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6714 ac_cv_prog_RSVG="$ac_prog"
6715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6716 break 2
6718 done
6719 done
6720 IFS=$as_save_IFS
6724 RSVG=$ac_cv_prog_RSVG
6725 if test -n "$RSVG"; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6727 $as_echo "$RSVG" >&6; }
6728 else
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730 $as_echo "no" >&6; }
6734 test -n "$RSVG" && break
6735 done
6736 test -n "$RSVG" || RSVG="false"
6738 for ac_prog in convert
6740 # Extract the first word of "$ac_prog", so it can be a program name with args.
6741 set dummy $ac_prog; ac_word=$2
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6743 $as_echo_n "checking for $ac_word... " >&6; }
6744 if ${ac_cv_prog_CONVERT+:} false; then :
6745 $as_echo_n "(cached) " >&6
6746 else
6747 if test -n "$CONVERT"; then
6748 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6749 else
6750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6751 for as_dir in $PATH
6753 IFS=$as_save_IFS
6754 test -z "$as_dir" && as_dir=.
6755 for ac_exec_ext in '' $ac_executable_extensions; do
6756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6757 ac_cv_prog_CONVERT="$ac_prog"
6758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6759 break 2
6761 done
6762 done
6763 IFS=$as_save_IFS
6767 CONVERT=$ac_cv_prog_CONVERT
6768 if test -n "$CONVERT"; then
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6770 $as_echo "$CONVERT" >&6; }
6771 else
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6773 $as_echo "no" >&6; }
6777 test -n "$CONVERT" && break
6778 done
6779 test -n "$CONVERT" || CONVERT="false"
6781 for ac_prog in icotool
6783 # Extract the first word of "$ac_prog", so it can be a program name with args.
6784 set dummy $ac_prog; ac_word=$2
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 $as_echo_n "checking for $ac_word... " >&6; }
6787 if ${ac_cv_prog_ICOTOOL+:} false; then :
6788 $as_echo_n "(cached) " >&6
6789 else
6790 if test -n "$ICOTOOL"; then
6791 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6792 else
6793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 for as_dir in $PATH
6796 IFS=$as_save_IFS
6797 test -z "$as_dir" && as_dir=.
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6800 ac_cv_prog_ICOTOOL="$ac_prog"
6801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 break 2
6804 done
6805 done
6806 IFS=$as_save_IFS
6810 ICOTOOL=$ac_cv_prog_ICOTOOL
6811 if test -n "$ICOTOOL"; then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6813 $as_echo "$ICOTOOL" >&6; }
6814 else
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 $as_echo "no" >&6; }
6820 test -n "$ICOTOOL" && break
6821 done
6822 test -n "$ICOTOOL" || ICOTOOL="false"
6824 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6825 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6827 if test "$CONVERT" = false
6828 then
6829 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6830 else
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6832 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6833 convert_version=`convert --version | head -n1`
6834 if test "x$convert_version" != "x"
6835 then
6836 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6837 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6838 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6839 then
6840 CONVERT=false
6843 if test "$CONVERT" = false
6844 then
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6846 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6847 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6848 else
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6850 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6854 if test "$ICOTOOL" = false
6855 then
6856 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6857 else
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6859 $as_echo_n "checking for recent enough icotool... " >&6; }
6860 icotool_version=`icotool --version | head -n1`
6861 if test "x$icotool_version" != "x"
6862 then
6863 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6864 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6865 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6866 then
6867 ICOTOOL=false
6868 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6871 if test "$ICOTOOL" = false
6872 then
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6874 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6875 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6876 else
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6878 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6882 with_gettext=yes
6883 with_gettextpo=yes
6885 enable_werror=yes
6888 test "x$with_gettext" != xno || MSGFMT=false
6889 if test "$MSGFMT" != "false"
6890 then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6892 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6893 if ${wine_cv_msgfmt_contexts+:} false; then :
6894 $as_echo_n "(cached) " >&6
6895 else
6896 cat >conftest.po <<EOF
6897 # comment
6898 msgctxt "ctxt"
6899 msgid "id"
6900 msgstr "str"
6902 if $MSGFMT -o /dev/null conftest.po 2>&5
6903 then
6904 wine_cv_msgfmt_contexts=yes
6905 else
6906 wine_cv_msgfmt_contexts=no
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6910 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6911 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6913 if test "$MSGFMT" = false; then :
6914 case "x$with_gettext" in
6915 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6916 xno) ;;
6917 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6918 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6919 esac
6920 enable_po=${enable_po:-no}
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6925 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6926 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6927 $as_echo_n "(cached) " >&6
6928 else
6929 ac_check_lib_save_LIBS=$LIBS
6930 LIBS="-li386 $LIBS"
6931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6932 /* end confdefs.h. */
6934 /* Override any GCC internal prototype to avoid an error.
6935 Use char because int might match the return type of a GCC
6936 builtin and then its argument prototype would still apply. */
6937 #ifdef __cplusplus
6938 extern "C"
6939 #endif
6940 char i386_set_ldt ();
6942 main ()
6944 return i386_set_ldt ();
6946 return 0;
6948 _ACEOF
6949 if ac_fn_c_try_link "$LINENO"; then :
6950 ac_cv_lib_i386_i386_set_ldt=yes
6951 else
6952 ac_cv_lib_i386_i386_set_ldt=no
6954 rm -f core conftest.err conftest.$ac_objext \
6955 conftest$ac_exeext conftest.$ac_ext
6956 LIBS=$ac_check_lib_save_LIBS
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6959 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6960 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6961 I386_LIBS="-li386"
6966 OPENGL_LIBS=""
6970 # Check whether --enable-largefile was given.
6971 if test "${enable_largefile+set}" = set; then :
6972 enableval=$enable_largefile;
6975 if test "$enable_largefile" != no; then
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6978 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6979 if ${ac_cv_sys_largefile_CC+:} false; then :
6980 $as_echo_n "(cached) " >&6
6981 else
6982 ac_cv_sys_largefile_CC=no
6983 if test "$GCC" != yes; then
6984 ac_save_CC=$CC
6985 while :; do
6986 # IRIX 6.2 and later do not support large files by default,
6987 # so use the C compiler's -n32 option if that helps.
6988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6989 /* end confdefs.h. */
6990 #include <sys/types.h>
6991 /* Check that off_t can represent 2**63 - 1 correctly.
6992 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6993 since some C++ compilers masquerading as C compilers
6994 incorrectly reject 9223372036854775807. */
6995 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6996 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6997 && LARGE_OFF_T % 2147483647 == 1)
6998 ? 1 : -1];
7000 main ()
7004 return 0;
7006 _ACEOF
7007 if ac_fn_c_try_compile "$LINENO"; then :
7008 break
7010 rm -f core conftest.err conftest.$ac_objext
7011 CC="$CC -n32"
7012 if ac_fn_c_try_compile "$LINENO"; then :
7013 ac_cv_sys_largefile_CC=' -n32'; break
7015 rm -f core conftest.err conftest.$ac_objext
7016 break
7017 done
7018 CC=$ac_save_CC
7019 rm -f conftest.$ac_ext
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7023 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7024 if test "$ac_cv_sys_largefile_CC" != no; then
7025 CC=$CC$ac_cv_sys_largefile_CC
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7029 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7030 if ${ac_cv_sys_file_offset_bits+:} false; then :
7031 $as_echo_n "(cached) " >&6
7032 else
7033 while :; do
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7036 #include <sys/types.h>
7037 /* Check that off_t can represent 2**63 - 1 correctly.
7038 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7039 since some C++ compilers masquerading as C compilers
7040 incorrectly reject 9223372036854775807. */
7041 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7042 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7043 && LARGE_OFF_T % 2147483647 == 1)
7044 ? 1 : -1];
7046 main ()
7050 return 0;
7052 _ACEOF
7053 if ac_fn_c_try_compile "$LINENO"; then :
7054 ac_cv_sys_file_offset_bits=no; break
7056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7058 /* end confdefs.h. */
7059 #define _FILE_OFFSET_BITS 64
7060 #include <sys/types.h>
7061 /* Check that off_t can represent 2**63 - 1 correctly.
7062 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7063 since some C++ compilers masquerading as C compilers
7064 incorrectly reject 9223372036854775807. */
7065 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7066 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7067 && LARGE_OFF_T % 2147483647 == 1)
7068 ? 1 : -1];
7070 main ()
7074 return 0;
7076 _ACEOF
7077 if ac_fn_c_try_compile "$LINENO"; then :
7078 ac_cv_sys_file_offset_bits=64; break
7080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7081 ac_cv_sys_file_offset_bits=unknown
7082 break
7083 done
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7086 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7087 case $ac_cv_sys_file_offset_bits in #(
7088 no | unknown) ;;
7090 cat >>confdefs.h <<_ACEOF
7091 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7092 _ACEOF
7094 esac
7095 rm -rf conftest*
7096 if test $ac_cv_sys_file_offset_bits = unknown; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7098 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7099 if ${ac_cv_sys_large_files+:} false; then :
7100 $as_echo_n "(cached) " >&6
7101 else
7102 while :; do
7103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7104 /* end confdefs.h. */
7105 #include <sys/types.h>
7106 /* Check that off_t can represent 2**63 - 1 correctly.
7107 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7108 since some C++ compilers masquerading as C compilers
7109 incorrectly reject 9223372036854775807. */
7110 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7111 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7112 && LARGE_OFF_T % 2147483647 == 1)
7113 ? 1 : -1];
7115 main ()
7119 return 0;
7121 _ACEOF
7122 if ac_fn_c_try_compile "$LINENO"; then :
7123 ac_cv_sys_large_files=no; break
7125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7128 #define _LARGE_FILES 1
7129 #include <sys/types.h>
7130 /* Check that off_t can represent 2**63 - 1 correctly.
7131 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7132 since some C++ compilers masquerading as C compilers
7133 incorrectly reject 9223372036854775807. */
7134 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7135 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7136 && LARGE_OFF_T % 2147483647 == 1)
7137 ? 1 : -1];
7139 main ()
7143 return 0;
7145 _ACEOF
7146 if ac_fn_c_try_compile "$LINENO"; then :
7147 ac_cv_sys_large_files=1; break
7149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7150 ac_cv_sys_large_files=unknown
7151 break
7152 done
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7155 $as_echo "$ac_cv_sys_large_files" >&6; }
7156 case $ac_cv_sys_large_files in #(
7157 no | unknown) ;;
7159 cat >>confdefs.h <<_ACEOF
7160 #define _LARGE_FILES $ac_cv_sys_large_files
7161 _ACEOF
7163 esac
7164 rm -rf conftest*
7171 ac_ext=c
7172 ac_cpp='$CPP $CPPFLAGS'
7173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7177 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7178 # On Suns, sometimes $CPP names a directory.
7179 if test -n "$CPP" && test -d "$CPP"; then
7180 CPP=
7182 if test -z "$CPP"; then
7183 if ${ac_cv_prog_CPP+:} false; then :
7184 $as_echo_n "(cached) " >&6
7185 else
7186 # Double quotes because CPP needs to be expanded
7187 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7189 ac_preproc_ok=false
7190 for ac_c_preproc_warn_flag in '' yes
7192 # Use a header file that comes with gcc, so configuring glibc
7193 # with a fresh cross-compiler works.
7194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7195 # <limits.h> exists even on freestanding compilers.
7196 # On the NeXT, cc -E runs the code through the compiler's parser,
7197 # not just through cpp. "Syntax error" is here to catch this case.
7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h. */
7200 #ifdef __STDC__
7201 # include <limits.h>
7202 #else
7203 # include <assert.h>
7204 #endif
7205 Syntax error
7206 _ACEOF
7207 if ac_fn_c_try_cpp "$LINENO"; then :
7209 else
7210 # Broken: fails on valid input.
7211 continue
7213 rm -f conftest.err conftest.i conftest.$ac_ext
7215 # OK, works on sane cases. Now check whether nonexistent headers
7216 # can be detected and how.
7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7219 #include <ac_nonexistent.h>
7220 _ACEOF
7221 if ac_fn_c_try_cpp "$LINENO"; then :
7222 # Broken: success on invalid input.
7223 continue
7224 else
7225 # Passes both tests.
7226 ac_preproc_ok=:
7227 break
7229 rm -f conftest.err conftest.i conftest.$ac_ext
7231 done
7232 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7233 rm -f conftest.i conftest.err conftest.$ac_ext
7234 if $ac_preproc_ok; then :
7235 break
7238 done
7239 ac_cv_prog_CPP=$CPP
7242 CPP=$ac_cv_prog_CPP
7243 else
7244 ac_cv_prog_CPP=$CPP
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7247 $as_echo "$CPP" >&6; }
7248 ac_preproc_ok=false
7249 for ac_c_preproc_warn_flag in '' yes
7251 # Use a header file that comes with gcc, so configuring glibc
7252 # with a fresh cross-compiler works.
7253 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7254 # <limits.h> exists even on freestanding compilers.
7255 # On the NeXT, cc -E runs the code through the compiler's parser,
7256 # not just through cpp. "Syntax error" is here to catch this case.
7257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7258 /* end confdefs.h. */
7259 #ifdef __STDC__
7260 # include <limits.h>
7261 #else
7262 # include <assert.h>
7263 #endif
7264 Syntax error
7265 _ACEOF
7266 if ac_fn_c_try_cpp "$LINENO"; then :
7268 else
7269 # Broken: fails on valid input.
7270 continue
7272 rm -f conftest.err conftest.i conftest.$ac_ext
7274 # OK, works on sane cases. Now check whether nonexistent headers
7275 # can be detected and how.
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7278 #include <ac_nonexistent.h>
7279 _ACEOF
7280 if ac_fn_c_try_cpp "$LINENO"; then :
7281 # Broken: success on invalid input.
7282 continue
7283 else
7284 # Passes both tests.
7285 ac_preproc_ok=:
7286 break
7288 rm -f conftest.err conftest.i conftest.$ac_ext
7290 done
7291 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7292 rm -f conftest.i conftest.err conftest.$ac_ext
7293 if $ac_preproc_ok; then :
7295 else
7296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7298 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7299 See \`config.log' for more details" "$LINENO" 5; }
7302 ac_ext=c
7303 ac_cpp='$CPP $CPPFLAGS'
7304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7310 $as_echo_n "checking for ANSI C header files... " >&6; }
7311 if ${ac_cv_header_stdc+:} false; then :
7312 $as_echo_n "(cached) " >&6
7313 else
7314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7315 /* end confdefs.h. */
7316 #include <stdlib.h>
7317 #include <stdarg.h>
7318 #include <string.h>
7319 #include <float.h>
7322 main ()
7326 return 0;
7328 _ACEOF
7329 if ac_fn_c_try_compile "$LINENO"; then :
7330 ac_cv_header_stdc=yes
7331 else
7332 ac_cv_header_stdc=no
7334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7336 if test $ac_cv_header_stdc = yes; then
7337 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7339 /* end confdefs.h. */
7340 #include <string.h>
7342 _ACEOF
7343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7344 $EGREP "memchr" >/dev/null 2>&1; then :
7346 else
7347 ac_cv_header_stdc=no
7349 rm -f conftest*
7353 if test $ac_cv_header_stdc = yes; then
7354 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7356 /* end confdefs.h. */
7357 #include <stdlib.h>
7359 _ACEOF
7360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7361 $EGREP "free" >/dev/null 2>&1; then :
7363 else
7364 ac_cv_header_stdc=no
7366 rm -f conftest*
7370 if test $ac_cv_header_stdc = yes; then
7371 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7372 if test "$cross_compiling" = yes; then :
7374 else
7375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7376 /* end confdefs.h. */
7377 #include <ctype.h>
7378 #include <stdlib.h>
7379 #if ((' ' & 0x0FF) == 0x020)
7380 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7381 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7382 #else
7383 # define ISLOWER(c) \
7384 (('a' <= (c) && (c) <= 'i') \
7385 || ('j' <= (c) && (c) <= 'r') \
7386 || ('s' <= (c) && (c) <= 'z'))
7387 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7388 #endif
7390 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7392 main ()
7394 int i;
7395 for (i = 0; i < 256; i++)
7396 if (XOR (islower (i), ISLOWER (i))
7397 || toupper (i) != TOUPPER (i))
7398 return 2;
7399 return 0;
7401 _ACEOF
7402 if ac_fn_c_try_run "$LINENO"; then :
7404 else
7405 ac_cv_header_stdc=no
7407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7408 conftest.$ac_objext conftest.beam conftest.$ac_ext
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7414 $as_echo "$ac_cv_header_stdc" >&6; }
7415 if test $ac_cv_header_stdc = yes; then
7417 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7421 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7422 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7423 inttypes.h stdint.h unistd.h
7424 do :
7425 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7426 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7428 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7429 cat >>confdefs.h <<_ACEOF
7430 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7431 _ACEOF
7435 done
7438 for ac_header in \
7439 AL/al.h \
7440 ApplicationServices/ApplicationServices.h \
7441 CL/cl.h \
7442 Carbon/Carbon.h \
7443 CoreAudio/CoreAudio.h \
7444 DiskArbitration/DiskArbitration.h \
7445 EGL/egl.h \
7446 IOKit/IOKitLib.h \
7447 IOKit/hid/IOHIDLib.h \
7448 OpenAL/al.h \
7449 OpenCL/opencl.h \
7450 QuickTime/ImageCompression.h \
7451 Security/Security.h \
7452 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7453 SystemConfiguration/SCNetworkConfiguration.h \
7454 alias.h \
7455 arpa/inet.h \
7456 arpa/nameser.h \
7457 asm/types.h \
7458 asm/user.h \
7459 dirent.h \
7460 elf.h \
7461 float.h \
7462 gettext-po.h \
7463 ieeefp.h \
7464 libproc.h \
7465 link.h \
7466 linux/cdrom.h \
7467 linux/filter.h \
7468 linux/hdreg.h \
7469 linux/hidraw.h \
7470 linux/input.h \
7471 linux/ioctl.h \
7472 linux/joystick.h \
7473 linux/major.h \
7474 linux/param.h \
7475 linux/serial.h \
7476 linux/types.h \
7477 linux/ucdrom.h \
7478 lwp.h \
7479 mach-o/loader.h \
7480 mach/mach.h \
7481 machine/cpu.h \
7482 machine/sysarch.h \
7483 mntent.h \
7484 netdb.h \
7485 netinet/in.h \
7486 netinet/in_systm.h \
7487 netinet/tcp.h \
7488 netinet/tcp_fsm.h \
7489 pcap/pcap.h \
7490 poll.h \
7491 port.h \
7492 pthread.h \
7493 pwd.h \
7494 sasl/sasl.h \
7495 sched.h \
7496 scsi/scsi.h \
7497 scsi/scsi_ioctl.h \
7498 scsi/sg.h \
7499 stdint.h \
7500 sys/attr.h \
7501 sys/auxv.h \
7502 sys/cdio.h \
7503 sys/epoll.h \
7504 sys/event.h \
7505 sys/filio.h \
7506 sys/ioctl.h \
7507 sys/ipc.h \
7508 sys/link.h \
7509 sys/mman.h \
7510 sys/modem.h \
7511 sys/mtio.h \
7512 sys/param.h \
7513 sys/poll.h \
7514 sys/prctl.h \
7515 sys/protosw.h \
7516 sys/ptrace.h \
7517 sys/queue.h \
7518 sys/random.h \
7519 sys/resource.h \
7520 sys/scsiio.h \
7521 sys/shm.h \
7522 sys/signal.h \
7523 sys/socket.h \
7524 sys/socketvar.h \
7525 sys/sockio.h \
7526 sys/statvfs.h \
7527 sys/strtio.h \
7528 sys/syscall.h \
7529 sys/sysinfo.h \
7530 sys/time.h \
7531 sys/timeout.h \
7532 sys/times.h \
7533 sys/uio.h \
7534 sys/user.h \
7535 sys/utsname.h \
7536 sys/vnode.h \
7537 sys/wait.h \
7538 syscall.h \
7539 termios.h \
7540 unistd.h \
7541 utime.h \
7542 valgrind/memcheck.h \
7543 valgrind/valgrind.h
7545 do :
7546 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7547 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7548 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7549 cat >>confdefs.h <<_ACEOF
7550 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7551 _ACEOF
7555 done
7557 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7558 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7560 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7565 if test $ac_cv_header_sys_mkdev_h = no; then
7566 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7567 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7569 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7576 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7577 if ${ac_cv_header_stat_broken+:} false; then :
7578 $as_echo_n "(cached) " >&6
7579 else
7580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h. */
7582 #include <sys/types.h>
7583 #include <sys/stat.h>
7585 #if defined S_ISBLK && defined S_IFDIR
7586 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7587 #endif
7589 #if defined S_ISBLK && defined S_IFCHR
7590 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7591 #endif
7593 #if defined S_ISLNK && defined S_IFREG
7594 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7595 #endif
7597 #if defined S_ISSOCK && defined S_IFREG
7598 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7599 #endif
7601 _ACEOF
7602 if ac_fn_c_try_compile "$LINENO"; then :
7603 ac_cv_header_stat_broken=no
7604 else
7605 ac_cv_header_stat_broken=yes
7607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7610 $as_echo "$ac_cv_header_stat_broken" >&6; }
7611 if test $ac_cv_header_stat_broken = yes; then
7613 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7619 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7620 do :
7621 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7622 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7623 #ifdef HAVE_SYS_PARAM_H
7624 # include <sys/param.h>
7625 #endif
7627 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7628 cat >>confdefs.h <<_ACEOF
7629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7630 _ACEOF
7634 done
7637 saved_sysctl_h_CFLAGS=$CFLAGS
7638 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7639 for ac_header in sys/sysctl.h
7640 do :
7641 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7642 #ifdef HAVE_SYS_PARAM_H
7643 # include <sys/param.h>
7644 #endif
7646 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7647 cat >>confdefs.h <<_ACEOF
7648 #define HAVE_SYS_SYSCTL_H 1
7649 _ACEOF
7653 done
7655 CFLAGS=$saved_sysctl_h_CFLAGS
7657 for ac_header in \
7658 netinet/ip.h \
7659 net/if.h \
7660 net/if_arp.h \
7661 net/if_dl.h \
7662 net/if_types.h \
7663 net/route.h \
7664 netinet/if_ether.h \
7665 netinet/if_inarp.h \
7666 netinet/in_pcb.h \
7667 netinet/ip_icmp.h \
7668 netinet/ip_var.h \
7669 netinet/udp.h \
7670 netipx/ipx.h \
7671 sys/un.h \
7673 do :
7674 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7675 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7676 #ifdef HAVE_SYS_SOCKET_H
7677 # include <sys/socket.h>
7678 #endif
7679 #ifdef HAVE_SYS_SOCKETVAR_H
7680 # include <sys/socketvar.h>
7681 #endif
7682 #ifdef HAVE_NET_ROUTE_H
7683 # include <net/route.h>
7684 #endif
7685 #ifdef HAVE_NETINET_IN_H
7686 # include <netinet/in.h>
7687 #endif
7688 #ifdef HAVE_NETINET_IN_SYSTM_H
7689 # include <netinet/in_systm.h>
7690 #endif
7691 #ifdef HAVE_NET_IF_H
7692 # include <net/if.h>
7693 #endif
7694 #ifdef HAVE_NETINET_IP_H
7695 # include <netinet/ip.h>
7696 #endif
7698 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7699 cat >>confdefs.h <<_ACEOF
7700 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7701 _ACEOF
7705 done
7708 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7709 do :
7710 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7711 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7712 #ifdef HAVE_ALIAS_H
7713 # include <alias.h>
7714 #endif
7715 #ifdef HAVE_SYS_SOCKET_H
7716 # include <sys/socket.h>
7717 #endif
7718 #ifdef HAVE_SYS_SOCKETVAR_H
7719 # include <sys/socketvar.h>
7720 #endif
7721 #ifdef HAVE_SYS_TIMEOUT_H
7722 # include <sys/timeout.h>
7723 #endif
7724 #ifdef HAVE_NETINET_IN_H
7725 # include <netinet/in.h>
7726 #endif
7727 #ifdef HAVE_NETINET_IN_SYSTM_H
7728 # include <netinet/in_systm.h>
7729 #endif
7730 #ifdef HAVE_NETINET_IP_H
7731 # include <netinet/ip.h>
7732 #endif
7733 #ifdef HAVE_NETINET_IP_VAR_H
7734 # include <netinet/ip_var.h>
7735 #endif
7736 #ifdef HAVE_NETINET_IP_ICMP_H
7737 # include <netinet/ip_icmp.h>
7738 #endif
7739 #ifdef HAVE_NETINET_UDP_H
7740 # include <netinet/udp.h>
7741 #endif
7742 #ifdef HAVE_NETINET_TCP_H
7743 # include <netinet/tcp.h>
7744 #endif
7745 #ifdef HAVE_NETINET_TCP_TIMER_H
7746 #include <netinet/tcp_timer.h>
7747 #endif
7749 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7750 cat >>confdefs.h <<_ACEOF
7751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7752 _ACEOF
7756 done
7759 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7760 do :
7761 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7762 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7763 #ifdef HAVE_ASM_TYPES_H
7764 # include <asm/types.h>
7765 #endif
7766 #ifdef HAVE_SYS_SOCKET_H
7767 # include <sys/socket.h>
7768 #endif
7769 #ifdef HAVE_LINUX_TYPES_H
7770 # include <linux/types.h>
7771 #endif
7773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7774 cat >>confdefs.h <<_ACEOF
7775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7776 _ACEOF
7780 done
7783 for ac_header in resolv.h
7784 do :
7785 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7786 #ifdef HAVE_SYS_SOCKET_H
7787 # include <sys/socket.h>
7788 #endif
7789 #ifdef HAVE_NETINET_IN_H
7790 # include <netinet/in.h>
7791 #endif
7792 #ifdef HAVE_ARPA_NAMESER_H
7793 # include <arpa/nameser.h>
7794 #endif
7796 if test "x$ac_cv_header_resolv_h" = xyes; then :
7797 cat >>confdefs.h <<_ACEOF
7798 #define HAVE_RESOLV_H 1
7799 _ACEOF
7803 done
7806 for ac_header in ifaddrs.h
7807 do :
7808 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7810 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7811 cat >>confdefs.h <<_ACEOF
7812 #define HAVE_IFADDRS_H 1
7813 _ACEOF
7817 done
7820 for ac_header in sys/ucontext.h
7821 do :
7822 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7824 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7825 cat >>confdefs.h <<_ACEOF
7826 #define HAVE_SYS_UCONTEXT_H 1
7827 _ACEOF
7831 done
7834 for ac_header in sys/thr.h
7835 do :
7836 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7837 #ifdef HAVE_SYS_UCONTEXT_H
7838 #include <sys/ucontext.h>
7839 #endif
7841 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7842 cat >>confdefs.h <<_ACEOF
7843 #define HAVE_SYS_THR_H 1
7844 _ACEOF
7848 done
7851 for ac_header in pthread_np.h
7852 do :
7853 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7854 #include <pthread.h>
7855 #endif
7857 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7858 cat >>confdefs.h <<_ACEOF
7859 #define HAVE_PTHREAD_NP_H 1
7860 _ACEOF
7864 done
7867 for ac_header in linux/videodev2.h
7868 do :
7869 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7870 #include <sys/time.h>
7871 #endif
7872 #include <sys/types.h>
7873 #ifdef HAVE_ASM_TYPES_H
7874 #include <asm/types.h>
7875 #endif
7877 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7878 cat >>confdefs.h <<_ACEOF
7879 #define HAVE_LINUX_VIDEODEV2_H 1
7880 _ACEOF
7884 done
7887 for ac_header in libprocstat.h
7888 do :
7889 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7890 #include <sys/param.h>
7891 #endif
7892 #ifdef HAVE_SYS_QUEUE_H
7893 #include <sys/queue.h>
7894 #endif
7895 #ifdef HAVE_SYS_SOCKET_H
7896 #include <sys/socket.h>
7897 #endif
7899 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7900 cat >>confdefs.h <<_ACEOF
7901 #define HAVE_LIBPROCSTAT_H 1
7902 _ACEOF
7906 done
7910 DLLFLAGS=""
7912 LDDLLFLAGS=""
7914 LDEXECFLAGS=""
7916 EXTRACFLAGS=""
7918 UNIXDLLFLAGS="-fPIC"
7920 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
7922 TOP_INSTALL_LIB=""
7924 TOP_INSTALL_DEV=""
7926 WINELOADER_LDFLAGS=""
7928 WINEPRELOADER_LDFLAGS=""
7930 LIBEXT="so"
7931 # Extract the first word of "ldd", so it can be a program name with args.
7932 set dummy ldd; ac_word=$2
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7934 $as_echo_n "checking for $ac_word... " >&6; }
7935 if ${ac_cv_path_LDD+:} false; then :
7936 $as_echo_n "(cached) " >&6
7937 else
7938 case $LDD in
7939 [\\/]* | ?:[\\/]*)
7940 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7944 as_dummy="/sbin:/usr/sbin:$PATH"
7945 for as_dir in $as_dummy
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_path_LDD="$as_dir/$ac_word$ac_exec_ext"
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
7959 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7961 esac
7963 LDD=$ac_cv_path_LDD
7964 if test -n "$LDD"; then
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7966 $as_echo "$LDD" >&6; }
7967 else
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7969 $as_echo "no" >&6; }
7973 if test -n "$ac_tool_prefix"; then
7974 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7975 set dummy ${ac_tool_prefix}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_OTOOL+:} false; then :
7979 $as_echo_n "(cached) " >&6
7980 else
7981 if test -n "$OTOOL"; then
7982 ac_cv_prog_OTOOL="$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_OTOOL="${ac_tool_prefix}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 OTOOL=$ac_cv_prog_OTOOL
8002 if test -n "$OTOOL"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8004 $as_echo "$OTOOL" >&6; }
8005 else
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8012 if test -z "$ac_cv_prog_OTOOL"; then
8013 ac_ct_OTOOL=$OTOOL
8014 # Extract the first word of "otool", so it can be a program name with args.
8015 set dummy otool; ac_word=$2
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8017 $as_echo_n "checking for $ac_word... " >&6; }
8018 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8019 $as_echo_n "(cached) " >&6
8020 else
8021 if test -n "$ac_ct_OTOOL"; then
8022 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8023 else
8024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8025 for as_dir in $PATH
8027 IFS=$as_save_IFS
8028 test -z "$as_dir" && as_dir=.
8029 for ac_exec_ext in '' $ac_executable_extensions; do
8030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8031 ac_cv_prog_ac_ct_OTOOL="otool"
8032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8033 break 2
8035 done
8036 done
8037 IFS=$as_save_IFS
8041 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8042 if test -n "$ac_ct_OTOOL"; then
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8044 $as_echo "$ac_ct_OTOOL" >&6; }
8045 else
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047 $as_echo "no" >&6; }
8050 if test "x$ac_ct_OTOOL" = x; then
8051 OTOOL="otool"
8052 else
8053 case $cross_compiling:$ac_tool_warned in
8054 yes:)
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8057 ac_tool_warned=yes ;;
8058 esac
8059 OTOOL=$ac_ct_OTOOL
8061 else
8062 OTOOL="$ac_cv_prog_OTOOL"
8065 if test -n "$ac_tool_prefix"; then
8066 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8067 set dummy ${ac_tool_prefix}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_READELF+:} false; then :
8071 $as_echo_n "(cached) " >&6
8072 else
8073 if test -n "$READELF"; then
8074 ac_cv_prog_READELF="$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_READELF="${ac_tool_prefix}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 READELF=$ac_cv_prog_READELF
8094 if test -n "$READELF"; then
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8096 $as_echo "$READELF" >&6; }
8097 else
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8099 $as_echo "no" >&6; }
8104 if test -z "$ac_cv_prog_READELF"; then
8105 ac_ct_READELF=$READELF
8106 # Extract the first word of "readelf", so it can be a program name with args.
8107 set dummy readelf; ac_word=$2
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8109 $as_echo_n "checking for $ac_word... " >&6; }
8110 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8111 $as_echo_n "(cached) " >&6
8112 else
8113 if test -n "$ac_ct_READELF"; then
8114 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8115 else
8116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8117 for as_dir in $PATH
8119 IFS=$as_save_IFS
8120 test -z "$as_dir" && as_dir=.
8121 for ac_exec_ext in '' $ac_executable_extensions; do
8122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8123 ac_cv_prog_ac_ct_READELF="readelf"
8124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8125 break 2
8127 done
8128 done
8129 IFS=$as_save_IFS
8133 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8134 if test -n "$ac_ct_READELF"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8136 $as_echo "$ac_ct_READELF" >&6; }
8137 else
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139 $as_echo "no" >&6; }
8142 if test "x$ac_ct_READELF" = x; then
8143 READELF="true"
8144 else
8145 case $cross_compiling:$ac_tool_warned in
8146 yes:)
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8149 ac_tool_warned=yes ;;
8150 esac
8151 READELF=$ac_ct_READELF
8153 else
8154 READELF="$ac_cv_prog_READELF"
8157 wine_rules_file=conf$$rules.make
8158 rm -f $wine_rules_file
8159 SUBDIRS=""
8161 DISABLED_SUBDIRS=""
8163 CONFIGURE_TARGETS=""
8166 wine_fn_append_file ()
8168 as_fn_append $1 " \\$as_nl $2"
8171 wine_fn_append_rule ()
8173 $as_echo "$1" >>$wine_rules_file
8176 wine_fn_config_makefile ()
8178 wine_fn_append_file SUBDIRS $1
8179 if eval test \"x\$"$2"\" = x"no"; then :
8180 wine_fn_append_file DISABLED_SUBDIRS $1
8184 wine_fn_config_symlink ()
8186 ac_links=$@
8187 wine_fn_append_rule \
8188 "$ac_links:
8189 @./config.status \$@"
8190 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8193 wine_binary="wine"
8194 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8195 WINELOADER_PROGRAMS="$wine_binary"
8197 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8199 case $host_os in
8200 cygwin*|mingw32*)
8201 if test -n "$ac_tool_prefix"; then
8202 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8203 set dummy ${ac_tool_prefix}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_DLLTOOL+:} false; then :
8207 $as_echo_n "(cached) " >&6
8208 else
8209 if test -n "$DLLTOOL"; then
8210 ac_cv_prog_DLLTOOL="$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_DLLTOOL="${ac_tool_prefix}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 DLLTOOL=$ac_cv_prog_DLLTOOL
8230 if test -n "$DLLTOOL"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8232 $as_echo "$DLLTOOL" >&6; }
8233 else
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8235 $as_echo "no" >&6; }
8240 if test -z "$ac_cv_prog_DLLTOOL"; then
8241 ac_ct_DLLTOOL=$DLLTOOL
8242 # Extract the first word of "dlltool", so it can be a program name with args.
8243 set dummy dlltool; ac_word=$2
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8245 $as_echo_n "checking for $ac_word... " >&6; }
8246 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8247 $as_echo_n "(cached) " >&6
8248 else
8249 if test -n "$ac_ct_DLLTOOL"; then
8250 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8251 else
8252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253 for as_dir in $PATH
8255 IFS=$as_save_IFS
8256 test -z "$as_dir" && as_dir=.
8257 for ac_exec_ext in '' $ac_executable_extensions; do
8258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8259 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8261 break 2
8263 done
8264 done
8265 IFS=$as_save_IFS
8269 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8270 if test -n "$ac_ct_DLLTOOL"; then
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8272 $as_echo "$ac_ct_DLLTOOL" >&6; }
8273 else
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8275 $as_echo "no" >&6; }
8278 if test "x$ac_ct_DLLTOOL" = x; then
8279 DLLTOOL="false"
8280 else
8281 case $cross_compiling:$ac_tool_warned in
8282 yes:)
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8285 ac_tool_warned=yes ;;
8286 esac
8287 DLLTOOL=$ac_ct_DLLTOOL
8289 else
8290 DLLTOOL="$ac_cv_prog_DLLTOOL"
8293 LIBEXT="dll"
8294 EXTRACFLAGS="-D__WINE_PE_BUILD"
8295 case $host_cpu in
8296 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8297 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8298 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8299 $as_echo_n "(cached) " >&6
8300 else
8301 ac_wine_try_cflags_saved=$CFLAGS
8302 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8305 int main(int argc, char **argv) { return 0; }
8306 _ACEOF
8307 if ac_fn_c_try_link "$LINENO"; then :
8308 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8309 else
8310 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8312 rm -f core conftest.err conftest.$ac_objext \
8313 conftest$ac_exeext conftest.$ac_ext
8314 CFLAGS=$ac_wine_try_cflags_saved
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8317 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8318 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8319 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8320 fi ;;
8321 esac
8322 enable_mountmgr_sys=${enable_mountmgr_sys:-no}
8323 enable_loader=${enable_loader:-no}
8324 enable_server=${enable_server:-no}
8325 with_x=${with_x:-no}
8326 with_pthread=${with_pthread:-no}
8329 darwin*|macosx*)
8330 ac_ext=m
8331 ac_cpp='$OBJCPP $CPPFLAGS'
8332 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8333 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8334 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8336 ac_ext=m
8337 ac_cpp='$OBJCPP $CPPFLAGS'
8338 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8339 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8340 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8341 if test -n "$ac_tool_prefix"; then
8342 for ac_prog in gcc objcc objc cc CC
8344 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8345 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8347 $as_echo_n "checking for $ac_word... " >&6; }
8348 if ${ac_cv_prog_OBJC+:} false; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 if test -n "$OBJC"; then
8352 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8353 else
8354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8355 for as_dir in $PATH
8357 IFS=$as_save_IFS
8358 test -z "$as_dir" && as_dir=.
8359 for ac_exec_ext in '' $ac_executable_extensions; do
8360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8361 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8363 break 2
8365 done
8366 done
8367 IFS=$as_save_IFS
8371 OBJC=$ac_cv_prog_OBJC
8372 if test -n "$OBJC"; then
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8374 $as_echo "$OBJC" >&6; }
8375 else
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8377 $as_echo "no" >&6; }
8381 test -n "$OBJC" && break
8382 done
8384 if test -z "$OBJC"; then
8385 ac_ct_OBJC=$OBJC
8386 for ac_prog in gcc objcc objc cc CC
8388 # Extract the first word of "$ac_prog", so it can be a program name with args.
8389 set dummy $ac_prog; ac_word=$2
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8391 $as_echo_n "checking for $ac_word... " >&6; }
8392 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 if test -n "$ac_ct_OBJC"; then
8396 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8397 else
8398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8399 for as_dir in $PATH
8401 IFS=$as_save_IFS
8402 test -z "$as_dir" && as_dir=.
8403 for ac_exec_ext in '' $ac_executable_extensions; do
8404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8405 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8407 break 2
8409 done
8410 done
8411 IFS=$as_save_IFS
8415 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8416 if test -n "$ac_ct_OBJC"; then
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8418 $as_echo "$ac_ct_OBJC" >&6; }
8419 else
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8421 $as_echo "no" >&6; }
8425 test -n "$ac_ct_OBJC" && break
8426 done
8428 if test "x$ac_ct_OBJC" = x; then
8429 OBJC="gcc"
8430 else
8431 case $cross_compiling:$ac_tool_warned in
8432 yes:)
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8435 ac_tool_warned=yes ;;
8436 esac
8437 OBJC=$ac_ct_OBJC
8441 # Provide some information about the compiler.
8442 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8443 set X $ac_compile
8444 ac_compiler=$2
8445 for ac_option in --version -v -V -qversion; do
8446 { { ac_try="$ac_compiler $ac_option >&5"
8447 case "(($ac_try" in
8448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8449 *) ac_try_echo=$ac_try;;
8450 esac
8451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8452 $as_echo "$ac_try_echo"; } >&5
8453 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8454 ac_status=$?
8455 if test -s conftest.err; then
8456 sed '10a\
8457 ... rest of stderr output deleted ...
8458 10q' conftest.err >conftest.er1
8459 cat conftest.er1 >&5
8461 rm -f conftest.er1 conftest.err
8462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8463 test $ac_status = 0; }
8464 done
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8467 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8468 if ${ac_cv_objc_compiler_gnu+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8475 main ()
8477 #ifndef __GNUC__
8478 choke me
8479 #endif
8482 return 0;
8484 _ACEOF
8485 if ac_fn_objc_try_compile "$LINENO"; then :
8486 ac_compiler_gnu=yes
8487 else
8488 ac_compiler_gnu=no
8490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8491 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8495 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8496 if test $ac_compiler_gnu = yes; then
8497 GOBJC=yes
8498 else
8499 GOBJC=
8501 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8502 ac_save_OBJCFLAGS=$OBJCFLAGS
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8504 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8505 if ${ac_cv_prog_objc_g+:} false; then :
8506 $as_echo_n "(cached) " >&6
8507 else
8508 ac_save_objc_werror_flag=$ac_objc_werror_flag
8509 ac_objc_werror_flag=yes
8510 ac_cv_prog_objc_g=no
8511 OBJCFLAGS="-g"
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8516 main ()
8520 return 0;
8522 _ACEOF
8523 if ac_fn_objc_try_compile "$LINENO"; then :
8524 ac_cv_prog_objc_g=yes
8525 else
8526 OBJCFLAGS=""
8527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8531 main ()
8535 return 0;
8537 _ACEOF
8538 if ac_fn_objc_try_compile "$LINENO"; then :
8540 else
8541 ac_objc_werror_flag=$ac_save_objc_werror_flag
8542 OBJCFLAGS="-g"
8543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8547 main ()
8551 return 0;
8553 _ACEOF
8554 if ac_fn_objc_try_compile "$LINENO"; then :
8555 ac_cv_prog_objc_g=yes
8557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8562 ac_objc_werror_flag=$ac_save_objc_werror_flag
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8565 $as_echo "$ac_cv_prog_objc_g" >&6; }
8566 if test "$ac_test_OBJCFLAGS" = set; then
8567 OBJCFLAGS=$ac_save_OBJCFLAGS
8568 elif test $ac_cv_prog_objc_g = yes; then
8569 if test "$GOBJC" = yes; then
8570 OBJCFLAGS="-g -O2"
8571 else
8572 OBJCFLAGS="-g"
8574 else
8575 if test "$GOBJC" = yes; then
8576 OBJCFLAGS="-O2"
8577 else
8578 OBJCFLAGS=
8581 ac_ext=m
8582 ac_cpp='$OBJCPP $CPPFLAGS'
8583 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8584 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8585 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8588 ac_ext=m
8589 ac_cpp='$OBJCPP $CPPFLAGS'
8590 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8591 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8592 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8594 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8595 if test -z "$OBJCPP"; then
8596 if ${ac_cv_prog_OBJCPP+:} false; then :
8597 $as_echo_n "(cached) " >&6
8598 else
8599 # Double quotes because OBJCPP needs to be expanded
8600 for OBJCPP in "$OBJC -E" "/lib/cpp"
8602 ac_preproc_ok=false
8603 for ac_objc_preproc_warn_flag in '' yes
8605 # Use a header file that comes with gcc, so configuring glibc
8606 # with a fresh cross-compiler works.
8607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8608 # <limits.h> exists even on freestanding compilers.
8609 # On the NeXT, cc -E runs the code through the compiler's parser,
8610 # not just through cpp. "Syntax error" is here to catch this case.
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8613 #ifdef __STDC__
8614 # include <limits.h>
8615 #else
8616 # include <assert.h>
8617 #endif
8618 Syntax error
8619 _ACEOF
8620 if ac_fn_objc_try_cpp "$LINENO"; then :
8622 else
8623 # Broken: fails on valid input.
8624 continue
8626 rm -f conftest.err conftest.i conftest.$ac_ext
8628 # OK, works on sane cases. Now check whether nonexistent headers
8629 # can be detected and how.
8630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8631 /* end confdefs.h. */
8632 #include <ac_nonexistent.h>
8633 _ACEOF
8634 if ac_fn_objc_try_cpp "$LINENO"; then :
8635 # Broken: success on invalid input.
8636 continue
8637 else
8638 # Passes both tests.
8639 ac_preproc_ok=:
8640 break
8642 rm -f conftest.err conftest.i conftest.$ac_ext
8644 done
8645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8646 rm -f conftest.i conftest.err conftest.$ac_ext
8647 if $ac_preproc_ok; then :
8648 break
8651 done
8652 ac_cv_prog_OBJCPP=$OBJCPP
8655 OBJCPP=$ac_cv_prog_OBJCPP
8656 else
8657 ac_cv_prog_OBJCPP=$OBJCPP
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8660 $as_echo "$OBJCPP" >&6; }
8661 ac_preproc_ok=false
8662 for ac_objc_preproc_warn_flag in '' yes
8664 # Use a header file that comes with gcc, so configuring glibc
8665 # with a fresh cross-compiler works.
8666 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8667 # <limits.h> exists even on freestanding compilers.
8668 # On the NeXT, cc -E runs the code through the compiler's parser,
8669 # not just through cpp. "Syntax error" is here to catch this case.
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8672 #ifdef __STDC__
8673 # include <limits.h>
8674 #else
8675 # include <assert.h>
8676 #endif
8677 Syntax error
8678 _ACEOF
8679 if ac_fn_objc_try_cpp "$LINENO"; then :
8681 else
8682 # Broken: fails on valid input.
8683 continue
8685 rm -f conftest.err conftest.i conftest.$ac_ext
8687 # OK, works on sane cases. Now check whether nonexistent headers
8688 # can be detected and how.
8689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8691 #include <ac_nonexistent.h>
8692 _ACEOF
8693 if ac_fn_objc_try_cpp "$LINENO"; then :
8694 # Broken: success on invalid input.
8695 continue
8696 else
8697 # Passes both tests.
8698 ac_preproc_ok=:
8699 break
8701 rm -f conftest.err conftest.i conftest.$ac_ext
8703 done
8704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8705 rm -f conftest.i conftest.err conftest.$ac_ext
8706 if $ac_preproc_ok; then :
8708 else
8709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8711 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8712 See \`config.log' for more details" "$LINENO" 5; }
8715 ac_ext=m
8716 ac_cpp='$OBJCPP $CPPFLAGS'
8717 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8718 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8719 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8722 for ac_header in Metal/Metal.h
8723 do :
8724 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8725 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8726 cat >>confdefs.h <<_ACEOF
8727 #define HAVE_METAL_METAL_H 1
8728 _ACEOF
8732 done
8734 ac_ext=c
8735 ac_cpp='$CPP $CPPFLAGS'
8736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8740 LIBEXT="dylib"
8741 DLLFLAGS="$DLLFLAGS -fPIC"
8742 LDDLLFLAGS="-fPIC"
8743 COREFOUNDATION_LIBS="-framework CoreFoundation"
8745 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8747 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8749 CORESERVICES_LIBS="-framework CoreServices"
8751 APPKIT_LIBS="-framework AppKit"
8753 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8756 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8758 wine_can_build_preloader=yes
8759 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8761 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8762 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8763 $as_echo_n "(cached) " >&6
8764 else
8765 ac_wine_try_cflags_saved=$CFLAGS
8766 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8768 /* end confdefs.h. */
8769 int main(int argc, char **argv) { return 0; }
8770 _ACEOF
8771 if ac_fn_c_try_link "$LINENO"; then :
8772 ac_cv_cflags__Wl__no_new_main__e__main=yes
8773 else
8774 ac_cv_cflags__Wl__no_new_main__e__main=no
8776 rm -f core conftest.err conftest.$ac_objext \
8777 conftest$ac_exeext conftest.$ac_ext
8778 CFLAGS=$ac_wine_try_cflags_saved
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8781 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8782 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8783 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8784 { $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
8785 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8786 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8787 $as_echo_n "(cached) " >&6
8788 else
8789 ac_wine_try_cflags_saved=$CFLAGS
8790 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8792 /* end confdefs.h. */
8793 int main(int argc, char **argv) { return 0; }
8794 _ACEOF
8795 if ac_fn_c_try_link "$LINENO"; then :
8796 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8797 else
8798 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8800 rm -f core conftest.err conftest.$ac_objext \
8801 conftest$ac_exeext conftest.$ac_ext
8802 CFLAGS=$ac_wine_try_cflags_saved
8804 { $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
8805 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8806 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8807 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8808 else
8809 wine_can_build_preloader=no
8811 else
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8813 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8814 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8815 $as_echo_n "(cached) " >&6
8816 else
8817 ac_wine_try_cflags_saved=$CFLAGS
8818 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8821 int main(int argc, char **argv) { return 0; }
8822 _ACEOF
8823 if ac_fn_c_try_link "$LINENO"; then :
8824 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8825 else
8826 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8828 rm -f core conftest.err conftest.$ac_objext \
8829 conftest$ac_exeext conftest.$ac_ext
8830 CFLAGS=$ac_wine_try_cflags_saved
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8833 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8834 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8835 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8836 else
8837 wine_can_build_preloader=no
8840 if test "$wine_can_build_preloader" = "yes"
8841 then
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8843 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8844 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8845 $as_echo_n "(cached) " >&6
8846 else
8847 ac_wine_try_cflags_saved=$CFLAGS
8848 CFLAGS="$CFLAGS -Wl,-no_pie"
8849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8850 /* end confdefs.h. */
8851 int main(int argc, char **argv) { return 0; }
8852 _ACEOF
8853 if ac_fn_c_try_link "$LINENO"; then :
8854 ac_cv_cflags__Wl__no_pie=yes
8855 else
8856 ac_cv_cflags__Wl__no_pie=no
8858 rm -f core conftest.err conftest.$ac_objext \
8859 conftest$ac_exeext conftest.$ac_ext
8860 CFLAGS=$ac_wine_try_cflags_saved
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8863 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8864 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8865 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8867 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8868 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8869 else
8870 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8873 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8874 then
8875 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8878 if test "$ac_cv_header_Security_Security_h" = "yes"
8879 then
8880 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8883 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8884 then
8885 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8887 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8889 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8890 then
8891 OPENAL_LIBS="-framework OpenAL"
8894 cat >>confdefs.h <<_ACEOF
8895 #define HAVE_OPENAL 1
8896 _ACEOF
8898 ac_cv_lib_openal=yes
8900 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8901 then
8902 OPENCL_LIBS="-framework OpenCL"
8904 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8906 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8907 then
8908 ac_save_LIBS="$LIBS"
8909 LIBS="$LIBS $IOKIT_LIBS"
8910 for ac_func in IOHIDManagerCreate
8911 do :
8912 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8913 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8914 cat >>confdefs.h <<_ACEOF
8915 #define HAVE_IOHIDMANAGERCREATE 1
8916 _ACEOF
8919 done
8921 LIBS="$ac_save_LIBS"
8924 if test "x$with_quicktime" != "xno"
8925 then
8926 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8927 then
8928 ac_save_LIBS="$LIBS"
8929 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8931 $as_echo_n "checking for the QuickTime framework... " >&6; }
8932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8933 /* end confdefs.h. */
8934 #include <QuickTime/ImageCompression.h>
8936 main ()
8938 CodecManagerVersion(NULL);
8940 return 0;
8942 _ACEOF
8943 if ac_fn_c_try_link "$LINENO"; then :
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8945 $as_echo "yes" >&6; }
8946 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8948 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8949 else
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8951 $as_echo "no" >&6; }
8952 ac_cv_header_QuickTime_ImageCompression_h=no
8954 rm -f core conftest.err conftest.$ac_objext \
8955 conftest$ac_exeext conftest.$ac_ext
8956 LIBS="$ac_save_LIBS"
8959 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
8960 case "x$with_quicktime" in
8961 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
8962 xno) ;;
8963 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
8964 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
8965 esac
8969 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8970 then
8971 CARBON_LIBS="-framework Carbon"
8974 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8975 then
8976 METAL_LIBS="-framework Metal -framework QuartzCore"
8980 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8981 then
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8983 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8984 ac_ext=m
8985 ac_cpp='$OBJCPP $CPPFLAGS'
8986 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8987 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8988 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8991 /* end confdefs.h. */
8992 #include <Metal/Metal.h>
8994 main ()
8996 id<MTLDevice> device; device.registryID;
8998 return 0;
9000 _ACEOF
9001 if ac_fn_objc_try_compile "$LINENO"; then :
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9003 $as_echo "yes" >&6; }
9005 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9007 else
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9009 $as_echo "no" >&6; }
9011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9012 ac_ext=c
9013 ac_cpp='$CPP $CPPFLAGS'
9014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9020 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9021 then
9022 ac_save_LIBS="$LIBS"
9023 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9024 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9025 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9026 enable_winemac_drv=${enable_winemac_drv:-yes}
9029 LIBS="$ac_save_LIBS"
9032 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
9033 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9035 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9037 WINELOADER_DEPENDS="wine_info.plist"
9039 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9042 linux-android*)
9044 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
9046 DLLFLAGS="$DLLFLAGS -fPIC"
9047 LDDLLFLAGS="-fPIC"
9048 LDEXECFLAGS="-Wl,-pie"
9049 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9051 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9052 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9053 $as_echo_n "(cached) " >&6
9054 else
9055 ac_wine_try_cflags_saved=$CFLAGS
9056 CFLAGS="$CFLAGS -Wl,-z,defs"
9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9059 int main(int argc, char **argv) { return 0; }
9060 _ACEOF
9061 if ac_fn_c_try_link "$LINENO"; then :
9062 ac_cv_cflags__Wl__z_defs=yes
9063 else
9064 ac_cv_cflags__Wl__z_defs=no
9066 rm -f core conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 CFLAGS=$ac_wine_try_cflags_saved
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9071 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9072 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9073 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9076 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9077 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9078 $as_echo_n "(cached) " >&6
9079 else
9080 ac_wine_try_cflags_saved=$CFLAGS
9081 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9084 int main(int argc, char **argv) { return 0; }
9085 _ACEOF
9086 if ac_fn_c_try_link "$LINENO"; then :
9087 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9088 else
9089 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9091 rm -f core conftest.err conftest.$ac_objext \
9092 conftest$ac_exeext conftest.$ac_ext
9093 CFLAGS=$ac_wine_try_cflags_saved
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9096 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9097 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9098 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9100 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9103 $as_echo_n "checking for -lEGL... " >&6; }
9104 if ${ac_cv_lib_soname_EGL+:} false; then :
9105 $as_echo_n "(cached) " >&6
9106 else
9107 ac_check_soname_save_LIBS=$LIBS
9108 LIBS="-lEGL $LIBS"
9109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9110 /* end confdefs.h. */
9112 /* Override any GCC internal prototype to avoid an error.
9113 Use char because int might match the return type of a GCC
9114 builtin and then its argument prototype would still apply. */
9115 #ifdef __cplusplus
9116 extern "C"
9117 #endif
9118 char eglGetProcAddress ();
9120 main ()
9122 return eglGetProcAddress ();
9124 return 0;
9126 _ACEOF
9127 if ac_fn_c_try_link "$LINENO"; then :
9128 case "$LIBEXT" in
9129 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9130 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'` ;;
9131 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9132 if ${ac_cv_lib_soname_EGL:+false} :; then :
9133 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9134 fi ;;
9135 esac
9136 else
9137 ac_cv_lib_soname_EGL=
9139 rm -f core conftest.err conftest.$ac_objext \
9140 conftest$ac_exeext conftest.$ac_ext
9141 LIBS=$ac_check_soname_save_LIBS
9143 if ${ac_cv_lib_soname_EGL:+false} :; then :
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9145 $as_echo "not found" >&6; }
9147 else
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9149 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9151 cat >>confdefs.h <<_ACEOF
9152 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9153 _ACEOF
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9158 $as_echo_n "checking for -lGLESv2... " >&6; }
9159 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9160 $as_echo_n "(cached) " >&6
9161 else
9162 ac_check_soname_save_LIBS=$LIBS
9163 LIBS="-lGLESv2 $LIBS"
9164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9165 /* end confdefs.h. */
9167 /* Override any GCC internal prototype to avoid an error.
9168 Use char because int might match the return type of a GCC
9169 builtin and then its argument prototype would still apply. */
9170 #ifdef __cplusplus
9171 extern "C"
9172 #endif
9173 char glFlush ();
9175 main ()
9177 return glFlush ();
9179 return 0;
9181 _ACEOF
9182 if ac_fn_c_try_link "$LINENO"; then :
9183 case "$LIBEXT" in
9184 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9185 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'` ;;
9186 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9187 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9188 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9189 fi ;;
9190 esac
9191 else
9192 ac_cv_lib_soname_GLESv2=
9194 rm -f core conftest.err conftest.$ac_objext \
9195 conftest$ac_exeext conftest.$ac_ext
9196 LIBS=$ac_check_soname_save_LIBS
9198 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9200 $as_echo "not found" >&6; }
9202 else
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9204 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9206 cat >>confdefs.h <<_ACEOF
9207 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9208 _ACEOF
9213 if test "x$exec_prefix" = xNONE
9214 then
9215 case $host_cpu in
9216 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9217 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9218 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9219 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9220 esac
9226 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
9228 case $host_cpu in
9229 *i[3456789]86*)
9230 DLLFLAGS="$DLLFLAGS -fno-PIC"
9231 LDDLLFLAGS="-fno-PIC"
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9233 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9234 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9235 $as_echo_n "(cached) " >&6
9236 else
9237 ac_wine_try_cflags_saved=$CFLAGS
9238 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9240 /* end confdefs.h. */
9241 int main(int argc, char **argv) { return 0; }
9242 _ACEOF
9243 if ac_fn_c_try_link "$LINENO"; then :
9244 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9245 else
9246 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9248 rm -f core conftest.err conftest.$ac_objext \
9249 conftest$ac_exeext conftest.$ac_ext
9250 CFLAGS=$ac_wine_try_cflags_saved
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9253 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9254 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9255 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9259 DLLFLAGS="$DLLFLAGS -fPIC"
9260 LDDLLFLAGS="-fPIC" ;;
9261 esac
9262 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9264 echo '{ global: *; };' >conftest.map
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9266 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9267 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9268 $as_echo_n "(cached) " >&6
9269 else
9270 ac_wine_try_cflags_saved=$CFLAGS
9271 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9274 int main(int argc, char **argv) { return 0; }
9275 _ACEOF
9276 if ac_fn_c_try_link "$LINENO"; then :
9277 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9278 else
9279 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9281 rm -f core conftest.err conftest.$ac_objext \
9282 conftest$ac_exeext conftest.$ac_ext
9283 CFLAGS=$ac_wine_try_cflags_saved
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9286 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9287 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9288 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9290 rm -f conftest.map
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9293 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9294 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9295 $as_echo_n "(cached) " >&6
9296 else
9297 ac_wine_try_cflags_saved=$CFLAGS
9298 CFLAGS="$CFLAGS -Wl,-z,defs"
9299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9300 /* end confdefs.h. */
9301 int main(int argc, char **argv) { return 0; }
9302 _ACEOF
9303 if ac_fn_c_try_link "$LINENO"; then :
9304 ac_cv_cflags__Wl__z_defs=yes
9305 else
9306 ac_cv_cflags__Wl__z_defs=no
9308 rm -f core conftest.err conftest.$ac_objext \
9309 conftest$ac_exeext conftest.$ac_ext
9310 CFLAGS=$ac_wine_try_cflags_saved
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9313 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9314 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9315 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9318 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9319 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9320 $as_echo_n "(cached) " >&6
9321 else
9322 ac_wine_try_cflags_saved=$CFLAGS
9323 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9325 /* end confdefs.h. */
9326 int main(int argc, char **argv) { return 0; }
9327 _ACEOF
9328 if ac_fn_c_try_link "$LINENO"; then :
9329 ac_cv_cflags__Wl___export_dynamic=yes
9330 else
9331 ac_cv_cflags__Wl___export_dynamic=no
9333 rm -f core conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9335 CFLAGS=$ac_wine_try_cflags_saved
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9338 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9339 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9340 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9342 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9344 case $host_cpu in
9345 *i[3456789]86* | x86_64 | *aarch64* | arm*)
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9347 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9348 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9349 $as_echo_n "(cached) " >&6
9350 else
9351 ac_wine_try_cflags_saved=$CFLAGS
9352 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9354 /* end confdefs.h. */
9355 int main(int argc, char **argv) { return 0; }
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9359 else
9360 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9362 rm -f core conftest.err conftest.$ac_objext \
9363 conftest$ac_exeext conftest.$ac_ext
9364 CFLAGS=$ac_wine_try_cflags_saved
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9367 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9368 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9369 case $host_os in
9370 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9371 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9372 esac
9373 else
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9375 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9376 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_wine_try_cflags_saved=$CFLAGS
9380 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9383 int main(int argc, char **argv) { return 0; }
9384 _ACEOF
9385 if ac_fn_c_try_link "$LINENO"; then :
9386 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9387 else
9388 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9390 rm -f core conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9392 CFLAGS=$ac_wine_try_cflags_saved
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9395 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9396 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9397 case $host_os in
9398 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9399 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9400 esac
9402 # Extract the first word of "prelink", so it can be a program name with args.
9403 set dummy prelink; ac_word=$2
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9405 $as_echo_n "checking for $ac_word... " >&6; }
9406 if ${ac_cv_path_PRELINK+:} false; then :
9407 $as_echo_n "(cached) " >&6
9408 else
9409 case $PRELINK in
9410 [\\/]* | ?:[\\/]*)
9411 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9415 for as_dir in /sbin /usr/sbin $PATH
9417 IFS=$as_save_IFS
9418 test -z "$as_dir" && as_dir=.
9419 for ac_exec_ext in '' $ac_executable_extensions; do
9420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9421 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9423 break 2
9425 done
9426 done
9427 IFS=$as_save_IFS
9429 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9431 esac
9433 PRELINK=$ac_cv_path_PRELINK
9434 if test -n "$PRELINK"; then
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9436 $as_echo "$PRELINK" >&6; }
9437 else
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9439 $as_echo "no" >&6; }
9443 if test "x$PRELINK" = xfalse
9444 then
9445 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9449 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9450 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 ac_wine_try_cflags_saved=$CFLAGS
9454 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9457 int main(int argc, char **argv) { return 0; }
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9461 else
9462 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9466 CFLAGS=$ac_wine_try_cflags_saved
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9469 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9470 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9471 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9474 esac
9475 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9477 LIBWINE_DEPENDS="wine.map"
9479 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9481 esac
9483 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9484 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9485 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9486 enable_winemac_drv=${enable_winemac_drv:-no}
9487 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9490 if test "x$with_mingw" != xno
9491 then
9492 case "x$with_mingw" in
9493 x|xyes) case "$host_cpu" in
9494 aarch64*)
9495 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9496 arm*)
9497 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9498 i[3456789]86*)
9499 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
9500 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9501 mingw32-gcc clang" ;;
9502 x86_64)
9503 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
9504 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9506 ac_prefix_list="" ;;
9507 esac
9508 for ac_prog in $ac_prefix_list
9510 # Extract the first word of "$ac_prog", so it can be a program name with args.
9511 set dummy $ac_prog; ac_word=$2
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9513 $as_echo_n "checking for $ac_word... " >&6; }
9514 if ${ac_cv_prog_CROSSCC+:} false; then :
9515 $as_echo_n "(cached) " >&6
9516 else
9517 if test -n "$CROSSCC"; then
9518 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9519 else
9520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9521 for as_dir in $PATH
9523 IFS=$as_save_IFS
9524 test -z "$as_dir" && as_dir=.
9525 for ac_exec_ext in '' $ac_executable_extensions; do
9526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9527 ac_cv_prog_CROSSCC="$ac_prog"
9528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9529 break 2
9531 done
9532 done
9533 IFS=$as_save_IFS
9537 CROSSCC=$ac_cv_prog_CROSSCC
9538 if test -n "$CROSSCC"; then
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9540 $as_echo "$CROSSCC" >&6; }
9541 else
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9543 $as_echo "no" >&6; }
9547 test -n "$CROSSCC" && break
9548 done
9549 test -n "$CROSSCC" || CROSSCC="false"
9551 *) CROSSCC=$with_mingw ;;
9552 esac
9553 if test "$CROSSCC" != "false"
9554 then
9555 ac_save_CC="$CC"
9556 saved_CFLAGS=$CFLAGS
9557 saved_LDFLAGS=$LDFLAGS
9558 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9560 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
9564 CC="$CROSSCC"
9565 CFLAGS=$CROSSCFLAGS
9566 LDFLAGS=$CROSSLDFLAGS
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9568 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9569 if ${wine_cv_crosscc+:} false; then :
9570 $as_echo_n "(cached) " >&6
9571 else
9572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9573 /* end confdefs.h. */
9576 main ()
9580 return 0;
9582 _ACEOF
9583 if ac_fn_c_try_compile "$LINENO"; then :
9584 wine_cv_crosscc=yes
9585 else
9586 wine_cv_crosscc=no
9588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9591 $as_echo "$wine_cv_crosscc" >&6; }
9592 if test $wine_cv_crosscc = yes
9593 then
9594 set x $CROSSCC
9595 shift
9596 while test $# -ge 1
9598 case "$1" in
9599 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9600 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9601 esac
9602 shift
9603 done
9605 llvm_target=$CROSSTARGET
9606 llvm_cflags="-fuse-ld=lld"
9607 if test -z "$llvm_target"
9608 then
9609 case $host_cpu in
9610 *i[3456789]86*) llvm_target=i686-windows ;;
9611 *) llvm_target=$host_cpu-windows ;;
9612 esac
9614 case $llvm_target in
9615 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9616 esac
9617 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9619 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9620 if eval \${$as_ac_var+:} false; then :
9621 $as_echo_n "(cached) " >&6
9622 else
9623 ac_wine_try_cflags_saved=$CFLAGS
9624 ac_wine_try_cflags_saved_cc=$CC
9625 ac_wine_try_cflags_saved_exeext=$ac_exeext
9626 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9627 CC="$CROSSCC"
9628 ac_exeext=".exe"
9629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9630 /* end confdefs.h. */
9631 int __cdecl mainCRTStartup(void) { return 0; }
9632 _ACEOF
9633 if ac_fn_c_try_link "$LINENO"; then :
9634 eval "$as_ac_var=yes"
9635 else
9636 eval "$as_ac_var=no"
9638 rm -f core conftest.err conftest.$ac_objext \
9639 conftest$ac_exeext conftest.$ac_ext
9640 CFLAGS=$ac_wine_try_cflags_saved
9641 CC=$ac_wine_try_cflags_saved_cc
9642 ac_exeext=$ac_wine_try_cflags_saved_exeext
9644 eval ac_res=\$$as_ac_var
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9646 $as_echo "$ac_res" >&6; }
9647 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9648 CROSSTARGET=$llvm_target
9649 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9650 DELAYLOADFLAG="-Wl,-delayload,"
9652 CFLAGS="$CFLAGS $llvm_cflags"
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9656 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9657 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9658 $as_echo_n "(cached) " >&6
9659 else
9660 ac_wine_try_cflags_saved=$CFLAGS
9661 ac_wine_try_cflags_saved_cc=$CC
9662 ac_wine_try_cflags_saved_exeext=$ac_exeext
9663 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9664 CC="$CROSSCC"
9665 ac_exeext=".exe"
9666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9667 /* end confdefs.h. */
9668 int __cdecl mainCRTStartup(void) { return 0; }
9669 _ACEOF
9670 if ac_fn_c_try_link "$LINENO"; then :
9671 ac_cv_crosscflags__fno_strict_aliasing=yes
9672 else
9673 ac_cv_crosscflags__fno_strict_aliasing=no
9675 rm -f core conftest.err conftest.$ac_objext \
9676 conftest$ac_exeext conftest.$ac_ext
9677 CFLAGS=$ac_wine_try_cflags_saved
9678 CC=$ac_wine_try_cflags_saved_cc
9679 ac_exeext=$ac_wine_try_cflags_saved_exeext
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9682 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9683 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9684 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9687 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9688 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9689 $as_echo_n "(cached) " >&6
9690 else
9691 ac_wine_try_cflags_saved=$CFLAGS
9692 ac_wine_try_cflags_saved_cc=$CC
9693 ac_wine_try_cflags_saved_exeext=$ac_exeext
9694 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9695 CC="$CROSSCC"
9696 ac_exeext=".exe"
9697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9698 /* end confdefs.h. */
9699 int __cdecl mainCRTStartup(void) { return 0; }
9700 _ACEOF
9701 if ac_fn_c_try_link "$LINENO"; then :
9702 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9703 else
9704 ac_cv_crosscflags__Werror_unknown_warning_option=no
9706 rm -f core conftest.err conftest.$ac_objext \
9707 conftest$ac_exeext conftest.$ac_ext
9708 CFLAGS=$ac_wine_try_cflags_saved
9709 CC=$ac_wine_try_cflags_saved_cc
9710 ac_exeext=$ac_wine_try_cflags_saved_exeext
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9713 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9714 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9715 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9718 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9719 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9720 $as_echo_n "(cached) " >&6
9721 else
9722 ac_wine_try_cflags_saved=$CFLAGS
9723 ac_wine_try_cflags_saved_cc=$CC
9724 ac_wine_try_cflags_saved_exeext=$ac_exeext
9725 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9726 CC="$CROSSCC"
9727 ac_exeext=".exe"
9728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9729 /* end confdefs.h. */
9730 int __cdecl mainCRTStartup(void) { return 0; }
9731 _ACEOF
9732 if ac_fn_c_try_link "$LINENO"; then :
9733 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9734 else
9735 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9737 rm -f core conftest.err conftest.$ac_objext \
9738 conftest$ac_exeext conftest.$ac_ext
9739 CFLAGS=$ac_wine_try_cflags_saved
9740 CC=$ac_wine_try_cflags_saved_cc
9741 ac_exeext=$ac_wine_try_cflags_saved_exeext
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9744 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9745 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9746 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9749 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9750 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9751 $as_echo_n "(cached) " >&6
9752 else
9753 ac_wine_try_cflags_saved=$CFLAGS
9754 ac_wine_try_cflags_saved_cc=$CC
9755 ac_wine_try_cflags_saved_exeext=$ac_exeext
9756 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9757 CC="$CROSSCC"
9758 ac_exeext=".exe"
9759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9760 /* end confdefs.h. */
9761 int __cdecl mainCRTStartup(void) { return 0; }
9762 _ACEOF
9763 if ac_fn_c_try_link "$LINENO"; then :
9764 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9765 else
9766 ac_cv_crosscflags__Wdeclaration_after_statement=no
9768 rm -f core conftest.err conftest.$ac_objext \
9769 conftest$ac_exeext conftest.$ac_ext
9770 CFLAGS=$ac_wine_try_cflags_saved
9771 CC=$ac_wine_try_cflags_saved_cc
9772 ac_exeext=$ac_wine_try_cflags_saved_exeext
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9775 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9776 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9777 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9780 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9781 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9782 $as_echo_n "(cached) " >&6
9783 else
9784 ac_wine_try_cflags_saved=$CFLAGS
9785 ac_wine_try_cflags_saved_cc=$CC
9786 ac_wine_try_cflags_saved_exeext=$ac_exeext
9787 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9788 CC="$CROSSCC"
9789 ac_exeext=".exe"
9790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9791 /* end confdefs.h. */
9792 int __cdecl mainCRTStartup(void) { return 0; }
9793 _ACEOF
9794 if ac_fn_c_try_link "$LINENO"; then :
9795 ac_cv_crosscflags__Wempty_body=yes
9796 else
9797 ac_cv_crosscflags__Wempty_body=no
9799 rm -f core conftest.err conftest.$ac_objext \
9800 conftest$ac_exeext conftest.$ac_ext
9801 CFLAGS=$ac_wine_try_cflags_saved
9802 CC=$ac_wine_try_cflags_saved_cc
9803 ac_exeext=$ac_wine_try_cflags_saved_exeext
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9806 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9807 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9808 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9811 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9812 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9813 $as_echo_n "(cached) " >&6
9814 else
9815 ac_wine_try_cflags_saved=$CFLAGS
9816 ac_wine_try_cflags_saved_cc=$CC
9817 ac_wine_try_cflags_saved_exeext=$ac_exeext
9818 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9819 CC="$CROSSCC"
9820 ac_exeext=".exe"
9821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9822 /* end confdefs.h. */
9823 int __cdecl mainCRTStartup(void) { return 0; }
9824 _ACEOF
9825 if ac_fn_c_try_link "$LINENO"; then :
9826 ac_cv_crosscflags__Wignored_qualifiers=yes
9827 else
9828 ac_cv_crosscflags__Wignored_qualifiers=no
9830 rm -f core conftest.err conftest.$ac_objext \
9831 conftest$ac_exeext conftest.$ac_ext
9832 CFLAGS=$ac_wine_try_cflags_saved
9833 CC=$ac_wine_try_cflags_saved_cc
9834 ac_exeext=$ac_wine_try_cflags_saved_exeext
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9837 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9838 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9839 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9842 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9843 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9844 $as_echo_n "(cached) " >&6
9845 else
9846 ac_wine_try_cflags_saved=$CFLAGS
9847 ac_wine_try_cflags_saved_cc=$CC
9848 ac_wine_try_cflags_saved_exeext=$ac_exeext
9849 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9850 CC="$CROSSCC"
9851 ac_exeext=".exe"
9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9854 int __cdecl mainCRTStartup(void) { return 0; }
9855 _ACEOF
9856 if ac_fn_c_try_link "$LINENO"; then :
9857 ac_cv_crosscflags__Winit_self=yes
9858 else
9859 ac_cv_crosscflags__Winit_self=no
9861 rm -f core conftest.err conftest.$ac_objext \
9862 conftest$ac_exeext conftest.$ac_ext
9863 CFLAGS=$ac_wine_try_cflags_saved
9864 CC=$ac_wine_try_cflags_saved_cc
9865 ac_exeext=$ac_wine_try_cflags_saved_exeext
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
9868 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
9869 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
9870 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9873 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9874 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9875 $as_echo_n "(cached) " >&6
9876 else
9877 ac_wine_try_cflags_saved=$CFLAGS
9878 ac_wine_try_cflags_saved_cc=$CC
9879 ac_wine_try_cflags_saved_exeext=$ac_exeext
9880 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9881 CC="$CROSSCC"
9882 ac_exeext=".exe"
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9885 int __cdecl mainCRTStartup(void) { return 0; }
9886 _ACEOF
9887 if ac_fn_c_try_link "$LINENO"; then :
9888 ac_cv_crosscflags__Wpacked_not_aligned=yes
9889 else
9890 ac_cv_crosscflags__Wpacked_not_aligned=no
9892 rm -f core conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 CFLAGS=$ac_wine_try_cflags_saved
9895 CC=$ac_wine_try_cflags_saved_cc
9896 ac_exeext=$ac_wine_try_cflags_saved_exeext
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9899 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9900 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9901 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9904 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9905 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9906 $as_echo_n "(cached) " >&6
9907 else
9908 ac_wine_try_cflags_saved=$CFLAGS
9909 ac_wine_try_cflags_saved_cc=$CC
9910 ac_wine_try_cflags_saved_exeext=$ac_exeext
9911 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
9912 CC="$CROSSCC"
9913 ac_exeext=".exe"
9914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9916 int __cdecl mainCRTStartup(void) { return 0; }
9917 _ACEOF
9918 if ac_fn_c_try_link "$LINENO"; then :
9919 ac_cv_crosscflags__Wpragma_pack=yes
9920 else
9921 ac_cv_crosscflags__Wpragma_pack=no
9923 rm -f core conftest.err conftest.$ac_objext \
9924 conftest$ac_exeext conftest.$ac_ext
9925 CFLAGS=$ac_wine_try_cflags_saved
9926 CC=$ac_wine_try_cflags_saved_cc
9927 ac_exeext=$ac_wine_try_cflags_saved_exeext
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
9930 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
9931 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
9932 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
9935 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
9936 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
9937 $as_echo_n "(cached) " >&6
9938 else
9939 ac_wine_try_cflags_saved=$CFLAGS
9940 ac_wine_try_cflags_saved_cc=$CC
9941 ac_wine_try_cflags_saved_exeext=$ac_exeext
9942 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
9943 CC="$CROSSCC"
9944 ac_exeext=".exe"
9945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9947 int __cdecl mainCRTStartup(void) { return 0; }
9948 _ACEOF
9949 if ac_fn_c_try_link "$LINENO"; then :
9950 ac_cv_crosscflags__Wshift_overflow_2=yes
9951 else
9952 ac_cv_crosscflags__Wshift_overflow_2=no
9954 rm -f core conftest.err conftest.$ac_objext \
9955 conftest$ac_exeext conftest.$ac_ext
9956 CFLAGS=$ac_wine_try_cflags_saved
9957 CC=$ac_wine_try_cflags_saved_cc
9958 ac_exeext=$ac_wine_try_cflags_saved_exeext
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
9961 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
9962 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
9963 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
9966 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
9967 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
9968 $as_echo_n "(cached) " >&6
9969 else
9970 ac_wine_try_cflags_saved=$CFLAGS
9971 ac_wine_try_cflags_saved_cc=$CC
9972 ac_wine_try_cflags_saved_exeext=$ac_exeext
9973 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
9974 CC="$CROSSCC"
9975 ac_exeext=".exe"
9976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9978 int __cdecl mainCRTStartup(void) { return 0; }
9979 _ACEOF
9980 if ac_fn_c_try_link "$LINENO"; then :
9981 ac_cv_crosscflags__Wstrict_prototypes=yes
9982 else
9983 ac_cv_crosscflags__Wstrict_prototypes=no
9985 rm -f core conftest.err conftest.$ac_objext \
9986 conftest$ac_exeext conftest.$ac_ext
9987 CFLAGS=$ac_wine_try_cflags_saved
9988 CC=$ac_wine_try_cflags_saved_cc
9989 ac_exeext=$ac_wine_try_cflags_saved_exeext
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
9992 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
9993 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
9994 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
9997 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
9998 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
9999 $as_echo_n "(cached) " >&6
10000 else
10001 ac_wine_try_cflags_saved=$CFLAGS
10002 ac_wine_try_cflags_saved_cc=$CC
10003 ac_wine_try_cflags_saved_exeext=$ac_exeext
10004 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10005 CC="$CROSSCC"
10006 ac_exeext=".exe"
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10009 int __cdecl mainCRTStartup(void) { return 0; }
10010 _ACEOF
10011 if ac_fn_c_try_link "$LINENO"; then :
10012 ac_cv_crosscflags__Wtype_limits=yes
10013 else
10014 ac_cv_crosscflags__Wtype_limits=no
10016 rm -f core conftest.err conftest.$ac_objext \
10017 conftest$ac_exeext conftest.$ac_ext
10018 CFLAGS=$ac_wine_try_cflags_saved
10019 CC=$ac_wine_try_cflags_saved_cc
10020 ac_exeext=$ac_wine_try_cflags_saved_exeext
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10023 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10024 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10025 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10028 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10029 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10030 $as_echo_n "(cached) " >&6
10031 else
10032 ac_wine_try_cflags_saved=$CFLAGS
10033 ac_wine_try_cflags_saved_cc=$CC
10034 ac_wine_try_cflags_saved_exeext=$ac_exeext
10035 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10036 CC="$CROSSCC"
10037 ac_exeext=".exe"
10038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10039 /* end confdefs.h. */
10040 int __cdecl mainCRTStartup(void) { return 0; }
10041 _ACEOF
10042 if ac_fn_c_try_link "$LINENO"; then :
10043 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10044 else
10045 ac_cv_crosscflags__Wunused_but_set_parameter=no
10047 rm -f core conftest.err conftest.$ac_objext \
10048 conftest$ac_exeext conftest.$ac_ext
10049 CFLAGS=$ac_wine_try_cflags_saved
10050 CC=$ac_wine_try_cflags_saved_cc
10051 ac_exeext=$ac_wine_try_cflags_saved_exeext
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10054 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10055 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10056 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10059 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10060 if ${ac_cv_crosscflags__Wvla+:} false; then :
10061 $as_echo_n "(cached) " >&6
10062 else
10063 ac_wine_try_cflags_saved=$CFLAGS
10064 ac_wine_try_cflags_saved_cc=$CC
10065 ac_wine_try_cflags_saved_exeext=$ac_exeext
10066 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10067 CC="$CROSSCC"
10068 ac_exeext=".exe"
10069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10071 int __cdecl mainCRTStartup(void) { return 0; }
10072 _ACEOF
10073 if ac_fn_c_try_link "$LINENO"; then :
10074 ac_cv_crosscflags__Wvla=yes
10075 else
10076 ac_cv_crosscflags__Wvla=no
10078 rm -f core conftest.err conftest.$ac_objext \
10079 conftest$ac_exeext conftest.$ac_ext
10080 CFLAGS=$ac_wine_try_cflags_saved
10081 CC=$ac_wine_try_cflags_saved_cc
10082 ac_exeext=$ac_wine_try_cflags_saved_exeext
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10085 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10086 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10087 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10090 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10091 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10092 $as_echo_n "(cached) " >&6
10093 else
10094 ac_wine_try_cflags_saved=$CFLAGS
10095 ac_wine_try_cflags_saved_cc=$CC
10096 ac_wine_try_cflags_saved_exeext=$ac_exeext
10097 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10098 CC="$CROSSCC"
10099 ac_exeext=".exe"
10100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10101 /* end confdefs.h. */
10102 int __cdecl mainCRTStartup(void) { return 0; }
10103 _ACEOF
10104 if ac_fn_c_try_link "$LINENO"; then :
10105 ac_cv_crosscflags__Wwrite_strings=yes
10106 else
10107 ac_cv_crosscflags__Wwrite_strings=no
10109 rm -f core conftest.err conftest.$ac_objext \
10110 conftest$ac_exeext conftest.$ac_ext
10111 CFLAGS=$ac_wine_try_cflags_saved
10112 CC=$ac_wine_try_cflags_saved_cc
10113 ac_exeext=$ac_wine_try_cflags_saved_exeext
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10116 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10117 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10118 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10121 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10122 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10123 $as_echo_n "(cached) " >&6
10124 else
10125 ac_wine_try_cflags_saved=$CFLAGS
10126 ac_wine_try_cflags_saved_cc=$CC
10127 ac_wine_try_cflags_saved_exeext=$ac_exeext
10128 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10129 CC="$CROSSCC"
10130 ac_exeext=".exe"
10131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10133 int __cdecl mainCRTStartup(void) { return 0; }
10134 _ACEOF
10135 if ac_fn_c_try_link "$LINENO"; then :
10136 ac_cv_crosscflags__Wpointer_arith=yes
10137 else
10138 ac_cv_crosscflags__Wpointer_arith=no
10140 rm -f core conftest.err conftest.$ac_objext \
10141 conftest$ac_exeext conftest.$ac_ext
10142 CFLAGS=$ac_wine_try_cflags_saved
10143 CC=$ac_wine_try_cflags_saved_cc
10144 ac_exeext=$ac_wine_try_cflags_saved_exeext
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10147 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10148 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10149 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10152 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10153 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10154 $as_echo_n "(cached) " >&6
10155 else
10156 ac_wine_try_cflags_saved=$CFLAGS
10157 ac_wine_try_cflags_saved_cc=$CC
10158 ac_wine_try_cflags_saved_exeext=$ac_exeext
10159 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10160 CC="$CROSSCC"
10161 ac_exeext=".exe"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10164 int __cdecl mainCRTStartup(void) { return 0; }
10165 _ACEOF
10166 if ac_fn_c_try_link "$LINENO"; then :
10167 ac_cv_crosscflags__Wlogical_op=yes
10168 else
10169 ac_cv_crosscflags__Wlogical_op=no
10171 rm -f core conftest.err conftest.$ac_objext \
10172 conftest$ac_exeext conftest.$ac_ext
10173 CFLAGS=$ac_wine_try_cflags_saved
10174 CC=$ac_wine_try_cflags_saved_cc
10175 ac_exeext=$ac_wine_try_cflags_saved_exeext
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10178 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10179 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10180 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10183 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10184 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10185 $as_echo_n "(cached) " >&6
10186 else
10187 ac_wine_try_cflags_saved=$CFLAGS
10188 ac_wine_try_cflags_saved_cc=$CC
10189 ac_wine_try_cflags_saved_exeext=$ac_exeext
10190 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10191 CC="$CROSSCC"
10192 ac_exeext=".exe"
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10195 int __cdecl mainCRTStartup(void) { return 0; }
10196 _ACEOF
10197 if ac_fn_c_try_link "$LINENO"; then :
10198 ac_cv_crosscflags__Wabsolute_value=yes
10199 else
10200 ac_cv_crosscflags__Wabsolute_value=no
10202 rm -f core conftest.err conftest.$ac_objext \
10203 conftest$ac_exeext conftest.$ac_ext
10204 CFLAGS=$ac_wine_try_cflags_saved
10205 CC=$ac_wine_try_cflags_saved_cc
10206 ac_exeext=$ac_wine_try_cflags_saved_exeext
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10209 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10210 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10211 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10214 case $host_cpu in
10215 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10216 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10217 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10218 $as_echo_n "(cached) " >&6
10219 else
10220 ac_wine_try_cflags_saved=$CFLAGS
10221 ac_wine_try_cflags_saved_cc=$CC
10222 ac_wine_try_cflags_saved_exeext=$ac_exeext
10223 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10224 CC="$CROSSCC"
10225 ac_exeext=".exe"
10226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 /* end confdefs.h. */
10228 int __cdecl mainCRTStartup(void) { return 0; }
10229 _ACEOF
10230 if ac_fn_c_try_link "$LINENO"; then :
10231 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10232 else
10233 ac_cv_crosscflags__fno_omit_frame_pointer=no
10235 rm -f core conftest.err conftest.$ac_objext \
10236 conftest$ac_exeext conftest.$ac_ext
10237 CFLAGS=$ac_wine_try_cflags_saved
10238 CC=$ac_wine_try_cflags_saved_cc
10239 ac_exeext=$ac_wine_try_cflags_saved_exeext
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10242 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10243 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10244 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10245 fi ;;
10246 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10247 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10248 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10249 $as_echo_n "(cached) " >&6
10250 else
10251 ac_wine_try_cflags_saved=$CFLAGS
10252 ac_wine_try_cflags_saved_cc=$CC
10253 ac_wine_try_cflags_saved_exeext=$ac_exeext
10254 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10255 CC="$CROSSCC"
10256 ac_exeext=".exe"
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10259 int __cdecl mainCRTStartup(void) { return 0; }
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"; then :
10262 ac_cv_crosscflags__Wno_format=yes
10263 else
10264 ac_cv_crosscflags__Wno_format=no
10266 rm -f core conftest.err conftest.$ac_objext \
10267 conftest$ac_exeext conftest.$ac_ext
10268 CFLAGS=$ac_wine_try_cflags_saved
10269 CC=$ac_wine_try_cflags_saved_cc
10270 ac_exeext=$ac_wine_try_cflags_saved_exeext
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10273 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10274 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10275 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10278 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10279 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10280 $as_echo_n "(cached) " >&6
10281 else
10282 ac_wine_try_cflags_saved=$CFLAGS
10283 ac_wine_try_cflags_saved_cc=$CC
10284 ac_wine_try_cflags_saved_exeext=$ac_exeext
10285 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10286 CC="$CROSSCC"
10287 ac_exeext=".exe"
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10290 int __cdecl mainCRTStartup(void) { return 0; }
10291 _ACEOF
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 ac_cv_crosscflags__Wformat_overflow=yes
10294 else
10295 ac_cv_crosscflags__Wformat_overflow=no
10297 rm -f core conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 CFLAGS=$ac_wine_try_cflags_saved
10300 CC=$ac_wine_try_cflags_saved_cc
10301 ac_exeext=$ac_wine_try_cflags_saved_exeext
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10304 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10305 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10306 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10309 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10310 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10311 $as_echo_n "(cached) " >&6
10312 else
10313 ac_wine_try_cflags_saved=$CFLAGS
10314 ac_wine_try_cflags_saved_cc=$CC
10315 ac_wine_try_cflags_saved_exeext=$ac_exeext
10316 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10317 CC="$CROSSCC"
10318 ac_exeext=".exe"
10319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10320 /* end confdefs.h. */
10321 int __cdecl mainCRTStartup(void) { return 0; }
10322 _ACEOF
10323 if ac_fn_c_try_link "$LINENO"; then :
10324 ac_cv_crosscflags__Wnonnull=yes
10325 else
10326 ac_cv_crosscflags__Wnonnull=no
10328 rm -f core conftest.err conftest.$ac_objext \
10329 conftest$ac_exeext conftest.$ac_ext
10330 CFLAGS=$ac_wine_try_cflags_saved
10331 CC=$ac_wine_try_cflags_saved_cc
10332 ac_exeext=$ac_wine_try_cflags_saved_exeext
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10335 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10336 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10337 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10340 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10341 if ${ac_cv_crosscflags__mcx16+:} false; then :
10342 $as_echo_n "(cached) " >&6
10343 else
10344 ac_wine_try_cflags_saved=$CFLAGS
10345 ac_wine_try_cflags_saved_cc=$CC
10346 ac_wine_try_cflags_saved_exeext=$ac_exeext
10347 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10348 CC="$CROSSCC"
10349 ac_exeext=".exe"
10350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10351 /* end confdefs.h. */
10352 int __cdecl mainCRTStartup(void) { return 0; }
10353 _ACEOF
10354 if ac_fn_c_try_link "$LINENO"; then :
10355 ac_cv_crosscflags__mcx16=yes
10356 else
10357 ac_cv_crosscflags__mcx16=no
10359 rm -f core conftest.err conftest.$ac_objext \
10360 conftest$ac_exeext conftest.$ac_ext
10361 CFLAGS=$ac_wine_try_cflags_saved
10362 CC=$ac_wine_try_cflags_saved_cc
10363 ac_exeext=$ac_wine_try_cflags_saved_exeext
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10366 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10367 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10368 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10369 fi ;;
10370 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10371 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10372 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10373 $as_echo_n "(cached) " >&6
10374 else
10375 ac_wine_try_cflags_saved=$CFLAGS
10376 ac_wine_try_cflags_saved_cc=$CC
10377 ac_wine_try_cflags_saved_exeext=$ac_exeext
10378 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10379 CC="$CROSSCC"
10380 ac_exeext=".exe"
10381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10382 /* end confdefs.h. */
10383 int __cdecl mainCRTStartup(void) { return 0; }
10384 _ACEOF
10385 if ac_fn_c_try_link "$LINENO"; then :
10386 ac_cv_crosscflags__Wno_format=yes
10387 else
10388 ac_cv_crosscflags__Wno_format=no
10390 rm -f core conftest.err conftest.$ac_objext \
10391 conftest$ac_exeext conftest.$ac_ext
10392 CFLAGS=$ac_wine_try_cflags_saved
10393 CC=$ac_wine_try_cflags_saved_cc
10394 ac_exeext=$ac_wine_try_cflags_saved_exeext
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10397 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10398 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10399 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10400 fi ;;
10401 esac
10404 if test -z "$CROSSDEBUG"
10405 then
10406 for ac_flag in $CROSSCFLAGS; do
10407 case $ac_flag in
10408 -gdwarf*) CROSSDEBUG=dwarf ;;
10409 -gcodeview) CROSSDEBUG=pdb ;;
10410 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10411 esac
10412 done
10414 case $CROSSDEBUG in
10415 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10416 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10417 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10418 $as_echo_n "(cached) " >&6
10419 else
10420 ac_wine_try_cflags_saved=$CFLAGS
10421 ac_wine_try_cflags_saved_cc=$CC
10422 ac_wine_try_cflags_saved_exeext=$ac_exeext
10423 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10424 CC="$CROSSCC"
10425 ac_exeext=".exe"
10426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10427 /* end confdefs.h. */
10428 int __cdecl mainCRTStartup(void) { return 0; }
10429 _ACEOF
10430 if ac_fn_c_try_link "$LINENO"; then :
10431 ac_cv_crosscflags__gdwarf_2=yes
10432 else
10433 ac_cv_crosscflags__gdwarf_2=no
10435 rm -f core conftest.err conftest.$ac_objext \
10436 conftest$ac_exeext conftest.$ac_ext
10437 CFLAGS=$ac_wine_try_cflags_saved
10438 CC=$ac_wine_try_cflags_saved_cc
10439 ac_exeext=$ac_wine_try_cflags_saved_exeext
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10442 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10443 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10444 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10447 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10448 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10449 $as_echo_n "(cached) " >&6
10450 else
10451 ac_wine_try_cflags_saved=$CFLAGS
10452 ac_wine_try_cflags_saved_cc=$CC
10453 ac_wine_try_cflags_saved_exeext=$ac_exeext
10454 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10455 CC="$CROSSCC"
10456 ac_exeext=".exe"
10457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10458 /* end confdefs.h. */
10459 int __cdecl mainCRTStartup(void) { return 0; }
10460 _ACEOF
10461 if ac_fn_c_try_link "$LINENO"; then :
10462 ac_cv_crosscflags__gstrict_dwarf=yes
10463 else
10464 ac_cv_crosscflags__gstrict_dwarf=no
10466 rm -f core conftest.err conftest.$ac_objext \
10467 conftest$ac_exeext conftest.$ac_ext
10468 CFLAGS=$ac_wine_try_cflags_saved
10469 CC=$ac_wine_try_cflags_saved_cc
10470 ac_exeext=$ac_wine_try_cflags_saved_exeext
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10473 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10474 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10475 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10476 fi ;;
10477 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10478 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10479 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10480 $as_echo_n "(cached) " >&6
10481 else
10482 ac_wine_try_cflags_saved=$CFLAGS
10483 ac_wine_try_cflags_saved_cc=$CC
10484 ac_wine_try_cflags_saved_exeext=$ac_exeext
10485 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10486 CC="$CROSSCC"
10487 ac_exeext=".exe"
10488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10489 /* end confdefs.h. */
10490 int __cdecl mainCRTStartup(void) { return 0; }
10491 _ACEOF
10492 if ac_fn_c_try_link "$LINENO"; then :
10493 ac_cv_crosscflags__gcodeview=yes
10494 else
10495 ac_cv_crosscflags__gcodeview=no
10497 rm -f core conftest.err conftest.$ac_objext \
10498 conftest$ac_exeext conftest.$ac_ext
10499 CFLAGS=$ac_wine_try_cflags_saved
10500 CC=$ac_wine_try_cflags_saved_cc
10501 ac_exeext=$ac_wine_try_cflags_saved_exeext
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10504 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10505 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10506 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10507 fi ;;
10508 esac
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10511 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10512 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10513 $as_echo_n "(cached) " >&6
10514 else
10515 ac_wine_try_cflags_saved=$CFLAGS
10516 ac_wine_try_cflags_saved_cc=$CC
10517 ac_wine_try_cflags_saved_exeext=$ac_exeext
10518 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10519 CC="$CROSSCC"
10520 ac_exeext=".exe"
10521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10523 int __cdecl mainCRTStartup(void) { return 0; }
10524 _ACEOF
10525 if ac_fn_c_try_link "$LINENO"; then :
10526 ac_cv_crosscflags__fexcess_precision_standard=yes
10527 else
10528 ac_cv_crosscflags__fexcess_precision_standard=no
10530 rm -f core conftest.err conftest.$ac_objext \
10531 conftest$ac_exeext conftest.$ac_ext
10532 CFLAGS=$ac_wine_try_cflags_saved
10533 CC=$ac_wine_try_cflags_saved_cc
10534 ac_exeext=$ac_wine_try_cflags_saved_exeext
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10537 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10538 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10539 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10543 if test "x$enable_werror" = "xyes"
10544 then
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10546 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10547 if ${ac_cv_crosscflags__Werror+:} false; then :
10548 $as_echo_n "(cached) " >&6
10549 else
10550 ac_wine_try_cflags_saved=$CFLAGS
10551 ac_wine_try_cflags_saved_cc=$CC
10552 ac_wine_try_cflags_saved_exeext=$ac_exeext
10553 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10554 CC="$CROSSCC"
10555 ac_exeext=".exe"
10556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10557 /* end confdefs.h. */
10558 int __cdecl mainCRTStartup(void) { return 0; }
10559 _ACEOF
10560 if ac_fn_c_try_link "$LINENO"; then :
10561 ac_cv_crosscflags__Werror=yes
10562 else
10563 ac_cv_crosscflags__Werror=no
10565 rm -f core conftest.err conftest.$ac_objext \
10566 conftest$ac_exeext conftest.$ac_ext
10567 CFLAGS=$ac_wine_try_cflags_saved
10568 CC=$ac_wine_try_cflags_saved_cc
10569 ac_exeext=$ac_wine_try_cflags_saved_exeext
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10572 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10573 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10574 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10577 if test "x$enable_build_id" = "xyes"
10578 then
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10580 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10581 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10582 $as_echo_n "(cached) " >&6
10583 else
10584 ac_wine_try_cflags_saved=$CFLAGS
10585 ac_wine_try_cflags_saved_cc=$CC
10586 ac_wine_try_cflags_saved_exeext=$ac_exeext
10587 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10588 CC="$CROSSCC"
10589 ac_exeext=".exe"
10590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10592 int __cdecl mainCRTStartup(void) { return 0; }
10593 _ACEOF
10594 if ac_fn_c_try_link "$LINENO"; then :
10595 ac_cv_crosscflags__Wl___build_id=yes
10596 else
10597 ac_cv_crosscflags__Wl___build_id=no
10599 rm -f core conftest.err conftest.$ac_objext \
10600 conftest$ac_exeext conftest.$ac_ext
10601 CFLAGS=$ac_wine_try_cflags_saved
10602 CC=$ac_wine_try_cflags_saved_cc
10603 ac_exeext=$ac_wine_try_cflags_saved_exeext
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10606 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10607 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10608 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10609 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10613 CFLAGS=$saved_CFLAGS
10614 LDFLAGS=$saved_LDFLAGS
10615 CC="$ac_save_CC"
10618 if test "x$CROSSTARGET" = "x"; then :
10619 case "x$with_mingw" in
10620 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10621 xno) ;;
10622 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10623 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10624 esac
10629 if ${FAUDIO_PE_CFLAGS:+false} :; then :
10630 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
10631 else
10632 enable_faudio=no
10634 if ${FAUDIO_PE_LIBS:+false} :; then :
10635 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
10636 else
10637 enable_faudio=no
10639 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
10640 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
10642 if ${GSM_PE_CFLAGS:+false} :; then :
10643 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
10644 else
10645 enable_gsm=no
10647 if ${GSM_PE_LIBS:+false} :; then :
10648 GSM_PE_LIBS=gsm
10649 else
10650 enable_gsm=no
10652 $as_echo "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
10653 $as_echo "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
10655 if ${JPEG_PE_CFLAGS:+false} :; then :
10656 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
10657 else
10658 enable_jpeg=no
10660 if ${JPEG_PE_LIBS:+false} :; then :
10661 JPEG_PE_LIBS=jpeg
10662 else
10663 enable_jpeg=no
10665 $as_echo "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
10666 $as_echo "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
10668 if ${JXR_PE_CFLAGS:+false} :; then :
10669 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
10670 else
10671 enable_jxr=no
10673 if ${JXR_PE_LIBS:+false} :; then :
10674 JXR_PE_LIBS=jxr
10675 else
10676 enable_jxr=no
10678 $as_echo "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
10679 $as_echo "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
10681 if ${LCMS2_PE_CFLAGS:+false} :; then :
10682 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
10683 else
10684 enable_lcms2=no
10686 if ${LCMS2_PE_LIBS:+false} :; then :
10687 LCMS2_PE_LIBS=lcms2
10688 else
10689 enable_lcms2=no
10691 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
10692 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
10694 if ${MPG123_PE_CFLAGS:+false} :; then :
10695 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
10696 else
10697 enable_mpg123=no
10699 if ${MPG123_PE_LIBS:+false} :; then :
10700 MPG123_PE_LIBS=mpg123
10701 else
10702 enable_mpg123=no
10704 $as_echo "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
10705 $as_echo "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
10707 if ${PNG_PE_CFLAGS:+false} :; then :
10708 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
10709 else
10710 enable_png=no
10712 if ${PNG_PE_LIBS:+false} :; then :
10713 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
10714 else
10715 enable_png=no
10717 $as_echo "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
10718 $as_echo "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
10720 if ${TIFF_PE_CFLAGS:+false} :; then :
10721 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
10722 else
10723 enable_tiff=no
10725 if ${TIFF_PE_LIBS:+false} :; then :
10726 TIFF_PE_LIBS=tiff
10727 else
10728 enable_tiff=no
10730 $as_echo "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
10731 $as_echo "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
10733 if ${XML2_PE_CFLAGS:+false} :; then :
10734 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
10735 else
10736 enable_libxml2=no
10738 if ${XML2_PE_LIBS:+false} :; then :
10739 XML2_PE_LIBS=xml2
10740 else
10741 enable_libxml2=no
10743 $as_echo "$as_me:${as_lineno-$LINENO}: libxml2 cflags: $XML2_PE_CFLAGS" >&5
10744 $as_echo "$as_me:${as_lineno-$LINENO}: libxml2 libs: $XML2_PE_LIBS" >&5
10746 if ${XSLT_PE_CFLAGS:+false} :; then :
10747 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
10748 else
10749 enable_libxslt=no
10751 if ${XSLT_PE_LIBS:+false} :; then :
10752 XSLT_PE_LIBS=xslt
10753 else
10754 enable_libxslt=no
10756 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_PE_CFLAGS" >&5
10757 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_PE_LIBS" >&5
10759 if ${ZLIB_PE_CFLAGS:+false} :; then :
10760 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
10761 else
10762 enable_zlib=no
10764 if ${ZLIB_PE_LIBS:+false} :; then :
10765 ZLIB_PE_LIBS=z
10766 else
10767 enable_zlib=no
10769 $as_echo "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
10770 $as_echo "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
10774 if test "$ac_cv_header_pthread_h" = "yes"
10775 then
10776 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10777 if test "x$ac_cv_func_pthread_create" = xyes; then :
10779 else
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10781 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10782 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10783 $as_echo_n "(cached) " >&6
10784 else
10785 ac_check_lib_save_LIBS=$LIBS
10786 LIBS="-lpthread $LIBS"
10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10790 /* Override any GCC internal prototype to avoid an error.
10791 Use char because int might match the return type of a GCC
10792 builtin and then its argument prototype would still apply. */
10793 #ifdef __cplusplus
10794 extern "C"
10795 #endif
10796 char pthread_create ();
10798 main ()
10800 return pthread_create ();
10802 return 0;
10804 _ACEOF
10805 if ac_fn_c_try_link "$LINENO"; then :
10806 ac_cv_lib_pthread_pthread_create=yes
10807 else
10808 ac_cv_lib_pthread_pthread_create=no
10810 rm -f core conftest.err conftest.$ac_objext \
10811 conftest$ac_exeext conftest.$ac_ext
10812 LIBS=$ac_check_lib_save_LIBS
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10815 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10816 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10817 PTHREAD_LIBS="-lpthread"
10824 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10825 case "x$with_pthread" in
10826 xno) ;;
10827 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10828 Wine cannot support threads without libpthread.
10829 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10830 esac
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10836 $as_echo_n "checking for X... " >&6; }
10839 # Check whether --with-x was given.
10840 if test "${with_x+set}" = set; then :
10841 withval=$with_x;
10844 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10845 if test "x$with_x" = xno; then
10846 # The user explicitly disabled X.
10847 have_x=disabled
10848 else
10849 case $x_includes,$x_libraries in #(
10850 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10851 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10852 $as_echo_n "(cached) " >&6
10853 else
10854 # One or both of the vars are not set, and there is no cached value.
10855 ac_x_includes=no ac_x_libraries=no
10856 rm -f -r conftest.dir
10857 if mkdir conftest.dir; then
10858 cd conftest.dir
10859 cat >Imakefile <<'_ACEOF'
10860 incroot:
10861 @echo incroot='${INCROOT}'
10862 usrlibdir:
10863 @echo usrlibdir='${USRLIBDIR}'
10864 libdir:
10865 @echo libdir='${LIBDIR}'
10866 _ACEOF
10867 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10868 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10869 for ac_var in incroot usrlibdir libdir; do
10870 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10871 done
10872 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10873 for ac_extension in a so sl dylib la dll; do
10874 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10875 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10876 ac_im_usrlibdir=$ac_im_libdir; break
10878 done
10879 # Screen out bogus values from the imake configuration. They are
10880 # bogus both because they are the default anyway, and because
10881 # using them would break gcc on systems where it needs fixed includes.
10882 case $ac_im_incroot in
10883 /usr/include) ac_x_includes= ;;
10884 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10885 esac
10886 case $ac_im_usrlibdir in
10887 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10888 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10889 esac
10891 cd ..
10892 rm -f -r conftest.dir
10895 # Standard set of common directories for X headers.
10896 # Check X11 before X11Rn because it is often a symlink to the current release.
10897 ac_x_header_dirs='
10898 /usr/X11/include
10899 /usr/X11R7/include
10900 /usr/X11R6/include
10901 /usr/X11R5/include
10902 /usr/X11R4/include
10904 /usr/include/X11
10905 /usr/include/X11R7
10906 /usr/include/X11R6
10907 /usr/include/X11R5
10908 /usr/include/X11R4
10910 /usr/local/X11/include
10911 /usr/local/X11R7/include
10912 /usr/local/X11R6/include
10913 /usr/local/X11R5/include
10914 /usr/local/X11R4/include
10916 /usr/local/include/X11
10917 /usr/local/include/X11R7
10918 /usr/local/include/X11R6
10919 /usr/local/include/X11R5
10920 /usr/local/include/X11R4
10922 /usr/X386/include
10923 /usr/x386/include
10924 /usr/XFree86/include/X11
10926 /usr/include
10927 /usr/local/include
10928 /usr/unsupported/include
10929 /usr/athena/include
10930 /usr/local/x11r5/include
10931 /usr/lpp/Xamples/include
10933 /usr/openwin/include
10934 /usr/openwin/share/include'
10936 if test "$ac_x_includes" = no; then
10937 # Guess where to find include files, by looking for Xlib.h.
10938 # First, try using that file with no special directory specified.
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10941 #include <X11/Xlib.h>
10942 _ACEOF
10943 if ac_fn_c_try_cpp "$LINENO"; then :
10944 # We can compile using X headers with no special include directory.
10945 ac_x_includes=
10946 else
10947 for ac_dir in $ac_x_header_dirs; do
10948 if test -r "$ac_dir/X11/Xlib.h"; then
10949 ac_x_includes=$ac_dir
10950 break
10952 done
10954 rm -f conftest.err conftest.i conftest.$ac_ext
10955 fi # $ac_x_includes = no
10957 if test "$ac_x_libraries" = no; then
10958 # Check for the libraries.
10959 # See if we find them without any special options.
10960 # Don't add to $LIBS permanently.
10961 ac_save_LIBS=$LIBS
10962 LIBS="-lX11 $LIBS"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10965 #include <X11/Xlib.h>
10967 main ()
10969 XrmInitialize ()
10971 return 0;
10973 _ACEOF
10974 if ac_fn_c_try_link "$LINENO"; then :
10975 LIBS=$ac_save_LIBS
10976 # We can link X programs with no special library path.
10977 ac_x_libraries=
10978 else
10979 LIBS=$ac_save_LIBS
10980 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10982 # Don't even attempt the hair of trying to link an X program!
10983 for ac_extension in a so sl dylib la dll; do
10984 if test -r "$ac_dir/libX11.$ac_extension"; then
10985 ac_x_libraries=$ac_dir
10986 break 2
10988 done
10989 done
10991 rm -f core conftest.err conftest.$ac_objext \
10992 conftest$ac_exeext conftest.$ac_ext
10993 fi # $ac_x_libraries = no
10995 case $ac_x_includes,$ac_x_libraries in #(
10996 no,* | *,no | *\'*)
10997 # Didn't find X, or a directory has "'" in its name.
10998 ac_cv_have_x="have_x=no";; #(
11000 # Record where we found X for the cache.
11001 ac_cv_have_x="have_x=yes\
11002 ac_x_includes='$ac_x_includes'\
11003 ac_x_libraries='$ac_x_libraries'"
11004 esac
11006 ;; #(
11007 *) have_x=yes;;
11008 esac
11009 eval "$ac_cv_have_x"
11010 fi # $with_x != no
11012 if test "$have_x" != yes; then
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11014 $as_echo "$have_x" >&6; }
11015 no_x=yes
11016 else
11017 # If each of the values was on the command line, it overrides each guess.
11018 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11019 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11020 # Update the cache value to reflect the command line values.
11021 ac_cv_have_x="have_x=yes\
11022 ac_x_includes='$x_includes'\
11023 ac_x_libraries='$x_libraries'"
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11025 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11028 if test "$no_x" = yes; then
11029 # Not all programs may use this symbol, but it does not hurt to define it.
11031 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11033 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11034 else
11035 if test -n "$x_includes"; then
11036 X_CFLAGS="$X_CFLAGS -I$x_includes"
11039 # It would also be nice to do this for all -L options, not just this one.
11040 if test -n "$x_libraries"; then
11041 X_LIBS="$X_LIBS -L$x_libraries"
11042 # For Solaris; some versions of Sun CC require a space after -R and
11043 # others require no space. Words are not sufficient . . . .
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11045 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11046 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11047 ac_xsave_c_werror_flag=$ac_c_werror_flag
11048 ac_c_werror_flag=yes
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11053 main ()
11057 return 0;
11059 _ACEOF
11060 if ac_fn_c_try_link "$LINENO"; then :
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11062 $as_echo "no" >&6; }
11063 X_LIBS="$X_LIBS -R$x_libraries"
11064 else
11065 LIBS="$ac_xsave_LIBS -R $x_libraries"
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11070 main ()
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"; then :
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11079 $as_echo "yes" >&6; }
11080 X_LIBS="$X_LIBS -R $x_libraries"
11081 else
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11083 $as_echo "neither works" >&6; }
11085 rm -f core conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 ac_c_werror_flag=$ac_xsave_c_werror_flag
11091 LIBS=$ac_xsave_LIBS
11094 # Check for system-dependent libraries X programs must link with.
11095 # Do this before checking for the system-independent R6 libraries
11096 # (-lICE), since we may need -lsocket or whatever for X linking.
11098 if test "$ISC" = yes; then
11099 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11100 else
11101 # Martyn Johnson says this is needed for Ultrix, if the X
11102 # libraries were built with DECnet support. And Karl Berry says
11103 # the Alpha needs dnet_stub (dnet does not exist).
11104 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char XOpenDisplay ();
11116 main ()
11118 return XOpenDisplay ();
11120 return 0;
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11125 else
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11127 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11128 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11129 $as_echo_n "(cached) " >&6
11130 else
11131 ac_check_lib_save_LIBS=$LIBS
11132 LIBS="-ldnet $LIBS"
11133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11134 /* end confdefs.h. */
11136 /* Override any GCC internal prototype to avoid an error.
11137 Use char because int might match the return type of a GCC
11138 builtin and then its argument prototype would still apply. */
11139 #ifdef __cplusplus
11140 extern "C"
11141 #endif
11142 char dnet_ntoa ();
11144 main ()
11146 return dnet_ntoa ();
11148 return 0;
11150 _ACEOF
11151 if ac_fn_c_try_link "$LINENO"; then :
11152 ac_cv_lib_dnet_dnet_ntoa=yes
11153 else
11154 ac_cv_lib_dnet_dnet_ntoa=no
11156 rm -f core conftest.err conftest.$ac_objext \
11157 conftest$ac_exeext conftest.$ac_ext
11158 LIBS=$ac_check_lib_save_LIBS
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11161 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11162 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11163 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11166 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11168 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11169 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11170 $as_echo_n "(cached) " >&6
11171 else
11172 ac_check_lib_save_LIBS=$LIBS
11173 LIBS="-ldnet_stub $LIBS"
11174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11180 #ifdef __cplusplus
11181 extern "C"
11182 #endif
11183 char dnet_ntoa ();
11185 main ()
11187 return dnet_ntoa ();
11189 return 0;
11191 _ACEOF
11192 if ac_fn_c_try_link "$LINENO"; then :
11193 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11194 else
11195 ac_cv_lib_dnet_stub_dnet_ntoa=no
11197 rm -f core conftest.err conftest.$ac_objext \
11198 conftest$ac_exeext conftest.$ac_ext
11199 LIBS=$ac_check_lib_save_LIBS
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11202 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11203 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11204 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11209 rm -f core conftest.err conftest.$ac_objext \
11210 conftest$ac_exeext conftest.$ac_ext
11211 LIBS="$ac_xsave_LIBS"
11213 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11214 # to get the SysV transport functions.
11215 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11216 # needs -lnsl.
11217 # The nsl library prevents programs from opening the X display
11218 # on Irix 5.2, according to T.E. Dickey.
11219 # The functions gethostbyname, getservbyname, and inet_addr are
11220 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11221 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11222 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11226 if test $ac_cv_func_gethostbyname = no; then
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11228 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11229 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11230 $as_echo_n "(cached) " >&6
11231 else
11232 ac_check_lib_save_LIBS=$LIBS
11233 LIBS="-lnsl $LIBS"
11234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11237 /* Override any GCC internal prototype to avoid an error.
11238 Use char because int might match the return type of a GCC
11239 builtin and then its argument prototype would still apply. */
11240 #ifdef __cplusplus
11241 extern "C"
11242 #endif
11243 char gethostbyname ();
11245 main ()
11247 return gethostbyname ();
11249 return 0;
11251 _ACEOF
11252 if ac_fn_c_try_link "$LINENO"; then :
11253 ac_cv_lib_nsl_gethostbyname=yes
11254 else
11255 ac_cv_lib_nsl_gethostbyname=no
11257 rm -f core conftest.err conftest.$ac_objext \
11258 conftest$ac_exeext conftest.$ac_ext
11259 LIBS=$ac_check_lib_save_LIBS
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11262 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11263 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11264 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11267 if test $ac_cv_lib_nsl_gethostbyname = no; then
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11269 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11270 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11271 $as_echo_n "(cached) " >&6
11272 else
11273 ac_check_lib_save_LIBS=$LIBS
11274 LIBS="-lbsd $LIBS"
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11281 #ifdef __cplusplus
11282 extern "C"
11283 #endif
11284 char gethostbyname ();
11286 main ()
11288 return gethostbyname ();
11290 return 0;
11292 _ACEOF
11293 if ac_fn_c_try_link "$LINENO"; then :
11294 ac_cv_lib_bsd_gethostbyname=yes
11295 else
11296 ac_cv_lib_bsd_gethostbyname=no
11298 rm -f core conftest.err conftest.$ac_objext \
11299 conftest$ac_exeext conftest.$ac_ext
11300 LIBS=$ac_check_lib_save_LIBS
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11303 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11304 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11305 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11311 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11312 # socket/setsockopt and other routines are undefined under SCO ODT
11313 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11314 # on later versions), says Simon Leinen: it contains gethostby*
11315 # variants that don't use the name server (or something). -lsocket
11316 # must be given before -lnsl if both are needed. We assume that
11317 # if connect needs -lnsl, so does gethostbyname.
11318 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11319 if test "x$ac_cv_func_connect" = xyes; then :
11323 if test $ac_cv_func_connect = no; then
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11325 $as_echo_n "checking for connect in -lsocket... " >&6; }
11326 if ${ac_cv_lib_socket_connect+:} false; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_lib_save_LIBS=$LIBS
11330 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char connect ();
11342 main ()
11344 return connect ();
11346 return 0;
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"; then :
11350 ac_cv_lib_socket_connect=yes
11351 else
11352 ac_cv_lib_socket_connect=no
11354 rm -f core conftest.err conftest.$ac_objext \
11355 conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_lib_save_LIBS
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11359 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11360 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11361 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11366 # Guillermo Gomez says -lposix is necessary on A/UX.
11367 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11368 if test "x$ac_cv_func_remove" = xyes; then :
11372 if test $ac_cv_func_remove = no; then
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11374 $as_echo_n "checking for remove in -lposix... " >&6; }
11375 if ${ac_cv_lib_posix_remove+:} false; then :
11376 $as_echo_n "(cached) " >&6
11377 else
11378 ac_check_lib_save_LIBS=$LIBS
11379 LIBS="-lposix $LIBS"
11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11383 /* Override any GCC internal prototype to avoid an error.
11384 Use char because int might match the return type of a GCC
11385 builtin and then its argument prototype would still apply. */
11386 #ifdef __cplusplus
11387 extern "C"
11388 #endif
11389 char remove ();
11391 main ()
11393 return remove ();
11395 return 0;
11397 _ACEOF
11398 if ac_fn_c_try_link "$LINENO"; then :
11399 ac_cv_lib_posix_remove=yes
11400 else
11401 ac_cv_lib_posix_remove=no
11403 rm -f core conftest.err conftest.$ac_objext \
11404 conftest$ac_exeext conftest.$ac_ext
11405 LIBS=$ac_check_lib_save_LIBS
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11408 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11409 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11410 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11415 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11416 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11417 if test "x$ac_cv_func_shmat" = xyes; then :
11421 if test $ac_cv_func_shmat = no; then
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11423 $as_echo_n "checking for shmat in -lipc... " >&6; }
11424 if ${ac_cv_lib_ipc_shmat+:} false; then :
11425 $as_echo_n "(cached) " >&6
11426 else
11427 ac_check_lib_save_LIBS=$LIBS
11428 LIBS="-lipc $LIBS"
11429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11435 #ifdef __cplusplus
11436 extern "C"
11437 #endif
11438 char shmat ();
11440 main ()
11442 return shmat ();
11444 return 0;
11446 _ACEOF
11447 if ac_fn_c_try_link "$LINENO"; then :
11448 ac_cv_lib_ipc_shmat=yes
11449 else
11450 ac_cv_lib_ipc_shmat=no
11452 rm -f core conftest.err conftest.$ac_objext \
11453 conftest$ac_exeext conftest.$ac_ext
11454 LIBS=$ac_check_lib_save_LIBS
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11457 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11458 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11459 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11465 # Check for libraries that X11R6 Xt/Xaw programs need.
11466 ac_save_LDFLAGS=$LDFLAGS
11467 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11468 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11469 # check for ICE first), but we must link in the order -lSM -lICE or
11470 # we get undefined symbols. So assume we have SM if we have ICE.
11471 # These have to be linked with before -lX11, unlike the other
11472 # libraries we check for below, so use a different variable.
11473 # John Interrante, Karl Berry
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11475 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11476 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11477 $as_echo_n "(cached) " >&6
11478 else
11479 ac_check_lib_save_LIBS=$LIBS
11480 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11487 #ifdef __cplusplus
11488 extern "C"
11489 #endif
11490 char IceConnectionNumber ();
11492 main ()
11494 return IceConnectionNumber ();
11496 return 0;
11498 _ACEOF
11499 if ac_fn_c_try_link "$LINENO"; then :
11500 ac_cv_lib_ICE_IceConnectionNumber=yes
11501 else
11502 ac_cv_lib_ICE_IceConnectionNumber=no
11504 rm -f core conftest.err conftest.$ac_objext \
11505 conftest$ac_exeext conftest.$ac_ext
11506 LIBS=$ac_check_lib_save_LIBS
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11509 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11510 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11511 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11514 LDFLAGS=$ac_save_LDFLAGS
11519 if test "$have_x" = "yes"
11520 then
11521 ac_save_CPPFLAGS="$CPPFLAGS"
11522 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11525 $as_echo_n "checking for -lX11... " >&6; }
11526 if ${ac_cv_lib_soname_X11+:} false; then :
11527 $as_echo_n "(cached) " >&6
11528 else
11529 ac_check_soname_save_LIBS=$LIBS
11530 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11537 #ifdef __cplusplus
11538 extern "C"
11539 #endif
11540 char XCreateWindow ();
11542 main ()
11544 return XCreateWindow ();
11546 return 0;
11548 _ACEOF
11549 if ac_fn_c_try_link "$LINENO"; then :
11550 case "$LIBEXT" in
11551 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11552 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'` ;;
11553 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11554 if ${ac_cv_lib_soname_X11:+false} :; then :
11555 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11556 fi ;;
11557 esac
11558 else
11559 ac_cv_lib_soname_X11=
11561 rm -f core conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_soname_save_LIBS
11565 if ${ac_cv_lib_soname_X11:+false} :; then :
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11567 $as_echo "not found" >&6; }
11569 else
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11571 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11573 cat >>confdefs.h <<_ACEOF
11574 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11575 _ACEOF
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11580 $as_echo_n "checking for -lXext... " >&6; }
11581 if ${ac_cv_lib_soname_Xext+:} false; then :
11582 $as_echo_n "(cached) " >&6
11583 else
11584 ac_check_soname_save_LIBS=$LIBS
11585 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587 /* end confdefs.h. */
11589 /* Override any GCC internal prototype to avoid an error.
11590 Use char because int might match the return type of a GCC
11591 builtin and then its argument prototype would still apply. */
11592 #ifdef __cplusplus
11593 extern "C"
11594 #endif
11595 char XextCreateExtension ();
11597 main ()
11599 return XextCreateExtension ();
11601 return 0;
11603 _ACEOF
11604 if ac_fn_c_try_link "$LINENO"; then :
11605 case "$LIBEXT" in
11606 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11607 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'` ;;
11608 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11609 if ${ac_cv_lib_soname_Xext:+false} :; then :
11610 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11611 fi ;;
11612 esac
11613 else
11614 ac_cv_lib_soname_Xext=
11616 rm -f core conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_soname_save_LIBS
11620 if ${ac_cv_lib_soname_Xext:+false} :; then :
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11622 $as_echo "not found" >&6; }
11624 else
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11626 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11628 cat >>confdefs.h <<_ACEOF
11629 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11630 _ACEOF
11632 X_LIBS="$X_LIBS -lXext"
11634 X_LIBS="$X_LIBS -lX11"
11636 for ac_header in X11/Xlib.h \
11637 X11/XKBlib.h \
11638 X11/Xutil.h \
11639 X11/Xcursor/Xcursor.h \
11640 X11/extensions/shape.h \
11641 X11/extensions/XInput.h \
11642 X11/extensions/XInput2.h \
11643 X11/extensions/XShm.h \
11644 X11/extensions/Xcomposite.h \
11645 X11/extensions/Xfixes.h \
11646 X11/extensions/Xinerama.h \
11647 X11/extensions/Xrandr.h \
11648 X11/extensions/Xrender.h \
11649 X11/extensions/xf86vmode.h \
11650 X11/extensions/xf86vmproto.h
11651 do :
11652 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11653 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11654 # include <X11/Xlib.h>
11655 #endif
11656 #ifdef HAVE_X11_XUTIL_H
11657 # include <X11/Xutil.h>
11658 #endif
11660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11661 cat >>confdefs.h <<_ACEOF
11662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11663 _ACEOF
11667 done
11670 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11671 then
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11673 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11674 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11675 $as_echo_n "(cached) " >&6
11676 else
11677 ac_check_lib_save_LIBS=$LIBS
11678 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11680 /* end confdefs.h. */
11682 /* Override any GCC internal prototype to avoid an error.
11683 Use char because int might match the return type of a GCC
11684 builtin and then its argument prototype would still apply. */
11685 #ifdef __cplusplus
11686 extern "C"
11687 #endif
11688 char XkbQueryExtension ();
11690 main ()
11692 return XkbQueryExtension ();
11694 return 0;
11696 _ACEOF
11697 if ac_fn_c_try_link "$LINENO"; then :
11698 ac_cv_lib_X11_XkbQueryExtension=yes
11699 else
11700 ac_cv_lib_X11_XkbQueryExtension=no
11702 rm -f core conftest.err conftest.$ac_objext \
11703 conftest$ac_exeext conftest.$ac_ext
11704 LIBS=$ac_check_lib_save_LIBS
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11707 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11708 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11710 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11716 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11717 then
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11719 $as_echo_n "checking for -lXcursor... " >&6; }
11720 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11721 $as_echo_n "(cached) " >&6
11722 else
11723 ac_check_soname_save_LIBS=$LIBS
11724 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11728 /* Override any GCC internal prototype to avoid an error.
11729 Use char because int might match the return type of a GCC
11730 builtin and then its argument prototype would still apply. */
11731 #ifdef __cplusplus
11732 extern "C"
11733 #endif
11734 char XcursorImageLoadCursor ();
11736 main ()
11738 return XcursorImageLoadCursor ();
11740 return 0;
11742 _ACEOF
11743 if ac_fn_c_try_link "$LINENO"; then :
11744 case "$LIBEXT" in
11745 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11746 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'` ;;
11747 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11748 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11749 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11750 fi ;;
11751 esac
11752 else
11753 ac_cv_lib_soname_Xcursor=
11755 rm -f core conftest.err conftest.$ac_objext \
11756 conftest$ac_exeext conftest.$ac_ext
11757 LIBS=$ac_check_soname_save_LIBS
11759 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11761 $as_echo "not found" >&6; }
11763 else
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11765 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11767 cat >>confdefs.h <<_ACEOF
11768 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11769 _ACEOF
11774 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11775 case "x$with_xcursor" in
11776 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11777 xno) ;;
11778 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11779 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11780 esac
11784 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11785 then
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11787 $as_echo_n "checking for -lXi... " >&6; }
11788 if ${ac_cv_lib_soname_Xi+:} false; then :
11789 $as_echo_n "(cached) " >&6
11790 else
11791 ac_check_soname_save_LIBS=$LIBS
11792 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11796 /* Override any GCC internal prototype to avoid an error.
11797 Use char because int might match the return type of a GCC
11798 builtin and then its argument prototype would still apply. */
11799 #ifdef __cplusplus
11800 extern "C"
11801 #endif
11802 char XOpenDevice ();
11804 main ()
11806 return XOpenDevice ();
11808 return 0;
11810 _ACEOF
11811 if ac_fn_c_try_link "$LINENO"; then :
11812 case "$LIBEXT" in
11813 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11814 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'` ;;
11815 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11816 if ${ac_cv_lib_soname_Xi:+false} :; then :
11817 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11818 fi ;;
11819 esac
11820 else
11821 ac_cv_lib_soname_Xi=
11823 rm -f core conftest.err conftest.$ac_objext \
11824 conftest$ac_exeext conftest.$ac_ext
11825 LIBS=$ac_check_soname_save_LIBS
11827 if ${ac_cv_lib_soname_Xi:+false} :; then :
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11829 $as_echo "not found" >&6; }
11831 else
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11833 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11835 cat >>confdefs.h <<_ACEOF
11836 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11837 _ACEOF
11842 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11843 case "x$with_xinput" in
11844 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11845 xno) ;;
11846 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11847 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11848 esac
11852 if test "x$ac_cv_lib_soname_Xi" != x
11853 then
11854 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11855 case "x$with_xinput2" in
11856 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11857 xno) ;;
11858 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11859 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11860 esac
11865 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11866 then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11868 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11869 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11870 $as_echo_n "(cached) " >&6
11871 else
11872 ac_check_lib_save_LIBS=$LIBS
11873 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11880 #ifdef __cplusplus
11881 extern "C"
11882 #endif
11883 char XShmQueryExtension ();
11885 main ()
11887 return XShmQueryExtension ();
11889 return 0;
11891 _ACEOF
11892 if ac_fn_c_try_link "$LINENO"; then :
11893 ac_cv_lib_Xext_XShmQueryExtension=yes
11894 else
11895 ac_cv_lib_Xext_XShmQueryExtension=no
11897 rm -f core conftest.err conftest.$ac_objext \
11898 conftest$ac_exeext conftest.$ac_ext
11899 LIBS=$ac_check_lib_save_LIBS
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11902 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11903 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11905 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11910 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11911 case "x$with_xshm" in
11912 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11913 xno) ;;
11914 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11915 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11916 esac
11920 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11921 then
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11923 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11924 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11925 $as_echo_n "(cached) " >&6
11926 else
11927 ac_check_lib_save_LIBS=$LIBS
11928 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11935 #ifdef __cplusplus
11936 extern "C"
11937 #endif
11938 char XShapeQueryExtension ();
11940 main ()
11942 return XShapeQueryExtension ();
11944 return 0;
11946 _ACEOF
11947 if ac_fn_c_try_link "$LINENO"; then :
11948 ac_cv_lib_Xext_XShapeQueryExtension=yes
11949 else
11950 ac_cv_lib_Xext_XShapeQueryExtension=no
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_lib_save_LIBS
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11957 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11958 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11960 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11965 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11966 case "x$with_xshape" in
11967 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11968 xno) ;;
11969 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11970 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11971 esac
11975 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11976 then
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11978 $as_echo_n "checking for -lXxf86vm... " >&6; }
11979 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11980 $as_echo_n "(cached) " >&6
11981 else
11982 ac_check_soname_save_LIBS=$LIBS
11983 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11987 /* Override any GCC internal prototype to avoid an error.
11988 Use char because int might match the return type of a GCC
11989 builtin and then its argument prototype would still apply. */
11990 #ifdef __cplusplus
11991 extern "C"
11992 #endif
11993 char XF86VidModeQueryExtension ();
11995 main ()
11997 return XF86VidModeQueryExtension ();
11999 return 0;
12001 _ACEOF
12002 if ac_fn_c_try_link "$LINENO"; then :
12003 case "$LIBEXT" in
12004 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12005 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'` ;;
12006 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12007 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12008 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12009 fi ;;
12010 esac
12011 else
12012 ac_cv_lib_soname_Xxf86vm=
12014 rm -f core conftest.err conftest.$ac_objext \
12015 conftest$ac_exeext conftest.$ac_ext
12016 LIBS=$ac_check_soname_save_LIBS
12018 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12020 $as_echo "not found" >&6; }
12022 else
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12024 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12026 cat >>confdefs.h <<_ACEOF
12027 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12028 _ACEOF
12033 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12034 case "x$with_xxf86vm" in
12035 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12036 xno) ;;
12037 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12038 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12039 esac
12043 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12044 then
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12046 $as_echo_n "checking for -lXrender... " >&6; }
12047 if ${ac_cv_lib_soname_Xrender+:} false; then :
12048 $as_echo_n "(cached) " >&6
12049 else
12050 ac_check_soname_save_LIBS=$LIBS
12051 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12055 /* Override any GCC internal prototype to avoid an error.
12056 Use char because int might match the return type of a GCC
12057 builtin and then its argument prototype would still apply. */
12058 #ifdef __cplusplus
12059 extern "C"
12060 #endif
12061 char XRenderQueryExtension ();
12063 main ()
12065 return XRenderQueryExtension ();
12067 return 0;
12069 _ACEOF
12070 if ac_fn_c_try_link "$LINENO"; then :
12071 case "$LIBEXT" in
12072 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12073 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'` ;;
12074 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12075 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12076 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12077 fi ;;
12078 esac
12079 else
12080 ac_cv_lib_soname_Xrender=
12082 rm -f core conftest.err conftest.$ac_objext \
12083 conftest$ac_exeext conftest.$ac_ext
12084 LIBS=$ac_check_soname_save_LIBS
12086 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12088 $as_echo "not found" >&6; }
12090 else
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12092 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12094 cat >>confdefs.h <<_ACEOF
12095 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12096 _ACEOF
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12099 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12100 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12101 $as_echo_n "(cached) " >&6
12102 else
12103 ac_check_lib_save_LIBS=$LIBS
12104 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12108 /* Override any GCC internal prototype to avoid an error.
12109 Use char because int might match the return type of a GCC
12110 builtin and then its argument prototype would still apply. */
12111 #ifdef __cplusplus
12112 extern "C"
12113 #endif
12114 char XRenderSetPictureTransform ();
12116 main ()
12118 return XRenderSetPictureTransform ();
12120 return 0;
12122 _ACEOF
12123 if ac_fn_c_try_link "$LINENO"; then :
12124 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12125 else
12126 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12128 rm -f core conftest.err conftest.$ac_objext \
12129 conftest$ac_exeext conftest.$ac_ext
12130 LIBS=$ac_check_lib_save_LIBS
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12133 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12134 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12136 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12141 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12142 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12143 $as_echo_n "(cached) " >&6
12144 else
12145 ac_check_lib_save_LIBS=$LIBS
12146 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12150 /* Override any GCC internal prototype to avoid an error.
12151 Use char because int might match the return type of a GCC
12152 builtin and then its argument prototype would still apply. */
12153 #ifdef __cplusplus
12154 extern "C"
12155 #endif
12156 char XRenderCreateLinearGradient ();
12158 main ()
12160 return XRenderCreateLinearGradient ();
12162 return 0;
12164 _ACEOF
12165 if ac_fn_c_try_link "$LINENO"; then :
12166 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12167 else
12168 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12170 rm -f core conftest.err conftest.$ac_objext \
12171 conftest$ac_exeext conftest.$ac_ext
12172 LIBS=$ac_check_lib_save_LIBS
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12175 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12176 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12178 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12185 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12186 case "x$with_xrender" in
12187 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12188 xno) ;;
12189 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12190 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12191 esac
12195 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12196 then
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12199 #include <X11/Xlib.h>
12200 #include <X11/extensions/Xrandr.h>
12202 main ()
12204 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12206 return 0;
12208 _ACEOF
12209 if ac_fn_c_try_compile "$LINENO"; then :
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12211 $as_echo_n "checking for -lXrandr... " >&6; }
12212 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12213 $as_echo_n "(cached) " >&6
12214 else
12215 ac_check_soname_save_LIBS=$LIBS
12216 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12223 #ifdef __cplusplus
12224 extern "C"
12225 #endif
12226 char XRRQueryExtension ();
12228 main ()
12230 return XRRQueryExtension ();
12232 return 0;
12234 _ACEOF
12235 if ac_fn_c_try_link "$LINENO"; then :
12236 case "$LIBEXT" in
12237 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12238 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'` ;;
12239 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12240 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12241 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12242 fi ;;
12243 esac
12244 else
12245 ac_cv_lib_soname_Xrandr=
12247 rm -f core conftest.err conftest.$ac_objext \
12248 conftest$ac_exeext conftest.$ac_ext
12249 LIBS=$ac_check_soname_save_LIBS
12251 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12253 $as_echo "not found" >&6; }
12255 else
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12257 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12259 cat >>confdefs.h <<_ACEOF
12260 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12261 _ACEOF
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12265 #include <X11/Xlib.h>
12266 #include <X11/extensions/Xrandr.h>
12268 main ()
12270 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12272 return 0;
12274 _ACEOF
12275 if ac_fn_c_try_compile "$LINENO"; then :
12277 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12279 else
12280 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12287 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12288 case "x$with_xrandr" in
12289 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12290 xno) ;;
12291 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12292 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12293 esac
12297 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12298 then
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12301 #include <X11/Xlib.h>
12302 #include <X11/extensions/Xfixes.h>
12304 main ()
12306 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12308 return 0;
12310 _ACEOF
12311 if ac_fn_c_try_compile "$LINENO"; then :
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12313 $as_echo_n "checking for -lXfixes... " >&6; }
12314 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12315 $as_echo_n "(cached) " >&6
12316 else
12317 ac_check_soname_save_LIBS=$LIBS
12318 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12322 /* Override any GCC internal prototype to avoid an error.
12323 Use char because int might match the return type of a GCC
12324 builtin and then its argument prototype would still apply. */
12325 #ifdef __cplusplus
12326 extern "C"
12327 #endif
12328 char XFixesQueryVersion ();
12330 main ()
12332 return XFixesQueryVersion ();
12334 return 0;
12336 _ACEOF
12337 if ac_fn_c_try_link "$LINENO"; then :
12338 case "$LIBEXT" in
12339 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12340 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'` ;;
12341 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12342 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12343 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12344 fi ;;
12345 esac
12346 else
12347 ac_cv_lib_soname_Xfixes=
12349 rm -f core conftest.err conftest.$ac_objext \
12350 conftest$ac_exeext conftest.$ac_ext
12351 LIBS=$ac_check_soname_save_LIBS
12353 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12355 $as_echo "not found" >&6; }
12357 else
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12359 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12361 cat >>confdefs.h <<_ACEOF
12362 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12363 _ACEOF
12368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12370 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12371 case "x$with_xfixes" in
12372 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12373 xno) ;;
12374 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12375 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12376 esac
12380 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12381 then
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12384 #include <X11/Xlib.h>
12385 #include <X11/extensions/Xinerama.h>
12387 main ()
12389 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12391 return 0;
12393 _ACEOF
12394 if ac_fn_c_try_compile "$LINENO"; then :
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12396 $as_echo_n "checking for -lXinerama... " >&6; }
12397 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12398 $as_echo_n "(cached) " >&6
12399 else
12400 ac_check_soname_save_LIBS=$LIBS
12401 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12408 #ifdef __cplusplus
12409 extern "C"
12410 #endif
12411 char XineramaQueryScreens ();
12413 main ()
12415 return XineramaQueryScreens ();
12417 return 0;
12419 _ACEOF
12420 if ac_fn_c_try_link "$LINENO"; then :
12421 case "$LIBEXT" in
12422 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12423 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'` ;;
12424 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12425 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12426 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12427 fi ;;
12428 esac
12429 else
12430 ac_cv_lib_soname_Xinerama=
12432 rm -f core conftest.err conftest.$ac_objext \
12433 conftest$ac_exeext conftest.$ac_ext
12434 LIBS=$ac_check_soname_save_LIBS
12436 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12438 $as_echo "not found" >&6; }
12440 else
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12442 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12444 cat >>confdefs.h <<_ACEOF
12445 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12446 _ACEOF
12451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12453 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12454 case "x$with_xinerama" in
12455 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12456 xno) ;;
12457 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12458 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12459 esac
12463 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12464 then
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12466 $as_echo_n "checking for -lXcomposite... " >&6; }
12467 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12468 $as_echo_n "(cached) " >&6
12469 else
12470 ac_check_soname_save_LIBS=$LIBS
12471 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12473 /* end confdefs.h. */
12475 /* Override any GCC internal prototype to avoid an error.
12476 Use char because int might match the return type of a GCC
12477 builtin and then its argument prototype would still apply. */
12478 #ifdef __cplusplus
12479 extern "C"
12480 #endif
12481 char XCompositeRedirectWindow ();
12483 main ()
12485 return XCompositeRedirectWindow ();
12487 return 0;
12489 _ACEOF
12490 if ac_fn_c_try_link "$LINENO"; then :
12491 case "$LIBEXT" in
12492 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12493 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'` ;;
12494 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12495 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12496 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12497 fi ;;
12498 esac
12499 else
12500 ac_cv_lib_soname_Xcomposite=
12502 rm -f core conftest.err conftest.$ac_objext \
12503 conftest$ac_exeext conftest.$ac_ext
12504 LIBS=$ac_check_soname_save_LIBS
12506 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12508 $as_echo "not found" >&6; }
12510 else
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12512 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12514 cat >>confdefs.h <<_ACEOF
12515 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12516 _ACEOF
12521 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12522 case "x$with_xcomposite" in
12523 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12524 xno) ;;
12525 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12526 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12527 esac
12531 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12532 #include <X11/Xlib.h>
12533 #endif
12535 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12537 cat >>confdefs.h <<_ACEOF
12538 #define HAVE_XICCALLBACK_CALLBACK 1
12539 _ACEOF
12543 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12544 #include <X11/Xlib.h>
12545 #endif
12547 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12549 cat >>confdefs.h <<_ACEOF
12550 #define HAVE_XEVENT_XCOOKIE 1
12551 _ACEOF
12558 opengl_msg=""
12559 if test "x$with_opengl" != "xno"
12560 then
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12562 $as_echo_n "checking for -lGL... " >&6; }
12563 if ${ac_cv_lib_soname_GL+:} false; then :
12564 $as_echo_n "(cached) " >&6
12565 else
12566 ac_check_soname_save_LIBS=$LIBS
12567 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12571 /* Override any GCC internal prototype to avoid an error.
12572 Use char because int might match the return type of a GCC
12573 builtin and then its argument prototype would still apply. */
12574 #ifdef __cplusplus
12575 extern "C"
12576 #endif
12577 char glXCreateContext ();
12579 main ()
12581 return glXCreateContext ();
12583 return 0;
12585 _ACEOF
12586 if ac_fn_c_try_link "$LINENO"; then :
12587 case "$LIBEXT" in
12588 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12589 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'` ;;
12590 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12591 if ${ac_cv_lib_soname_GL:+false} :; then :
12592 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12593 fi ;;
12594 esac
12595 else
12596 ac_cv_lib_soname_GL=
12598 rm -f core conftest.err conftest.$ac_objext \
12599 conftest$ac_exeext conftest.$ac_ext
12600 LIBS=$ac_check_soname_save_LIBS
12602 if ${ac_cv_lib_soname_GL:+false} :; then :
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12604 $as_echo "not found" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12606 $as_echo_n "checking for -lGL... " >&6; }
12607 if ${ac_cv_lib_soname_GL+:} false; then :
12608 $as_echo_n "(cached) " >&6
12609 else
12610 ac_check_soname_save_LIBS=$LIBS
12611 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"
12612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12613 /* end confdefs.h. */
12615 /* Override any GCC internal prototype to avoid an error.
12616 Use char because int might match the return type of a GCC
12617 builtin and then its argument prototype would still apply. */
12618 #ifdef __cplusplus
12619 extern "C"
12620 #endif
12621 char glXCreateContext ();
12623 main ()
12625 return glXCreateContext ();
12627 return 0;
12629 _ACEOF
12630 if ac_fn_c_try_link "$LINENO"; then :
12631 case "$LIBEXT" in
12632 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12633 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'` ;;
12634 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12635 if ${ac_cv_lib_soname_GL:+false} :; then :
12636 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12637 fi ;;
12638 esac
12639 else
12640 ac_cv_lib_soname_GL=
12642 rm -f core conftest.err conftest.$ac_objext \
12643 conftest$ac_exeext conftest.$ac_ext
12644 LIBS=$ac_check_soname_save_LIBS
12646 if ${ac_cv_lib_soname_GL:+false} :; then :
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12648 $as_echo "not found" >&6; }
12649 if test -f /usr/X11R6/lib/libGL.a
12650 then
12651 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12652 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12653 else
12654 opengl_msg="No OpenGL library found on this system."
12656 else
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12658 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12660 cat >>confdefs.h <<_ACEOF
12661 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12662 _ACEOF
12664 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"
12666 else
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12668 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12670 cat >>confdefs.h <<_ACEOF
12671 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12672 _ACEOF
12674 OPENGL_LIBS="-lGL"
12676 if test "x$with_osmesa" != "xno"
12677 then
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12679 $as_echo_n "checking for -lOSMesa... " >&6; }
12680 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12681 $as_echo_n "(cached) " >&6
12682 else
12683 ac_check_soname_save_LIBS=$LIBS
12684 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12691 #ifdef __cplusplus
12692 extern "C"
12693 #endif
12694 char OSMesaGetProcAddress ();
12696 main ()
12698 return OSMesaGetProcAddress ();
12700 return 0;
12702 _ACEOF
12703 if ac_fn_c_try_link "$LINENO"; then :
12704 case "$LIBEXT" in
12705 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12706 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'` ;;
12707 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12708 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12709 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12710 fi ;;
12711 esac
12712 else
12713 ac_cv_lib_soname_OSMesa=
12715 rm -f core conftest.err conftest.$ac_objext \
12716 conftest$ac_exeext conftest.$ac_ext
12717 LIBS=$ac_check_soname_save_LIBS
12719 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12721 $as_echo "not found" >&6; }
12723 else
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12725 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12727 cat >>confdefs.h <<_ACEOF
12728 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12729 _ACEOF
12733 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12734 case "x$with_osmesa" in
12735 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12736 xno) ;;
12737 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12738 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12739 esac
12744 if test -n "$opengl_msg"; then :
12745 case "x$with_opengl" in
12746 x) as_fn_append wine_warnings "|$opengl_msg
12747 OpenGL and Direct3D won't be supported." ;;
12748 xno) ;;
12749 *) as_fn_error $? "$opengl_msg
12750 OpenGL and Direct3D won't be supported.
12751 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12752 esac
12756 CPPFLAGS="$ac_save_CPPFLAGS"
12757 else
12758 X_CFLAGS=""
12759 X_LIBS=""
12762 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12763 then
12764 if test "x$X_LIBS" = "x"; then :
12765 case "x$with_x" in
12766 xno) ;;
12767 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12768 without X support, which probably isn't what you want. You will need
12769 to install ${notice_platform}development packages of Xlib at the very least.
12770 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12771 esac
12772 enable_winex11_drv=${enable_winex11_drv:-no}
12774 else
12775 if test "x$X_LIBS" = "x"; then :
12776 case "x$with_x" in
12777 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12778 xno) ;;
12779 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12780 This is an error since --with-x was requested." "$LINENO" 5 ;;
12781 esac
12782 enable_winex11_drv=${enable_winex11_drv:-no}
12786 if test "$ac_cv_header_CL_cl_h" = "yes"
12787 then
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12789 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12790 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12791 $as_echo_n "(cached) " >&6
12792 else
12793 ac_check_lib_save_LIBS=$LIBS
12794 LIBS="-lOpenCL $LIBS"
12795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12796 /* end confdefs.h. */
12798 /* Override any GCC internal prototype to avoid an error.
12799 Use char because int might match the return type of a GCC
12800 builtin and then its argument prototype would still apply. */
12801 #ifdef __cplusplus
12802 extern "C"
12803 #endif
12804 char clGetPlatformInfo ();
12806 main ()
12808 return clGetPlatformInfo ();
12810 return 0;
12812 _ACEOF
12813 if ac_fn_c_try_link "$LINENO"; then :
12814 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12815 else
12816 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12818 rm -f core conftest.err conftest.$ac_objext \
12819 conftest$ac_exeext conftest.$ac_ext
12820 LIBS=$ac_check_lib_save_LIBS
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12823 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12824 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12825 OPENCL_LIBS="-lOpenCL"
12830 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12831 case "x$with_opencl" in
12832 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12833 xno) ;;
12834 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12835 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12836 esac
12837 enable_opencl=${enable_opencl:-no}
12840 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12841 then
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12843 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12844 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12845 $as_echo_n "(cached) " >&6
12846 else
12847 ac_check_lib_save_LIBS=$LIBS
12848 LIBS="-lpcap $LIBS"
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12855 #ifdef __cplusplus
12856 extern "C"
12857 #endif
12858 char pcap_create ();
12860 main ()
12862 return pcap_create ();
12864 return 0;
12866 _ACEOF
12867 if ac_fn_c_try_link "$LINENO"; then :
12868 ac_cv_lib_pcap_pcap_create=yes
12869 else
12870 ac_cv_lib_pcap_pcap_create=no
12872 rm -f core conftest.err conftest.$ac_objext \
12873 conftest$ac_exeext conftest.$ac_ext
12874 LIBS=$ac_check_lib_save_LIBS
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12877 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12878 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12879 PCAP_LIBS="-lpcap"
12884 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12885 case "x$with_pcap" in
12886 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12887 xno) ;;
12888 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12889 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12890 esac
12891 enable_wpcap=${enable_wpcap:-no}
12894 if test "x$with_inotify" != "xno"
12895 then
12896 if ${INOTIFY_CFLAGS:+false} :; then :
12897 if ${PKG_CONFIG+:} false; then :
12898 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
12902 if ${INOTIFY_LIBS:+false} :; then :
12903 if ${PKG_CONFIG+:} false; then :
12904 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
12909 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
12910 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
12911 ac_save_CPPFLAGS=$CPPFLAGS
12912 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
12913 for ac_header in sys/inotify.h
12914 do :
12915 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
12916 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
12917 cat >>confdefs.h <<_ACEOF
12918 #define HAVE_SYS_INOTIFY_H 1
12919 _ACEOF
12923 done
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
12926 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
12927 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
12928 $as_echo_n "(cached) " >&6
12929 else
12930 ac_check_lib_save_LIBS=$LIBS
12931 LIBS="-linotify $INOTIFY_LIBS $LIBS"
12932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12933 /* end confdefs.h. */
12935 /* Override any GCC internal prototype to avoid an error.
12936 Use char because int might match the return type of a GCC
12937 builtin and then its argument prototype would still apply. */
12938 #ifdef __cplusplus
12939 extern "C"
12940 #endif
12941 char inotify_add_watch ();
12943 main ()
12945 return inotify_add_watch ();
12947 return 0;
12949 _ACEOF
12950 if ac_fn_c_try_link "$LINENO"; then :
12951 ac_cv_lib_inotify_inotify_add_watch=yes
12952 else
12953 ac_cv_lib_inotify_inotify_add_watch=no
12955 rm -f core conftest.err conftest.$ac_objext \
12956 conftest$ac_exeext conftest.$ac_ext
12957 LIBS=$ac_check_lib_save_LIBS
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
12960 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
12961 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
12963 else
12964 INOTIFY_LIBS=""
12967 CPPFLAGS=$ac_save_CPPFLAGS
12970 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
12971 case "x$with_inotify" in
12972 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
12973 xno) ;;
12974 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
12975 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
12976 esac
12980 if test "x$with_dbus" != "xno"
12981 then
12982 if ${DBUS_CFLAGS:+false} :; then :
12983 if ${PKG_CONFIG+:} false; then :
12984 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12988 if ${DBUS_LIBS:+false} :; then :
12989 if ${PKG_CONFIG+:} false; then :
12990 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12995 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12996 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12997 ac_save_CPPFLAGS=$CPPFLAGS
12998 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12999 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13000 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13002 $as_echo_n "checking for -ldbus-1... " >&6; }
13003 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13004 $as_echo_n "(cached) " >&6
13005 else
13006 ac_check_soname_save_LIBS=$LIBS
13007 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13009 /* end confdefs.h. */
13011 /* Override any GCC internal prototype to avoid an error.
13012 Use char because int might match the return type of a GCC
13013 builtin and then its argument prototype would still apply. */
13014 #ifdef __cplusplus
13015 extern "C"
13016 #endif
13017 char dbus_connection_close ();
13019 main ()
13021 return dbus_connection_close ();
13023 return 0;
13025 _ACEOF
13026 if ac_fn_c_try_link "$LINENO"; then :
13027 case "$LIBEXT" in
13028 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13029 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'` ;;
13030 *) 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'`
13031 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13032 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13033 fi ;;
13034 esac
13035 else
13036 ac_cv_lib_soname_dbus_1=
13038 rm -f core conftest.err conftest.$ac_objext \
13039 conftest$ac_exeext conftest.$ac_ext
13040 LIBS=$ac_check_soname_save_LIBS
13042 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13044 $as_echo "not found" >&6; }
13045 DBUS_CFLAGS=""
13046 else
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13048 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13050 cat >>confdefs.h <<_ACEOF
13051 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13052 _ACEOF
13056 else
13057 DBUS_CFLAGS=""
13061 CPPFLAGS=$ac_save_CPPFLAGS
13064 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13065 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13066 case "x$with_dbus" in
13067 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13068 xno) ;;
13069 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13070 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13071 esac
13075 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13076 then
13077 if ${HAL_CFLAGS:+false} :; then :
13078 if ${PKG_CONFIG+:} false; then :
13079 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13083 if ${HAL_LIBS:+false} :; then :
13084 if ${PKG_CONFIG+:} false; then :
13085 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13089 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13090 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13091 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13092 ac_save_CPPFLAGS=$CPPFLAGS
13093 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13094 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13095 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13097 $as_echo_n "checking for -lhal... " >&6; }
13098 if ${ac_cv_lib_soname_hal+:} false; then :
13099 $as_echo_n "(cached) " >&6
13100 else
13101 ac_check_soname_save_LIBS=$LIBS
13102 LIBS="-lhal $HAL_LIBS $LIBS"
13103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13104 /* end confdefs.h. */
13106 /* Override any GCC internal prototype to avoid an error.
13107 Use char because int might match the return type of a GCC
13108 builtin and then its argument prototype would still apply. */
13109 #ifdef __cplusplus
13110 extern "C"
13111 #endif
13112 char libhal_ctx_new ();
13114 main ()
13116 return libhal_ctx_new ();
13118 return 0;
13120 _ACEOF
13121 if ac_fn_c_try_link "$LINENO"; then :
13122 case "$LIBEXT" in
13123 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13124 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'` ;;
13125 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13126 if ${ac_cv_lib_soname_hal:+false} :; then :
13127 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13128 fi ;;
13129 esac
13130 else
13131 ac_cv_lib_soname_hal=
13133 rm -f core conftest.err conftest.$ac_objext \
13134 conftest$ac_exeext conftest.$ac_ext
13135 LIBS=$ac_check_soname_save_LIBS
13137 if ${ac_cv_lib_soname_hal:+false} :; then :
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13139 $as_echo "not found" >&6; }
13140 HAL_CFLAGS=""
13141 else
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13143 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13145 cat >>confdefs.h <<_ACEOF
13146 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13147 _ACEOF
13151 else
13152 HAL_CFLAGS=""
13156 CPPFLAGS=$ac_save_CPPFLAGS
13158 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13159 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13160 case "x$with_hal" in
13161 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13162 xno) ;;
13163 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13164 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13165 esac
13170 if test "x$with_gnutls" != "xno"
13171 then
13172 if ${GNUTLS_CFLAGS:+false} :; then :
13173 if ${PKG_CONFIG+:} false; then :
13174 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13178 if ${GNUTLS_LIBS:+false} :; then :
13179 if ${PKG_CONFIG+:} false; then :
13180 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13184 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13185 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13186 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13187 ac_save_CPPFLAGS=$CPPFLAGS
13188 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13189 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13190 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13193 #include <gnutls/gnutls.h>
13194 #include <gnutls/crypto.h>
13196 main ()
13198 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13200 return 0;
13202 _ACEOF
13203 if ac_fn_c_try_compile "$LINENO"; then :
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13205 $as_echo_n "checking for -lgnutls... " >&6; }
13206 if ${ac_cv_lib_soname_gnutls+:} false; then :
13207 $as_echo_n "(cached) " >&6
13208 else
13209 ac_check_soname_save_LIBS=$LIBS
13210 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13212 /* end confdefs.h. */
13214 /* Override any GCC internal prototype to avoid an error.
13215 Use char because int might match the return type of a GCC
13216 builtin and then its argument prototype would still apply. */
13217 #ifdef __cplusplus
13218 extern "C"
13219 #endif
13220 char gnutls_global_init ();
13222 main ()
13224 return gnutls_global_init ();
13226 return 0;
13228 _ACEOF
13229 if ac_fn_c_try_link "$LINENO"; then :
13230 case "$LIBEXT" in
13231 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13232 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'` ;;
13233 *) 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'`
13234 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13235 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'`
13236 fi ;;
13237 esac
13238 else
13239 ac_cv_lib_soname_gnutls=
13241 rm -f core conftest.err conftest.$ac_objext \
13242 conftest$ac_exeext conftest.$ac_ext
13243 LIBS=$ac_check_soname_save_LIBS
13245 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13247 $as_echo "not found" >&6; }
13248 GNUTLS_CFLAGS=""
13249 else
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13251 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13253 cat >>confdefs.h <<_ACEOF
13254 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13255 _ACEOF
13259 ac_wine_check_funcs_save_LIBS="$LIBS"
13260 LIBS="$LIBS $GNUTLS_LIBS"
13261 for ac_func in gnutls_cipher_init
13262 do :
13263 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13264 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13265 cat >>confdefs.h <<_ACEOF
13266 #define HAVE_GNUTLS_CIPHER_INIT 1
13267 _ACEOF
13269 else
13270 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13272 done
13274 LIBS="$ac_wine_check_funcs_save_LIBS"
13276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13277 else
13278 GNUTLS_CFLAGS=""
13282 CPPFLAGS=$ac_save_CPPFLAGS
13285 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13286 case "x$with_gnutls" in
13287 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13288 xno) ;;
13289 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13290 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13291 esac
13295 if test "x$with_sane" != "xno"
13296 then
13297 if ${SANE_CFLAGS:+false} :; then :
13298 if ${PKG_CONFIG+:} false; then :
13299 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13302 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13303 if ${SANE_LIBS:+false} :; then :
13304 if ${PKG_CONFIG+:} false; then :
13305 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13308 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13310 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13311 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13312 ac_save_CPPFLAGS=$CPPFLAGS
13313 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13314 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13315 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
13317 $as_echo_n "checking for sane_init in -lsane... " >&6; }
13318 if ${ac_cv_lib_sane_sane_init+:} false; then :
13319 $as_echo_n "(cached) " >&6
13320 else
13321 ac_check_lib_save_LIBS=$LIBS
13322 LIBS="-lsane $SANE_LIBS $LIBS"
13323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h. */
13326 /* Override any GCC internal prototype to avoid an error.
13327 Use char because int might match the return type of a GCC
13328 builtin and then its argument prototype would still apply. */
13329 #ifdef __cplusplus
13330 extern "C"
13331 #endif
13332 char sane_init ();
13334 main ()
13336 return sane_init ();
13338 return 0;
13340 _ACEOF
13341 if ac_fn_c_try_link "$LINENO"; then :
13342 ac_cv_lib_sane_sane_init=yes
13343 else
13344 ac_cv_lib_sane_sane_init=no
13346 rm -f core conftest.err conftest.$ac_objext \
13347 conftest$ac_exeext conftest.$ac_ext
13348 LIBS=$ac_check_lib_save_LIBS
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
13351 $as_echo "$ac_cv_lib_sane_sane_init" >&6; }
13352 if test "x$ac_cv_lib_sane_sane_init" = xyes; then :
13359 CPPFLAGS=$ac_save_CPPFLAGS
13362 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13363 case "x$with_sane" in
13364 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13365 xno) ;;
13366 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13367 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13368 esac
13369 enable_sane_ds=${enable_sane_ds:-no}
13372 if test "x$with_usb" != "xno"
13373 then
13374 if ${USB_CFLAGS:+false} :; then :
13375 if ${PKG_CONFIG+:} false; then :
13376 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13380 if ${USB_LIBS:+false} :; then :
13381 if ${PKG_CONFIG+:} false; then :
13382 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13386 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13387 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13388 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13389 ac_save_CPPFLAGS=$CPPFLAGS
13390 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13391 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13392 if test "x$ac_cv_header_libusb_h" = xyes; then :
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13394 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13395 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13396 $as_echo_n "(cached) " >&6
13397 else
13398 ac_check_lib_save_LIBS=$LIBS
13399 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13403 /* Override any GCC internal prototype to avoid an error.
13404 Use char because int might match the return type of a GCC
13405 builtin and then its argument prototype would still apply. */
13406 #ifdef __cplusplus
13407 extern "C"
13408 #endif
13409 char libusb_interrupt_event_handler ();
13411 main ()
13413 return libusb_interrupt_event_handler ();
13415 return 0;
13417 _ACEOF
13418 if ac_fn_c_try_link "$LINENO"; then :
13419 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13420 else
13421 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13423 rm -f core conftest.err conftest.$ac_objext \
13424 conftest$ac_exeext conftest.$ac_ext
13425 LIBS=$ac_check_lib_save_LIBS
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13428 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13429 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13431 else
13432 USB_LIBS=""
13435 else
13436 USB_LIBS=""
13440 CPPFLAGS=$ac_save_CPPFLAGS
13443 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13444 case "x$with_usb" in
13445 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13446 xno) ;;
13447 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13448 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13449 esac
13450 enable_wineusb_sys=${enable_wineusb_sys:-no}
13453 if test "x$with_v4l2" != "xno"
13454 then
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13456 $as_echo_n "checking for -lv4l2... " >&6; }
13457 if ${ac_cv_lib_soname_v4l2+:} false; then :
13458 $as_echo_n "(cached) " >&6
13459 else
13460 ac_check_soname_save_LIBS=$LIBS
13461 LIBS="-lv4l2 $LIBS"
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13465 /* Override any GCC internal prototype to avoid an error.
13466 Use char because int might match the return type of a GCC
13467 builtin and then its argument prototype would still apply. */
13468 #ifdef __cplusplus
13469 extern "C"
13470 #endif
13471 char v4l2_open ();
13473 main ()
13475 return v4l2_open ();
13477 return 0;
13479 _ACEOF
13480 if ac_fn_c_try_link "$LINENO"; then :
13481 case "$LIBEXT" in
13482 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13483 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'` ;;
13484 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13485 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13486 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13487 fi ;;
13488 esac
13489 else
13490 ac_cv_lib_soname_v4l2=
13492 rm -f core conftest.err conftest.$ac_objext \
13493 conftest$ac_exeext conftest.$ac_ext
13494 LIBS=$ac_check_soname_save_LIBS
13496 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13498 $as_echo "not found" >&6; }
13500 else
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13502 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13504 cat >>confdefs.h <<_ACEOF
13505 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13506 _ACEOF
13511 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13512 case "x$with_v4l2" in
13513 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13514 xno) ;;
13515 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13516 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13517 esac
13521 if test "x$with_gphoto" != "xno"
13522 then
13523 if ${GPHOTO2_CFLAGS:+false} :; then :
13524 if ${PKG_CONFIG+:} false; then :
13525 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13528 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13529 if ${GPHOTO2_LIBS:+false} :; then :
13530 if ${PKG_CONFIG+:} false; then :
13531 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13534 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13535 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13536 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13537 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13538 ac_save_CPPFLAGS=$CPPFLAGS
13539 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13540 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13541 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13543 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13544 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13545 $as_echo_n "(cached) " >&6
13546 else
13547 ac_check_lib_save_LIBS=$LIBS
13548 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13550 /* end confdefs.h. */
13552 /* Override any GCC internal prototype to avoid an error.
13553 Use char because int might match the return type of a GCC
13554 builtin and then its argument prototype would still apply. */
13555 #ifdef __cplusplus
13556 extern "C"
13557 #endif
13558 char gp_camera_new ();
13560 main ()
13562 return gp_camera_new ();
13564 return 0;
13566 _ACEOF
13567 if ac_fn_c_try_link "$LINENO"; then :
13568 ac_cv_lib_gphoto2_gp_camera_new=yes
13569 else
13570 ac_cv_lib_gphoto2_gp_camera_new=no
13572 rm -f core conftest.err conftest.$ac_objext \
13573 conftest$ac_exeext conftest.$ac_ext
13574 LIBS=$ac_check_lib_save_LIBS
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13577 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13578 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13580 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13582 else
13583 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13586 else
13587 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13591 CPPFLAGS=$ac_save_CPPFLAGS
13593 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13594 if ${PKG_CONFIG+:} false; then :
13595 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13598 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13599 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13600 if ${PKG_CONFIG+:} false; then :
13601 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13604 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13605 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13606 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13607 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13608 ac_save_CPPFLAGS=$CPPFLAGS
13609 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13610 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13611 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13613 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13614 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13615 $as_echo_n "(cached) " >&6
13616 else
13617 ac_check_lib_save_LIBS=$LIBS
13618 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13622 /* Override any GCC internal prototype to avoid an error.
13623 Use char because int might match the return type of a GCC
13624 builtin and then its argument prototype would still apply. */
13625 #ifdef __cplusplus
13626 extern "C"
13627 #endif
13628 char gp_port_info_list_new ();
13630 main ()
13632 return gp_port_info_list_new ();
13634 return 0;
13636 _ACEOF
13637 if ac_fn_c_try_link "$LINENO"; then :
13638 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13639 else
13640 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13642 rm -f core conftest.err conftest.$ac_objext \
13643 conftest$ac_exeext conftest.$ac_ext
13644 LIBS=$ac_check_lib_save_LIBS
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13647 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13648 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13650 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13652 else
13653 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13656 else
13657 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13661 CPPFLAGS=$ac_save_CPPFLAGS
13664 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13665 case "x$with_gphoto" in
13666 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13667 xno) ;;
13668 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13669 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13670 esac
13673 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13674 case "x$with_gphoto" in
13675 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13676 xno) ;;
13677 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13678 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13679 esac
13684 if test "$ac_cv_header_resolv_h" = "yes"
13685 then
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13687 $as_echo_n "checking for resolver library... " >&6; }
13688 if ${ac_cv_have_resolv+:} false; then :
13689 $as_echo_n "(cached) " >&6
13690 else
13691 ac_save_LIBS="$LIBS"
13692 for lib in '' -lresolv
13694 LIBS="$lib $ac_save_LIBS"
13695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13696 /* end confdefs.h. */
13697 #ifdef HAVE_NETINET_IN_H
13698 #include <netinet/in.h>
13699 #endif
13700 #include <resolv.h>
13702 main ()
13704 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
13706 return 0;
13708 _ACEOF
13709 if ac_fn_c_try_link "$LINENO"; then :
13710 ac_cv_have_resolv=${lib:-"none required"}
13711 else
13712 ac_cv_have_resolv="not found"
13714 rm -f core conftest.err conftest.$ac_objext \
13715 conftest$ac_exeext conftest.$ac_ext
13716 test "x$ac_cv_have_resolv" = "xnot found" || break
13717 done
13718 LIBS="$ac_save_LIBS"
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13721 $as_echo "$ac_cv_have_resolv" >&6; }
13723 case "$ac_cv_have_resolv" in
13724 "not found") ;;
13725 "none required")
13727 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13730 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13732 RESOLV_LIBS=$ac_cv_have_resolv
13734 esac
13736 if test "x$ac_cv_have_resolv" != "xnot found"
13737 then
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
13739 $as_echo_n "checking for res_getservers... " >&6; }
13740 if ${ac_cv_have_res_getservers+:} false; then :
13741 $as_echo_n "(cached) " >&6
13742 else
13743 ac_save_LIBS="$LIBS"
13744 LIBS="$RESOLV_LIBS $LIBS"
13745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13747 #include <resolv.h>
13749 main ()
13751 res_getservers(NULL, NULL, 0);
13753 return 0;
13755 _ACEOF
13756 if ac_fn_c_try_link "$LINENO"; then :
13757 ac_cv_have_res_getservers=yes
13758 else
13759 ac_cv_have_res_getservers=no
13761 rm -f core conftest.err conftest.$ac_objext \
13762 conftest$ac_exeext conftest.$ac_ext
13763 LIBS="$ac_save_LIBS"
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
13766 $as_echo "$ac_cv_have_res_getservers" >&6; }
13767 if test "$ac_cv_have_res_getservers" = "yes"
13768 then
13770 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
13776 if test "x$with_freetype" != "xno"
13777 then
13778 if ${FREETYPE_CFLAGS:+false} :; then :
13779 if ${PKG_CONFIG+:} false; then :
13780 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13783 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13784 if ${FREETYPE_LIBS:+false} :; then :
13785 if ${PKG_CONFIG+:} false; then :
13786 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13789 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13790 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13791 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13792 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13793 ac_save_CPPFLAGS=$CPPFLAGS
13794 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13795 for ac_header in ft2build.h
13796 do :
13797 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13798 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13799 cat >>confdefs.h <<_ACEOF
13800 #define HAVE_FT2BUILD_H 1
13801 _ACEOF
13805 done
13807 if test "$ac_cv_header_ft2build_h" = "yes"
13808 then
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13810 $as_echo_n "checking for -lfreetype... " >&6; }
13811 if ${ac_cv_lib_soname_freetype+:} false; then :
13812 $as_echo_n "(cached) " >&6
13813 else
13814 ac_check_soname_save_LIBS=$LIBS
13815 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13817 /* end confdefs.h. */
13819 /* Override any GCC internal prototype to avoid an error.
13820 Use char because int might match the return type of a GCC
13821 builtin and then its argument prototype would still apply. */
13822 #ifdef __cplusplus
13823 extern "C"
13824 #endif
13825 char FT_Init_FreeType ();
13827 main ()
13829 return FT_Init_FreeType ();
13831 return 0;
13833 _ACEOF
13834 if ac_fn_c_try_link "$LINENO"; then :
13835 case "$LIBEXT" in
13836 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13837 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'` ;;
13838 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13839 if ${ac_cv_lib_soname_freetype:+false} :; then :
13840 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13841 fi ;;
13842 esac
13843 else
13844 ac_cv_lib_soname_freetype=
13846 rm -f core conftest.err conftest.$ac_objext \
13847 conftest$ac_exeext conftest.$ac_ext
13848 LIBS=$ac_check_soname_save_LIBS
13850 if ${ac_cv_lib_soname_freetype:+false} :; then :
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13852 $as_echo "not found" >&6; }
13853 FREETYPE_LIBS=""
13854 else
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13856 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13858 cat >>confdefs.h <<_ACEOF
13859 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13860 _ACEOF
13863 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13865 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13866 #include FT_MODULE_H
13868 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13870 cat >>confdefs.h <<_ACEOF
13871 #define HAVE_FT_TRUETYPEENGINETYPE 1
13872 _ACEOF
13878 else
13879 FREETYPE_CFLAGS=""
13880 FREETYPE_LIBS=""
13882 CPPFLAGS=$ac_save_CPPFLAGS
13885 if test "x$ac_cv_lib_soname_freetype" = x; then :
13886 case "x$with_freetype" in
13887 xno) ;;
13888 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13889 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13890 esac
13891 enable_fonts=${enable_fonts:-no}
13894 ac_wine_check_funcs_save_LIBS="$LIBS"
13895 LIBS="$LIBS $PTHREAD_LIBS"
13896 for ac_func in \
13897 pthread_getthreadid_np
13898 do :
13899 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13900 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13901 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13902 cat >>confdefs.h <<_ACEOF
13903 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13904 _ACEOF
13907 done
13909 LIBS="$ac_wine_check_funcs_save_LIBS"
13911 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13912 then
13913 if test "$ac_cv_header_gettext_po_h" = "yes"
13914 then
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13916 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13917 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13918 $as_echo_n "(cached) " >&6
13919 else
13920 ac_check_lib_save_LIBS=$LIBS
13921 LIBS="-lgettextpo $LIBS"
13922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13925 /* Override any GCC internal prototype to avoid an error.
13926 Use char because int might match the return type of a GCC
13927 builtin and then its argument prototype would still apply. */
13928 #ifdef __cplusplus
13929 extern "C"
13930 #endif
13931 char po_message_msgctxt ();
13933 main ()
13935 return po_message_msgctxt ();
13937 return 0;
13939 _ACEOF
13940 if ac_fn_c_try_link "$LINENO"; then :
13941 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13942 else
13943 ac_cv_lib_gettextpo_po_message_msgctxt=no
13945 rm -f core conftest.err conftest.$ac_objext \
13946 conftest$ac_exeext conftest.$ac_ext
13947 LIBS=$ac_check_lib_save_LIBS
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13950 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13951 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13953 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13955 GETTEXTPO_LIBS="-lgettextpo"
13960 if test "x$GETTEXTPO_LIBS" = "x"; then :
13961 case "x$with_gettextpo" in
13962 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13963 xno) ;;
13964 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13965 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13966 esac
13969 if test "$srcdir" != .; then :
13970 case "x$with_gettextpo" in
13971 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13972 xno) ;;
13973 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13974 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13975 esac
13980 if test "x$with_pulse" != "xno";
13981 then
13982 if ${PULSE_CFLAGS:+false} :; then :
13983 if ${PKG_CONFIG+:} false; then :
13984 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13988 if ${PULSE_LIBS:+false} :; then :
13989 if ${PKG_CONFIG+:} false; then :
13990 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13995 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13996 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13997 ac_save_CPPFLAGS=$CPPFLAGS
13998 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13999 for ac_header in pulse/pulseaudio.h
14000 do :
14001 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14002 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14003 cat >>confdefs.h <<_ACEOF
14004 #define HAVE_PULSE_PULSEAUDIO_H 1
14005 _ACEOF
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14007 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14008 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14009 $as_echo_n "(cached) " >&6
14010 else
14011 ac_check_lib_save_LIBS=$LIBS
14012 LIBS="-lpulse $PULSE_LIBS $LIBS"
14013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14014 /* end confdefs.h. */
14016 /* Override any GCC internal prototype to avoid an error.
14017 Use char because int might match the return type of a GCC
14018 builtin and then its argument prototype would still apply. */
14019 #ifdef __cplusplus
14020 extern "C"
14021 #endif
14022 char pa_stream_is_corked ();
14024 main ()
14026 return pa_stream_is_corked ();
14028 return 0;
14030 _ACEOF
14031 if ac_fn_c_try_link "$LINENO"; then :
14032 ac_cv_lib_pulse_pa_stream_is_corked=yes
14033 else
14034 ac_cv_lib_pulse_pa_stream_is_corked=no
14036 rm -f core conftest.err conftest.$ac_objext \
14037 conftest$ac_exeext conftest.$ac_ext
14038 LIBS=$ac_check_lib_save_LIBS
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14041 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14042 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14044 else
14045 PULSE_LIBS=""
14048 else
14049 PULSE_LIBS=""
14052 done
14054 CPPFLAGS=$ac_save_CPPFLAGS
14057 if test -z "$PULSE_LIBS"; then :
14058 case "x$with_pulse" in
14059 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14060 xno) ;;
14061 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14062 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14063 esac
14064 enable_winepulse_drv=${enable_winepulse_drv:-no}
14067 if test "x$with_gstreamer" != "xno"
14068 then
14069 if ${GSTREAMER_CFLAGS:+false} :; then :
14070 if ${PKG_CONFIG+:} false; then :
14071 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14075 if ${GSTREAMER_LIBS:+false} :; then :
14076 if ${PKG_CONFIG+:} false; then :
14077 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14082 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14083 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14084 ac_save_CPPFLAGS=$CPPFLAGS
14085 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14086 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14087 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14089 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14091 /* end confdefs.h. */
14092 #include <gst/gst.h>
14094 main ()
14096 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14098 return 0;
14100 _ACEOF
14101 if ac_fn_c_try_compile "$LINENO"; then :
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14103 $as_echo "yes" >&6; }
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14105 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14106 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 ac_check_lib_save_LIBS=$LIBS
14110 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14112 /* end confdefs.h. */
14114 /* Override any GCC internal prototype to avoid an error.
14115 Use char because int might match the return type of a GCC
14116 builtin and then its argument prototype would still apply. */
14117 #ifdef __cplusplus
14118 extern "C"
14119 #endif
14120 char gst_pad_new ();
14122 main ()
14124 return gst_pad_new ();
14126 return 0;
14128 _ACEOF
14129 if ac_fn_c_try_link "$LINENO"; then :
14130 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14131 else
14132 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14134 rm -f core conftest.err conftest.$ac_objext \
14135 conftest$ac_exeext conftest.$ac_ext
14136 LIBS=$ac_check_lib_save_LIBS
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14139 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14140 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14144 else
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14146 $as_echo "no" >&6; }
14147 ac_glib2_broken=yes
14148 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14154 CPPFLAGS=$ac_save_CPPFLAGS
14157 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14158 then
14159 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14160 case "x$with_gstreamer" in
14161 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14162 xno) ;;
14163 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14164 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14165 esac
14169 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14171 ALSA_LIBS=""
14173 if test "x$with_alsa" != "xno"
14174 then
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14176 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14177 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14178 $as_echo_n "(cached) " >&6
14179 else
14180 ac_check_lib_save_LIBS=$LIBS
14181 LIBS="-lasound $LIBS"
14182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14185 /* Override any GCC internal prototype to avoid an error.
14186 Use char because int might match the return type of a GCC
14187 builtin and then its argument prototype would still apply. */
14188 #ifdef __cplusplus
14189 extern "C"
14190 #endif
14191 char snd_pcm_hw_params_get_access_mask ();
14193 main ()
14195 return snd_pcm_hw_params_get_access_mask ();
14197 return 0;
14199 _ACEOF
14200 if ac_fn_c_try_link "$LINENO"; then :
14201 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14202 else
14203 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14205 rm -f core conftest.err conftest.$ac_objext \
14206 conftest$ac_exeext conftest.$ac_ext
14207 LIBS=$ac_check_lib_save_LIBS
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14210 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14211 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14214 #include <alsa/asoundlib.h>
14216 main ()
14218 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14220 return 0;
14222 _ACEOF
14223 if ac_fn_c_try_compile "$LINENO"; then :
14224 ALSA_LIBS="-lasound"
14226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14230 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14232 if test "x$with_oss" != xno
14233 then
14234 ac_save_CPPFLAGS="$CPPFLAGS"
14235 if test -f /etc/oss.conf
14236 then
14237 . /etc/oss.conf
14239 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14240 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14241 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14242 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14243 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14245 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14247 cat >>confdefs.h <<_ACEOF
14248 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14249 _ACEOF
14251 OSS4_CFLAGS="$ac_oss_incl"
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14254 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14255 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14256 $as_echo_n "(cached) " >&6
14257 else
14258 ac_check_lib_save_LIBS=$LIBS
14259 LIBS="-lossaudio $LIBS"
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14263 /* Override any GCC internal prototype to avoid an error.
14264 Use char because int might match the return type of a GCC
14265 builtin and then its argument prototype would still apply. */
14266 #ifdef __cplusplus
14267 extern "C"
14268 #endif
14269 char _oss_ioctl ();
14271 main ()
14273 return _oss_ioctl ();
14275 return 0;
14277 _ACEOF
14278 if ac_fn_c_try_link "$LINENO"; then :
14279 ac_cv_lib_ossaudio__oss_ioctl=yes
14280 else
14281 ac_cv_lib_ossaudio__oss_ioctl=no
14283 rm -f core conftest.err conftest.$ac_objext \
14284 conftest$ac_exeext conftest.$ac_ext
14285 LIBS=$ac_check_lib_save_LIBS
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14288 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14289 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14290 OSS4_LIBS="-lossaudio"
14299 CPPFLAGS="$ac_save_CPPFLAGS"
14301 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14302 case "x$with_oss" in
14303 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14304 xno) ;;
14305 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14306 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14307 esac
14308 enable_wineoss_drv=${enable_wineoss_drv:-no}
14311 if test "x$with_udev" != "xno"
14312 then
14313 if ${UDEV_CFLAGS:+false} :; then :
14314 if ${PKG_CONFIG+:} false; then :
14315 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14319 if ${UDEV_LIBS:+false} :; then :
14320 if ${PKG_CONFIG+:} false; then :
14321 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14325 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14326 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14327 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14328 ac_save_CPPFLAGS=$CPPFLAGS
14329 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14330 for ac_header in libudev.h
14331 do :
14332 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14333 if test "x$ac_cv_header_libudev_h" = xyes; then :
14334 cat >>confdefs.h <<_ACEOF
14335 #define HAVE_LIBUDEV_H 1
14336 _ACEOF
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14338 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14339 if ${ac_cv_lib_udev_udev_new+:} false; then :
14340 $as_echo_n "(cached) " >&6
14341 else
14342 ac_check_lib_save_LIBS=$LIBS
14343 LIBS="-ludev $UDEV_LIBS $LIBS"
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14347 /* Override any GCC internal prototype to avoid an error.
14348 Use char because int might match the return type of a GCC
14349 builtin and then its argument prototype would still apply. */
14350 #ifdef __cplusplus
14351 extern "C"
14352 #endif
14353 char udev_new ();
14355 main ()
14357 return udev_new ();
14359 return 0;
14361 _ACEOF
14362 if ac_fn_c_try_link "$LINENO"; then :
14363 ac_cv_lib_udev_udev_new=yes
14364 else
14365 ac_cv_lib_udev_udev_new=no
14367 rm -f core conftest.err conftest.$ac_objext \
14368 conftest$ac_exeext conftest.$ac_ext
14369 LIBS=$ac_check_lib_save_LIBS
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14372 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14373 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14375 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14377 else
14378 UDEV_LIBS=""
14381 else
14382 UDEV_LIBS=""
14385 done
14387 CPPFLAGS=$ac_save_CPPFLAGS
14390 if test "x$UDEV_LIBS" = "x"; then :
14391 case "x$with_udev" in
14392 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14393 xno) ;;
14394 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14395 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14396 esac
14400 if test "x$with_unwind" != xno
14401 then
14402 if ${UNWIND_CFLAGS:+false} :; then :
14403 if ${PKG_CONFIG+:} false; then :
14404 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14408 if ${UNWIND_LIBS:+false} :; then :
14409 if ${PKG_CONFIG+:} false; then :
14410 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14414 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14415 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14416 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14417 ac_save_CPPFLAGS=$CPPFLAGS
14418 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14420 $as_echo_n "checking for unw_step... " >&6; }
14421 if ${wine_cv_have_unw_step+:} false; then :
14422 $as_echo_n "(cached) " >&6
14423 else
14424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14425 /* end confdefs.h. */
14426 #define UNW_LOCAL_ONLY
14427 #include <libunwind.h>
14429 main ()
14431 unw_cursor_t cursor; unw_step( &cursor );
14433 return 0;
14435 _ACEOF
14436 if ac_fn_c_try_link "$LINENO"; then :
14437 wine_cv_have_unw_step="yes"
14438 else
14439 wine_cv_have_unw_step="no"
14441 rm -f core conftest.err conftest.$ac_objext \
14442 conftest$ac_exeext conftest.$ac_ext
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14445 $as_echo "$wine_cv_have_unw_step" >&6; }
14446 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14447 then
14448 save_libs=$LIBS
14449 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14450 LIBS="$UNWIND_LIBS $LIBS"
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14452 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14453 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14454 $as_echo_n "(cached) " >&6
14455 else
14456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14457 /* end confdefs.h. */
14458 #define UNW_LOCAL_ONLY
14459 #include <libunwind.h>
14461 main ()
14463 unw_cursor_t cursor; unw_step( &cursor );
14465 return 0;
14467 _ACEOF
14468 if ac_fn_c_try_link "$LINENO"; then :
14469 wine_cv_have_libunwind_unw_step="yes"
14470 else
14471 wine_cv_have_libunwind_unw_step="no"
14473 rm -f core conftest.err conftest.$ac_objext \
14474 conftest$ac_exeext conftest.$ac_ext
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14477 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14478 LIBS=$save_libs
14480 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14481 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14482 then
14484 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14487 CPPFLAGS=$ac_save_CPPFLAGS
14490 case $host in
14491 aarch64*|*-darwin*)
14492 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14493 case "x$with_unwind" in
14494 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14495 xno) ;;
14496 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14497 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14498 esac
14500 fi ;;
14501 esac
14503 if test "x$with_sdl" != "xno"
14504 then
14505 if ${SDL2_CFLAGS:+false} :; then :
14506 if ${PKG_CONFIG+:} false; then :
14507 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14511 if ${SDL2_LIBS:+false} :; then :
14512 if ${PKG_CONFIG+:} false; then :
14513 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14517 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14518 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14519 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14520 ac_save_CPPFLAGS=$CPPFLAGS
14521 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14522 for ac_header in SDL.h
14523 do :
14524 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
14525 if test "x$ac_cv_header_SDL_h" = xyes; then :
14526 cat >>confdefs.h <<_ACEOF
14527 #define HAVE_SDL_H 1
14528 _ACEOF
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14530 $as_echo_n "checking for -lSDL2... " >&6; }
14531 if ${ac_cv_lib_soname_SDL2+:} false; then :
14532 $as_echo_n "(cached) " >&6
14533 else
14534 ac_check_soname_save_LIBS=$LIBS
14535 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14537 /* end confdefs.h. */
14539 /* Override any GCC internal prototype to avoid an error.
14540 Use char because int might match the return type of a GCC
14541 builtin and then its argument prototype would still apply. */
14542 #ifdef __cplusplus
14543 extern "C"
14544 #endif
14545 char SDL_Init ();
14547 main ()
14549 return SDL_Init ();
14551 return 0;
14553 _ACEOF
14554 if ac_fn_c_try_link "$LINENO"; then :
14555 case "$LIBEXT" in
14556 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14557 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'` ;;
14558 *) 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'`
14559 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14560 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14561 fi ;;
14562 esac
14563 else
14564 ac_cv_lib_soname_SDL2=
14566 rm -f core conftest.err conftest.$ac_objext \
14567 conftest$ac_exeext conftest.$ac_ext
14568 LIBS=$ac_check_soname_save_LIBS
14570 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14572 $as_echo "not found" >&6; }
14574 else
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14576 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14578 cat >>confdefs.h <<_ACEOF
14579 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14580 _ACEOF
14586 done
14588 CPPFLAGS=$ac_save_CPPFLAGS
14591 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14592 case "x$with_sdl" in
14593 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14594 xno) ;;
14595 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14596 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14597 esac
14601 if test "x$with_capi" != "xno"
14602 then
14603 if ${CAPI20_CFLAGS:+false} :; then :
14604 if ${PKG_CONFIG+:} false; then :
14605 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14609 if ${CAPI20_LIBS:+false} :; then :
14610 if ${PKG_CONFIG+:} false; then :
14611 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14616 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14617 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14618 ac_save_CPPFLAGS=$CPPFLAGS
14619 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14620 for ac_header in capi20.h linux/capi.h
14621 do :
14622 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14623 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14625 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14626 cat >>confdefs.h <<_ACEOF
14627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14628 _ACEOF
14632 done
14634 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14635 then
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14637 $as_echo_n "checking for -lcapi20... " >&6; }
14638 if ${ac_cv_lib_soname_capi20+:} false; then :
14639 $as_echo_n "(cached) " >&6
14640 else
14641 ac_check_soname_save_LIBS=$LIBS
14642 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14646 /* Override any GCC internal prototype to avoid an error.
14647 Use char because int might match the return type of a GCC
14648 builtin and then its argument prototype would still apply. */
14649 #ifdef __cplusplus
14650 extern "C"
14651 #endif
14652 char capi20_register ();
14654 main ()
14656 return capi20_register ();
14658 return 0;
14660 _ACEOF
14661 if ac_fn_c_try_link "$LINENO"; then :
14662 case "$LIBEXT" in
14663 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14664 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'` ;;
14665 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14666 if ${ac_cv_lib_soname_capi20:+false} :; then :
14667 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14668 fi ;;
14669 esac
14670 else
14671 ac_cv_lib_soname_capi20=
14673 rm -f core conftest.err conftest.$ac_objext \
14674 conftest$ac_exeext conftest.$ac_ext
14675 LIBS=$ac_check_soname_save_LIBS
14677 if ${ac_cv_lib_soname_capi20:+false} :; then :
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14679 $as_echo "not found" >&6; }
14681 else
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
14683 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
14685 cat >>confdefs.h <<_ACEOF
14686 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14687 _ACEOF
14692 CPPFLAGS=$ac_save_CPPFLAGS
14695 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
14696 case "x$with_capi" in
14697 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14698 xno) ;;
14699 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14700 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14701 esac
14705 if test "x$with_cups" != "xno"
14706 then
14707 if ${CUPS_CFLAGS:+false} :; then :
14708 if ${PKG_CONFIG+:} false; then :
14709 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14712 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14713 if ${CUPS_LIBS:+false} :; then :
14714 if ${PKG_CONFIG+:} false; then :
14715 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14718 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14719 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14720 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14721 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14722 ac_save_CPPFLAGS=$CPPFLAGS
14723 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14724 for ac_header in cups/cups.h cups/ppd.h
14725 do :
14726 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14727 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14728 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14729 cat >>confdefs.h <<_ACEOF
14730 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14731 _ACEOF
14735 done
14737 if test "$ac_cv_header_cups_cups_h" = "yes"
14738 then
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14740 $as_echo_n "checking for -lcups... " >&6; }
14741 if ${ac_cv_lib_soname_cups+:} false; then :
14742 $as_echo_n "(cached) " >&6
14743 else
14744 ac_check_soname_save_LIBS=$LIBS
14745 LIBS="-lcups $CUPS_LIBS $LIBS"
14746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14747 /* end confdefs.h. */
14749 /* Override any GCC internal prototype to avoid an error.
14750 Use char because int might match the return type of a GCC
14751 builtin and then its argument prototype would still apply. */
14752 #ifdef __cplusplus
14753 extern "C"
14754 #endif
14755 char cupsGetDefault ();
14757 main ()
14759 return cupsGetDefault ();
14761 return 0;
14763 _ACEOF
14764 if ac_fn_c_try_link "$LINENO"; then :
14765 case "$LIBEXT" in
14766 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14767 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'` ;;
14768 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14769 if ${ac_cv_lib_soname_cups:+false} :; then :
14770 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14771 fi ;;
14772 esac
14773 else
14774 ac_cv_lib_soname_cups=
14776 rm -f core conftest.err conftest.$ac_objext \
14777 conftest$ac_exeext conftest.$ac_ext
14778 LIBS=$ac_check_soname_save_LIBS
14780 if ${ac_cv_lib_soname_cups:+false} :; then :
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14782 $as_echo "not found" >&6; }
14783 CUPS_LIBS=""
14784 else
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14786 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14788 cat >>confdefs.h <<_ACEOF
14789 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14790 _ACEOF
14794 else
14795 CUPS_CFLAGS=""
14796 CUPS_LIBS=""
14798 CPPFLAGS=$ac_save_CPPFLAGS
14801 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14802 case "x$with_cups" in
14803 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14804 xno) ;;
14805 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14806 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14807 esac
14811 if test "x$with_fontconfig" != "xno"
14812 then
14813 if ${FONTCONFIG_CFLAGS:+false} :; then :
14814 if ${PKG_CONFIG+:} false; then :
14815 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14818 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14819 if ${FONTCONFIG_LIBS:+false} :; then :
14820 if ${PKG_CONFIG+:} false; then :
14821 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14824 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14826 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14827 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14828 ac_save_CPPFLAGS=$CPPFLAGS
14829 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14830 for ac_header in fontconfig/fontconfig.h
14831 do :
14832 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14833 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14834 cat >>confdefs.h <<_ACEOF
14835 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14836 _ACEOF
14840 done
14842 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14843 then
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14845 $as_echo_n "checking for -lfontconfig... " >&6; }
14846 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14847 $as_echo_n "(cached) " >&6
14848 else
14849 ac_check_soname_save_LIBS=$LIBS
14850 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h. */
14854 /* Override any GCC internal prototype to avoid an error.
14855 Use char because int might match the return type of a GCC
14856 builtin and then its argument prototype would still apply. */
14857 #ifdef __cplusplus
14858 extern "C"
14859 #endif
14860 char FcInit ();
14862 main ()
14864 return FcInit ();
14866 return 0;
14868 _ACEOF
14869 if ac_fn_c_try_link "$LINENO"; then :
14870 case "$LIBEXT" in
14871 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14872 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'` ;;
14873 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14874 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14875 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14876 fi ;;
14877 esac
14878 else
14879 ac_cv_lib_soname_fontconfig=
14881 rm -f core conftest.err conftest.$ac_objext \
14882 conftest$ac_exeext conftest.$ac_ext
14883 LIBS=$ac_check_soname_save_LIBS
14885 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14887 $as_echo "not found" >&6; }
14888 FONTCONFIG_CFLAGS=""
14889 else
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14891 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14893 cat >>confdefs.h <<_ACEOF
14894 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14895 _ACEOF
14899 else
14900 FONTCONFIG_CFLAGS=""
14902 CPPFLAGS=$ac_save_CPPFLAGS
14905 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14906 case "x$with_fontconfig" in
14907 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14908 xno) ;;
14909 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14910 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14911 esac
14915 if test "x$with_krb5" != "xno"
14916 then
14917 if ${KRB5_CFLAGS:+false} :; then :
14918 if ${PKG_CONFIG+:} false; then :
14919 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14922 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14923 if ${KRB5_LIBS:+false} :; then :
14924 if ${PKG_CONFIG+:} false; then :
14925 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14928 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14930 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14931 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14932 ac_save_CPPFLAGS=$CPPFLAGS
14933 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14934 for ac_header in krb5/krb5.h
14935 do :
14936 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14937 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14938 cat >>confdefs.h <<_ACEOF
14939 #define HAVE_KRB5_KRB5_H 1
14940 _ACEOF
14944 done
14946 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14947 then
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14949 $as_echo_n "checking for -lkrb5... " >&6; }
14950 if ${ac_cv_lib_soname_krb5+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 ac_check_soname_save_LIBS=$LIBS
14954 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14958 /* Override any GCC internal prototype to avoid an error.
14959 Use char because int might match the return type of a GCC
14960 builtin and then its argument prototype would still apply. */
14961 #ifdef __cplusplus
14962 extern "C"
14963 #endif
14964 char krb5_is_config_principal ();
14966 main ()
14968 return krb5_is_config_principal ();
14970 return 0;
14972 _ACEOF
14973 if ac_fn_c_try_link "$LINENO"; then :
14974 case "$LIBEXT" in
14975 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14976 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'` ;;
14977 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14978 if ${ac_cv_lib_soname_krb5:+false} :; then :
14979 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14980 fi ;;
14981 esac
14982 else
14983 ac_cv_lib_soname_krb5=
14985 rm -f core conftest.err conftest.$ac_objext \
14986 conftest$ac_exeext conftest.$ac_ext
14987 LIBS=$ac_check_soname_save_LIBS
14989 if ${ac_cv_lib_soname_krb5:+false} :; then :
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14991 $as_echo "not found" >&6; }
14992 KRB5_CFLAGS=""
14993 else
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14995 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14997 cat >>confdefs.h <<_ACEOF
14998 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14999 _ACEOF
15003 else
15004 KRB5_CFLAGS=""
15006 CPPFLAGS=$ac_save_CPPFLAGS
15009 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15010 case "x$with_krb5" in
15011 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15012 xno) ;;
15013 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15014 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15015 esac
15018 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15020 if test "x$with_gssapi" != "xno"
15021 then
15022 if ${GSSAPI_CFLAGS:+false} :; then :
15023 if ${PKG_CONFIG+:} false; then :
15024 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15027 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15028 if ${GSSAPI_LIBS:+false} :; then :
15029 if ${PKG_CONFIG+:} false; then :
15030 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15033 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15035 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15036 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15037 ac_save_CPPFLAGS=$CPPFLAGS
15038 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15039 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15040 do :
15041 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15042 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15043 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15044 cat >>confdefs.h <<_ACEOF
15045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15046 _ACEOF
15050 done
15052 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15053 then
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15055 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15056 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15057 $as_echo_n "(cached) " >&6
15058 else
15059 ac_check_soname_save_LIBS=$LIBS
15060 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15064 /* Override any GCC internal prototype to avoid an error.
15065 Use char because int might match the return type of a GCC
15066 builtin and then its argument prototype would still apply. */
15067 #ifdef __cplusplus
15068 extern "C"
15069 #endif
15070 char gss_init_sec_context ();
15072 main ()
15074 return gss_init_sec_context ();
15076 return 0;
15078 _ACEOF
15079 if ac_fn_c_try_link "$LINENO"; then :
15080 case "$LIBEXT" in
15081 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15082 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'` ;;
15083 *) 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'`
15084 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15085 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15086 fi ;;
15087 esac
15088 else
15089 ac_cv_lib_soname_gssapi_krb5=
15091 rm -f core conftest.err conftest.$ac_objext \
15092 conftest$ac_exeext conftest.$ac_ext
15093 LIBS=$ac_check_soname_save_LIBS
15095 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15097 $as_echo "not found" >&6; }
15098 GSSAPI_CFLAGS=""
15099 else
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15101 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15103 cat >>confdefs.h <<_ACEOF
15104 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15105 _ACEOF
15109 else
15110 GSSAPI_CFLAGS=""
15112 CPPFLAGS=$ac_save_CPPFLAGS
15115 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15116 case "x$with_gssapi" in
15117 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15118 xno) ;;
15119 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15120 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15121 esac
15125 if test "x$with_jpeg" != "xno"
15126 then
15127 if ${JPEG_CFLAGS:+false} :; then :
15128 if ${PKG_CONFIG+:} false; then :
15129 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15133 if ${JPEG_LIBS:+false} :; then :
15134 if ${PKG_CONFIG+:} false; then :
15135 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15140 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15141 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15142 ac_save_CPPFLAGS=$CPPFLAGS
15143 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15144 for ac_header in jpeglib.h
15145 do :
15146 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15147 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15148 cat >>confdefs.h <<_ACEOF
15149 #define HAVE_JPEGLIB_H 1
15150 _ACEOF
15154 done
15156 if test "$ac_cv_header_jpeglib_h" = "yes"
15157 then
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15159 $as_echo_n "checking for -ljpeg... " >&6; }
15160 if ${ac_cv_lib_soname_jpeg+:} false; then :
15161 $as_echo_n "(cached) " >&6
15162 else
15163 ac_check_soname_save_LIBS=$LIBS
15164 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15168 /* Override any GCC internal prototype to avoid an error.
15169 Use char because int might match the return type of a GCC
15170 builtin and then its argument prototype would still apply. */
15171 #ifdef __cplusplus
15172 extern "C"
15173 #endif
15174 char jpeg_start_decompress ();
15176 main ()
15178 return jpeg_start_decompress ();
15180 return 0;
15182 _ACEOF
15183 if ac_fn_c_try_link "$LINENO"; then :
15184 case "$LIBEXT" in
15185 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15186 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'` ;;
15187 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15188 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15189 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15190 fi ;;
15191 esac
15192 else
15193 ac_cv_lib_soname_jpeg=
15195 rm -f core conftest.err conftest.$ac_objext \
15196 conftest$ac_exeext conftest.$ac_ext
15197 LIBS=$ac_check_soname_save_LIBS
15199 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15201 $as_echo "not found" >&6; }
15202 JPEG_CFLAGS=""
15203 else
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15205 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15207 cat >>confdefs.h <<_ACEOF
15208 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15209 _ACEOF
15213 else
15214 JPEG_CFLAGS=""
15216 CPPFLAGS=$ac_save_CPPFLAGS
15219 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15220 case "x$with_jpeg" in
15221 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15222 xno) ;;
15223 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15224 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15225 esac
15229 if test "$ac_cv_header_AL_al_h" = "yes"
15230 then
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15232 $as_echo_n "checking for -lopenal... " >&6; }
15233 if ${ac_cv_lib_soname_openal+:} false; then :
15234 $as_echo_n "(cached) " >&6
15235 else
15236 ac_check_soname_save_LIBS=$LIBS
15237 LIBS="-lopenal $LIBS"
15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15239 /* end confdefs.h. */
15241 /* Override any GCC internal prototype to avoid an error.
15242 Use char because int might match the return type of a GCC
15243 builtin and then its argument prototype would still apply. */
15244 #ifdef __cplusplus
15245 extern "C"
15246 #endif
15247 char alGetSource3i ();
15249 main ()
15251 return alGetSource3i ();
15253 return 0;
15255 _ACEOF
15256 if ac_fn_c_try_link "$LINENO"; then :
15257 case "$LIBEXT" in
15258 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15259 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'` ;;
15260 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15261 if ${ac_cv_lib_soname_openal:+false} :; then :
15262 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15263 fi ;;
15264 esac
15265 else
15266 ac_cv_lib_soname_openal=
15268 rm -f core conftest.err conftest.$ac_objext \
15269 conftest$ac_exeext conftest.$ac_ext
15270 LIBS=$ac_check_soname_save_LIBS
15272 if ${ac_cv_lib_soname_openal:+false} :; then :
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15274 $as_echo "not found" >&6; }
15276 else
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15278 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15280 cat >>confdefs.h <<_ACEOF
15281 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15282 _ACEOF
15284 OPENAL_LIBS="-lopenal"
15286 ac_cv_lib_openal=yes
15288 cat >>confdefs.h <<_ACEOF
15289 #define HAVE_OPENAL 1
15290 _ACEOF
15294 if test "x$ac_cv_lib_openal" != xyes; then :
15295 case "x$with_openal" in
15296 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15297 xno) ;;
15298 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15299 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15300 esac
15301 enable_openal32=${enable_openal32:-no}
15304 if test "$ac_cv_header_libprocstat_h" = "yes"
15305 then
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15307 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15308 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15309 $as_echo_n "(cached) " >&6
15310 else
15311 ac_check_lib_save_LIBS=$LIBS
15312 LIBS="-lprocstat $LIBS"
15313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15314 /* end confdefs.h. */
15316 /* Override any GCC internal prototype to avoid an error.
15317 Use char because int might match the return type of a GCC
15318 builtin and then its argument prototype would still apply. */
15319 #ifdef __cplusplus
15320 extern "C"
15321 #endif
15322 char procstat_open_sysctl ();
15324 main ()
15326 return procstat_open_sysctl ();
15328 return 0;
15330 _ACEOF
15331 if ac_fn_c_try_link "$LINENO"; then :
15332 ac_cv_lib_procstat_procstat_open_sysctl=yes
15333 else
15334 ac_cv_lib_procstat_procstat_open_sysctl=no
15336 rm -f core conftest.err conftest.$ac_objext \
15337 conftest$ac_exeext conftest.$ac_ext
15338 LIBS=$ac_check_lib_save_LIBS
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15341 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15342 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15344 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15346 PROCSTAT_LIBS="-lprocstat"
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15353 $as_echo_n "checking for -lodbc... " >&6; }
15354 if ${ac_cv_lib_soname_odbc+:} false; then :
15355 $as_echo_n "(cached) " >&6
15356 else
15357 ac_check_soname_save_LIBS=$LIBS
15358 LIBS="-lodbc $LIBS"
15359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15362 /* Override any GCC internal prototype to avoid an error.
15363 Use char because int might match the return type of a GCC
15364 builtin and then its argument prototype would still apply. */
15365 #ifdef __cplusplus
15366 extern "C"
15367 #endif
15368 char SQLConnect ();
15370 main ()
15372 return SQLConnect ();
15374 return 0;
15376 _ACEOF
15377 if ac_fn_c_try_link "$LINENO"; then :
15378 case "$LIBEXT" in
15379 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15380 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'` ;;
15381 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15382 if ${ac_cv_lib_soname_odbc:+false} :; then :
15383 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15384 fi ;;
15385 esac
15386 else
15387 ac_cv_lib_soname_odbc=
15389 rm -f core conftest.err conftest.$ac_objext \
15390 conftest$ac_exeext conftest.$ac_ext
15391 LIBS=$ac_check_soname_save_LIBS
15393 if ${ac_cv_lib_soname_odbc:+false} :; then :
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15395 $as_echo "not found" >&6; }
15396 cat >>confdefs.h <<_ACEOF
15397 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15398 _ACEOF
15400 else
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15402 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15404 cat >>confdefs.h <<_ACEOF
15405 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15406 _ACEOF
15411 if test "x$with_netapi" != "xno"
15412 then
15413 if ${NETAPI_CFLAGS:+false} :; then :
15414 if ${PKG_CONFIG+:} false; then :
15415 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15419 if ${NETAPI_LIBS:+false} :; then :
15420 if ${PKG_CONFIG+:} false; then :
15421 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15426 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15427 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15428 ac_save_CPPFLAGS=$CPPFLAGS
15429 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15431 $as_echo_n "checking for -lnetapi... " >&6; }
15432 if ${ac_cv_lib_soname_netapi+:} false; then :
15433 $as_echo_n "(cached) " >&6
15434 else
15435 ac_check_soname_save_LIBS=$LIBS
15436 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15438 /* end confdefs.h. */
15440 /* Override any GCC internal prototype to avoid an error.
15441 Use char because int might match the return type of a GCC
15442 builtin and then its argument prototype would still apply. */
15443 #ifdef __cplusplus
15444 extern "C"
15445 #endif
15446 char libnetapi_init ();
15448 main ()
15450 return libnetapi_init ();
15452 return 0;
15454 _ACEOF
15455 if ac_fn_c_try_link "$LINENO"; then :
15456 case "$LIBEXT" in
15457 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15458 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'` ;;
15459 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15460 if ${ac_cv_lib_soname_netapi:+false} :; then :
15461 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15462 fi ;;
15463 esac
15464 else
15465 ac_cv_lib_soname_netapi=
15467 rm -f core conftest.err conftest.$ac_objext \
15468 conftest$ac_exeext conftest.$ac_ext
15469 LIBS=$ac_check_soname_save_LIBS
15471 if ${ac_cv_lib_soname_netapi:+false} :; then :
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15473 $as_echo "not found" >&6; }
15474 cat >>confdefs.h <<_ACEOF
15475 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15476 _ACEOF
15478 else
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15480 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15482 cat >>confdefs.h <<_ACEOF
15483 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15484 _ACEOF
15488 CPPFLAGS=$ac_save_CPPFLAGS
15492 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15493 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15494 then
15495 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15498 if test "x$with_vulkan" != "xno"
15499 then
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15501 $as_echo_n "checking for -lvulkan... " >&6; }
15502 if ${ac_cv_lib_soname_vulkan+:} false; then :
15503 $as_echo_n "(cached) " >&6
15504 else
15505 ac_check_soname_save_LIBS=$LIBS
15506 LIBS="-lvulkan $LIBS"
15507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15508 /* end confdefs.h. */
15510 /* Override any GCC internal prototype to avoid an error.
15511 Use char because int might match the return type of a GCC
15512 builtin and then its argument prototype would still apply. */
15513 #ifdef __cplusplus
15514 extern "C"
15515 #endif
15516 char vkGetInstanceProcAddr ();
15518 main ()
15520 return vkGetInstanceProcAddr ();
15522 return 0;
15524 _ACEOF
15525 if ac_fn_c_try_link "$LINENO"; then :
15526 case "$LIBEXT" in
15527 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15528 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'` ;;
15529 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15530 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15531 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15532 fi ;;
15533 esac
15534 else
15535 ac_cv_lib_soname_vulkan=
15537 rm -f core conftest.err conftest.$ac_objext \
15538 conftest$ac_exeext conftest.$ac_ext
15539 LIBS=$ac_check_soname_save_LIBS
15541 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15543 $as_echo "not found" >&6; }
15545 else
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15547 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15549 cat >>confdefs.h <<_ACEOF
15550 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15551 _ACEOF
15555 if test "x$ac_cv_lib_soname_vulkan" = "x"
15556 then
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15558 $as_echo_n "checking for -lMoltenVK... " >&6; }
15559 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15560 $as_echo_n "(cached) " >&6
15561 else
15562 ac_check_soname_save_LIBS=$LIBS
15563 LIBS="-lMoltenVK $LIBS"
15564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15565 /* end confdefs.h. */
15567 /* Override any GCC internal prototype to avoid an error.
15568 Use char because int might match the return type of a GCC
15569 builtin and then its argument prototype would still apply. */
15570 #ifdef __cplusplus
15571 extern "C"
15572 #endif
15573 char vkGetInstanceProcAddr ();
15575 main ()
15577 return vkGetInstanceProcAddr ();
15579 return 0;
15581 _ACEOF
15582 if ac_fn_c_try_link "$LINENO"; then :
15583 case "$LIBEXT" in
15584 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15585 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'` ;;
15586 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15587 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15588 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15589 fi ;;
15590 esac
15591 else
15592 ac_cv_lib_soname_MoltenVK=
15594 rm -f core conftest.err conftest.$ac_objext \
15595 conftest$ac_exeext conftest.$ac_ext
15596 LIBS=$ac_check_soname_save_LIBS
15598 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15600 $as_echo "not found" >&6; }
15602 else
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15604 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15606 cat >>confdefs.h <<_ACEOF
15607 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15608 _ACEOF
15614 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15615 case "x$with_vulkan" in
15616 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15617 xno) ;;
15618 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15619 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15620 esac
15624 if test "x$with_vkd3d" != "xno"
15625 then
15626 if ${VKD3D_CFLAGS:+false} :; then :
15627 if ${PKG_CONFIG+:} false; then :
15628 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15632 if ${VKD3D_LIBS:+false} :; then :
15633 if ${PKG_CONFIG+:} false; then :
15634 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15639 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15640 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15641 ac_save_CPPFLAGS=$CPPFLAGS
15642 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15644 $as_echo_n "checking for -lvkd3d... " >&6; }
15645 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15646 $as_echo_n "(cached) " >&6
15647 else
15648 ac_check_soname_save_LIBS=$LIBS
15649 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h. */
15653 /* Override any GCC internal prototype to avoid an error.
15654 Use char because int might match the return type of a GCC
15655 builtin and then its argument prototype would still apply. */
15656 #ifdef __cplusplus
15657 extern "C"
15658 #endif
15659 char vkd3d_serialize_versioned_root_signature ();
15661 main ()
15663 return vkd3d_serialize_versioned_root_signature ();
15665 return 0;
15667 _ACEOF
15668 if ac_fn_c_try_link "$LINENO"; then :
15669 case "$LIBEXT" in
15670 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15671 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'` ;;
15672 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15673 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15674 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15675 fi ;;
15676 esac
15677 else
15678 ac_cv_lib_soname_vkd3d=
15680 rm -f core conftest.err conftest.$ac_objext \
15681 conftest$ac_exeext conftest.$ac_ext
15682 LIBS=$ac_check_soname_save_LIBS
15684 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15686 $as_echo "not found" >&6; }
15688 else
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15690 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15692 cat >>confdefs.h <<_ACEOF
15693 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15694 _ACEOF
15698 CPPFLAGS=$ac_save_CPPFLAGS
15700 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
15701 if ${PKG_CONFIG+:} false; then :
15702 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
15706 if ${VKD3D_SHADER_LIBS:+false} :; then :
15707 if ${PKG_CONFIG+:} false; then :
15708 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
15713 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
15714 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
15715 ac_save_CPPFLAGS=$CPPFLAGS
15716 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
15718 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
15719 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
15720 $as_echo_n "(cached) " >&6
15721 else
15722 ac_check_soname_save_LIBS=$LIBS
15723 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
15724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15725 /* end confdefs.h. */
15727 /* Override any GCC internal prototype to avoid an error.
15728 Use char because int might match the return type of a GCC
15729 builtin and then its argument prototype would still apply. */
15730 #ifdef __cplusplus
15731 extern "C"
15732 #endif
15733 char vkd3d_shader_compile ();
15735 main ()
15737 return vkd3d_shader_compile ();
15739 return 0;
15741 _ACEOF
15742 if ac_fn_c_try_link "$LINENO"; then :
15743 case "$LIBEXT" in
15744 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15745 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'` ;;
15746 *) 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'`
15747 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
15748 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15749 fi ;;
15750 esac
15751 else
15752 ac_cv_lib_soname_vkd3d_shader=
15754 rm -f core conftest.err conftest.$ac_objext \
15755 conftest$ac_exeext conftest.$ac_ext
15756 LIBS=$ac_check_soname_save_LIBS
15758 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15760 $as_echo "not found" >&6; }
15762 else
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
15764 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
15766 cat >>confdefs.h <<_ACEOF
15767 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
15768 _ACEOF
15772 CPPFLAGS=$ac_save_CPPFLAGS
15775 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15776 case "x$with_vkd3d" in
15777 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
15778 xno) ;;
15779 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
15780 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15781 esac
15784 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15787 if test "x${GCC}" = "xyes"
15788 then
15789 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
15791 saved_CFLAGS=$CFLAGS
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15793 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15794 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15795 $as_echo_n "(cached) " >&6
15796 else
15797 ac_wine_try_cflags_saved=$CFLAGS
15798 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15800 /* end confdefs.h. */
15801 int main(int argc, char **argv) { return 0; }
15802 _ACEOF
15803 if ac_fn_c_try_link "$LINENO"; then :
15804 ac_cv_cflags__Werror_unknown_warning_option=yes
15805 else
15806 ac_cv_cflags__Werror_unknown_warning_option=no
15808 rm -f core conftest.err conftest.$ac_objext \
15809 conftest$ac_exeext conftest.$ac_ext
15810 CFLAGS=$ac_wine_try_cflags_saved
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15813 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15814 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15815 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
15818 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
15819 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
15820 $as_echo_n "(cached) " >&6
15821 else
15822 ac_wine_try_cflags_saved=$CFLAGS
15823 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15826 int main(int argc, char **argv) { return 0; }
15827 _ACEOF
15828 if ac_fn_c_try_link "$LINENO"; then :
15829 ac_cv_cflags__Werror_unused_command_line_argument=yes
15830 else
15831 ac_cv_cflags__Werror_unused_command_line_argument=no
15833 rm -f core conftest.err conftest.$ac_objext \
15834 conftest$ac_exeext conftest.$ac_ext
15835 CFLAGS=$ac_wine_try_cflags_saved
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
15838 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
15839 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
15840 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
15843 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
15844 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
15845 $as_echo_n "(cached) " >&6
15846 else
15847 ac_wine_try_cflags_saved=$CFLAGS
15848 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
15849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15850 /* end confdefs.h. */
15851 int main(int argc, char **argv) { return 0; }
15852 _ACEOF
15853 if ac_fn_c_try_link "$LINENO"; then :
15854 ac_cv_cflags__Werror_ignored_optimization_argument=yes
15855 else
15856 ac_cv_cflags__Werror_ignored_optimization_argument=no
15858 rm -f core conftest.err conftest.$ac_objext \
15859 conftest$ac_exeext conftest.$ac_ext
15860 CFLAGS=$ac_wine_try_cflags_saved
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
15863 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
15864 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
15865 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
15868 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
15869 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
15870 $as_echo_n "(cached) " >&6
15871 else
15872 ac_wine_try_cflags_saved=$CFLAGS
15873 CFLAGS="$CFLAGS -fcf-protection=none"
15874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15875 /* end confdefs.h. */
15876 int main(int argc, char **argv) { return 0; }
15877 _ACEOF
15878 if ac_fn_c_try_link "$LINENO"; then :
15879 ac_cv_cflags__fcf_protection_none=yes
15880 else
15881 ac_cv_cflags__fcf_protection_none=no
15883 rm -f core conftest.err conftest.$ac_objext \
15884 conftest$ac_exeext conftest.$ac_ext
15885 CFLAGS=$ac_wine_try_cflags_saved
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
15888 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
15889 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
15890 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
15893 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
15894 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
15895 $as_echo_n "(cached) " >&6
15896 else
15897 ac_wine_try_cflags_saved=$CFLAGS
15898 CFLAGS="$CFLAGS -fno-stack-protector"
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15901 int main(int argc, char **argv) { return 0; }
15902 _ACEOF
15903 if ac_fn_c_try_link "$LINENO"; then :
15904 ac_cv_cflags__fno_stack_protector=yes
15905 else
15906 ac_cv_cflags__fno_stack_protector=no
15908 rm -f core conftest.err conftest.$ac_objext \
15909 conftest$ac_exeext conftest.$ac_ext
15910 CFLAGS=$ac_wine_try_cflags_saved
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
15913 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
15914 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
15915 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15918 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15919 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15920 $as_echo_n "(cached) " >&6
15921 else
15922 ac_wine_try_cflags_saved=$CFLAGS
15923 CFLAGS="$CFLAGS -fno-strict-aliasing"
15924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15925 /* end confdefs.h. */
15926 int main(int argc, char **argv) { return 0; }
15927 _ACEOF
15928 if ac_fn_c_try_link "$LINENO"; then :
15929 ac_cv_cflags__fno_strict_aliasing=yes
15930 else
15931 ac_cv_cflags__fno_strict_aliasing=no
15933 rm -f core conftest.err conftest.$ac_objext \
15934 conftest$ac_exeext conftest.$ac_ext
15935 CFLAGS=$ac_wine_try_cflags_saved
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15938 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15939 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15940 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15943 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15944 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15945 $as_echo_n "(cached) " >&6
15946 else
15947 ac_wine_try_cflags_saved=$CFLAGS
15948 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15951 int main(int argc, char **argv) { return 0; }
15952 _ACEOF
15953 if ac_fn_c_try_link "$LINENO"; then :
15954 ac_cv_cflags__Wdeclaration_after_statement=yes
15955 else
15956 ac_cv_cflags__Wdeclaration_after_statement=no
15958 rm -f core conftest.err conftest.$ac_objext \
15959 conftest$ac_exeext conftest.$ac_ext
15960 CFLAGS=$ac_wine_try_cflags_saved
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15963 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15964 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15965 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15968 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15969 if ${ac_cv_cflags__Wempty_body+:} false; then :
15970 $as_echo_n "(cached) " >&6
15971 else
15972 ac_wine_try_cflags_saved=$CFLAGS
15973 CFLAGS="$CFLAGS -Wempty-body"
15974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15975 /* end confdefs.h. */
15976 int main(int argc, char **argv) { return 0; }
15977 _ACEOF
15978 if ac_fn_c_try_link "$LINENO"; then :
15979 ac_cv_cflags__Wempty_body=yes
15980 else
15981 ac_cv_cflags__Wempty_body=no
15983 rm -f core conftest.err conftest.$ac_objext \
15984 conftest$ac_exeext conftest.$ac_ext
15985 CFLAGS=$ac_wine_try_cflags_saved
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15988 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15989 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15990 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15993 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15994 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15995 $as_echo_n "(cached) " >&6
15996 else
15997 ac_wine_try_cflags_saved=$CFLAGS
15998 CFLAGS="$CFLAGS -Wignored-qualifiers"
15999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16000 /* end confdefs.h. */
16001 int main(int argc, char **argv) { return 0; }
16002 _ACEOF
16003 if ac_fn_c_try_link "$LINENO"; then :
16004 ac_cv_cflags__Wignored_qualifiers=yes
16005 else
16006 ac_cv_cflags__Wignored_qualifiers=no
16008 rm -f core conftest.err conftest.$ac_objext \
16009 conftest$ac_exeext conftest.$ac_ext
16010 CFLAGS=$ac_wine_try_cflags_saved
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16013 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16014 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16015 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
16018 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
16019 if ${ac_cv_cflags__Winit_self+:} false; then :
16020 $as_echo_n "(cached) " >&6
16021 else
16022 ac_wine_try_cflags_saved=$CFLAGS
16023 CFLAGS="$CFLAGS -Winit-self"
16024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16025 /* end confdefs.h. */
16026 int main(int argc, char **argv) { return 0; }
16027 _ACEOF
16028 if ac_fn_c_try_link "$LINENO"; then :
16029 ac_cv_cflags__Winit_self=yes
16030 else
16031 ac_cv_cflags__Winit_self=no
16033 rm -f core conftest.err conftest.$ac_objext \
16034 conftest$ac_exeext conftest.$ac_ext
16035 CFLAGS=$ac_wine_try_cflags_saved
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
16038 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
16039 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
16040 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16043 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16044 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16045 $as_echo_n "(cached) " >&6
16046 else
16047 ac_wine_try_cflags_saved=$CFLAGS
16048 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16050 /* end confdefs.h. */
16051 int main(int argc, char **argv) { return 0; }
16052 _ACEOF
16053 if ac_fn_c_try_link "$LINENO"; then :
16054 ac_cv_cflags__Wpacked_not_aligned=yes
16055 else
16056 ac_cv_cflags__Wpacked_not_aligned=no
16058 rm -f core conftest.err conftest.$ac_objext \
16059 conftest$ac_exeext conftest.$ac_ext
16060 CFLAGS=$ac_wine_try_cflags_saved
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16063 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16064 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16065 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16068 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16069 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16070 $as_echo_n "(cached) " >&6
16071 else
16072 ac_wine_try_cflags_saved=$CFLAGS
16073 CFLAGS="$CFLAGS -Wpragma-pack"
16074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16075 /* end confdefs.h. */
16076 int main(int argc, char **argv) { return 0; }
16077 _ACEOF
16078 if ac_fn_c_try_link "$LINENO"; then :
16079 ac_cv_cflags__Wpragma_pack=yes
16080 else
16081 ac_cv_cflags__Wpragma_pack=no
16083 rm -f core conftest.err conftest.$ac_objext \
16084 conftest$ac_exeext conftest.$ac_ext
16085 CFLAGS=$ac_wine_try_cflags_saved
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16088 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16089 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16090 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16093 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16094 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16095 $as_echo_n "(cached) " >&6
16096 else
16097 ac_wine_try_cflags_saved=$CFLAGS
16098 CFLAGS="$CFLAGS -Wshift-overflow=2"
16099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16100 /* end confdefs.h. */
16101 int main(int argc, char **argv) { return 0; }
16102 _ACEOF
16103 if ac_fn_c_try_link "$LINENO"; then :
16104 ac_cv_cflags__Wshift_overflow_2=yes
16105 else
16106 ac_cv_cflags__Wshift_overflow_2=no
16108 rm -f core conftest.err conftest.$ac_objext \
16109 conftest$ac_exeext conftest.$ac_ext
16110 CFLAGS=$ac_wine_try_cflags_saved
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16113 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16114 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16115 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16118 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16119 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16120 $as_echo_n "(cached) " >&6
16121 else
16122 ac_wine_try_cflags_saved=$CFLAGS
16123 CFLAGS="$CFLAGS -Wstrict-prototypes"
16124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16125 /* end confdefs.h. */
16126 int main(int argc, char **argv) { return 0; }
16127 _ACEOF
16128 if ac_fn_c_try_link "$LINENO"; then :
16129 ac_cv_cflags__Wstrict_prototypes=yes
16130 else
16131 ac_cv_cflags__Wstrict_prototypes=no
16133 rm -f core conftest.err conftest.$ac_objext \
16134 conftest$ac_exeext conftest.$ac_ext
16135 CFLAGS=$ac_wine_try_cflags_saved
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16138 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16139 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16140 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16143 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16144 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16145 $as_echo_n "(cached) " >&6
16146 else
16147 ac_wine_try_cflags_saved=$CFLAGS
16148 CFLAGS="$CFLAGS -Wtype-limits"
16149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16150 /* end confdefs.h. */
16151 int main(int argc, char **argv) { return 0; }
16152 _ACEOF
16153 if ac_fn_c_try_link "$LINENO"; then :
16154 ac_cv_cflags__Wtype_limits=yes
16155 else
16156 ac_cv_cflags__Wtype_limits=no
16158 rm -f core conftest.err conftest.$ac_objext \
16159 conftest$ac_exeext conftest.$ac_ext
16160 CFLAGS=$ac_wine_try_cflags_saved
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16163 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16164 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16165 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16168 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16169 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16170 $as_echo_n "(cached) " >&6
16171 else
16172 ac_wine_try_cflags_saved=$CFLAGS
16173 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16175 /* end confdefs.h. */
16176 int main(int argc, char **argv) { return 0; }
16177 _ACEOF
16178 if ac_fn_c_try_link "$LINENO"; then :
16179 ac_cv_cflags__Wunused_but_set_parameter=yes
16180 else
16181 ac_cv_cflags__Wunused_but_set_parameter=no
16183 rm -f core conftest.err conftest.$ac_objext \
16184 conftest$ac_exeext conftest.$ac_ext
16185 CFLAGS=$ac_wine_try_cflags_saved
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16188 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16189 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16190 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16193 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16194 if ${ac_cv_cflags__Wvla+:} false; then :
16195 $as_echo_n "(cached) " >&6
16196 else
16197 ac_wine_try_cflags_saved=$CFLAGS
16198 CFLAGS="$CFLAGS -Wvla"
16199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16200 /* end confdefs.h. */
16201 int main(int argc, char **argv) { return 0; }
16202 _ACEOF
16203 if ac_fn_c_try_link "$LINENO"; then :
16204 ac_cv_cflags__Wvla=yes
16205 else
16206 ac_cv_cflags__Wvla=no
16208 rm -f core conftest.err conftest.$ac_objext \
16209 conftest$ac_exeext conftest.$ac_ext
16210 CFLAGS=$ac_wine_try_cflags_saved
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16213 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16214 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16215 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16218 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16219 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16220 $as_echo_n "(cached) " >&6
16221 else
16222 ac_wine_try_cflags_saved=$CFLAGS
16223 CFLAGS="$CFLAGS -Wwrite-strings"
16224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h. */
16226 int main(int argc, char **argv) { return 0; }
16227 _ACEOF
16228 if ac_fn_c_try_link "$LINENO"; then :
16229 ac_cv_cflags__Wwrite_strings=yes
16230 else
16231 ac_cv_cflags__Wwrite_strings=no
16233 rm -f core conftest.err conftest.$ac_objext \
16234 conftest$ac_exeext conftest.$ac_ext
16235 CFLAGS=$ac_wine_try_cflags_saved
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16238 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16239 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16240 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16243 if test -z "$CROSSTARGET"
16244 then
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16246 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16247 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16248 $as_echo_n "(cached) " >&6
16249 else
16250 ac_wine_try_cflags_saved=$CFLAGS
16251 CFLAGS="$CFLAGS -fexcess-precision=standard"
16252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16253 /* end confdefs.h. */
16254 int main(int argc, char **argv) { return 0; }
16255 _ACEOF
16256 if ac_fn_c_try_link "$LINENO"; then :
16257 ac_cv_cflags__fexcess_precision_standard=yes
16258 else
16259 ac_cv_cflags__fexcess_precision_standard=no
16261 rm -f core conftest.err conftest.$ac_objext \
16262 conftest$ac_exeext conftest.$ac_ext
16263 CFLAGS=$ac_wine_try_cflags_saved
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16266 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16267 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16268 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16274 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16275 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16276 $as_echo_n "(cached) " >&6
16277 else
16278 ac_wine_try_cflags_saved=$CFLAGS
16279 CFLAGS="$CFLAGS -Wpointer-arith"
16280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16281 /* end confdefs.h. */
16282 int main(int argc, char **argv) { return 0; }
16283 _ACEOF
16284 if ac_fn_c_try_link "$LINENO"; then :
16285 ac_cv_cflags__Wpointer_arith=yes
16286 else
16287 ac_cv_cflags__Wpointer_arith=no
16289 rm -f core conftest.err conftest.$ac_objext \
16290 conftest$ac_exeext conftest.$ac_ext
16291 CFLAGS=$ac_wine_try_cflags_saved
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16294 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16295 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16296 saved_string_h_CFLAGS=$CFLAGS
16297 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16299 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16300 if ${ac_cv_c_string_h_warnings+:} false; then :
16301 $as_echo_n "(cached) " >&6
16302 else
16303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16304 /* end confdefs.h. */
16305 #include <string.h>
16307 main ()
16311 return 0;
16313 _ACEOF
16314 if ac_fn_c_try_compile "$LINENO"; then :
16315 ac_cv_c_string_h_warnings=no
16316 else
16317 ac_cv_c_string_h_warnings=yes
16319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16322 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16323 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16324 CFLAGS=$saved_string_h_CFLAGS
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16328 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16329 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16330 $as_echo_n "(cached) " >&6
16331 else
16332 ac_wine_try_cflags_saved=$CFLAGS
16333 CFLAGS="$CFLAGS -Wlogical-op"
16334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16335 /* end confdefs.h. */
16336 int main(int argc, char **argv) { return 0; }
16337 _ACEOF
16338 if ac_fn_c_try_link "$LINENO"; then :
16339 ac_cv_cflags__Wlogical_op=yes
16340 else
16341 ac_cv_cflags__Wlogical_op=no
16343 rm -f core conftest.err conftest.$ac_objext \
16344 conftest$ac_exeext conftest.$ac_ext
16345 CFLAGS=$ac_wine_try_cflags_saved
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16348 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16349 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16350 saved_string_h_CFLAGS=$CFLAGS
16351 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16353 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16354 if ${ac_cv_c_logicalop_noisy+:} false; then :
16355 $as_echo_n "(cached) " >&6
16356 else
16357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16358 /* end confdefs.h. */
16359 #include <string.h>
16360 char*f(const char *h,char n) {return strchr(h,n);}
16362 main ()
16366 return 0;
16368 _ACEOF
16369 if ac_fn_c_try_compile "$LINENO"; then :
16370 ac_cv_c_logicalop_noisy=no
16371 else
16372 ac_cv_c_logicalop_noisy=yes
16374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16377 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16378 CFLAGS=$saved_string_h_CFLAGS
16379 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
16383 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
16384 if ${wine_cv_64bit_compare_swap+:} false; then :
16385 $as_echo_n "(cached) " >&6
16386 else
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16389 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
16390 #error no
16391 #endif
16393 main ()
16397 return 0;
16399 _ACEOF
16400 if ac_fn_c_try_compile "$LINENO"; then :
16401 wine_cv_64bit_compare_swap="none needed"
16402 else
16403 case $host_cpu in
16404 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
16405 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
16406 *) wine_cv_64bit_compare_swap="unknown" ;;
16407 esac
16408 if test "x$wine_cv_64bit_compare_swap" != xunknown
16409 then
16410 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
16411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16412 /* end confdefs.h. */
16413 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
16414 #error no
16415 #endif
16417 main ()
16421 return 0;
16423 _ACEOF
16424 if ac_fn_c_try_compile "$LINENO"; then :
16426 else
16427 wine_cv_64bit_compare_swap="unknown"
16429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16430 CFLAGS=$saved_CFLAGS
16433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
16436 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
16437 case "$wine_cv_64bit_compare_swap" in
16438 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
16439 "none needed") ;;
16440 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
16441 esac
16443 for ac_flag in $CFLAGS; do
16444 case $ac_flag in
16445 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16446 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16447 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16448 $as_echo_n "(cached) " >&6
16449 else
16450 ac_wine_try_cflags_saved=$CFLAGS
16451 CFLAGS="$CFLAGS -gdwarf-2"
16452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16454 int main(int argc, char **argv) { return 0; }
16455 _ACEOF
16456 if ac_fn_c_try_link "$LINENO"; then :
16457 ac_cv_cflags__gdwarf_2=yes
16458 else
16459 ac_cv_cflags__gdwarf_2=no
16461 rm -f core conftest.err conftest.$ac_objext \
16462 conftest$ac_exeext conftest.$ac_ext
16463 CFLAGS=$ac_wine_try_cflags_saved
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16466 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16467 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16468 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16471 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16472 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16473 $as_echo_n "(cached) " >&6
16474 else
16475 ac_wine_try_cflags_saved=$CFLAGS
16476 CFLAGS="$CFLAGS -gstrict-dwarf"
16477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16478 /* end confdefs.h. */
16479 int main(int argc, char **argv) { return 0; }
16480 _ACEOF
16481 if ac_fn_c_try_link "$LINENO"; then :
16482 ac_cv_cflags__gstrict_dwarf=yes
16483 else
16484 ac_cv_cflags__gstrict_dwarf=no
16486 rm -f core conftest.err conftest.$ac_objext \
16487 conftest$ac_exeext conftest.$ac_ext
16488 CFLAGS=$ac_wine_try_cflags_saved
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16491 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16492 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16493 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16494 fi ;;
16495 esac
16496 done
16498 MSVCRTFLAGS=""
16500 case $host_os in
16501 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
16502 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
16503 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
16504 $as_echo_n "(cached) " >&6
16505 else
16506 ac_wine_try_cflags_saved=$CFLAGS
16507 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
16508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16509 /* end confdefs.h. */
16510 int main(int argc, char **argv) { return 0; }
16511 _ACEOF
16512 if ac_fn_c_try_link "$LINENO"; then :
16513 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
16514 else
16515 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
16517 rm -f core conftest.err conftest.$ac_objext \
16518 conftest$ac_exeext conftest.$ac_ext
16519 CFLAGS=$ac_wine_try_cflags_saved
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
16522 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
16523 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
16524 DELAYLOADFLAG="-Wl,-delayload,"
16526 fi ;;
16527 *) MSVCRTFLAGS="-D_WIN32"
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
16529 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
16530 if ${ac_cv_cflags__fno_builtin+:} false; then :
16531 $as_echo_n "(cached) " >&6
16532 else
16533 ac_wine_try_cflags_saved=$CFLAGS
16534 CFLAGS="$CFLAGS -fno-builtin"
16535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16537 int main(int argc, char **argv) { return 0; }
16538 _ACEOF
16539 if ac_fn_c_try_link "$LINENO"; then :
16540 ac_cv_cflags__fno_builtin=yes
16541 else
16542 ac_cv_cflags__fno_builtin=no
16544 rm -f core conftest.err conftest.$ac_objext \
16545 conftest$ac_exeext conftest.$ac_ext
16546 CFLAGS=$ac_wine_try_cflags_saved
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
16549 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
16550 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
16551 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
16554 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
16555 if ${ac_cv_cflags__fshort_wchar+:} false; then :
16556 $as_echo_n "(cached) " >&6
16557 else
16558 ac_wine_try_cflags_saved=$CFLAGS
16559 CFLAGS="$CFLAGS -fshort-wchar"
16560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16561 /* end confdefs.h. */
16562 int main(int argc, char **argv) { return 0; }
16563 _ACEOF
16564 if ac_fn_c_try_link "$LINENO"; then :
16565 ac_cv_cflags__fshort_wchar=yes
16566 else
16567 ac_cv_cflags__fshort_wchar=no
16569 rm -f core conftest.err conftest.$ac_objext \
16570 conftest$ac_exeext conftest.$ac_ext
16571 CFLAGS=$ac_wine_try_cflags_saved
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
16574 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
16575 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
16576 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
16577 fi ;;
16578 esac
16580 case $host_cpu in
16581 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16582 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16583 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16584 $as_echo_n "(cached) " >&6
16585 else
16586 ac_wine_try_cflags_saved=$CFLAGS
16587 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16590 int main(int argc, char **argv) { return 0; }
16591 _ACEOF
16592 if ac_fn_c_try_link "$LINENO"; then :
16593 ac_cv_cflags__fno_omit_frame_pointer=yes
16594 else
16595 ac_cv_cflags__fno_omit_frame_pointer=no
16597 rm -f core conftest.err conftest.$ac_objext \
16598 conftest$ac_exeext conftest.$ac_ext
16599 CFLAGS=$ac_wine_try_cflags_saved
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16602 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16603 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16604 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16605 fi ;;
16606 *x86_64*)
16607 case $host_os in
16608 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16609 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16610 if ${ac_cv_cflags__Wno_format+:} false; then :
16611 $as_echo_n "(cached) " >&6
16612 else
16613 ac_wine_try_cflags_saved=$CFLAGS
16614 CFLAGS="$CFLAGS -Wno-format"
16615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16616 /* end confdefs.h. */
16617 int main(int argc, char **argv) { return 0; }
16618 _ACEOF
16619 if ac_fn_c_try_link "$LINENO"; then :
16620 ac_cv_cflags__Wno_format=yes
16621 else
16622 ac_cv_cflags__Wno_format=no
16624 rm -f core conftest.err conftest.$ac_objext \
16625 conftest$ac_exeext conftest.$ac_ext
16626 CFLAGS=$ac_wine_try_cflags_saved
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16629 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16630 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16631 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16632 fi ;;
16633 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
16634 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
16635 if ${ac_cv_cflags__mabi_ms+:} false; then :
16636 $as_echo_n "(cached) " >&6
16637 else
16638 ac_wine_try_cflags_saved=$CFLAGS
16639 CFLAGS="$CFLAGS -mabi=ms"
16640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h. */
16642 int main(int argc, char **argv) { return 0; }
16643 _ACEOF
16644 if ac_fn_c_try_link "$LINENO"; then :
16645 ac_cv_cflags__mabi_ms=yes
16646 else
16647 ac_cv_cflags__mabi_ms=no
16649 rm -f core conftest.err conftest.$ac_objext \
16650 conftest$ac_exeext conftest.$ac_ext
16651 CFLAGS=$ac_wine_try_cflags_saved
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
16654 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
16655 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
16656 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
16657 fi ;;
16658 esac ;;
16659 esac
16661 CFLAGS=$saved_CFLAGS
16663 if test "x$enable_werror" = "xyes"
16664 then
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16666 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16667 if ${ac_cv_cflags__Werror+:} false; then :
16668 $as_echo_n "(cached) " >&6
16669 else
16670 ac_wine_try_cflags_saved=$CFLAGS
16671 CFLAGS="$CFLAGS -Werror"
16672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h. */
16674 int main(int argc, char **argv) { return 0; }
16675 _ACEOF
16676 if ac_fn_c_try_link "$LINENO"; then :
16677 ac_cv_cflags__Werror=yes
16678 else
16679 ac_cv_cflags__Werror=no
16681 rm -f core conftest.err conftest.$ac_objext \
16682 conftest$ac_exeext conftest.$ac_ext
16683 CFLAGS=$ac_wine_try_cflags_saved
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16686 $as_echo "$ac_cv_cflags__Werror" >&6; }
16687 if test "x$ac_cv_cflags__Werror" = xyes; then :
16688 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16691 if test "x$enable_build_id" = "xyes"
16692 then
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
16694 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
16695 if ${ac_cv_cflags__Wl___build_id+:} false; then :
16696 $as_echo_n "(cached) " >&6
16697 else
16698 ac_wine_try_cflags_saved=$CFLAGS
16699 CFLAGS="$CFLAGS -Wl,--build-id"
16700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16701 /* end confdefs.h. */
16702 int main(int argc, char **argv) { return 0; }
16703 _ACEOF
16704 if ac_fn_c_try_link "$LINENO"; then :
16705 ac_cv_cflags__Wl___build_id=yes
16706 else
16707 ac_cv_cflags__Wl___build_id=no
16709 rm -f core conftest.err conftest.$ac_objext \
16710 conftest$ac_exeext conftest.$ac_ext
16711 CFLAGS=$ac_wine_try_cflags_saved
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
16714 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
16715 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
16716 CFLAGS="$CFLAGS -Wl,--build-id"
16717 LDFLAGS="$LDFLAGS -Wl,--build-id"
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16724 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16725 if ${ac_cv_c_fortify_enabled+:} false; then :
16726 $as_echo_n "(cached) " >&6
16727 else
16728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16729 /* end confdefs.h. */
16730 #include <string.h>
16732 main ()
16734 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16735 #error Fortify enabled
16736 #endif
16738 return 0;
16740 _ACEOF
16741 if ac_fn_c_try_compile "$LINENO"; then :
16742 ac_cv_c_fortify_enabled=no
16743 else
16744 ac_cv_c_fortify_enabled=yes
16746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16749 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16750 if test "$ac_cv_c_fortify_enabled" = yes
16751 then
16752 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16757 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16758 if ${ac_cv_c_cfi_support+:} false; then :
16759 $as_echo_n "(cached) " >&6
16760 else
16761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16762 /* end confdefs.h. */
16763 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16765 main ()
16769 return 0;
16771 _ACEOF
16772 if ac_fn_c_try_compile "$LINENO"; then :
16773 ac_cv_c_cfi_support="yes"
16774 else
16775 ac_cv_c_cfi_support="no"
16777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16780 $as_echo "$ac_cv_c_cfi_support" >&6; }
16781 if test "$ac_cv_c_cfi_support" = "yes"
16782 then
16783 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
16784 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
16785 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
16786 else
16787 if test "x$enable_win64" = "xyes"
16788 then
16789 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16794 case $build_os in
16795 cygwin*|mingw32*) TOOLSEXT=".exe"
16797 esac
16799 case $host_os in
16800 linux*)
16801 case $host_cpu in
16802 *i[3456789]86*|x86_64*|*aarch64*|arm*)
16803 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16804 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16806 esac
16808 esac
16811 ac_save_CFLAGS="$CFLAGS"
16812 CFLAGS="$CFLAGS $BUILTINFLAG"
16813 for ac_func in \
16814 epoll_create \
16815 fstatfs \
16816 futimens \
16817 futimes \
16818 futimesat \
16819 getattrlist \
16820 getauxval \
16821 getifaddrs \
16822 getrandom \
16823 kqueue \
16824 mach_continuous_time \
16825 pipe2 \
16826 port_create \
16827 posix_fadvise \
16828 posix_fallocate \
16829 prctl \
16830 proc_pidinfo \
16831 setproctitle \
16832 setprogname \
16833 sigprocmask \
16834 sysinfo \
16835 tcdrain \
16836 thr_kill2
16838 do :
16839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16841 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16842 cat >>confdefs.h <<_ACEOF
16843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16844 _ACEOF
16847 done
16849 CFLAGS="$ac_save_CFLAGS"
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16852 $as_echo_n "checking for library containing dlopen... " >&6; }
16853 if ${ac_cv_search_dlopen+:} false; then :
16854 $as_echo_n "(cached) " >&6
16855 else
16856 ac_func_search_save_LIBS=$LIBS
16857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16858 /* end confdefs.h. */
16860 /* Override any GCC internal prototype to avoid an error.
16861 Use char because int might match the return type of a GCC
16862 builtin and then its argument prototype would still apply. */
16863 #ifdef __cplusplus
16864 extern "C"
16865 #endif
16866 char dlopen ();
16868 main ()
16870 return dlopen ();
16872 return 0;
16874 _ACEOF
16875 for ac_lib in '' dl; do
16876 if test -z "$ac_lib"; then
16877 ac_res="none required"
16878 else
16879 ac_res=-l$ac_lib
16880 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16882 if ac_fn_c_try_link "$LINENO"; then :
16883 ac_cv_search_dlopen=$ac_res
16885 rm -f core conftest.err conftest.$ac_objext \
16886 conftest$ac_exeext
16887 if ${ac_cv_search_dlopen+:} false; then :
16888 break
16890 done
16891 if ${ac_cv_search_dlopen+:} false; then :
16893 else
16894 ac_cv_search_dlopen=no
16896 rm conftest.$ac_ext
16897 LIBS=$ac_func_search_save_LIBS
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16900 $as_echo "$ac_cv_search_dlopen" >&6; }
16901 ac_res=$ac_cv_search_dlopen
16902 if test "$ac_res" != no; then :
16903 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16907 ac_wine_check_funcs_save_LIBS="$LIBS"
16908 LIBS="$LIBS $DL_LIBS"
16909 for ac_func in dlinfo
16910 do :
16911 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
16912 if test "x$ac_cv_func_dlinfo" = xyes; then :
16913 cat >>confdefs.h <<_ACEOF
16914 #define HAVE_DLINFO 1
16915 _ACEOF
16918 done
16920 LIBS="$ac_wine_check_funcs_save_LIBS"
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16923 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16924 if ${ac_cv_search_gethostbyname+:} false; then :
16925 $as_echo_n "(cached) " >&6
16926 else
16927 ac_func_search_save_LIBS=$LIBS
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16931 /* Override any GCC internal prototype to avoid an error.
16932 Use char because int might match the return type of a GCC
16933 builtin and then its argument prototype would still apply. */
16934 #ifdef __cplusplus
16935 extern "C"
16936 #endif
16937 char gethostbyname ();
16939 main ()
16941 return gethostbyname ();
16943 return 0;
16945 _ACEOF
16946 for ac_lib in '' nsl; do
16947 if test -z "$ac_lib"; then
16948 ac_res="none required"
16949 else
16950 ac_res=-l$ac_lib
16951 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16953 if ac_fn_c_try_link "$LINENO"; then :
16954 ac_cv_search_gethostbyname=$ac_res
16956 rm -f core conftest.err conftest.$ac_objext \
16957 conftest$ac_exeext
16958 if ${ac_cv_search_gethostbyname+:} false; then :
16959 break
16961 done
16962 if ${ac_cv_search_gethostbyname+:} false; then :
16964 else
16965 ac_cv_search_gethostbyname=no
16967 rm conftest.$ac_ext
16968 LIBS=$ac_func_search_save_LIBS
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16971 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16972 ac_res=$ac_cv_search_gethostbyname
16973 if test "$ac_res" != no; then :
16974 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16980 $as_echo_n "checking for library containing connect... " >&6; }
16981 if ${ac_cv_search_connect+:} false; then :
16982 $as_echo_n "(cached) " >&6
16983 else
16984 ac_func_search_save_LIBS=$LIBS
16985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h. */
16988 /* Override any GCC internal prototype to avoid an error.
16989 Use char because int might match the return type of a GCC
16990 builtin and then its argument prototype would still apply. */
16991 #ifdef __cplusplus
16992 extern "C"
16993 #endif
16994 char connect ();
16996 main ()
16998 return connect ();
17000 return 0;
17002 _ACEOF
17003 for ac_lib in '' socket; do
17004 if test -z "$ac_lib"; then
17005 ac_res="none required"
17006 else
17007 ac_res=-l$ac_lib
17008 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17010 if ac_fn_c_try_link "$LINENO"; then :
17011 ac_cv_search_connect=$ac_res
17013 rm -f core conftest.err conftest.$ac_objext \
17014 conftest$ac_exeext
17015 if ${ac_cv_search_connect+:} false; then :
17016 break
17018 done
17019 if ${ac_cv_search_connect+:} false; then :
17021 else
17022 ac_cv_search_connect=no
17024 rm conftest.$ac_ext
17025 LIBS=$ac_func_search_save_LIBS
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17028 $as_echo "$ac_cv_search_connect" >&6; }
17029 ac_res=$ac_cv_search_connect
17030 if test "$ac_res" != no; then :
17031 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17037 $as_echo_n "checking for library containing inet_aton... " >&6; }
17038 if ${ac_cv_search_inet_aton+:} false; then :
17039 $as_echo_n "(cached) " >&6
17040 else
17041 ac_func_search_save_LIBS=$LIBS
17042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h. */
17045 /* Override any GCC internal prototype to avoid an error.
17046 Use char because int might match the return type of a GCC
17047 builtin and then its argument prototype would still apply. */
17048 #ifdef __cplusplus
17049 extern "C"
17050 #endif
17051 char inet_aton ();
17053 main ()
17055 return inet_aton ();
17057 return 0;
17059 _ACEOF
17060 for ac_lib in '' resolv; do
17061 if test -z "$ac_lib"; then
17062 ac_res="none required"
17063 else
17064 ac_res=-l$ac_lib
17065 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17067 if ac_fn_c_try_link "$LINENO"; then :
17068 ac_cv_search_inet_aton=$ac_res
17070 rm -f core conftest.err conftest.$ac_objext \
17071 conftest$ac_exeext
17072 if ${ac_cv_search_inet_aton+:} false; then :
17073 break
17075 done
17076 if ${ac_cv_search_inet_aton+:} false; then :
17078 else
17079 ac_cv_search_inet_aton=no
17081 rm conftest.$ac_ext
17082 LIBS=$ac_func_search_save_LIBS
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17085 $as_echo "$ac_cv_search_inet_aton" >&6; }
17086 ac_res=$ac_cv_search_inet_aton
17087 if test "$ac_res" != no; then :
17088 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17093 for ac_func in getaddrinfo
17094 do :
17095 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
17096 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
17097 cat >>confdefs.h <<_ACEOF
17098 #define HAVE_GETADDRINFO 1
17099 _ACEOF
17102 done
17105 case $host_os in
17106 darwin*|macosx*) ;;
17107 *) ac_save_LIBS=$LIBS
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17109 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17110 if ${ac_cv_search_clock_gettime+:} false; then :
17111 $as_echo_n "(cached) " >&6
17112 else
17113 ac_func_search_save_LIBS=$LIBS
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17117 /* Override any GCC internal prototype to avoid an error.
17118 Use char because int might match the return type of a GCC
17119 builtin and then its argument prototype would still apply. */
17120 #ifdef __cplusplus
17121 extern "C"
17122 #endif
17123 char clock_gettime ();
17125 main ()
17127 return clock_gettime ();
17129 return 0;
17131 _ACEOF
17132 for ac_lib in '' rt; do
17133 if test -z "$ac_lib"; then
17134 ac_res="none required"
17135 else
17136 ac_res=-l$ac_lib
17137 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17139 if ac_fn_c_try_link "$LINENO"; then :
17140 ac_cv_search_clock_gettime=$ac_res
17142 rm -f core conftest.err conftest.$ac_objext \
17143 conftest$ac_exeext
17144 if ${ac_cv_search_clock_gettime+:} false; then :
17145 break
17147 done
17148 if ${ac_cv_search_clock_gettime+:} false; then :
17150 else
17151 ac_cv_search_clock_gettime=no
17153 rm conftest.$ac_ext
17154 LIBS=$ac_func_search_save_LIBS
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17157 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17158 ac_res=$ac_cv_search_clock_gettime
17159 if test "$ac_res" != no; then :
17160 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17162 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17164 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17168 LIBS=$ac_save_LIBS
17170 esac
17172 if test "x$with_ldap" != "xno"
17173 then
17174 if ${LDAP_CFLAGS:+false} :; then :
17175 if ${PKG_CONFIG+:} false; then :
17176 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17180 if ${LDAP_LIBS:+false} :; then :
17181 if ${PKG_CONFIG+:} false; then :
17182 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17186 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17187 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17188 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17189 ac_save_CPPFLAGS=$CPPFLAGS
17190 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17191 for ac_header in ldap.h lber.h
17192 do :
17193 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17194 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17195 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17196 cat >>confdefs.h <<_ACEOF
17197 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17198 _ACEOF
17202 done
17204 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17205 then
17206 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17208 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17210 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17211 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17212 $as_echo_n "(cached) " >&6
17213 else
17214 ac_check_lib_save_LIBS=$LIBS
17215 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17217 /* end confdefs.h. */
17219 /* Override any GCC internal prototype to avoid an error.
17220 Use char because int might match the return type of a GCC
17221 builtin and then its argument prototype would still apply. */
17222 #ifdef __cplusplus
17223 extern "C"
17224 #endif
17225 char ldap_initialize ();
17227 main ()
17229 return ldap_initialize ();
17231 return 0;
17233 _ACEOF
17234 if ac_fn_c_try_link "$LINENO"; then :
17235 ac_cv_lib_ldap_r_ldap_initialize=yes
17236 else
17237 ac_cv_lib_ldap_r_ldap_initialize=no
17239 rm -f core conftest.err conftest.$ac_objext \
17240 conftest$ac_exeext conftest.$ac_ext
17241 LIBS=$ac_check_lib_save_LIBS
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17244 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17245 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17247 $as_echo_n "checking for ber_init in -llber... " >&6; }
17248 if ${ac_cv_lib_lber_ber_init+:} false; then :
17249 $as_echo_n "(cached) " >&6
17250 else
17251 ac_check_lib_save_LIBS=$LIBS
17252 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17256 /* Override any GCC internal prototype to avoid an error.
17257 Use char because int might match the return type of a GCC
17258 builtin and then its argument prototype would still apply. */
17259 #ifdef __cplusplus
17260 extern "C"
17261 #endif
17262 char ber_init ();
17264 main ()
17266 return ber_init ();
17268 return 0;
17270 _ACEOF
17271 if ac_fn_c_try_link "$LINENO"; then :
17272 ac_cv_lib_lber_ber_init=yes
17273 else
17274 ac_cv_lib_lber_ber_init=no
17276 rm -f core conftest.err conftest.$ac_objext \
17277 conftest$ac_exeext conftest.$ac_ext
17278 LIBS=$ac_check_lib_save_LIBS
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17281 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17282 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17284 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17286 else
17287 LDAP_LIBS=""
17290 else
17291 LDAP_LIBS=""
17294 else
17295 LDAP_LIBS=""
17298 ac_wine_check_funcs_save_LIBS="$LIBS"
17299 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17300 for ac_func in \
17301 ldap_count_references \
17302 ldap_first_reference \
17303 ldap_next_reference \
17304 ldap_parse_reference \
17305 ldap_parse_sort_control \
17306 ldap_parse_sortresponse_control \
17307 ldap_parse_vlv_control \
17308 ldap_parse_vlvresponse_control
17309 do :
17310 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17311 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17312 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17313 cat >>confdefs.h <<_ACEOF
17314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17315 _ACEOF
17318 done
17320 LIBS="$ac_wine_check_funcs_save_LIBS"
17321 else
17322 LDAP_LIBS=""
17324 CPPFLAGS=$ac_save_CPPFLAGS
17327 if test "x$LDAP_LIBS" = "x"; then :
17328 case "x$with_ldap" in
17329 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17330 xno) ;;
17331 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17332 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17333 esac
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17338 $as_echo_n "checking for sched_setaffinity... " >&6; }
17339 if ${wine_cv_have_sched_setaffinity+:} false; then :
17340 $as_echo_n "(cached) " >&6
17341 else
17342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17343 /* end confdefs.h. */
17344 #include <sched.h>
17346 main ()
17348 sched_setaffinity(0, 0, 0);
17350 return 0;
17352 _ACEOF
17353 if ac_fn_c_try_link "$LINENO"; then :
17354 wine_cv_have_sched_setaffinity=yes
17355 else
17356 wine_cv_have_sched_setaffinity=no
17358 rm -f core conftest.err conftest.$ac_objext \
17359 conftest$ac_exeext conftest.$ac_ext
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17362 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17363 if test "$wine_cv_have_sched_setaffinity" = "yes"
17364 then
17366 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17372 $as_echo_n "checking for inline... " >&6; }
17373 if ${ac_cv_c_inline+:} false; then :
17374 $as_echo_n "(cached) " >&6
17375 else
17376 ac_cv_c_inline=no
17377 for ac_kw in inline __inline__ __inline; do
17378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17379 /* end confdefs.h. */
17380 #ifndef __cplusplus
17381 typedef int foo_t;
17382 static $ac_kw foo_t static_foo () {return 0; }
17383 $ac_kw foo_t foo () {return 0; }
17384 #endif
17386 _ACEOF
17387 if ac_fn_c_try_compile "$LINENO"; then :
17388 ac_cv_c_inline=$ac_kw
17390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17391 test "$ac_cv_c_inline" != no && break
17392 done
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17396 $as_echo "$ac_cv_c_inline" >&6; }
17398 case $ac_cv_c_inline in
17399 inline | yes) ;;
17401 case $ac_cv_c_inline in
17402 no) ac_val=;;
17403 *) ac_val=$ac_cv_c_inline;;
17404 esac
17405 cat >>confdefs.h <<_ACEOF
17406 #ifndef __cplusplus
17407 #define inline $ac_val
17408 #endif
17409 _ACEOF
17411 esac
17413 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17414 #include <signal.h>
17416 if test "x$ac_cv_type_sigset_t" = xyes; then :
17418 cat >>confdefs.h <<_ACEOF
17419 #define HAVE_SIGSET_T 1
17420 _ACEOF
17425 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17427 if test "x$ac_cv_type_request_sense" = xyes; then :
17429 cat >>confdefs.h <<_ACEOF
17430 #define HAVE_REQUEST_SENSE 1
17431 _ACEOF
17437 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17438 #ifdef HAVE_SYS_SOCKET_H
17439 #include <sys/socket.h>
17440 #endif
17441 #ifdef HAVE_SYS_SOCKETVAR_H
17442 #include <sys/socketvar.h>
17443 #endif
17444 #ifdef HAVE_NET_ROUTE_H
17445 #include <net/route.h>
17446 #endif
17447 #ifdef HAVE_NETINET_IN_H
17448 #include <netinet/in.h>
17449 #endif
17450 #ifdef HAVE_NETINET_IN_SYSTM_H
17451 #include <netinet/in_systm.h>
17452 #endif
17453 #ifdef HAVE_NETINET_IP_H
17454 #include <netinet/ip.h>
17455 #endif
17456 #ifdef HAVE_NETINET_IN_PCB_H
17457 #include <netinet/in_pcb.h>
17458 #endif
17460 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17462 cat >>confdefs.h <<_ACEOF
17463 #define HAVE_STRUCT_XINPGEN 1
17464 _ACEOF
17470 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17471 #include <linux/input.h>
17472 #endif
17474 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17476 cat >>confdefs.h <<_ACEOF
17477 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17478 _ACEOF
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17485 $as_echo_n "checking for sigaddset... " >&6; }
17486 if ${wine_cv_have_sigaddset+:} false; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h. */
17491 #include <signal.h>
17493 main ()
17495 sigset_t set; sigaddset(&set,SIGTERM);
17497 return 0;
17499 _ACEOF
17500 if ac_fn_c_try_link "$LINENO"; then :
17501 wine_cv_have_sigaddset=yes
17502 else
17503 wine_cv_have_sigaddset=no
17505 rm -f core conftest.err conftest.$ac_objext \
17506 conftest$ac_exeext conftest.$ac_ext
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17509 $as_echo "$wine_cv_have_sigaddset" >&6; }
17510 if test "$wine_cv_have_sigaddset" = "yes"
17511 then
17513 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17519 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17520 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17521 $as_echo_n "(cached) " >&6
17522 else
17523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17524 /* end confdefs.h. */
17525 #include <netdb.h>
17527 main ()
17530 char *name=0;
17531 struct hostent he;
17532 struct hostent *result;
17533 char *buf=0;
17534 int bufsize=0;
17535 int errnr;
17536 char *addr=0;
17537 int addrlen=0;
17538 int addrtype=0;
17539 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17540 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17543 return 0;
17545 _ACEOF
17546 if ac_fn_c_try_link "$LINENO"; then :
17547 wine_cv_linux_gethostbyname_r_6=yes
17548 else
17549 wine_cv_linux_gethostbyname_r_6=no
17552 rm -f core conftest.err conftest.$ac_objext \
17553 conftest$ac_exeext conftest.$ac_ext
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17557 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17558 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17559 then
17561 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17565 if test "$ac_cv_header_linux_joystick_h" = "yes"
17566 then
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17568 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17569 if ${wine_cv_linux_joystick_22_api+:} false; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17575 #include <sys/ioctl.h>
17576 #include <sys/types.h>
17577 #include <linux/joystick.h>
17579 struct js_event blub;
17580 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17581 #error "no 2.2 header"
17582 #endif
17585 main ()
17587 /*empty*/
17589 return 0;
17591 _ACEOF
17592 if ac_fn_c_try_compile "$LINENO"; then :
17593 wine_cv_linux_joystick_22_api=yes
17594 else
17595 wine_cv_linux_joystick_22_api=no
17597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17601 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17602 if test "$wine_cv_linux_joystick_22_api" = "yes"
17603 then
17605 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17610 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17611 #ifdef HAVE_SYS_SOCKET_H
17612 # include <sys/socket.h>
17613 #endif
17614 #ifdef HAVE_SYS_UN_H
17615 # include <sys/un.h>
17616 #endif
17618 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17620 cat >>confdefs.h <<_ACEOF
17621 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17622 _ACEOF
17626 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17627 #ifdef HAVE_SYS_SOCKET_H
17628 # include <sys/socket.h>
17629 #endif
17630 #ifdef HAVE_SYS_UN_H
17631 # include <sys/un.h>
17632 #endif
17634 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17636 cat >>confdefs.h <<_ACEOF
17637 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17638 _ACEOF
17644 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17645 #ifdef HAVE_SCSI_SG_H
17646 #include <scsi/sg.h>
17647 #endif
17649 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17651 cat >>confdefs.h <<_ACEOF
17652 #define HAVE_SCSIREQ_T_CMD 1
17653 _ACEOF
17657 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>
17658 #ifdef HAVE_SCSI_SG_H
17659 #include <scsi/sg.h>
17660 #endif
17662 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17664 cat >>confdefs.h <<_ACEOF
17665 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17666 _ACEOF
17672 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17674 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17676 cat >>confdefs.h <<_ACEOF
17677 #define HAVE_SIGINFO_T_SI_FD 1
17678 _ACEOF
17684 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17685 #ifdef HAVE_SYS_MTIO_H
17686 #include <sys/mtio.h>
17687 #endif
17689 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17691 cat >>confdefs.h <<_ACEOF
17692 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17693 _ACEOF
17697 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17698 #ifdef HAVE_SYS_MTIO_H
17699 #include <sys/mtio.h>
17700 #endif
17702 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17704 cat >>confdefs.h <<_ACEOF
17705 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17706 _ACEOF
17710 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17711 #ifdef HAVE_SYS_MTIO_H
17712 #include <sys/mtio.h>
17713 #endif
17715 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17717 cat >>confdefs.h <<_ACEOF
17718 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17719 _ACEOF
17725 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17726 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17728 cat >>confdefs.h <<_ACEOF
17729 #define HAVE_STRUCT_STAT_ST_MTIM 1
17730 _ACEOF
17734 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17735 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17737 cat >>confdefs.h <<_ACEOF
17738 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17739 _ACEOF
17743 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17744 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17746 cat >>confdefs.h <<_ACEOF
17747 #define HAVE_STRUCT_STAT_ST_CTIM 1
17748 _ACEOF
17752 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17753 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17755 cat >>confdefs.h <<_ACEOF
17756 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17757 _ACEOF
17761 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17762 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17764 cat >>confdefs.h <<_ACEOF
17765 #define HAVE_STRUCT_STAT_ST_ATIM 1
17766 _ACEOF
17770 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17771 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17773 cat >>confdefs.h <<_ACEOF
17774 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17775 _ACEOF
17779 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17780 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17782 cat >>confdefs.h <<_ACEOF
17783 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17784 _ACEOF
17788 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17789 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17791 cat >>confdefs.h <<_ACEOF
17792 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17793 _ACEOF
17797 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17798 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17800 cat >>confdefs.h <<_ACEOF
17801 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17802 _ACEOF
17806 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17807 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17809 cat >>confdefs.h <<_ACEOF
17810 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17811 _ACEOF
17815 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17816 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17818 cat >>confdefs.h <<_ACEOF
17819 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17820 _ACEOF
17826 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
17827 #include <sys/types.h>
17828 #endif
17829 #ifdef HAVE_NETINET_IN_H
17830 #include <netinet/in.h>
17831 #endif
17833 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17835 cat >>confdefs.h <<_ACEOF
17836 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17837 _ACEOF
17843 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17844 #include <sys/types.h>
17845 #endif
17846 #ifdef HAVE_NETINET_IN_H
17847 #include <netinet/in.h>
17848 #endif
17849 #ifdef HAVE_RESOLV_H
17850 #include <resolv.h>
17851 #endif
17853 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17855 cat >>confdefs.h <<_ACEOF
17856 #define HAVE_STRUCT___RES_STATE 1
17857 _ACEOF
17863 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
17864 #include <resolv.h>
17865 #endif
17867 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17869 cat >>confdefs.h <<_ACEOF
17870 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17871 _ACEOF
17877 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17878 #include <sys/types.h>
17879 #endif
17880 #ifdef HAVE_NETINET_IN_H
17881 #include <netinet/in.h>
17882 #endif
17883 #ifdef HAVE_NETINET_IP_H
17884 #include <netinet/ip.h>
17885 #endif
17886 #ifdef HAVE_NETINET_IP_ICMP_H
17887 #include <netinet/ip_icmp.h>
17888 #endif
17889 #ifdef HAVE_NETINET_ICMP_VAR_H
17890 #include <netinet/icmp_var.h>
17891 #endif
17893 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17895 cat >>confdefs.h <<_ACEOF
17896 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17897 _ACEOF
17903 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17904 #include <sys/types.h>
17905 #endif
17906 #ifdef HAVE_ALIAS_H
17907 #include <alias.h>
17908 #endif
17909 #ifdef HAVE_SYS_SOCKET_H
17910 #include <sys/socket.h>
17911 #endif
17912 #ifdef HAVE_SYS_SOCKETVAR_H
17913 #include <sys/socketvar.h>
17914 #endif
17915 #ifdef HAVE_SYS_TIMEOUT_H
17916 #include <sys/timeout.h>
17917 #endif
17918 #ifdef HAVE_NETINET_IN_H
17919 #include <netinet/in.h>
17920 #endif
17921 #ifdef HAVE_NETINET_IN_SYSTM_H
17922 #include <netinet/in_systm.h>
17923 #endif
17924 #ifdef HAVE_NETINET_IP_H
17925 #include <netinet/ip.h>
17926 #endif
17927 #ifdef HAVE_NETINET_IP_VAR_H
17928 #include <netinet/ip_var.h>
17929 #endif
17930 #ifdef HAVE_NETINET_IP_ICMP_H
17931 #include <netinet/ip_icmp.h>
17932 #endif
17933 #ifdef HAVE_NETINET_ICMP_VAR_H
17934 #include <netinet/icmp_var.h>
17935 #endif
17937 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17939 cat >>confdefs.h <<_ACEOF
17940 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17941 _ACEOF
17947 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
17948 #include <netinet/in.h>
17949 #endif
17951 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes; then :
17953 cat >>confdefs.h <<_ACEOF
17954 #define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1
17955 _ACEOF
17961 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17962 #include <sys/types.h>
17963 #endif
17964 #ifdef HAVE_SYS_SOCKETVAR_H
17965 #include <sys/socketvar.h>
17966 #endif
17967 #ifdef HAVE_NETINET_IN_H
17968 #include <netinet/in.h>
17969 #endif
17970 #ifdef HAVE_NETINET_IP_VAR_H
17971 #include <netinet/ip_var.h>
17972 #endif
17974 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17976 cat >>confdefs.h <<_ACEOF
17977 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17978 _ACEOF
17984 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
17985 #include <netinet/ip_var.h>
17986 #endif
17988 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17990 cat >>confdefs.h <<_ACEOF
17991 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17992 _ACEOF
17998 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17999 #include <sys/types.h>
18000 #endif
18001 #ifdef HAVE_SYS_SOCKETVAR_H
18002 #include <sys/socketvar.h>
18003 #endif
18004 #ifdef HAVE_NETINET_IN_H
18005 #include <netinet/in.h>
18006 #endif
18007 #ifdef HAVE_NETINET_TCP_H
18008 #include <netinet/tcp.h>
18009 #endif
18010 #ifdef HAVE_NETINET_TCP_VAR_H
18011 #include <netinet/tcp_var.h>
18012 #endif
18014 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18016 cat >>confdefs.h <<_ACEOF
18017 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18018 _ACEOF
18024 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
18025 #include <netinet/tcp_var.h>
18026 #endif
18028 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18030 cat >>confdefs.h <<_ACEOF
18031 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18032 _ACEOF
18038 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18039 #include <sys/types.h>
18040 #endif
18041 #ifdef HAVE_NETINET_IN_H
18042 #include <netinet/in.h>
18043 #endif
18044 #ifdef HAVE_NETINET_IP_VAR_H
18045 #include <netinet/ip_var.h>
18046 #endif
18047 #ifdef HAVE_NETINET_UDP_H
18048 #include <netinet/udp.h>
18049 #endif
18050 #ifdef HAVE_NETINET_UDP_VAR_H
18051 #include <netinet/udp_var.h>
18052 #endif
18054 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18056 cat >>confdefs.h <<_ACEOF
18057 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18058 _ACEOF
18064 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18065 #include <sys/types.h>
18066 #endif
18067 #ifdef HAVE_NET_IF_H
18068 # include <net/if.h>
18069 #endif
18071 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18073 cat >>confdefs.h <<_ACEOF
18074 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18075 _ACEOF
18081 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
18082 # include <sys/sysinfo.h>
18083 #endif
18085 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
18087 cat >>confdefs.h <<_ACEOF
18088 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
18089 _ACEOF
18093 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
18094 # include <sys/sysinfo.h>
18095 #endif
18097 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
18099 cat >>confdefs.h <<_ACEOF
18100 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
18101 _ACEOF
18107 ac_save_LIBS="$LIBS"
18108 LIBS="$LIBS -lm"
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18110 $as_echo_n "checking for isfinite... " >&6; }
18111 if ${ac_cv_have_isfinite+:} false; then :
18112 $as_echo_n "(cached) " >&6
18113 else
18114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18115 /* end confdefs.h. */
18116 #include <math.h>
18118 main ()
18120 float f = 0.0; return isfinite(f)
18122 return 0;
18124 _ACEOF
18125 if ac_fn_c_try_link "$LINENO"; then :
18126 ac_cv_have_isfinite="yes"
18127 else
18128 ac_cv_have_isfinite="no"
18130 rm -f core conftest.err conftest.$ac_objext \
18131 conftest$ac_exeext conftest.$ac_ext
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18134 $as_echo "$ac_cv_have_isfinite" >&6; }
18135 if test "$ac_cv_have_isfinite" = "yes"
18136 then
18138 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18143 $as_echo_n "checking for isinf... " >&6; }
18144 if ${ac_cv_have_isinf+:} false; then :
18145 $as_echo_n "(cached) " >&6
18146 else
18147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h. */
18149 #include <math.h>
18151 main ()
18153 float f = 0.0; return isinf(f)
18155 return 0;
18157 _ACEOF
18158 if ac_fn_c_try_link "$LINENO"; then :
18159 ac_cv_have_isinf="yes"
18160 else
18161 ac_cv_have_isinf="no"
18163 rm -f core conftest.err conftest.$ac_objext \
18164 conftest$ac_exeext conftest.$ac_ext
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18167 $as_echo "$ac_cv_have_isinf" >&6; }
18168 if test "$ac_cv_have_isinf" = "yes"
18169 then
18171 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18176 $as_echo_n "checking for isnan... " >&6; }
18177 if ${ac_cv_have_isnan+:} false; then :
18178 $as_echo_n "(cached) " >&6
18179 else
18180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18181 /* end confdefs.h. */
18182 #include <math.h>
18184 main ()
18186 float f = 0.0; return isnan(f)
18188 return 0;
18190 _ACEOF
18191 if ac_fn_c_try_link "$LINENO"; then :
18192 ac_cv_have_isnan="yes"
18193 else
18194 ac_cv_have_isnan="no"
18196 rm -f core conftest.err conftest.$ac_objext \
18197 conftest$ac_exeext conftest.$ac_ext
18199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18200 $as_echo "$ac_cv_have_isnan" >&6; }
18201 if test "$ac_cv_have_isnan" = "yes"
18202 then
18204 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18208 LIBS="$ac_save_LIBS"
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18211 $as_echo_n "checking for __builtin_popcount... " >&6; }
18212 if ${ac_cv_have___builtin_popcount+:} false; then :
18213 $as_echo_n "(cached) " >&6
18214 else
18215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18216 /* end confdefs.h. */
18219 main ()
18221 return __builtin_popcount(1)
18223 return 0;
18225 _ACEOF
18226 if ac_fn_c_try_link "$LINENO"; then :
18227 ac_cv_have___builtin_popcount="yes"
18228 else
18229 ac_cv_have___builtin_popcount="no"
18231 rm -f core conftest.err conftest.$ac_objext \
18232 conftest$ac_exeext conftest.$ac_ext
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18235 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18236 if test "$ac_cv_have___builtin_popcount" = "yes"
18237 then
18239 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18244 $as_echo_n "checking for __clear_cache... " >&6; }
18245 if ${ac_cv_have___clear_cache+:} false; then :
18246 $as_echo_n "(cached) " >&6
18247 else
18248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18249 /* end confdefs.h. */
18252 main ()
18254 __clear_cache((void*)0, (void*)0); return 0;
18256 return 0;
18258 _ACEOF
18259 if ac_fn_c_try_link "$LINENO"; then :
18260 ac_cv_have___clear_cache="yes"
18261 else
18262 ac_cv_have___clear_cache="no"
18264 rm -f core conftest.err conftest.$ac_objext \
18265 conftest$ac_exeext conftest.$ac_ext
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18268 $as_echo "$ac_cv_have___clear_cache" >&6; }
18269 if test "$ac_cv_have___clear_cache" = "yes"
18270 then
18272 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18277 case $host_cpu in
18278 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18279 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18280 if ${ac_cv_cpp_def___i386__+:} false; then :
18281 $as_echo_n "(cached) " >&6
18282 else
18283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18284 /* end confdefs.h. */
18285 #ifndef __i386__
18287 #endif
18288 _ACEOF
18289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18290 $EGREP "yes" >/dev/null 2>&1; then :
18291 ac_cv_cpp_def___i386__=yes
18292 else
18293 ac_cv_cpp_def___i386__=no
18295 rm -f conftest*
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18299 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18300 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18301 CFLAGS="$CFLAGS -D__i386__"
18302 LINTFLAGS="$LINTFLAGS -D__i386__"
18303 fi ;;
18304 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18305 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18306 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18307 $as_echo_n "(cached) " >&6
18308 else
18309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h. */
18311 #ifndef __x86_64__
18313 #endif
18314 _ACEOF
18315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18316 $EGREP "yes" >/dev/null 2>&1; then :
18317 ac_cv_cpp_def___x86_64__=yes
18318 else
18319 ac_cv_cpp_def___x86_64__=no
18321 rm -f conftest*
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18325 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18326 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18327 CFLAGS="$CFLAGS -D__x86_64__"
18328 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18329 fi ;;
18330 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18331 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18332 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18333 $as_echo_n "(cached) " >&6
18334 else
18335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18336 /* end confdefs.h. */
18337 #ifndef __sparc64__
18339 #endif
18340 _ACEOF
18341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18342 $EGREP "yes" >/dev/null 2>&1; then :
18343 ac_cv_cpp_def___sparc64__=yes
18344 else
18345 ac_cv_cpp_def___sparc64__=no
18347 rm -f conftest*
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18351 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18352 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18353 CFLAGS="$CFLAGS -D__sparc64__"
18354 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18355 fi ;;
18356 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18357 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18358 if ${ac_cv_cpp_def___sparc__+:} false; then :
18359 $as_echo_n "(cached) " >&6
18360 else
18361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18362 /* end confdefs.h. */
18363 #ifndef __sparc__
18365 #endif
18366 _ACEOF
18367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18368 $EGREP "yes" >/dev/null 2>&1; then :
18369 ac_cv_cpp_def___sparc__=yes
18370 else
18371 ac_cv_cpp_def___sparc__=no
18373 rm -f conftest*
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18377 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18378 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18379 CFLAGS="$CFLAGS -D__sparc__"
18380 LINTFLAGS="$LINTFLAGS -D__sparc__"
18381 fi ;;
18382 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18383 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18384 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18385 $as_echo_n "(cached) " >&6
18386 else
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18389 #ifndef __powerpc64__
18391 #endif
18392 _ACEOF
18393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18394 $EGREP "yes" >/dev/null 2>&1; then :
18395 ac_cv_cpp_def___powerpc64__=yes
18396 else
18397 ac_cv_cpp_def___powerpc64__=no
18399 rm -f conftest*
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18403 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18404 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18405 CFLAGS="$CFLAGS -D__powerpc64__"
18406 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18407 fi ;;
18408 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18409 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18410 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18411 $as_echo_n "(cached) " >&6
18412 else
18413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18414 /* end confdefs.h. */
18415 #ifndef __powerpc__
18417 #endif
18418 _ACEOF
18419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18420 $EGREP "yes" >/dev/null 2>&1; then :
18421 ac_cv_cpp_def___powerpc__=yes
18422 else
18423 ac_cv_cpp_def___powerpc__=no
18425 rm -f conftest*
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18429 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18430 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18431 CFLAGS="$CFLAGS -D__powerpc__"
18432 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18433 fi ;;
18434 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18435 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18436 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18437 $as_echo_n "(cached) " >&6
18438 else
18439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h. */
18441 #ifndef __aarch64__
18443 #endif
18444 _ACEOF
18445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18446 $EGREP "yes" >/dev/null 2>&1; then :
18447 ac_cv_cpp_def___aarch64__=yes
18448 else
18449 ac_cv_cpp_def___aarch64__=no
18451 rm -f conftest*
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18455 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18456 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18457 CFLAGS="$CFLAGS -D__aarch64__"
18458 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18459 fi ;;
18460 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18461 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18462 if ${ac_cv_cpp_def___arm__+:} false; then :
18463 $as_echo_n "(cached) " >&6
18464 else
18465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18466 /* end confdefs.h. */
18467 #ifndef __arm__
18469 #endif
18470 _ACEOF
18471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18472 $EGREP "yes" >/dev/null 2>&1; then :
18473 ac_cv_cpp_def___arm__=yes
18474 else
18475 ac_cv_cpp_def___arm__=no
18477 rm -f conftest*
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18481 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18482 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18483 CFLAGS="$CFLAGS -D__arm__"
18484 LINTFLAGS="$LINTFLAGS -D__arm__"
18485 fi ;;
18486 esac
18488 case $host_vendor in
18489 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18490 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18491 if ${ac_cv_cpp_def___sun__+:} false; then :
18492 $as_echo_n "(cached) " >&6
18493 else
18494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18496 #ifndef __sun__
18498 #endif
18499 _ACEOF
18500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18501 $EGREP "yes" >/dev/null 2>&1; then :
18502 ac_cv_cpp_def___sun__=yes
18503 else
18504 ac_cv_cpp_def___sun__=no
18506 rm -f conftest*
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18510 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18511 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18512 CFLAGS="$CFLAGS -D__sun__"
18513 LINTFLAGS="$LINTFLAGS -D__sun__"
18514 fi ;;
18515 esac
18521 ac_config_commands="$ac_config_commands include/stamp-h"
18523 $as_echo_n "creating Makefile rules..." >&6
18525 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
18526 OPENGL_LIBS = $OPENGL_LIBS
18527 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18528 IOKIT_LIBS = $IOKIT_LIBS
18529 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18530 CORESERVICES_LIBS = $CORESERVICES_LIBS
18531 APPKIT_LIBS = $APPKIT_LIBS
18532 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
18533 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18534 SECURITY_LIBS = $SECURITY_LIBS
18535 COREAUDIO_LIBS = $COREAUDIO_LIBS
18536 OPENAL_LIBS = $OPENAL_LIBS
18537 OPENCL_LIBS = $OPENCL_LIBS
18538 QUICKTIME_LIBS = $QUICKTIME_LIBS
18539 CARBON_LIBS = $CARBON_LIBS
18540 METAL_LIBS = $METAL_LIBS
18541 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18542 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
18543 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
18544 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
18545 GSM_PE_LIBS = $GSM_PE_LIBS
18546 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
18547 JPEG_PE_LIBS = $JPEG_PE_LIBS
18548 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
18549 JXR_PE_LIBS = $JXR_PE_LIBS
18550 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
18551 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
18552 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
18553 MPG123_PE_LIBS = $MPG123_PE_LIBS
18554 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
18555 PNG_PE_LIBS = $PNG_PE_LIBS
18556 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
18557 TIFF_PE_LIBS = $TIFF_PE_LIBS
18558 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
18559 XML2_PE_LIBS = $XML2_PE_LIBS
18560 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
18561 XSLT_PE_LIBS = $XSLT_PE_LIBS
18562 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
18563 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
18564 PTHREAD_LIBS = $PTHREAD_LIBS
18565 X_CFLAGS = $X_CFLAGS
18566 X_PRE_LIBS = $X_PRE_LIBS
18567 X_LIBS = $X_LIBS
18568 X_EXTRA_LIBS = $X_EXTRA_LIBS
18569 PCAP_LIBS = $PCAP_LIBS
18570 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
18571 INOTIFY_LIBS = $INOTIFY_LIBS
18572 DBUS_CFLAGS = $DBUS_CFLAGS
18573 DBUS_LIBS = $DBUS_LIBS
18574 HAL_CFLAGS = $HAL_CFLAGS
18575 HAL_LIBS = $HAL_LIBS
18576 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18577 GNUTLS_LIBS = $GNUTLS_LIBS
18578 SANE_CFLAGS = $SANE_CFLAGS
18579 SANE_LIBS = $SANE_LIBS
18580 USB_CFLAGS = $USB_CFLAGS
18581 USB_LIBS = $USB_LIBS
18582 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18583 GPHOTO2_LIBS = $GPHOTO2_LIBS
18584 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18585 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18586 RESOLV_LIBS = $RESOLV_LIBS
18587 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18588 FREETYPE_LIBS = $FREETYPE_LIBS
18589 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18590 PULSE_CFLAGS = $PULSE_CFLAGS
18591 PULSE_LIBS = $PULSE_LIBS
18592 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18593 GSTREAMER_LIBS = $GSTREAMER_LIBS
18594 ALSA_LIBS = $ALSA_LIBS
18595 OSS4_CFLAGS = $OSS4_CFLAGS
18596 OSS4_LIBS = $OSS4_LIBS
18597 UDEV_CFLAGS = $UDEV_CFLAGS
18598 UDEV_LIBS = $UDEV_LIBS
18599 UNWIND_CFLAGS = $UNWIND_CFLAGS
18600 UNWIND_LIBS = $UNWIND_LIBS
18601 SDL2_CFLAGS = $SDL2_CFLAGS
18602 SDL2_LIBS = $SDL2_LIBS
18603 CAPI20_CFLAGS = $CAPI20_CFLAGS
18604 CAPI20_LIBS = $CAPI20_LIBS
18605 CUPS_CFLAGS = $CUPS_CFLAGS
18606 CUPS_LIBS = $CUPS_LIBS
18607 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18608 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18609 KRB5_CFLAGS = $KRB5_CFLAGS
18610 KRB5_LIBS = $KRB5_LIBS
18611 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18612 GSSAPI_LIBS = $GSSAPI_LIBS
18613 JPEG_CFLAGS = $JPEG_CFLAGS
18614 JPEG_LIBS = $JPEG_LIBS
18615 PROCSTAT_LIBS = $PROCSTAT_LIBS
18616 NETAPI_CFLAGS = $NETAPI_CFLAGS
18617 NETAPI_LIBS = $NETAPI_LIBS
18618 VKD3D_CFLAGS = $VKD3D_CFLAGS
18619 VKD3D_LIBS = $VKD3D_LIBS
18620 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
18621 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
18622 RT_LIBS = $RT_LIBS
18623 LDAP_CFLAGS = $LDAP_CFLAGS
18624 LDAP_LIBS = $LDAP_LIBS
18628 makedep_flags=""
18629 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
18632 wine_fn_append_rule "
18633 # Rules automatically generated by configure
18635 .INIT: Makefile
18636 .MAKEFILEDEPS:
18637 all: Makefile
18638 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18639 @./config.status Make.tmp Makefile
18640 depend: \$(MAKEDEP)
18641 \$(MAKEDEP)$makedep_flags
18642 dummy:
18643 .PHONY: depend dummy"
18645 ac_config_links="$ac_config_links wine:tools/winewrapper"
18646 wine_fn_config_symlink wine
18647 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
18648 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18649 wine_fn_config_symlink wine64
18652 wine_fn_config_makefile dlls/acledit enable_acledit
18653 wine_fn_config_makefile dlls/aclui enable_aclui
18654 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
18655 wine_fn_config_makefile dlls/activeds enable_activeds
18656 wine_fn_config_makefile dlls/activeds/tests enable_tests
18657 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18658 wine_fn_config_makefile dlls/adsldp enable_adsldp
18659 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18660 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18661 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18662 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18663 wine_fn_config_makefile dlls/advpack enable_advpack
18664 wine_fn_config_makefile dlls/advpack/tests enable_tests
18665 wine_fn_config_makefile dlls/amsi enable_amsi
18666 wine_fn_config_makefile dlls/amstream enable_amstream
18667 wine_fn_config_makefile dlls/amstream/tests enable_tests
18668 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18669 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18670 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18671 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18672 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18673 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18674 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18675 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18676 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18677 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18678 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18679 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
18680 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18681 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
18682 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18683 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
18684 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18685 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18686 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18687 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18688 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18689 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18690 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18691 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18692 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18693 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18694 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18695 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18696 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
18697 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18698 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18699 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
18700 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
18701 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18702 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18703 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18704 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18705 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18706 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18707 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18708 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18709 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18710 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18711 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18712 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18713 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18714 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18715 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18716 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18717 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18718 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18719 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18720 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18721 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
18722 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
18723 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18724 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18725 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18726 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18727 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18728 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18729 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18730 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
18731 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18732 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18733 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18734 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
18735 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18736 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18737 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18738 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18739 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18740 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18741 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18742 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18743 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18744 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
18745 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
18746 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18747 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
18748 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18749 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18750 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18751 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18752 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18753 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18754 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18755 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18756 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18757 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18758 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18759 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
18760 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
18761 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18762 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18763 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18764 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18765 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18766 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
18767 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18768 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18769 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
18770 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18771 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18772 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
18773 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18774 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18775 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18776 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18777 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18778 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18779 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18780 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18781 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18782 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18783 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18784 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18785 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
18786 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18787 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18788 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18789 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18790 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18791 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18792 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18793 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
18794 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18795 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18796 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18797 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18798 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18799 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18800 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18801 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18802 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18803 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18804 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18805 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18806 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18807 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18808 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18809 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18810 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18811 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18812 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18813 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18814 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
18815 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18816 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18817 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18818 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18819 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18820 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18821 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18822 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18823 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18824 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18825 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18826 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18827 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18828 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18829 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18830 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18831 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18832 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18833 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18834 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
18835 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18836 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18837 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18838 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18839 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
18840 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18841 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18842 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18843 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18844 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18845 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18846 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18847 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18848 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18849 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18850 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18851 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18852 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18853 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18854 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
18855 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18856 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18857 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18858 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18859 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18860 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18861 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18862 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
18863 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18864 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18865 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18866 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18867 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18868 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18869 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18870 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18871 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18872 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18873 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18874 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18875 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18876 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18877 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18878 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18879 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
18880 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18881 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18882 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18883 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18884 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18885 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18886 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18887 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18888 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18889 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18890 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18891 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18892 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18893 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18894 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18895 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18896 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18897 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
18898 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18899 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18900 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
18901 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18902 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18903 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18904 wine_fn_config_makefile dlls/apphelp enable_apphelp
18905 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18906 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18907 wine_fn_config_makefile dlls/atl enable_atl
18908 wine_fn_config_makefile dlls/atl/tests enable_tests
18909 wine_fn_config_makefile dlls/atl100 enable_atl100
18910 wine_fn_config_makefile dlls/atl100/tests enable_tests
18911 wine_fn_config_makefile dlls/atl110 enable_atl110
18912 wine_fn_config_makefile dlls/atl80 enable_atl80
18913 wine_fn_config_makefile dlls/atl80/tests enable_tests
18914 wine_fn_config_makefile dlls/atl90 enable_atl90
18915 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
18916 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
18917 wine_fn_config_makefile dlls/atmlib enable_atmlib
18918 wine_fn_config_makefile dlls/authz enable_authz
18919 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18920 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18921 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18922 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18923 wine_fn_config_makefile dlls/avrt enable_avrt
18924 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18925 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18926 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18927 wine_fn_config_makefile dlls/browseui enable_browseui
18928 wine_fn_config_makefile dlls/browseui/tests enable_tests
18929 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18930 wine_fn_config_makefile dlls/cabinet enable_cabinet
18931 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18932 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18933 wine_fn_config_makefile dlls/cards enable_cards
18934 wine_fn_config_makefile dlls/cdosys enable_cdosys
18935 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18936 wine_fn_config_makefile dlls/clusapi enable_clusapi
18937 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
18938 wine_fn_config_makefile dlls/combase enable_combase
18939 wine_fn_config_makefile dlls/combase/tests enable_tests
18940 wine_fn_config_makefile dlls/comcat enable_comcat
18941 wine_fn_config_makefile dlls/comcat/tests enable_tests
18942 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18943 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18944 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18945 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18946 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18947 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18948 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18949 wine_fn_config_makefile dlls/compstui enable_compstui
18950 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18951 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
18952 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18953 wine_fn_config_makefile dlls/concrt140/tests enable_tests
18954 wine_fn_config_makefile dlls/connect enable_connect
18955 wine_fn_config_makefile dlls/credui enable_credui
18956 wine_fn_config_makefile dlls/credui/tests enable_tests
18957 wine_fn_config_makefile dlls/crtdll enable_crtdll
18958 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18959 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18960 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18961 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18962 wine_fn_config_makefile dlls/cryptext enable_cryptext
18963 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18964 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18965 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
18966 wine_fn_config_makefile dlls/cryptui enable_cryptui
18967 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18968 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18969 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18970 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18971 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18972 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18973 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18974 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18975 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18976 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18977 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18978 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18979 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18980 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18981 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18982 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18983 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18984 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18985 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18986 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
18987 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18988 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18989 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18990 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18991 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18992 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18993 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18994 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18995 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18996 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18997 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18998 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18999 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19000 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19001 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19002 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
19003 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19004 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
19005 wine_fn_config_makefile dlls/d3dim enable_d3dim
19006 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
19007 wine_fn_config_makefile dlls/d3drm enable_d3drm
19008 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19009 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19010 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19011 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
19012 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19013 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
19014 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19015 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
19016 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19017 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
19018 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19019 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
19020 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19021 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
19022 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19023 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
19024 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19025 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
19026 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19027 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
19028 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19029 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19030 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19031 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
19032 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19033 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19034 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19035 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19036 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19037 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19038 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19039 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19040 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19041 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19042 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19043 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19044 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19045 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19046 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19047 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19048 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19049 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19050 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19051 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19052 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19053 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19054 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19055 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19056 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19057 wine_fn_config_makefile dlls/davclnt enable_davclnt
19058 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19059 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
19060 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19061 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19062 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19063 wine_fn_config_makefile dlls/dcomp enable_dcomp
19064 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19065 wine_fn_config_makefile dlls/ddraw enable_ddraw
19066 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19067 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19068 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19069 wine_fn_config_makefile dlls/devenum enable_devenum
19070 wine_fn_config_makefile dlls/devenum/tests enable_tests
19071 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19072 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
19073 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
19074 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19075 wine_fn_config_makefile dlls/difxapi enable_difxapi
19076 wine_fn_config_makefile dlls/dinput enable_dinput
19077 wine_fn_config_makefile dlls/dinput/tests enable_tests
19078 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19079 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19080 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
19081 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
19082 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19083 wine_fn_config_makefile dlls/dispex enable_dispex
19084 wine_fn_config_makefile dlls/dispex/tests enable_tests
19085 wine_fn_config_makefile dlls/display.drv16 enable_win16
19086 wine_fn_config_makefile dlls/dmband enable_dmband
19087 wine_fn_config_makefile dlls/dmband/tests enable_tests
19088 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19089 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19090 wine_fn_config_makefile dlls/dmime enable_dmime
19091 wine_fn_config_makefile dlls/dmime/tests enable_tests
19092 wine_fn_config_makefile dlls/dmloader enable_dmloader
19093 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19094 wine_fn_config_makefile dlls/dmscript enable_dmscript
19095 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19096 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19097 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19098 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19099 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19100 wine_fn_config_makefile dlls/dmusic enable_dmusic
19101 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19102 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19103 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19104 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19105 wine_fn_config_makefile dlls/dplay enable_dplay
19106 wine_fn_config_makefile dlls/dplayx enable_dplayx
19107 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19108 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19109 wine_fn_config_makefile dlls/dpnet enable_dpnet
19110 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19111 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19112 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
19113 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19114 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19115 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19116 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19117 wine_fn_config_makefile dlls/drmclien enable_drmclien
19118 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
19119 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
19120 wine_fn_config_makefile dlls/dsound enable_dsound
19121 wine_fn_config_makefile dlls/dsound/tests enable_tests
19122 wine_fn_config_makefile dlls/dsquery enable_dsquery
19123 wine_fn_config_makefile dlls/dssenh enable_dssenh
19124 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19125 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
19126 wine_fn_config_makefile dlls/dswave enable_dswave
19127 wine_fn_config_makefile dlls/dswave/tests enable_tests
19128 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19129 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
19130 wine_fn_config_makefile dlls/dwrite enable_dwrite
19131 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19132 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19133 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19134 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19135 wine_fn_config_makefile dlls/dxgi enable_dxgi
19136 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19137 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
19138 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19139 wine_fn_config_makefile dlls/dxva2/tests enable_tests
19140 wine_fn_config_makefile dlls/esent enable_esent
19141 wine_fn_config_makefile dlls/evr enable_evr
19142 wine_fn_config_makefile dlls/evr/tests enable_tests
19143 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19144 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19145 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19146 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19147 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19148 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
19149 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19150 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19151 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19152 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
19153 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19154 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
19155 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
19156 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19157 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19158 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19159 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
19160 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19161 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
19162 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19163 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19164 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
19165 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19166 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
19167 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
19168 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19169 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19170 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19171 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19172 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19173 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19174 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
19175 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19176 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19177 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
19178 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19179 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19180 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19181 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19182 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19183 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19184 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19185 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
19186 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19187 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19188 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19189 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19190 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19191 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19192 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19193 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
19194 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
19195 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
19196 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19197 wine_fn_config_makefile dlls/faultrep enable_faultrep
19198 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19199 wine_fn_config_makefile dlls/feclient enable_feclient
19200 wine_fn_config_makefile dlls/fltlib enable_fltlib
19201 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19202 wine_fn_config_makefile dlls/fntcache enable_fntcache
19203 wine_fn_config_makefile dlls/fontsub enable_fontsub
19204 wine_fn_config_makefile dlls/fusion enable_fusion
19205 wine_fn_config_makefile dlls/fusion/tests enable_tests
19206 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19207 wine_fn_config_makefile dlls/gameux enable_gameux
19208 wine_fn_config_makefile dlls/gameux/tests enable_tests
19209 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
19210 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19211 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19212 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19213 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19214 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19215 wine_fn_config_makefile dlls/glu32 enable_glu32
19216 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19217 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19218 wine_fn_config_makefile dlls/hal enable_hal
19219 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19220 wine_fn_config_makefile dlls/hid enable_hid
19221 wine_fn_config_makefile dlls/hid/tests enable_tests
19222 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19223 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
19224 wine_fn_config_makefile dlls/hlink enable_hlink
19225 wine_fn_config_makefile dlls/hlink/tests enable_tests
19226 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19227 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19228 wine_fn_config_makefile dlls/http.sys enable_http_sys
19229 wine_fn_config_makefile dlls/httpapi enable_httpapi
19230 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19231 wine_fn_config_makefile dlls/iccvid enable_iccvid
19232 wine_fn_config_makefile dlls/icmp enable_icmp
19233 wine_fn_config_makefile dlls/ieframe enable_ieframe
19234 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19235 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19236 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19237 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19238 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19239 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19240 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19241 wine_fn_config_makefile dlls/imm32 enable_imm32
19242 wine_fn_config_makefile dlls/imm32/tests enable_tests
19243 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19244 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19245 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19246 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19247 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19248 wine_fn_config_makefile dlls/infosoft enable_infosoft
19249 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19250 wine_fn_config_makefile dlls/initpki enable_initpki
19251 wine_fn_config_makefile dlls/inkobj enable_inkobj
19252 wine_fn_config_makefile dlls/inseng enable_inseng
19253 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19254 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19255 wine_fn_config_makefile dlls/iprop enable_iprop
19256 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19257 wine_fn_config_makefile dlls/itircl enable_itircl
19258 wine_fn_config_makefile dlls/itss enable_itss
19259 wine_fn_config_makefile dlls/itss/tests enable_tests
19260 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19261 wine_fn_config_makefile dlls/jscript enable_jscript
19262 wine_fn_config_makefile dlls/jscript/tests enable_tests
19263 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19264 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19265 wine_fn_config_makefile dlls/kerberos enable_kerberos
19266 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19267 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19268 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19269 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19270 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19271 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19272 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
19273 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
19274 wine_fn_config_makefile dlls/ksuser enable_ksuser
19275 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19276 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19277 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
19278 wine_fn_config_makefile dlls/loadperf enable_loadperf
19279 wine_fn_config_makefile dlls/localspl enable_localspl
19280 wine_fn_config_makefile dlls/localspl/tests enable_tests
19281 wine_fn_config_makefile dlls/localui enable_localui
19282 wine_fn_config_makefile dlls/localui/tests enable_tests
19283 wine_fn_config_makefile dlls/lz32 enable_lz32
19284 wine_fn_config_makefile dlls/lz32/tests enable_tests
19285 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19286 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19287 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19288 wine_fn_config_makefile dlls/mapistub enable_mapistub
19289 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19290 wine_fn_config_makefile dlls/mcicda enable_mcicda
19291 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19292 wine_fn_config_makefile dlls/mciseq enable_mciseq
19293 wine_fn_config_makefile dlls/mciwave enable_mciwave
19294 wine_fn_config_makefile dlls/mf enable_mf
19295 wine_fn_config_makefile dlls/mf/tests enable_tests
19296 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19297 wine_fn_config_makefile dlls/mferror enable_mferror
19298 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
19299 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
19300 wine_fn_config_makefile dlls/mfplat enable_mfplat
19301 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19302 wine_fn_config_makefile dlls/mfplay enable_mfplay
19303 wine_fn_config_makefile dlls/mfplay/tests enable_tests
19304 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19305 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
19306 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19307 wine_fn_config_makefile dlls/midimap enable_midimap
19308 wine_fn_config_makefile dlls/mlang enable_mlang
19309 wine_fn_config_makefile dlls/mlang/tests enable_tests
19310 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19311 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19312 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19313 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19314 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19315 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19316 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19317 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19318 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19319 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19320 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19321 wine_fn_config_makefile dlls/mpr enable_mpr
19322 wine_fn_config_makefile dlls/mpr/tests enable_tests
19323 wine_fn_config_makefile dlls/mprapi enable_mprapi
19324 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19325 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19326 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19327 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19328 wine_fn_config_makefile dlls/msado15 enable_msado15
19329 wine_fn_config_makefile dlls/msado15/tests enable_tests
19330 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19331 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19332 wine_fn_config_makefile dlls/msasn1/tests enable_tests
19333 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19334 wine_fn_config_makefile dlls/mscms enable_mscms
19335 wine_fn_config_makefile dlls/mscms/tests enable_tests
19336 wine_fn_config_makefile dlls/mscoree enable_mscoree
19337 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19338 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
19339 wine_fn_config_makefile dlls/msctf enable_msctf
19340 wine_fn_config_makefile dlls/msctf/tests enable_tests
19341 wine_fn_config_makefile dlls/msctfp enable_msctfp
19342 wine_fn_config_makefile dlls/msdaps enable_msdaps
19343 wine_fn_config_makefile dlls/msdasql enable_msdasql
19344 wine_fn_config_makefile dlls/msdasql/tests enable_tests
19345 wine_fn_config_makefile dlls/msdelta enable_msdelta
19346 wine_fn_config_makefile dlls/msdmo enable_msdmo
19347 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19348 wine_fn_config_makefile dlls/msdrm enable_msdrm
19349 wine_fn_config_makefile dlls/msftedit enable_msftedit
19350 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19351 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19352 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19353 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19354 wine_fn_config_makefile dlls/mshtml enable_mshtml
19355 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19356 wine_fn_config_makefile dlls/msi enable_msi
19357 wine_fn_config_makefile dlls/msi/tests enable_tests
19358 wine_fn_config_makefile dlls/msident enable_msident
19359 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19360 wine_fn_config_makefile dlls/msimsg enable_msimsg
19361 wine_fn_config_makefile dlls/msimtf enable_msimtf
19362 wine_fn_config_makefile dlls/msisip enable_msisip
19363 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19364 wine_fn_config_makefile dlls/msls31 enable_msls31
19365 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19366 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19367 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
19368 wine_fn_config_makefile dlls/msports enable_msports
19369 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19370 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19371 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19372 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19373 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19374 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19375 wine_fn_config_makefile dlls/mstask enable_mstask
19376 wine_fn_config_makefile dlls/mstask/tests enable_tests
19377 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
19378 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19379 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19380 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19381 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19382 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19383 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19384 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19385 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19386 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19387 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19388 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19389 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19390 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19391 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
19392 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
19393 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19394 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19395 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19396 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19397 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19398 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19399 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19400 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19401 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19402 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19403 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19404 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19405 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19406 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19407 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19408 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19409 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19410 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19411 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19412 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19413 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19414 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19415 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19416 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19417 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19418 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19419 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19420 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19421 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19422 wine_fn_config_makefile dlls/mswsock enable_mswsock
19423 wine_fn_config_makefile dlls/msxml enable_msxml
19424 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19425 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19426 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19427 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19428 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19429 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19430 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19431 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19432 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19433 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
19434 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19435 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19436 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19437 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19438 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
19439 wine_fn_config_makefile dlls/netprofm enable_netprofm
19440 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19441 wine_fn_config_makefile dlls/netutils enable_netutils
19442 wine_fn_config_makefile dlls/newdev enable_newdev
19443 wine_fn_config_makefile dlls/ninput enable_ninput
19444 wine_fn_config_makefile dlls/ninput/tests enable_tests
19445 wine_fn_config_makefile dlls/normaliz enable_normaliz
19446 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19447 wine_fn_config_makefile dlls/npptools enable_npptools
19448 wine_fn_config_makefile dlls/nsi enable_nsi
19449 wine_fn_config_makefile dlls/nsi/tests enable_tests
19450 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
19451 wine_fn_config_makefile dlls/ntdll enable_ntdll
19452 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19453 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19454 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19455 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19456 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19457 wine_fn_config_makefile dlls/ntprint enable_ntprint
19458 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19459 wine_fn_config_makefile dlls/objsel enable_objsel
19460 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19461 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
19462 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19463 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19464 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19465 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19466 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19467 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19468 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19469 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19470 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19471 wine_fn_config_makefile dlls/ole32 enable_ole32
19472 wine_fn_config_makefile dlls/ole32/tests enable_tests
19473 wine_fn_config_makefile dlls/oleacc enable_oleacc
19474 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19475 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19476 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19477 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19478 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19479 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19480 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19481 wine_fn_config_makefile dlls/oledlg enable_oledlg
19482 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19483 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19484 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19485 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19486 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19487 wine_fn_config_makefile dlls/opcservices enable_opcservices
19488 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19489 wine_fn_config_makefile dlls/openal32 enable_openal32
19490 wine_fn_config_makefile dlls/opencl enable_opencl
19491 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19492 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19493 wine_fn_config_makefile dlls/packager enable_packager
19494 wine_fn_config_makefile dlls/packager/tests enable_tests
19495 wine_fn_config_makefile dlls/pdh enable_pdh
19496 wine_fn_config_makefile dlls/pdh/tests enable_tests
19497 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19498 wine_fn_config_makefile dlls/pidgen enable_pidgen
19499 wine_fn_config_makefile dlls/powrprof enable_powrprof
19500 wine_fn_config_makefile dlls/printui enable_printui
19501 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19502 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
19503 wine_fn_config_makefile dlls/propsys enable_propsys
19504 wine_fn_config_makefile dlls/propsys/tests enable_tests
19505 wine_fn_config_makefile dlls/psapi enable_psapi
19506 wine_fn_config_makefile dlls/psapi/tests enable_tests
19507 wine_fn_config_makefile dlls/pstorec enable_pstorec
19508 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19509 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
19510 wine_fn_config_makefile dlls/qasf enable_qasf
19511 wine_fn_config_makefile dlls/qasf/tests enable_tests
19512 wine_fn_config_makefile dlls/qcap enable_qcap
19513 wine_fn_config_makefile dlls/qcap/tests enable_tests
19514 wine_fn_config_makefile dlls/qdvd enable_qdvd
19515 wine_fn_config_makefile dlls/qdvd/tests enable_tests
19516 wine_fn_config_makefile dlls/qedit enable_qedit
19517 wine_fn_config_makefile dlls/qedit/tests enable_tests
19518 wine_fn_config_makefile dlls/qmgr enable_qmgr
19519 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19520 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19521 wine_fn_config_makefile dlls/quartz enable_quartz
19522 wine_fn_config_makefile dlls/quartz/tests enable_tests
19523 wine_fn_config_makefile dlls/query enable_query
19524 wine_fn_config_makefile dlls/qwave enable_qwave
19525 wine_fn_config_makefile dlls/qwave/tests enable_tests
19526 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19527 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19528 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19529 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19530 wine_fn_config_makefile dlls/regapi enable_regapi
19531 wine_fn_config_makefile dlls/resutils enable_resutils
19532 wine_fn_config_makefile dlls/riched20 enable_riched20
19533 wine_fn_config_makefile dlls/riched20/tests enable_tests
19534 wine_fn_config_makefile dlls/riched32 enable_riched32
19535 wine_fn_config_makefile dlls/riched32/tests enable_tests
19536 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19537 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19538 wine_fn_config_makefile dlls/rsabase enable_rsabase
19539 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19540 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19541 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19542 wine_fn_config_makefile dlls/rtutils enable_rtutils
19543 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
19544 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
19545 wine_fn_config_makefile dlls/samlib enable_samlib
19546 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19547 wine_fn_config_makefile dlls/sapi enable_sapi
19548 wine_fn_config_makefile dlls/sapi/tests enable_tests
19549 wine_fn_config_makefile dlls/sas enable_sas
19550 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19551 wine_fn_config_makefile dlls/sccbase enable_sccbase
19552 wine_fn_config_makefile dlls/schannel enable_schannel
19553 wine_fn_config_makefile dlls/schannel/tests enable_tests
19554 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19555 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19556 wine_fn_config_makefile dlls/scrobj enable_scrobj
19557 wine_fn_config_makefile dlls/scrobj/tests enable_tests
19558 wine_fn_config_makefile dlls/scrrun enable_scrrun
19559 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19560 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19561 wine_fn_config_makefile dlls/sechost enable_sechost
19562 wine_fn_config_makefile dlls/secur32 enable_secur32
19563 wine_fn_config_makefile dlls/secur32/tests enable_tests
19564 wine_fn_config_makefile dlls/security enable_security
19565 wine_fn_config_makefile dlls/sensapi enable_sensapi
19566 wine_fn_config_makefile dlls/serialui enable_serialui
19567 wine_fn_config_makefile dlls/serialui/tests enable_tests
19568 wine_fn_config_makefile dlls/setupapi enable_setupapi
19569 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19570 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19571 wine_fn_config_makefile dlls/sfc enable_sfc
19572 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19573 wine_fn_config_makefile dlls/shcore enable_shcore
19574 wine_fn_config_makefile dlls/shcore/tests enable_tests
19575 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19576 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19577 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19578 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19579 wine_fn_config_makefile dlls/shell32 enable_shell32
19580 wine_fn_config_makefile dlls/shell32/tests enable_tests
19581 wine_fn_config_makefile dlls/shfolder enable_shfolder
19582 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19583 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19584 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19585 wine_fn_config_makefile dlls/slc enable_slc
19586 wine_fn_config_makefile dlls/slc/tests enable_tests
19587 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19588 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19589 wine_fn_config_makefile dlls/softpub enable_softpub
19590 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19591 wine_fn_config_makefile dlls/spoolss enable_spoolss
19592 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19593 wine_fn_config_makefile dlls/sppc enable_sppc
19594 wine_fn_config_makefile dlls/srclient enable_srclient
19595 wine_fn_config_makefile dlls/srvcli enable_srvcli
19596 wine_fn_config_makefile dlls/sspicli enable_sspicli
19597 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19598 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19599 wine_fn_config_makefile dlls/sti enable_sti
19600 wine_fn_config_makefile dlls/sti/tests enable_tests
19601 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19602 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19603 wine_fn_config_makefile dlls/strmbase enable_strmbase
19604 wine_fn_config_makefile dlls/strmdll enable_strmdll
19605 wine_fn_config_makefile dlls/svrapi enable_svrapi
19606 wine_fn_config_makefile dlls/sxs enable_sxs
19607 wine_fn_config_makefile dlls/sxs/tests enable_tests
19608 wine_fn_config_makefile dlls/system.drv16 enable_win16
19609 wine_fn_config_makefile dlls/t2embed enable_t2embed
19610 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19611 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19612 wine_fn_config_makefile dlls/tapi32/tests enable_tests
19613 wine_fn_config_makefile dlls/taskschd enable_taskschd
19614 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19615 wine_fn_config_makefile dlls/tbs enable_tbs
19616 wine_fn_config_makefile dlls/tdh enable_tdh
19617 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19618 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19619 wine_fn_config_makefile dlls/traffic enable_traffic
19620 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19621 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19622 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19623 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19624 wine_fn_config_makefile dlls/tzres enable_tzres
19625 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19626 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19627 wine_fn_config_makefile dlls/uianimation enable_uianimation
19628 wine_fn_config_makefile dlls/uianimation/tests enable_tests
19629 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19630 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
19631 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19632 wine_fn_config_makefile dlls/unicows enable_unicows
19633 wine_fn_config_makefile dlls/updspapi enable_updspapi
19634 wine_fn_config_makefile dlls/url enable_url
19635 wine_fn_config_makefile dlls/urlmon enable_urlmon
19636 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19637 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19638 wine_fn_config_makefile dlls/user.exe16 enable_win16
19639 wine_fn_config_makefile dlls/user32 enable_user32
19640 wine_fn_config_makefile dlls/user32/tests enable_tests
19641 wine_fn_config_makefile dlls/userenv enable_userenv
19642 wine_fn_config_makefile dlls/userenv/tests enable_tests
19643 wine_fn_config_makefile dlls/usp10 enable_usp10
19644 wine_fn_config_makefile dlls/usp10/tests enable_tests
19645 wine_fn_config_makefile dlls/utildll enable_utildll
19646 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19647 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19648 wine_fn_config_makefile dlls/vbscript enable_vbscript
19649 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19650 wine_fn_config_makefile dlls/vcomp enable_vcomp
19651 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19652 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19653 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19654 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
19655 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19656 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19657 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19658 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19659 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
19660 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19661 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19662 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19663 wine_fn_config_makefile dlls/version enable_version
19664 wine_fn_config_makefile dlls/version/tests enable_tests
19665 wine_fn_config_makefile dlls/vga enable_vga
19666 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19667 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
19668 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19669 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19670 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19671 wine_fn_config_makefile dlls/vssapi enable_vssapi
19672 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19673 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19674 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19675 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19676 wine_fn_config_makefile dlls/w32skrnl enable_win16
19677 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19678 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19679 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19680 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19681 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19682 wine_fn_config_makefile dlls/wdscore enable_wdscore
19683 wine_fn_config_makefile dlls/webservices enable_webservices
19684 wine_fn_config_makefile dlls/webservices/tests enable_tests
19685 wine_fn_config_makefile dlls/websocket enable_websocket
19686 wine_fn_config_makefile dlls/wer enable_wer
19687 wine_fn_config_makefile dlls/wer/tests enable_tests
19688 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19689 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
19690 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
19691 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19692 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19693 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19694 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19695 wine_fn_config_makefile dlls/win32u enable_win32u
19696 wine_fn_config_makefile dlls/win32u/tests enable_tests
19697 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19698 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19699 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19700 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
19701 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
19702 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
19703 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
19704 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
19705 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
19706 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
19707 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
19708 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
19709 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19710 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19711 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19712 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19713 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19714 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19715 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19716 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19717 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19718 wine_fn_config_makefile dlls/wined3d enable_wined3d
19719 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19720 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19721 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19722 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19723 wine_fn_config_makefile dlls/winemapi enable_winemapi
19724 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19725 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19726 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19727 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19728 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19729 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
19730 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19731 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19732 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
19733 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19734 wine_fn_config_makefile dlls/wing32 enable_wing32
19735 wine_fn_config_makefile dlls/winhttp enable_winhttp
19736 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19737 wine_fn_config_makefile dlls/wininet enable_wininet
19738 wine_fn_config_makefile dlls/wininet/tests enable_tests
19739 wine_fn_config_makefile dlls/winmm enable_winmm
19740 wine_fn_config_makefile dlls/winmm/tests enable_tests
19741 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19742 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19743 wine_fn_config_makefile dlls/winscard enable_winscard
19744 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19745 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19746 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19747 wine_fn_config_makefile dlls/winsta enable_winsta
19748 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19749 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19750 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19751 wine_fn_config_makefile dlls/wintrust enable_wintrust
19752 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19753 wine_fn_config_makefile dlls/winusb enable_winusb
19754 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19755 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19756 wine_fn_config_makefile dlls/wlanui enable_wlanui
19757 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19758 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19759 wine_fn_config_makefile dlls/wmasf enable_wmasf
19760 wine_fn_config_makefile dlls/wmi enable_wmi
19761 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19762 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19763 wine_fn_config_makefile dlls/wmp enable_wmp
19764 wine_fn_config_makefile dlls/wmp/tests enable_tests
19765 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19766 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19767 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19768 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19769 wine_fn_config_makefile dlls/wow32 enable_win16
19770 wine_fn_config_makefile dlls/wow64 enable_wow64
19771 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
19772 wine_fn_config_makefile dlls/wow64win enable_wow64win
19773 wine_fn_config_makefile dlls/wpc enable_wpc
19774 wine_fn_config_makefile dlls/wpc/tests enable_tests
19775 wine_fn_config_makefile dlls/wpcap enable_wpcap
19776 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19777 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19778 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19779 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19780 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19781 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19782 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19783 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19784 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19785 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19786 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19787 wine_fn_config_makefile dlls/wuapi enable_wuapi
19788 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19789 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19790 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19791 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19792 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19793 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19794 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19795 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19796 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19797 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
19798 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
19799 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
19800 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
19801 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
19802 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
19803 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
19804 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
19805 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
19806 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
19807 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
19808 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
19809 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
19810 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19811 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19812 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19813 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19814 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19815 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19816 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19817 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19818 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19819 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19820 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19821 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19822 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19823 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19824 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19825 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19826 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19827 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19828 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19829 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19830 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19831 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19832 wine_fn_config_makefile dlls/xmllite enable_xmllite
19833 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19834 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19835 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19836 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19837 wine_fn_config_makefile fonts enable_fonts
19838 wine_fn_config_makefile include enable_include
19839 wine_fn_config_makefile libs/adsiid enable_adsiid
19840 wine_fn_config_makefile libs/dmoguids enable_dmoguids
19841 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
19842 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
19843 wine_fn_config_makefile libs/dxguid enable_dxguid
19844 wine_fn_config_makefile libs/faudio enable_faudio
19845 wine_fn_config_makefile libs/gsm enable_gsm
19846 wine_fn_config_makefile libs/jpeg enable_jpeg
19847 wine_fn_config_makefile libs/jxr enable_jxr
19848 wine_fn_config_makefile libs/lcms2 enable_lcms2
19849 wine_fn_config_makefile libs/mfuuid enable_mfuuid
19850 wine_fn_config_makefile libs/mpg123 enable_mpg123
19851 wine_fn_config_makefile libs/png enable_png
19852 wine_fn_config_makefile libs/strmiids enable_strmiids
19853 wine_fn_config_makefile libs/tiff enable_tiff
19854 wine_fn_config_makefile libs/uuid enable_uuid
19855 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
19856 wine_fn_config_makefile libs/wine enable_wine
19857 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
19858 wine_fn_config_makefile libs/xml2 enable_xml2
19859 wine_fn_config_makefile libs/xslt enable_xslt
19860 wine_fn_config_makefile libs/zlib enable_zlib
19861 wine_fn_config_makefile loader enable_loader
19862 wine_fn_config_makefile nls enable_nls
19863 wine_fn_config_makefile po enable_po
19864 wine_fn_config_makefile programs/arp enable_arp
19865 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19866 wine_fn_config_makefile programs/attrib enable_attrib
19867 wine_fn_config_makefile programs/cabarc enable_cabarc
19868 wine_fn_config_makefile programs/cacls enable_cacls
19869 wine_fn_config_makefile programs/chcp.com enable_chcp_com
19870 wine_fn_config_makefile programs/clock enable_clock
19871 wine_fn_config_makefile programs/cmd enable_cmd
19872 wine_fn_config_makefile programs/cmd/tests enable_tests
19873 wine_fn_config_makefile programs/conhost enable_conhost
19874 wine_fn_config_makefile programs/conhost/tests enable_tests
19875 wine_fn_config_makefile programs/control enable_control
19876 wine_fn_config_makefile programs/cscript enable_cscript
19877 wine_fn_config_makefile programs/dism enable_dism
19878 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
19879 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19880 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
19881 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19882 wine_fn_config_makefile programs/eject enable_eject
19883 wine_fn_config_makefile programs/expand enable_expand
19884 wine_fn_config_makefile programs/explorer enable_explorer
19885 wine_fn_config_makefile programs/extrac32 enable_extrac32
19886 wine_fn_config_makefile programs/fc enable_fc
19887 wine_fn_config_makefile programs/find enable_find
19888 wine_fn_config_makefile programs/find/tests enable_tests
19889 wine_fn_config_makefile programs/findstr enable_findstr
19890 wine_fn_config_makefile programs/fsutil enable_fsutil
19891 wine_fn_config_makefile programs/fsutil/tests enable_tests
19892 wine_fn_config_makefile programs/hh enable_hh
19893 wine_fn_config_makefile programs/hostname enable_hostname
19894 wine_fn_config_makefile programs/icacls enable_icacls
19895 wine_fn_config_makefile programs/icinfo enable_icinfo
19896 wine_fn_config_makefile programs/iexplore enable_iexplore
19897 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19898 wine_fn_config_makefile programs/lodctr enable_lodctr
19899 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19900 wine_fn_config_makefile programs/mshta enable_mshta
19901 wine_fn_config_makefile programs/msidb enable_msidb
19902 wine_fn_config_makefile programs/msiexec enable_msiexec
19903 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19904 wine_fn_config_makefile programs/net enable_net
19905 wine_fn_config_makefile programs/netsh enable_netsh
19906 wine_fn_config_makefile programs/netstat enable_netstat
19907 wine_fn_config_makefile programs/ngen enable_ngen
19908 wine_fn_config_makefile programs/notepad enable_notepad
19909 wine_fn_config_makefile programs/oleview enable_oleview
19910 wine_fn_config_makefile programs/ping enable_ping
19911 wine_fn_config_makefile programs/plugplay enable_plugplay
19912 wine_fn_config_makefile programs/powershell enable_powershell
19913 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19914 wine_fn_config_makefile programs/progman enable_progman
19915 wine_fn_config_makefile programs/reg enable_reg
19916 wine_fn_config_makefile programs/reg/tests enable_tests
19917 wine_fn_config_makefile programs/regasm enable_regasm
19918 wine_fn_config_makefile programs/regedit enable_regedit
19919 wine_fn_config_makefile programs/regedit/tests enable_tests
19920 wine_fn_config_makefile programs/regini enable_regini
19921 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19922 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19923 wine_fn_config_makefile programs/robocopy enable_robocopy
19924 wine_fn_config_makefile programs/rpcss enable_rpcss
19925 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19926 wine_fn_config_makefile programs/rundll32 enable_rundll32
19927 wine_fn_config_makefile programs/sc enable_sc
19928 wine_fn_config_makefile programs/schtasks enable_schtasks
19929 wine_fn_config_makefile programs/schtasks/tests enable_tests
19930 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19931 wine_fn_config_makefile programs/secedit enable_secedit
19932 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19933 wine_fn_config_makefile programs/services enable_services
19934 wine_fn_config_makefile programs/services/tests enable_tests
19935 wine_fn_config_makefile programs/shutdown enable_shutdown
19936 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19937 wine_fn_config_makefile programs/start enable_start
19938 wine_fn_config_makefile programs/subst enable_subst
19939 wine_fn_config_makefile programs/svchost enable_svchost
19940 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19941 wine_fn_config_makefile programs/taskkill enable_taskkill
19942 wine_fn_config_makefile programs/tasklist enable_tasklist
19943 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19944 wine_fn_config_makefile programs/termsv enable_termsv
19945 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19946 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19947 wine_fn_config_makefile programs/view enable_view
19948 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19949 wine_fn_config_makefile programs/where enable_where
19950 wine_fn_config_makefile programs/whoami enable_whoami
19951 wine_fn_config_makefile programs/wineboot enable_wineboot
19952 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19953 wine_fn_config_makefile programs/winecfg enable_winecfg
19954 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19955 wine_fn_config_makefile programs/winedbg enable_winedbg
19956 wine_fn_config_makefile programs/winedevice enable_winedevice
19957 wine_fn_config_makefile programs/winefile enable_winefile
19958 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19959 wine_fn_config_makefile programs/winemine enable_winemine
19960 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19961 wine_fn_config_makefile programs/winepath enable_winepath
19962 wine_fn_config_makefile programs/winetest enable_winetest
19963 wine_fn_config_makefile programs/winevdm enable_win16
19964 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19965 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19966 wine_fn_config_makefile programs/winmgmt enable_winmgmt
19967 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19968 wine_fn_config_makefile programs/winver enable_winver
19969 wine_fn_config_makefile programs/wmic enable_wmic
19970 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19971 wine_fn_config_makefile programs/wordpad enable_wordpad
19972 wine_fn_config_makefile programs/write enable_write
19973 wine_fn_config_makefile programs/wscript enable_wscript
19974 wine_fn_config_makefile programs/wscript/tests enable_tests
19975 wine_fn_config_makefile programs/wuauserv enable_wuauserv
19976 wine_fn_config_makefile programs/wusa enable_wusa
19977 wine_fn_config_makefile programs/xcopy enable_xcopy
19978 wine_fn_config_makefile programs/xcopy/tests enable_tests
19979 wine_fn_config_makefile server enable_server
19980 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19981 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19982 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19983 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19984 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19985 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19986 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19987 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19988 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19991 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19992 wine_fn_append_file CONFIGURE_TARGETS "tags"
19993 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19994 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19995 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19996 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19997 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19998 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20000 if test "x$enable_tools" != xno
20001 then
20002 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20003 ac_config_commands="$ac_config_commands tools/makedep"
20007 ac_config_commands="$ac_config_commands Makefile"
20010 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20014 if test "x$enable_maintainer_mode" = xyes
20015 then
20016 wine_fn_append_rule "configure: configure.ac aclocal.m4
20017 autoconf --warnings=all
20018 include/config.h.in: include/stamp-h.in
20019 include/stamp-h.in: configure.ac aclocal.m4
20020 autoheader --warnings=all
20021 @echo timestamp > \$@"
20024 if test "x$enable_tools" != xno
20025 then
20026 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20027 @./config.status tools/makedep
20028 Makefile: tools/makedep$ac_exeext"
20029 else
20030 wine_fn_append_rule "\$(MAKEDEP):
20031 @echo \"You need to run make in $TOOLSDIR first\" && false"
20034 if test -n "$with_wine64"
20035 then
20036 case "$with_wine64" in
20037 /*) reldir="" ;;
20038 *) reldir="../" ;;
20039 esac
20040 rm -f fonts server 2>/dev/null
20041 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20042 loader/wine64 loader/wine64-preloader:
20043 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20044 $with_wine64/loader/wine:
20045 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20046 $with_wine64/loader/wine-preloader:
20047 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20048 clean::
20049 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20050 else
20051 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20052 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20053 fonts \
20054 loader/wine.inf \
20055 nls \
20056 programs/msidb/msidb \
20057 programs/msiexec/msiexec \
20058 programs/notepad/notepad \
20059 programs/regedit/regedit \
20060 programs/regsvr32/regsvr32 \
20061 programs/wineboot/wineboot \
20062 programs/winecfg/winecfg \
20063 programs/wineconsole/wineconsole \
20064 programs/winedbg/winedbg \
20065 programs/winefile/winefile \
20066 programs/winemine/winemine \
20067 programs/winepath/winepath \
20068 server/wineserver"
20070 case $host_os in
20071 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20072 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20073 esac
20076 $as_echo " done" >&6
20077 cat >confcache <<\_ACEOF
20078 # This file is a shell script that caches the results of configure
20079 # tests run on this system so they can be shared between configure
20080 # scripts and configure runs, see configure's option --config-cache.
20081 # It is not useful on other systems. If it contains results you don't
20082 # want to keep, you may remove or edit it.
20084 # config.status only pays attention to the cache file if you give it
20085 # the --recheck option to rerun configure.
20087 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20088 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20089 # following values.
20091 _ACEOF
20093 # The following way of writing the cache mishandles newlines in values,
20094 # but we know of no workaround that is simple, portable, and efficient.
20095 # So, we kill variables containing newlines.
20096 # Ultrix sh set writes to stderr and can't be redirected directly,
20097 # and sets the high bit in the cache file unless we assign to the vars.
20099 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20100 eval ac_val=\$$ac_var
20101 case $ac_val in #(
20102 *${as_nl}*)
20103 case $ac_var in #(
20104 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20105 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20106 esac
20107 case $ac_var in #(
20108 _ | IFS | as_nl) ;; #(
20109 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20110 *) { eval $ac_var=; unset $ac_var;} ;;
20111 esac ;;
20112 esac
20113 done
20115 (set) 2>&1 |
20116 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20117 *${as_nl}ac_space=\ *)
20118 # `set' does not quote correctly, so add quotes: double-quote
20119 # substitution turns \\\\ into \\, and sed turns \\ into \.
20120 sed -n \
20121 "s/'/'\\\\''/g;
20122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20123 ;; #(
20125 # `set' quotes correctly as required by POSIX, so do not add quotes.
20126 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20128 esac |
20129 sort
20131 sed '
20132 /^ac_cv_env_/b end
20133 t clear
20134 :clear
20135 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20136 t end
20137 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20138 :end' >>confcache
20139 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20140 if test -w "$cache_file"; then
20141 if test "x$cache_file" != "x/dev/null"; then
20142 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20143 $as_echo "$as_me: updating cache $cache_file" >&6;}
20144 if test ! -f "$cache_file" || test -h "$cache_file"; then
20145 cat confcache >"$cache_file"
20146 else
20147 case $cache_file in #(
20148 */* | ?:*)
20149 mv -f confcache "$cache_file"$$ &&
20150 mv -f "$cache_file"$$ "$cache_file" ;; #(
20152 mv -f confcache "$cache_file" ;;
20153 esac
20156 else
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20158 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20161 rm -f confcache
20163 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20164 # Let make expand exec_prefix.
20165 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20167 DEFS=-DHAVE_CONFIG_H
20169 ac_libobjs=
20170 ac_ltlibobjs=
20172 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20173 # 1. Remove the extension, and $U if already installed.
20174 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20175 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20176 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20177 # will be set to the directory where LIBOBJS objects are built.
20178 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20179 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20180 done
20181 LIBOBJS=$ac_libobjs
20183 LTLIBOBJS=$ac_ltlibobjs
20187 : "${CONFIG_STATUS=./config.status}"
20188 ac_write_fail=0
20189 ac_clean_files_save=$ac_clean_files
20190 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20191 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20192 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20193 as_write_fail=0
20194 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20195 #! $SHELL
20196 # Generated by $as_me.
20197 # Run this file to recreate the current configuration.
20198 # Compiler output produced by configure, useful for debugging
20199 # configure, is in config.log if it exists.
20201 debug=false
20202 ac_cs_recheck=false
20203 ac_cs_silent=false
20205 SHELL=\${CONFIG_SHELL-$SHELL}
20206 export SHELL
20207 _ASEOF
20208 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20209 ## -------------------- ##
20210 ## M4sh Initialization. ##
20211 ## -------------------- ##
20213 # Be more Bourne compatible
20214 DUALCASE=1; export DUALCASE # for MKS sh
20215 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20216 emulate sh
20217 NULLCMD=:
20218 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20219 # is contrary to our usage. Disable this feature.
20220 alias -g '${1+"$@"}'='"$@"'
20221 setopt NO_GLOB_SUBST
20222 else
20223 case `(set -o) 2>/dev/null` in #(
20224 *posix*) :
20225 set -o posix ;; #(
20226 *) :
20228 esac
20232 as_nl='
20234 export as_nl
20235 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20236 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20237 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20238 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20239 # Prefer a ksh shell builtin over an external printf program on Solaris,
20240 # but without wasting forks for bash or zsh.
20241 if test -z "$BASH_VERSION$ZSH_VERSION" \
20242 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20243 as_echo='print -r --'
20244 as_echo_n='print -rn --'
20245 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20246 as_echo='printf %s\n'
20247 as_echo_n='printf %s'
20248 else
20249 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20250 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20251 as_echo_n='/usr/ucb/echo -n'
20252 else
20253 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20254 as_echo_n_body='eval
20255 arg=$1;
20256 case $arg in #(
20257 *"$as_nl"*)
20258 expr "X$arg" : "X\\(.*\\)$as_nl";
20259 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20260 esac;
20261 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20263 export as_echo_n_body
20264 as_echo_n='sh -c $as_echo_n_body as_echo'
20266 export as_echo_body
20267 as_echo='sh -c $as_echo_body as_echo'
20270 # The user is always right.
20271 if test "${PATH_SEPARATOR+set}" != set; then
20272 PATH_SEPARATOR=:
20273 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20274 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20275 PATH_SEPARATOR=';'
20280 # IFS
20281 # We need space, tab and new line, in precisely that order. Quoting is
20282 # there to prevent editors from complaining about space-tab.
20283 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20284 # splitting by setting IFS to empty value.)
20285 IFS=" "" $as_nl"
20287 # Find who we are. Look in the path if we contain no directory separator.
20288 as_myself=
20289 case $0 in #((
20290 *[\\/]* ) as_myself=$0 ;;
20291 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20292 for as_dir in $PATH
20294 IFS=$as_save_IFS
20295 test -z "$as_dir" && as_dir=.
20296 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20297 done
20298 IFS=$as_save_IFS
20301 esac
20302 # We did not find ourselves, most probably we were run as `sh COMMAND'
20303 # in which case we are not to be found in the path.
20304 if test "x$as_myself" = x; then
20305 as_myself=$0
20307 if test ! -f "$as_myself"; then
20308 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20309 exit 1
20312 # Unset variables that we do not need and which cause bugs (e.g. in
20313 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20314 # suppresses any "Segmentation fault" message there. '((' could
20315 # trigger a bug in pdksh 5.2.14.
20316 for as_var in BASH_ENV ENV MAIL MAILPATH
20317 do eval test x\${$as_var+set} = xset \
20318 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20319 done
20320 PS1='$ '
20321 PS2='> '
20322 PS4='+ '
20324 # NLS nuisances.
20325 LC_ALL=C
20326 export LC_ALL
20327 LANGUAGE=C
20328 export LANGUAGE
20330 # CDPATH.
20331 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20334 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20335 # ----------------------------------------
20336 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20337 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20338 # script with STATUS, using 1 if that was 0.
20339 as_fn_error ()
20341 as_status=$1; test $as_status -eq 0 && as_status=1
20342 if test "$4"; then
20343 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20344 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20346 $as_echo "$as_me: error: $2" >&2
20347 as_fn_exit $as_status
20348 } # as_fn_error
20351 # as_fn_set_status STATUS
20352 # -----------------------
20353 # Set $? to STATUS, without forking.
20354 as_fn_set_status ()
20356 return $1
20357 } # as_fn_set_status
20359 # as_fn_exit STATUS
20360 # -----------------
20361 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20362 as_fn_exit ()
20364 set +e
20365 as_fn_set_status $1
20366 exit $1
20367 } # as_fn_exit
20369 # as_fn_unset VAR
20370 # ---------------
20371 # Portably unset VAR.
20372 as_fn_unset ()
20374 { eval $1=; unset $1;}
20376 as_unset=as_fn_unset
20377 # as_fn_append VAR VALUE
20378 # ----------------------
20379 # Append the text in VALUE to the end of the definition contained in VAR. Take
20380 # advantage of any shell optimizations that allow amortized linear growth over
20381 # repeated appends, instead of the typical quadratic growth present in naive
20382 # implementations.
20383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20384 eval 'as_fn_append ()
20386 eval $1+=\$2
20388 else
20389 as_fn_append ()
20391 eval $1=\$$1\$2
20393 fi # as_fn_append
20395 # as_fn_arith ARG...
20396 # ------------------
20397 # Perform arithmetic evaluation on the ARGs, and store the result in the
20398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20399 # must be portable across $(()) and expr.
20400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20401 eval 'as_fn_arith ()
20403 as_val=$(( $* ))
20405 else
20406 as_fn_arith ()
20408 as_val=`expr "$@" || test $? -eq 1`
20410 fi # as_fn_arith
20413 if expr a : '\(a\)' >/dev/null 2>&1 &&
20414 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20415 as_expr=expr
20416 else
20417 as_expr=false
20420 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20421 as_basename=basename
20422 else
20423 as_basename=false
20426 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20427 as_dirname=dirname
20428 else
20429 as_dirname=false
20432 as_me=`$as_basename -- "$0" ||
20433 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20434 X"$0" : 'X\(//\)$' \| \
20435 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20436 $as_echo X/"$0" |
20437 sed '/^.*\/\([^/][^/]*\)\/*$/{
20438 s//\1/
20441 /^X\/\(\/\/\)$/{
20442 s//\1/
20445 /^X\/\(\/\).*/{
20446 s//\1/
20449 s/.*/./; q'`
20451 # Avoid depending upon Character Ranges.
20452 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20453 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20454 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20455 as_cr_digits='0123456789'
20456 as_cr_alnum=$as_cr_Letters$as_cr_digits
20458 ECHO_C= ECHO_N= ECHO_T=
20459 case `echo -n x` in #(((((
20460 -n*)
20461 case `echo 'xy\c'` in
20462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20463 xy) ECHO_C='\c';;
20464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20465 ECHO_T=' ';;
20466 esac;;
20468 ECHO_N='-n';;
20469 esac
20471 rm -f conf$$ conf$$.exe conf$$.file
20472 if test -d conf$$.dir; then
20473 rm -f conf$$.dir/conf$$.file
20474 else
20475 rm -f conf$$.dir
20476 mkdir conf$$.dir 2>/dev/null
20478 if (echo >conf$$.file) 2>/dev/null; then
20479 if ln -s conf$$.file conf$$ 2>/dev/null; then
20480 as_ln_s='ln -s'
20481 # ... but there are two gotchas:
20482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20484 # In both cases, we have to default to `cp -pR'.
20485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20486 as_ln_s='cp -pR'
20487 elif ln conf$$.file conf$$ 2>/dev/null; then
20488 as_ln_s=ln
20489 else
20490 as_ln_s='cp -pR'
20492 else
20493 as_ln_s='cp -pR'
20495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20496 rmdir conf$$.dir 2>/dev/null
20499 # as_fn_mkdir_p
20500 # -------------
20501 # Create "$as_dir" as a directory, including parents if necessary.
20502 as_fn_mkdir_p ()
20505 case $as_dir in #(
20506 -*) as_dir=./$as_dir;;
20507 esac
20508 test -d "$as_dir" || eval $as_mkdir_p || {
20509 as_dirs=
20510 while :; do
20511 case $as_dir in #(
20512 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20513 *) as_qdir=$as_dir;;
20514 esac
20515 as_dirs="'$as_qdir' $as_dirs"
20516 as_dir=`$as_dirname -- "$as_dir" ||
20517 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20518 X"$as_dir" : 'X\(//\)[^/]' \| \
20519 X"$as_dir" : 'X\(//\)$' \| \
20520 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20521 $as_echo X"$as_dir" |
20522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20523 s//\1/
20526 /^X\(\/\/\)[^/].*/{
20527 s//\1/
20530 /^X\(\/\/\)$/{
20531 s//\1/
20534 /^X\(\/\).*/{
20535 s//\1/
20538 s/.*/./; q'`
20539 test -d "$as_dir" && break
20540 done
20541 test -z "$as_dirs" || eval "mkdir $as_dirs"
20542 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20545 } # as_fn_mkdir_p
20546 if mkdir -p . 2>/dev/null; then
20547 as_mkdir_p='mkdir -p "$as_dir"'
20548 else
20549 test -d ./-p && rmdir ./-p
20550 as_mkdir_p=false
20554 # as_fn_executable_p FILE
20555 # -----------------------
20556 # Test if FILE is an executable regular file.
20557 as_fn_executable_p ()
20559 test -f "$1" && test -x "$1"
20560 } # as_fn_executable_p
20561 as_test_x='test -x'
20562 as_executable_p=as_fn_executable_p
20564 # Sed expression to map a string onto a valid CPP name.
20565 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20567 # Sed expression to map a string onto a valid variable name.
20568 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20571 exec 6>&1
20572 ## ----------------------------------- ##
20573 ## Main body of $CONFIG_STATUS script. ##
20574 ## ----------------------------------- ##
20575 _ASEOF
20576 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20579 # Save the log message, to keep $0 and so on meaningful, and to
20580 # report actual input values of CONFIG_FILES etc. instead of their
20581 # values after options handling.
20582 ac_log="
20583 This file was extended by Wine $as_me 6.20, which was
20584 generated by GNU Autoconf 2.69. Invocation command line was
20586 CONFIG_FILES = $CONFIG_FILES
20587 CONFIG_HEADERS = $CONFIG_HEADERS
20588 CONFIG_LINKS = $CONFIG_LINKS
20589 CONFIG_COMMANDS = $CONFIG_COMMANDS
20590 $ $0 $@
20592 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20595 _ACEOF
20597 case $ac_config_files in *"
20598 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20599 esac
20601 case $ac_config_headers in *"
20602 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20603 esac
20606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20607 # Files that config.status was made for.
20608 config_files="$ac_config_files"
20609 config_headers="$ac_config_headers"
20610 config_links="$ac_config_links"
20611 config_commands="$ac_config_commands"
20613 _ACEOF
20615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20616 ac_cs_usage="\
20617 \`$as_me' instantiates files and other configuration actions
20618 from templates according to the current configuration. Unless the files
20619 and actions are specified as TAGs, all are instantiated by default.
20621 Usage: $0 [OPTION]... [TAG]...
20623 -h, --help print this help, then exit
20624 -V, --version print version number and configuration settings, then exit
20625 --config print configuration, then exit
20626 -q, --quiet, --silent
20627 do not print progress messages
20628 -d, --debug don't remove temporary files
20629 --recheck update $as_me by reconfiguring in the same conditions
20630 --file=FILE[:TEMPLATE]
20631 instantiate the configuration file FILE
20632 --header=FILE[:TEMPLATE]
20633 instantiate the configuration header FILE
20635 Configuration files:
20636 $config_files
20638 Configuration headers:
20639 $config_headers
20641 Configuration links:
20642 $config_links
20644 Configuration commands:
20645 $config_commands
20647 Report bugs to <wine-devel@winehq.org>.
20648 Wine home page: <https://www.winehq.org>."
20650 _ACEOF
20651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20652 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20653 ac_cs_version="\\
20654 Wine config.status 6.20
20655 configured by $0, generated by GNU Autoconf 2.69,
20656 with options \\"\$ac_cs_config\\"
20658 Copyright (C) 2012 Free Software Foundation, Inc.
20659 This config.status script is free software; the Free Software Foundation
20660 gives unlimited permission to copy, distribute and modify it."
20662 ac_pwd='$ac_pwd'
20663 srcdir='$srcdir'
20664 test -n "\$AWK" || AWK=awk
20665 _ACEOF
20667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20668 # The default lists apply if the user does not specify any file.
20669 ac_need_defaults=:
20670 while test $# != 0
20672 case $1 in
20673 --*=?*)
20674 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20675 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20676 ac_shift=:
20678 --*=)
20679 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20680 ac_optarg=
20681 ac_shift=:
20684 ac_option=$1
20685 ac_optarg=$2
20686 ac_shift=shift
20688 esac
20690 case $ac_option in
20691 # Handling of the options.
20692 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20693 ac_cs_recheck=: ;;
20694 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20695 $as_echo "$ac_cs_version"; exit ;;
20696 --config | --confi | --conf | --con | --co | --c )
20697 $as_echo "$ac_cs_config"; exit ;;
20698 --debug | --debu | --deb | --de | --d | -d )
20699 debug=: ;;
20700 --file | --fil | --fi | --f )
20701 $ac_shift
20702 case $ac_optarg in
20703 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20704 '') as_fn_error $? "missing file argument" ;;
20705 esac
20706 as_fn_append CONFIG_FILES " '$ac_optarg'"
20707 ac_need_defaults=false;;
20708 --header | --heade | --head | --hea )
20709 $ac_shift
20710 case $ac_optarg in
20711 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20712 esac
20713 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20714 ac_need_defaults=false;;
20715 --he | --h)
20716 # Conflict between --help and --header
20717 as_fn_error $? "ambiguous option: \`$1'
20718 Try \`$0 --help' for more information.";;
20719 --help | --hel | -h )
20720 $as_echo "$ac_cs_usage"; exit ;;
20721 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20722 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20723 ac_cs_silent=: ;;
20725 # This is an error.
20726 -*) as_fn_error $? "unrecognized option: \`$1'
20727 Try \`$0 --help' for more information." ;;
20729 *) as_fn_append ac_config_targets " $1"
20730 ac_need_defaults=false ;;
20732 esac
20733 shift
20734 done
20736 ac_configure_extra_args=
20738 if $ac_cs_silent; then
20739 exec 6>/dev/null
20740 ac_configure_extra_args="$ac_configure_extra_args --silent"
20743 _ACEOF
20744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20745 if \$ac_cs_recheck; then
20746 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20747 shift
20748 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20749 CONFIG_SHELL='$SHELL'
20750 export CONFIG_SHELL
20751 exec "\$@"
20754 _ACEOF
20755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20756 exec 5>>config.log
20758 echo
20759 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20760 ## Running $as_me. ##
20761 _ASBOX
20762 $as_echo "$ac_log"
20763 } >&5
20765 _ACEOF
20766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20768 # INIT-COMMANDS
20770 wine_fn_output_makedep ()
20772 as_dir=tools; as_fn_mkdir_p
20773 $CC -I$srcdir/tools -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20775 wine_fn_output_makefile ()
20777 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
20778 `cat $wine_rules_file`
20779 _WINE_EOF
20780 as_fn_error $? "could not create Makefile" "$LINENO" 5
20783 _ACEOF
20785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20787 # Handling of arguments.
20788 for ac_config_target in $ac_config_targets
20790 case $ac_config_target in
20791 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20792 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20793 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20794 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20795 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20796 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20797 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20799 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20800 esac
20801 done
20804 # If the user did not use the arguments to specify the items to instantiate,
20805 # then the envvar interface is used. Set only those that are not.
20806 # We use the long form for the default assignment because of an extremely
20807 # bizarre bug on SunOS 4.1.3.
20808 if $ac_need_defaults; then
20809 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20810 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20811 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20812 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20815 # Have a temporary directory for convenience. Make it in the build tree
20816 # simply because there is no reason against having it here, and in addition,
20817 # creating and moving files from /tmp can sometimes cause problems.
20818 # Hook for its removal unless debugging.
20819 # Note that there is a small window in which the directory will not be cleaned:
20820 # after its creation but before its name has been assigned to `$tmp'.
20821 $debug ||
20823 tmp= ac_tmp=
20824 trap 'exit_status=$?
20825 : "${ac_tmp:=$tmp}"
20826 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20828 trap 'as_fn_exit 1' 1 2 13 15
20830 # Create a (secure) tmp directory for tmp files.
20833 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20834 test -d "$tmp"
20835 } ||
20837 tmp=./conf$$-$RANDOM
20838 (umask 077 && mkdir "$tmp")
20839 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20840 ac_tmp=$tmp
20842 # Set up the scripts for CONFIG_FILES section.
20843 # No need to generate them if there are no CONFIG_FILES.
20844 # This happens for instance with `./config.status config.h'.
20845 if test -n "$CONFIG_FILES"; then
20848 ac_cr=`echo X | tr X '\015'`
20849 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20850 # But we know of no other shell where ac_cr would be empty at this
20851 # point, so we can use a bashism as a fallback.
20852 if test "x$ac_cr" = x; then
20853 eval ac_cr=\$\'\\r\'
20855 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20856 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20857 ac_cs_awk_cr='\\r'
20858 else
20859 ac_cs_awk_cr=$ac_cr
20862 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20863 _ACEOF
20867 echo "cat >conf$$subs.awk <<_ACEOF" &&
20868 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20869 echo "_ACEOF"
20870 } >conf$$subs.sh ||
20871 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20872 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20873 ac_delim='%!_!# '
20874 for ac_last_try in false false false false false :; do
20875 . ./conf$$subs.sh ||
20876 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20878 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20879 if test $ac_delim_n = $ac_delim_num; then
20880 break
20881 elif $ac_last_try; then
20882 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20883 else
20884 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20886 done
20887 rm -f conf$$subs.sh
20889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20890 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20891 _ACEOF
20892 sed -n '
20894 s/^/S["/; s/!.*/"]=/
20897 s/^[^!]*!//
20898 :repl
20899 t repl
20900 s/'"$ac_delim"'$//
20901 t delim
20904 s/\(.\{148\}\)..*/\1/
20905 t more1
20906 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20909 b repl
20910 :more1
20911 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20914 s/.\{148\}//
20915 t nl
20916 :delim
20918 s/\(.\{148\}\)..*/\1/
20919 t more2
20920 s/["\\]/\\&/g; s/^/"/; s/$/"/
20923 :more2
20924 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20927 s/.\{148\}//
20928 t delim
20929 ' <conf$$subs.awk | sed '
20930 /^[^""]/{
20932 s/\n//
20934 ' >>$CONFIG_STATUS || ac_write_fail=1
20935 rm -f conf$$subs.awk
20936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20937 _ACAWK
20938 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20939 for (key in S) S_is_set[key] = 1
20940 FS = "\a"
20944 line = $ 0
20945 nfields = split(line, field, "@")
20946 substed = 0
20947 len = length(field[1])
20948 for (i = 2; i < nfields; i++) {
20949 key = field[i]
20950 keylen = length(key)
20951 if (S_is_set[key]) {
20952 value = S[key]
20953 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20954 len += length(value) + length(field[++i])
20955 substed = 1
20956 } else
20957 len += 1 + keylen
20960 print line
20963 _ACAWK
20964 _ACEOF
20965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20966 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20967 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20968 else
20970 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20971 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20972 _ACEOF
20974 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20975 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20976 # trailing colons and then remove the whole line if VPATH becomes empty
20977 # (actually we leave an empty line to preserve line numbers).
20978 if test "x$srcdir" = x.; then
20979 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20981 s///
20982 s/^/:/
20983 s/[ ]*$/:/
20984 s/:\$(srcdir):/:/g
20985 s/:\${srcdir}:/:/g
20986 s/:@srcdir@:/:/g
20987 s/^:*//
20988 s/:*$//
20990 s/\(=[ ]*\).*/\1/
20992 s/\n//
20993 s/^[^=]*=[ ]*$//
20997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20998 fi # test -n "$CONFIG_FILES"
21000 # Set up the scripts for CONFIG_HEADERS section.
21001 # No need to generate them if there are no CONFIG_HEADERS.
21002 # This happens for instance with `./config.status Makefile'.
21003 if test -n "$CONFIG_HEADERS"; then
21004 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21005 BEGIN {
21006 _ACEOF
21008 # Transform confdefs.h into an awk script `defines.awk', embedded as
21009 # here-document in config.status, that substitutes the proper values into
21010 # config.h.in to produce config.h.
21012 # Create a delimiter string that does not exist in confdefs.h, to ease
21013 # handling of long lines.
21014 ac_delim='%!_!# '
21015 for ac_last_try in false false :; do
21016 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21017 if test -z "$ac_tt"; then
21018 break
21019 elif $ac_last_try; then
21020 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21021 else
21022 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21024 done
21026 # For the awk script, D is an array of macro values keyed by name,
21027 # likewise P contains macro parameters if any. Preserve backslash
21028 # newline sequences.
21030 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21031 sed -n '
21032 s/.\{148\}/&'"$ac_delim"'/g
21033 t rset
21034 :rset
21035 s/^[ ]*#[ ]*define[ ][ ]*/ /
21036 t def
21038 :def
21039 s/\\$//
21040 t bsnl
21041 s/["\\]/\\&/g
21042 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21043 D["\1"]=" \3"/p
21044 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21046 :bsnl
21047 s/["\\]/\\&/g
21048 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21049 D["\1"]=" \3\\\\\\n"\\/p
21050 t cont
21051 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21052 t cont
21054 :cont
21056 s/.\{148\}/&'"$ac_delim"'/g
21057 t clear
21058 :clear
21059 s/\\$//
21060 t bsnlc
21061 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21063 :bsnlc
21064 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21065 b cont
21066 ' <confdefs.h | sed '
21067 s/'"$ac_delim"'/"\\\
21068 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21071 for (key in D) D_is_set[key] = 1
21072 FS = "\a"
21074 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21075 line = \$ 0
21076 split(line, arg, " ")
21077 if (arg[1] == "#") {
21078 defundef = arg[2]
21079 mac1 = arg[3]
21080 } else {
21081 defundef = substr(arg[1], 2)
21082 mac1 = arg[2]
21084 split(mac1, mac2, "(") #)
21085 macro = mac2[1]
21086 prefix = substr(line, 1, index(line, defundef) - 1)
21087 if (D_is_set[macro]) {
21088 # Preserve the white space surrounding the "#".
21089 print prefix "define", macro P[macro] D[macro]
21090 next
21091 } else {
21092 # Replace #undef with comments. This is necessary, for example,
21093 # in the case of _POSIX_SOURCE, which is predefined and required
21094 # on some systems where configure will not decide to define it.
21095 if (defundef == "undef") {
21096 print "/*", prefix defundef, macro, "*/"
21097 next
21101 { print }
21102 _ACAWK
21103 _ACEOF
21104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21105 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21106 fi # test -n "$CONFIG_HEADERS"
21109 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21110 shift
21111 for ac_tag
21113 case $ac_tag in
21114 :[FHLC]) ac_mode=$ac_tag; continue;;
21115 esac
21116 case $ac_mode$ac_tag in
21117 :[FHL]*:*);;
21118 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21119 :[FH]-) ac_tag=-:-;;
21120 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21121 esac
21122 ac_save_IFS=$IFS
21123 IFS=:
21124 set x $ac_tag
21125 IFS=$ac_save_IFS
21126 shift
21127 ac_file=$1
21128 shift
21130 case $ac_mode in
21131 :L) ac_source=$1;;
21132 :[FH])
21133 ac_file_inputs=
21134 for ac_f
21136 case $ac_f in
21137 -) ac_f="$ac_tmp/stdin";;
21138 *) # Look for the file first in the build tree, then in the source tree
21139 # (if the path is not absolute). The absolute path cannot be DOS-style,
21140 # because $ac_f cannot contain `:'.
21141 test -f "$ac_f" ||
21142 case $ac_f in
21143 [\\/$]*) false;;
21144 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21145 esac ||
21146 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21147 esac
21148 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21149 as_fn_append ac_file_inputs " '$ac_f'"
21150 done
21152 # Let's still pretend it is `configure' which instantiates (i.e., don't
21153 # use $as_me), people would be surprised to read:
21154 # /* config.h. Generated by config.status. */
21155 configure_input='Generated from '`
21156 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21157 `' by configure.'
21158 if test x"$ac_file" != x-; then
21159 configure_input="$ac_file. $configure_input"
21160 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21161 $as_echo "$as_me: creating $ac_file" >&6;}
21163 # Neutralize special characters interpreted by sed in replacement strings.
21164 case $configure_input in #(
21165 *\&* | *\|* | *\\* )
21166 ac_sed_conf_input=`$as_echo "$configure_input" |
21167 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21168 *) ac_sed_conf_input=$configure_input;;
21169 esac
21171 case $ac_tag in
21172 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21173 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21174 esac
21176 esac
21178 ac_dir=`$as_dirname -- "$ac_file" ||
21179 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21180 X"$ac_file" : 'X\(//\)[^/]' \| \
21181 X"$ac_file" : 'X\(//\)$' \| \
21182 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21183 $as_echo X"$ac_file" |
21184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21185 s//\1/
21188 /^X\(\/\/\)[^/].*/{
21189 s//\1/
21192 /^X\(\/\/\)$/{
21193 s//\1/
21196 /^X\(\/\).*/{
21197 s//\1/
21200 s/.*/./; q'`
21201 as_dir="$ac_dir"; as_fn_mkdir_p
21202 ac_builddir=.
21204 case "$ac_dir" in
21205 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21207 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21208 # A ".." for each directory in $ac_dir_suffix.
21209 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21210 case $ac_top_builddir_sub in
21211 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21212 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21213 esac ;;
21214 esac
21215 ac_abs_top_builddir=$ac_pwd
21216 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21217 # for backward compatibility:
21218 ac_top_builddir=$ac_top_build_prefix
21220 case $srcdir in
21221 .) # We are building in place.
21222 ac_srcdir=.
21223 ac_top_srcdir=$ac_top_builddir_sub
21224 ac_abs_top_srcdir=$ac_pwd ;;
21225 [\\/]* | ?:[\\/]* ) # Absolute name.
21226 ac_srcdir=$srcdir$ac_dir_suffix;
21227 ac_top_srcdir=$srcdir
21228 ac_abs_top_srcdir=$srcdir ;;
21229 *) # Relative name.
21230 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21231 ac_top_srcdir=$ac_top_build_prefix$srcdir
21232 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21233 esac
21234 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21237 case $ac_mode in
21240 # CONFIG_FILE
21243 _ACEOF
21245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21246 # If the template does not know about datarootdir, expand it.
21247 # FIXME: This hack should be removed a few years after 2.60.
21248 ac_datarootdir_hack=; ac_datarootdir_seen=
21249 ac_sed_dataroot='
21250 /datarootdir/ {
21254 /@datadir@/p
21255 /@docdir@/p
21256 /@infodir@/p
21257 /@localedir@/p
21258 /@mandir@/p'
21259 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21260 *datarootdir*) ac_datarootdir_seen=yes;;
21261 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21263 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21264 _ACEOF
21265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21266 ac_datarootdir_hack='
21267 s&@datadir@&$datadir&g
21268 s&@docdir@&$docdir&g
21269 s&@infodir@&$infodir&g
21270 s&@localedir@&$localedir&g
21271 s&@mandir@&$mandir&g
21272 s&\\\${datarootdir}&$datarootdir&g' ;;
21273 esac
21274 _ACEOF
21276 # Neutralize VPATH when `$srcdir' = `.'.
21277 # Shell code in configure.ac might set extrasub.
21278 # FIXME: do we really want to maintain this feature?
21279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21280 ac_sed_extra="$ac_vpsub
21281 $extrasub
21282 _ACEOF
21283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21285 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21286 s|@configure_input@|$ac_sed_conf_input|;t t
21287 s&@top_builddir@&$ac_top_builddir_sub&;t t
21288 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21289 s&@srcdir@&$ac_srcdir&;t t
21290 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21291 s&@top_srcdir@&$ac_top_srcdir&;t t
21292 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21293 s&@builddir@&$ac_builddir&;t t
21294 s&@abs_builddir@&$ac_abs_builddir&;t t
21295 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21296 $ac_datarootdir_hack
21298 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21299 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21301 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21302 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21303 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21304 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21306 which seems to be undefined. Please make sure it is defined" >&5
21307 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21308 which seems to be undefined. Please make sure it is defined" >&2;}
21310 rm -f "$ac_tmp/stdin"
21311 case $ac_file in
21312 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21313 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21314 esac \
21315 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21319 # CONFIG_HEADER
21321 if test x"$ac_file" != x-; then
21323 $as_echo "/* $configure_input */" \
21324 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21325 } >"$ac_tmp/config.h" \
21326 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21327 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21329 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21330 else
21331 rm -f "$ac_file"
21332 mv "$ac_tmp/config.h" "$ac_file" \
21333 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21335 else
21336 $as_echo "/* $configure_input */" \
21337 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21338 || as_fn_error $? "could not create -" "$LINENO" 5
21343 # CONFIG_LINK
21346 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21348 else
21349 # Prefer the file from the source tree if names are identical.
21350 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21351 ac_source=$srcdir/$ac_source
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21355 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21357 if test ! -r "$ac_source"; then
21358 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21360 rm -f "$ac_file"
21362 # Try a relative symlink, then a hard link, then a copy.
21363 case $ac_source in
21364 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21365 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21366 esac
21367 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21368 ln "$ac_source" "$ac_file" 2>/dev/null ||
21369 cp -p "$ac_source" "$ac_file" ||
21370 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21373 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21374 $as_echo "$as_me: executing $ac_file commands" >&6;}
21376 esac
21379 case $ac_file$ac_mode in
21380 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21381 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21382 "Makefile":C) wine_fn_output_makefile Makefile ;;
21384 esac
21385 done # for ac_tag
21388 as_fn_exit 0
21389 _ACEOF
21390 ac_clean_files=$ac_clean_files_save
21392 test $ac_write_fail = 0 ||
21393 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21396 # configure is writing to config.log, and then calls config.status.
21397 # config.status does its own redirection, appending to config.log.
21398 # Unfortunately, on DOS this fails, as config.log is still kept open
21399 # by configure, so config.status won't be able to write to it; its
21400 # output is simply discarded. So we exec the FD to /dev/null,
21401 # effectively closing config.log, so it can be properly (re)opened and
21402 # appended to by config.status. When coming back to configure, we
21403 # need to make the FD available again.
21404 if test "$no_create" != yes; then
21405 ac_cs_success=:
21406 ac_config_status_args=
21407 test "$silent" = yes &&
21408 ac_config_status_args="$ac_config_status_args --quiet"
21409 exec 5>/dev/null
21410 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21411 exec 5>>config.log
21412 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21413 # would make configure fail if this is the last instruction.
21414 $ac_cs_success || as_fn_exit 1
21416 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21418 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21422 if test "$no_create" = "yes"
21423 then
21424 exit 0
21427 ac_save_IFS="$IFS"
21428 if test "x$wine_notices" != x; then
21429 echo >&6
21430 IFS="|"
21431 for msg in $wine_notices; do
21432 IFS="$ac_save_IFS"
21433 if ${msg:+false} :; then :
21435 else
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21437 $as_echo "$as_me: $msg" >&6;}
21439 done
21441 IFS="|"
21442 for msg in $wine_warnings; do
21443 IFS="$ac_save_IFS"
21444 if ${msg:+false} :; then :
21446 else
21447 echo >&2
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21449 $as_echo "$as_me: WARNING: $msg" >&2;}
21451 done
21452 IFS="$ac_save_IFS"
21454 $as_echo "
21455 $as_me: Finished. Do '${ac_make}' to compile Wine.
21456 " >&6