pdh: Use wide-char string literals.
[wine.git] / configure
blob26caf6703e539e0824769f0444f5e95f6d3e1cca
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.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='5.20'
584 PACKAGE_STRING='Wine 5.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 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 FREETYPE_LIBS
678 FREETYPE_CFLAGS
679 LCMS2_LIBS
680 LCMS2_CFLAGS
681 RESOLV_LIBS
682 GPHOTO2_PORT_LIBS
683 GPHOTO2_PORT_CFLAGS
684 GPHOTO2_LIBS
685 GPHOTO2_CFLAGS
686 USB_LIBS
687 USB_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 EXCESS_PRECISION_CFLAGS
710 CROSSDEBUG
711 DELAYLOADFLAG
712 CROSSLDFLAGS
713 EXTRACROSSCFLAGS
714 CROSSCFLAGS
715 CROSSCC
716 CROSSTARGET
717 LIBWINE_DEPENDS
718 PRELINK
719 WINELOADER_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_SHAREDLIB
722 METAL_LIBS
723 CARBON_LIBS
724 QUICKTIME_LIBS
725 OPENCL_LIBS
726 OPENAL_LIBS
727 COREAUDIO_LIBS
728 SECURITY_LIBS
729 DISKARBITRATION_LIBS
730 SYSTEMCONFIGURATION_LIBS
731 APPKIT_LIBS
732 CORESERVICES_LIBS
733 APPLICATIONSERVICES_LIBS
734 FORCEFEEDBACK_LIBS
735 IOKIT_LIBS
736 COREFOUNDATION_LIBS
737 OBJCPP
738 ac_ct_OBJC
739 OBJCFLAGS
740 OBJC
741 DLLTOOL
742 WINELOADER_PROGRAMS
743 CONFIGURE_TARGETS
744 DISABLED_SUBDIRS
745 SUBDIRS
746 READELF
747 OTOOL
749 WINEPRELOADER_LDFLAGS
750 WINELOADER_LDFLAGS
751 TOP_INSTALL_DEV
752 TOP_INSTALL_LIB
753 LDEXECFLAGS
754 LDDLLFLAGS
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_quicktime
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_usb
887 with_v4l2
888 with_vkd3d
889 with_vulkan
890 with_xcomposite
891 with_xcursor
892 with_xfixes
893 with_xinerama
894 with_xinput
895 with_xinput2
896 with_xml
897 with_xrandr
898 with_xrender
899 with_xshape
900 with_xshm
901 with_xslt
902 with_xxf86vm
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_ansi_l2_1_0
948 enable_api_ms_win_core_file_fromapp_l1_1_0
949 enable_api_ms_win_core_file_l1_1_0
950 enable_api_ms_win_core_file_l1_2_0
951 enable_api_ms_win_core_file_l1_2_1
952 enable_api_ms_win_core_file_l1_2_2
953 enable_api_ms_win_core_file_l2_1_0
954 enable_api_ms_win_core_file_l2_1_1
955 enable_api_ms_win_core_file_l2_1_2
956 enable_api_ms_win_core_handle_l1_1_0
957 enable_api_ms_win_core_heap_l1_1_0
958 enable_api_ms_win_core_heap_l1_2_0
959 enable_api_ms_win_core_heap_l2_1_0
960 enable_api_ms_win_core_heap_obsolete_l1_1_0
961 enable_api_ms_win_core_interlocked_l1_1_0
962 enable_api_ms_win_core_interlocked_l1_2_0
963 enable_api_ms_win_core_io_l1_1_0
964 enable_api_ms_win_core_io_l1_1_1
965 enable_api_ms_win_core_job_l1_1_0
966 enable_api_ms_win_core_job_l2_1_0
967 enable_api_ms_win_core_kernel32_legacy_l1_1_0
968 enable_api_ms_win_core_kernel32_legacy_l1_1_1
969 enable_api_ms_win_core_kernel32_private_l1_1_1
970 enable_api_ms_win_core_largeinteger_l1_1_0
971 enable_api_ms_win_core_libraryloader_l1_1_0
972 enable_api_ms_win_core_libraryloader_l1_1_1
973 enable_api_ms_win_core_libraryloader_l1_2_0
974 enable_api_ms_win_core_libraryloader_l1_2_1
975 enable_api_ms_win_core_libraryloader_l1_2_2
976 enable_api_ms_win_core_libraryloader_l2_1_0
977 enable_api_ms_win_core_localization_l1_1_0
978 enable_api_ms_win_core_localization_l1_2_0
979 enable_api_ms_win_core_localization_l1_2_1
980 enable_api_ms_win_core_localization_l1_2_2
981 enable_api_ms_win_core_localization_l2_1_0
982 enable_api_ms_win_core_localization_obsolete_l1_1_0
983 enable_api_ms_win_core_localization_obsolete_l1_2_0
984 enable_api_ms_win_core_localization_obsolete_l1_3_0
985 enable_api_ms_win_core_localization_private_l1_1_0
986 enable_api_ms_win_core_localregistry_l1_1_0
987 enable_api_ms_win_core_memory_l1_1_0
988 enable_api_ms_win_core_memory_l1_1_1
989 enable_api_ms_win_core_memory_l1_1_2
990 enable_api_ms_win_core_memory_l1_1_3
991 enable_api_ms_win_core_memory_l1_1_4
992 enable_api_ms_win_core_misc_l1_1_0
993 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
994 enable_api_ms_win_core_namedpipe_l1_1_0
995 enable_api_ms_win_core_namedpipe_l1_2_0
996 enable_api_ms_win_core_namespace_l1_1_0
997 enable_api_ms_win_core_normalization_l1_1_0
998 enable_api_ms_win_core_path_l1_1_0
999 enable_api_ms_win_core_privateprofile_l1_1_1
1000 enable_api_ms_win_core_processenvironment_l1_1_0
1001 enable_api_ms_win_core_processenvironment_l1_2_0
1002 enable_api_ms_win_core_processthreads_l1_1_0
1003 enable_api_ms_win_core_processthreads_l1_1_1
1004 enable_api_ms_win_core_processthreads_l1_1_2
1005 enable_api_ms_win_core_processthreads_l1_1_3
1006 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1007 enable_api_ms_win_core_profile_l1_1_0
1008 enable_api_ms_win_core_psapi_ansi_l1_1_0
1009 enable_api_ms_win_core_psapi_l1_1_0
1010 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1011 enable_api_ms_win_core_quirks_l1_1_0
1012 enable_api_ms_win_core_realtime_l1_1_0
1013 enable_api_ms_win_core_registry_l1_1_0
1014 enable_api_ms_win_core_registry_l2_1_0
1015 enable_api_ms_win_core_registry_l2_2_0
1016 enable_api_ms_win_core_registryuserspecific_l1_1_0
1017 enable_api_ms_win_core_rtlsupport_l1_1_0
1018 enable_api_ms_win_core_rtlsupport_l1_2_0
1019 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1020 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1021 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1022 enable_api_ms_win_core_shutdown_l1_1_0
1023 enable_api_ms_win_core_sidebyside_l1_1_0
1024 enable_api_ms_win_core_string_l1_1_0
1025 enable_api_ms_win_core_string_l2_1_0
1026 enable_api_ms_win_core_string_obsolete_l1_1_0
1027 enable_api_ms_win_core_stringansi_l1_1_0
1028 enable_api_ms_win_core_stringloader_l1_1_1
1029 enable_api_ms_win_core_synch_ansi_l1_1_0
1030 enable_api_ms_win_core_synch_l1_1_0
1031 enable_api_ms_win_core_synch_l1_2_0
1032 enable_api_ms_win_core_synch_l1_2_1
1033 enable_api_ms_win_core_sysinfo_l1_1_0
1034 enable_api_ms_win_core_sysinfo_l1_2_0
1035 enable_api_ms_win_core_sysinfo_l1_2_1
1036 enable_api_ms_win_core_systemtopology_l1_1_0
1037 enable_api_ms_win_core_threadpool_l1_1_0
1038 enable_api_ms_win_core_threadpool_l1_2_0
1039 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1040 enable_api_ms_win_core_threadpool_private_l1_1_0
1041 enable_api_ms_win_core_timezone_l1_1_0
1042 enable_api_ms_win_core_toolhelp_l1_1_0
1043 enable_api_ms_win_core_url_l1_1_0
1044 enable_api_ms_win_core_util_l1_1_0
1045 enable_api_ms_win_core_version_l1_1_0
1046 enable_api_ms_win_core_version_l1_1_1
1047 enable_api_ms_win_core_version_private_l1_1_0
1048 enable_api_ms_win_core_versionansi_l1_1_0
1049 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1050 enable_api_ms_win_core_winrt_error_l1_1_0
1051 enable_api_ms_win_core_winrt_error_l1_1_1
1052 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1053 enable_api_ms_win_core_winrt_l1_1_0
1054 enable_api_ms_win_core_winrt_registration_l1_1_0
1055 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1056 enable_api_ms_win_core_winrt_string_l1_1_0
1057 enable_api_ms_win_core_winrt_string_l1_1_1
1058 enable_api_ms_win_core_wow64_l1_1_0
1059 enable_api_ms_win_core_wow64_l1_1_1
1060 enable_api_ms_win_core_xstate_l1_1_0
1061 enable_api_ms_win_core_xstate_l2_1_0
1062 enable_api_ms_win_crt_conio_l1_1_0
1063 enable_api_ms_win_crt_convert_l1_1_0
1064 enable_api_ms_win_crt_environment_l1_1_0
1065 enable_api_ms_win_crt_filesystem_l1_1_0
1066 enable_api_ms_win_crt_heap_l1_1_0
1067 enable_api_ms_win_crt_locale_l1_1_0
1068 enable_api_ms_win_crt_math_l1_1_0
1069 enable_api_ms_win_crt_multibyte_l1_1_0
1070 enable_api_ms_win_crt_private_l1_1_0
1071 enable_api_ms_win_crt_process_l1_1_0
1072 enable_api_ms_win_crt_runtime_l1_1_0
1073 enable_api_ms_win_crt_stdio_l1_1_0
1074 enable_api_ms_win_crt_string_l1_1_0
1075 enable_api_ms_win_crt_time_l1_1_0
1076 enable_api_ms_win_crt_utility_l1_1_0
1077 enable_api_ms_win_devices_config_l1_1_0
1078 enable_api_ms_win_devices_config_l1_1_1
1079 enable_api_ms_win_devices_query_l1_1_1
1080 enable_api_ms_win_downlevel_advapi32_l1_1_0
1081 enable_api_ms_win_downlevel_advapi32_l2_1_0
1082 enable_api_ms_win_downlevel_kernel32_l2_1_0
1083 enable_api_ms_win_downlevel_normaliz_l1_1_0
1084 enable_api_ms_win_downlevel_ole32_l1_1_0
1085 enable_api_ms_win_downlevel_shell32_l1_1_0
1086 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1087 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1088 enable_api_ms_win_downlevel_user32_l1_1_0
1089 enable_api_ms_win_downlevel_version_l1_1_0
1090 enable_api_ms_win_dx_d3dkmt_l1_1_0
1091 enable_api_ms_win_eventing_classicprovider_l1_1_0
1092 enable_api_ms_win_eventing_consumer_l1_1_0
1093 enable_api_ms_win_eventing_controller_l1_1_0
1094 enable_api_ms_win_eventing_legacy_l1_1_0
1095 enable_api_ms_win_eventing_provider_l1_1_0
1096 enable_api_ms_win_eventlog_legacy_l1_1_0
1097 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1098 enable_api_ms_win_mm_joystick_l1_1_0
1099 enable_api_ms_win_mm_misc_l1_1_1
1100 enable_api_ms_win_mm_mme_l1_1_0
1101 enable_api_ms_win_mm_time_l1_1_0
1102 enable_api_ms_win_ntuser_dc_access_l1_1_0
1103 enable_api_ms_win_ntuser_rectangle_l1_1_0
1104 enable_api_ms_win_ntuser_sysparams_l1_1_0
1105 enable_api_ms_win_perf_legacy_l1_1_0
1106 enable_api_ms_win_power_base_l1_1_0
1107 enable_api_ms_win_power_setting_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1110 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1111 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1115 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1116 enable_api_ms_win_security_audit_l1_1_1
1117 enable_api_ms_win_security_base_l1_1_0
1118 enable_api_ms_win_security_base_l1_2_0
1119 enable_api_ms_win_security_base_private_l1_1_1
1120 enable_api_ms_win_security_credentials_l1_1_0
1121 enable_api_ms_win_security_cryptoapi_l1_1_0
1122 enable_api_ms_win_security_grouppolicy_l1_1_0
1123 enable_api_ms_win_security_lsalookup_l1_1_0
1124 enable_api_ms_win_security_lsalookup_l1_1_1
1125 enable_api_ms_win_security_lsalookup_l2_1_0
1126 enable_api_ms_win_security_lsalookup_l2_1_1
1127 enable_api_ms_win_security_lsapolicy_l1_1_0
1128 enable_api_ms_win_security_provider_l1_1_0
1129 enable_api_ms_win_security_sddl_l1_1_0
1130 enable_api_ms_win_security_systemfunctions_l1_1_0
1131 enable_api_ms_win_service_core_l1_1_0
1132 enable_api_ms_win_service_core_l1_1_1
1133 enable_api_ms_win_service_management_l1_1_0
1134 enable_api_ms_win_service_management_l2_1_0
1135 enable_api_ms_win_service_private_l1_1_1
1136 enable_api_ms_win_service_winsvc_l1_1_0
1137 enable_api_ms_win_service_winsvc_l1_2_0
1138 enable_api_ms_win_shcore_obsolete_l1_1_0
1139 enable_api_ms_win_shcore_scaling_l1_1_1
1140 enable_api_ms_win_shcore_stream_l1_1_0
1141 enable_api_ms_win_shcore_thread_l1_1_0
1142 enable_api_ms_win_shell_shellcom_l1_1_0
1143 enable_api_ms_win_shell_shellfolders_l1_1_0
1144 enable_apphelp
1145 enable_appwiz_cpl
1146 enable_atl
1147 enable_atl100
1148 enable_atl110
1149 enable_atl80
1150 enable_atl90
1151 enable_atlthunk
1152 enable_atmlib
1153 enable_authz
1154 enable_avicap32
1155 enable_avifil32
1156 enable_avrt
1157 enable_bcrypt
1158 enable_bluetoothapis
1159 enable_browseui
1160 enable_bthprops_cpl
1161 enable_cabinet
1162 enable_capi2032
1163 enable_cards
1164 enable_cdosys
1165 enable_cfgmgr32
1166 enable_clusapi
1167 enable_combase
1168 enable_comcat
1169 enable_comctl32
1170 enable_comdlg32
1171 enable_compstui
1172 enable_comsvcs
1173 enable_concrt140
1174 enable_connect
1175 enable_credui
1176 enable_crtdll
1177 enable_crypt32
1178 enable_cryptdlg
1179 enable_cryptdll
1180 enable_cryptext
1181 enable_cryptnet
1182 enable_cryptui
1183 enable_ctapi32
1184 enable_ctl3d32
1185 enable_d2d1
1186 enable_d3d10
1187 enable_d3d10_1
1188 enable_d3d10core
1189 enable_d3d11
1190 enable_d3d12
1191 enable_d3d8
1192 enable_d3d8thk
1193 enable_d3d9
1194 enable_d3dcompiler_33
1195 enable_d3dcompiler_34
1196 enable_d3dcompiler_35
1197 enable_d3dcompiler_36
1198 enable_d3dcompiler_37
1199 enable_d3dcompiler_38
1200 enable_d3dcompiler_39
1201 enable_d3dcompiler_40
1202 enable_d3dcompiler_41
1203 enable_d3dcompiler_42
1204 enable_d3dcompiler_43
1205 enable_d3dcompiler_46
1206 enable_d3dcompiler_47
1207 enable_d3dim
1208 enable_d3dim700
1209 enable_d3drm
1210 enable_d3dx10_33
1211 enable_d3dx10_34
1212 enable_d3dx10_35
1213 enable_d3dx10_36
1214 enable_d3dx10_37
1215 enable_d3dx10_38
1216 enable_d3dx10_39
1217 enable_d3dx10_40
1218 enable_d3dx10_41
1219 enable_d3dx10_42
1220 enable_d3dx10_43
1221 enable_d3dx11_42
1222 enable_d3dx11_43
1223 enable_d3dx9_24
1224 enable_d3dx9_25
1225 enable_d3dx9_26
1226 enable_d3dx9_27
1227 enable_d3dx9_28
1228 enable_d3dx9_29
1229 enable_d3dx9_30
1230 enable_d3dx9_31
1231 enable_d3dx9_32
1232 enable_d3dx9_33
1233 enable_d3dx9_34
1234 enable_d3dx9_35
1235 enable_d3dx9_36
1236 enable_d3dx9_37
1237 enable_d3dx9_38
1238 enable_d3dx9_39
1239 enable_d3dx9_40
1240 enable_d3dx9_41
1241 enable_d3dx9_42
1242 enable_d3dx9_43
1243 enable_d3dxof
1244 enable_davclnt
1245 enable_dbgeng
1246 enable_dbghelp
1247 enable_dciman32
1248 enable_ddraw
1249 enable_ddrawex
1250 enable_devenum
1251 enable_dhcpcsvc
1252 enable_dhtmled_ocx
1253 enable_difxapi
1254 enable_dinput
1255 enable_dinput8
1256 enable_directmanipulation
1257 enable_dispex
1258 enable_dmband
1259 enable_dmcompos
1260 enable_dmime
1261 enable_dmloader
1262 enable_dmoguids
1263 enable_dmscript
1264 enable_dmstyle
1265 enable_dmsynth
1266 enable_dmusic
1267 enable_dmusic32
1268 enable_dnsapi
1269 enable_dplay
1270 enable_dplayx
1271 enable_dpnaddr
1272 enable_dpnet
1273 enable_dpnhpast
1274 enable_dpnlobby
1275 enable_dpvoice
1276 enable_dpwsockx
1277 enable_drmclien
1278 enable_dsdmo
1279 enable_dsound
1280 enable_dsquery
1281 enable_dssenh
1282 enable_dsuiext
1283 enable_dswave
1284 enable_dwmapi
1285 enable_dwrite
1286 enable_dx8vb
1287 enable_dxdiagn
1288 enable_dxerr8
1289 enable_dxerr9
1290 enable_dxgi
1291 enable_dxguid
1292 enable_dxva2
1293 enable_esent
1294 enable_evr
1295 enable_explorerframe
1296 enable_ext_ms_win_authz_context_l1_1_0
1297 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1298 enable_ext_ms_win_dwmapi_ext_l1_1_0
1299 enable_ext_ms_win_gdi_dc_create_l1_1_0
1300 enable_ext_ms_win_gdi_dc_create_l1_1_1
1301 enable_ext_ms_win_gdi_dc_l1_2_0
1302 enable_ext_ms_win_gdi_devcaps_l1_1_0
1303 enable_ext_ms_win_gdi_draw_l1_1_0
1304 enable_ext_ms_win_gdi_draw_l1_1_1
1305 enable_ext_ms_win_gdi_font_l1_1_0
1306 enable_ext_ms_win_gdi_font_l1_1_1
1307 enable_ext_ms_win_gdi_render_l1_1_0
1308 enable_ext_ms_win_kernel32_package_current_l1_1_0
1309 enable_ext_ms_win_kernel32_package_l1_1_1
1310 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1311 enable_ext_ms_win_ntuser_draw_l1_1_0
1312 enable_ext_ms_win_ntuser_gui_l1_1_0
1313 enable_ext_ms_win_ntuser_gui_l1_3_0
1314 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1315 enable_ext_ms_win_ntuser_message_l1_1_0
1316 enable_ext_ms_win_ntuser_message_l1_1_1
1317 enable_ext_ms_win_ntuser_misc_l1_1_0
1318 enable_ext_ms_win_ntuser_misc_l1_2_0
1319 enable_ext_ms_win_ntuser_misc_l1_5_1
1320 enable_ext_ms_win_ntuser_mouse_l1_1_0
1321 enable_ext_ms_win_ntuser_private_l1_1_1
1322 enable_ext_ms_win_ntuser_private_l1_3_1
1323 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1324 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1325 enable_ext_ms_win_ntuser_window_l1_1_0
1326 enable_ext_ms_win_ntuser_window_l1_1_1
1327 enable_ext_ms_win_ntuser_window_l1_1_4
1328 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1329 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1330 enable_ext_ms_win_oleacc_l1_1_0
1331 enable_ext_ms_win_ras_rasapi32_l1_1_0
1332 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1333 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1334 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1335 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1336 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1337 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1338 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1339 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1340 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1341 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1342 enable_ext_ms_win_security_credui_l1_1_0
1343 enable_ext_ms_win_security_cryptui_l1_1_0
1344 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1345 enable_ext_ms_win_shell_comdlg32_l1_1_0
1346 enable_ext_ms_win_shell_shell32_l1_2_0
1347 enable_ext_ms_win_uxtheme_themes_l1_1_0
1348 enable_faultrep
1349 enable_feclient
1350 enable_fltlib
1351 enable_fltmgr_sys
1352 enable_fntcache
1353 enable_fontsub
1354 enable_fusion
1355 enable_fwpuclnt
1356 enable_gameux
1357 enable_gdi32
1358 enable_gdiplus
1359 enable_glu32
1360 enable_gphoto2_ds
1361 enable_gpkcsp
1362 enable_hal
1363 enable_hhctrl_ocx
1364 enable_hid
1365 enable_hidclass_sys
1366 enable_hlink
1367 enable_hnetcfg
1368 enable_http_sys
1369 enable_httpapi
1370 enable_iccvid
1371 enable_icmp
1372 enable_ieframe
1373 enable_ieproxy
1374 enable_imaadp32_acm
1375 enable_imagehlp
1376 enable_imm32
1377 enable_inetcomm
1378 enable_inetcpl_cpl
1379 enable_inetmib1
1380 enable_infosoft
1381 enable_initpki
1382 enable_inkobj
1383 enable_inseng
1384 enable_iphlpapi
1385 enable_iprop
1386 enable_irprops_cpl
1387 enable_itircl
1388 enable_itss
1389 enable_joy_cpl
1390 enable_jscript
1391 enable_jsproxy
1392 enable_kerberos
1393 enable_kernel32
1394 enable_kernelbase
1395 enable_ksecdd_sys
1396 enable_ksproxy_ax
1397 enable_ksuser
1398 enable_ktmw32
1399 enable_l3codeca_acm
1400 enable_loadperf
1401 enable_localspl
1402 enable_localui
1403 enable_lz32
1404 enable_mapi32
1405 enable_mapistub
1406 enable_mciavi32
1407 enable_mcicda
1408 enable_mciqtz32
1409 enable_mciseq
1410 enable_mciwave
1411 enable_mf
1412 enable_mf3216
1413 enable_mferror
1414 enable_mfmediaengine
1415 enable_mfplat
1416 enable_mfplay
1417 enable_mfreadwrite
1418 enable_mfuuid
1419 enable_mgmtapi
1420 enable_midimap
1421 enable_mlang
1422 enable_mmcndmgr
1423 enable_mmdevapi
1424 enable_mountmgr_sys
1425 enable_mp3dmod
1426 enable_mpr
1427 enable_mprapi
1428 enable_msacm32_drv
1429 enable_msacm32
1430 enable_msado15
1431 enable_msadp32_acm
1432 enable_msasn1
1433 enable_mscat32
1434 enable_mscms
1435 enable_mscoree
1436 enable_mscorwks
1437 enable_msctf
1438 enable_msctfp
1439 enable_msdaps
1440 enable_msdelta
1441 enable_msdmo
1442 enable_msdrm
1443 enable_msftedit
1444 enable_msg711_acm
1445 enable_msgsm32_acm
1446 enable_mshtml_tlb
1447 enable_mshtml
1448 enable_msi
1449 enable_msident
1450 enable_msimg32
1451 enable_msimsg
1452 enable_msimtf
1453 enable_msisip
1454 enable_msisys_ocx
1455 enable_msls31
1456 enable_msnet32
1457 enable_mspatcha
1458 enable_msports
1459 enable_msrle32
1460 enable_msscript_ocx
1461 enable_mssign32
1462 enable_mssip32
1463 enable_mstask
1464 enable_msvcirt
1465 enable_msvcm80
1466 enable_msvcm90
1467 enable_msvcp100
1468 enable_msvcp110
1469 enable_msvcp120
1470 enable_msvcp120_app
1471 enable_msvcp140
1472 enable_msvcp140_1
1473 enable_msvcp60
1474 enable_msvcp70
1475 enable_msvcp71
1476 enable_msvcp80
1477 enable_msvcp90
1478 enable_msvcr100
1479 enable_msvcr110
1480 enable_msvcr120
1481 enable_msvcr120_app
1482 enable_msvcr70
1483 enable_msvcr71
1484 enable_msvcr80
1485 enable_msvcr90
1486 enable_msvcrt
1487 enable_msvcrt20
1488 enable_msvcrt40
1489 enable_msvcrtd
1490 enable_msvfw32
1491 enable_msvidc32
1492 enable_mswsock
1493 enable_msxml
1494 enable_msxml2
1495 enable_msxml3
1496 enable_msxml4
1497 enable_msxml6
1498 enable_mtxdm
1499 enable_ncrypt
1500 enable_nddeapi
1501 enable_ndis_sys
1502 enable_netapi32
1503 enable_netcfgx
1504 enable_netio_sys
1505 enable_netprofm
1506 enable_netutils
1507 enable_newdev
1508 enable_ninput
1509 enable_normaliz
1510 enable_npmshtml
1511 enable_npptools
1512 enable_ntdll
1513 enable_ntdsapi
1514 enable_ntoskrnl_exe
1515 enable_ntprint
1516 enable_objsel
1517 enable_odbc32
1518 enable_odbcbcp
1519 enable_odbccp32
1520 enable_odbccu32
1521 enable_ole32
1522 enable_oleacc
1523 enable_oleaut32
1524 enable_olecli32
1525 enable_oledb32
1526 enable_oledlg
1527 enable_olepro32
1528 enable_olesvr32
1529 enable_olethk32
1530 enable_opcservices
1531 enable_openal32
1532 enable_opencl
1533 enable_opengl32
1534 enable_packager
1535 enable_pdh
1536 enable_photometadatahandler
1537 enable_pidgen
1538 enable_powrprof
1539 enable_printui
1540 enable_prntvpt
1541 enable_propsys
1542 enable_psapi
1543 enable_pstorec
1544 enable_pwrshplugin
1545 enable_qasf
1546 enable_qcap
1547 enable_qdvd
1548 enable_qedit
1549 enable_qmgr
1550 enable_qmgrprxy
1551 enable_quartz
1552 enable_query
1553 enable_qwave
1554 enable_rasapi32
1555 enable_rasdlg
1556 enable_regapi
1557 enable_resutils
1558 enable_riched20
1559 enable_riched32
1560 enable_rpcrt4
1561 enable_rsabase
1562 enable_rsaenh
1563 enable_rstrtmgr
1564 enable_rtutils
1565 enable_rtworkq
1566 enable_samlib
1567 enable_sane_ds
1568 enable_sapi
1569 enable_sas
1570 enable_scarddlg
1571 enable_sccbase
1572 enable_schannel
1573 enable_schedsvc
1574 enable_scrobj
1575 enable_scrrun
1576 enable_scsiport_sys
1577 enable_sechost
1578 enable_secur32
1579 enable_security
1580 enable_sensapi
1581 enable_serialui
1582 enable_setupapi
1583 enable_sfc
1584 enable_sfc_os
1585 enable_shcore
1586 enable_shdoclc
1587 enable_shdocvw
1588 enable_shell32
1589 enable_shfolder
1590 enable_shlwapi
1591 enable_slbcsp
1592 enable_slc
1593 enable_snmpapi
1594 enable_softpub
1595 enable_spoolss
1596 enable_srclient
1597 enable_srvcli
1598 enable_sspicli
1599 enable_stdole2_tlb
1600 enable_stdole32_tlb
1601 enable_sti
1602 enable_strmbase
1603 enable_strmdll
1604 enable_strmiids
1605 enable_svrapi
1606 enable_sxs
1607 enable_t2embed
1608 enable_tapi32
1609 enable_taskschd
1610 enable_tdh
1611 enable_tdi_sys
1612 enable_traffic
1613 enable_twain_32
1614 enable_tzres
1615 enable_ucrtbase
1616 enable_uianimation
1617 enable_uiautomationcore
1618 enable_uiribbon
1619 enable_unicows
1620 enable_updspapi
1621 enable_url
1622 enable_urlmon
1623 enable_usbd_sys
1624 enable_user32
1625 enable_userenv
1626 enable_usp10
1627 enable_utildll
1628 enable_uuid
1629 enable_uxtheme
1630 enable_vbscript
1631 enable_vcomp
1632 enable_vcomp100
1633 enable_vcomp110
1634 enable_vcomp120
1635 enable_vcomp140
1636 enable_vcomp90
1637 enable_vcruntime140
1638 enable_vcruntime140_1
1639 enable_vdmdbg
1640 enable_version
1641 enable_vga
1642 enable_virtdisk
1643 enable_vssapi
1644 enable_vulkan_1
1645 enable_wbemdisp
1646 enable_wbemprox
1647 enable_wbemuuid
1648 enable_wdscore
1649 enable_webservices
1650 enable_wer
1651 enable_wevtapi
1652 enable_wevtsvc
1653 enable_wiaservc
1654 enable_wimgapi
1655 enable_windowscodecs
1656 enable_windowscodecsext
1657 enable_winealsa_drv
1658 enable_wineandroid_drv
1659 enable_winebus_sys
1660 enable_winecoreaudio_drv
1661 enable_winecrt0
1662 enable_wined3d
1663 enable_winegstreamer
1664 enable_winehid_sys
1665 enable_winejoystick_drv
1666 enable_winemac_drv
1667 enable_winemapi
1668 enable_wineoss_drv
1669 enable_wineps_drv
1670 enable_winepulse_drv
1671 enable_wineqtdecoder
1672 enable_wineusb_sys
1673 enable_winevulkan
1674 enable_winex11_drv
1675 enable_wing32
1676 enable_winhttp
1677 enable_wininet
1678 enable_winmm
1679 enable_winnls32
1680 enable_winscard
1681 enable_winspool_drv
1682 enable_winsta
1683 enable_wintab32
1684 enable_wintrust
1685 enable_winusb
1686 enable_wlanapi
1687 enable_wlanui
1688 enable_wldap32
1689 enable_wmasf
1690 enable_wmcodecdspuuid
1691 enable_wmi
1692 enable_wmiutils
1693 enable_wmp
1694 enable_wmphoto
1695 enable_wmvcore
1696 enable_wnaspi32
1697 enable_wpc
1698 enable_wpcap
1699 enable_ws2_32
1700 enable_wsdapi
1701 enable_wshom_ocx
1702 enable_wsnmp32
1703 enable_wsock32
1704 enable_wtsapi32
1705 enable_wuapi
1706 enable_wuaueng
1707 enable_x3daudio1_0
1708 enable_x3daudio1_1
1709 enable_x3daudio1_2
1710 enable_x3daudio1_3
1711 enable_x3daudio1_4
1712 enable_x3daudio1_5
1713 enable_x3daudio1_6
1714 enable_x3daudio1_7
1715 enable_xactengine3_0
1716 enable_xactengine3_1
1717 enable_xactengine3_2
1718 enable_xactengine3_3
1719 enable_xactengine3_4
1720 enable_xactengine3_5
1721 enable_xactengine3_6
1722 enable_xactengine3_7
1723 enable_xapofx1_1
1724 enable_xapofx1_2
1725 enable_xapofx1_3
1726 enable_xapofx1_4
1727 enable_xapofx1_5
1728 enable_xaudio2_0
1729 enable_xaudio2_1
1730 enable_xaudio2_2
1731 enable_xaudio2_3
1732 enable_xaudio2_4
1733 enable_xaudio2_5
1734 enable_xaudio2_6
1735 enable_xaudio2_7
1736 enable_xaudio2_8
1737 enable_xaudio2_9
1738 enable_xinput1_1
1739 enable_xinput1_2
1740 enable_xinput1_3
1741 enable_xinput1_4
1742 enable_xinput9_1_0
1743 enable_xmllite
1744 enable_xolehlp
1745 enable_xpsprint
1746 enable_xpssvcs
1747 enable_fonts
1748 enable_include
1749 enable_port
1750 enable_wine
1751 enable_wpp
1752 enable_loader
1753 enable_nls
1754 enable_po
1755 enable_arp
1756 enable_aspnet_regiis
1757 enable_attrib
1758 enable_cabarc
1759 enable_cacls
1760 enable_chcp_com
1761 enable_clock
1762 enable_cmd
1763 enable_conhost
1764 enable_control
1765 enable_cscript
1766 enable_dism
1767 enable_dplaysvr
1768 enable_dpnsvr
1769 enable_dpvsetup
1770 enable_dxdiag
1771 enable_eject
1772 enable_expand
1773 enable_explorer
1774 enable_extrac32
1775 enable_fc
1776 enable_find
1777 enable_findstr
1778 enable_fsutil
1779 enable_hh
1780 enable_hostname
1781 enable_icacls
1782 enable_icinfo
1783 enable_iexplore
1784 enable_ipconfig
1785 enable_lodctr
1786 enable_mofcomp
1787 enable_mshta
1788 enable_msidb
1789 enable_msiexec
1790 enable_msinfo32
1791 enable_net
1792 enable_netsh
1793 enable_netstat
1794 enable_ngen
1795 enable_notepad
1796 enable_oleview
1797 enable_ping
1798 enable_plugplay
1799 enable_powershell
1800 enable_presentationfontcache
1801 enable_progman
1802 enable_reg
1803 enable_regasm
1804 enable_regedit
1805 enable_regini
1806 enable_regsvcs
1807 enable_regsvr32
1808 enable_rpcss
1809 enable_rundll32
1810 enable_sc
1811 enable_schtasks
1812 enable_sdbinst
1813 enable_secedit
1814 enable_servicemodelreg
1815 enable_services
1816 enable_shutdown
1817 enable_spoolsv
1818 enable_start
1819 enable_subst
1820 enable_svchost
1821 enable_systeminfo
1822 enable_taskkill
1823 enable_tasklist
1824 enable_taskmgr
1825 enable_termsv
1826 enable_uninstaller
1827 enable_unlodctr
1828 enable_view
1829 enable_wevtutil
1830 enable_where
1831 enable_whoami
1832 enable_wineboot
1833 enable_winebrowser
1834 enable_winecfg
1835 enable_wineconsole
1836 enable_winedbg
1837 enable_winedevice
1838 enable_winefile
1839 enable_winemenubuilder
1840 enable_winemine
1841 enable_winemsibuilder
1842 enable_winepath
1843 enable_winetest
1844 enable_winhlp32
1845 enable_winmgmt
1846 enable_winver
1847 enable_wmic
1848 enable_wmplayer
1849 enable_wordpad
1850 enable_write
1851 enable_wscript
1852 enable_wuauserv
1853 enable_wusa
1854 enable_xcopy
1855 enable_server
1856 enable_tools
1857 enable_sfnt2fon
1858 enable_widl
1859 enable_winebuild
1860 enable_winedump
1861 enable_winegcc
1862 enable_winemaker
1863 enable_wmc
1864 enable_wrc
1866 ac_precious_vars='build_alias
1867 host_alias
1868 target_alias
1870 CFLAGS
1871 LDFLAGS
1872 LIBS
1873 CPPFLAGS
1875 CXXFLAGS
1878 OBJC
1879 OBJCFLAGS
1880 OBJCPP
1881 XMKMF
1882 XML2_CFLAGS
1883 XML2_LIBS
1884 XSLT_CFLAGS
1885 XSLT_LIBS
1886 INOTIFY_CFLAGS
1887 INOTIFY_LIBS
1888 DBUS_CFLAGS
1889 DBUS_LIBS
1890 HAL_CFLAGS
1891 HAL_LIBS
1892 GNUTLS_CFLAGS
1893 GNUTLS_LIBS
1894 SANE_CFLAGS
1895 SANE_LIBS
1896 USB_CFLAGS
1897 USB_LIBS
1898 GPHOTO2_CFLAGS
1899 GPHOTO2_LIBS
1900 GPHOTO2_PORT_CFLAGS
1901 GPHOTO2_PORT_LIBS
1902 LCMS2_CFLAGS
1903 LCMS2_LIBS
1904 FREETYPE_CFLAGS
1905 FREETYPE_LIBS
1906 PULSE_CFLAGS
1907 PULSE_LIBS
1908 GSTREAMER_CFLAGS
1909 GSTREAMER_LIBS
1910 UDEV_CFLAGS
1911 UDEV_LIBS
1912 UNWIND_CFLAGS
1913 UNWIND_LIBS
1914 SDL2_CFLAGS
1915 SDL2_LIBS
1916 FAUDIO_CFLAGS
1917 FAUDIO_LIBS
1918 CAPI20_CFLAGS
1919 CAPI20_LIBS
1920 CUPS_CFLAGS
1921 CUPS_LIBS
1922 FONTCONFIG_CFLAGS
1923 FONTCONFIG_LIBS
1924 KRB5_CFLAGS
1925 KRB5_LIBS
1926 GSSAPI_CFLAGS
1927 GSSAPI_LIBS
1928 JPEG_CFLAGS
1929 JPEG_LIBS
1930 PNG_CFLAGS
1931 PNG_LIBS
1932 TIFF_CFLAGS
1933 TIFF_LIBS
1934 MPG123_CFLAGS
1935 MPG123_LIBS
1936 NETAPI_CFLAGS
1937 NETAPI_LIBS
1938 VKD3D_CFLAGS
1939 VKD3D_LIBS
1940 VKD3D_SHADER_CFLAGS
1941 VKD3D_SHADER_LIBS
1942 LDAP_CFLAGS
1943 LDAP_LIBS'
1946 # Initialize some variables set by options.
1947 ac_init_help=
1948 ac_init_version=false
1949 ac_unrecognized_opts=
1950 ac_unrecognized_sep=
1951 # The variables have the same names as the options, with
1952 # dashes changed to underlines.
1953 cache_file=/dev/null
1954 exec_prefix=NONE
1955 no_create=
1956 no_recursion=
1957 prefix=NONE
1958 program_prefix=NONE
1959 program_suffix=NONE
1960 program_transform_name=s,x,x,
1961 silent=
1962 site=
1963 srcdir=
1964 verbose=
1965 x_includes=NONE
1966 x_libraries=NONE
1968 # Installation directory options.
1969 # These are left unexpanded so users can "make install exec_prefix=/foo"
1970 # and all the variables that are supposed to be based on exec_prefix
1971 # by default will actually change.
1972 # Use braces instead of parens because sh, perl, etc. also accept them.
1973 # (The list follows the same order as the GNU Coding Standards.)
1974 bindir='${exec_prefix}/bin'
1975 sbindir='${exec_prefix}/sbin'
1976 libexecdir='${exec_prefix}/libexec'
1977 datarootdir='${prefix}/share'
1978 datadir='${datarootdir}'
1979 sysconfdir='${prefix}/etc'
1980 sharedstatedir='${prefix}/com'
1981 localstatedir='${prefix}/var'
1982 runstatedir='${localstatedir}/run'
1983 includedir='${prefix}/include'
1984 oldincludedir='/usr/include'
1985 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1986 infodir='${datarootdir}/info'
1987 htmldir='${docdir}'
1988 dvidir='${docdir}'
1989 pdfdir='${docdir}'
1990 psdir='${docdir}'
1991 libdir='${exec_prefix}/lib'
1992 localedir='${datarootdir}/locale'
1993 mandir='${datarootdir}/man'
1995 ac_prev=
1996 ac_dashdash=
1997 for ac_option
1999 # If the previous option needs an argument, assign it.
2000 if test -n "$ac_prev"; then
2001 eval $ac_prev=\$ac_option
2002 ac_prev=
2003 continue
2006 case $ac_option in
2007 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2008 *=) ac_optarg= ;;
2009 *) ac_optarg=yes ;;
2010 esac
2012 # Accept the important Cygnus configure options, so we can diagnose typos.
2014 case $ac_dashdash$ac_option in
2016 ac_dashdash=yes ;;
2018 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2019 ac_prev=bindir ;;
2020 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2021 bindir=$ac_optarg ;;
2023 -build | --build | --buil | --bui | --bu)
2024 ac_prev=build_alias ;;
2025 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2026 build_alias=$ac_optarg ;;
2028 -cache-file | --cache-file | --cache-fil | --cache-fi \
2029 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2030 ac_prev=cache_file ;;
2031 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2032 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2033 cache_file=$ac_optarg ;;
2035 --config-cache | -C)
2036 cache_file=config.cache ;;
2038 -datadir | --datadir | --datadi | --datad)
2039 ac_prev=datadir ;;
2040 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2041 datadir=$ac_optarg ;;
2043 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2044 | --dataroo | --dataro | --datar)
2045 ac_prev=datarootdir ;;
2046 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2047 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2048 datarootdir=$ac_optarg ;;
2050 -disable-* | --disable-*)
2051 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2052 # Reject names that are not valid shell variable names.
2053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2054 as_fn_error $? "invalid feature name: $ac_useropt"
2055 ac_useropt_orig=$ac_useropt
2056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2057 case $ac_user_opts in
2059 "enable_$ac_useropt"
2060 "*) ;;
2061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2062 ac_unrecognized_sep=', ';;
2063 esac
2064 eval enable_$ac_useropt=no ;;
2066 -docdir | --docdir | --docdi | --doc | --do)
2067 ac_prev=docdir ;;
2068 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2069 docdir=$ac_optarg ;;
2071 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2072 ac_prev=dvidir ;;
2073 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2074 dvidir=$ac_optarg ;;
2076 -enable-* | --enable-*)
2077 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2078 # Reject names that are not valid shell variable names.
2079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2080 as_fn_error $? "invalid feature name: $ac_useropt"
2081 ac_useropt_orig=$ac_useropt
2082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2083 case $ac_user_opts in
2085 "enable_$ac_useropt"
2086 "*) ;;
2087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2088 ac_unrecognized_sep=', ';;
2089 esac
2090 eval enable_$ac_useropt=\$ac_optarg ;;
2092 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2093 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2094 | --exec | --exe | --ex)
2095 ac_prev=exec_prefix ;;
2096 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2097 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2098 | --exec=* | --exe=* | --ex=*)
2099 exec_prefix=$ac_optarg ;;
2101 -gas | --gas | --ga | --g)
2102 # Obsolete; use --with-gas.
2103 with_gas=yes ;;
2105 -help | --help | --hel | --he | -h)
2106 ac_init_help=long ;;
2107 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2108 ac_init_help=recursive ;;
2109 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2110 ac_init_help=short ;;
2112 -host | --host | --hos | --ho)
2113 ac_prev=host_alias ;;
2114 -host=* | --host=* | --hos=* | --ho=*)
2115 host_alias=$ac_optarg ;;
2117 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2118 ac_prev=htmldir ;;
2119 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2120 | --ht=*)
2121 htmldir=$ac_optarg ;;
2123 -includedir | --includedir | --includedi | --included | --include \
2124 | --includ | --inclu | --incl | --inc)
2125 ac_prev=includedir ;;
2126 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2127 | --includ=* | --inclu=* | --incl=* | --inc=*)
2128 includedir=$ac_optarg ;;
2130 -infodir | --infodir | --infodi | --infod | --info | --inf)
2131 ac_prev=infodir ;;
2132 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2133 infodir=$ac_optarg ;;
2135 -libdir | --libdir | --libdi | --libd)
2136 ac_prev=libdir ;;
2137 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2138 libdir=$ac_optarg ;;
2140 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2141 | --libexe | --libex | --libe)
2142 ac_prev=libexecdir ;;
2143 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2144 | --libexe=* | --libex=* | --libe=*)
2145 libexecdir=$ac_optarg ;;
2147 -localedir | --localedir | --localedi | --localed | --locale)
2148 ac_prev=localedir ;;
2149 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2150 localedir=$ac_optarg ;;
2152 -localstatedir | --localstatedir | --localstatedi | --localstated \
2153 | --localstate | --localstat | --localsta | --localst | --locals)
2154 ac_prev=localstatedir ;;
2155 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2156 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2157 localstatedir=$ac_optarg ;;
2159 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2160 ac_prev=mandir ;;
2161 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2162 mandir=$ac_optarg ;;
2164 -nfp | --nfp | --nf)
2165 # Obsolete; use --without-fp.
2166 with_fp=no ;;
2168 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2169 | --no-cr | --no-c | -n)
2170 no_create=yes ;;
2172 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2173 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2174 no_recursion=yes ;;
2176 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2177 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2178 | --oldin | --oldi | --old | --ol | --o)
2179 ac_prev=oldincludedir ;;
2180 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2181 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2182 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2183 oldincludedir=$ac_optarg ;;
2185 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2186 ac_prev=prefix ;;
2187 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2188 prefix=$ac_optarg ;;
2190 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2191 | --program-pre | --program-pr | --program-p)
2192 ac_prev=program_prefix ;;
2193 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2194 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2195 program_prefix=$ac_optarg ;;
2197 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2198 | --program-suf | --program-su | --program-s)
2199 ac_prev=program_suffix ;;
2200 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2201 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2202 program_suffix=$ac_optarg ;;
2204 -program-transform-name | --program-transform-name \
2205 | --program-transform-nam | --program-transform-na \
2206 | --program-transform-n | --program-transform- \
2207 | --program-transform | --program-transfor \
2208 | --program-transfo | --program-transf \
2209 | --program-trans | --program-tran \
2210 | --progr-tra | --program-tr | --program-t)
2211 ac_prev=program_transform_name ;;
2212 -program-transform-name=* | --program-transform-name=* \
2213 | --program-transform-nam=* | --program-transform-na=* \
2214 | --program-transform-n=* | --program-transform-=* \
2215 | --program-transform=* | --program-transfor=* \
2216 | --program-transfo=* | --program-transf=* \
2217 | --program-trans=* | --program-tran=* \
2218 | --progr-tra=* | --program-tr=* | --program-t=*)
2219 program_transform_name=$ac_optarg ;;
2221 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2222 ac_prev=pdfdir ;;
2223 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2224 pdfdir=$ac_optarg ;;
2226 -psdir | --psdir | --psdi | --psd | --ps)
2227 ac_prev=psdir ;;
2228 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2229 psdir=$ac_optarg ;;
2231 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2232 | -silent | --silent | --silen | --sile | --sil)
2233 silent=yes ;;
2235 -runstatedir | --runstatedir | --runstatedi | --runstated \
2236 | --runstate | --runstat | --runsta | --runst | --runs \
2237 | --run | --ru | --r)
2238 ac_prev=runstatedir ;;
2239 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2240 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2241 | --run=* | --ru=* | --r=*)
2242 runstatedir=$ac_optarg ;;
2244 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2245 ac_prev=sbindir ;;
2246 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2247 | --sbi=* | --sb=*)
2248 sbindir=$ac_optarg ;;
2250 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2251 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2252 | --sharedst | --shareds | --shared | --share | --shar \
2253 | --sha | --sh)
2254 ac_prev=sharedstatedir ;;
2255 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2256 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2257 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2258 | --sha=* | --sh=*)
2259 sharedstatedir=$ac_optarg ;;
2261 -site | --site | --sit)
2262 ac_prev=site ;;
2263 -site=* | --site=* | --sit=*)
2264 site=$ac_optarg ;;
2266 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2267 ac_prev=srcdir ;;
2268 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2269 srcdir=$ac_optarg ;;
2271 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2272 | --syscon | --sysco | --sysc | --sys | --sy)
2273 ac_prev=sysconfdir ;;
2274 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2275 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2276 sysconfdir=$ac_optarg ;;
2278 -target | --target | --targe | --targ | --tar | --ta | --t)
2279 ac_prev=target_alias ;;
2280 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2281 target_alias=$ac_optarg ;;
2283 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2284 verbose=yes ;;
2286 -version | --version | --versio | --versi | --vers | -V)
2287 ac_init_version=: ;;
2289 -with-* | --with-*)
2290 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2291 # Reject names that are not valid shell variable names.
2292 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2293 as_fn_error $? "invalid package name: $ac_useropt"
2294 ac_useropt_orig=$ac_useropt
2295 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2296 case $ac_user_opts in
2298 "with_$ac_useropt"
2299 "*) ;;
2300 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2301 ac_unrecognized_sep=', ';;
2302 esac
2303 eval with_$ac_useropt=\$ac_optarg ;;
2305 -without-* | --without-*)
2306 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2307 # Reject names that are not valid shell variable names.
2308 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2309 as_fn_error $? "invalid package name: $ac_useropt"
2310 ac_useropt_orig=$ac_useropt
2311 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2312 case $ac_user_opts in
2314 "with_$ac_useropt"
2315 "*) ;;
2316 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2317 ac_unrecognized_sep=', ';;
2318 esac
2319 eval with_$ac_useropt=no ;;
2321 --x)
2322 # Obsolete; use --with-x.
2323 with_x=yes ;;
2325 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2326 | --x-incl | --x-inc | --x-in | --x-i)
2327 ac_prev=x_includes ;;
2328 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2329 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2330 x_includes=$ac_optarg ;;
2332 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2333 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2334 ac_prev=x_libraries ;;
2335 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2336 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2337 x_libraries=$ac_optarg ;;
2339 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2340 Try \`$0 --help' for more information"
2343 *=*)
2344 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2345 # Reject names that are not valid shell variable names.
2346 case $ac_envvar in #(
2347 '' | [0-9]* | *[!_$as_cr_alnum]* )
2348 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2349 esac
2350 eval $ac_envvar=\$ac_optarg
2351 export $ac_envvar ;;
2354 # FIXME: should be removed in autoconf 3.0.
2355 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2356 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2357 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2358 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2361 esac
2362 done
2364 if test -n "$ac_prev"; then
2365 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2366 as_fn_error $? "missing argument to $ac_option"
2369 if test -n "$ac_unrecognized_opts"; then
2370 case $enable_option_checking in
2371 no) ;;
2372 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2373 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2374 esac
2377 # Check all directory arguments for consistency.
2378 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2379 datadir sysconfdir sharedstatedir localstatedir includedir \
2380 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2381 libdir localedir mandir runstatedir
2383 eval ac_val=\$$ac_var
2384 # Remove trailing slashes.
2385 case $ac_val in
2386 */ )
2387 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2388 eval $ac_var=\$ac_val;;
2389 esac
2390 # Be sure to have absolute directory names.
2391 case $ac_val in
2392 [\\/$]* | ?:[\\/]* ) continue;;
2393 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2394 esac
2395 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2396 done
2398 # There might be people who depend on the old broken behavior: `$host'
2399 # used to hold the argument of --host etc.
2400 # FIXME: To remove some day.
2401 build=$build_alias
2402 host=$host_alias
2403 target=$target_alias
2405 # FIXME: To remove some day.
2406 if test "x$host_alias" != x; then
2407 if test "x$build_alias" = x; then
2408 cross_compiling=maybe
2409 elif test "x$build_alias" != "x$host_alias"; then
2410 cross_compiling=yes
2414 ac_tool_prefix=
2415 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2417 test "$silent" = yes && exec 6>/dev/null
2420 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2421 ac_ls_di=`ls -di .` &&
2422 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2423 as_fn_error $? "working directory cannot be determined"
2424 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2425 as_fn_error $? "pwd does not report name of working directory"
2428 # Find the source files, if location was not specified.
2429 if test -z "$srcdir"; then
2430 ac_srcdir_defaulted=yes
2431 # Try the directory containing this script, then the parent directory.
2432 ac_confdir=`$as_dirname -- "$as_myself" ||
2433 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2434 X"$as_myself" : 'X\(//\)[^/]' \| \
2435 X"$as_myself" : 'X\(//\)$' \| \
2436 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2437 $as_echo X"$as_myself" |
2438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2439 s//\1/
2442 /^X\(\/\/\)[^/].*/{
2443 s//\1/
2446 /^X\(\/\/\)$/{
2447 s//\1/
2450 /^X\(\/\).*/{
2451 s//\1/
2454 s/.*/./; q'`
2455 srcdir=$ac_confdir
2456 if test ! -r "$srcdir/$ac_unique_file"; then
2457 srcdir=..
2459 else
2460 ac_srcdir_defaulted=no
2462 if test ! -r "$srcdir/$ac_unique_file"; then
2463 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2464 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2466 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2467 ac_abs_confdir=`(
2468 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2469 pwd)`
2470 # When building in place, set srcdir=.
2471 if test "$ac_abs_confdir" = "$ac_pwd"; then
2472 srcdir=.
2474 # Remove unnecessary trailing slashes from srcdir.
2475 # Double slashes in file names in object file debugging info
2476 # mess up M-x gdb in Emacs.
2477 case $srcdir in
2478 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2479 esac
2480 for ac_var in $ac_precious_vars; do
2481 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2482 eval ac_env_${ac_var}_value=\$${ac_var}
2483 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2484 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2485 done
2488 # Report the --help message.
2490 if test "$ac_init_help" = "long"; then
2491 # Omit some internal or obsolete options to make the list less imposing.
2492 # This message is too long to be a string in the A/UX 3.1 sh.
2493 cat <<_ACEOF
2494 \`configure' configures Wine 5.20 to adapt to many kinds of systems.
2496 Usage: $0 [OPTION]... [VAR=VALUE]...
2498 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2499 VAR=VALUE. See below for descriptions of some of the useful variables.
2501 Defaults for the options are specified in brackets.
2503 Configuration:
2504 -h, --help display this help and exit
2505 --help=short display options specific to this package
2506 --help=recursive display the short help of all the included packages
2507 -V, --version display version information and exit
2508 -q, --quiet, --silent do not print \`checking ...' messages
2509 --cache-file=FILE cache test results in FILE [disabled]
2510 -C, --config-cache alias for \`--cache-file=config.cache'
2511 -n, --no-create do not create output files
2512 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2514 Installation directories:
2515 --prefix=PREFIX install architecture-independent files in PREFIX
2516 [$ac_default_prefix]
2517 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2518 [PREFIX]
2520 By default, \`make install' will install all the files in
2521 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2522 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2523 for instance \`--prefix=\$HOME'.
2525 For better control, use the options below.
2527 Fine tuning of the installation directories:
2528 --bindir=DIR user executables [EPREFIX/bin]
2529 --sbindir=DIR system admin executables [EPREFIX/sbin]
2530 --libexecdir=DIR program executables [EPREFIX/libexec]
2531 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2532 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2533 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2534 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2535 --libdir=DIR object code libraries [EPREFIX/lib]
2536 --includedir=DIR C header files [PREFIX/include]
2537 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2538 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2539 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2540 --infodir=DIR info documentation [DATAROOTDIR/info]
2541 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2542 --mandir=DIR man documentation [DATAROOTDIR/man]
2543 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2544 --htmldir=DIR html documentation [DOCDIR]
2545 --dvidir=DIR dvi documentation [DOCDIR]
2546 --pdfdir=DIR pdf documentation [DOCDIR]
2547 --psdir=DIR ps documentation [DOCDIR]
2548 _ACEOF
2550 cat <<\_ACEOF
2552 X features:
2553 --x-includes=DIR X include files are in DIR
2554 --x-libraries=DIR X library files are in DIR
2556 System types:
2557 --build=BUILD configure for building on BUILD [guessed]
2558 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2559 _ACEOF
2562 if test -n "$ac_init_help"; then
2563 case $ac_init_help in
2564 short | recursive ) echo "Configuration of Wine 5.20:";;
2565 esac
2566 cat <<\_ACEOF
2568 Optional Features:
2569 --disable-option-checking ignore unrecognized --enable/--with options
2570 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2571 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2572 --disable-win16 do not include Win16 support
2573 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2574 binaries)
2575 --disable-tests do not build the regression tests
2576 --enable-maintainer-mode
2577 enable maintainer-specific build rules
2578 --enable-werror treat compilation warnings as errors
2579 --disable-largefile omit support for large files
2581 Optional Packages:
2582 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2583 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2584 --without-alsa do not use the Alsa sound support
2585 --without-capi do not use CAPI (ISDN support)
2586 --without-cms do not use CMS (color management support)
2587 --without-coreaudio do not use the CoreAudio sound support
2588 --without-cups do not use CUPS
2589 --without-dbus do not use DBus (dynamic device support)
2590 --without-faudio do not use FAudio (XAudio2 support)
2591 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2592 --without-fontconfig do not use fontconfig
2593 --without-freetype do not use the FreeType library
2594 --without-gettext do not use gettext
2595 --with-gettextpo use the GetTextPO library to rebuild po files
2596 --without-gphoto do not use gphoto (Digital Camera support)
2597 --without-glu do not use the GLU library
2598 --without-gnutls do not use GnuTLS (schannel support)
2599 --without-gsm do not use libgsm (GSM 06.10 codec support)
2600 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2601 --without-gstreamer do not use GStreamer (codecs support)
2602 --without-hal do not use HAL (dynamic device support)
2603 --without-inotify do not use inotify (filesystem change notifications)
2604 --without-jpeg do not use JPEG
2605 --without-krb5 do not use krb5 (Kerberos)
2606 --without-ldap do not use LDAP
2607 --without-mingw do not use the MinGW cross-compiler
2608 --without-mpg123 do not use the mpg123 library
2609 --without-netapi do not use the Samba NetAPI library
2610 --without-openal do not use OpenAL
2611 --without-opencl do not use OpenCL
2612 --without-opengl do not use OpenGL
2613 --without-osmesa do not use the OSMesa library
2614 --without-oss do not use the OSS sound support
2615 --without-pcap do not use the Packet Capture library
2616 --without-png do not use PNG
2617 --without-pthread do not use the pthread library
2618 --without-pulse do not use PulseAudio sound support
2619 --without-quicktime do not use QuickTime support
2620 --without-sane do not use SANE (scanner support)
2621 --without-sdl do not use SDL
2622 --without-tiff do not use TIFF
2623 --without-udev do not use udev (plug and play support)
2624 --without-unwind do not use the libunwind library (exception
2625 handling)
2626 --without-usb do not use the libusb library
2627 --without-v4l2 do not use v4l2 (video capture)
2628 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2629 --without-vulkan do not use Vulkan
2630 --without-xcomposite do not use the Xcomposite extension
2631 --without-xcursor do not use the Xcursor extension
2632 --without-xfixes do not use Xfixes for clipboard change notifications
2633 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2634 --without-xinput do not use the Xinput extension
2635 --without-xinput2 do not use the Xinput 2 extension
2636 --without-xml do not use XML
2637 --without-xrandr do not use Xrandr (multi-monitor support)
2638 --without-xrender do not use the Xrender extension
2639 --without-xshape do not use the Xshape extension
2640 --without-xshm do not use XShm (shared memory extension)
2641 --without-xslt do not use XSLT
2642 --without-xxf86vm do not use XFree video mode extension
2643 --with-wine-tools=DIR use Wine tools from directory DIR
2644 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2645 --with-x use the X Window System
2647 Some influential environment variables:
2648 CC C compiler command
2649 CFLAGS C compiler flags
2650 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2651 nonstandard directory <lib dir>
2652 LIBS libraries to pass to the linker, e.g. -l<library>
2653 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2654 you have headers in a nonstandard directory <include dir>
2655 CXX C++ compiler command
2656 CXXFLAGS C++ compiler flags
2657 CPP C preprocessor
2658 OBJC Objective C compiler command
2659 OBJCFLAGS Objective C compiler flags
2660 OBJCPP Objective C preprocessor
2661 XMKMF Path to xmkmf, Makefile generator for X Window System
2662 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2663 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2664 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2665 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2666 INOTIFY_CFLAGS
2667 C compiler flags for libinotify, overriding pkg-config
2668 INOTIFY_LIBS
2669 Linker flags for libinotify, overriding pkg-config
2670 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2671 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2672 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2673 HAL_LIBS Linker flags for hal, overriding pkg-config
2674 GNUTLS_CFLAGS
2675 C compiler flags for gnutls, overriding pkg-config
2676 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2677 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2678 SANE_LIBS Linker flags for libsane, overriding pkg-config
2679 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2680 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2681 GPHOTO2_CFLAGS
2682 C compiler flags for libgphoto2, overriding pkg-config
2683 GPHOTO2_LIBS
2684 Linker flags for libgphoto2, overriding pkg-config
2685 GPHOTO2_PORT_CFLAGS
2686 C compiler flags for libgphoto2_port, overriding pkg-config
2687 GPHOTO2_PORT_LIBS
2688 Linker flags for libgphoto2_port, overriding pkg-config
2689 LCMS2_CFLAGS
2690 C compiler flags for lcms2, overriding pkg-config
2691 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2692 FREETYPE_CFLAGS
2693 C compiler flags for freetype2, overriding pkg-config
2694 FREETYPE_LIBS
2695 Linker flags for freetype2, overriding pkg-config
2696 PULSE_CFLAGS
2697 C compiler flags for libpulse, overriding pkg-config
2698 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2699 GSTREAMER_CFLAGS
2700 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2701 gstreamer-audio-1.0, overriding pkg-config
2702 GSTREAMER_LIBS
2703 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2704 gstreamer-audio-1.0, overriding pkg-config
2705 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2706 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2707 UNWIND_CFLAGS
2708 C compiler flags for libunwind, overriding pkg-config
2709 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2710 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2711 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2712 FAUDIO_CFLAGS
2713 C compiler flags for faudio, overriding pkg-config
2714 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2715 CAPI20_CFLAGS
2716 C compiler flags for capi20, overriding pkg-config
2717 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2718 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2719 CUPS_LIBS Linker flags for cups, overriding pkg-config
2720 FONTCONFIG_CFLAGS
2721 C compiler flags for fontconfig, overriding pkg-config
2722 FONTCONFIG_LIBS
2723 Linker flags for fontconfig, overriding pkg-config
2724 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2725 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2726 GSSAPI_CFLAGS
2727 C compiler flags for krb5-gssapi, overriding pkg-config
2728 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2729 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2730 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2731 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2732 PNG_LIBS Linker flags for libpng, overriding pkg-config
2733 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2734 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2735 MPG123_CFLAGS
2736 C compiler flags for libmpg123, overriding pkg-config
2737 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2738 NETAPI_CFLAGS
2739 C compiler flags for netapi, overriding pkg-config
2740 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2741 VKD3D_CFLAGS
2742 C compiler flags for libvkd3d, overriding pkg-config
2743 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2744 VKD3D_SHADER_CFLAGS
2745 C compiler flags for libvkd3d-shader, overriding pkg-config
2746 VKD3D_SHADER_LIBS
2747 Linker flags for libvkd3d-shader, overriding pkg-config
2748 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2749 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2751 Use these variables to override the choices made by `configure' or to help
2752 it to find libraries and programs with nonstandard names/locations.
2754 Report bugs to <wine-devel@winehq.org>.
2755 Wine home page: <https://www.winehq.org>.
2756 _ACEOF
2757 ac_status=$?
2760 if test "$ac_init_help" = "recursive"; then
2761 # If there are subdirs, report their specific --help.
2762 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2763 test -d "$ac_dir" ||
2764 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2765 continue
2766 ac_builddir=.
2768 case "$ac_dir" in
2769 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2771 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2772 # A ".." for each directory in $ac_dir_suffix.
2773 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2774 case $ac_top_builddir_sub in
2775 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2776 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2777 esac ;;
2778 esac
2779 ac_abs_top_builddir=$ac_pwd
2780 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2781 # for backward compatibility:
2782 ac_top_builddir=$ac_top_build_prefix
2784 case $srcdir in
2785 .) # We are building in place.
2786 ac_srcdir=.
2787 ac_top_srcdir=$ac_top_builddir_sub
2788 ac_abs_top_srcdir=$ac_pwd ;;
2789 [\\/]* | ?:[\\/]* ) # Absolute name.
2790 ac_srcdir=$srcdir$ac_dir_suffix;
2791 ac_top_srcdir=$srcdir
2792 ac_abs_top_srcdir=$srcdir ;;
2793 *) # Relative name.
2794 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2795 ac_top_srcdir=$ac_top_build_prefix$srcdir
2796 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2797 esac
2798 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2800 cd "$ac_dir" || { ac_status=$?; continue; }
2801 # Check for guested configure.
2802 if test -f "$ac_srcdir/configure.gnu"; then
2803 echo &&
2804 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2805 elif test -f "$ac_srcdir/configure"; then
2806 echo &&
2807 $SHELL "$ac_srcdir/configure" --help=recursive
2808 else
2809 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2810 fi || ac_status=$?
2811 cd "$ac_pwd" || { ac_status=$?; break; }
2812 done
2815 test -n "$ac_init_help" && exit $ac_status
2816 if $ac_init_version; then
2817 cat <<\_ACEOF
2818 Wine configure 5.20
2819 generated by GNU Autoconf 2.69
2821 Copyright (C) 2012 Free Software Foundation, Inc.
2822 This configure script is free software; the Free Software Foundation
2823 gives unlimited permission to copy, distribute and modify it.
2824 _ACEOF
2825 exit
2828 ## ------------------------ ##
2829 ## Autoconf initialization. ##
2830 ## ------------------------ ##
2832 # ac_fn_c_try_compile LINENO
2833 # --------------------------
2834 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2835 ac_fn_c_try_compile ()
2837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2838 rm -f conftest.$ac_objext
2839 if { { ac_try="$ac_compile"
2840 case "(($ac_try" in
2841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2842 *) ac_try_echo=$ac_try;;
2843 esac
2844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2845 $as_echo "$ac_try_echo"; } >&5
2846 (eval "$ac_compile") 2>conftest.err
2847 ac_status=$?
2848 if test -s conftest.err; then
2849 grep -v '^ *+' conftest.err >conftest.er1
2850 cat conftest.er1 >&5
2851 mv -f conftest.er1 conftest.err
2853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2854 test $ac_status = 0; } && {
2855 test -z "$ac_c_werror_flag" ||
2856 test ! -s conftest.err
2857 } && test -s conftest.$ac_objext; then :
2858 ac_retval=0
2859 else
2860 $as_echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.$ac_ext >&5
2863 ac_retval=1
2865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2866 as_fn_set_status $ac_retval
2868 } # ac_fn_c_try_compile
2870 # ac_fn_cxx_try_compile LINENO
2871 # ----------------------------
2872 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2873 ac_fn_cxx_try_compile ()
2875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2876 rm -f conftest.$ac_objext
2877 if { { ac_try="$ac_compile"
2878 case "(($ac_try" in
2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2881 esac
2882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2883 $as_echo "$ac_try_echo"; } >&5
2884 (eval "$ac_compile") 2>conftest.err
2885 ac_status=$?
2886 if test -s conftest.err; then
2887 grep -v '^ *+' conftest.err >conftest.er1
2888 cat conftest.er1 >&5
2889 mv -f conftest.er1 conftest.err
2891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2892 test $ac_status = 0; } && {
2893 test -z "$ac_cxx_werror_flag" ||
2894 test ! -s conftest.err
2895 } && test -s conftest.$ac_objext; then :
2896 ac_retval=0
2897 else
2898 $as_echo "$as_me: failed program was:" >&5
2899 sed 's/^/| /' conftest.$ac_ext >&5
2901 ac_retval=1
2903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2904 as_fn_set_status $ac_retval
2906 } # ac_fn_cxx_try_compile
2908 # ac_fn_c_try_link LINENO
2909 # -----------------------
2910 # Try to link conftest.$ac_ext, and return whether this succeeded.
2911 ac_fn_c_try_link ()
2913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2914 rm -f conftest.$ac_objext conftest$ac_exeext
2915 if { { ac_try="$ac_link"
2916 case "(($ac_try" in
2917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2919 esac
2920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2921 $as_echo "$ac_try_echo"; } >&5
2922 (eval "$ac_link") 2>conftest.err
2923 ac_status=$?
2924 if test -s conftest.err; then
2925 grep -v '^ *+' conftest.err >conftest.er1
2926 cat conftest.er1 >&5
2927 mv -f conftest.er1 conftest.err
2929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2930 test $ac_status = 0; } && {
2931 test -z "$ac_c_werror_flag" ||
2932 test ! -s conftest.err
2933 } && test -s conftest$ac_exeext && {
2934 test "$cross_compiling" = yes ||
2935 test -x conftest$ac_exeext
2936 }; then :
2937 ac_retval=0
2938 else
2939 $as_echo "$as_me: failed program was:" >&5
2940 sed 's/^/| /' conftest.$ac_ext >&5
2942 ac_retval=1
2944 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2945 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2946 # interfere with the next link command; also delete a directory that is
2947 # left behind by Apple's compiler. We do this before executing the actions.
2948 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2950 as_fn_set_status $ac_retval
2952 } # ac_fn_c_try_link
2954 # ac_fn_c_try_cpp LINENO
2955 # ----------------------
2956 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2957 ac_fn_c_try_cpp ()
2959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2960 if { { ac_try="$ac_cpp conftest.$ac_ext"
2961 case "(($ac_try" in
2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963 *) ac_try_echo=$ac_try;;
2964 esac
2965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2966 $as_echo "$ac_try_echo"; } >&5
2967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2968 ac_status=$?
2969 if test -s conftest.err; then
2970 grep -v '^ *+' conftest.err >conftest.er1
2971 cat conftest.er1 >&5
2972 mv -f conftest.er1 conftest.err
2974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2975 test $ac_status = 0; } > conftest.i && {
2976 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2977 test ! -s conftest.err
2978 }; then :
2979 ac_retval=0
2980 else
2981 $as_echo "$as_me: failed program was:" >&5
2982 sed 's/^/| /' conftest.$ac_ext >&5
2984 ac_retval=1
2986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2987 as_fn_set_status $ac_retval
2989 } # ac_fn_c_try_cpp
2991 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2992 # -------------------------------------------------------
2993 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2994 # the include files in INCLUDES and setting the cache variable VAR
2995 # accordingly.
2996 ac_fn_c_check_header_mongrel ()
2998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2999 if eval \${$3+:} false; then :
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3001 $as_echo_n "checking for $2... " >&6; }
3002 if eval \${$3+:} false; then :
3003 $as_echo_n "(cached) " >&6
3005 eval ac_res=\$$3
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3007 $as_echo "$ac_res" >&6; }
3008 else
3009 # Is the header compilable?
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3011 $as_echo_n "checking $2 usability... " >&6; }
3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013 /* end confdefs.h. */
3015 #include <$2>
3016 _ACEOF
3017 if ac_fn_c_try_compile "$LINENO"; then :
3018 ac_header_compiler=yes
3019 else
3020 ac_header_compiler=no
3022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3024 $as_echo "$ac_header_compiler" >&6; }
3026 # Is the header present?
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3028 $as_echo_n "checking $2 presence... " >&6; }
3029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3030 /* end confdefs.h. */
3031 #include <$2>
3032 _ACEOF
3033 if ac_fn_c_try_cpp "$LINENO"; then :
3034 ac_header_preproc=yes
3035 else
3036 ac_header_preproc=no
3038 rm -f conftest.err conftest.i conftest.$ac_ext
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3040 $as_echo "$ac_header_preproc" >&6; }
3042 # So? What about this header?
3043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3044 yes:no: )
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3046 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3048 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3050 no:yes:* )
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3052 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3054 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3056 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3058 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3060 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3061 ( $as_echo "## ------------------------------------ ##
3062 ## Report this to wine-devel@winehq.org ##
3063 ## ------------------------------------ ##"
3064 ) | sed "s/^/$as_me: WARNING: /" >&2
3066 esac
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3068 $as_echo_n "checking for $2... " >&6; }
3069 if eval \${$3+:} false; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 eval "$3=\$ac_header_compiler"
3074 eval ac_res=\$$3
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3076 $as_echo "$ac_res" >&6; }
3078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080 } # ac_fn_c_check_header_mongrel
3082 # ac_fn_c_try_run LINENO
3083 # ----------------------
3084 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3085 # that executables *can* be run.
3086 ac_fn_c_try_run ()
3088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3089 if { { ac_try="$ac_link"
3090 case "(($ac_try" in
3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092 *) ac_try_echo=$ac_try;;
3093 esac
3094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3095 $as_echo "$ac_try_echo"; } >&5
3096 (eval "$ac_link") 2>&5
3097 ac_status=$?
3098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3099 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3100 { { case "(($ac_try" in
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3103 esac
3104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3105 $as_echo "$ac_try_echo"; } >&5
3106 (eval "$ac_try") 2>&5
3107 ac_status=$?
3108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3109 test $ac_status = 0; }; }; then :
3110 ac_retval=0
3111 else
3112 $as_echo "$as_me: program exited with status $ac_status" >&5
3113 $as_echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3116 ac_retval=$ac_status
3118 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3120 as_fn_set_status $ac_retval
3122 } # ac_fn_c_try_run
3124 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3125 # -------------------------------------------------------
3126 # Tests whether HEADER exists and can be compiled using the include files in
3127 # INCLUDES, setting the cache variable VAR accordingly.
3128 ac_fn_c_check_header_compile ()
3130 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3132 $as_echo_n "checking for $2... " >&6; }
3133 if eval \${$3+:} false; then :
3134 $as_echo_n "(cached) " >&6
3135 else
3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3137 /* end confdefs.h. */
3139 #include <$2>
3140 _ACEOF
3141 if ac_fn_c_try_compile "$LINENO"; then :
3142 eval "$3=yes"
3143 else
3144 eval "$3=no"
3146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3148 eval ac_res=\$$3
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3150 $as_echo "$ac_res" >&6; }
3151 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3153 } # ac_fn_c_check_header_compile
3155 # ac_fn_objc_try_compile LINENO
3156 # -----------------------------
3157 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3158 ac_fn_objc_try_compile ()
3160 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3161 rm -f conftest.$ac_objext
3162 if { { ac_try="$ac_compile"
3163 case "(($ac_try" in
3164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3165 *) ac_try_echo=$ac_try;;
3166 esac
3167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3168 $as_echo "$ac_try_echo"; } >&5
3169 (eval "$ac_compile") 2>conftest.err
3170 ac_status=$?
3171 if test -s conftest.err; then
3172 grep -v '^ *+' conftest.err >conftest.er1
3173 cat conftest.er1 >&5
3174 mv -f conftest.er1 conftest.err
3176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3177 test $ac_status = 0; } && {
3178 test -z "$ac_objc_werror_flag" ||
3179 test ! -s conftest.err
3180 } && test -s conftest.$ac_objext; then :
3181 ac_retval=0
3182 else
3183 $as_echo "$as_me: failed program was:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3186 ac_retval=1
3188 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3189 as_fn_set_status $ac_retval
3191 } # ac_fn_objc_try_compile
3193 # ac_fn_objc_try_cpp LINENO
3194 # -------------------------
3195 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3196 ac_fn_objc_try_cpp ()
3198 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3199 if { { ac_try="$ac_cpp conftest.$ac_ext"
3200 case "(($ac_try" in
3201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202 *) ac_try_echo=$ac_try;;
3203 esac
3204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3205 $as_echo "$ac_try_echo"; } >&5
3206 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3207 ac_status=$?
3208 if test -s conftest.err; then
3209 grep -v '^ *+' conftest.err >conftest.er1
3210 cat conftest.er1 >&5
3211 mv -f conftest.er1 conftest.err
3213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3214 test $ac_status = 0; } > conftest.i && {
3215 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3216 test ! -s conftest.err
3217 }; then :
3218 ac_retval=0
3219 else
3220 $as_echo "$as_me: failed program was:" >&5
3221 sed 's/^/| /' conftest.$ac_ext >&5
3223 ac_retval=1
3225 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3226 as_fn_set_status $ac_retval
3228 } # ac_fn_objc_try_cpp
3230 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3231 # ----------------------------------------------------------
3232 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3233 # the include files in INCLUDES and setting the cache variable VAR
3234 # accordingly.
3235 ac_fn_objc_check_header_mongrel ()
3237 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3238 if eval \${$3+:} false; then :
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3240 $as_echo_n "checking for $2... " >&6; }
3241 if eval \${$3+:} false; then :
3242 $as_echo_n "(cached) " >&6
3244 eval ac_res=\$$3
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3246 $as_echo "$ac_res" >&6; }
3247 else
3248 # Is the header compilable?
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3250 $as_echo_n "checking $2 usability... " >&6; }
3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h. */
3254 #include <$2>
3255 _ACEOF
3256 if ac_fn_objc_try_compile "$LINENO"; then :
3257 ac_header_compiler=yes
3258 else
3259 ac_header_compiler=no
3261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3263 $as_echo "$ac_header_compiler" >&6; }
3265 # Is the header present?
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3267 $as_echo_n "checking $2 presence... " >&6; }
3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3270 #include <$2>
3271 _ACEOF
3272 if ac_fn_objc_try_cpp "$LINENO"; then :
3273 ac_header_preproc=yes
3274 else
3275 ac_header_preproc=no
3277 rm -f conftest.err conftest.i conftest.$ac_ext
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3279 $as_echo "$ac_header_preproc" >&6; }
3281 # So? What about this header?
3282 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3283 yes:no: )
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3285 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3287 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3289 no:yes:* )
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3291 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3293 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3295 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3297 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3299 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3300 ( $as_echo "## ------------------------------------ ##
3301 ## Report this to wine-devel@winehq.org ##
3302 ## ------------------------------------ ##"
3303 ) | sed "s/^/$as_me: WARNING: /" >&2
3305 esac
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3307 $as_echo_n "checking for $2... " >&6; }
3308 if eval \${$3+:} false; then :
3309 $as_echo_n "(cached) " >&6
3310 else
3311 eval "$3=\$ac_header_compiler"
3313 eval ac_res=\$$3
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3315 $as_echo "$ac_res" >&6; }
3317 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3319 } # ac_fn_objc_check_header_mongrel
3321 # ac_fn_c_check_func LINENO FUNC VAR
3322 # ----------------------------------
3323 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3324 ac_fn_c_check_func ()
3326 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3328 $as_echo_n "checking for $2... " >&6; }
3329 if eval \${$3+:} false; then :
3330 $as_echo_n "(cached) " >&6
3331 else
3332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3334 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3336 #define $2 innocuous_$2
3338 /* System header to define __stub macros and hopefully few prototypes,
3339 which can conflict with char $2 (); below.
3340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3341 <limits.h> exists even on freestanding compilers. */
3343 #ifdef __STDC__
3344 # include <limits.h>
3345 #else
3346 # include <assert.h>
3347 #endif
3349 #undef $2
3351 /* Override any GCC internal prototype to avoid an error.
3352 Use char because int might match the return type of a GCC
3353 builtin and then its argument prototype would still apply. */
3354 #ifdef __cplusplus
3355 extern "C"
3356 #endif
3357 char $2 ();
3358 /* The GNU C library defines this for functions which it implements
3359 to always fail with ENOSYS. Some functions are actually named
3360 something starting with __ and the normal name is an alias. */
3361 #if defined __stub_$2 || defined __stub___$2
3362 choke me
3363 #endif
3366 main ()
3368 return $2 ();
3370 return 0;
3372 _ACEOF
3373 if ac_fn_c_try_link "$LINENO"; then :
3374 eval "$3=yes"
3375 else
3376 eval "$3=no"
3378 rm -f core conftest.err conftest.$ac_objext \
3379 conftest$ac_exeext conftest.$ac_ext
3381 eval ac_res=\$$3
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3383 $as_echo "$ac_res" >&6; }
3384 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3386 } # ac_fn_c_check_func
3388 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3389 # ----------------------------------------------------
3390 # Tries to find if the field MEMBER exists in type AGGR, after including
3391 # INCLUDES, setting cache variable VAR accordingly.
3392 ac_fn_c_check_member ()
3394 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3396 $as_echo_n "checking for $2.$3... " >&6; }
3397 if eval \${$4+:} false; then :
3398 $as_echo_n "(cached) " >&6
3399 else
3400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401 /* end confdefs.h. */
3404 main ()
3406 static $2 ac_aggr;
3407 if (ac_aggr.$3)
3408 return 0;
3410 return 0;
3412 _ACEOF
3413 if ac_fn_c_try_compile "$LINENO"; then :
3414 eval "$4=yes"
3415 else
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3420 main ()
3422 static $2 ac_aggr;
3423 if (sizeof ac_aggr.$3)
3424 return 0;
3426 return 0;
3428 _ACEOF
3429 if ac_fn_c_try_compile "$LINENO"; then :
3430 eval "$4=yes"
3431 else
3432 eval "$4=no"
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3438 eval ac_res=\$$4
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3440 $as_echo "$ac_res" >&6; }
3441 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3443 } # ac_fn_c_check_member
3445 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3446 # -------------------------------------------
3447 # Tests whether TYPE exists after having included INCLUDES, setting cache
3448 # variable VAR accordingly.
3449 ac_fn_c_check_type ()
3451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3453 $as_echo_n "checking for $2... " >&6; }
3454 if eval \${$3+:} false; then :
3455 $as_echo_n "(cached) " >&6
3456 else
3457 eval "$3=no"
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3462 main ()
3464 if (sizeof ($2))
3465 return 0;
3467 return 0;
3469 _ACEOF
3470 if ac_fn_c_try_compile "$LINENO"; then :
3471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3472 /* end confdefs.h. */
3475 main ()
3477 if (sizeof (($2)))
3478 return 0;
3480 return 0;
3482 _ACEOF
3483 if ac_fn_c_try_compile "$LINENO"; then :
3485 else
3486 eval "$3=yes"
3488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3492 eval ac_res=\$$3
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3494 $as_echo "$ac_res" >&6; }
3495 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3497 } # ac_fn_c_check_type
3498 cat >config.log <<_ACEOF
3499 This file contains any messages produced by compilers while
3500 running configure, to aid debugging if configure makes a mistake.
3502 It was created by Wine $as_me 5.20, which was
3503 generated by GNU Autoconf 2.69. Invocation command line was
3505 $ $0 $@
3507 _ACEOF
3508 exec 5>>config.log
3510 cat <<_ASUNAME
3511 ## --------- ##
3512 ## Platform. ##
3513 ## --------- ##
3515 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3516 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3517 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3518 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3519 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3521 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3522 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3524 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3525 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3526 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3527 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3528 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3529 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3530 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3532 _ASUNAME
3534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3535 for as_dir in $PATH
3537 IFS=$as_save_IFS
3538 test -z "$as_dir" && as_dir=.
3539 $as_echo "PATH: $as_dir"
3540 done
3541 IFS=$as_save_IFS
3543 } >&5
3545 cat >&5 <<_ACEOF
3548 ## ----------- ##
3549 ## Core tests. ##
3550 ## ----------- ##
3552 _ACEOF
3555 # Keep a trace of the command line.
3556 # Strip out --no-create and --no-recursion so they do not pile up.
3557 # Strip out --silent because we don't want to record it for future runs.
3558 # Also quote any args containing shell meta-characters.
3559 # Make two passes to allow for proper duplicate-argument suppression.
3560 ac_configure_args=
3561 ac_configure_args0=
3562 ac_configure_args1=
3563 ac_must_keep_next=false
3564 for ac_pass in 1 2
3566 for ac_arg
3568 case $ac_arg in
3569 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3570 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3571 | -silent | --silent | --silen | --sile | --sil)
3572 continue ;;
3573 *\'*)
3574 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3575 esac
3576 case $ac_pass in
3577 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3579 as_fn_append ac_configure_args1 " '$ac_arg'"
3580 if test $ac_must_keep_next = true; then
3581 ac_must_keep_next=false # Got value, back to normal.
3582 else
3583 case $ac_arg in
3584 *=* | --config-cache | -C | -disable-* | --disable-* \
3585 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3586 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3587 | -with-* | --with-* | -without-* | --without-* | --x)
3588 case "$ac_configure_args0 " in
3589 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3590 esac
3592 -* ) ac_must_keep_next=true ;;
3593 esac
3595 as_fn_append ac_configure_args " '$ac_arg'"
3597 esac
3598 done
3599 done
3600 { ac_configure_args0=; unset ac_configure_args0;}
3601 { ac_configure_args1=; unset ac_configure_args1;}
3603 # When interrupted or exit'd, cleanup temporary files, and complete
3604 # config.log. We remove comments because anyway the quotes in there
3605 # would cause problems or look ugly.
3606 # WARNING: Use '\'' to represent an apostrophe within the trap.
3607 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3608 trap 'exit_status=$?
3609 # Save into config.log some information that might help in debugging.
3611 echo
3613 $as_echo "## ---------------- ##
3614 ## Cache variables. ##
3615 ## ---------------- ##"
3616 echo
3617 # The following way of writing the cache mishandles newlines in values,
3619 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3620 eval ac_val=\$$ac_var
3621 case $ac_val in #(
3622 *${as_nl}*)
3623 case $ac_var in #(
3624 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3625 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3626 esac
3627 case $ac_var in #(
3628 _ | IFS | as_nl) ;; #(
3629 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3630 *) { eval $ac_var=; unset $ac_var;} ;;
3631 esac ;;
3632 esac
3633 done
3634 (set) 2>&1 |
3635 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3636 *${as_nl}ac_space=\ *)
3637 sed -n \
3638 "s/'\''/'\''\\\\'\'''\''/g;
3639 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3640 ;; #(
3642 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3644 esac |
3645 sort
3647 echo
3649 $as_echo "## ----------------- ##
3650 ## Output variables. ##
3651 ## ----------------- ##"
3652 echo
3653 for ac_var in $ac_subst_vars
3655 eval ac_val=\$$ac_var
3656 case $ac_val in
3657 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3658 esac
3659 $as_echo "$ac_var='\''$ac_val'\''"
3660 done | sort
3661 echo
3663 if test -n "$ac_subst_files"; then
3664 $as_echo "## ------------------- ##
3665 ## File substitutions. ##
3666 ## ------------------- ##"
3667 echo
3668 for ac_var in $ac_subst_files
3670 eval ac_val=\$$ac_var
3671 case $ac_val in
3672 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3673 esac
3674 $as_echo "$ac_var='\''$ac_val'\''"
3675 done | sort
3676 echo
3679 if test -s confdefs.h; then
3680 $as_echo "## ----------- ##
3681 ## confdefs.h. ##
3682 ## ----------- ##"
3683 echo
3684 cat confdefs.h
3685 echo
3687 test "$ac_signal" != 0 &&
3688 $as_echo "$as_me: caught signal $ac_signal"
3689 $as_echo "$as_me: exit $exit_status"
3690 } >&5
3691 rm -f core *.core core.conftest.* &&
3692 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3693 exit $exit_status
3695 for ac_signal in 1 2 13 15; do
3696 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3697 done
3698 ac_signal=0
3700 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3701 rm -f -r conftest* confdefs.h
3703 $as_echo "/* confdefs.h */" > confdefs.h
3705 # Predefined preprocessor variables.
3707 cat >>confdefs.h <<_ACEOF
3708 #define PACKAGE_NAME "$PACKAGE_NAME"
3709 _ACEOF
3711 cat >>confdefs.h <<_ACEOF
3712 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3713 _ACEOF
3715 cat >>confdefs.h <<_ACEOF
3716 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3717 _ACEOF
3719 cat >>confdefs.h <<_ACEOF
3720 #define PACKAGE_STRING "$PACKAGE_STRING"
3721 _ACEOF
3723 cat >>confdefs.h <<_ACEOF
3724 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3725 _ACEOF
3727 cat >>confdefs.h <<_ACEOF
3728 #define PACKAGE_URL "$PACKAGE_URL"
3729 _ACEOF
3732 # Let the site file select an alternate cache file if it wants to.
3733 # Prefer an explicitly selected file to automatically selected ones.
3734 ac_site_file1=NONE
3735 ac_site_file2=NONE
3736 if test -n "$CONFIG_SITE"; then
3737 # We do not want a PATH search for config.site.
3738 case $CONFIG_SITE in #((
3739 -*) ac_site_file1=./$CONFIG_SITE;;
3740 */*) ac_site_file1=$CONFIG_SITE;;
3741 *) ac_site_file1=./$CONFIG_SITE;;
3742 esac
3743 elif test "x$prefix" != xNONE; then
3744 ac_site_file1=$prefix/share/config.site
3745 ac_site_file2=$prefix/etc/config.site
3746 else
3747 ac_site_file1=$ac_default_prefix/share/config.site
3748 ac_site_file2=$ac_default_prefix/etc/config.site
3750 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3752 test "x$ac_site_file" = xNONE && continue
3753 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3755 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3756 sed 's/^/| /' "$ac_site_file" >&5
3757 . "$ac_site_file" \
3758 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3760 as_fn_error $? "failed to load site script $ac_site_file
3761 See \`config.log' for more details" "$LINENO" 5; }
3763 done
3765 if test -r "$cache_file"; then
3766 # Some versions of bash will fail to source /dev/null (special files
3767 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3768 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3770 $as_echo "$as_me: loading cache $cache_file" >&6;}
3771 case $cache_file in
3772 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3773 *) . "./$cache_file";;
3774 esac
3776 else
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3778 $as_echo "$as_me: creating cache $cache_file" >&6;}
3779 >$cache_file
3782 # Check that the precious variables saved in the cache have kept the same
3783 # value.
3784 ac_cache_corrupted=false
3785 for ac_var in $ac_precious_vars; do
3786 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3787 eval ac_new_set=\$ac_env_${ac_var}_set
3788 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3789 eval ac_new_val=\$ac_env_${ac_var}_value
3790 case $ac_old_set,$ac_new_set in
3791 set,)
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3793 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3794 ac_cache_corrupted=: ;;
3795 ,set)
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3797 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3798 ac_cache_corrupted=: ;;
3799 ,);;
3801 if test "x$ac_old_val" != "x$ac_new_val"; then
3802 # differences in whitespace do not lead to failure.
3803 ac_old_val_w=`echo x $ac_old_val`
3804 ac_new_val_w=`echo x $ac_new_val`
3805 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3807 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3808 ac_cache_corrupted=:
3809 else
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3811 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3812 eval $ac_var=\$ac_old_val
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3815 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3817 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3818 fi;;
3819 esac
3820 # Pass precious variables to config.status.
3821 if test "$ac_new_set" = set; then
3822 case $ac_new_val in
3823 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3824 *) ac_arg=$ac_var=$ac_new_val ;;
3825 esac
3826 case " $ac_configure_args " in
3827 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3828 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3829 esac
3831 done
3832 if $ac_cache_corrupted; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3836 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3837 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3839 ## -------------------- ##
3840 ## Main body of script. ##
3841 ## -------------------- ##
3843 ac_ext=c
3844 ac_cpp='$CPP $CPPFLAGS'
3845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3851 ac_config_headers="$ac_config_headers include/config.h"
3853 ac_aux_dir=
3854 for ac_dir in tools "$srcdir"/tools; do
3855 if test -f "$ac_dir/install-sh"; then
3856 ac_aux_dir=$ac_dir
3857 ac_install_sh="$ac_aux_dir/install-sh -c"
3858 break
3859 elif test -f "$ac_dir/install.sh"; then
3860 ac_aux_dir=$ac_dir
3861 ac_install_sh="$ac_aux_dir/install.sh -c"
3862 break
3863 elif test -f "$ac_dir/shtool"; then
3864 ac_aux_dir=$ac_dir
3865 ac_install_sh="$ac_aux_dir/shtool install -c"
3866 break
3868 done
3869 if test -z "$ac_aux_dir"; then
3870 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3873 # These three variables are undocumented and unsupported,
3874 # and are intended to be withdrawn in a future Autoconf release.
3875 # They can cause serious problems if a builder's source tree is in a directory
3876 # whose full name contains unusual characters.
3877 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3878 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3879 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3883 libwine_version="1.0"
3887 # Check whether --enable-win16 was given.
3888 if test "${enable_win16+set}" = set; then :
3889 enableval=$enable_win16;
3892 # Check whether --enable-win64 was given.
3893 if test "${enable_win64+set}" = set; then :
3894 enableval=$enable_win64;
3897 # Check whether --enable-tests was given.
3898 if test "${enable_tests+set}" = set; then :
3899 enableval=$enable_tests;
3902 # Check whether --enable-maintainer-mode was given.
3903 if test "${enable_maintainer_mode+set}" = set; then :
3904 enableval=$enable_maintainer_mode;
3907 # Check whether --enable-werror was given.
3908 if test "${enable_werror+set}" = set; then :
3909 enableval=$enable_werror;
3914 # Check whether --with-alsa was given.
3915 if test "${with_alsa+set}" = set; then :
3916 withval=$with_alsa;
3920 # Check whether --with-capi was given.
3921 if test "${with_capi+set}" = set; then :
3922 withval=$with_capi;
3926 # Check whether --with-cms was given.
3927 if test "${with_cms+set}" = set; then :
3928 withval=$with_cms;
3932 # Check whether --with-coreaudio was given.
3933 if test "${with_coreaudio+set}" = set; then :
3934 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3938 # Check whether --with-cups was given.
3939 if test "${with_cups+set}" = set; then :
3940 withval=$with_cups;
3944 # Check whether --with-dbus was given.
3945 if test "${with_dbus+set}" = set; then :
3946 withval=$with_dbus;
3950 # Check whether --with-faudio was given.
3951 if test "${with_faudio+set}" = set; then :
3952 withval=$with_faudio;
3956 # Check whether --with-float-abi was given.
3957 if test "${with_float_abi+set}" = set; then :
3958 withval=$with_float_abi;
3962 # Check whether --with-fontconfig was given.
3963 if test "${with_fontconfig+set}" = set; then :
3964 withval=$with_fontconfig;
3968 # Check whether --with-freetype was given.
3969 if test "${with_freetype+set}" = set; then :
3970 withval=$with_freetype;
3974 # Check whether --with-gettext was given.
3975 if test "${with_gettext+set}" = set; then :
3976 withval=$with_gettext;
3980 # Check whether --with-gettextpo was given.
3981 if test "${with_gettextpo+set}" = set; then :
3982 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3986 # Check whether --with-gphoto was given.
3987 if test "${with_gphoto+set}" = set; then :
3988 withval=$with_gphoto;
3992 # Check whether --with-glu was given.
3993 if test "${with_glu+set}" = set; then :
3994 withval=$with_glu;
3998 # Check whether --with-gnutls was given.
3999 if test "${with_gnutls+set}" = set; then :
4000 withval=$with_gnutls;
4004 # Check whether --with-gsm was given.
4005 if test "${with_gsm+set}" = set; then :
4006 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4010 # Check whether --with-gssapi was given.
4011 if test "${with_gssapi+set}" = set; then :
4012 withval=$with_gssapi;
4016 # Check whether --with-gstreamer was given.
4017 if test "${with_gstreamer+set}" = set; then :
4018 withval=$with_gstreamer;
4022 # Check whether --with-hal was given.
4023 if test "${with_hal+set}" = set; then :
4024 withval=$with_hal;
4028 # Check whether --with-inotify was given.
4029 if test "${with_inotify+set}" = set; then :
4030 withval=$with_inotify;
4034 # Check whether --with-jpeg was given.
4035 if test "${with_jpeg+set}" = set; then :
4036 withval=$with_jpeg;
4040 # Check whether --with-krb5 was given.
4041 if test "${with_krb5+set}" = set; then :
4042 withval=$with_krb5;
4046 # Check whether --with-ldap was given.
4047 if test "${with_ldap+set}" = set; then :
4048 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4052 # Check whether --with-mingw was given.
4053 if test "${with_mingw+set}" = set; then :
4054 withval=$with_mingw;
4058 # Check whether --with-mpg123 was given.
4059 if test "${with_mpg123+set}" = set; then :
4060 withval=$with_mpg123;
4064 # Check whether --with-netapi was given.
4065 if test "${with_netapi+set}" = set; then :
4066 withval=$with_netapi;
4070 # Check whether --with-openal was given.
4071 if test "${with_openal+set}" = set; then :
4072 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4076 # Check whether --with-opencl was given.
4077 if test "${with_opencl+set}" = set; then :
4078 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4082 # Check whether --with-opengl was given.
4083 if test "${with_opengl+set}" = set; then :
4084 withval=$with_opengl;
4088 # Check whether --with-osmesa was given.
4089 if test "${with_osmesa+set}" = set; then :
4090 withval=$with_osmesa;
4094 # Check whether --with-oss was given.
4095 if test "${with_oss+set}" = set; then :
4096 withval=$with_oss;
4100 # Check whether --with-pcap was given.
4101 if test "${with_pcap+set}" = set; then :
4102 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4106 # Check whether --with-png was given.
4107 if test "${with_png+set}" = set; then :
4108 withval=$with_png;
4112 # Check whether --with-pthread was given.
4113 if test "${with_pthread+set}" = set; then :
4114 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4118 # Check whether --with-pulse was given.
4119 if test "${with_pulse+set}" = set; then :
4120 withval=$with_pulse;
4124 # Check whether --with-quicktime was given.
4125 if test "${with_quicktime+set}" = set; then :
4126 withval=$with_quicktime;
4130 # Check whether --with-sane was given.
4131 if test "${with_sane+set}" = set; then :
4132 withval=$with_sane;
4136 # Check whether --with-sdl was given.
4137 if test "${with_sdl+set}" = set; then :
4138 withval=$with_sdl;
4142 # Check whether --with-tiff was given.
4143 if test "${with_tiff+set}" = set; then :
4144 withval=$with_tiff;
4148 # Check whether --with-udev was given.
4149 if test "${with_udev+set}" = set; then :
4150 withval=$with_udev;
4154 # Check whether --with-unwind was given.
4155 if test "${with_unwind+set}" = set; then :
4156 withval=$with_unwind;
4160 # Check whether --with-usb was given.
4161 if test "${with_usb+set}" = set; then :
4162 withval=$with_usb;
4166 # Check whether --with-v4l2 was given.
4167 if test "${with_v4l2+set}" = set; then :
4168 withval=$with_v4l2;
4172 # Check whether --with-vkd3d was given.
4173 if test "${with_vkd3d+set}" = set; then :
4174 withval=$with_vkd3d;
4178 # Check whether --with-vulkan was given.
4179 if test "${with_vulkan+set}" = set; then :
4180 withval=$with_vulkan;
4184 # Check whether --with-xcomposite was given.
4185 if test "${with_xcomposite+set}" = set; then :
4186 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4190 # Check whether --with-xcursor was given.
4191 if test "${with_xcursor+set}" = set; then :
4192 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4196 # Check whether --with-xfixes was given.
4197 if test "${with_xfixes+set}" = set; then :
4198 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4202 # Check whether --with-xinerama was given.
4203 if test "${with_xinerama+set}" = set; then :
4204 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4208 # Check whether --with-xinput was given.
4209 if test "${with_xinput+set}" = set; then :
4210 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4214 # Check whether --with-xinput2 was given.
4215 if test "${with_xinput2+set}" = set; then :
4216 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4220 # Check whether --with-xml was given.
4221 if test "${with_xml+set}" = set; then :
4222 withval=$with_xml;
4226 # Check whether --with-xrandr was given.
4227 if test "${with_xrandr+set}" = set; then :
4228 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4232 # Check whether --with-xrender was given.
4233 if test "${with_xrender+set}" = set; then :
4234 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4238 # Check whether --with-xshape was given.
4239 if test "${with_xshape+set}" = set; then :
4240 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4244 # Check whether --with-xshm was given.
4245 if test "${with_xshm+set}" = set; then :
4246 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4250 # Check whether --with-xslt was given.
4251 if test "${with_xslt+set}" = set; then :
4252 withval=$with_xslt;
4256 # Check whether --with-xxf86vm was given.
4257 if test "${with_xxf86vm+set}" = set; then :
4258 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
4263 # Check whether --with-wine-tools was given.
4264 if test "${with_wine_tools+set}" = set; then :
4265 withval=$with_wine_tools;
4269 # Check whether --with-wine64 was given.
4270 if test "${with_wine64+set}" = set; then :
4271 withval=$with_wine64;
4275 # Make sure we can run config.sub.
4276 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4277 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4280 $as_echo_n "checking build system type... " >&6; }
4281 if ${ac_cv_build+:} false; then :
4282 $as_echo_n "(cached) " >&6
4283 else
4284 ac_build_alias=$build_alias
4285 test "x$ac_build_alias" = x &&
4286 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4287 test "x$ac_build_alias" = x &&
4288 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4289 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4290 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4294 $as_echo "$ac_cv_build" >&6; }
4295 case $ac_cv_build in
4296 *-*-*) ;;
4297 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4298 esac
4299 build=$ac_cv_build
4300 ac_save_IFS=$IFS; IFS='-'
4301 set x $ac_cv_build
4302 shift
4303 build_cpu=$1
4304 build_vendor=$2
4305 shift; shift
4306 # Remember, the first character of IFS is used to create $*,
4307 # except with old shells:
4308 build_os=$*
4309 IFS=$ac_save_IFS
4310 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4314 $as_echo_n "checking host system type... " >&6; }
4315 if ${ac_cv_host+:} false; then :
4316 $as_echo_n "(cached) " >&6
4317 else
4318 if test "x$host_alias" = x; then
4319 ac_cv_host=$ac_cv_build
4320 else
4321 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4322 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4327 $as_echo "$ac_cv_host" >&6; }
4328 case $ac_cv_host in
4329 *-*-*) ;;
4330 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4331 esac
4332 host=$ac_cv_host
4333 ac_save_IFS=$IFS; IFS='-'
4334 set x $ac_cv_host
4335 shift
4336 host_cpu=$1
4337 host_vendor=$2
4338 shift; shift
4339 # Remember, the first character of IFS is used to create $*,
4340 # except with old shells:
4341 host_os=$*
4342 IFS=$ac_save_IFS
4343 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4349 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4350 set x ${MAKE-make}
4351 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4352 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4353 $as_echo_n "(cached) " >&6
4354 else
4355 cat >conftest.make <<\_ACEOF
4356 SHELL = /bin/sh
4357 all:
4358 @echo '@@@%%%=$(MAKE)=@@@%%%'
4359 _ACEOF
4360 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4361 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4362 *@@@%%%=?*=@@@%%%*)
4363 eval ac_cv_prog_make_${ac_make}_set=yes;;
4365 eval ac_cv_prog_make_${ac_make}_set=no;;
4366 esac
4367 rm -f conftest.make
4369 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4371 $as_echo "yes" >&6; }
4372 SET_MAKE=
4373 else
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4375 $as_echo "no" >&6; }
4376 SET_MAKE="MAKE=${MAKE-make}"
4379 ac_ext=c
4380 ac_cpp='$CPP $CPPFLAGS'
4381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4384 if test -n "$ac_tool_prefix"; then
4385 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4386 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if ${ac_cv_prog_CC+:} false; then :
4390 $as_echo_n "(cached) " >&6
4391 else
4392 if test -n "$CC"; then
4393 ac_cv_prog_CC="$CC" # Let the user override the test.
4394 else
4395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396 for as_dir in $PATH
4398 IFS=$as_save_IFS
4399 test -z "$as_dir" && as_dir=.
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4402 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 break 2
4406 done
4407 done
4408 IFS=$as_save_IFS
4412 CC=$ac_cv_prog_CC
4413 if test -n "$CC"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4415 $as_echo "$CC" >&6; }
4416 else
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4423 if test -z "$ac_cv_prog_CC"; then
4424 ac_ct_CC=$CC
4425 # Extract the first word of "gcc", so it can be a program name with args.
4426 set dummy gcc; ac_word=$2
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428 $as_echo_n "checking for $ac_word... " >&6; }
4429 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 if test -n "$ac_ct_CC"; then
4433 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4434 else
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 for as_dir in $PATH
4438 IFS=$as_save_IFS
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_ac_ct_CC="gcc"
4443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 break 2
4446 done
4447 done
4448 IFS=$as_save_IFS
4452 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4453 if test -n "$ac_ct_CC"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4455 $as_echo "$ac_ct_CC" >&6; }
4456 else
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4461 if test "x$ac_ct_CC" = x; then
4462 CC=""
4463 else
4464 case $cross_compiling:$ac_tool_warned in
4465 yes:)
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4468 ac_tool_warned=yes ;;
4469 esac
4470 CC=$ac_ct_CC
4472 else
4473 CC="$ac_cv_prog_CC"
4476 if test -z "$CC"; then
4477 if test -n "$ac_tool_prefix"; then
4478 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4479 set dummy ${ac_tool_prefix}cc; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if ${ac_cv_prog_CC+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -n "$CC"; then
4486 ac_cv_prog_CC="$CC" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_CC="${ac_tool_prefix}cc"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4501 IFS=$as_save_IFS
4505 CC=$ac_cv_prog_CC
4506 if test -n "$CC"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4508 $as_echo "$CC" >&6; }
4509 else
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4517 if test -z "$CC"; then
4518 # Extract the first word of "cc", so it can be a program name with args.
4519 set dummy cc; ac_word=$2
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521 $as_echo_n "checking for $ac_word... " >&6; }
4522 if ${ac_cv_prog_CC+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 if test -n "$CC"; then
4526 ac_cv_prog_CC="$CC" # Let the user override the test.
4527 else
4528 ac_prog_rejected=no
4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 for as_dir in $PATH
4532 IFS=$as_save_IFS
4533 test -z "$as_dir" && as_dir=.
4534 for ac_exec_ext in '' $ac_executable_extensions; do
4535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4536 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4537 ac_prog_rejected=yes
4538 continue
4540 ac_cv_prog_CC="cc"
4541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 break 2
4544 done
4545 done
4546 IFS=$as_save_IFS
4548 if test $ac_prog_rejected = yes; then
4549 # We found a bogon in the path, so make sure we never use it.
4550 set dummy $ac_cv_prog_CC
4551 shift
4552 if test $# != 0; then
4553 # We chose a different compiler from the bogus one.
4554 # However, it has the same basename, so the bogon will be chosen
4555 # first if we set CC to just the basename; use the full file name.
4556 shift
4557 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4562 CC=$ac_cv_prog_CC
4563 if test -n "$CC"; then
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4565 $as_echo "$CC" >&6; }
4566 else
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4573 if test -z "$CC"; then
4574 if test -n "$ac_tool_prefix"; then
4575 for ac_prog in cl.exe
4577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4578 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4580 $as_echo_n "checking for $ac_word... " >&6; }
4581 if ${ac_cv_prog_CC+:} false; then :
4582 $as_echo_n "(cached) " >&6
4583 else
4584 if test -n "$CC"; then
4585 ac_cv_prog_CC="$CC" # Let the user override the test.
4586 else
4587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588 for as_dir in $PATH
4590 IFS=$as_save_IFS
4591 test -z "$as_dir" && as_dir=.
4592 for ac_exec_ext in '' $ac_executable_extensions; do
4593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4594 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 break 2
4598 done
4599 done
4600 IFS=$as_save_IFS
4604 CC=$ac_cv_prog_CC
4605 if test -n "$CC"; then
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4607 $as_echo "$CC" >&6; }
4608 else
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610 $as_echo "no" >&6; }
4614 test -n "$CC" && break
4615 done
4617 if test -z "$CC"; then
4618 ac_ct_CC=$CC
4619 for ac_prog in cl.exe
4621 # Extract the first word of "$ac_prog", so it can be a program name with args.
4622 set dummy $ac_prog; ac_word=$2
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4624 $as_echo_n "checking for $ac_word... " >&6; }
4625 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4626 $as_echo_n "(cached) " >&6
4627 else
4628 if test -n "$ac_ct_CC"; then
4629 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4630 else
4631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 for as_dir in $PATH
4634 IFS=$as_save_IFS
4635 test -z "$as_dir" && as_dir=.
4636 for ac_exec_ext in '' $ac_executable_extensions; do
4637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4638 ac_cv_prog_ac_ct_CC="$ac_prog"
4639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4640 break 2
4642 done
4643 done
4644 IFS=$as_save_IFS
4648 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4649 if test -n "$ac_ct_CC"; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4651 $as_echo "$ac_ct_CC" >&6; }
4652 else
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4654 $as_echo "no" >&6; }
4658 test -n "$ac_ct_CC" && break
4659 done
4661 if test "x$ac_ct_CC" = x; then
4662 CC=""
4663 else
4664 case $cross_compiling:$ac_tool_warned in
4665 yes:)
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4668 ac_tool_warned=yes ;;
4669 esac
4670 CC=$ac_ct_CC
4677 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4679 as_fn_error $? "no acceptable C compiler found in \$PATH
4680 See \`config.log' for more details" "$LINENO" 5; }
4682 # Provide some information about the compiler.
4683 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4684 set X $ac_compile
4685 ac_compiler=$2
4686 for ac_option in --version -v -V -qversion; do
4687 { { ac_try="$ac_compiler $ac_option >&5"
4688 case "(($ac_try" in
4689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4690 *) ac_try_echo=$ac_try;;
4691 esac
4692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4693 $as_echo "$ac_try_echo"; } >&5
4694 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4695 ac_status=$?
4696 if test -s conftest.err; then
4697 sed '10a\
4698 ... rest of stderr output deleted ...
4699 10q' conftest.err >conftest.er1
4700 cat conftest.er1 >&5
4702 rm -f conftest.er1 conftest.err
4703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4704 test $ac_status = 0; }
4705 done
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4711 main ()
4715 return 0;
4717 _ACEOF
4718 ac_clean_files_save=$ac_clean_files
4719 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4720 # Try to create an executable without -o first, disregard a.out.
4721 # It will help us diagnose broken compilers, and finding out an intuition
4722 # of exeext.
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4724 $as_echo_n "checking whether the C compiler works... " >&6; }
4725 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4727 # The possible output files:
4728 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4730 ac_rmfiles=
4731 for ac_file in $ac_files
4733 case $ac_file in
4734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4735 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4736 esac
4737 done
4738 rm -f $ac_rmfiles
4740 if { { ac_try="$ac_link_default"
4741 case "(($ac_try" in
4742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4743 *) ac_try_echo=$ac_try;;
4744 esac
4745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4746 $as_echo "$ac_try_echo"; } >&5
4747 (eval "$ac_link_default") 2>&5
4748 ac_status=$?
4749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4750 test $ac_status = 0; }; then :
4751 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4752 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4753 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4754 # so that the user can short-circuit this test for compilers unknown to
4755 # Autoconf.
4756 for ac_file in $ac_files ''
4758 test -f "$ac_file" || continue
4759 case $ac_file in
4760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4762 [ab].out )
4763 # We found the default executable, but exeext='' is most
4764 # certainly right.
4765 break;;
4766 *.* )
4767 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4768 then :; else
4769 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4771 # We set ac_cv_exeext here because the later test for it is not
4772 # safe: cross compilers may not add the suffix if given an `-o'
4773 # argument, so we may need to know it at that point already.
4774 # Even if this section looks crufty: it has the advantage of
4775 # actually working.
4776 break;;
4778 break;;
4779 esac
4780 done
4781 test "$ac_cv_exeext" = no && ac_cv_exeext=
4783 else
4784 ac_file=''
4786 if test -z "$ac_file"; then :
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 $as_echo "no" >&6; }
4789 $as_echo "$as_me: failed program was:" >&5
4790 sed 's/^/| /' conftest.$ac_ext >&5
4792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4794 as_fn_error 77 "C compiler cannot create executables
4795 See \`config.log' for more details" "$LINENO" 5; }
4796 else
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4798 $as_echo "yes" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4801 $as_echo_n "checking for C compiler default output file name... " >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4803 $as_echo "$ac_file" >&6; }
4804 ac_exeext=$ac_cv_exeext
4806 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4807 ac_clean_files=$ac_clean_files_save
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4809 $as_echo_n "checking for suffix of executables... " >&6; }
4810 if { { ac_try="$ac_link"
4811 case "(($ac_try" in
4812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4813 *) ac_try_echo=$ac_try;;
4814 esac
4815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4816 $as_echo "$ac_try_echo"; } >&5
4817 (eval "$ac_link") 2>&5
4818 ac_status=$?
4819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4820 test $ac_status = 0; }; then :
4821 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4822 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4823 # work properly (i.e., refer to `conftest.exe'), while it won't with
4824 # `rm'.
4825 for ac_file in conftest.exe conftest conftest.*; do
4826 test -f "$ac_file" || continue
4827 case $ac_file in
4828 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4829 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4830 break;;
4831 * ) break;;
4832 esac
4833 done
4834 else
4835 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4837 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4838 See \`config.log' for more details" "$LINENO" 5; }
4840 rm -f conftest conftest$ac_cv_exeext
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4842 $as_echo "$ac_cv_exeext" >&6; }
4844 rm -f conftest.$ac_ext
4845 EXEEXT=$ac_cv_exeext
4846 ac_exeext=$EXEEXT
4847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4849 #include <stdio.h>
4851 main ()
4853 FILE *f = fopen ("conftest.out", "w");
4854 return ferror (f) || fclose (f) != 0;
4857 return 0;
4859 _ACEOF
4860 ac_clean_files="$ac_clean_files conftest.out"
4861 # Check that the compiler produces executables we can run. If not, either
4862 # the compiler is broken, or we cross compile.
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4864 $as_echo_n "checking whether we are cross compiling... " >&6; }
4865 if test "$cross_compiling" != yes; then
4866 { { ac_try="$ac_link"
4867 case "(($ac_try" in
4868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4869 *) ac_try_echo=$ac_try;;
4870 esac
4871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4872 $as_echo "$ac_try_echo"; } >&5
4873 (eval "$ac_link") 2>&5
4874 ac_status=$?
4875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4876 test $ac_status = 0; }
4877 if { ac_try='./conftest$ac_cv_exeext'
4878 { { case "(($ac_try" in
4879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4880 *) ac_try_echo=$ac_try;;
4881 esac
4882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4883 $as_echo "$ac_try_echo"; } >&5
4884 (eval "$ac_try") 2>&5
4885 ac_status=$?
4886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4887 test $ac_status = 0; }; }; then
4888 cross_compiling=no
4889 else
4890 if test "$cross_compiling" = maybe; then
4891 cross_compiling=yes
4892 else
4893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4895 as_fn_error $? "cannot run C compiled programs.
4896 If you meant to cross compile, use \`--host'.
4897 See \`config.log' for more details" "$LINENO" 5; }
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4902 $as_echo "$cross_compiling" >&6; }
4904 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4905 ac_clean_files=$ac_clean_files_save
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4907 $as_echo_n "checking for suffix of object files... " >&6; }
4908 if ${ac_cv_objext+:} false; then :
4909 $as_echo_n "(cached) " >&6
4910 else
4911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h. */
4915 main ()
4919 return 0;
4921 _ACEOF
4922 rm -f conftest.o conftest.obj
4923 if { { ac_try="$ac_compile"
4924 case "(($ac_try" in
4925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4926 *) ac_try_echo=$ac_try;;
4927 esac
4928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4929 $as_echo "$ac_try_echo"; } >&5
4930 (eval "$ac_compile") 2>&5
4931 ac_status=$?
4932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4933 test $ac_status = 0; }; then :
4934 for ac_file in conftest.o conftest.obj conftest.*; do
4935 test -f "$ac_file" || continue;
4936 case $ac_file in
4937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4938 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4939 break;;
4940 esac
4941 done
4942 else
4943 $as_echo "$as_me: failed program was:" >&5
4944 sed 's/^/| /' conftest.$ac_ext >&5
4946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4948 as_fn_error $? "cannot compute suffix of object files: cannot compile
4949 See \`config.log' for more details" "$LINENO" 5; }
4951 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4954 $as_echo "$ac_cv_objext" >&6; }
4955 OBJEXT=$ac_cv_objext
4956 ac_objext=$OBJEXT
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4958 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4959 if ${ac_cv_c_compiler_gnu+:} false; then :
4960 $as_echo_n "(cached) " >&6
4961 else
4962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4963 /* end confdefs.h. */
4966 main ()
4968 #ifndef __GNUC__
4969 choke me
4970 #endif
4973 return 0;
4975 _ACEOF
4976 if ac_fn_c_try_compile "$LINENO"; then :
4977 ac_compiler_gnu=yes
4978 else
4979 ac_compiler_gnu=no
4981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4982 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4986 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4987 if test $ac_compiler_gnu = yes; then
4988 GCC=yes
4989 else
4990 GCC=
4992 ac_test_CFLAGS=${CFLAGS+set}
4993 ac_save_CFLAGS=$CFLAGS
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4995 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4996 if ${ac_cv_prog_cc_g+:} false; then :
4997 $as_echo_n "(cached) " >&6
4998 else
4999 ac_save_c_werror_flag=$ac_c_werror_flag
5000 ac_c_werror_flag=yes
5001 ac_cv_prog_cc_g=no
5002 CFLAGS="-g"
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5007 main ()
5011 return 0;
5013 _ACEOF
5014 if ac_fn_c_try_compile "$LINENO"; then :
5015 ac_cv_prog_cc_g=yes
5016 else
5017 CFLAGS=""
5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5022 main ()
5026 return 0;
5028 _ACEOF
5029 if ac_fn_c_try_compile "$LINENO"; then :
5031 else
5032 ac_c_werror_flag=$ac_save_c_werror_flag
5033 CFLAGS="-g"
5034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5035 /* end confdefs.h. */
5038 main ()
5042 return 0;
5044 _ACEOF
5045 if ac_fn_c_try_compile "$LINENO"; then :
5046 ac_cv_prog_cc_g=yes
5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5053 ac_c_werror_flag=$ac_save_c_werror_flag
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5056 $as_echo "$ac_cv_prog_cc_g" >&6; }
5057 if test "$ac_test_CFLAGS" = set; then
5058 CFLAGS=$ac_save_CFLAGS
5059 elif test $ac_cv_prog_cc_g = yes; then
5060 if test "$GCC" = yes; then
5061 CFLAGS="-g -O2"
5062 else
5063 CFLAGS="-g"
5065 else
5066 if test "$GCC" = yes; then
5067 CFLAGS="-O2"
5068 else
5069 CFLAGS=
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5073 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5074 if ${ac_cv_prog_cc_c89+:} false; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 ac_cv_prog_cc_c89=no
5078 ac_save_CC=$CC
5079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5080 /* end confdefs.h. */
5081 #include <stdarg.h>
5082 #include <stdio.h>
5083 struct stat;
5084 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5085 struct buf { int x; };
5086 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5087 static char *e (p, i)
5088 char **p;
5089 int i;
5091 return p[i];
5093 static char *f (char * (*g) (char **, int), char **p, ...)
5095 char *s;
5096 va_list v;
5097 va_start (v,p);
5098 s = g (p, va_arg (v,int));
5099 va_end (v);
5100 return s;
5103 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5104 function prototypes and stuff, but not '\xHH' hex character constants.
5105 These don't provoke an error unfortunately, instead are silently treated
5106 as 'x'. The following induces an error, until -std is added to get
5107 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5108 array size at least. It's necessary to write '\x00'==0 to get something
5109 that's true only with -std. */
5110 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5112 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5113 inside strings and character constants. */
5114 #define FOO(x) 'x'
5115 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5117 int test (int i, double x);
5118 struct s1 {int (*f) (int a);};
5119 struct s2 {int (*f) (double a);};
5120 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5121 int argc;
5122 char **argv;
5124 main ()
5126 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5128 return 0;
5130 _ACEOF
5131 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5132 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5134 CC="$ac_save_CC $ac_arg"
5135 if ac_fn_c_try_compile "$LINENO"; then :
5136 ac_cv_prog_cc_c89=$ac_arg
5138 rm -f core conftest.err conftest.$ac_objext
5139 test "x$ac_cv_prog_cc_c89" != "xno" && break
5140 done
5141 rm -f conftest.$ac_ext
5142 CC=$ac_save_CC
5145 # AC_CACHE_VAL
5146 case "x$ac_cv_prog_cc_c89" in
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5149 $as_echo "none needed" >&6; } ;;
5150 xno)
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5152 $as_echo "unsupported" >&6; } ;;
5154 CC="$CC $ac_cv_prog_cc_c89"
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5156 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5157 esac
5158 if test "x$ac_cv_prog_cc_c89" != xno; then :
5162 ac_ext=c
5163 ac_cpp='$CPP $CPPFLAGS'
5164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5168 ac_ext=cpp
5169 ac_cpp='$CXXCPP $CPPFLAGS'
5170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5173 if test -z "$CXX"; then
5174 if test -n "$CCC"; then
5175 CXX=$CCC
5176 else
5177 if test -n "$ac_tool_prefix"; then
5178 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5181 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if ${ac_cv_prog_CXX+:} false; then :
5185 $as_echo_n "(cached) " >&6
5186 else
5187 if test -n "$CXX"; then
5188 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5189 else
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 for as_dir in $PATH
5193 IFS=$as_save_IFS
5194 test -z "$as_dir" && as_dir=.
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5197 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 break 2
5201 done
5202 done
5203 IFS=$as_save_IFS
5207 CXX=$ac_cv_prog_CXX
5208 if test -n "$CXX"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5210 $as_echo "$CXX" >&6; }
5211 else
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5217 test -n "$CXX" && break
5218 done
5220 if test -z "$CXX"; then
5221 ac_ct_CXX=$CXX
5222 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5224 # Extract the first word of "$ac_prog", so it can be a program name with args.
5225 set dummy $ac_prog; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5229 $as_echo_n "(cached) " >&6
5230 else
5231 if test -n "$ac_ct_CXX"; then
5232 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5237 IFS=$as_save_IFS
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_ac_ct_CXX="$ac_prog"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243 break 2
5245 done
5246 done
5247 IFS=$as_save_IFS
5251 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5252 if test -n "$ac_ct_CXX"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5254 $as_echo "$ac_ct_CXX" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5261 test -n "$ac_ct_CXX" && break
5262 done
5264 if test "x$ac_ct_CXX" = x; then
5265 CXX="g++"
5266 else
5267 case $cross_compiling:$ac_tool_warned in
5268 yes:)
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5271 ac_tool_warned=yes ;;
5272 esac
5273 CXX=$ac_ct_CXX
5279 # Provide some information about the compiler.
5280 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5281 set X $ac_compile
5282 ac_compiler=$2
5283 for ac_option in --version -v -V -qversion; do
5284 { { ac_try="$ac_compiler $ac_option >&5"
5285 case "(($ac_try" in
5286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5287 *) ac_try_echo=$ac_try;;
5288 esac
5289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5290 $as_echo "$ac_try_echo"; } >&5
5291 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5292 ac_status=$?
5293 if test -s conftest.err; then
5294 sed '10a\
5295 ... rest of stderr output deleted ...
5296 10q' conftest.err >conftest.er1
5297 cat conftest.er1 >&5
5299 rm -f conftest.er1 conftest.err
5300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5301 test $ac_status = 0; }
5302 done
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5305 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5306 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5307 $as_echo_n "(cached) " >&6
5308 else
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5313 main ()
5315 #ifndef __GNUC__
5316 choke me
5317 #endif
5320 return 0;
5322 _ACEOF
5323 if ac_fn_cxx_try_compile "$LINENO"; then :
5324 ac_compiler_gnu=yes
5325 else
5326 ac_compiler_gnu=no
5328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5329 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5333 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5334 if test $ac_compiler_gnu = yes; then
5335 GXX=yes
5336 else
5337 GXX=
5339 ac_test_CXXFLAGS=${CXXFLAGS+set}
5340 ac_save_CXXFLAGS=$CXXFLAGS
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5342 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5343 if ${ac_cv_prog_cxx_g+:} false; then :
5344 $as_echo_n "(cached) " >&6
5345 else
5346 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5347 ac_cxx_werror_flag=yes
5348 ac_cv_prog_cxx_g=no
5349 CXXFLAGS="-g"
5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5351 /* end confdefs.h. */
5354 main ()
5358 return 0;
5360 _ACEOF
5361 if ac_fn_cxx_try_compile "$LINENO"; then :
5362 ac_cv_prog_cxx_g=yes
5363 else
5364 CXXFLAGS=""
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5369 main ()
5373 return 0;
5375 _ACEOF
5376 if ac_fn_cxx_try_compile "$LINENO"; then :
5378 else
5379 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5380 CXXFLAGS="-g"
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5385 main ()
5389 return 0;
5391 _ACEOF
5392 if ac_fn_cxx_try_compile "$LINENO"; then :
5393 ac_cv_prog_cxx_g=yes
5395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5400 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5403 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5404 if test "$ac_test_CXXFLAGS" = set; then
5405 CXXFLAGS=$ac_save_CXXFLAGS
5406 elif test $ac_cv_prog_cxx_g = yes; then
5407 if test "$GXX" = yes; then
5408 CXXFLAGS="-g -O2"
5409 else
5410 CXXFLAGS="-g"
5412 else
5413 if test "$GXX" = yes; then
5414 CXXFLAGS="-O2"
5415 else
5416 CXXFLAGS=
5419 ac_ext=c
5420 ac_cpp='$CPP $CPPFLAGS'
5421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5425 if test -n "$ac_tool_prefix"; then
5426 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5427 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_CPPBIN+:} false; then :
5431 $as_echo_n "(cached) " >&6
5432 else
5433 if test -n "$CPPBIN"; then
5434 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 CPPBIN=$ac_cv_prog_CPPBIN
5454 if test -n "$CPPBIN"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5456 $as_echo "$CPPBIN" >&6; }
5457 else
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5464 if test -z "$ac_cv_prog_CPPBIN"; then
5465 ac_ct_CPPBIN=$CPPBIN
5466 # Extract the first word of "cpp", so it can be a program name with args.
5467 set dummy cpp; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 if test -n "$ac_ct_CPPBIN"; then
5474 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_ac_ct_CPPBIN="cpp"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 break 2
5487 done
5488 done
5489 IFS=$as_save_IFS
5493 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5494 if test -n "$ac_ct_CPPBIN"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5496 $as_echo "$ac_ct_CPPBIN" >&6; }
5497 else
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5502 if test "x$ac_ct_CPPBIN" = x; then
5503 CPPBIN="cpp"
5504 else
5505 case $cross_compiling:$ac_tool_warned in
5506 yes:)
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509 ac_tool_warned=yes ;;
5510 esac
5511 CPPBIN=$ac_ct_CPPBIN
5513 else
5514 CPPBIN="$ac_cv_prog_CPPBIN"
5518 cat >>confdefs.h <<_ACEOF
5519 #define EXEEXT "$ac_exeext"
5520 _ACEOF
5522 if test -n "$ac_tool_prefix"; then
5523 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5524 set dummy ${ac_tool_prefix}ld; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_LD+:} false; then :
5528 $as_echo_n "(cached) " >&6
5529 else
5530 if test -n "$LD"; then
5531 ac_cv_prog_LD="$LD" # Let the user override the test.
5532 else
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 for as_dir in $PATH
5536 IFS=$as_save_IFS
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_LD="${ac_tool_prefix}ld"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 break 2
5544 done
5545 done
5546 IFS=$as_save_IFS
5550 LD=$ac_cv_prog_LD
5551 if test -n "$LD"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5553 $as_echo "$LD" >&6; }
5554 else
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5561 if test -z "$ac_cv_prog_LD"; then
5562 ac_ct_LD=$LD
5563 # Extract the first word of "ld", so it can be a program name with args.
5564 set dummy ld; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 if test -n "$ac_ct_LD"; then
5571 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5572 else
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_ac_ct_LD="ld"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 break 2
5584 done
5585 done
5586 IFS=$as_save_IFS
5590 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5591 if test -n "$ac_ct_LD"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5593 $as_echo "$ac_ct_LD" >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5599 if test "x$ac_ct_LD" = x; then
5600 LD=""
5601 else
5602 case $cross_compiling:$ac_tool_warned in
5603 yes:)
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5606 ac_tool_warned=yes ;;
5607 esac
5608 LD=$ac_ct_LD
5610 else
5611 LD="$ac_cv_prog_LD"
5615 case $host in
5616 *-darwin*)
5617 with_fontconfig=${with_fontconfig:-no}
5619 *-mingw32*|*-cygwin*)
5620 enable_win16=${enable_win16:-no}
5621 with_mingw=${with_mingw:-no}
5622 CFLAGS="$CFLAGS -D_WIN32"
5624 esac
5626 case $host in
5627 x86_64*|amd64*)
5628 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5629 then
5630 CC="$CC -m32"
5631 CXX="$CXX -m32"
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5634 $as_echo_n "checking whether $CC works... " >&6; }
5635 if ${wine_cv_cc_m32+:} false; then :
5636 $as_echo_n "(cached) " >&6
5637 else
5638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5639 /* end confdefs.h. */
5642 main ()
5646 return 0;
5648 _ACEOF
5649 if ac_fn_c_try_link "$LINENO"; then :
5650 wine_cv_cc_m32=yes
5651 else
5652 wine_cv_cc_m32=no
5654 rm -f core conftest.err conftest.$ac_objext \
5655 conftest$ac_exeext conftest.$ac_ext
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5658 $as_echo "$wine_cv_cc_m32" >&6; }
5659 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
5660 host_cpu="i386"
5661 notice_platform="32-bit "
5662 TARGETFLAGS="-m32"
5664 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5665 export PKG_CONFIG_PATH
5666 enable_win16=${enable_win16:-yes}
5667 with_unwind=${with_unwind:-no}
5668 else
5669 if test "x${GCC}" = "xyes"
5670 then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5672 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5673 if ${wine_cv_builtin_ms_va_list+:} false; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5677 /* end confdefs.h. */
5678 #include <stdarg.h>
5680 main ()
5682 void func(__builtin_ms_va_list *args);
5684 return 0;
5686 _ACEOF
5687 if ac_fn_c_try_compile "$LINENO"; then :
5688 wine_cv_builtin_ms_va_list=yes
5689 else
5690 wine_cv_builtin_ms_va_list=no
5692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5695 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5696 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
5698 CC="$CC -m64"
5699 CXX="$CXX -m64"
5700 host_cpu="x86_64"
5701 notice_platform="64-bit "
5702 TARGETFLAGS="-m64"
5706 arm*)
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5708 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5709 if ${wine_cv_thumb+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5714 int ac_test(int i) { return i; }
5716 main ()
5718 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5720 return 0;
5722 _ACEOF
5723 if ac_fn_c_try_link "$LINENO"; then :
5724 wine_cv_thumb=yes
5725 else
5726 wine_cv_thumb=no
5728 rm -f core conftest.err conftest.$ac_objext \
5729 conftest$ac_exeext conftest.$ac_ext
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5732 $as_echo "$wine_cv_thumb" >&6; }
5733 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5734 case $with_float_abi in
5735 soft|softfp|hard)
5736 float_abi=$with_float_abi ;;
5738 case $host_os in
5739 *eabihf)
5740 float_abi=hard ;;
5742 float_abi=softfp
5743 saved_CFLAGS=$CFLAGS
5744 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5746 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5747 if ${wine_cv_float_abi+:} 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("vmrs r2,fpscr");
5758 return 0;
5760 _ACEOF
5761 if ac_fn_c_try_link "$LINENO"; then :
5762 wine_cv_float_abi=yes
5763 else
5764 wine_cv_float_abi=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_float_abi" >&5
5770 $as_echo "$wine_cv_float_abi" >&6; }
5771 if test $wine_cv_float_abi = no
5772 then
5773 float_abi=soft
5774 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5776 CFLAGS=$saved_CFLAGS
5777 esac
5779 esac
5780 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5781 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5784 aarch64*)
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5786 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5787 if ${wine_cv_builtin_ms_va_list+:} false; then :
5788 $as_echo_n "(cached) " >&6
5789 else
5790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5791 /* end confdefs.h. */
5792 #include <stdarg.h>
5794 main ()
5796 void func(__builtin_ms_va_list *args);
5798 return 0;
5800 _ACEOF
5801 if ac_fn_c_try_compile "$LINENO"; then :
5802 wine_cv_builtin_ms_va_list=yes
5803 else
5804 wine_cv_builtin_ms_va_list=no
5806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5809 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5810 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5812 i[3456789]86*)
5813 enable_win16=${enable_win16:-yes}
5814 with_unwind=${with_unwind:-no}
5816 esac
5818 enable_win16=${enable_win16:-no}
5819 enable_win64=${enable_win64:-no}
5821 enable_winetest=${enable_winetest:-$enable_tests}
5823 if test "x$enable_win64" = "xyes"
5824 then
5825 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5826 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5827 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5831 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5832 if ${wine_cv_toolsdir+:} false; then :
5833 $as_echo_n "(cached) " >&6
5834 else
5835 wine_cv_toolsdir="$with_wine_tools"
5836 if test -z "$with_wine_tools"; then
5837 if test "$cross_compiling" = "yes"; then
5838 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5839 elif test -n "$with_wine64"; then
5840 wine_cv_toolsdir="$with_wine64"
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5845 $as_echo "$wine_cv_toolsdir" >&6; }
5846 if test -z "$wine_cv_toolsdir"; then
5847 wine_makedep=tools/makedep
5848 TOOLSDIR="."
5850 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5851 wine_makedep=$wine_cv_toolsdir/tools/makedep
5852 TOOLSDIR=$wine_cv_toolsdir
5854 enable_tools=${enable_tools:-no}
5855 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5856 else
5857 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5859 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5860 then
5861 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5865 for ac_prog in flex
5867 # Extract the first word of "$ac_prog", so it can be a program name with args.
5868 set dummy $ac_prog; ac_word=$2
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5870 $as_echo_n "checking for $ac_word... " >&6; }
5871 if ${ac_cv_prog_FLEX+:} false; then :
5872 $as_echo_n "(cached) " >&6
5873 else
5874 if test -n "$FLEX"; then
5875 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5876 else
5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 for as_dir in $PATH
5880 IFS=$as_save_IFS
5881 test -z "$as_dir" && as_dir=.
5882 for ac_exec_ext in '' $ac_executable_extensions; do
5883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5884 ac_cv_prog_FLEX="$ac_prog"
5885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 break 2
5888 done
5889 done
5890 IFS=$as_save_IFS
5894 FLEX=$ac_cv_prog_FLEX
5895 if test -n "$FLEX"; then
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5897 $as_echo "$FLEX" >&6; }
5898 else
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 $as_echo "no" >&6; }
5904 test -n "$FLEX" && break
5905 done
5906 test -n "$FLEX" || FLEX="none"
5908 if test "$FLEX" = "none"
5909 then
5910 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5913 $as_echo_n "checking whether flex is recent enough... " >&6; }
5914 if ${wine_cv_recent_flex+:} false; then :
5915 $as_echo_n "(cached) " >&6
5916 else
5917 cat >conftest.l <<EOF
5918 %top{
5919 #include "prediluvian.h"
5923 if $FLEX -t conftest.l >/dev/null 2>&5
5924 then
5925 wine_cv_recent_flex=yes
5926 else
5927 wine_cv_recent_flex=no
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5931 $as_echo "$wine_cv_recent_flex" >&6; }
5932 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
5934 for ac_prog in bison
5936 # Extract the first word of "$ac_prog", so it can be a program name with args.
5937 set dummy $ac_prog; ac_word=$2
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5939 $as_echo_n "checking for $ac_word... " >&6; }
5940 if ${ac_cv_prog_BISON+:} false; then :
5941 $as_echo_n "(cached) " >&6
5942 else
5943 if test -n "$BISON"; then
5944 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5945 else
5946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 for as_dir in $PATH
5949 IFS=$as_save_IFS
5950 test -z "$as_dir" && as_dir=.
5951 for ac_exec_ext in '' $ac_executable_extensions; do
5952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5953 ac_cv_prog_BISON="$ac_prog"
5954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5955 break 2
5957 done
5958 done
5959 IFS=$as_save_IFS
5963 BISON=$ac_cv_prog_BISON
5964 if test -n "$BISON"; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5966 $as_echo "$BISON" >&6; }
5967 else
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5969 $as_echo "no" >&6; }
5973 test -n "$BISON" && break
5974 done
5975 test -n "$BISON" || BISON="none"
5977 if test "$BISON" = "none"
5978 then
5979 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5982 $as_echo_n "checking whether bison is recent enough... " >&6; }
5983 if ${wine_cv_recent_bison+:} false; then :
5984 $as_echo_n "(cached) " >&6
5985 else
5986 cat >conftest.y <<EOF
5987 %define parse.error verbose
5989 empty: ;
5991 if $BISON conftest.y >/dev/null 2>&5
5992 then
5993 wine_cv_recent_bison=yes
5994 else
5995 wine_cv_recent_bison=no
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5999 $as_echo "$wine_cv_recent_bison" >&6; }
6000 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
6002 if test -n "$ac_tool_prefix"; then
6003 for ac_prog in ar gar
6005 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6006 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 $as_echo_n "checking for $ac_word... " >&6; }
6009 if ${ac_cv_prog_AR+:} false; then :
6010 $as_echo_n "(cached) " >&6
6011 else
6012 if test -n "$AR"; then
6013 ac_cv_prog_AR="$AR" # Let the user override the test.
6014 else
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 for as_dir in $PATH
6018 IFS=$as_save_IFS
6019 test -z "$as_dir" && as_dir=.
6020 for ac_exec_ext in '' $ac_executable_extensions; do
6021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6024 break 2
6026 done
6027 done
6028 IFS=$as_save_IFS
6032 AR=$ac_cv_prog_AR
6033 if test -n "$AR"; then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6035 $as_echo "$AR" >&6; }
6036 else
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038 $as_echo "no" >&6; }
6042 test -n "$AR" && break
6043 done
6045 if test -z "$AR"; then
6046 ac_ct_AR=$AR
6047 for ac_prog in ar gar
6049 # Extract the first word of "$ac_prog", so it can be a program name with args.
6050 set dummy $ac_prog; ac_word=$2
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6052 $as_echo_n "checking for $ac_word... " >&6; }
6053 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6054 $as_echo_n "(cached) " >&6
6055 else
6056 if test -n "$ac_ct_AR"; then
6057 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6058 else
6059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6060 for as_dir in $PATH
6062 IFS=$as_save_IFS
6063 test -z "$as_dir" && as_dir=.
6064 for ac_exec_ext in '' $ac_executable_extensions; do
6065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6066 ac_cv_prog_ac_ct_AR="$ac_prog"
6067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6068 break 2
6070 done
6071 done
6072 IFS=$as_save_IFS
6076 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6077 if test -n "$ac_ct_AR"; then
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6079 $as_echo "$ac_ct_AR" >&6; }
6080 else
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6082 $as_echo "no" >&6; }
6086 test -n "$ac_ct_AR" && break
6087 done
6089 if test "x$ac_ct_AR" = x; then
6090 AR="ar"
6091 else
6092 case $cross_compiling:$ac_tool_warned in
6093 yes:)
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6096 ac_tool_warned=yes ;;
6097 esac
6098 AR=$ac_ct_AR
6102 if test -n "$ac_tool_prefix"; then
6103 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6104 set dummy ${ac_tool_prefix}strip; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_STRIP+:} false; then :
6108 $as_echo_n "(cached) " >&6
6109 else
6110 if test -n "$STRIP"; then
6111 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6112 else
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 for as_dir in $PATH
6116 IFS=$as_save_IFS
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122 break 2
6124 done
6125 done
6126 IFS=$as_save_IFS
6130 STRIP=$ac_cv_prog_STRIP
6131 if test -n "$STRIP"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6133 $as_echo "$STRIP" >&6; }
6134 else
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6141 if test -z "$ac_cv_prog_STRIP"; then
6142 ac_ct_STRIP=$STRIP
6143 # Extract the first word of "strip", so it can be a program name with args.
6144 set dummy strip; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; }
6147 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6148 $as_echo_n "(cached) " >&6
6149 else
6150 if test -n "$ac_ct_STRIP"; then
6151 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6152 else
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154 for as_dir in $PATH
6156 IFS=$as_save_IFS
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160 ac_cv_prog_ac_ct_STRIP="strip"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 break 2
6164 done
6165 done
6166 IFS=$as_save_IFS
6170 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6171 if test -n "$ac_ct_STRIP"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6173 $as_echo "$ac_ct_STRIP" >&6; }
6174 else
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 $as_echo "no" >&6; }
6179 if test "x$ac_ct_STRIP" = x; then
6180 STRIP="strip"
6181 else
6182 case $cross_compiling:$ac_tool_warned in
6183 yes:)
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6186 ac_tool_warned=yes ;;
6187 esac
6188 STRIP=$ac_ct_STRIP
6190 else
6191 STRIP="$ac_cv_prog_STRIP"
6194 if test -n "$ac_tool_prefix"; then
6195 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6196 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6198 $as_echo_n "checking for $ac_word... " >&6; }
6199 if ${ac_cv_prog_RANLIB+:} false; then :
6200 $as_echo_n "(cached) " >&6
6201 else
6202 if test -n "$RANLIB"; then
6203 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6204 else
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6206 for as_dir in $PATH
6208 IFS=$as_save_IFS
6209 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6212 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6214 break 2
6216 done
6217 done
6218 IFS=$as_save_IFS
6222 RANLIB=$ac_cv_prog_RANLIB
6223 if test -n "$RANLIB"; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6225 $as_echo "$RANLIB" >&6; }
6226 else
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 $as_echo "no" >&6; }
6233 if test -z "$ac_cv_prog_RANLIB"; then
6234 ac_ct_RANLIB=$RANLIB
6235 # Extract the first word of "ranlib", so it can be a program name with args.
6236 set dummy ranlib; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; }
6239 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6240 $as_echo_n "(cached) " >&6
6241 else
6242 if test -n "$ac_ct_RANLIB"; then
6243 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6244 else
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6246 for as_dir in $PATH
6248 IFS=$as_save_IFS
6249 test -z "$as_dir" && as_dir=.
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6252 ac_cv_prog_ac_ct_RANLIB="ranlib"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6254 break 2
6256 done
6257 done
6258 IFS=$as_save_IFS
6262 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6263 if test -n "$ac_ct_RANLIB"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6265 $as_echo "$ac_ct_RANLIB" >&6; }
6266 else
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268 $as_echo "no" >&6; }
6271 if test "x$ac_ct_RANLIB" = x; then
6272 RANLIB=":"
6273 else
6274 case $cross_compiling:$ac_tool_warned in
6275 yes:)
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6278 ac_tool_warned=yes ;;
6279 esac
6280 RANLIB=$ac_ct_RANLIB
6282 else
6283 RANLIB="$ac_cv_prog_RANLIB"
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6287 $as_echo_n "checking whether ln -s works... " >&6; }
6288 LN_S=$as_ln_s
6289 if test "$LN_S" = "ln -s"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6291 $as_echo "yes" >&6; }
6292 else
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6294 $as_echo "no, using $LN_S" >&6; }
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6298 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6299 if ${ac_cv_path_GREP+:} false; then :
6300 $as_echo_n "(cached) " >&6
6301 else
6302 if test -z "$GREP"; then
6303 ac_path_GREP_found=false
6304 # Loop through the user's path and test for each of PROGNAME-LIST
6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6306 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6308 IFS=$as_save_IFS
6309 test -z "$as_dir" && as_dir=.
6310 for ac_prog in grep ggrep; do
6311 for ac_exec_ext in '' $ac_executable_extensions; do
6312 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6313 as_fn_executable_p "$ac_path_GREP" || continue
6314 # Check for GNU ac_path_GREP and select it if it is found.
6315 # Check for GNU $ac_path_GREP
6316 case `"$ac_path_GREP" --version 2>&1` in
6317 *GNU*)
6318 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6320 ac_count=0
6321 $as_echo_n 0123456789 >"conftest.in"
6322 while :
6324 cat "conftest.in" "conftest.in" >"conftest.tmp"
6325 mv "conftest.tmp" "conftest.in"
6326 cp "conftest.in" "conftest.nl"
6327 $as_echo 'GREP' >> "conftest.nl"
6328 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6329 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6330 as_fn_arith $ac_count + 1 && ac_count=$as_val
6331 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6332 # Best one so far, save it but keep looking for a better one
6333 ac_cv_path_GREP="$ac_path_GREP"
6334 ac_path_GREP_max=$ac_count
6336 # 10*(2^10) chars as input seems more than enough
6337 test $ac_count -gt 10 && break
6338 done
6339 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6340 esac
6342 $ac_path_GREP_found && break 3
6343 done
6344 done
6345 done
6346 IFS=$as_save_IFS
6347 if test -z "$ac_cv_path_GREP"; then
6348 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6350 else
6351 ac_cv_path_GREP=$GREP
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6356 $as_echo "$ac_cv_path_GREP" >&6; }
6357 GREP="$ac_cv_path_GREP"
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6361 $as_echo_n "checking for egrep... " >&6; }
6362 if ${ac_cv_path_EGREP+:} false; then :
6363 $as_echo_n "(cached) " >&6
6364 else
6365 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6366 then ac_cv_path_EGREP="$GREP -E"
6367 else
6368 if test -z "$EGREP"; then
6369 ac_path_EGREP_found=false
6370 # Loop through the user's path and test for each of PROGNAME-LIST
6371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6374 IFS=$as_save_IFS
6375 test -z "$as_dir" && as_dir=.
6376 for ac_prog in egrep; do
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6379 as_fn_executable_p "$ac_path_EGREP" || continue
6380 # Check for GNU ac_path_EGREP and select it if it is found.
6381 # Check for GNU $ac_path_EGREP
6382 case `"$ac_path_EGREP" --version 2>&1` in
6383 *GNU*)
6384 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6386 ac_count=0
6387 $as_echo_n 0123456789 >"conftest.in"
6388 while :
6390 cat "conftest.in" "conftest.in" >"conftest.tmp"
6391 mv "conftest.tmp" "conftest.in"
6392 cp "conftest.in" "conftest.nl"
6393 $as_echo 'EGREP' >> "conftest.nl"
6394 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6395 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6396 as_fn_arith $ac_count + 1 && ac_count=$as_val
6397 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6398 # Best one so far, save it but keep looking for a better one
6399 ac_cv_path_EGREP="$ac_path_EGREP"
6400 ac_path_EGREP_max=$ac_count
6402 # 10*(2^10) chars as input seems more than enough
6403 test $ac_count -gt 10 && break
6404 done
6405 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6406 esac
6408 $ac_path_EGREP_found && break 3
6409 done
6410 done
6411 done
6412 IFS=$as_save_IFS
6413 if test -z "$ac_cv_path_EGREP"; then
6414 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6416 else
6417 ac_cv_path_EGREP=$EGREP
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6423 $as_echo "$ac_cv_path_EGREP" >&6; }
6424 EGREP="$ac_cv_path_EGREP"
6427 # Extract the first word of "ldconfig", so it can be a program name with args.
6428 set dummy ldconfig; ac_word=$2
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430 $as_echo_n "checking for $ac_word... " >&6; }
6431 if ${ac_cv_path_LDCONFIG+:} false; then :
6432 $as_echo_n "(cached) " >&6
6433 else
6434 case $LDCONFIG in
6435 [\\/]* | ?:[\\/]*)
6436 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6440 for as_dir in /sbin /usr/sbin $PATH
6442 IFS=$as_save_IFS
6443 test -z "$as_dir" && as_dir=.
6444 for ac_exec_ext in '' $ac_executable_extensions; do
6445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6446 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6448 break 2
6450 done
6451 done
6452 IFS=$as_save_IFS
6454 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6456 esac
6458 LDCONFIG=$ac_cv_path_LDCONFIG
6459 if test -n "$LDCONFIG"; then
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6461 $as_echo "$LDCONFIG" >&6; }
6462 else
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 $as_echo "no" >&6; }
6468 for ac_prog in msgfmt
6470 # Extract the first word of "$ac_prog", so it can be a program name with args.
6471 set dummy $ac_prog; ac_word=$2
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473 $as_echo_n "checking for $ac_word... " >&6; }
6474 if ${ac_cv_prog_MSGFMT+:} false; then :
6475 $as_echo_n "(cached) " >&6
6476 else
6477 if test -n "$MSGFMT"; then
6478 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6479 else
6480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 for as_dir in $PATH
6483 IFS=$as_save_IFS
6484 test -z "$as_dir" && as_dir=.
6485 for ac_exec_ext in '' $ac_executable_extensions; do
6486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6487 ac_cv_prog_MSGFMT="$ac_prog"
6488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489 break 2
6491 done
6492 done
6493 IFS=$as_save_IFS
6497 MSGFMT=$ac_cv_prog_MSGFMT
6498 if test -n "$MSGFMT"; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6500 $as_echo "$MSGFMT" >&6; }
6501 else
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6507 test -n "$MSGFMT" && break
6508 done
6509 test -n "$MSGFMT" || MSGFMT="false"
6511 if ${ac_tool_prefix+:} false; then :
6512 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6513 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 $as_echo_n "checking for $ac_word... " >&6; }
6516 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6517 $as_echo_n "(cached) " >&6
6518 else
6519 if test -n "$PKG_CONFIG"; then
6520 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6521 else
6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523 for as_dir in $PATH
6525 IFS=$as_save_IFS
6526 test -z "$as_dir" && as_dir=.
6527 for ac_exec_ext in '' $ac_executable_extensions; do
6528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6529 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531 break 2
6533 done
6534 done
6535 IFS=$as_save_IFS
6539 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6540 if test -n "$PKG_CONFIG"; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6542 $as_echo "$PKG_CONFIG" >&6; }
6543 else
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6550 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6551 if test "x$cross_compiling" = xyes; then :
6553 else
6554 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6555 # Extract the first word of "pkg-config", so it can be a program name with args.
6556 set dummy pkg-config; ac_word=$2
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6558 $as_echo_n "checking for $ac_word... " >&6; }
6559 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6560 $as_echo_n "(cached) " >&6
6561 else
6562 if test -n "$PKG_CONFIG"; then
6563 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6564 else
6565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6566 for as_dir in $PATH
6568 IFS=$as_save_IFS
6569 test -z "$as_dir" && as_dir=.
6570 for ac_exec_ext in '' $ac_executable_extensions; do
6571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6572 ac_cv_prog_PKG_CONFIG="pkg-config"
6573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6574 break 2
6576 done
6577 done
6578 IFS=$as_save_IFS
6582 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6583 if test -n "$PKG_CONFIG"; then
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6585 $as_echo "$PKG_CONFIG" >&6; }
6586 else
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 $as_echo "no" >&6; }
6593 else
6594 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6597 if test "x$enable_maintainer_mode" != "xyes"
6598 then
6599 FONTFORGE=""
6600 RSVG=""
6601 CONVERT=""
6602 ICOTOOL=""
6603 else
6604 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6605 for ac_prog in fontforge
6607 # Extract the first word of "$ac_prog", so it can be a program name with args.
6608 set dummy $ac_prog; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610 $as_echo_n "checking for $ac_word... " >&6; }
6611 if ${ac_cv_prog_FONTFORGE+:} false; then :
6612 $as_echo_n "(cached) " >&6
6613 else
6614 if test -n "$FONTFORGE"; then
6615 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6616 else
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 for as_dir in $PATH
6620 IFS=$as_save_IFS
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6624 ac_cv_prog_FONTFORGE="$ac_prog"
6625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 break 2
6628 done
6629 done
6630 IFS=$as_save_IFS
6634 FONTFORGE=$ac_cv_prog_FONTFORGE
6635 if test -n "$FONTFORGE"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6637 $as_echo "$FONTFORGE" >&6; }
6638 else
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 $as_echo "no" >&6; }
6644 test -n "$FONTFORGE" && break
6645 done
6646 test -n "$FONTFORGE" || FONTFORGE="false"
6648 for ac_prog in rsvg-convert rsvg
6650 # Extract the first word of "$ac_prog", so it can be a program name with args.
6651 set dummy $ac_prog; ac_word=$2
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 $as_echo_n "checking for $ac_word... " >&6; }
6654 if ${ac_cv_prog_RSVG+:} false; then :
6655 $as_echo_n "(cached) " >&6
6656 else
6657 if test -n "$RSVG"; then
6658 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6659 else
6660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6661 for as_dir in $PATH
6663 IFS=$as_save_IFS
6664 test -z "$as_dir" && as_dir=.
6665 for ac_exec_ext in '' $ac_executable_extensions; do
6666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6667 ac_cv_prog_RSVG="$ac_prog"
6668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6669 break 2
6671 done
6672 done
6673 IFS=$as_save_IFS
6677 RSVG=$ac_cv_prog_RSVG
6678 if test -n "$RSVG"; then
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6680 $as_echo "$RSVG" >&6; }
6681 else
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6683 $as_echo "no" >&6; }
6687 test -n "$RSVG" && break
6688 done
6689 test -n "$RSVG" || RSVG="false"
6691 for ac_prog in convert
6693 # Extract the first word of "$ac_prog", so it can be a program name with args.
6694 set dummy $ac_prog; ac_word=$2
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6696 $as_echo_n "checking for $ac_word... " >&6; }
6697 if ${ac_cv_prog_CONVERT+:} false; then :
6698 $as_echo_n "(cached) " >&6
6699 else
6700 if test -n "$CONVERT"; then
6701 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6702 else
6703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6704 for as_dir in $PATH
6706 IFS=$as_save_IFS
6707 test -z "$as_dir" && as_dir=.
6708 for ac_exec_ext in '' $ac_executable_extensions; do
6709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6710 ac_cv_prog_CONVERT="$ac_prog"
6711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6712 break 2
6714 done
6715 done
6716 IFS=$as_save_IFS
6720 CONVERT=$ac_cv_prog_CONVERT
6721 if test -n "$CONVERT"; then
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6723 $as_echo "$CONVERT" >&6; }
6724 else
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6726 $as_echo "no" >&6; }
6730 test -n "$CONVERT" && break
6731 done
6732 test -n "$CONVERT" || CONVERT="false"
6734 for ac_prog in icotool
6736 # Extract the first word of "$ac_prog", so it can be a program name with args.
6737 set dummy $ac_prog; ac_word=$2
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6739 $as_echo_n "checking for $ac_word... " >&6; }
6740 if ${ac_cv_prog_ICOTOOL+:} false; then :
6741 $as_echo_n "(cached) " >&6
6742 else
6743 if test -n "$ICOTOOL"; then
6744 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6745 else
6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747 for as_dir in $PATH
6749 IFS=$as_save_IFS
6750 test -z "$as_dir" && as_dir=.
6751 for ac_exec_ext in '' $ac_executable_extensions; do
6752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6753 ac_cv_prog_ICOTOOL="$ac_prog"
6754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6755 break 2
6757 done
6758 done
6759 IFS=$as_save_IFS
6763 ICOTOOL=$ac_cv_prog_ICOTOOL
6764 if test -n "$ICOTOOL"; then
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6766 $as_echo "$ICOTOOL" >&6; }
6767 else
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769 $as_echo "no" >&6; }
6773 test -n "$ICOTOOL" && break
6774 done
6775 test -n "$ICOTOOL" || ICOTOOL="false"
6777 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6778 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6780 if test "$CONVERT" = false
6781 then
6782 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6783 else
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6785 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6786 convert_version=`convert --version | head -n1`
6787 if test "x$convert_version" != "x"
6788 then
6789 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6790 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6791 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6792 then
6793 CONVERT=false
6796 if test "$CONVERT" = false
6797 then
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6799 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6800 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6801 else
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6803 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6807 if test "$ICOTOOL" = false
6808 then
6809 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6810 else
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6812 $as_echo_n "checking for recent enough icotool... " >&6; }
6813 icotool_version=`icotool --version | head -n1`
6814 if test "x$icotool_version" != "x"
6815 then
6816 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6817 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6818 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6819 then
6820 ICOTOOL=false
6821 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6824 if test "$ICOTOOL" = false
6825 then
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6827 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6828 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6829 else
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6831 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6835 with_gettext=yes
6836 with_gettextpo=yes
6838 enable_werror=yes
6841 test "x$with_gettext" != xno || MSGFMT=false
6842 if test "$MSGFMT" != "false"
6843 then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6845 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6846 if ${wine_cv_msgfmt_contexts+:} false; then :
6847 $as_echo_n "(cached) " >&6
6848 else
6849 cat >conftest.po <<EOF
6850 # comment
6851 msgctxt "ctxt"
6852 msgid "id"
6853 msgstr "str"
6855 if $MSGFMT -o /dev/null conftest.po 2>&5
6856 then
6857 wine_cv_msgfmt_contexts=yes
6858 else
6859 wine_cv_msgfmt_contexts=no
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6863 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6864 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6866 if test "$MSGFMT" = false; then :
6867 case "x$with_gettext" in
6868 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6869 xno) ;;
6870 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6871 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6872 esac
6873 enable_po=${enable_po:-no}
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6878 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6879 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6882 ac_check_lib_save_LIBS=$LIBS
6883 LIBS="-li386 $LIBS"
6884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6885 /* end confdefs.h. */
6887 /* Override any GCC internal prototype to avoid an error.
6888 Use char because int might match the return type of a GCC
6889 builtin and then its argument prototype would still apply. */
6890 #ifdef __cplusplus
6891 extern "C"
6892 #endif
6893 char i386_set_ldt ();
6895 main ()
6897 return i386_set_ldt ();
6899 return 0;
6901 _ACEOF
6902 if ac_fn_c_try_link "$LINENO"; then :
6903 ac_cv_lib_i386_i386_set_ldt=yes
6904 else
6905 ac_cv_lib_i386_i386_set_ldt=no
6907 rm -f core conftest.err conftest.$ac_objext \
6908 conftest$ac_exeext conftest.$ac_ext
6909 LIBS=$ac_check_lib_save_LIBS
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6912 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6913 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6914 I386_LIBS="-li386"
6919 OPENGL_LIBS=""
6923 # Check whether --enable-largefile was given.
6924 if test "${enable_largefile+set}" = set; then :
6925 enableval=$enable_largefile;
6928 if test "$enable_largefile" != no; then
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6931 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6932 if ${ac_cv_sys_largefile_CC+:} false; then :
6933 $as_echo_n "(cached) " >&6
6934 else
6935 ac_cv_sys_largefile_CC=no
6936 if test "$GCC" != yes; then
6937 ac_save_CC=$CC
6938 while :; do
6939 # IRIX 6.2 and later do not support large files by default,
6940 # so use the C compiler's -n32 option if that helps.
6941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6942 /* end confdefs.h. */
6943 #include <sys/types.h>
6944 /* Check that off_t can represent 2**63 - 1 correctly.
6945 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6946 since some C++ compilers masquerading as C compilers
6947 incorrectly reject 9223372036854775807. */
6948 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6949 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6950 && LARGE_OFF_T % 2147483647 == 1)
6951 ? 1 : -1];
6953 main ()
6957 return 0;
6959 _ACEOF
6960 if ac_fn_c_try_compile "$LINENO"; then :
6961 break
6963 rm -f core conftest.err conftest.$ac_objext
6964 CC="$CC -n32"
6965 if ac_fn_c_try_compile "$LINENO"; then :
6966 ac_cv_sys_largefile_CC=' -n32'; break
6968 rm -f core conftest.err conftest.$ac_objext
6969 break
6970 done
6971 CC=$ac_save_CC
6972 rm -f conftest.$ac_ext
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6976 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6977 if test "$ac_cv_sys_largefile_CC" != no; then
6978 CC=$CC$ac_cv_sys_largefile_CC
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6982 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6983 if ${ac_cv_sys_file_offset_bits+:} false; then :
6984 $as_echo_n "(cached) " >&6
6985 else
6986 while :; do
6987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6988 /* end confdefs.h. */
6989 #include <sys/types.h>
6990 /* Check that off_t can represent 2**63 - 1 correctly.
6991 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6992 since some C++ compilers masquerading as C compilers
6993 incorrectly reject 9223372036854775807. */
6994 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6995 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6996 && LARGE_OFF_T % 2147483647 == 1)
6997 ? 1 : -1];
6999 main ()
7003 return 0;
7005 _ACEOF
7006 if ac_fn_c_try_compile "$LINENO"; then :
7007 ac_cv_sys_file_offset_bits=no; break
7009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7011 /* end confdefs.h. */
7012 #define _FILE_OFFSET_BITS 64
7013 #include <sys/types.h>
7014 /* Check that off_t can represent 2**63 - 1 correctly.
7015 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7016 since some C++ compilers masquerading as C compilers
7017 incorrectly reject 9223372036854775807. */
7018 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7019 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7020 && LARGE_OFF_T % 2147483647 == 1)
7021 ? 1 : -1];
7023 main ()
7027 return 0;
7029 _ACEOF
7030 if ac_fn_c_try_compile "$LINENO"; then :
7031 ac_cv_sys_file_offset_bits=64; break
7033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7034 ac_cv_sys_file_offset_bits=unknown
7035 break
7036 done
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7039 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7040 case $ac_cv_sys_file_offset_bits in #(
7041 no | unknown) ;;
7043 cat >>confdefs.h <<_ACEOF
7044 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7045 _ACEOF
7047 esac
7048 rm -rf conftest*
7049 if test $ac_cv_sys_file_offset_bits = unknown; then
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7051 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7052 if ${ac_cv_sys_large_files+:} false; then :
7053 $as_echo_n "(cached) " >&6
7054 else
7055 while :; do
7056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7057 /* end confdefs.h. */
7058 #include <sys/types.h>
7059 /* Check that off_t can represent 2**63 - 1 correctly.
7060 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7061 since some C++ compilers masquerading as C compilers
7062 incorrectly reject 9223372036854775807. */
7063 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7064 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7065 && LARGE_OFF_T % 2147483647 == 1)
7066 ? 1 : -1];
7068 main ()
7072 return 0;
7074 _ACEOF
7075 if ac_fn_c_try_compile "$LINENO"; then :
7076 ac_cv_sys_large_files=no; break
7078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7080 /* end confdefs.h. */
7081 #define _LARGE_FILES 1
7082 #include <sys/types.h>
7083 /* Check that off_t can represent 2**63 - 1 correctly.
7084 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7085 since some C++ compilers masquerading as C compilers
7086 incorrectly reject 9223372036854775807. */
7087 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7088 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7089 && LARGE_OFF_T % 2147483647 == 1)
7090 ? 1 : -1];
7092 main ()
7096 return 0;
7098 _ACEOF
7099 if ac_fn_c_try_compile "$LINENO"; then :
7100 ac_cv_sys_large_files=1; break
7102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7103 ac_cv_sys_large_files=unknown
7104 break
7105 done
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7108 $as_echo "$ac_cv_sys_large_files" >&6; }
7109 case $ac_cv_sys_large_files in #(
7110 no | unknown) ;;
7112 cat >>confdefs.h <<_ACEOF
7113 #define _LARGE_FILES $ac_cv_sys_large_files
7114 _ACEOF
7116 esac
7117 rm -rf conftest*
7124 ac_ext=c
7125 ac_cpp='$CPP $CPPFLAGS'
7126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7130 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7131 # On Suns, sometimes $CPP names a directory.
7132 if test -n "$CPP" && test -d "$CPP"; then
7133 CPP=
7135 if test -z "$CPP"; then
7136 if ${ac_cv_prog_CPP+:} false; then :
7137 $as_echo_n "(cached) " >&6
7138 else
7139 # Double quotes because CPP needs to be expanded
7140 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7142 ac_preproc_ok=false
7143 for ac_c_preproc_warn_flag in '' yes
7145 # Use a header file that comes with gcc, so configuring glibc
7146 # with a fresh cross-compiler works.
7147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7148 # <limits.h> exists even on freestanding compilers.
7149 # On the NeXT, cc -E runs the code through the compiler's parser,
7150 # not just through cpp. "Syntax error" is here to catch this case.
7151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7152 /* end confdefs.h. */
7153 #ifdef __STDC__
7154 # include <limits.h>
7155 #else
7156 # include <assert.h>
7157 #endif
7158 Syntax error
7159 _ACEOF
7160 if ac_fn_c_try_cpp "$LINENO"; then :
7162 else
7163 # Broken: fails on valid input.
7164 continue
7166 rm -f conftest.err conftest.i conftest.$ac_ext
7168 # OK, works on sane cases. Now check whether nonexistent headers
7169 # can be detected and how.
7170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7171 /* end confdefs.h. */
7172 #include <ac_nonexistent.h>
7173 _ACEOF
7174 if ac_fn_c_try_cpp "$LINENO"; then :
7175 # Broken: success on invalid input.
7176 continue
7177 else
7178 # Passes both tests.
7179 ac_preproc_ok=:
7180 break
7182 rm -f conftest.err conftest.i conftest.$ac_ext
7184 done
7185 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7186 rm -f conftest.i conftest.err conftest.$ac_ext
7187 if $ac_preproc_ok; then :
7188 break
7191 done
7192 ac_cv_prog_CPP=$CPP
7195 CPP=$ac_cv_prog_CPP
7196 else
7197 ac_cv_prog_CPP=$CPP
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7200 $as_echo "$CPP" >&6; }
7201 ac_preproc_ok=false
7202 for ac_c_preproc_warn_flag in '' yes
7204 # Use a header file that comes with gcc, so configuring glibc
7205 # with a fresh cross-compiler works.
7206 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7207 # <limits.h> exists even on freestanding compilers.
7208 # On the NeXT, cc -E runs the code through the compiler's parser,
7209 # not just through cpp. "Syntax error" is here to catch this case.
7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7212 #ifdef __STDC__
7213 # include <limits.h>
7214 #else
7215 # include <assert.h>
7216 #endif
7217 Syntax error
7218 _ACEOF
7219 if ac_fn_c_try_cpp "$LINENO"; then :
7221 else
7222 # Broken: fails on valid input.
7223 continue
7225 rm -f conftest.err conftest.i conftest.$ac_ext
7227 # OK, works on sane cases. Now check whether nonexistent headers
7228 # can be detected and how.
7229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7230 /* end confdefs.h. */
7231 #include <ac_nonexistent.h>
7232 _ACEOF
7233 if ac_fn_c_try_cpp "$LINENO"; then :
7234 # Broken: success on invalid input.
7235 continue
7236 else
7237 # Passes both tests.
7238 ac_preproc_ok=:
7239 break
7241 rm -f conftest.err conftest.i conftest.$ac_ext
7243 done
7244 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7245 rm -f conftest.i conftest.err conftest.$ac_ext
7246 if $ac_preproc_ok; then :
7248 else
7249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7251 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7252 See \`config.log' for more details" "$LINENO" 5; }
7255 ac_ext=c
7256 ac_cpp='$CPP $CPPFLAGS'
7257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7263 $as_echo_n "checking for ANSI C header files... " >&6; }
7264 if ${ac_cv_header_stdc+:} false; then :
7265 $as_echo_n "(cached) " >&6
7266 else
7267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7268 /* end confdefs.h. */
7269 #include <stdlib.h>
7270 #include <stdarg.h>
7271 #include <string.h>
7272 #include <float.h>
7275 main ()
7279 return 0;
7281 _ACEOF
7282 if ac_fn_c_try_compile "$LINENO"; then :
7283 ac_cv_header_stdc=yes
7284 else
7285 ac_cv_header_stdc=no
7287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7289 if test $ac_cv_header_stdc = yes; then
7290 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7292 /* end confdefs.h. */
7293 #include <string.h>
7295 _ACEOF
7296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7297 $EGREP "memchr" >/dev/null 2>&1; then :
7299 else
7300 ac_cv_header_stdc=no
7302 rm -f conftest*
7306 if test $ac_cv_header_stdc = yes; then
7307 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7309 /* end confdefs.h. */
7310 #include <stdlib.h>
7312 _ACEOF
7313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7314 $EGREP "free" >/dev/null 2>&1; then :
7316 else
7317 ac_cv_header_stdc=no
7319 rm -f conftest*
7323 if test $ac_cv_header_stdc = yes; then
7324 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7325 if test "$cross_compiling" = yes; then :
7327 else
7328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7329 /* end confdefs.h. */
7330 #include <ctype.h>
7331 #include <stdlib.h>
7332 #if ((' ' & 0x0FF) == 0x020)
7333 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7334 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7335 #else
7336 # define ISLOWER(c) \
7337 (('a' <= (c) && (c) <= 'i') \
7338 || ('j' <= (c) && (c) <= 'r') \
7339 || ('s' <= (c) && (c) <= 'z'))
7340 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7341 #endif
7343 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7345 main ()
7347 int i;
7348 for (i = 0; i < 256; i++)
7349 if (XOR (islower (i), ISLOWER (i))
7350 || toupper (i) != TOUPPER (i))
7351 return 2;
7352 return 0;
7354 _ACEOF
7355 if ac_fn_c_try_run "$LINENO"; then :
7357 else
7358 ac_cv_header_stdc=no
7360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7361 conftest.$ac_objext conftest.beam conftest.$ac_ext
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7367 $as_echo "$ac_cv_header_stdc" >&6; }
7368 if test $ac_cv_header_stdc = yes; then
7370 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7374 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7375 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7376 inttypes.h stdint.h unistd.h
7377 do :
7378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7379 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7381 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7382 cat >>confdefs.h <<_ACEOF
7383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7384 _ACEOF
7388 done
7391 for ac_header in \
7392 AL/al.h \
7393 ApplicationServices/ApplicationServices.h \
7394 AudioToolbox/AudioConverter.h \
7395 AudioUnit/AudioUnit.h \
7396 AudioUnit/AudioComponent.h \
7397 CL/cl.h \
7398 Carbon/Carbon.h \
7399 CommonCrypto/CommonCryptor.h \
7400 CoreAudio/CoreAudio.h \
7401 CoreServices/CoreServices.h \
7402 DiskArbitration/DiskArbitration.h \
7403 EGL/egl.h \
7404 IOKit/IOKitLib.h \
7405 IOKit/hid/IOHIDLib.h \
7406 OpenAL/al.h \
7407 OpenCL/opencl.h \
7408 QuickTime/ImageCompression.h \
7409 Security/Security.h \
7410 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7411 SystemConfiguration/SCNetworkConfiguration.h \
7412 alias.h \
7413 arpa/inet.h \
7414 arpa/nameser.h \
7415 asm/types.h \
7416 asm/user.h \
7417 dirent.h \
7418 dlfcn.h \
7419 elf.h \
7420 float.h \
7421 fnmatch.h \
7422 getopt.h \
7423 gettext-po.h \
7424 grp.h \
7425 gsm.h \
7426 gsm/gsm.h \
7427 ieeefp.h \
7428 inet/mib2.h \
7429 kstat.h \
7430 libproc.h \
7431 link.h \
7432 linux/cdrom.h \
7433 linux/compiler.h \
7434 linux/filter.h \
7435 linux/hdreg.h \
7436 linux/hidraw.h \
7437 linux/input.h \
7438 linux/ioctl.h \
7439 linux/joystick.h \
7440 linux/major.h \
7441 linux/param.h \
7442 linux/serial.h \
7443 linux/types.h \
7444 linux/ucdrom.h \
7445 lwp.h \
7446 mach-o/nlist.h \
7447 mach-o/loader.h \
7448 mach/mach.h \
7449 mach/machine.h \
7450 machine/cpu.h \
7451 machine/sysarch.h \
7452 mntent.h \
7453 netdb.h \
7454 netinet/in.h \
7455 netinet/in_systm.h \
7456 netinet/tcp.h \
7457 netinet/tcp_fsm.h \
7458 pcap/pcap.h \
7459 poll.h \
7460 port.h \
7461 pthread.h \
7462 pwd.h \
7463 sasl/sasl.h \
7464 sched.h \
7465 scsi/scsi.h \
7466 scsi/scsi_ioctl.h \
7467 scsi/sg.h \
7468 stdbool.h \
7469 stdint.h \
7470 stropts.h \
7471 sys/attr.h \
7472 sys/auxv.h \
7473 sys/cdio.h \
7474 sys/epoll.h \
7475 sys/event.h \
7476 sys/filio.h \
7477 sys/ioctl.h \
7478 sys/ipc.h \
7479 sys/link.h \
7480 sys/mman.h \
7481 sys/modem.h \
7482 sys/msg.h \
7483 sys/mtio.h \
7484 sys/param.h \
7485 sys/poll.h \
7486 sys/prctl.h \
7487 sys/protosw.h \
7488 sys/ptrace.h \
7489 sys/queue.h \
7490 sys/random.h \
7491 sys/resource.h \
7492 sys/scsiio.h \
7493 sys/shm.h \
7494 sys/signal.h \
7495 sys/socket.h \
7496 sys/socketvar.h \
7497 sys/sockio.h \
7498 sys/statvfs.h \
7499 sys/strtio.h \
7500 sys/syscall.h \
7501 sys/sysinfo.h \
7502 sys/tihdr.h \
7503 sys/time.h \
7504 sys/timeout.h \
7505 sys/times.h \
7506 sys/uio.h \
7507 sys/user.h \
7508 sys/utsname.h \
7509 sys/vnode.h \
7510 sys/wait.h \
7511 syscall.h \
7512 termios.h \
7513 unistd.h \
7514 utime.h \
7515 valgrind/memcheck.h \
7516 valgrind/valgrind.h
7518 do :
7519 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7520 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7521 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7522 cat >>confdefs.h <<_ACEOF
7523 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7524 _ACEOF
7528 done
7530 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7531 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7533 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7538 if test $ac_cv_header_sys_mkdev_h = no; then
7539 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7540 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7542 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7549 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7550 if ${ac_cv_header_stat_broken+:} false; then :
7551 $as_echo_n "(cached) " >&6
7552 else
7553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7554 /* end confdefs.h. */
7555 #include <sys/types.h>
7556 #include <sys/stat.h>
7558 #if defined S_ISBLK && defined S_IFDIR
7559 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7560 #endif
7562 #if defined S_ISBLK && defined S_IFCHR
7563 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7564 #endif
7566 #if defined S_ISLNK && defined S_IFREG
7567 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7568 #endif
7570 #if defined S_ISSOCK && defined S_IFREG
7571 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7572 #endif
7574 _ACEOF
7575 if ac_fn_c_try_compile "$LINENO"; then :
7576 ac_cv_header_stat_broken=no
7577 else
7578 ac_cv_header_stat_broken=yes
7580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7583 $as_echo "$ac_cv_header_stat_broken" >&6; }
7584 if test $ac_cv_header_stat_broken = yes; then
7586 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7592 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7593 do :
7594 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7595 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7596 #ifdef HAVE_SYS_PARAM_H
7597 # include <sys/param.h>
7598 #endif
7600 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7601 cat >>confdefs.h <<_ACEOF
7602 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7603 _ACEOF
7607 done
7610 saved_sysctl_h_CFLAGS=$CFLAGS
7611 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7612 for ac_header in sys/sysctl.h
7613 do :
7614 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7615 #ifdef HAVE_SYS_PARAM_H
7616 # include <sys/param.h>
7617 #endif
7619 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7620 cat >>confdefs.h <<_ACEOF
7621 #define HAVE_SYS_SYSCTL_H 1
7622 _ACEOF
7626 done
7628 CFLAGS=$saved_sysctl_h_CFLAGS
7630 for ac_header in \
7631 netinet/ip.h \
7632 net/if.h \
7633 net/if_arp.h \
7634 net/if_dl.h \
7635 net/if_types.h \
7636 net/route.h \
7637 netinet/if_ether.h \
7638 netinet/if_inarp.h \
7639 netinet/in_pcb.h \
7640 netinet/ip_icmp.h \
7641 netinet/ip_var.h \
7642 netinet/udp.h \
7643 netipx/ipx.h \
7644 sys/un.h \
7646 do :
7647 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7648 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7649 #ifdef HAVE_SYS_SOCKET_H
7650 # include <sys/socket.h>
7651 #endif
7652 #ifdef HAVE_SYS_SOCKETVAR_H
7653 # include <sys/socketvar.h>
7654 #endif
7655 #ifdef HAVE_NET_ROUTE_H
7656 # include <net/route.h>
7657 #endif
7658 #ifdef HAVE_NETINET_IN_H
7659 # include <netinet/in.h>
7660 #endif
7661 #ifdef HAVE_NETINET_IN_SYSTM_H
7662 # include <netinet/in_systm.h>
7663 #endif
7664 #ifdef HAVE_NET_IF_H
7665 # include <net/if.h>
7666 #endif
7667 #ifdef HAVE_NETINET_IP_H
7668 # include <netinet/ip.h>
7669 #endif
7671 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7672 cat >>confdefs.h <<_ACEOF
7673 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7674 _ACEOF
7678 done
7681 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7682 do :
7683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7684 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7685 #ifdef HAVE_ALIAS_H
7686 # include <alias.h>
7687 #endif
7688 #ifdef HAVE_SYS_SOCKET_H
7689 # include <sys/socket.h>
7690 #endif
7691 #ifdef HAVE_SYS_SOCKETVAR_H
7692 # include <sys/socketvar.h>
7693 #endif
7694 #ifdef HAVE_SYS_TIMEOUT_H
7695 # include <sys/timeout.h>
7696 #endif
7697 #ifdef HAVE_NETINET_IN_H
7698 # include <netinet/in.h>
7699 #endif
7700 #ifdef HAVE_NETINET_IN_SYSTM_H
7701 # include <netinet/in_systm.h>
7702 #endif
7703 #ifdef HAVE_NETINET_IP_H
7704 # include <netinet/ip.h>
7705 #endif
7706 #ifdef HAVE_NETINET_IP_VAR_H
7707 # include <netinet/ip_var.h>
7708 #endif
7709 #ifdef HAVE_NETINET_IP_ICMP_H
7710 # include <netinet/ip_icmp.h>
7711 #endif
7712 #ifdef HAVE_NETINET_UDP_H
7713 # include <netinet/udp.h>
7714 #endif
7715 #ifdef HAVE_NETINET_TCP_H
7716 # include <netinet/tcp.h>
7717 #endif
7718 #ifdef HAVE_NETINET_TCP_TIMER_H
7719 #include <netinet/tcp_timer.h>
7720 #endif
7722 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7723 cat >>confdefs.h <<_ACEOF
7724 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7725 _ACEOF
7729 done
7732 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7733 do :
7734 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7735 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7736 #ifdef HAVE_ASM_TYPES_H
7737 # include <asm/types.h>
7738 #endif
7739 #ifdef HAVE_SYS_SOCKET_H
7740 # include <sys/socket.h>
7741 #endif
7742 #ifdef HAVE_LINUX_TYPES_H
7743 # include <linux/types.h>
7744 #endif
7746 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7747 cat >>confdefs.h <<_ACEOF
7748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7749 _ACEOF
7753 done
7756 for ac_header in resolv.h
7757 do :
7758 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7759 #ifdef HAVE_SYS_SOCKET_H
7760 # include <sys/socket.h>
7761 #endif
7762 #ifdef HAVE_NETINET_IN_H
7763 # include <netinet/in.h>
7764 #endif
7765 #ifdef HAVE_ARPA_NAMESER_H
7766 # include <arpa/nameser.h>
7767 #endif
7769 if test "x$ac_cv_header_resolv_h" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF
7771 #define HAVE_RESOLV_H 1
7772 _ACEOF
7776 done
7779 for ac_header in ifaddrs.h
7780 do :
7781 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7783 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7784 cat >>confdefs.h <<_ACEOF
7785 #define HAVE_IFADDRS_H 1
7786 _ACEOF
7790 done
7793 for ac_header in sys/ucontext.h
7794 do :
7795 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7797 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7798 cat >>confdefs.h <<_ACEOF
7799 #define HAVE_SYS_UCONTEXT_H 1
7800 _ACEOF
7804 done
7807 for ac_header in sys/thr.h
7808 do :
7809 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7810 #ifdef HAVE_SYS_UCONTEXT_H
7811 #include <sys/ucontext.h>
7812 #endif
7814 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7815 cat >>confdefs.h <<_ACEOF
7816 #define HAVE_SYS_THR_H 1
7817 _ACEOF
7821 done
7824 for ac_header in pthread_np.h
7825 do :
7826 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7827 #include <pthread.h>
7828 #endif
7830 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7831 cat >>confdefs.h <<_ACEOF
7832 #define HAVE_PTHREAD_NP_H 1
7833 _ACEOF
7837 done
7840 for ac_header in linux/videodev2.h
7841 do :
7842 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7843 #include <sys/time.h>
7844 #endif
7845 #include <sys/types.h>
7846 #ifdef HAVE_ASM_TYPES_H
7847 #include <asm/types.h>
7848 #endif
7850 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7851 cat >>confdefs.h <<_ACEOF
7852 #define HAVE_LINUX_VIDEODEV2_H 1
7853 _ACEOF
7857 done
7860 for ac_header in libprocstat.h
7861 do :
7862 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7863 #include <sys/param.h>
7864 #endif
7865 #ifdef HAVE_SYS_QUEUE_H
7866 #include <sys/queue.h>
7867 #endif
7868 #ifdef HAVE_SYS_SOCKET_H
7869 #include <sys/socket.h>
7870 #endif
7872 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7873 cat >>confdefs.h <<_ACEOF
7874 #define HAVE_LIBPROCSTAT_H 1
7875 _ACEOF
7879 done
7883 DLLFLAGS="-D_REENTRANT"
7885 LDDLLFLAGS=""
7887 LDEXECFLAGS=""
7889 TOP_INSTALL_LIB=""
7891 TOP_INSTALL_DEV=""
7893 WINELOADER_LDFLAGS=""
7895 WINEPRELOADER_LDFLAGS=""
7897 LIBEXT="so"
7898 DLLEXT=".so"
7899 # Extract the first word of "ldd", so it can be a program name with args.
7900 set dummy ldd; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7902 $as_echo_n "checking for $ac_word... " >&6; }
7903 if ${ac_cv_path_LDD+:} false; then :
7904 $as_echo_n "(cached) " >&6
7905 else
7906 case $LDD in
7907 [\\/]* | ?:[\\/]*)
7908 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7912 as_dummy="/sbin:/usr/sbin:$PATH"
7913 for as_dir in $as_dummy
7915 IFS=$as_save_IFS
7916 test -z "$as_dir" && as_dir=.
7917 for ac_exec_ext in '' $ac_executable_extensions; do
7918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7919 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7921 break 2
7923 done
7924 done
7925 IFS=$as_save_IFS
7927 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7929 esac
7931 LDD=$ac_cv_path_LDD
7932 if test -n "$LDD"; then
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7934 $as_echo "$LDD" >&6; }
7935 else
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7937 $as_echo "no" >&6; }
7941 if test -n "$ac_tool_prefix"; then
7942 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7943 set dummy ${ac_tool_prefix}otool; ac_word=$2
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7945 $as_echo_n "checking for $ac_word... " >&6; }
7946 if ${ac_cv_prog_OTOOL+:} false; then :
7947 $as_echo_n "(cached) " >&6
7948 else
7949 if test -n "$OTOOL"; then
7950 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7951 else
7952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7953 for as_dir in $PATH
7955 IFS=$as_save_IFS
7956 test -z "$as_dir" && as_dir=.
7957 for ac_exec_ext in '' $ac_executable_extensions; do
7958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7959 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7961 break 2
7963 done
7964 done
7965 IFS=$as_save_IFS
7969 OTOOL=$ac_cv_prog_OTOOL
7970 if test -n "$OTOOL"; then
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7972 $as_echo "$OTOOL" >&6; }
7973 else
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7975 $as_echo "no" >&6; }
7980 if test -z "$ac_cv_prog_OTOOL"; then
7981 ac_ct_OTOOL=$OTOOL
7982 # Extract the first word of "otool", so it can be a program name with args.
7983 set dummy otool; ac_word=$2
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7985 $as_echo_n "checking for $ac_word... " >&6; }
7986 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7987 $as_echo_n "(cached) " >&6
7988 else
7989 if test -n "$ac_ct_OTOOL"; then
7990 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7991 else
7992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7993 for as_dir in $PATH
7995 IFS=$as_save_IFS
7996 test -z "$as_dir" && as_dir=.
7997 for ac_exec_ext in '' $ac_executable_extensions; do
7998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7999 ac_cv_prog_ac_ct_OTOOL="otool"
8000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8001 break 2
8003 done
8004 done
8005 IFS=$as_save_IFS
8009 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8010 if test -n "$ac_ct_OTOOL"; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8012 $as_echo "$ac_ct_OTOOL" >&6; }
8013 else
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8015 $as_echo "no" >&6; }
8018 if test "x$ac_ct_OTOOL" = x; then
8019 OTOOL="otool"
8020 else
8021 case $cross_compiling:$ac_tool_warned in
8022 yes:)
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8025 ac_tool_warned=yes ;;
8026 esac
8027 OTOOL=$ac_ct_OTOOL
8029 else
8030 OTOOL="$ac_cv_prog_OTOOL"
8033 if test -n "$ac_tool_prefix"; then
8034 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8035 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8037 $as_echo_n "checking for $ac_word... " >&6; }
8038 if ${ac_cv_prog_READELF+:} false; then :
8039 $as_echo_n "(cached) " >&6
8040 else
8041 if test -n "$READELF"; then
8042 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8043 else
8044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 for as_dir in $PATH
8047 IFS=$as_save_IFS
8048 test -z "$as_dir" && as_dir=.
8049 for ac_exec_ext in '' $ac_executable_extensions; do
8050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8051 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8053 break 2
8055 done
8056 done
8057 IFS=$as_save_IFS
8061 READELF=$ac_cv_prog_READELF
8062 if test -n "$READELF"; then
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8064 $as_echo "$READELF" >&6; }
8065 else
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8067 $as_echo "no" >&6; }
8072 if test -z "$ac_cv_prog_READELF"; then
8073 ac_ct_READELF=$READELF
8074 # Extract the first word of "readelf", so it can be a program name with args.
8075 set dummy readelf; ac_word=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8077 $as_echo_n "checking for $ac_word... " >&6; }
8078 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8079 $as_echo_n "(cached) " >&6
8080 else
8081 if test -n "$ac_ct_READELF"; then
8082 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8083 else
8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8085 for as_dir in $PATH
8087 IFS=$as_save_IFS
8088 test -z "$as_dir" && as_dir=.
8089 for ac_exec_ext in '' $ac_executable_extensions; do
8090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8091 ac_cv_prog_ac_ct_READELF="readelf"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8093 break 2
8095 done
8096 done
8097 IFS=$as_save_IFS
8101 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8102 if test -n "$ac_ct_READELF"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8104 $as_echo "$ac_ct_READELF" >&6; }
8105 else
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8107 $as_echo "no" >&6; }
8110 if test "x$ac_ct_READELF" = x; then
8111 READELF="true"
8112 else
8113 case $cross_compiling:$ac_tool_warned in
8114 yes:)
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8117 ac_tool_warned=yes ;;
8118 esac
8119 READELF=$ac_ct_READELF
8121 else
8122 READELF="$ac_cv_prog_READELF"
8125 wine_rules_file=conf$$rules.make
8126 rm -f $wine_rules_file
8127 SUBDIRS=""
8129 DISABLED_SUBDIRS=""
8131 CONFIGURE_TARGETS=""
8134 wine_fn_append_file ()
8136 as_fn_append $1 " \\$as_nl $2"
8139 wine_fn_append_rule ()
8141 $as_echo "$1" >>$wine_rules_file
8144 wine_fn_config_makefile ()
8146 wine_fn_append_file SUBDIRS $1
8147 if eval test \"x\$"$2"\" = x"no"; then :
8148 wine_fn_append_file DISABLED_SUBDIRS $1
8152 wine_fn_config_symlink ()
8154 ac_links=$@
8155 wine_fn_append_rule \
8156 "$ac_links:
8157 @./config.status \$@"
8158 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8161 wine_binary="wine"
8162 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8163 WINELOADER_PROGRAMS="$wine_binary"
8165 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8167 case $host_os in
8168 cygwin*|mingw32*)
8169 if test -n "$ac_tool_prefix"; then
8170 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8171 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8173 $as_echo_n "checking for $ac_word... " >&6; }
8174 if ${ac_cv_prog_DLLTOOL+:} false; then :
8175 $as_echo_n "(cached) " >&6
8176 else
8177 if test -n "$DLLTOOL"; then
8178 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8179 else
8180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8181 for as_dir in $PATH
8183 IFS=$as_save_IFS
8184 test -z "$as_dir" && as_dir=.
8185 for ac_exec_ext in '' $ac_executable_extensions; do
8186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8187 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8189 break 2
8191 done
8192 done
8193 IFS=$as_save_IFS
8197 DLLTOOL=$ac_cv_prog_DLLTOOL
8198 if test -n "$DLLTOOL"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8200 $as_echo "$DLLTOOL" >&6; }
8201 else
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 $as_echo "no" >&6; }
8208 if test -z "$ac_cv_prog_DLLTOOL"; then
8209 ac_ct_DLLTOOL=$DLLTOOL
8210 # Extract the first word of "dlltool", so it can be a program name with args.
8211 set dummy dlltool; ac_word=$2
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8213 $as_echo_n "checking for $ac_word... " >&6; }
8214 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8215 $as_echo_n "(cached) " >&6
8216 else
8217 if test -n "$ac_ct_DLLTOOL"; then
8218 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8219 else
8220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8221 for as_dir in $PATH
8223 IFS=$as_save_IFS
8224 test -z "$as_dir" && as_dir=.
8225 for ac_exec_ext in '' $ac_executable_extensions; do
8226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8227 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8229 break 2
8231 done
8232 done
8233 IFS=$as_save_IFS
8237 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8238 if test -n "$ac_ct_DLLTOOL"; then
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8240 $as_echo "$ac_ct_DLLTOOL" >&6; }
8241 else
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8243 $as_echo "no" >&6; }
8246 if test "x$ac_ct_DLLTOOL" = x; then
8247 DLLTOOL="false"
8248 else
8249 case $cross_compiling:$ac_tool_warned in
8250 yes:)
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8253 ac_tool_warned=yes ;;
8254 esac
8255 DLLTOOL=$ac_ct_DLLTOOL
8257 else
8258 DLLTOOL="$ac_cv_prog_DLLTOOL"
8261 LIBEXT="dll"
8262 DLLEXT=""
8263 case $host_cpu in
8264 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8265 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8266 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8267 $as_echo_n "(cached) " >&6
8268 else
8269 ac_wine_try_cflags_saved=$CFLAGS
8270 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8272 /* end confdefs.h. */
8273 int main(int argc, char **argv) { return 0; }
8274 _ACEOF
8275 if ac_fn_c_try_link "$LINENO"; then :
8276 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8277 else
8278 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8280 rm -f core conftest.err conftest.$ac_objext \
8281 conftest$ac_exeext conftest.$ac_ext
8282 CFLAGS=$ac_wine_try_cflags_saved
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8285 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8286 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8287 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8288 fi ;;
8289 esac
8290 enable_iphlpapi=${enable_iphlpapi:-no}
8291 enable_ws2_32=${enable_ws2_32:-no}
8292 enable_loader=${enable_loader:-no}
8293 enable_server=${enable_server:-no}
8294 with_x=${with_x:-no}
8295 with_pthread=${with_pthread:-no}
8298 darwin*|macosx*)
8299 ac_ext=m
8300 ac_cpp='$OBJCPP $CPPFLAGS'
8301 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8302 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8303 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8305 ac_ext=m
8306 ac_cpp='$OBJCPP $CPPFLAGS'
8307 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8308 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8309 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8310 if test -n "$ac_tool_prefix"; then
8311 for ac_prog in gcc objcc objc cc CC
8313 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8314 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8316 $as_echo_n "checking for $ac_word... " >&6; }
8317 if ${ac_cv_prog_OBJC+:} false; then :
8318 $as_echo_n "(cached) " >&6
8319 else
8320 if test -n "$OBJC"; then
8321 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8322 else
8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8324 for as_dir in $PATH
8326 IFS=$as_save_IFS
8327 test -z "$as_dir" && as_dir=.
8328 for ac_exec_ext in '' $ac_executable_extensions; do
8329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8330 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8332 break 2
8334 done
8335 done
8336 IFS=$as_save_IFS
8340 OBJC=$ac_cv_prog_OBJC
8341 if test -n "$OBJC"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8343 $as_echo "$OBJC" >&6; }
8344 else
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8346 $as_echo "no" >&6; }
8350 test -n "$OBJC" && break
8351 done
8353 if test -z "$OBJC"; then
8354 ac_ct_OBJC=$OBJC
8355 for ac_prog in gcc objcc objc cc CC
8357 # Extract the first word of "$ac_prog", so it can be a program name with args.
8358 set dummy $ac_prog; ac_word=$2
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8360 $as_echo_n "checking for $ac_word... " >&6; }
8361 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 if test -n "$ac_ct_OBJC"; then
8365 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8366 else
8367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8368 for as_dir in $PATH
8370 IFS=$as_save_IFS
8371 test -z "$as_dir" && as_dir=.
8372 for ac_exec_ext in '' $ac_executable_extensions; do
8373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8374 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8376 break 2
8378 done
8379 done
8380 IFS=$as_save_IFS
8384 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8385 if test -n "$ac_ct_OBJC"; then
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8387 $as_echo "$ac_ct_OBJC" >&6; }
8388 else
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8390 $as_echo "no" >&6; }
8394 test -n "$ac_ct_OBJC" && break
8395 done
8397 if test "x$ac_ct_OBJC" = x; then
8398 OBJC="gcc"
8399 else
8400 case $cross_compiling:$ac_tool_warned in
8401 yes:)
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8404 ac_tool_warned=yes ;;
8405 esac
8406 OBJC=$ac_ct_OBJC
8410 # Provide some information about the compiler.
8411 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8412 set X $ac_compile
8413 ac_compiler=$2
8414 for ac_option in --version -v -V -qversion; do
8415 { { ac_try="$ac_compiler $ac_option >&5"
8416 case "(($ac_try" in
8417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8418 *) ac_try_echo=$ac_try;;
8419 esac
8420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8421 $as_echo "$ac_try_echo"; } >&5
8422 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8423 ac_status=$?
8424 if test -s conftest.err; then
8425 sed '10a\
8426 ... rest of stderr output deleted ...
8427 10q' conftest.err >conftest.er1
8428 cat conftest.er1 >&5
8430 rm -f conftest.er1 conftest.err
8431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8432 test $ac_status = 0; }
8433 done
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8436 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8437 if ${ac_cv_objc_compiler_gnu+:} false; then :
8438 $as_echo_n "(cached) " >&6
8439 else
8440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8444 main ()
8446 #ifndef __GNUC__
8447 choke me
8448 #endif
8451 return 0;
8453 _ACEOF
8454 if ac_fn_objc_try_compile "$LINENO"; then :
8455 ac_compiler_gnu=yes
8456 else
8457 ac_compiler_gnu=no
8459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8460 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8464 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8465 if test $ac_compiler_gnu = yes; then
8466 GOBJC=yes
8467 else
8468 GOBJC=
8470 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8471 ac_save_OBJCFLAGS=$OBJCFLAGS
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8473 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8474 if ${ac_cv_prog_objc_g+:} false; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 ac_save_objc_werror_flag=$ac_objc_werror_flag
8478 ac_objc_werror_flag=yes
8479 ac_cv_prog_objc_g=no
8480 OBJCFLAGS="-g"
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8485 main ()
8489 return 0;
8491 _ACEOF
8492 if ac_fn_objc_try_compile "$LINENO"; then :
8493 ac_cv_prog_objc_g=yes
8494 else
8495 OBJCFLAGS=""
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8500 main ()
8504 return 0;
8506 _ACEOF
8507 if ac_fn_objc_try_compile "$LINENO"; then :
8509 else
8510 ac_objc_werror_flag=$ac_save_objc_werror_flag
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
8526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8531 ac_objc_werror_flag=$ac_save_objc_werror_flag
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8534 $as_echo "$ac_cv_prog_objc_g" >&6; }
8535 if test "$ac_test_OBJCFLAGS" = set; then
8536 OBJCFLAGS=$ac_save_OBJCFLAGS
8537 elif test $ac_cv_prog_objc_g = yes; then
8538 if test "$GOBJC" = yes; then
8539 OBJCFLAGS="-g -O2"
8540 else
8541 OBJCFLAGS="-g"
8543 else
8544 if test "$GOBJC" = yes; then
8545 OBJCFLAGS="-O2"
8546 else
8547 OBJCFLAGS=
8550 ac_ext=m
8551 ac_cpp='$OBJCPP $CPPFLAGS'
8552 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8553 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8554 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8557 ac_ext=m
8558 ac_cpp='$OBJCPP $CPPFLAGS'
8559 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8560 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8561 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8563 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8564 if test -z "$OBJCPP"; then
8565 if ${ac_cv_prog_OBJCPP+:} false; then :
8566 $as_echo_n "(cached) " >&6
8567 else
8568 # Double quotes because OBJCPP needs to be expanded
8569 for OBJCPP in "$OBJC -E" "/lib/cpp"
8571 ac_preproc_ok=false
8572 for ac_objc_preproc_warn_flag in '' yes
8574 # Use a header file that comes with gcc, so configuring glibc
8575 # with a fresh cross-compiler works.
8576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8577 # <limits.h> exists even on freestanding compilers.
8578 # On the NeXT, cc -E runs the code through the compiler's parser,
8579 # not just through cpp. "Syntax error" is here to catch this case.
8580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8581 /* end confdefs.h. */
8582 #ifdef __STDC__
8583 # include <limits.h>
8584 #else
8585 # include <assert.h>
8586 #endif
8587 Syntax error
8588 _ACEOF
8589 if ac_fn_objc_try_cpp "$LINENO"; then :
8591 else
8592 # Broken: fails on valid input.
8593 continue
8595 rm -f conftest.err conftest.i conftest.$ac_ext
8597 # OK, works on sane cases. Now check whether nonexistent headers
8598 # can be detected and how.
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601 #include <ac_nonexistent.h>
8602 _ACEOF
8603 if ac_fn_objc_try_cpp "$LINENO"; then :
8604 # Broken: success on invalid input.
8605 continue
8606 else
8607 # Passes both tests.
8608 ac_preproc_ok=:
8609 break
8611 rm -f conftest.err conftest.i conftest.$ac_ext
8613 done
8614 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8615 rm -f conftest.i conftest.err conftest.$ac_ext
8616 if $ac_preproc_ok; then :
8617 break
8620 done
8621 ac_cv_prog_OBJCPP=$OBJCPP
8624 OBJCPP=$ac_cv_prog_OBJCPP
8625 else
8626 ac_cv_prog_OBJCPP=$OBJCPP
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8629 $as_echo "$OBJCPP" >&6; }
8630 ac_preproc_ok=false
8631 for ac_objc_preproc_warn_flag in '' yes
8633 # Use a header file that comes with gcc, so configuring glibc
8634 # with a fresh cross-compiler works.
8635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8636 # <limits.h> exists even on freestanding compilers.
8637 # On the NeXT, cc -E runs the code through the compiler's parser,
8638 # not just through cpp. "Syntax error" is here to catch this case.
8639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8640 /* end confdefs.h. */
8641 #ifdef __STDC__
8642 # include <limits.h>
8643 #else
8644 # include <assert.h>
8645 #endif
8646 Syntax error
8647 _ACEOF
8648 if ac_fn_objc_try_cpp "$LINENO"; then :
8650 else
8651 # Broken: fails on valid input.
8652 continue
8654 rm -f conftest.err conftest.i conftest.$ac_ext
8656 # OK, works on sane cases. Now check whether nonexistent headers
8657 # can be detected and how.
8658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8659 /* end confdefs.h. */
8660 #include <ac_nonexistent.h>
8661 _ACEOF
8662 if ac_fn_objc_try_cpp "$LINENO"; then :
8663 # Broken: success on invalid input.
8664 continue
8665 else
8666 # Passes both tests.
8667 ac_preproc_ok=:
8668 break
8670 rm -f conftest.err conftest.i conftest.$ac_ext
8672 done
8673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8674 rm -f conftest.i conftest.err conftest.$ac_ext
8675 if $ac_preproc_ok; then :
8677 else
8678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8680 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8681 See \`config.log' for more details" "$LINENO" 5; }
8684 ac_ext=m
8685 ac_cpp='$OBJCPP $CPPFLAGS'
8686 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8687 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8688 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8691 for ac_header in Metal/Metal.h
8692 do :
8693 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8694 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8695 cat >>confdefs.h <<_ACEOF
8696 #define HAVE_METAL_METAL_H 1
8697 _ACEOF
8701 done
8703 ac_ext=c
8704 ac_cpp='$CPP $CPPFLAGS'
8705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8709 LIBEXT="dylib"
8710 DLLFLAGS="$DLLFLAGS -fPIC"
8711 LDDLLFLAGS="-fPIC"
8712 COREFOUNDATION_LIBS="-framework CoreFoundation"
8714 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8716 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8718 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8720 CORESERVICES_LIBS="-framework CoreServices"
8722 APPKIT_LIBS="-framework AppKit"
8724 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8727 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8729 wine_can_build_preloader=yes
8730 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8732 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8733 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8734 $as_echo_n "(cached) " >&6
8735 else
8736 ac_wine_try_cflags_saved=$CFLAGS
8737 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8739 /* end confdefs.h. */
8740 int main(int argc, char **argv) { return 0; }
8741 _ACEOF
8742 if ac_fn_c_try_link "$LINENO"; then :
8743 ac_cv_cflags__Wl__no_new_main__e__main=yes
8744 else
8745 ac_cv_cflags__Wl__no_new_main__e__main=no
8747 rm -f core conftest.err conftest.$ac_objext \
8748 conftest$ac_exeext conftest.$ac_ext
8749 CFLAGS=$ac_wine_try_cflags_saved
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8752 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8753 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8754 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8756 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8757 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8758 $as_echo_n "(cached) " >&6
8759 else
8760 ac_wine_try_cflags_saved=$CFLAGS
8761 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8763 /* end confdefs.h. */
8764 int main(int argc, char **argv) { return 0; }
8765 _ACEOF
8766 if ac_fn_c_try_link "$LINENO"; then :
8767 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8768 else
8769 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8771 rm -f core conftest.err conftest.$ac_objext \
8772 conftest$ac_exeext conftest.$ac_ext
8773 CFLAGS=$ac_wine_try_cflags_saved
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8776 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8777 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8778 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8779 else
8780 { $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
8781 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8782 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8783 $as_echo_n "(cached) " >&6
8784 else
8785 ac_wine_try_cflags_saved=$CFLAGS
8786 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8788 /* end confdefs.h. */
8789 int main(int argc, char **argv) { return 0; }
8790 _ACEOF
8791 if ac_fn_c_try_link "$LINENO"; then :
8792 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8793 else
8794 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8796 rm -f core conftest.err conftest.$ac_objext \
8797 conftest$ac_exeext conftest.$ac_ext
8798 CFLAGS=$ac_wine_try_cflags_saved
8800 { $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
8801 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8802 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8803 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8804 else
8805 wine_can_build_preloader=no
8808 else
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8810 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8811 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8812 $as_echo_n "(cached) " >&6
8813 else
8814 ac_wine_try_cflags_saved=$CFLAGS
8815 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8818 int main(int argc, char **argv) { return 0; }
8819 _ACEOF
8820 if ac_fn_c_try_link "$LINENO"; then :
8821 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8822 else
8823 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8825 rm -f core conftest.err conftest.$ac_objext \
8826 conftest$ac_exeext conftest.$ac_ext
8827 CFLAGS=$ac_wine_try_cflags_saved
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8830 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8831 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8832 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8833 else
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8835 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8836 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8837 $as_echo_n "(cached) " >&6
8838 else
8839 ac_wine_try_cflags_saved=$CFLAGS
8840 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842 /* end confdefs.h. */
8843 int main(int argc, char **argv) { return 0; }
8844 _ACEOF
8845 if ac_fn_c_try_link "$LINENO"; then :
8846 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8847 else
8848 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8850 rm -f core conftest.err conftest.$ac_objext \
8851 conftest$ac_exeext conftest.$ac_ext
8852 CFLAGS=$ac_wine_try_cflags_saved
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8855 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8856 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8857 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8858 else
8859 wine_can_build_preloader=no
8863 if test "$wine_can_build_preloader" = "yes"
8864 then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8866 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8867 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8868 $as_echo_n "(cached) " >&6
8869 else
8870 ac_wine_try_cflags_saved=$CFLAGS
8871 CFLAGS="$CFLAGS -Wl,-no_pie"
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8874 int main(int argc, char **argv) { return 0; }
8875 _ACEOF
8876 if ac_fn_c_try_link "$LINENO"; then :
8877 ac_cv_cflags__Wl__no_pie=yes
8878 else
8879 ac_cv_cflags__Wl__no_pie=no
8881 rm -f core conftest.err conftest.$ac_objext \
8882 conftest$ac_exeext conftest.$ac_ext
8883 CFLAGS=$ac_wine_try_cflags_saved
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8886 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8887 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8888 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8890 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8891 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8892 else
8893 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8896 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8897 then
8898 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8901 if test "$ac_cv_header_Security_Security_h" = "yes"
8902 then
8903 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8905 ac_save_LIBS="$LIBS"
8906 LIBS="$LIBS $SECURITY_LIBS"
8907 for ac_func in SSLCopyPeerCertificates
8908 do :
8909 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8910 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8911 cat >>confdefs.h <<_ACEOF
8912 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8913 _ACEOF
8916 done
8918 LIBS="$ac_save_LIBS"
8920 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8921 then
8922 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8923 then
8924 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8926 else
8927 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8930 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8931 ac_save_LIBS="$LIBS"
8932 LIBS="$LIBS $COREAUDIO_LIBS"
8933 for ac_func in AUGraphAddNode
8934 do :
8935 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8936 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8937 cat >>confdefs.h <<_ACEOF
8938 #define HAVE_AUGRAPHADDNODE 1
8939 _ACEOF
8942 done
8944 LIBS="$ac_save_LIBS"
8946 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8947 then
8948 OPENAL_LIBS="-framework OpenAL"
8951 cat >>confdefs.h <<_ACEOF
8952 #define HAVE_OPENAL 1
8953 _ACEOF
8955 ac_cv_lib_openal=yes
8957 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8958 then
8959 OPENCL_LIBS="-framework OpenCL"
8961 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8963 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8964 then
8965 ac_save_LIBS="$LIBS"
8966 LIBS="$LIBS $IOKIT_LIBS"
8967 for ac_func in IOHIDManagerCreate
8968 do :
8969 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8970 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8971 cat >>confdefs.h <<_ACEOF
8972 #define HAVE_IOHIDMANAGERCREATE 1
8973 _ACEOF
8976 done
8978 LIBS="$ac_save_LIBS"
8981 if test "x$with_quicktime" != "xno"
8982 then
8983 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8984 then
8985 ac_save_LIBS="$LIBS"
8986 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8988 $as_echo_n "checking for the QuickTime framework... " >&6; }
8989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8990 /* end confdefs.h. */
8991 #include <QuickTime/ImageCompression.h>
8993 main ()
8995 CodecManagerVersion(NULL);
8997 return 0;
8999 _ACEOF
9000 if ac_fn_c_try_link "$LINENO"; then :
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9002 $as_echo "yes" >&6; }
9003 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9005 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9006 else
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9008 $as_echo "no" >&6; }
9009 ac_cv_header_QuickTime_ImageCompression_h=no
9011 rm -f core conftest.err conftest.$ac_objext \
9012 conftest$ac_exeext conftest.$ac_ext
9013 LIBS="$ac_save_LIBS"
9016 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9017 case "x$with_quicktime" in
9018 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9019 xno) ;;
9020 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9021 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9022 esac
9026 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9027 then
9028 CARBON_LIBS="-framework Carbon"
9031 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9032 then
9033 METAL_LIBS="-framework Metal -framework QuartzCore"
9037 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9038 then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9040 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9041 ac_ext=m
9042 ac_cpp='$OBJCPP $CPPFLAGS'
9043 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9044 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9045 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9049 #include <Metal/Metal.h>
9051 main ()
9053 id<MTLDevice> device; device.registryID;
9055 return 0;
9057 _ACEOF
9058 if ac_fn_objc_try_compile "$LINENO"; then :
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9060 $as_echo "yes" >&6; }
9062 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9064 else
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9066 $as_echo "no" >&6; }
9068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9069 ac_ext=c
9070 ac_cpp='$CPP $CPPFLAGS'
9071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9077 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9078 then
9079 ac_save_LIBS="$LIBS"
9080 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9081 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9082 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9083 enable_winemac_drv=${enable_winemac_drv:-yes}
9086 LIBS="$ac_save_LIBS"
9089 if test "x$enable_win16" = "xyes"
9090 then
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9092 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9093 if test "$cross_compiling" = yes; then :
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9095 $as_echo "cross-compiling, assuming yes" >&6; }
9096 else
9097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9098 /* end confdefs.h. */
9099 asm(".text\n"
9100 "bad:\tnop;nop\n"
9101 "good:\tnop;nop\n\t"
9102 ".globl _testfunc\n"
9103 "_testfunc:\tcallw good");
9104 extern void testfunc();
9106 main ()
9108 unsigned short *p = (unsigned short *)testfunc;
9109 return p[0] != 0xe866 || p[1] != 0xfffa
9111 return 0;
9113 _ACEOF
9114 if ac_fn_c_try_run "$LINENO"; then :
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9116 $as_echo "yes" >&6; }
9117 else
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9119 $as_echo "no" >&6; }
9120 as_fn_error $? "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
9122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9123 conftest.$ac_objext conftest.beam conftest.$ac_ext
9128 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9130 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9132 WINELOADER_DEPENDS="wine_info.plist"
9134 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9135 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9138 linux-android*)
9139 DLLFLAGS="$DLLFLAGS -fPIC"
9140 LDDLLFLAGS="-fPIC"
9141 LDEXECFLAGS="-Wl,-pie"
9142 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9144 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9145 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9146 $as_echo_n "(cached) " >&6
9147 else
9148 ac_wine_try_cflags_saved=$CFLAGS
9149 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9151 /* end confdefs.h. */
9152 int main(int argc, char **argv) { return 0; }
9153 _ACEOF
9154 if ac_fn_c_try_link "$LINENO"; then :
9155 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9156 else
9157 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9159 rm -f core conftest.err conftest.$ac_objext \
9160 conftest$ac_exeext conftest.$ac_ext
9161 CFLAGS=$ac_wine_try_cflags_saved
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9164 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9165 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9166 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9168 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9170 LIBWINE_SHAREDLIB="libwine.so"
9172 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9174 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9177 $as_echo_n "checking for -lEGL... " >&6; }
9178 if ${ac_cv_lib_soname_EGL+:} false; then :
9179 $as_echo_n "(cached) " >&6
9180 else
9181 ac_check_soname_save_LIBS=$LIBS
9182 LIBS="-lEGL $LIBS"
9183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9184 /* end confdefs.h. */
9186 /* Override any GCC internal prototype to avoid an error.
9187 Use char because int might match the return type of a GCC
9188 builtin and then its argument prototype would still apply. */
9189 #ifdef __cplusplus
9190 extern "C"
9191 #endif
9192 char eglGetProcAddress ();
9194 main ()
9196 return eglGetProcAddress ();
9198 return 0;
9200 _ACEOF
9201 if ac_fn_c_try_link "$LINENO"; then :
9202 case "$LIBEXT" in
9203 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9204 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'` ;;
9205 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9206 if ${ac_cv_lib_soname_EGL:+false} :; then :
9207 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9208 fi ;;
9209 esac
9210 else
9211 ac_cv_lib_soname_EGL=
9213 rm -f core conftest.err conftest.$ac_objext \
9214 conftest$ac_exeext conftest.$ac_ext
9215 LIBS=$ac_check_soname_save_LIBS
9217 if ${ac_cv_lib_soname_EGL:+false} :; then :
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9219 $as_echo "not found" >&6; }
9221 else
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9223 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9225 cat >>confdefs.h <<_ACEOF
9226 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9227 _ACEOF
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9232 $as_echo_n "checking for -lGLESv2... " >&6; }
9233 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9234 $as_echo_n "(cached) " >&6
9235 else
9236 ac_check_soname_save_LIBS=$LIBS
9237 LIBS="-lGLESv2 $LIBS"
9238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9241 /* Override any GCC internal prototype to avoid an error.
9242 Use char because int might match the return type of a GCC
9243 builtin and then its argument prototype would still apply. */
9244 #ifdef __cplusplus
9245 extern "C"
9246 #endif
9247 char glFlush ();
9249 main ()
9251 return glFlush ();
9253 return 0;
9255 _ACEOF
9256 if ac_fn_c_try_link "$LINENO"; then :
9257 case "$LIBEXT" in
9258 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9259 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'` ;;
9260 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9261 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9262 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9263 fi ;;
9264 esac
9265 else
9266 ac_cv_lib_soname_GLESv2=
9268 rm -f core conftest.err conftest.$ac_objext \
9269 conftest$ac_exeext conftest.$ac_ext
9270 LIBS=$ac_check_soname_save_LIBS
9272 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9274 $as_echo "not found" >&6; }
9276 else
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9278 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9280 cat >>confdefs.h <<_ACEOF
9281 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9282 _ACEOF
9287 if test "x$exec_prefix" = xNONE
9288 then
9289 case $host_cpu in
9290 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9291 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9292 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9293 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9294 esac
9299 case $host_cpu in
9300 *i[3456789]86*)
9301 DLLFLAGS="$DLLFLAGS -fno-PIC"
9302 LDDLLFLAGS="-fno-PIC" ;;
9304 DLLFLAGS="$DLLFLAGS -fPIC"
9305 LDDLLFLAGS="-fPIC" ;;
9306 esac
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9308 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9309 if ${ac_cv_c_dll_gnuelf+:} false; then :
9310 $as_echo_n "(cached) " >&6
9311 else
9312 ac_wine_try_cflags_saved=$CFLAGS
9313 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9316 void myfunc() {}
9317 _ACEOF
9318 if ac_fn_c_try_link "$LINENO"; then :
9319 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9320 else
9321 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9323 rm -f core conftest.err conftest.$ac_objext \
9324 conftest$ac_exeext conftest.$ac_ext
9325 CFLAGS=$ac_wine_try_cflags_saved
9326 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9327 ac_cv_c_dll_gnuelf="yes"
9328 else
9329 ac_cv_c_dll_gnuelf="no"
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9333 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9334 if test "$ac_cv_c_dll_gnuelf" = "yes"
9335 then
9336 LIBWINE_LDFLAGS="-shared"
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9338 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9339 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9340 $as_echo_n "(cached) " >&6
9341 else
9342 ac_wine_try_cflags_saved=$CFLAGS
9343 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9345 /* end confdefs.h. */
9346 int main(int argc, char **argv) { return 0; }
9347 _ACEOF
9348 if ac_fn_c_try_link "$LINENO"; then :
9349 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9350 else
9351 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9353 rm -f core conftest.err conftest.$ac_objext \
9354 conftest$ac_exeext conftest.$ac_ext
9355 CFLAGS=$ac_wine_try_cflags_saved
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9358 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9359 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9360 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9361 else
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9363 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9364 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9365 $as_echo_n "(cached) " >&6
9366 else
9367 ac_wine_try_cflags_saved=$CFLAGS
9368 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9370 /* end confdefs.h. */
9371 int main(int argc, char **argv) { return 0; }
9372 _ACEOF
9373 if ac_fn_c_try_link "$LINENO"; then :
9374 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9375 else
9376 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9378 rm -f core conftest.err conftest.$ac_objext \
9379 conftest$ac_exeext conftest.$ac_ext
9380 CFLAGS=$ac_wine_try_cflags_saved
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9383 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9384 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9385 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9389 echo '{ global: *; };' >conftest.map
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9391 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9392 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9393 $as_echo_n "(cached) " >&6
9394 else
9395 ac_wine_try_cflags_saved=$CFLAGS
9396 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9398 /* end confdefs.h. */
9399 int main(int argc, char **argv) { return 0; }
9400 _ACEOF
9401 if ac_fn_c_try_link "$LINENO"; then :
9402 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9403 else
9404 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9406 rm -f core conftest.err conftest.$ac_objext \
9407 conftest$ac_exeext conftest.$ac_ext
9408 CFLAGS=$ac_wine_try_cflags_saved
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9411 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9412 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9413 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9415 rm -f conftest.map
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9418 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9419 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9420 $as_echo_n "(cached) " >&6
9421 else
9422 ac_wine_try_cflags_saved=$CFLAGS
9423 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9426 int main(int argc, char **argv) { return 0; }
9427 _ACEOF
9428 if ac_fn_c_try_link "$LINENO"; then :
9429 ac_cv_cflags__Wl___export_dynamic=yes
9430 else
9431 ac_cv_cflags__Wl___export_dynamic=no
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9435 CFLAGS=$ac_wine_try_cflags_saved
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9438 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9439 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9440 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9442 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9444 case $host_cpu in
9445 *i[3456789]86* | x86_64 | *aarch64*)
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9447 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9448 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9449 $as_echo_n "(cached) " >&6
9450 else
9451 ac_wine_try_cflags_saved=$CFLAGS
9452 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9454 /* end confdefs.h. */
9455 int main(int argc, char **argv) { return 0; }
9456 _ACEOF
9457 if ac_fn_c_try_link "$LINENO"; then :
9458 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9459 else
9460 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9462 rm -f core conftest.err conftest.$ac_objext \
9463 conftest$ac_exeext conftest.$ac_ext
9464 CFLAGS=$ac_wine_try_cflags_saved
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9467 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9468 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9469 case $host_os in
9470 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9471 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9472 esac
9473 else
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9475 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9476 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9477 $as_echo_n "(cached) " >&6
9478 else
9479 ac_wine_try_cflags_saved=$CFLAGS
9480 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9482 /* end confdefs.h. */
9483 int main(int argc, char **argv) { return 0; }
9484 _ACEOF
9485 if ac_fn_c_try_link "$LINENO"; then :
9486 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9487 else
9488 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9490 rm -f core conftest.err conftest.$ac_objext \
9491 conftest$ac_exeext conftest.$ac_ext
9492 CFLAGS=$ac_wine_try_cflags_saved
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9495 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9496 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9497 case $host_os in
9498 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9499 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9500 esac
9502 # Extract the first word of "prelink", so it can be a program name with args.
9503 set dummy prelink; ac_word=$2
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9505 $as_echo_n "checking for $ac_word... " >&6; }
9506 if ${ac_cv_path_PRELINK+:} false; then :
9507 $as_echo_n "(cached) " >&6
9508 else
9509 case $PRELINK in
9510 [\\/]* | ?:[\\/]*)
9511 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9515 for as_dir in /sbin /usr/sbin $PATH
9517 IFS=$as_save_IFS
9518 test -z "$as_dir" && as_dir=.
9519 for ac_exec_ext in '' $ac_executable_extensions; do
9520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9521 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9523 break 2
9525 done
9526 done
9527 IFS=$as_save_IFS
9529 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9531 esac
9533 PRELINK=$ac_cv_path_PRELINK
9534 if test -n "$PRELINK"; then
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9536 $as_echo "$PRELINK" >&6; }
9537 else
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9539 $as_echo "no" >&6; }
9543 if test "x$PRELINK" = xfalse
9544 then
9545 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9549 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9550 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9551 $as_echo_n "(cached) " >&6
9552 else
9553 ac_wine_try_cflags_saved=$CFLAGS
9554 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9556 /* end confdefs.h. */
9557 int main(int argc, char **argv) { return 0; }
9558 _ACEOF
9559 if ac_fn_c_try_link "$LINENO"; then :
9560 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9561 else
9562 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9564 rm -f core conftest.err conftest.$ac_objext \
9565 conftest$ac_exeext conftest.$ac_ext
9566 CFLAGS=$ac_wine_try_cflags_saved
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9569 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9570 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9571 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9574 esac
9576 else
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9578 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9579 if ${ac_cv_c_dll_unixware+:} false; then :
9580 $as_echo_n "(cached) " >&6
9581 else
9582 ac_wine_try_cflags_saved=$CFLAGS
9583 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9585 /* end confdefs.h. */
9586 void myfunc() {}
9587 _ACEOF
9588 if ac_fn_c_try_link "$LINENO"; then :
9589 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9590 else
9591 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 CFLAGS=$ac_wine_try_cflags_saved
9596 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9597 ac_cv_c_dll_unixware="yes"
9598 else
9599 ac_cv_c_dll_unixware="no"
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9603 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9604 if test "$ac_cv_c_dll_unixware" = "yes"
9605 then
9606 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9609 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9611 LIBWINE_DEPENDS="wine.map"
9613 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9614 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9616 esac
9618 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9619 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9620 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9621 enable_winemac_drv=${enable_winemac_drv:-no}
9622 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9625 if test "x$with_mingw" != xno
9626 then
9627 case "x$with_mingw" in
9628 x|xyes) case "$host_cpu" in
9629 aarch64*)
9630 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9631 arm*)
9632 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9633 i[3456789]86*)
9634 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
9635 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9636 mingw32-gcc" ;;
9637 x86_64)
9638 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
9639 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9641 ac_prefix_list="" ;;
9642 esac
9643 for ac_prog in $ac_prefix_list
9645 # Extract the first word of "$ac_prog", so it can be a program name with args.
9646 set dummy $ac_prog; ac_word=$2
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9648 $as_echo_n "checking for $ac_word... " >&6; }
9649 if ${ac_cv_prog_CROSSCC+:} false; then :
9650 $as_echo_n "(cached) " >&6
9651 else
9652 if test -n "$CROSSCC"; then
9653 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9654 else
9655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9656 for as_dir in $PATH
9658 IFS=$as_save_IFS
9659 test -z "$as_dir" && as_dir=.
9660 for ac_exec_ext in '' $ac_executable_extensions; do
9661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9662 ac_cv_prog_CROSSCC="$ac_prog"
9663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9664 break 2
9666 done
9667 done
9668 IFS=$as_save_IFS
9672 CROSSCC=$ac_cv_prog_CROSSCC
9673 if test -n "$CROSSCC"; then
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9675 $as_echo "$CROSSCC" >&6; }
9676 else
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9678 $as_echo "no" >&6; }
9682 test -n "$CROSSCC" && break
9683 done
9684 test -n "$CROSSCC" || CROSSCC="false"
9686 *) CROSSCC=$with_mingw ;;
9687 esac
9688 if test "$CROSSCC" != "false"
9689 then
9690 ac_save_CC="$CC"
9691 saved_CFLAGS=$CFLAGS
9692 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9694 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9698 CC="$CROSSCC"
9699 CFLAGS=$CROSSCFLAGS
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9701 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9702 if ${wine_cv_crosscc+:} false; then :
9703 $as_echo_n "(cached) " >&6
9704 else
9705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9706 /* end confdefs.h. */
9709 main ()
9713 return 0;
9715 _ACEOF
9716 if ac_fn_c_try_compile "$LINENO"; then :
9717 wine_cv_crosscc=yes
9718 else
9719 wine_cv_crosscc=no
9721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9724 $as_echo "$wine_cv_crosscc" >&6; }
9725 if test $wine_cv_crosscc = yes
9726 then
9727 set x $CROSSCC
9728 shift
9729 while test $# -ge 1
9731 case "$1" in
9732 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9733 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9734 esac
9735 shift
9736 done
9738 llvm_target=$CROSSTARGET
9739 llvm_cflags="-fuse-ld=lld"
9740 if test -z "$llvm_target"
9741 then
9742 case $host_cpu in
9743 *i[3456789]86*) llvm_target=i686-windows ;;
9744 *) llvm_target=$host_cpu-windows ;;
9745 esac
9747 case $llvm_target in
9748 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9749 esac
9750 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9752 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9753 if eval \${$as_ac_var+:} false; then :
9754 $as_echo_n "(cached) " >&6
9755 else
9756 ac_wine_try_cflags_saved=$CFLAGS
9757 ac_wine_try_cflags_saved_cc=$CC
9758 ac_wine_try_cflags_saved_exeext=$ac_exeext
9759 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9760 CC="$CROSSCC"
9761 ac_exeext=".exe"
9762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9764 int __cdecl mainCRTStartup(void) { return 0; }
9765 _ACEOF
9766 if ac_fn_c_try_link "$LINENO"; then :
9767 eval "$as_ac_var=yes"
9768 else
9769 eval "$as_ac_var=no"
9771 rm -f core conftest.err conftest.$ac_objext \
9772 conftest$ac_exeext conftest.$ac_ext
9773 CFLAGS=$ac_wine_try_cflags_saved
9774 CC=$ac_wine_try_cflags_saved_cc
9775 ac_exeext=$ac_wine_try_cflags_saved_exeext
9777 eval ac_res=\$$as_ac_var
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9779 $as_echo "$ac_res" >&6; }
9780 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9781 CROSSTARGET=$llvm_target
9782 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9783 DELAYLOADFLAG="-Wl,-delayload,"
9785 CFLAGS="$CFLAGS $llvm_cflags"
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9789 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9790 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9791 $as_echo_n "(cached) " >&6
9792 else
9793 ac_wine_try_cflags_saved=$CFLAGS
9794 ac_wine_try_cflags_saved_cc=$CC
9795 ac_wine_try_cflags_saved_exeext=$ac_exeext
9796 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9797 CC="$CROSSCC"
9798 ac_exeext=".exe"
9799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9800 /* end confdefs.h. */
9801 int __cdecl mainCRTStartup(void) { return 0; }
9802 _ACEOF
9803 if ac_fn_c_try_link "$LINENO"; then :
9804 ac_cv_crosscflags__fno_strict_aliasing=yes
9805 else
9806 ac_cv_crosscflags__fno_strict_aliasing=no
9808 rm -f core conftest.err conftest.$ac_objext \
9809 conftest$ac_exeext conftest.$ac_ext
9810 CFLAGS=$ac_wine_try_cflags_saved
9811 CC=$ac_wine_try_cflags_saved_cc
9812 ac_exeext=$ac_wine_try_cflags_saved_exeext
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9815 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9816 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9817 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9820 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9821 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9822 $as_echo_n "(cached) " >&6
9823 else
9824 ac_wine_try_cflags_saved=$CFLAGS
9825 ac_wine_try_cflags_saved_cc=$CC
9826 ac_wine_try_cflags_saved_exeext=$ac_exeext
9827 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9828 CC="$CROSSCC"
9829 ac_exeext=".exe"
9830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9832 int __cdecl mainCRTStartup(void) { return 0; }
9833 _ACEOF
9834 if ac_fn_c_try_link "$LINENO"; then :
9835 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9836 else
9837 ac_cv_crosscflags__Werror_unknown_warning_option=no
9839 rm -f core conftest.err conftest.$ac_objext \
9840 conftest$ac_exeext conftest.$ac_ext
9841 CFLAGS=$ac_wine_try_cflags_saved
9842 CC=$ac_wine_try_cflags_saved_cc
9843 ac_exeext=$ac_wine_try_cflags_saved_exeext
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9846 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9847 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9848 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9851 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9852 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9853 $as_echo_n "(cached) " >&6
9854 else
9855 ac_wine_try_cflags_saved=$CFLAGS
9856 ac_wine_try_cflags_saved_cc=$CC
9857 ac_wine_try_cflags_saved_exeext=$ac_exeext
9858 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9859 CC="$CROSSCC"
9860 ac_exeext=".exe"
9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9863 int __cdecl mainCRTStartup(void) { return 0; }
9864 _ACEOF
9865 if ac_fn_c_try_link "$LINENO"; then :
9866 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9867 else
9868 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9870 rm -f core conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9872 CFLAGS=$ac_wine_try_cflags_saved
9873 CC=$ac_wine_try_cflags_saved_cc
9874 ac_exeext=$ac_wine_try_cflags_saved_exeext
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9877 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9878 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9879 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9882 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9883 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9884 $as_echo_n "(cached) " >&6
9885 else
9886 ac_wine_try_cflags_saved=$CFLAGS
9887 ac_wine_try_cflags_saved_cc=$CC
9888 ac_wine_try_cflags_saved_exeext=$ac_exeext
9889 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9890 CC="$CROSSCC"
9891 ac_exeext=".exe"
9892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9893 /* end confdefs.h. */
9894 int __cdecl mainCRTStartup(void) { return 0; }
9895 _ACEOF
9896 if ac_fn_c_try_link "$LINENO"; then :
9897 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9898 else
9899 ac_cv_crosscflags__Wdeclaration_after_statement=no
9901 rm -f core conftest.err conftest.$ac_objext \
9902 conftest$ac_exeext conftest.$ac_ext
9903 CFLAGS=$ac_wine_try_cflags_saved
9904 CC=$ac_wine_try_cflags_saved_cc
9905 ac_exeext=$ac_wine_try_cflags_saved_exeext
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9908 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9909 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9910 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9913 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9914 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9915 $as_echo_n "(cached) " >&6
9916 else
9917 ac_wine_try_cflags_saved=$CFLAGS
9918 ac_wine_try_cflags_saved_cc=$CC
9919 ac_wine_try_cflags_saved_exeext=$ac_exeext
9920 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9921 CC="$CROSSCC"
9922 ac_exeext=".exe"
9923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h. */
9925 int __cdecl mainCRTStartup(void) { return 0; }
9926 _ACEOF
9927 if ac_fn_c_try_link "$LINENO"; then :
9928 ac_cv_crosscflags__Wempty_body=yes
9929 else
9930 ac_cv_crosscflags__Wempty_body=no
9932 rm -f core conftest.err conftest.$ac_objext \
9933 conftest$ac_exeext conftest.$ac_ext
9934 CFLAGS=$ac_wine_try_cflags_saved
9935 CC=$ac_wine_try_cflags_saved_cc
9936 ac_exeext=$ac_wine_try_cflags_saved_exeext
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9939 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9940 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9941 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9944 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9945 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9946 $as_echo_n "(cached) " >&6
9947 else
9948 ac_wine_try_cflags_saved=$CFLAGS
9949 ac_wine_try_cflags_saved_cc=$CC
9950 ac_wine_try_cflags_saved_exeext=$ac_exeext
9951 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9952 CC="$CROSSCC"
9953 ac_exeext=".exe"
9954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9955 /* end confdefs.h. */
9956 int __cdecl mainCRTStartup(void) { return 0; }
9957 _ACEOF
9958 if ac_fn_c_try_link "$LINENO"; then :
9959 ac_cv_crosscflags__Wignored_qualifiers=yes
9960 else
9961 ac_cv_crosscflags__Wignored_qualifiers=no
9963 rm -f core conftest.err conftest.$ac_objext \
9964 conftest$ac_exeext conftest.$ac_ext
9965 CFLAGS=$ac_wine_try_cflags_saved
9966 CC=$ac_wine_try_cflags_saved_cc
9967 ac_exeext=$ac_wine_try_cflags_saved_exeext
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9970 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9971 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9972 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9975 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9976 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9977 $as_echo_n "(cached) " >&6
9978 else
9979 ac_wine_try_cflags_saved=$CFLAGS
9980 ac_wine_try_cflags_saved_cc=$CC
9981 ac_wine_try_cflags_saved_exeext=$ac_exeext
9982 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9983 CC="$CROSSCC"
9984 ac_exeext=".exe"
9985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9986 /* end confdefs.h. */
9987 int __cdecl mainCRTStartup(void) { return 0; }
9988 _ACEOF
9989 if ac_fn_c_try_link "$LINENO"; then :
9990 ac_cv_crosscflags__Wpacked_not_aligned=yes
9991 else
9992 ac_cv_crosscflags__Wpacked_not_aligned=no
9994 rm -f core conftest.err conftest.$ac_objext \
9995 conftest$ac_exeext conftest.$ac_ext
9996 CFLAGS=$ac_wine_try_cflags_saved
9997 CC=$ac_wine_try_cflags_saved_cc
9998 ac_exeext=$ac_wine_try_cflags_saved_exeext
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10001 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10002 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10003 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10006 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10007 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10008 $as_echo_n "(cached) " >&6
10009 else
10010 ac_wine_try_cflags_saved=$CFLAGS
10011 ac_wine_try_cflags_saved_cc=$CC
10012 ac_wine_try_cflags_saved_exeext=$ac_exeext
10013 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10014 CC="$CROSSCC"
10015 ac_exeext=".exe"
10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10018 int __cdecl mainCRTStartup(void) { return 0; }
10019 _ACEOF
10020 if ac_fn_c_try_link "$LINENO"; then :
10021 ac_cv_crosscflags__Wpragma_pack=yes
10022 else
10023 ac_cv_crosscflags__Wpragma_pack=no
10025 rm -f core conftest.err conftest.$ac_objext \
10026 conftest$ac_exeext conftest.$ac_ext
10027 CFLAGS=$ac_wine_try_cflags_saved
10028 CC=$ac_wine_try_cflags_saved_cc
10029 ac_exeext=$ac_wine_try_cflags_saved_exeext
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10032 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10033 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10034 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10037 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10038 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10039 $as_echo_n "(cached) " >&6
10040 else
10041 ac_wine_try_cflags_saved=$CFLAGS
10042 ac_wine_try_cflags_saved_cc=$CC
10043 ac_wine_try_cflags_saved_exeext=$ac_exeext
10044 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10045 CC="$CROSSCC"
10046 ac_exeext=".exe"
10047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10048 /* end confdefs.h. */
10049 int __cdecl mainCRTStartup(void) { return 0; }
10050 _ACEOF
10051 if ac_fn_c_try_link "$LINENO"; then :
10052 ac_cv_crosscflags__Wshift_overflow_2=yes
10053 else
10054 ac_cv_crosscflags__Wshift_overflow_2=no
10056 rm -f core conftest.err conftest.$ac_objext \
10057 conftest$ac_exeext conftest.$ac_ext
10058 CFLAGS=$ac_wine_try_cflags_saved
10059 CC=$ac_wine_try_cflags_saved_cc
10060 ac_exeext=$ac_wine_try_cflags_saved_exeext
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10063 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10064 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10065 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10068 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10069 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10070 $as_echo_n "(cached) " >&6
10071 else
10072 ac_wine_try_cflags_saved=$CFLAGS
10073 ac_wine_try_cflags_saved_cc=$CC
10074 ac_wine_try_cflags_saved_exeext=$ac_exeext
10075 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10076 CC="$CROSSCC"
10077 ac_exeext=".exe"
10078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10079 /* end confdefs.h. */
10080 int __cdecl mainCRTStartup(void) { return 0; }
10081 _ACEOF
10082 if ac_fn_c_try_link "$LINENO"; then :
10083 ac_cv_crosscflags__Wstrict_prototypes=yes
10084 else
10085 ac_cv_crosscflags__Wstrict_prototypes=no
10087 rm -f core conftest.err conftest.$ac_objext \
10088 conftest$ac_exeext conftest.$ac_ext
10089 CFLAGS=$ac_wine_try_cflags_saved
10090 CC=$ac_wine_try_cflags_saved_cc
10091 ac_exeext=$ac_wine_try_cflags_saved_exeext
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10094 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10095 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10096 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10099 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10100 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10101 $as_echo_n "(cached) " >&6
10102 else
10103 ac_wine_try_cflags_saved=$CFLAGS
10104 ac_wine_try_cflags_saved_cc=$CC
10105 ac_wine_try_cflags_saved_exeext=$ac_exeext
10106 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10107 CC="$CROSSCC"
10108 ac_exeext=".exe"
10109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10110 /* end confdefs.h. */
10111 int __cdecl mainCRTStartup(void) { return 0; }
10112 _ACEOF
10113 if ac_fn_c_try_link "$LINENO"; then :
10114 ac_cv_crosscflags__Wtype_limits=yes
10115 else
10116 ac_cv_crosscflags__Wtype_limits=no
10118 rm -f core conftest.err conftest.$ac_objext \
10119 conftest$ac_exeext conftest.$ac_ext
10120 CFLAGS=$ac_wine_try_cflags_saved
10121 CC=$ac_wine_try_cflags_saved_cc
10122 ac_exeext=$ac_wine_try_cflags_saved_exeext
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10125 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10126 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10127 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10130 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10131 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10132 $as_echo_n "(cached) " >&6
10133 else
10134 ac_wine_try_cflags_saved=$CFLAGS
10135 ac_wine_try_cflags_saved_cc=$CC
10136 ac_wine_try_cflags_saved_exeext=$ac_exeext
10137 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10138 CC="$CROSSCC"
10139 ac_exeext=".exe"
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10142 int __cdecl mainCRTStartup(void) { return 0; }
10143 _ACEOF
10144 if ac_fn_c_try_link "$LINENO"; then :
10145 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10146 else
10147 ac_cv_crosscflags__Wunused_but_set_parameter=no
10149 rm -f core conftest.err conftest.$ac_objext \
10150 conftest$ac_exeext conftest.$ac_ext
10151 CFLAGS=$ac_wine_try_cflags_saved
10152 CC=$ac_wine_try_cflags_saved_cc
10153 ac_exeext=$ac_wine_try_cflags_saved_exeext
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10156 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10157 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10158 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10161 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10162 if ${ac_cv_crosscflags__Wvla+:} false; then :
10163 $as_echo_n "(cached) " >&6
10164 else
10165 ac_wine_try_cflags_saved=$CFLAGS
10166 ac_wine_try_cflags_saved_cc=$CC
10167 ac_wine_try_cflags_saved_exeext=$ac_exeext
10168 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10169 CC="$CROSSCC"
10170 ac_exeext=".exe"
10171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10173 int __cdecl mainCRTStartup(void) { return 0; }
10174 _ACEOF
10175 if ac_fn_c_try_link "$LINENO"; then :
10176 ac_cv_crosscflags__Wvla=yes
10177 else
10178 ac_cv_crosscflags__Wvla=no
10180 rm -f core conftest.err conftest.$ac_objext \
10181 conftest$ac_exeext conftest.$ac_ext
10182 CFLAGS=$ac_wine_try_cflags_saved
10183 CC=$ac_wine_try_cflags_saved_cc
10184 ac_exeext=$ac_wine_try_cflags_saved_exeext
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10187 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10188 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10189 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10192 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10193 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10194 $as_echo_n "(cached) " >&6
10195 else
10196 ac_wine_try_cflags_saved=$CFLAGS
10197 ac_wine_try_cflags_saved_cc=$CC
10198 ac_wine_try_cflags_saved_exeext=$ac_exeext
10199 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10200 CC="$CROSSCC"
10201 ac_exeext=".exe"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10204 int __cdecl mainCRTStartup(void) { return 0; }
10205 _ACEOF
10206 if ac_fn_c_try_link "$LINENO"; then :
10207 ac_cv_crosscflags__Wwrite_strings=yes
10208 else
10209 ac_cv_crosscflags__Wwrite_strings=no
10211 rm -f core conftest.err conftest.$ac_objext \
10212 conftest$ac_exeext conftest.$ac_ext
10213 CFLAGS=$ac_wine_try_cflags_saved
10214 CC=$ac_wine_try_cflags_saved_cc
10215 ac_exeext=$ac_wine_try_cflags_saved_exeext
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10218 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10219 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10220 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10223 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10224 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10225 $as_echo_n "(cached) " >&6
10226 else
10227 ac_wine_try_cflags_saved=$CFLAGS
10228 ac_wine_try_cflags_saved_cc=$CC
10229 ac_wine_try_cflags_saved_exeext=$ac_exeext
10230 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10231 CC="$CROSSCC"
10232 ac_exeext=".exe"
10233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10235 int __cdecl mainCRTStartup(void) { return 0; }
10236 _ACEOF
10237 if ac_fn_c_try_link "$LINENO"; then :
10238 ac_cv_crosscflags__Wpointer_arith=yes
10239 else
10240 ac_cv_crosscflags__Wpointer_arith=no
10242 rm -f core conftest.err conftest.$ac_objext \
10243 conftest$ac_exeext conftest.$ac_ext
10244 CFLAGS=$ac_wine_try_cflags_saved
10245 CC=$ac_wine_try_cflags_saved_cc
10246 ac_exeext=$ac_wine_try_cflags_saved_exeext
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10249 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10250 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10251 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10254 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10255 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10256 $as_echo_n "(cached) " >&6
10257 else
10258 ac_wine_try_cflags_saved=$CFLAGS
10259 ac_wine_try_cflags_saved_cc=$CC
10260 ac_wine_try_cflags_saved_exeext=$ac_exeext
10261 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10262 CC="$CROSSCC"
10263 ac_exeext=".exe"
10264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10266 int __cdecl mainCRTStartup(void) { return 0; }
10267 _ACEOF
10268 if ac_fn_c_try_link "$LINENO"; then :
10269 ac_cv_crosscflags__Wlogical_op=yes
10270 else
10271 ac_cv_crosscflags__Wlogical_op=no
10273 rm -f core conftest.err conftest.$ac_objext \
10274 conftest$ac_exeext conftest.$ac_ext
10275 CFLAGS=$ac_wine_try_cflags_saved
10276 CC=$ac_wine_try_cflags_saved_cc
10277 ac_exeext=$ac_wine_try_cflags_saved_exeext
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10280 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10281 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10282 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10285 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10286 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10287 $as_echo_n "(cached) " >&6
10288 else
10289 ac_wine_try_cflags_saved=$CFLAGS
10290 ac_wine_try_cflags_saved_cc=$CC
10291 ac_wine_try_cflags_saved_exeext=$ac_exeext
10292 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10293 CC="$CROSSCC"
10294 ac_exeext=".exe"
10295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10296 /* end confdefs.h. */
10297 int __cdecl mainCRTStartup(void) { return 0; }
10298 _ACEOF
10299 if ac_fn_c_try_link "$LINENO"; then :
10300 ac_cv_crosscflags__Wabsolute_value=yes
10301 else
10302 ac_cv_crosscflags__Wabsolute_value=no
10304 rm -f core conftest.err conftest.$ac_objext \
10305 conftest$ac_exeext conftest.$ac_ext
10306 CFLAGS=$ac_wine_try_cflags_saved
10307 CC=$ac_wine_try_cflags_saved_cc
10308 ac_exeext=$ac_wine_try_cflags_saved_exeext
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10311 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10312 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10313 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10316 case $host_cpu in
10317 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10318 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10319 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10320 $as_echo_n "(cached) " >&6
10321 else
10322 ac_wine_try_cflags_saved=$CFLAGS
10323 ac_wine_try_cflags_saved_cc=$CC
10324 ac_wine_try_cflags_saved_exeext=$ac_exeext
10325 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10326 CC="$CROSSCC"
10327 ac_exeext=".exe"
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10330 int __cdecl mainCRTStartup(void) { return 0; }
10331 _ACEOF
10332 if ac_fn_c_try_link "$LINENO"; then :
10333 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10334 else
10335 ac_cv_crosscflags__fno_omit_frame_pointer=no
10337 rm -f core conftest.err conftest.$ac_objext \
10338 conftest$ac_exeext conftest.$ac_ext
10339 CFLAGS=$ac_wine_try_cflags_saved
10340 CC=$ac_wine_try_cflags_saved_cc
10341 ac_exeext=$ac_wine_try_cflags_saved_exeext
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10344 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10345 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10346 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10347 fi ;;
10348 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10349 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10350 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10351 $as_echo_n "(cached) " >&6
10352 else
10353 ac_wine_try_cflags_saved=$CFLAGS
10354 ac_wine_try_cflags_saved_cc=$CC
10355 ac_wine_try_cflags_saved_exeext=$ac_exeext
10356 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10357 CC="$CROSSCC"
10358 ac_exeext=".exe"
10359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10361 int __cdecl mainCRTStartup(void) { return 0; }
10362 _ACEOF
10363 if ac_fn_c_try_link "$LINENO"; then :
10364 ac_cv_crosscflags__Wno_format=yes
10365 else
10366 ac_cv_crosscflags__Wno_format=no
10368 rm -f core conftest.err conftest.$ac_objext \
10369 conftest$ac_exeext conftest.$ac_ext
10370 CFLAGS=$ac_wine_try_cflags_saved
10371 CC=$ac_wine_try_cflags_saved_cc
10372 ac_exeext=$ac_wine_try_cflags_saved_exeext
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10375 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10376 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10377 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10380 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10381 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10382 $as_echo_n "(cached) " >&6
10383 else
10384 ac_wine_try_cflags_saved=$CFLAGS
10385 ac_wine_try_cflags_saved_cc=$CC
10386 ac_wine_try_cflags_saved_exeext=$ac_exeext
10387 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10388 CC="$CROSSCC"
10389 ac_exeext=".exe"
10390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10391 /* end confdefs.h. */
10392 int __cdecl mainCRTStartup(void) { return 0; }
10393 _ACEOF
10394 if ac_fn_c_try_link "$LINENO"; then :
10395 ac_cv_crosscflags__Wformat_overflow=yes
10396 else
10397 ac_cv_crosscflags__Wformat_overflow=no
10399 rm -f core conftest.err conftest.$ac_objext \
10400 conftest$ac_exeext conftest.$ac_ext
10401 CFLAGS=$ac_wine_try_cflags_saved
10402 CC=$ac_wine_try_cflags_saved_cc
10403 ac_exeext=$ac_wine_try_cflags_saved_exeext
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10406 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10407 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10408 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10411 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10412 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10413 $as_echo_n "(cached) " >&6
10414 else
10415 ac_wine_try_cflags_saved=$CFLAGS
10416 ac_wine_try_cflags_saved_cc=$CC
10417 ac_wine_try_cflags_saved_exeext=$ac_exeext
10418 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10419 CC="$CROSSCC"
10420 ac_exeext=".exe"
10421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10422 /* end confdefs.h. */
10423 int __cdecl mainCRTStartup(void) { return 0; }
10424 _ACEOF
10425 if ac_fn_c_try_link "$LINENO"; then :
10426 ac_cv_crosscflags__Wnonnull=yes
10427 else
10428 ac_cv_crosscflags__Wnonnull=no
10430 rm -f core conftest.err conftest.$ac_objext \
10431 conftest$ac_exeext conftest.$ac_ext
10432 CFLAGS=$ac_wine_try_cflags_saved
10433 CC=$ac_wine_try_cflags_saved_cc
10434 ac_exeext=$ac_wine_try_cflags_saved_exeext
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10437 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10438 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10439 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10442 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10443 if ${ac_cv_crosscflags__mcx16+:} false; then :
10444 $as_echo_n "(cached) " >&6
10445 else
10446 ac_wine_try_cflags_saved=$CFLAGS
10447 ac_wine_try_cflags_saved_cc=$CC
10448 ac_wine_try_cflags_saved_exeext=$ac_exeext
10449 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10450 CC="$CROSSCC"
10451 ac_exeext=".exe"
10452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h. */
10454 int __cdecl mainCRTStartup(void) { return 0; }
10455 _ACEOF
10456 if ac_fn_c_try_link "$LINENO"; then :
10457 ac_cv_crosscflags__mcx16=yes
10458 else
10459 ac_cv_crosscflags__mcx16=no
10461 rm -f core conftest.err conftest.$ac_objext \
10462 conftest$ac_exeext conftest.$ac_ext
10463 CFLAGS=$ac_wine_try_cflags_saved
10464 CC=$ac_wine_try_cflags_saved_cc
10465 ac_exeext=$ac_wine_try_cflags_saved_exeext
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10468 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10469 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10470 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10471 fi ;;
10472 esac
10475 if test -z "$CROSSDEBUG"
10476 then
10477 for ac_flag in $CROSSCFLAGS; do
10478 case $ac_flag in
10479 -gdwarf*) CROSSDEBUG=dwarf ;;
10480 -gcodeview) CROSSDEBUG=pdb ;;
10481 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10482 esac
10483 done
10485 case $CROSSDEBUG in
10486 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10487 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10488 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10489 $as_echo_n "(cached) " >&6
10490 else
10491 ac_wine_try_cflags_saved=$CFLAGS
10492 ac_wine_try_cflags_saved_cc=$CC
10493 ac_wine_try_cflags_saved_exeext=$ac_exeext
10494 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10495 CC="$CROSSCC"
10496 ac_exeext=".exe"
10497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10498 /* end confdefs.h. */
10499 int __cdecl mainCRTStartup(void) { return 0; }
10500 _ACEOF
10501 if ac_fn_c_try_link "$LINENO"; then :
10502 ac_cv_crosscflags__gdwarf_2=yes
10503 else
10504 ac_cv_crosscflags__gdwarf_2=no
10506 rm -f core conftest.err conftest.$ac_objext \
10507 conftest$ac_exeext conftest.$ac_ext
10508 CFLAGS=$ac_wine_try_cflags_saved
10509 CC=$ac_wine_try_cflags_saved_cc
10510 ac_exeext=$ac_wine_try_cflags_saved_exeext
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10513 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10514 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10515 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10518 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10519 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10520 $as_echo_n "(cached) " >&6
10521 else
10522 ac_wine_try_cflags_saved=$CFLAGS
10523 ac_wine_try_cflags_saved_cc=$CC
10524 ac_wine_try_cflags_saved_exeext=$ac_exeext
10525 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10526 CC="$CROSSCC"
10527 ac_exeext=".exe"
10528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10529 /* end confdefs.h. */
10530 int __cdecl mainCRTStartup(void) { return 0; }
10531 _ACEOF
10532 if ac_fn_c_try_link "$LINENO"; then :
10533 ac_cv_crosscflags__gstrict_dwarf=yes
10534 else
10535 ac_cv_crosscflags__gstrict_dwarf=no
10537 rm -f core conftest.err conftest.$ac_objext \
10538 conftest$ac_exeext conftest.$ac_ext
10539 CFLAGS=$ac_wine_try_cflags_saved
10540 CC=$ac_wine_try_cflags_saved_cc
10541 ac_exeext=$ac_wine_try_cflags_saved_exeext
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10544 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10545 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10546 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10547 fi ;;
10548 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10549 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10550 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10551 $as_echo_n "(cached) " >&6
10552 else
10553 ac_wine_try_cflags_saved=$CFLAGS
10554 ac_wine_try_cflags_saved_cc=$CC
10555 ac_wine_try_cflags_saved_exeext=$ac_exeext
10556 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10557 CC="$CROSSCC"
10558 ac_exeext=".exe"
10559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10561 int __cdecl mainCRTStartup(void) { return 0; }
10562 _ACEOF
10563 if ac_fn_c_try_link "$LINENO"; then :
10564 ac_cv_crosscflags__gcodeview=yes
10565 else
10566 ac_cv_crosscflags__gcodeview=no
10568 rm -f core conftest.err conftest.$ac_objext \
10569 conftest$ac_exeext conftest.$ac_ext
10570 CFLAGS=$ac_wine_try_cflags_saved
10571 CC=$ac_wine_try_cflags_saved_cc
10572 ac_exeext=$ac_wine_try_cflags_saved_exeext
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10575 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10576 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10577 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10578 fi ;;
10579 esac
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10582 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10583 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10584 $as_echo_n "(cached) " >&6
10585 else
10586 ac_wine_try_cflags_saved=$CFLAGS
10587 ac_wine_try_cflags_saved_cc=$CC
10588 ac_wine_try_cflags_saved_exeext=$ac_exeext
10589 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10590 CC="$CROSSCC"
10591 ac_exeext=".exe"
10592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10593 /* end confdefs.h. */
10594 int __cdecl mainCRTStartup(void) { return 0; }
10595 _ACEOF
10596 if ac_fn_c_try_link "$LINENO"; then :
10597 ac_cv_crosscflags__fexcess_precision_standard=yes
10598 else
10599 ac_cv_crosscflags__fexcess_precision_standard=no
10601 rm -f core conftest.err conftest.$ac_objext \
10602 conftest$ac_exeext conftest.$ac_ext
10603 CFLAGS=$ac_wine_try_cflags_saved
10604 CC=$ac_wine_try_cflags_saved_cc
10605 ac_exeext=$ac_wine_try_cflags_saved_exeext
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10608 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10609 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10610 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10614 if test "x$enable_werror" = "xyes"
10615 then
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10617 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10618 if ${ac_cv_crosscflags__Werror+:} false; then :
10619 $as_echo_n "(cached) " >&6
10620 else
10621 ac_wine_try_cflags_saved=$CFLAGS
10622 ac_wine_try_cflags_saved_cc=$CC
10623 ac_wine_try_cflags_saved_exeext=$ac_exeext
10624 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10625 CC="$CROSSCC"
10626 ac_exeext=".exe"
10627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10628 /* end confdefs.h. */
10629 int __cdecl mainCRTStartup(void) { return 0; }
10630 _ACEOF
10631 if ac_fn_c_try_link "$LINENO"; then :
10632 ac_cv_crosscflags__Werror=yes
10633 else
10634 ac_cv_crosscflags__Werror=no
10636 rm -f core conftest.err conftest.$ac_objext \
10637 conftest$ac_exeext conftest.$ac_ext
10638 CFLAGS=$ac_wine_try_cflags_saved
10639 CC=$ac_wine_try_cflags_saved_cc
10640 ac_exeext=$ac_wine_try_cflags_saved_exeext
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10643 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10644 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10645 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10649 CFLAGS=$saved_CFLAGS
10650 CC="$ac_save_CC"
10653 if test "x$CROSSTARGET" = "x"; then :
10654 case "x$with_mingw" in
10655 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10656 xno) ;;
10657 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10658 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10659 esac
10664 if test "$ac_cv_header_pthread_h" = "yes"
10665 then
10666 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10667 if test "x$ac_cv_func_pthread_create" = xyes; then :
10669 else
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10671 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10672 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10673 $as_echo_n "(cached) " >&6
10674 else
10675 ac_check_lib_save_LIBS=$LIBS
10676 LIBS="-lpthread $LIBS"
10677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h. */
10680 /* Override any GCC internal prototype to avoid an error.
10681 Use char because int might match the return type of a GCC
10682 builtin and then its argument prototype would still apply. */
10683 #ifdef __cplusplus
10684 extern "C"
10685 #endif
10686 char pthread_create ();
10688 main ()
10690 return pthread_create ();
10692 return 0;
10694 _ACEOF
10695 if ac_fn_c_try_link "$LINENO"; then :
10696 ac_cv_lib_pthread_pthread_create=yes
10697 else
10698 ac_cv_lib_pthread_pthread_create=no
10700 rm -f core conftest.err conftest.$ac_objext \
10701 conftest$ac_exeext conftest.$ac_ext
10702 LIBS=$ac_check_lib_save_LIBS
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10705 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10706 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10707 PTHREAD_LIBS="-lpthread"
10714 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10715 case "x$with_pthread" in
10716 xno) ;;
10717 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10718 Wine cannot support threads without libpthread.
10719 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10720 esac
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10726 $as_echo_n "checking for X... " >&6; }
10729 # Check whether --with-x was given.
10730 if test "${with_x+set}" = set; then :
10731 withval=$with_x;
10734 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10735 if test "x$with_x" = xno; then
10736 # The user explicitly disabled X.
10737 have_x=disabled
10738 else
10739 case $x_includes,$x_libraries in #(
10740 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10741 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10742 $as_echo_n "(cached) " >&6
10743 else
10744 # One or both of the vars are not set, and there is no cached value.
10745 ac_x_includes=no ac_x_libraries=no
10746 rm -f -r conftest.dir
10747 if mkdir conftest.dir; then
10748 cd conftest.dir
10749 cat >Imakefile <<'_ACEOF'
10750 incroot:
10751 @echo incroot='${INCROOT}'
10752 usrlibdir:
10753 @echo usrlibdir='${USRLIBDIR}'
10754 libdir:
10755 @echo libdir='${LIBDIR}'
10756 _ACEOF
10757 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10758 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10759 for ac_var in incroot usrlibdir libdir; do
10760 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10761 done
10762 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10763 for ac_extension in a so sl dylib la dll; do
10764 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10765 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10766 ac_im_usrlibdir=$ac_im_libdir; break
10768 done
10769 # Screen out bogus values from the imake configuration. They are
10770 # bogus both because they are the default anyway, and because
10771 # using them would break gcc on systems where it needs fixed includes.
10772 case $ac_im_incroot in
10773 /usr/include) ac_x_includes= ;;
10774 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10775 esac
10776 case $ac_im_usrlibdir in
10777 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10778 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10779 esac
10781 cd ..
10782 rm -f -r conftest.dir
10785 # Standard set of common directories for X headers.
10786 # Check X11 before X11Rn because it is often a symlink to the current release.
10787 ac_x_header_dirs='
10788 /usr/X11/include
10789 /usr/X11R7/include
10790 /usr/X11R6/include
10791 /usr/X11R5/include
10792 /usr/X11R4/include
10794 /usr/include/X11
10795 /usr/include/X11R7
10796 /usr/include/X11R6
10797 /usr/include/X11R5
10798 /usr/include/X11R4
10800 /usr/local/X11/include
10801 /usr/local/X11R7/include
10802 /usr/local/X11R6/include
10803 /usr/local/X11R5/include
10804 /usr/local/X11R4/include
10806 /usr/local/include/X11
10807 /usr/local/include/X11R7
10808 /usr/local/include/X11R6
10809 /usr/local/include/X11R5
10810 /usr/local/include/X11R4
10812 /usr/X386/include
10813 /usr/x386/include
10814 /usr/XFree86/include/X11
10816 /usr/include
10817 /usr/local/include
10818 /usr/unsupported/include
10819 /usr/athena/include
10820 /usr/local/x11r5/include
10821 /usr/lpp/Xamples/include
10823 /usr/openwin/include
10824 /usr/openwin/share/include'
10826 if test "$ac_x_includes" = no; then
10827 # Guess where to find include files, by looking for Xlib.h.
10828 # First, try using that file with no special directory specified.
10829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10830 /* end confdefs.h. */
10831 #include <X11/Xlib.h>
10832 _ACEOF
10833 if ac_fn_c_try_cpp "$LINENO"; then :
10834 # We can compile using X headers with no special include directory.
10835 ac_x_includes=
10836 else
10837 for ac_dir in $ac_x_header_dirs; do
10838 if test -r "$ac_dir/X11/Xlib.h"; then
10839 ac_x_includes=$ac_dir
10840 break
10842 done
10844 rm -f conftest.err conftest.i conftest.$ac_ext
10845 fi # $ac_x_includes = no
10847 if test "$ac_x_libraries" = no; then
10848 # Check for the libraries.
10849 # See if we find them without any special options.
10850 # Don't add to $LIBS permanently.
10851 ac_save_LIBS=$LIBS
10852 LIBS="-lX11 $LIBS"
10853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10854 /* end confdefs.h. */
10855 #include <X11/Xlib.h>
10857 main ()
10859 XrmInitialize ()
10861 return 0;
10863 _ACEOF
10864 if ac_fn_c_try_link "$LINENO"; then :
10865 LIBS=$ac_save_LIBS
10866 # We can link X programs with no special library path.
10867 ac_x_libraries=
10868 else
10869 LIBS=$ac_save_LIBS
10870 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10872 # Don't even attempt the hair of trying to link an X program!
10873 for ac_extension in a so sl dylib la dll; do
10874 if test -r "$ac_dir/libX11.$ac_extension"; then
10875 ac_x_libraries=$ac_dir
10876 break 2
10878 done
10879 done
10881 rm -f core conftest.err conftest.$ac_objext \
10882 conftest$ac_exeext conftest.$ac_ext
10883 fi # $ac_x_libraries = no
10885 case $ac_x_includes,$ac_x_libraries in #(
10886 no,* | *,no | *\'*)
10887 # Didn't find X, or a directory has "'" in its name.
10888 ac_cv_have_x="have_x=no";; #(
10890 # Record where we found X for the cache.
10891 ac_cv_have_x="have_x=yes\
10892 ac_x_includes='$ac_x_includes'\
10893 ac_x_libraries='$ac_x_libraries'"
10894 esac
10896 ;; #(
10897 *) have_x=yes;;
10898 esac
10899 eval "$ac_cv_have_x"
10900 fi # $with_x != no
10902 if test "$have_x" != yes; then
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10904 $as_echo "$have_x" >&6; }
10905 no_x=yes
10906 else
10907 # If each of the values was on the command line, it overrides each guess.
10908 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10909 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10910 # Update the cache value to reflect the command line values.
10911 ac_cv_have_x="have_x=yes\
10912 ac_x_includes='$x_includes'\
10913 ac_x_libraries='$x_libraries'"
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10915 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10918 if test "$no_x" = yes; then
10919 # Not all programs may use this symbol, but it does not hurt to define it.
10921 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10923 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10924 else
10925 if test -n "$x_includes"; then
10926 X_CFLAGS="$X_CFLAGS -I$x_includes"
10929 # It would also be nice to do this for all -L options, not just this one.
10930 if test -n "$x_libraries"; then
10931 X_LIBS="$X_LIBS -L$x_libraries"
10932 # For Solaris; some versions of Sun CC require a space after -R and
10933 # others require no space. Words are not sufficient . . . .
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10935 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10936 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10937 ac_xsave_c_werror_flag=$ac_c_werror_flag
10938 ac_c_werror_flag=yes
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10943 main ()
10947 return 0;
10949 _ACEOF
10950 if ac_fn_c_try_link "$LINENO"; then :
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10952 $as_echo "no" >&6; }
10953 X_LIBS="$X_LIBS -R$x_libraries"
10954 else
10955 LIBS="$ac_xsave_LIBS -R $x_libraries"
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10960 main ()
10964 return 0;
10966 _ACEOF
10967 if ac_fn_c_try_link "$LINENO"; then :
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10969 $as_echo "yes" >&6; }
10970 X_LIBS="$X_LIBS -R $x_libraries"
10971 else
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10973 $as_echo "neither works" >&6; }
10975 rm -f core conftest.err conftest.$ac_objext \
10976 conftest$ac_exeext conftest.$ac_ext
10978 rm -f core conftest.err conftest.$ac_objext \
10979 conftest$ac_exeext conftest.$ac_ext
10980 ac_c_werror_flag=$ac_xsave_c_werror_flag
10981 LIBS=$ac_xsave_LIBS
10984 # Check for system-dependent libraries X programs must link with.
10985 # Do this before checking for the system-independent R6 libraries
10986 # (-lICE), since we may need -lsocket or whatever for X linking.
10988 if test "$ISC" = yes; then
10989 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10990 else
10991 # Martyn Johnson says this is needed for Ultrix, if the X
10992 # libraries were built with DECnet support. And Karl Berry says
10993 # the Alpha needs dnet_stub (dnet does not exist).
10994 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h. */
10998 /* Override any GCC internal prototype to avoid an error.
10999 Use char because int might match the return type of a GCC
11000 builtin and then its argument prototype would still apply. */
11001 #ifdef __cplusplus
11002 extern "C"
11003 #endif
11004 char XOpenDisplay ();
11006 main ()
11008 return XOpenDisplay ();
11010 return 0;
11012 _ACEOF
11013 if ac_fn_c_try_link "$LINENO"; then :
11015 else
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11017 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11018 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11019 $as_echo_n "(cached) " >&6
11020 else
11021 ac_check_lib_save_LIBS=$LIBS
11022 LIBS="-ldnet $LIBS"
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11026 /* Override any GCC internal prototype to avoid an error.
11027 Use char because int might match the return type of a GCC
11028 builtin and then its argument prototype would still apply. */
11029 #ifdef __cplusplus
11030 extern "C"
11031 #endif
11032 char dnet_ntoa ();
11034 main ()
11036 return dnet_ntoa ();
11038 return 0;
11040 _ACEOF
11041 if ac_fn_c_try_link "$LINENO"; then :
11042 ac_cv_lib_dnet_dnet_ntoa=yes
11043 else
11044 ac_cv_lib_dnet_dnet_ntoa=no
11046 rm -f core conftest.err conftest.$ac_objext \
11047 conftest$ac_exeext conftest.$ac_ext
11048 LIBS=$ac_check_lib_save_LIBS
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11051 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11052 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11053 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11056 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11058 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11059 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11060 $as_echo_n "(cached) " >&6
11061 else
11062 ac_check_lib_save_LIBS=$LIBS
11063 LIBS="-ldnet_stub $LIBS"
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11067 /* Override any GCC internal prototype to avoid an error.
11068 Use char because int might match the return type of a GCC
11069 builtin and then its argument prototype would still apply. */
11070 #ifdef __cplusplus
11071 extern "C"
11072 #endif
11073 char dnet_ntoa ();
11075 main ()
11077 return dnet_ntoa ();
11079 return 0;
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"; then :
11083 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11084 else
11085 ac_cv_lib_dnet_stub_dnet_ntoa=no
11087 rm -f core conftest.err conftest.$ac_objext \
11088 conftest$ac_exeext conftest.$ac_ext
11089 LIBS=$ac_check_lib_save_LIBS
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11092 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11093 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11094 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11099 rm -f core conftest.err conftest.$ac_objext \
11100 conftest$ac_exeext conftest.$ac_ext
11101 LIBS="$ac_xsave_LIBS"
11103 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11104 # to get the SysV transport functions.
11105 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11106 # needs -lnsl.
11107 # The nsl library prevents programs from opening the X display
11108 # on Irix 5.2, according to T.E. Dickey.
11109 # The functions gethostbyname, getservbyname, and inet_addr are
11110 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11111 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11112 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11116 if test $ac_cv_func_gethostbyname = no; then
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11118 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11119 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11120 $as_echo_n "(cached) " >&6
11121 else
11122 ac_check_lib_save_LIBS=$LIBS
11123 LIBS="-lnsl $LIBS"
11124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11127 /* Override any GCC internal prototype to avoid an error.
11128 Use char because int might match the return type of a GCC
11129 builtin and then its argument prototype would still apply. */
11130 #ifdef __cplusplus
11131 extern "C"
11132 #endif
11133 char gethostbyname ();
11135 main ()
11137 return gethostbyname ();
11139 return 0;
11141 _ACEOF
11142 if ac_fn_c_try_link "$LINENO"; then :
11143 ac_cv_lib_nsl_gethostbyname=yes
11144 else
11145 ac_cv_lib_nsl_gethostbyname=no
11147 rm -f core conftest.err conftest.$ac_objext \
11148 conftest$ac_exeext conftest.$ac_ext
11149 LIBS=$ac_check_lib_save_LIBS
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11152 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11153 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11154 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11157 if test $ac_cv_lib_nsl_gethostbyname = no; then
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11159 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11160 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11161 $as_echo_n "(cached) " >&6
11162 else
11163 ac_check_lib_save_LIBS=$LIBS
11164 LIBS="-lbsd $LIBS"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11168 /* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11171 #ifdef __cplusplus
11172 extern "C"
11173 #endif
11174 char gethostbyname ();
11176 main ()
11178 return gethostbyname ();
11180 return 0;
11182 _ACEOF
11183 if ac_fn_c_try_link "$LINENO"; then :
11184 ac_cv_lib_bsd_gethostbyname=yes
11185 else
11186 ac_cv_lib_bsd_gethostbyname=no
11188 rm -f core conftest.err conftest.$ac_objext \
11189 conftest$ac_exeext conftest.$ac_ext
11190 LIBS=$ac_check_lib_save_LIBS
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11193 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11194 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11195 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11201 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11202 # socket/setsockopt and other routines are undefined under SCO ODT
11203 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11204 # on later versions), says Simon Leinen: it contains gethostby*
11205 # variants that don't use the name server (or something). -lsocket
11206 # must be given before -lnsl if both are needed. We assume that
11207 # if connect needs -lnsl, so does gethostbyname.
11208 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11209 if test "x$ac_cv_func_connect" = xyes; then :
11213 if test $ac_cv_func_connect = no; then
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11215 $as_echo_n "checking for connect in -lsocket... " >&6; }
11216 if ${ac_cv_lib_socket_connect+:} false; then :
11217 $as_echo_n "(cached) " >&6
11218 else
11219 ac_check_lib_save_LIBS=$LIBS
11220 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11224 /* Override any GCC internal prototype to avoid an error.
11225 Use char because int might match the return type of a GCC
11226 builtin and then its argument prototype would still apply. */
11227 #ifdef __cplusplus
11228 extern "C"
11229 #endif
11230 char connect ();
11232 main ()
11234 return connect ();
11236 return 0;
11238 _ACEOF
11239 if ac_fn_c_try_link "$LINENO"; then :
11240 ac_cv_lib_socket_connect=yes
11241 else
11242 ac_cv_lib_socket_connect=no
11244 rm -f core conftest.err conftest.$ac_objext \
11245 conftest$ac_exeext conftest.$ac_ext
11246 LIBS=$ac_check_lib_save_LIBS
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11249 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11250 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11251 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11256 # Guillermo Gomez says -lposix is necessary on A/UX.
11257 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11258 if test "x$ac_cv_func_remove" = xyes; then :
11262 if test $ac_cv_func_remove = no; then
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11264 $as_echo_n "checking for remove in -lposix... " >&6; }
11265 if ${ac_cv_lib_posix_remove+:} false; then :
11266 $as_echo_n "(cached) " >&6
11267 else
11268 ac_check_lib_save_LIBS=$LIBS
11269 LIBS="-lposix $LIBS"
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11273 /* Override any GCC internal prototype to avoid an error.
11274 Use char because int might match the return type of a GCC
11275 builtin and then its argument prototype would still apply. */
11276 #ifdef __cplusplus
11277 extern "C"
11278 #endif
11279 char remove ();
11281 main ()
11283 return remove ();
11285 return 0;
11287 _ACEOF
11288 if ac_fn_c_try_link "$LINENO"; then :
11289 ac_cv_lib_posix_remove=yes
11290 else
11291 ac_cv_lib_posix_remove=no
11293 rm -f core conftest.err conftest.$ac_objext \
11294 conftest$ac_exeext conftest.$ac_ext
11295 LIBS=$ac_check_lib_save_LIBS
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11298 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11299 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11300 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11305 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11306 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11307 if test "x$ac_cv_func_shmat" = xyes; then :
11311 if test $ac_cv_func_shmat = no; then
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11313 $as_echo_n "checking for shmat in -lipc... " >&6; }
11314 if ${ac_cv_lib_ipc_shmat+:} false; then :
11315 $as_echo_n "(cached) " >&6
11316 else
11317 ac_check_lib_save_LIBS=$LIBS
11318 LIBS="-lipc $LIBS"
11319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11320 /* end confdefs.h. */
11322 /* Override any GCC internal prototype to avoid an error.
11323 Use char because int might match the return type of a GCC
11324 builtin and then its argument prototype would still apply. */
11325 #ifdef __cplusplus
11326 extern "C"
11327 #endif
11328 char shmat ();
11330 main ()
11332 return shmat ();
11334 return 0;
11336 _ACEOF
11337 if ac_fn_c_try_link "$LINENO"; then :
11338 ac_cv_lib_ipc_shmat=yes
11339 else
11340 ac_cv_lib_ipc_shmat=no
11342 rm -f core conftest.err conftest.$ac_objext \
11343 conftest$ac_exeext conftest.$ac_ext
11344 LIBS=$ac_check_lib_save_LIBS
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11347 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11348 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11349 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11355 # Check for libraries that X11R6 Xt/Xaw programs need.
11356 ac_save_LDFLAGS=$LDFLAGS
11357 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11358 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11359 # check for ICE first), but we must link in the order -lSM -lICE or
11360 # we get undefined symbols. So assume we have SM if we have ICE.
11361 # These have to be linked with before -lX11, unlike the other
11362 # libraries we check for below, so use a different variable.
11363 # John Interrante, Karl Berry
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11365 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11366 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11367 $as_echo_n "(cached) " >&6
11368 else
11369 ac_check_lib_save_LIBS=$LIBS
11370 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char IceConnectionNumber ();
11382 main ()
11384 return IceConnectionNumber ();
11386 return 0;
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 ac_cv_lib_ICE_IceConnectionNumber=yes
11391 else
11392 ac_cv_lib_ICE_IceConnectionNumber=no
11394 rm -f core conftest.err conftest.$ac_objext \
11395 conftest$ac_exeext conftest.$ac_ext
11396 LIBS=$ac_check_lib_save_LIBS
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11399 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11400 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11401 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11404 LDFLAGS=$ac_save_LDFLAGS
11409 if test "$have_x" = "yes"
11410 then
11411 ac_save_CPPFLAGS="$CPPFLAGS"
11412 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11415 $as_echo_n "checking for -lX11... " >&6; }
11416 if ${ac_cv_lib_soname_X11+:} false; then :
11417 $as_echo_n "(cached) " >&6
11418 else
11419 ac_check_soname_save_LIBS=$LIBS
11420 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11424 /* Override any GCC internal prototype to avoid an error.
11425 Use char because int might match the return type of a GCC
11426 builtin and then its argument prototype would still apply. */
11427 #ifdef __cplusplus
11428 extern "C"
11429 #endif
11430 char XCreateWindow ();
11432 main ()
11434 return XCreateWindow ();
11436 return 0;
11438 _ACEOF
11439 if ac_fn_c_try_link "$LINENO"; then :
11440 case "$LIBEXT" in
11441 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11442 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'` ;;
11443 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11444 if ${ac_cv_lib_soname_X11:+false} :; then :
11445 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11446 fi ;;
11447 esac
11448 else
11449 ac_cv_lib_soname_X11=
11451 rm -f core conftest.err conftest.$ac_objext \
11452 conftest$ac_exeext conftest.$ac_ext
11453 LIBS=$ac_check_soname_save_LIBS
11455 if ${ac_cv_lib_soname_X11:+false} :; then :
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11457 $as_echo "not found" >&6; }
11459 else
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11461 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11463 cat >>confdefs.h <<_ACEOF
11464 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11465 _ACEOF
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11470 $as_echo_n "checking for -lXext... " >&6; }
11471 if ${ac_cv_lib_soname_Xext+:} false; then :
11472 $as_echo_n "(cached) " >&6
11473 else
11474 ac_check_soname_save_LIBS=$LIBS
11475 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11479 /* Override any GCC internal prototype to avoid an error.
11480 Use char because int might match the return type of a GCC
11481 builtin and then its argument prototype would still apply. */
11482 #ifdef __cplusplus
11483 extern "C"
11484 #endif
11485 char XextCreateExtension ();
11487 main ()
11489 return XextCreateExtension ();
11491 return 0;
11493 _ACEOF
11494 if ac_fn_c_try_link "$LINENO"; then :
11495 case "$LIBEXT" in
11496 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11497 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'` ;;
11498 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11499 if ${ac_cv_lib_soname_Xext:+false} :; then :
11500 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11501 fi ;;
11502 esac
11503 else
11504 ac_cv_lib_soname_Xext=
11506 rm -f core conftest.err conftest.$ac_objext \
11507 conftest$ac_exeext conftest.$ac_ext
11508 LIBS=$ac_check_soname_save_LIBS
11510 if ${ac_cv_lib_soname_Xext:+false} :; then :
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11512 $as_echo "not found" >&6; }
11514 else
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11516 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11518 cat >>confdefs.h <<_ACEOF
11519 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11520 _ACEOF
11522 X_LIBS="$X_LIBS -lXext"
11524 X_LIBS="$X_LIBS -lX11"
11526 for ac_header in X11/Xlib.h \
11527 X11/XKBlib.h \
11528 X11/Xutil.h \
11529 X11/Xcursor/Xcursor.h \
11530 X11/extensions/shape.h \
11531 X11/extensions/XInput.h \
11532 X11/extensions/XInput2.h \
11533 X11/extensions/XShm.h \
11534 X11/extensions/Xcomposite.h \
11535 X11/extensions/Xfixes.h \
11536 X11/extensions/Xinerama.h \
11537 X11/extensions/Xrandr.h \
11538 X11/extensions/Xrender.h \
11539 X11/extensions/xf86vmode.h \
11540 X11/extensions/xf86vmproto.h
11541 do :
11542 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11543 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11544 # include <X11/Xlib.h>
11545 #endif
11546 #ifdef HAVE_X11_XUTIL_H
11547 # include <X11/Xutil.h>
11548 #endif
11550 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11551 cat >>confdefs.h <<_ACEOF
11552 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11553 _ACEOF
11557 done
11560 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11561 then
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11563 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11564 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11565 $as_echo_n "(cached) " >&6
11566 else
11567 ac_check_lib_save_LIBS=$LIBS
11568 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11572 /* Override any GCC internal prototype to avoid an error.
11573 Use char because int might match the return type of a GCC
11574 builtin and then its argument prototype would still apply. */
11575 #ifdef __cplusplus
11576 extern "C"
11577 #endif
11578 char XkbQueryExtension ();
11580 main ()
11582 return XkbQueryExtension ();
11584 return 0;
11586 _ACEOF
11587 if ac_fn_c_try_link "$LINENO"; then :
11588 ac_cv_lib_X11_XkbQueryExtension=yes
11589 else
11590 ac_cv_lib_X11_XkbQueryExtension=no
11592 rm -f core conftest.err conftest.$ac_objext \
11593 conftest$ac_exeext conftest.$ac_ext
11594 LIBS=$ac_check_lib_save_LIBS
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11597 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11598 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11600 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11606 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11607 then
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11609 $as_echo_n "checking for -lXcursor... " >&6; }
11610 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11611 $as_echo_n "(cached) " >&6
11612 else
11613 ac_check_soname_save_LIBS=$LIBS
11614 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11616 /* end confdefs.h. */
11618 /* Override any GCC internal prototype to avoid an error.
11619 Use char because int might match the return type of a GCC
11620 builtin and then its argument prototype would still apply. */
11621 #ifdef __cplusplus
11622 extern "C"
11623 #endif
11624 char XcursorImageLoadCursor ();
11626 main ()
11628 return XcursorImageLoadCursor ();
11630 return 0;
11632 _ACEOF
11633 if ac_fn_c_try_link "$LINENO"; then :
11634 case "$LIBEXT" in
11635 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11636 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'` ;;
11637 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11638 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11639 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11640 fi ;;
11641 esac
11642 else
11643 ac_cv_lib_soname_Xcursor=
11645 rm -f core conftest.err conftest.$ac_objext \
11646 conftest$ac_exeext conftest.$ac_ext
11647 LIBS=$ac_check_soname_save_LIBS
11649 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11651 $as_echo "not found" >&6; }
11653 else
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11655 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11657 cat >>confdefs.h <<_ACEOF
11658 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11659 _ACEOF
11664 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11665 case "x$with_xcursor" in
11666 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11667 xno) ;;
11668 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11669 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11670 esac
11674 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11675 then
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11677 $as_echo_n "checking for -lXi... " >&6; }
11678 if ${ac_cv_lib_soname_Xi+:} false; then :
11679 $as_echo_n "(cached) " >&6
11680 else
11681 ac_check_soname_save_LIBS=$LIBS
11682 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11684 /* end confdefs.h. */
11686 /* Override any GCC internal prototype to avoid an error.
11687 Use char because int might match the return type of a GCC
11688 builtin and then its argument prototype would still apply. */
11689 #ifdef __cplusplus
11690 extern "C"
11691 #endif
11692 char XOpenDevice ();
11694 main ()
11696 return XOpenDevice ();
11698 return 0;
11700 _ACEOF
11701 if ac_fn_c_try_link "$LINENO"; then :
11702 case "$LIBEXT" in
11703 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11704 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'` ;;
11705 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11706 if ${ac_cv_lib_soname_Xi:+false} :; then :
11707 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11708 fi ;;
11709 esac
11710 else
11711 ac_cv_lib_soname_Xi=
11713 rm -f core conftest.err conftest.$ac_objext \
11714 conftest$ac_exeext conftest.$ac_ext
11715 LIBS=$ac_check_soname_save_LIBS
11717 if ${ac_cv_lib_soname_Xi:+false} :; then :
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11719 $as_echo "not found" >&6; }
11721 else
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11723 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11725 cat >>confdefs.h <<_ACEOF
11726 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11727 _ACEOF
11732 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11733 case "x$with_xinput" in
11734 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11735 xno) ;;
11736 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11737 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11738 esac
11742 if test "x$ac_cv_lib_soname_Xi" != x
11743 then
11744 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11745 case "x$with_xinput2" in
11746 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11747 xno) ;;
11748 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11749 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11750 esac
11755 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11756 then
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11758 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11759 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11760 $as_echo_n "(cached) " >&6
11761 else
11762 ac_check_lib_save_LIBS=$LIBS
11763 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11767 /* Override any GCC internal prototype to avoid an error.
11768 Use char because int might match the return type of a GCC
11769 builtin and then its argument prototype would still apply. */
11770 #ifdef __cplusplus
11771 extern "C"
11772 #endif
11773 char XShmQueryExtension ();
11775 main ()
11777 return XShmQueryExtension ();
11779 return 0;
11781 _ACEOF
11782 if ac_fn_c_try_link "$LINENO"; then :
11783 ac_cv_lib_Xext_XShmQueryExtension=yes
11784 else
11785 ac_cv_lib_Xext_XShmQueryExtension=no
11787 rm -f core conftest.err conftest.$ac_objext \
11788 conftest$ac_exeext conftest.$ac_ext
11789 LIBS=$ac_check_lib_save_LIBS
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11792 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11793 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11795 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11800 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11801 case "x$with_xshm" in
11802 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11803 xno) ;;
11804 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11805 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11806 esac
11810 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11811 then
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11813 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11814 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11815 $as_echo_n "(cached) " >&6
11816 else
11817 ac_check_lib_save_LIBS=$LIBS
11818 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11820 /* end confdefs.h. */
11822 /* Override any GCC internal prototype to avoid an error.
11823 Use char because int might match the return type of a GCC
11824 builtin and then its argument prototype would still apply. */
11825 #ifdef __cplusplus
11826 extern "C"
11827 #endif
11828 char XShapeQueryExtension ();
11830 main ()
11832 return XShapeQueryExtension ();
11834 return 0;
11836 _ACEOF
11837 if ac_fn_c_try_link "$LINENO"; then :
11838 ac_cv_lib_Xext_XShapeQueryExtension=yes
11839 else
11840 ac_cv_lib_Xext_XShapeQueryExtension=no
11842 rm -f core conftest.err conftest.$ac_objext \
11843 conftest$ac_exeext conftest.$ac_ext
11844 LIBS=$ac_check_lib_save_LIBS
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11847 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11848 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11850 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11855 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11856 case "x$with_xshape" in
11857 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11858 xno) ;;
11859 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11860 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11861 esac
11865 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11866 then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11868 $as_echo_n "checking for -lXxf86vm... " >&6; }
11869 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11870 $as_echo_n "(cached) " >&6
11871 else
11872 ac_check_soname_save_LIBS=$LIBS
11873 LIBS="-lXxf86vm $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 XF86VidModeQueryExtension ();
11885 main ()
11887 return XF86VidModeQueryExtension ();
11889 return 0;
11891 _ACEOF
11892 if ac_fn_c_try_link "$LINENO"; then :
11893 case "$LIBEXT" in
11894 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11895 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'` ;;
11896 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11897 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11898 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11899 fi ;;
11900 esac
11901 else
11902 ac_cv_lib_soname_Xxf86vm=
11904 rm -f core conftest.err conftest.$ac_objext \
11905 conftest$ac_exeext conftest.$ac_ext
11906 LIBS=$ac_check_soname_save_LIBS
11908 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11910 $as_echo "not found" >&6; }
11912 else
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11914 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11916 cat >>confdefs.h <<_ACEOF
11917 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11918 _ACEOF
11923 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11924 case "x$with_xxf86vm" in
11925 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11926 xno) ;;
11927 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11928 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11929 esac
11933 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11934 then
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11936 $as_echo_n "checking for -lXrender... " >&6; }
11937 if ${ac_cv_lib_soname_Xrender+:} false; then :
11938 $as_echo_n "(cached) " >&6
11939 else
11940 ac_check_soname_save_LIBS=$LIBS
11941 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11945 /* Override any GCC internal prototype to avoid an error.
11946 Use char because int might match the return type of a GCC
11947 builtin and then its argument prototype would still apply. */
11948 #ifdef __cplusplus
11949 extern "C"
11950 #endif
11951 char XRenderQueryExtension ();
11953 main ()
11955 return XRenderQueryExtension ();
11957 return 0;
11959 _ACEOF
11960 if ac_fn_c_try_link "$LINENO"; then :
11961 case "$LIBEXT" in
11962 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11963 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'` ;;
11964 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11965 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11966 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11967 fi ;;
11968 esac
11969 else
11970 ac_cv_lib_soname_Xrender=
11972 rm -f core conftest.err conftest.$ac_objext \
11973 conftest$ac_exeext conftest.$ac_ext
11974 LIBS=$ac_check_soname_save_LIBS
11976 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11978 $as_echo "not found" >&6; }
11980 else
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11982 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11984 cat >>confdefs.h <<_ACEOF
11985 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11986 _ACEOF
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11989 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11990 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11991 $as_echo_n "(cached) " >&6
11992 else
11993 ac_check_lib_save_LIBS=$LIBS
11994 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11998 /* Override any GCC internal prototype to avoid an error.
11999 Use char because int might match the return type of a GCC
12000 builtin and then its argument prototype would still apply. */
12001 #ifdef __cplusplus
12002 extern "C"
12003 #endif
12004 char XRenderSetPictureTransform ();
12006 main ()
12008 return XRenderSetPictureTransform ();
12010 return 0;
12012 _ACEOF
12013 if ac_fn_c_try_link "$LINENO"; then :
12014 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12015 else
12016 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12018 rm -f core conftest.err conftest.$ac_objext \
12019 conftest$ac_exeext conftest.$ac_ext
12020 LIBS=$ac_check_lib_save_LIBS
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12023 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12024 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12026 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12031 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12032 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12033 $as_echo_n "(cached) " >&6
12034 else
12035 ac_check_lib_save_LIBS=$LIBS
12036 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12040 /* Override any GCC internal prototype to avoid an error.
12041 Use char because int might match the return type of a GCC
12042 builtin and then its argument prototype would still apply. */
12043 #ifdef __cplusplus
12044 extern "C"
12045 #endif
12046 char XRenderCreateLinearGradient ();
12048 main ()
12050 return XRenderCreateLinearGradient ();
12052 return 0;
12054 _ACEOF
12055 if ac_fn_c_try_link "$LINENO"; then :
12056 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12057 else
12058 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12060 rm -f core conftest.err conftest.$ac_objext \
12061 conftest$ac_exeext conftest.$ac_ext
12062 LIBS=$ac_check_lib_save_LIBS
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12065 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12066 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12068 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12075 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12076 case "x$with_xrender" in
12077 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12078 xno) ;;
12079 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12080 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12081 esac
12085 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12086 then
12087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12089 #include <X11/Xlib.h>
12090 #include <X11/extensions/Xrandr.h>
12092 main ()
12094 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12096 return 0;
12098 _ACEOF
12099 if ac_fn_c_try_compile "$LINENO"; then :
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12101 $as_echo_n "checking for -lXrandr... " >&6; }
12102 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12103 $as_echo_n "(cached) " >&6
12104 else
12105 ac_check_soname_save_LIBS=$LIBS
12106 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12110 /* Override any GCC internal prototype to avoid an error.
12111 Use char because int might match the return type of a GCC
12112 builtin and then its argument prototype would still apply. */
12113 #ifdef __cplusplus
12114 extern "C"
12115 #endif
12116 char XRRQueryExtension ();
12118 main ()
12120 return XRRQueryExtension ();
12122 return 0;
12124 _ACEOF
12125 if ac_fn_c_try_link "$LINENO"; then :
12126 case "$LIBEXT" in
12127 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12128 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'` ;;
12129 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12130 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12131 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12132 fi ;;
12133 esac
12134 else
12135 ac_cv_lib_soname_Xrandr=
12137 rm -f core conftest.err conftest.$ac_objext \
12138 conftest$ac_exeext conftest.$ac_ext
12139 LIBS=$ac_check_soname_save_LIBS
12141 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12143 $as_echo "not found" >&6; }
12145 else
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12147 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12149 cat >>confdefs.h <<_ACEOF
12150 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12151 _ACEOF
12153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12154 /* end confdefs.h. */
12155 #include <X11/Xlib.h>
12156 #include <X11/extensions/Xrandr.h>
12158 main ()
12160 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12162 return 0;
12164 _ACEOF
12165 if ac_fn_c_try_compile "$LINENO"; then :
12167 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12169 else
12170 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12177 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12178 case "x$with_xrandr" in
12179 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12180 xno) ;;
12181 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12182 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12183 esac
12187 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12188 then
12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12191 #include <X11/Xlib.h>
12192 #include <X11/extensions/Xfixes.h>
12194 main ()
12196 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12198 return 0;
12200 _ACEOF
12201 if ac_fn_c_try_compile "$LINENO"; then :
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12203 $as_echo_n "checking for -lXfixes... " >&6; }
12204 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12205 $as_echo_n "(cached) " >&6
12206 else
12207 ac_check_soname_save_LIBS=$LIBS
12208 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12212 /* Override any GCC internal prototype to avoid an error.
12213 Use char because int might match the return type of a GCC
12214 builtin and then its argument prototype would still apply. */
12215 #ifdef __cplusplus
12216 extern "C"
12217 #endif
12218 char XFixesQueryVersion ();
12220 main ()
12222 return XFixesQueryVersion ();
12224 return 0;
12226 _ACEOF
12227 if ac_fn_c_try_link "$LINENO"; then :
12228 case "$LIBEXT" in
12229 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12230 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'` ;;
12231 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12232 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12233 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12234 fi ;;
12235 esac
12236 else
12237 ac_cv_lib_soname_Xfixes=
12239 rm -f core conftest.err conftest.$ac_objext \
12240 conftest$ac_exeext conftest.$ac_ext
12241 LIBS=$ac_check_soname_save_LIBS
12243 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12245 $as_echo "not found" >&6; }
12247 else
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12249 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12251 cat >>confdefs.h <<_ACEOF
12252 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12253 _ACEOF
12258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12260 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12261 case "x$with_xfixes" in
12262 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12263 xno) ;;
12264 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12265 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12266 esac
12270 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12271 then
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12274 #include <X11/Xlib.h>
12275 #include <X11/extensions/Xinerama.h>
12277 main ()
12279 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12281 return 0;
12283 _ACEOF
12284 if ac_fn_c_try_compile "$LINENO"; then :
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12286 $as_echo_n "checking for -lXinerama... " >&6; }
12287 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12288 $as_echo_n "(cached) " >&6
12289 else
12290 ac_check_soname_save_LIBS=$LIBS
12291 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12298 #ifdef __cplusplus
12299 extern "C"
12300 #endif
12301 char XineramaQueryScreens ();
12303 main ()
12305 return XineramaQueryScreens ();
12307 return 0;
12309 _ACEOF
12310 if ac_fn_c_try_link "$LINENO"; then :
12311 case "$LIBEXT" in
12312 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12313 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'` ;;
12314 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12315 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12316 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12317 fi ;;
12318 esac
12319 else
12320 ac_cv_lib_soname_Xinerama=
12322 rm -f core conftest.err conftest.$ac_objext \
12323 conftest$ac_exeext conftest.$ac_ext
12324 LIBS=$ac_check_soname_save_LIBS
12326 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12328 $as_echo "not found" >&6; }
12330 else
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12332 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12334 cat >>confdefs.h <<_ACEOF
12335 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12336 _ACEOF
12341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12343 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12344 case "x$with_xinerama" in
12345 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12346 xno) ;;
12347 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12348 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12349 esac
12353 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12354 then
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12356 $as_echo_n "checking for -lXcomposite... " >&6; }
12357 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12358 $as_echo_n "(cached) " >&6
12359 else
12360 ac_check_soname_save_LIBS=$LIBS
12361 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12365 /* Override any GCC internal prototype to avoid an error.
12366 Use char because int might match the return type of a GCC
12367 builtin and then its argument prototype would still apply. */
12368 #ifdef __cplusplus
12369 extern "C"
12370 #endif
12371 char XCompositeRedirectWindow ();
12373 main ()
12375 return XCompositeRedirectWindow ();
12377 return 0;
12379 _ACEOF
12380 if ac_fn_c_try_link "$LINENO"; then :
12381 case "$LIBEXT" in
12382 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12383 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'` ;;
12384 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12385 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12386 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12387 fi ;;
12388 esac
12389 else
12390 ac_cv_lib_soname_Xcomposite=
12392 rm -f core conftest.err conftest.$ac_objext \
12393 conftest$ac_exeext conftest.$ac_ext
12394 LIBS=$ac_check_soname_save_LIBS
12396 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12398 $as_echo "not found" >&6; }
12400 else
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12402 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12404 cat >>confdefs.h <<_ACEOF
12405 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12406 _ACEOF
12411 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12412 case "x$with_xcomposite" in
12413 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12414 xno) ;;
12415 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12416 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12417 esac
12421 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12422 #include <X11/Xlib.h>
12423 #endif
12425 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12427 cat >>confdefs.h <<_ACEOF
12428 #define HAVE_XICCALLBACK_CALLBACK 1
12429 _ACEOF
12433 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12434 #include <X11/Xlib.h>
12435 #endif
12437 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12439 cat >>confdefs.h <<_ACEOF
12440 #define HAVE_XEVENT_XCOOKIE 1
12441 _ACEOF
12448 opengl_msg=""
12449 if test "x$with_opengl" != "xno"
12450 then
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12452 $as_echo_n "checking for -lGL... " >&6; }
12453 if ${ac_cv_lib_soname_GL+:} false; then :
12454 $as_echo_n "(cached) " >&6
12455 else
12456 ac_check_soname_save_LIBS=$LIBS
12457 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12464 #ifdef __cplusplus
12465 extern "C"
12466 #endif
12467 char glXCreateContext ();
12469 main ()
12471 return glXCreateContext ();
12473 return 0;
12475 _ACEOF
12476 if ac_fn_c_try_link "$LINENO"; then :
12477 case "$LIBEXT" in
12478 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12479 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'` ;;
12480 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12481 if ${ac_cv_lib_soname_GL:+false} :; then :
12482 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12483 fi ;;
12484 esac
12485 else
12486 ac_cv_lib_soname_GL=
12488 rm -f core conftest.err conftest.$ac_objext \
12489 conftest$ac_exeext conftest.$ac_ext
12490 LIBS=$ac_check_soname_save_LIBS
12492 if ${ac_cv_lib_soname_GL:+false} :; then :
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12494 $as_echo "not found" >&6; }
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12496 $as_echo_n "checking for -lGL... " >&6; }
12497 if ${ac_cv_lib_soname_GL+:} false; then :
12498 $as_echo_n "(cached) " >&6
12499 else
12500 ac_check_soname_save_LIBS=$LIBS
12501 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"
12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12505 /* Override any GCC internal prototype to avoid an error.
12506 Use char because int might match the return type of a GCC
12507 builtin and then its argument prototype would still apply. */
12508 #ifdef __cplusplus
12509 extern "C"
12510 #endif
12511 char glXCreateContext ();
12513 main ()
12515 return glXCreateContext ();
12517 return 0;
12519 _ACEOF
12520 if ac_fn_c_try_link "$LINENO"; then :
12521 case "$LIBEXT" in
12522 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12523 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'` ;;
12524 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12525 if ${ac_cv_lib_soname_GL:+false} :; then :
12526 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12527 fi ;;
12528 esac
12529 else
12530 ac_cv_lib_soname_GL=
12532 rm -f core conftest.err conftest.$ac_objext \
12533 conftest$ac_exeext conftest.$ac_ext
12534 LIBS=$ac_check_soname_save_LIBS
12536 if ${ac_cv_lib_soname_GL:+false} :; then :
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12538 $as_echo "not found" >&6; }
12539 if test -f /usr/X11R6/lib/libGL.a
12540 then
12541 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12542 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12543 else
12544 opengl_msg="No OpenGL library found on this system."
12546 else
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12548 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12550 cat >>confdefs.h <<_ACEOF
12551 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12552 _ACEOF
12554 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"
12556 else
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12558 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12560 cat >>confdefs.h <<_ACEOF
12561 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12562 _ACEOF
12564 OPENGL_LIBS="-lGL"
12566 if test "x$with_glu" != "xno"
12567 then
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12569 $as_echo_n "checking for -lGLU... " >&6; }
12570 if ${ac_cv_lib_soname_GLU+:} false; then :
12571 $as_echo_n "(cached) " >&6
12572 else
12573 ac_check_soname_save_LIBS=$LIBS
12574 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12578 /* Override any GCC internal prototype to avoid an error.
12579 Use char because int might match the return type of a GCC
12580 builtin and then its argument prototype would still apply. */
12581 #ifdef __cplusplus
12582 extern "C"
12583 #endif
12584 char gluLookAt ();
12586 main ()
12588 return gluLookAt ();
12590 return 0;
12592 _ACEOF
12593 if ac_fn_c_try_link "$LINENO"; then :
12594 case "$LIBEXT" in
12595 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12596 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12597 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12598 if ${ac_cv_lib_soname_GLU:+false} :; then :
12599 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12600 fi ;;
12601 esac
12602 else
12603 ac_cv_lib_soname_GLU=
12605 rm -f core conftest.err conftest.$ac_objext \
12606 conftest$ac_exeext conftest.$ac_ext
12607 LIBS=$ac_check_soname_save_LIBS
12609 if ${ac_cv_lib_soname_GLU:+false} :; then :
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12611 $as_echo "not found" >&6; }
12613 else
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12615 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12617 cat >>confdefs.h <<_ACEOF
12618 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12619 _ACEOF
12623 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12624 case "x$with_glu" in
12625 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12626 xno) ;;
12627 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12628 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12629 esac
12634 if test "x$with_osmesa" != "xno"
12635 then
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12637 $as_echo_n "checking for -lOSMesa... " >&6; }
12638 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12639 $as_echo_n "(cached) " >&6
12640 else
12641 ac_check_soname_save_LIBS=$LIBS
12642 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12646 /* Override any GCC internal prototype to avoid an error.
12647 Use char because int might match the return type of a GCC
12648 builtin and then its argument prototype would still apply. */
12649 #ifdef __cplusplus
12650 extern "C"
12651 #endif
12652 char OSMesaGetProcAddress ();
12654 main ()
12656 return OSMesaGetProcAddress ();
12658 return 0;
12660 _ACEOF
12661 if ac_fn_c_try_link "$LINENO"; then :
12662 case "$LIBEXT" in
12663 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12664 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'` ;;
12665 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12666 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12667 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12668 fi ;;
12669 esac
12670 else
12671 ac_cv_lib_soname_OSMesa=
12673 rm -f core conftest.err conftest.$ac_objext \
12674 conftest$ac_exeext conftest.$ac_ext
12675 LIBS=$ac_check_soname_save_LIBS
12677 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12679 $as_echo "not found" >&6; }
12681 else
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12683 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12685 cat >>confdefs.h <<_ACEOF
12686 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12687 _ACEOF
12691 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12692 case "x$with_osmesa" in
12693 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12694 xno) ;;
12695 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12696 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12697 esac
12702 if test -n "$opengl_msg"; then :
12703 case "x$with_opengl" in
12704 x) as_fn_append wine_warnings "|$opengl_msg
12705 OpenGL and Direct3D won't be supported." ;;
12706 xno) ;;
12707 *) as_fn_error $? "$opengl_msg
12708 OpenGL and Direct3D won't be supported.
12709 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12710 esac
12714 CPPFLAGS="$ac_save_CPPFLAGS"
12715 else
12716 X_CFLAGS=""
12717 X_LIBS=""
12720 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12721 then
12722 if test "x$X_LIBS" = "x"; then :
12723 case "x$with_x" in
12724 xno) ;;
12725 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12726 without X support, which probably isn't what you want. You will need
12727 to install ${notice_platform}development packages of Xlib at the very least.
12728 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12729 esac
12730 enable_winex11_drv=${enable_winex11_drv:-no}
12732 else
12733 if test "x$X_LIBS" = "x"; then :
12734 case "x$with_x" in
12735 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12736 xno) ;;
12737 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12738 This is an error since --with-x was requested." "$LINENO" 5 ;;
12739 esac
12740 enable_winex11_drv=${enable_winex11_drv:-no}
12744 if test "$ac_cv_header_CL_cl_h" = "yes"
12745 then
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12747 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12748 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12749 $as_echo_n "(cached) " >&6
12750 else
12751 ac_check_lib_save_LIBS=$LIBS
12752 LIBS="-lOpenCL $LIBS"
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12756 /* Override any GCC internal prototype to avoid an error.
12757 Use char because int might match the return type of a GCC
12758 builtin and then its argument prototype would still apply. */
12759 #ifdef __cplusplus
12760 extern "C"
12761 #endif
12762 char clGetPlatformInfo ();
12764 main ()
12766 return clGetPlatformInfo ();
12768 return 0;
12770 _ACEOF
12771 if ac_fn_c_try_link "$LINENO"; then :
12772 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12773 else
12774 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12776 rm -f core conftest.err conftest.$ac_objext \
12777 conftest$ac_exeext conftest.$ac_ext
12778 LIBS=$ac_check_lib_save_LIBS
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12781 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12782 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12783 OPENCL_LIBS="-lOpenCL"
12788 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12789 case "x$with_opencl" in
12790 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12791 xno) ;;
12792 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12793 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12794 esac
12795 enable_opencl=${enable_opencl:-no}
12798 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12799 then
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12801 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12802 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12803 $as_echo_n "(cached) " >&6
12804 else
12805 ac_check_lib_save_LIBS=$LIBS
12806 LIBS="-lpcap $LIBS"
12807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12810 /* Override any GCC internal prototype to avoid an error.
12811 Use char because int might match the return type of a GCC
12812 builtin and then its argument prototype would still apply. */
12813 #ifdef __cplusplus
12814 extern "C"
12815 #endif
12816 char pcap_create ();
12818 main ()
12820 return pcap_create ();
12822 return 0;
12824 _ACEOF
12825 if ac_fn_c_try_link "$LINENO"; then :
12826 ac_cv_lib_pcap_pcap_create=yes
12827 else
12828 ac_cv_lib_pcap_pcap_create=no
12830 rm -f core conftest.err conftest.$ac_objext \
12831 conftest$ac_exeext conftest.$ac_ext
12832 LIBS=$ac_check_lib_save_LIBS
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12835 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12836 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12837 PCAP_LIBS="-lpcap"
12842 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12843 case "x$with_pcap" in
12844 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12845 xno) ;;
12846 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12847 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12848 esac
12849 enable_wpcap=${enable_wpcap:-no}
12853 if test "x$with_xml" != "xno"
12854 then
12855 if ${XML2_CFLAGS:+false} :; then :
12856 if ${PKG_CONFIG+:} false; then :
12857 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12860 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12861 if ${XML2_LIBS:+false} :; then :
12862 if ${PKG_CONFIG+:} false; then :
12863 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12866 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12867 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12868 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12869 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12870 ac_save_CPPFLAGS=$CPPFLAGS
12871 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12872 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12873 do :
12874 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12875 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12876 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12877 cat >>confdefs.h <<_ACEOF
12878 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12879 _ACEOF
12883 done
12885 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
12886 then
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12888 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12889 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12890 $as_echo_n "(cached) " >&6
12891 else
12892 ac_check_lib_save_LIBS=$LIBS
12893 LIBS="-lxml2 $XML2_LIBS $LIBS"
12894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12897 /* Override any GCC internal prototype to avoid an error.
12898 Use char because int might match the return type of a GCC
12899 builtin and then its argument prototype would still apply. */
12900 #ifdef __cplusplus
12901 extern "C"
12902 #endif
12903 char xmlParseMemory ();
12905 main ()
12907 return xmlParseMemory ();
12909 return 0;
12911 _ACEOF
12912 if ac_fn_c_try_link "$LINENO"; then :
12913 ac_cv_lib_xml2_xmlParseMemory=yes
12914 else
12915 ac_cv_lib_xml2_xmlParseMemory=no
12917 rm -f core conftest.err conftest.$ac_objext \
12918 conftest$ac_exeext conftest.$ac_ext
12919 LIBS=$ac_check_lib_save_LIBS
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12922 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12923 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12925 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12927 else
12928 XML2_LIBS=""
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12932 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12933 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12934 $as_echo_n "(cached) " >&6
12935 else
12936 ac_check_lib_save_LIBS=$LIBS
12937 LIBS="-lxml2 $XML2_LIBS $LIBS"
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12941 /* Override any GCC internal prototype to avoid an error.
12942 Use char because int might match the return type of a GCC
12943 builtin and then its argument prototype would still apply. */
12944 #ifdef __cplusplus
12945 extern "C"
12946 #endif
12947 char xmlReadMemory ();
12949 main ()
12951 return xmlReadMemory ();
12953 return 0;
12955 _ACEOF
12956 if ac_fn_c_try_link "$LINENO"; then :
12957 ac_cv_lib_xml2_xmlReadMemory=yes
12958 else
12959 ac_cv_lib_xml2_xmlReadMemory=no
12961 rm -f core conftest.err conftest.$ac_objext \
12962 conftest$ac_exeext conftest.$ac_ext
12963 LIBS=$ac_check_lib_save_LIBS
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12966 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12967 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12969 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12974 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12975 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12976 $as_echo_n "(cached) " >&6
12977 else
12978 ac_check_lib_save_LIBS=$LIBS
12979 LIBS="-lxml2 $XML2_LIBS $LIBS"
12980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12983 /* Override any GCC internal prototype to avoid an error.
12984 Use char because int might match the return type of a GCC
12985 builtin and then its argument prototype would still apply. */
12986 #ifdef __cplusplus
12987 extern "C"
12988 #endif
12989 char xmlNewDocPI ();
12991 main ()
12993 return xmlNewDocPI ();
12995 return 0;
12997 _ACEOF
12998 if ac_fn_c_try_link "$LINENO"; then :
12999 ac_cv_lib_xml2_xmlNewDocPI=yes
13000 else
13001 ac_cv_lib_xml2_xmlNewDocPI=no
13003 rm -f core conftest.err conftest.$ac_objext \
13004 conftest$ac_exeext conftest.$ac_ext
13005 LIBS=$ac_check_lib_save_LIBS
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13008 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13009 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13011 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13016 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13017 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13018 $as_echo_n "(cached) " >&6
13019 else
13020 ac_check_lib_save_LIBS=$LIBS
13021 LIBS="-lxml2 $XML2_LIBS $LIBS"
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13025 /* Override any GCC internal prototype to avoid an error.
13026 Use char because int might match the return type of a GCC
13027 builtin and then its argument prototype would still apply. */
13028 #ifdef __cplusplus
13029 extern "C"
13030 #endif
13031 char xmlSchemaSetParserStructuredErrors ();
13033 main ()
13035 return xmlSchemaSetParserStructuredErrors ();
13037 return 0;
13039 _ACEOF
13040 if ac_fn_c_try_link "$LINENO"; then :
13041 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13042 else
13043 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13045 rm -f core conftest.err conftest.$ac_objext \
13046 conftest$ac_exeext conftest.$ac_ext
13047 LIBS=$ac_check_lib_save_LIBS
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13050 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13051 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13053 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13058 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13059 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13060 $as_echo_n "(cached) " >&6
13061 else
13062 ac_check_lib_save_LIBS=$LIBS
13063 LIBS="-lxml2 $XML2_LIBS $LIBS"
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13067 /* Override any GCC internal prototype to avoid an error.
13068 Use char because int might match the return type of a GCC
13069 builtin and then its argument prototype would still apply. */
13070 #ifdef __cplusplus
13071 extern "C"
13072 #endif
13073 char xmlSchemaSetValidStructuredErrors ();
13075 main ()
13077 return xmlSchemaSetValidStructuredErrors ();
13079 return 0;
13081 _ACEOF
13082 if ac_fn_c_try_link "$LINENO"; then :
13083 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13084 else
13085 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13087 rm -f core conftest.err conftest.$ac_objext \
13088 conftest$ac_exeext conftest.$ac_ext
13089 LIBS=$ac_check_lib_save_LIBS
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13092 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13093 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13095 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13100 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13101 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13102 $as_echo_n "(cached) " >&6
13103 else
13104 ac_check_lib_save_LIBS=$LIBS
13105 LIBS="-lxml2 $XML2_LIBS $LIBS"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13112 #ifdef __cplusplus
13113 extern "C"
13114 #endif
13115 char xmlFirstElementChild ();
13117 main ()
13119 return xmlFirstElementChild ();
13121 return 0;
13123 _ACEOF
13124 if ac_fn_c_try_link "$LINENO"; then :
13125 ac_cv_lib_xml2_xmlFirstElementChild=yes
13126 else
13127 ac_cv_lib_xml2_xmlFirstElementChild=no
13129 rm -f core conftest.err conftest.$ac_objext \
13130 conftest$ac_exeext conftest.$ac_ext
13131 LIBS=$ac_check_lib_save_LIBS
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13134 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13135 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13137 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13141 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13143 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13145 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13149 else
13150 XML2_CFLAGS=""
13151 XML2_LIBS=""
13153 CPPFLAGS=$ac_save_CPPFLAGS
13156 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13157 case "x$with_xml" in
13158 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13159 xno) ;;
13160 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13161 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13162 esac
13166 if test "x$with_xslt" != "xno"
13167 then
13168 if ${XSLT_CFLAGS:+false} :; then :
13169 if ${PKG_CONFIG+:} false; then :
13170 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13173 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13174 if ${XSLT_LIBS:+false} :; then :
13175 if ${PKG_CONFIG+:} false; then :
13176 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13179 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13180 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13181 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13182 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13183 ac_save_CPPFLAGS=$CPPFLAGS
13184 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13185 for ac_header in libxslt/pattern.h libxslt/transform.h
13186 do :
13187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13188 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13189 # include <libxslt/pattern.h>
13190 #endif
13192 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13193 cat >>confdefs.h <<_ACEOF
13194 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13195 _ACEOF
13199 done
13201 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13202 then
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13204 $as_echo_n "checking for -lxslt... " >&6; }
13205 if ${ac_cv_lib_soname_xslt+:} false; then :
13206 $as_echo_n "(cached) " >&6
13207 else
13208 ac_check_soname_save_LIBS=$LIBS
13209 LIBS="-lxslt $XSLT_LIBS $LIBS"
13210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13213 /* Override any GCC internal prototype to avoid an error.
13214 Use char because int might match the return type of a GCC
13215 builtin and then its argument prototype would still apply. */
13216 #ifdef __cplusplus
13217 extern "C"
13218 #endif
13219 char xsltCompilePattern ();
13221 main ()
13223 return xsltCompilePattern ();
13225 return 0;
13227 _ACEOF
13228 if ac_fn_c_try_link "$LINENO"; then :
13229 case "$LIBEXT" in
13230 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13231 dylib) ac_cv_lib_soname_xslt=`$OTOOL -L conftest$ac_exeext | grep "libxslt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libxslt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13232 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13233 if ${ac_cv_lib_soname_xslt:+false} :; then :
13234 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13235 fi ;;
13236 esac
13237 else
13238 ac_cv_lib_soname_xslt=
13240 rm -f core conftest.err conftest.$ac_objext \
13241 conftest$ac_exeext conftest.$ac_ext
13242 LIBS=$ac_check_soname_save_LIBS
13244 if ${ac_cv_lib_soname_xslt:+false} :; then :
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13246 $as_echo "not found" >&6; }
13248 else
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13250 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13252 cat >>confdefs.h <<_ACEOF
13253 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13254 _ACEOF
13258 else
13259 XSLT_CFLAGS=""
13261 CPPFLAGS=$ac_save_CPPFLAGS
13264 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13265 case "x$with_xslt" in
13266 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13267 xno) ;;
13268 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13269 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13270 esac
13274 if test "x$with_inotify" != "xno"
13275 then
13276 if ${INOTIFY_CFLAGS:+false} :; then :
13277 if ${PKG_CONFIG+:} false; then :
13278 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13282 if ${INOTIFY_LIBS:+false} :; then :
13283 if ${PKG_CONFIG+:} false; then :
13284 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13289 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13290 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13291 ac_save_CPPFLAGS=$CPPFLAGS
13292 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13293 for ac_header in sys/inotify.h
13294 do :
13295 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13296 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13297 cat >>confdefs.h <<_ACEOF
13298 #define HAVE_SYS_INOTIFY_H 1
13299 _ACEOF
13303 done
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13306 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13307 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13308 $as_echo_n "(cached) " >&6
13309 else
13310 ac_check_lib_save_LIBS=$LIBS
13311 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13313 /* end confdefs.h. */
13315 /* Override any GCC internal prototype to avoid an error.
13316 Use char because int might match the return type of a GCC
13317 builtin and then its argument prototype would still apply. */
13318 #ifdef __cplusplus
13319 extern "C"
13320 #endif
13321 char inotify_add_watch ();
13323 main ()
13325 return inotify_add_watch ();
13327 return 0;
13329 _ACEOF
13330 if ac_fn_c_try_link "$LINENO"; then :
13331 ac_cv_lib_inotify_inotify_add_watch=yes
13332 else
13333 ac_cv_lib_inotify_inotify_add_watch=no
13335 rm -f core conftest.err conftest.$ac_objext \
13336 conftest$ac_exeext conftest.$ac_ext
13337 LIBS=$ac_check_lib_save_LIBS
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13340 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13341 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13343 else
13344 INOTIFY_LIBS=""
13347 CPPFLAGS=$ac_save_CPPFLAGS
13350 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13351 case "x$with_inotify" in
13352 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13353 xno) ;;
13354 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13355 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13356 esac
13360 if test "x$with_dbus" != "xno"
13361 then
13362 if ${DBUS_CFLAGS:+false} :; then :
13363 if ${PKG_CONFIG+:} false; then :
13364 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13368 if ${DBUS_LIBS:+false} :; then :
13369 if ${PKG_CONFIG+:} false; then :
13370 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13375 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13376 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13377 ac_save_CPPFLAGS=$CPPFLAGS
13378 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13379 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13380 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13382 $as_echo_n "checking for -ldbus-1... " >&6; }
13383 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13384 $as_echo_n "(cached) " >&6
13385 else
13386 ac_check_soname_save_LIBS=$LIBS
13387 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13391 /* Override any GCC internal prototype to avoid an error.
13392 Use char because int might match the return type of a GCC
13393 builtin and then its argument prototype would still apply. */
13394 #ifdef __cplusplus
13395 extern "C"
13396 #endif
13397 char dbus_connection_close ();
13399 main ()
13401 return dbus_connection_close ();
13403 return 0;
13405 _ACEOF
13406 if ac_fn_c_try_link "$LINENO"; then :
13407 case "$LIBEXT" in
13408 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13409 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'` ;;
13410 *) 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'`
13411 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13412 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13413 fi ;;
13414 esac
13415 else
13416 ac_cv_lib_soname_dbus_1=
13418 rm -f core conftest.err conftest.$ac_objext \
13419 conftest$ac_exeext conftest.$ac_ext
13420 LIBS=$ac_check_soname_save_LIBS
13422 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13424 $as_echo "not found" >&6; }
13425 DBUS_CFLAGS=""
13426 else
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13428 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13430 cat >>confdefs.h <<_ACEOF
13431 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13432 _ACEOF
13436 else
13437 DBUS_CFLAGS=""
13441 CPPFLAGS=$ac_save_CPPFLAGS
13444 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13445 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13446 case "x$with_dbus" in
13447 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13448 xno) ;;
13449 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13450 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13451 esac
13455 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13456 then
13457 if ${HAL_CFLAGS:+false} :; then :
13458 if ${PKG_CONFIG+:} false; then :
13459 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13463 if ${HAL_LIBS:+false} :; then :
13464 if ${PKG_CONFIG+:} false; then :
13465 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13469 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13470 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13471 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13472 ac_save_CPPFLAGS=$CPPFLAGS
13473 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13474 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13475 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13477 $as_echo_n "checking for -lhal... " >&6; }
13478 if ${ac_cv_lib_soname_hal+:} false; then :
13479 $as_echo_n "(cached) " >&6
13480 else
13481 ac_check_soname_save_LIBS=$LIBS
13482 LIBS="-lhal $HAL_LIBS $LIBS"
13483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13484 /* end confdefs.h. */
13486 /* Override any GCC internal prototype to avoid an error.
13487 Use char because int might match the return type of a GCC
13488 builtin and then its argument prototype would still apply. */
13489 #ifdef __cplusplus
13490 extern "C"
13491 #endif
13492 char libhal_ctx_new ();
13494 main ()
13496 return libhal_ctx_new ();
13498 return 0;
13500 _ACEOF
13501 if ac_fn_c_try_link "$LINENO"; then :
13502 case "$LIBEXT" in
13503 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13504 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'` ;;
13505 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13506 if ${ac_cv_lib_soname_hal:+false} :; then :
13507 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13508 fi ;;
13509 esac
13510 else
13511 ac_cv_lib_soname_hal=
13513 rm -f core conftest.err conftest.$ac_objext \
13514 conftest$ac_exeext conftest.$ac_ext
13515 LIBS=$ac_check_soname_save_LIBS
13517 if ${ac_cv_lib_soname_hal:+false} :; then :
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13519 $as_echo "not found" >&6; }
13520 HAL_CFLAGS=""
13521 else
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13523 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13525 cat >>confdefs.h <<_ACEOF
13526 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13527 _ACEOF
13531 else
13532 HAL_CFLAGS=""
13536 CPPFLAGS=$ac_save_CPPFLAGS
13538 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13539 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13540 case "x$with_hal" in
13541 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13542 xno) ;;
13543 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13544 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13545 esac
13550 if test "x$with_gnutls" != "xno"
13551 then
13552 if ${GNUTLS_CFLAGS:+false} :; then :
13553 if ${PKG_CONFIG+:} false; then :
13554 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13558 if ${GNUTLS_LIBS:+false} :; then :
13559 if ${PKG_CONFIG+:} false; then :
13560 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13564 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13565 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13566 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13567 ac_save_CPPFLAGS=$CPPFLAGS
13568 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13569 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13570 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13572 /* end confdefs.h. */
13573 #include <gnutls/gnutls.h>
13574 #include <gnutls/crypto.h>
13576 main ()
13578 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13580 return 0;
13582 _ACEOF
13583 if ac_fn_c_try_compile "$LINENO"; then :
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13585 $as_echo_n "checking for -lgnutls... " >&6; }
13586 if ${ac_cv_lib_soname_gnutls+:} false; then :
13587 $as_echo_n "(cached) " >&6
13588 else
13589 ac_check_soname_save_LIBS=$LIBS
13590 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13592 /* end confdefs.h. */
13594 /* Override any GCC internal prototype to avoid an error.
13595 Use char because int might match the return type of a GCC
13596 builtin and then its argument prototype would still apply. */
13597 #ifdef __cplusplus
13598 extern "C"
13599 #endif
13600 char gnutls_global_init ();
13602 main ()
13604 return gnutls_global_init ();
13606 return 0;
13608 _ACEOF
13609 if ac_fn_c_try_link "$LINENO"; then :
13610 case "$LIBEXT" in
13611 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13612 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'` ;;
13613 *) 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'`
13614 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13615 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'`
13616 fi ;;
13617 esac
13618 else
13619 ac_cv_lib_soname_gnutls=
13621 rm -f core conftest.err conftest.$ac_objext \
13622 conftest$ac_exeext conftest.$ac_ext
13623 LIBS=$ac_check_soname_save_LIBS
13625 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13627 $as_echo "not found" >&6; }
13628 GNUTLS_CFLAGS=""
13629 else
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13631 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13633 cat >>confdefs.h <<_ACEOF
13634 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13635 _ACEOF
13639 ac_wine_check_funcs_save_LIBS="$LIBS"
13640 LIBS="$LIBS $GNUTLS_LIBS"
13641 for ac_func in gnutls_cipher_init
13642 do :
13643 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13644 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13645 cat >>confdefs.h <<_ACEOF
13646 #define HAVE_GNUTLS_CIPHER_INIT 1
13647 _ACEOF
13649 else
13650 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13652 done
13654 LIBS="$ac_wine_check_funcs_save_LIBS"
13656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13657 else
13658 GNUTLS_CFLAGS=""
13662 CPPFLAGS=$ac_save_CPPFLAGS
13665 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13666 case "x$with_gnutls" in
13667 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13668 xno) ;;
13669 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13670 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13671 esac
13675 if test "x$with_sane" != "xno"
13676 then
13677 if ${SANE_CFLAGS:+false} :; then :
13678 if ${PKG_CONFIG+:} false; then :
13679 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13682 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13683 if ${SANE_LIBS:+false} :; then :
13684 if ${PKG_CONFIG+:} false; then :
13685 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13688 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13690 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13691 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13692 ac_save_CPPFLAGS=$CPPFLAGS
13693 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13694 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13695 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13697 $as_echo_n "checking for -lsane... " >&6; }
13698 if ${ac_cv_lib_soname_sane+:} false; then :
13699 $as_echo_n "(cached) " >&6
13700 else
13701 ac_check_soname_save_LIBS=$LIBS
13702 LIBS="-lsane $SANE_LIBS $LIBS"
13703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13704 /* end confdefs.h. */
13706 /* Override any GCC internal prototype to avoid an error.
13707 Use char because int might match the return type of a GCC
13708 builtin and then its argument prototype would still apply. */
13709 #ifdef __cplusplus
13710 extern "C"
13711 #endif
13712 char sane_init ();
13714 main ()
13716 return sane_init ();
13718 return 0;
13720 _ACEOF
13721 if ac_fn_c_try_link "$LINENO"; then :
13722 case "$LIBEXT" in
13723 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13724 dylib) ac_cv_lib_soname_sane=`$OTOOL -L conftest$ac_exeext | grep "libsane\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13725 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13726 if ${ac_cv_lib_soname_sane:+false} :; then :
13727 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13728 fi ;;
13729 esac
13730 else
13731 ac_cv_lib_soname_sane=
13733 rm -f core conftest.err conftest.$ac_objext \
13734 conftest$ac_exeext conftest.$ac_ext
13735 LIBS=$ac_check_soname_save_LIBS
13737 if ${ac_cv_lib_soname_sane:+false} :; then :
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13739 $as_echo "not found" >&6; }
13740 SANE_CFLAGS=""
13741 else
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13743 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13745 cat >>confdefs.h <<_ACEOF
13746 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13747 _ACEOF
13751 else
13752 SANE_CFLAGS=""
13756 CPPFLAGS=$ac_save_CPPFLAGS
13759 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13760 case "x$with_sane" in
13761 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13762 xno) ;;
13763 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13764 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13765 esac
13769 if test "x$with_usb" != "xno"
13770 then
13771 if ${USB_CFLAGS:+false} :; then :
13772 if ${PKG_CONFIG+:} false; then :
13773 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13777 if ${USB_LIBS:+false} :; then :
13778 if ${PKG_CONFIG+:} false; then :
13779 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13783 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13784 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13785 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13786 ac_save_CPPFLAGS=$CPPFLAGS
13787 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13788 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13789 if test "x$ac_cv_header_libusb_h" = xyes; then :
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13791 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13792 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13793 $as_echo_n "(cached) " >&6
13794 else
13795 ac_check_lib_save_LIBS=$LIBS
13796 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13800 /* Override any GCC internal prototype to avoid an error.
13801 Use char because int might match the return type of a GCC
13802 builtin and then its argument prototype would still apply. */
13803 #ifdef __cplusplus
13804 extern "C"
13805 #endif
13806 char libusb_interrupt_event_handler ();
13808 main ()
13810 return libusb_interrupt_event_handler ();
13812 return 0;
13814 _ACEOF
13815 if ac_fn_c_try_link "$LINENO"; then :
13816 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13817 else
13818 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13820 rm -f core conftest.err conftest.$ac_objext \
13821 conftest$ac_exeext conftest.$ac_ext
13822 LIBS=$ac_check_lib_save_LIBS
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13825 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13826 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13828 else
13829 USB_LIBS=""
13832 else
13833 USB_LIBS=""
13837 CPPFLAGS=$ac_save_CPPFLAGS
13840 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13841 case "x$with_usb" in
13842 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13843 xno) ;;
13844 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13845 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13846 esac
13847 enable_wineusb_sys=${enable_wineusb_sys:-no}
13850 if test "x$with_v4l2" != "xno"
13851 then
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13853 $as_echo_n "checking for -lv4l2... " >&6; }
13854 if ${ac_cv_lib_soname_v4l2+:} false; then :
13855 $as_echo_n "(cached) " >&6
13856 else
13857 ac_check_soname_save_LIBS=$LIBS
13858 LIBS="-lv4l2 $LIBS"
13859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13860 /* end confdefs.h. */
13862 /* Override any GCC internal prototype to avoid an error.
13863 Use char because int might match the return type of a GCC
13864 builtin and then its argument prototype would still apply. */
13865 #ifdef __cplusplus
13866 extern "C"
13867 #endif
13868 char v4l2_open ();
13870 main ()
13872 return v4l2_open ();
13874 return 0;
13876 _ACEOF
13877 if ac_fn_c_try_link "$LINENO"; then :
13878 case "$LIBEXT" in
13879 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13880 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'` ;;
13881 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13882 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13883 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13884 fi ;;
13885 esac
13886 else
13887 ac_cv_lib_soname_v4l2=
13889 rm -f core conftest.err conftest.$ac_objext \
13890 conftest$ac_exeext conftest.$ac_ext
13891 LIBS=$ac_check_soname_save_LIBS
13893 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13895 $as_echo "not found" >&6; }
13897 else
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13899 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13901 cat >>confdefs.h <<_ACEOF
13902 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13903 _ACEOF
13908 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13909 case "x$with_v4l2" in
13910 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13911 xno) ;;
13912 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13913 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13914 esac
13918 if test "x$with_gphoto" != "xno"
13919 then
13920 if ${GPHOTO2_CFLAGS:+false} :; then :
13921 if ${PKG_CONFIG+:} false; then :
13922 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13925 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13926 if ${GPHOTO2_LIBS:+false} :; then :
13927 if ${PKG_CONFIG+:} false; then :
13928 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13931 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13932 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13933 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13934 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13935 ac_save_CPPFLAGS=$CPPFLAGS
13936 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13937 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13938 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13940 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13941 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13942 $as_echo_n "(cached) " >&6
13943 else
13944 ac_check_lib_save_LIBS=$LIBS
13945 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13949 /* Override any GCC internal prototype to avoid an error.
13950 Use char because int might match the return type of a GCC
13951 builtin and then its argument prototype would still apply. */
13952 #ifdef __cplusplus
13953 extern "C"
13954 #endif
13955 char gp_camera_new ();
13957 main ()
13959 return gp_camera_new ();
13961 return 0;
13963 _ACEOF
13964 if ac_fn_c_try_link "$LINENO"; then :
13965 ac_cv_lib_gphoto2_gp_camera_new=yes
13966 else
13967 ac_cv_lib_gphoto2_gp_camera_new=no
13969 rm -f core conftest.err conftest.$ac_objext \
13970 conftest$ac_exeext conftest.$ac_ext
13971 LIBS=$ac_check_lib_save_LIBS
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13974 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13975 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13977 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13979 else
13980 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13983 else
13984 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13988 CPPFLAGS=$ac_save_CPPFLAGS
13990 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13991 if ${PKG_CONFIG+:} false; then :
13992 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13995 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13996 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13997 if ${PKG_CONFIG+:} false; then :
13998 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14001 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14002 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14003 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14004 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14005 ac_save_CPPFLAGS=$CPPFLAGS
14006 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14007 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14008 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14010 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14011 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14012 $as_echo_n "(cached) " >&6
14013 else
14014 ac_check_lib_save_LIBS=$LIBS
14015 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14017 /* end confdefs.h. */
14019 /* Override any GCC internal prototype to avoid an error.
14020 Use char because int might match the return type of a GCC
14021 builtin and then its argument prototype would still apply. */
14022 #ifdef __cplusplus
14023 extern "C"
14024 #endif
14025 char gp_port_info_list_new ();
14027 main ()
14029 return gp_port_info_list_new ();
14031 return 0;
14033 _ACEOF
14034 if ac_fn_c_try_link "$LINENO"; then :
14035 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14036 else
14037 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14039 rm -f core conftest.err conftest.$ac_objext \
14040 conftest$ac_exeext conftest.$ac_ext
14041 LIBS=$ac_check_lib_save_LIBS
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14044 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14045 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14047 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14049 else
14050 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14053 else
14054 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14058 CPPFLAGS=$ac_save_CPPFLAGS
14061 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14062 case "x$with_gphoto" in
14063 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14064 xno) ;;
14065 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14066 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14067 esac
14070 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14071 case "x$with_gphoto" in
14072 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14073 xno) ;;
14074 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14075 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14076 esac
14081 if test "$ac_cv_header_resolv_h" = "yes"
14082 then
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14084 $as_echo_n "checking for resolver library... " >&6; }
14085 if ${ac_cv_have_resolv+:} false; then :
14086 $as_echo_n "(cached) " >&6
14087 else
14088 ac_save_LIBS="$LIBS"
14089 for lib in '' -lresolv
14091 LIBS="$lib $ac_save_LIBS"
14092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14093 /* end confdefs.h. */
14094 #ifdef HAVE_NETINET_IN_H
14095 #include <netinet/in.h>
14096 #endif
14097 #include <resolv.h>
14099 main ()
14101 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14103 return 0;
14105 _ACEOF
14106 if ac_fn_c_try_link "$LINENO"; then :
14107 ac_cv_have_resolv=${lib:-"none required"}
14108 else
14109 ac_cv_have_resolv="not found"
14111 rm -f core conftest.err conftest.$ac_objext \
14112 conftest$ac_exeext conftest.$ac_ext
14113 test "x$ac_cv_have_resolv" = "xnot found" || break
14114 done
14115 LIBS="$ac_save_LIBS"
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14118 $as_echo "$ac_cv_have_resolv" >&6; }
14120 case "$ac_cv_have_resolv" in
14121 "not found") ;;
14122 "none required")
14124 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14127 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14129 RESOLV_LIBS=$ac_cv_have_resolv
14131 esac
14133 if test "x$ac_cv_have_resolv" != "xnot found"
14134 then
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14136 $as_echo_n "checking for res_getservers... " >&6; }
14137 if ${ac_cv_have_res_getservers+:} false; then :
14138 $as_echo_n "(cached) " >&6
14139 else
14140 ac_save_LIBS="$LIBS"
14141 LIBS="$RESOLV_LIBS $LIBS"
14142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14144 #include <resolv.h>
14146 main ()
14148 res_getservers(NULL, NULL, 0);
14150 return 0;
14152 _ACEOF
14153 if ac_fn_c_try_link "$LINENO"; then :
14154 ac_cv_have_res_getservers=yes
14155 else
14156 ac_cv_have_res_getservers=no
14158 rm -f core conftest.err conftest.$ac_objext \
14159 conftest$ac_exeext conftest.$ac_ext
14160 LIBS="$ac_save_LIBS"
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14163 $as_echo "$ac_cv_have_res_getservers" >&6; }
14164 if test "$ac_cv_have_res_getservers" = "yes"
14165 then
14167 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14173 if test "x$with_cms" != "xno"
14174 then
14175 if ${LCMS2_CFLAGS:+false} :; then :
14176 if ${PKG_CONFIG+:} false; then :
14177 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14181 if ${LCMS2_LIBS:+false} :; then :
14182 if ${PKG_CONFIG+:} false; then :
14183 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14187 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14188 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14189 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14190 ac_save_CPPFLAGS=$CPPFLAGS
14191 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14192 for ac_header in lcms2.h
14193 do :
14194 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14195 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14196 cat >>confdefs.h <<_ACEOF
14197 #define HAVE_LCMS2_H 1
14198 _ACEOF
14202 done
14204 if test "$ac_cv_header_lcms2_h" = "yes"
14205 then
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14207 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14208 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14209 $as_echo_n "(cached) " >&6
14210 else
14211 ac_check_lib_save_LIBS=$LIBS
14212 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14214 /* end confdefs.h. */
14216 /* Override any GCC internal prototype to avoid an error.
14217 Use char because int might match the return type of a GCC
14218 builtin and then its argument prototype would still apply. */
14219 #ifdef __cplusplus
14220 extern "C"
14221 #endif
14222 char cmsOpenProfileFromFile ();
14224 main ()
14226 return cmsOpenProfileFromFile ();
14228 return 0;
14230 _ACEOF
14231 if ac_fn_c_try_link "$LINENO"; then :
14232 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14233 else
14234 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14236 rm -f core conftest.err conftest.$ac_objext \
14237 conftest$ac_exeext conftest.$ac_ext
14238 LIBS=$ac_check_lib_save_LIBS
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14241 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14242 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14244 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14246 else
14247 LCMS2_LIBS=""
14250 else
14251 LCMS2_CFLAGS=""
14252 LCMS2_LIBS=""
14254 CPPFLAGS=$ac_save_CPPFLAGS
14257 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14258 case "x$with_cms" in
14259 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14260 xno) ;;
14261 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14262 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14263 esac
14267 if test "x$with_freetype" != "xno"
14268 then
14269 if ${FREETYPE_CFLAGS:+false} :; then :
14270 if ${PKG_CONFIG+:} false; then :
14271 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14274 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14275 if ${FREETYPE_LIBS:+false} :; then :
14276 if ${PKG_CONFIG+:} false; then :
14277 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14280 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14281 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14282 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14283 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14284 ac_save_CPPFLAGS=$CPPFLAGS
14285 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14286 for ac_header in ft2build.h
14287 do :
14288 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14289 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14290 cat >>confdefs.h <<_ACEOF
14291 #define HAVE_FT2BUILD_H 1
14292 _ACEOF
14296 done
14298 if test "$ac_cv_header_ft2build_h" = "yes"
14299 then
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14301 $as_echo_n "checking for -lfreetype... " >&6; }
14302 if ${ac_cv_lib_soname_freetype+:} false; then :
14303 $as_echo_n "(cached) " >&6
14304 else
14305 ac_check_soname_save_LIBS=$LIBS
14306 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14310 /* Override any GCC internal prototype to avoid an error.
14311 Use char because int might match the return type of a GCC
14312 builtin and then its argument prototype would still apply. */
14313 #ifdef __cplusplus
14314 extern "C"
14315 #endif
14316 char FT_Init_FreeType ();
14318 main ()
14320 return FT_Init_FreeType ();
14322 return 0;
14324 _ACEOF
14325 if ac_fn_c_try_link "$LINENO"; then :
14326 case "$LIBEXT" in
14327 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14328 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'` ;;
14329 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14330 if ${ac_cv_lib_soname_freetype:+false} :; then :
14331 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14332 fi ;;
14333 esac
14334 else
14335 ac_cv_lib_soname_freetype=
14337 rm -f core conftest.err conftest.$ac_objext \
14338 conftest$ac_exeext conftest.$ac_ext
14339 LIBS=$ac_check_soname_save_LIBS
14341 if ${ac_cv_lib_soname_freetype:+false} :; then :
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14343 $as_echo "not found" >&6; }
14344 FREETYPE_LIBS=""
14345 else
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14347 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14349 cat >>confdefs.h <<_ACEOF
14350 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14351 _ACEOF
14354 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14356 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14357 #include FT_MODULE_H
14359 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14361 cat >>confdefs.h <<_ACEOF
14362 #define HAVE_FT_TRUETYPEENGINETYPE 1
14363 _ACEOF
14369 else
14370 FREETYPE_CFLAGS=""
14371 FREETYPE_LIBS=""
14373 CPPFLAGS=$ac_save_CPPFLAGS
14376 if test "x$ac_cv_lib_soname_freetype" = x; then :
14377 case "x$with_freetype" in
14378 xno) ;;
14379 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14380 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14381 esac
14382 enable_fonts=${enable_fonts:-no}
14385 ac_wine_check_funcs_save_LIBS="$LIBS"
14386 LIBS="$LIBS $PTHREAD_LIBS"
14387 for ac_func in \
14388 pthread_getthreadid_np
14389 do :
14390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14392 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14393 cat >>confdefs.h <<_ACEOF
14394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14395 _ACEOF
14398 done
14400 LIBS="$ac_wine_check_funcs_save_LIBS"
14402 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14403 then
14404 if test "$ac_cv_header_gettext_po_h" = "yes"
14405 then
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14407 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14408 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14409 $as_echo_n "(cached) " >&6
14410 else
14411 ac_check_lib_save_LIBS=$LIBS
14412 LIBS="-lgettextpo $LIBS"
14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14416 /* Override any GCC internal prototype to avoid an error.
14417 Use char because int might match the return type of a GCC
14418 builtin and then its argument prototype would still apply. */
14419 #ifdef __cplusplus
14420 extern "C"
14421 #endif
14422 char po_message_msgctxt ();
14424 main ()
14426 return po_message_msgctxt ();
14428 return 0;
14430 _ACEOF
14431 if ac_fn_c_try_link "$LINENO"; then :
14432 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14433 else
14434 ac_cv_lib_gettextpo_po_message_msgctxt=no
14436 rm -f core conftest.err conftest.$ac_objext \
14437 conftest$ac_exeext conftest.$ac_ext
14438 LIBS=$ac_check_lib_save_LIBS
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14441 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14442 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14444 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14446 GETTEXTPO_LIBS="-lgettextpo"
14451 if test "x$GETTEXTPO_LIBS" = "x"; then :
14452 case "x$with_gettextpo" in
14453 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14454 xno) ;;
14455 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14456 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14457 esac
14460 if test "$srcdir" != .; then :
14461 case "x$with_gettextpo" in
14462 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14463 xno) ;;
14464 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14465 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14466 esac
14471 if test "x$with_pulse" != "xno";
14472 then
14473 if ${PULSE_CFLAGS:+false} :; then :
14474 if ${PKG_CONFIG+:} false; then :
14475 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14479 if ${PULSE_LIBS:+false} :; then :
14480 if ${PKG_CONFIG+:} false; then :
14481 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14486 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14487 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14488 ac_save_CPPFLAGS=$CPPFLAGS
14489 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14490 for ac_header in pulse/pulseaudio.h
14491 do :
14492 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14493 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14494 cat >>confdefs.h <<_ACEOF
14495 #define HAVE_PULSE_PULSEAUDIO_H 1
14496 _ACEOF
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14498 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14499 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14500 $as_echo_n "(cached) " >&6
14501 else
14502 ac_check_lib_save_LIBS=$LIBS
14503 LIBS="-lpulse $PULSE_LIBS $LIBS"
14504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14507 /* Override any GCC internal prototype to avoid an error.
14508 Use char because int might match the return type of a GCC
14509 builtin and then its argument prototype would still apply. */
14510 #ifdef __cplusplus
14511 extern "C"
14512 #endif
14513 char pa_stream_is_corked ();
14515 main ()
14517 return pa_stream_is_corked ();
14519 return 0;
14521 _ACEOF
14522 if ac_fn_c_try_link "$LINENO"; then :
14523 ac_cv_lib_pulse_pa_stream_is_corked=yes
14524 else
14525 ac_cv_lib_pulse_pa_stream_is_corked=no
14527 rm -f core conftest.err conftest.$ac_objext \
14528 conftest$ac_exeext conftest.$ac_ext
14529 LIBS=$ac_check_lib_save_LIBS
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14532 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14533 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14535 else
14536 PULSE_LIBS=""
14539 else
14540 PULSE_LIBS=""
14543 done
14545 CPPFLAGS=$ac_save_CPPFLAGS
14548 if test -z "$PULSE_LIBS"; then :
14549 case "x$with_pulse" in
14550 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14551 xno) ;;
14552 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14553 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14554 esac
14555 enable_winepulse_drv=${enable_winepulse_drv:-no}
14558 if test "x$with_gstreamer" != "xno"
14559 then
14560 if ${GSTREAMER_CFLAGS:+false} :; then :
14561 if ${PKG_CONFIG+:} false; then :
14562 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14566 if ${GSTREAMER_LIBS:+false} :; then :
14567 if ${PKG_CONFIG+:} false; then :
14568 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14573 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14574 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14575 ac_save_CPPFLAGS=$CPPFLAGS
14576 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14577 ac_gst_incl=""
14578 for i in $GSTREAMER_CFLAGS
14580 case "$i" in
14581 -I*) ac_gst_incl="$ac_gst_incl $i";;
14582 esac
14583 done
14584 GSTREAMER_CFLAGS=$ac_gst_incl
14585 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14586 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14587 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14589 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14592 #include <gst/gst.h>
14594 main ()
14596 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14598 return 0;
14600 _ACEOF
14601 if ac_fn_c_try_compile "$LINENO"; then :
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14603 $as_echo "yes" >&6; }
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14605 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14606 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14607 $as_echo_n "(cached) " >&6
14608 else
14609 ac_check_lib_save_LIBS=$LIBS
14610 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14612 /* end confdefs.h. */
14614 /* Override any GCC internal prototype to avoid an error.
14615 Use char because int might match the return type of a GCC
14616 builtin and then its argument prototype would still apply. */
14617 #ifdef __cplusplus
14618 extern "C"
14619 #endif
14620 char gst_pad_new ();
14622 main ()
14624 return gst_pad_new ();
14626 return 0;
14628 _ACEOF
14629 if ac_fn_c_try_link "$LINENO"; then :
14630 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14631 else
14632 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14634 rm -f core conftest.err conftest.$ac_objext \
14635 conftest$ac_exeext conftest.$ac_ext
14636 LIBS=$ac_check_lib_save_LIBS
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14639 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14640 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14644 else
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14646 $as_echo "no" >&6; }
14647 ac_glib2_broken=yes
14648 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14654 CPPFLAGS=$ac_save_CPPFLAGS
14657 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
14658 case "x$with_gstreamer" in
14659 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14660 xno) ;;
14661 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14662 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14663 esac
14666 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14668 ALSA_LIBS=""
14670 if test "x$with_alsa" != "xno"
14671 then
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14673 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14674 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14675 $as_echo_n "(cached) " >&6
14676 else
14677 ac_check_lib_save_LIBS=$LIBS
14678 LIBS="-lasound $LIBS"
14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14682 /* Override any GCC internal prototype to avoid an error.
14683 Use char because int might match the return type of a GCC
14684 builtin and then its argument prototype would still apply. */
14685 #ifdef __cplusplus
14686 extern "C"
14687 #endif
14688 char snd_pcm_hw_params_get_access_mask ();
14690 main ()
14692 return snd_pcm_hw_params_get_access_mask ();
14694 return 0;
14696 _ACEOF
14697 if ac_fn_c_try_link "$LINENO"; then :
14698 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14699 else
14700 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14702 rm -f core conftest.err conftest.$ac_objext \
14703 conftest$ac_exeext conftest.$ac_ext
14704 LIBS=$ac_check_lib_save_LIBS
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14707 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14708 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14711 #include <alsa/asoundlib.h>
14713 main ()
14715 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14717 return 0;
14719 _ACEOF
14720 if ac_fn_c_try_compile "$LINENO"; then :
14721 ALSA_LIBS="-lasound"
14723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14727 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14729 if test "x$with_oss" != xno
14730 then
14731 ac_save_CPPFLAGS="$CPPFLAGS"
14732 if test -f /etc/oss.conf
14733 then
14734 . /etc/oss.conf
14736 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14737 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14738 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14739 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14740 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14742 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14744 cat >>confdefs.h <<_ACEOF
14745 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14746 _ACEOF
14748 OSS4_CFLAGS="$ac_oss_incl"
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14751 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14752 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14753 $as_echo_n "(cached) " >&6
14754 else
14755 ac_check_lib_save_LIBS=$LIBS
14756 LIBS="-lossaudio $LIBS"
14757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14760 /* Override any GCC internal prototype to avoid an error.
14761 Use char because int might match the return type of a GCC
14762 builtin and then its argument prototype would still apply. */
14763 #ifdef __cplusplus
14764 extern "C"
14765 #endif
14766 char _oss_ioctl ();
14768 main ()
14770 return _oss_ioctl ();
14772 return 0;
14774 _ACEOF
14775 if ac_fn_c_try_link "$LINENO"; then :
14776 ac_cv_lib_ossaudio__oss_ioctl=yes
14777 else
14778 ac_cv_lib_ossaudio__oss_ioctl=no
14780 rm -f core conftest.err conftest.$ac_objext \
14781 conftest$ac_exeext conftest.$ac_ext
14782 LIBS=$ac_check_lib_save_LIBS
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14785 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14786 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14787 OSS4_LIBS="-lossaudio"
14796 CPPFLAGS="$ac_save_CPPFLAGS"
14798 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14799 case "x$with_oss" in
14800 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14801 xno) ;;
14802 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14803 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14804 esac
14805 enable_wineoss_drv=${enable_wineoss_drv:-no}
14808 if test "x$with_udev" != "xno"
14809 then
14810 if ${UDEV_CFLAGS:+false} :; then :
14811 if ${PKG_CONFIG+:} false; then :
14812 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14816 if ${UDEV_LIBS:+false} :; then :
14817 if ${PKG_CONFIG+:} false; then :
14818 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14822 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14823 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14824 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14825 ac_save_CPPFLAGS=$CPPFLAGS
14826 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14827 for ac_header in libudev.h
14828 do :
14829 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14830 if test "x$ac_cv_header_libudev_h" = xyes; then :
14831 cat >>confdefs.h <<_ACEOF
14832 #define HAVE_LIBUDEV_H 1
14833 _ACEOF
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14835 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14836 if ${ac_cv_lib_udev_udev_new+:} false; then :
14837 $as_echo_n "(cached) " >&6
14838 else
14839 ac_check_lib_save_LIBS=$LIBS
14840 LIBS="-ludev $UDEV_LIBS $LIBS"
14841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14844 /* Override any GCC internal prototype to avoid an error.
14845 Use char because int might match the return type of a GCC
14846 builtin and then its argument prototype would still apply. */
14847 #ifdef __cplusplus
14848 extern "C"
14849 #endif
14850 char udev_new ();
14852 main ()
14854 return udev_new ();
14856 return 0;
14858 _ACEOF
14859 if ac_fn_c_try_link "$LINENO"; then :
14860 ac_cv_lib_udev_udev_new=yes
14861 else
14862 ac_cv_lib_udev_udev_new=no
14864 rm -f core conftest.err conftest.$ac_objext \
14865 conftest$ac_exeext conftest.$ac_ext
14866 LIBS=$ac_check_lib_save_LIBS
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14869 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14870 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14872 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14874 else
14875 UDEV_LIBS=""
14878 else
14879 UDEV_LIBS=""
14882 done
14884 CPPFLAGS=$ac_save_CPPFLAGS
14887 if test "x$UDEV_LIBS" = "x"; then :
14888 case "x$with_udev" in
14889 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14890 xno) ;;
14891 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14892 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14893 esac
14897 if test "x$with_unwind" != xno
14898 then
14899 if ${UNWIND_CFLAGS:+false} :; then :
14900 if ${PKG_CONFIG+:} false; then :
14901 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14905 if ${UNWIND_LIBS:+false} :; then :
14906 if ${PKG_CONFIG+:} false; then :
14907 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14911 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14912 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14913 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14914 ac_save_CPPFLAGS=$CPPFLAGS
14915 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14917 $as_echo_n "checking for unw_step... " >&6; }
14918 if ${wine_cv_have_unw_step+:} false; then :
14919 $as_echo_n "(cached) " >&6
14920 else
14921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14922 /* end confdefs.h. */
14923 #define UNW_LOCAL_ONLY
14924 #include <libunwind.h>
14926 main ()
14928 unw_cursor_t cursor; unw_step( &cursor );
14930 return 0;
14932 _ACEOF
14933 if ac_fn_c_try_link "$LINENO"; then :
14934 wine_cv_have_unw_step="yes"
14935 else
14936 wine_cv_have_unw_step="no"
14938 rm -f core conftest.err conftest.$ac_objext \
14939 conftest$ac_exeext conftest.$ac_ext
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14942 $as_echo "$wine_cv_have_unw_step" >&6; }
14943 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14944 then
14945 save_libs=$LIBS
14946 LIBS="$UNWIND_LIBS $LIBS"
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14948 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14949 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14950 $as_echo_n "(cached) " >&6
14951 else
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14954 #define UNW_LOCAL_ONLY
14955 #include <libunwind.h>
14957 main ()
14959 unw_cursor_t cursor; unw_step( &cursor );
14961 return 0;
14963 _ACEOF
14964 if ac_fn_c_try_link "$LINENO"; then :
14965 wine_cv_have_libunwind_unw_step="yes"
14966 else
14967 wine_cv_have_libunwind_unw_step="no"
14969 rm -f core conftest.err conftest.$ac_objext \
14970 conftest$ac_exeext conftest.$ac_ext
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14973 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14974 LIBS=$save_libs
14976 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14977 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14978 then
14980 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14983 CPPFLAGS=$ac_save_CPPFLAGS
14986 case $host in
14987 aarch64*|*-darwin*)
14988 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14989 case "x$with_unwind" in
14990 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14991 xno) ;;
14992 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14993 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14994 esac
14996 fi ;;
14997 esac
14999 if test "x$with_sdl" != "xno"
15000 then
15001 if ${SDL2_CFLAGS:+false} :; then :
15002 if ${PKG_CONFIG+:} false; then :
15003 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15007 if ${SDL2_LIBS:+false} :; then :
15008 if ${PKG_CONFIG+:} false; then :
15009 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15013 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15014 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15015 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15016 ac_save_CPPFLAGS=$CPPFLAGS
15017 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15018 for ac_header in SDL2/SDL.h
15019 do :
15020 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15021 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15022 cat >>confdefs.h <<_ACEOF
15023 #define HAVE_SDL2_SDL_H 1
15024 _ACEOF
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15026 $as_echo_n "checking for -lSDL2... " >&6; }
15027 if ${ac_cv_lib_soname_SDL2+:} false; then :
15028 $as_echo_n "(cached) " >&6
15029 else
15030 ac_check_soname_save_LIBS=$LIBS
15031 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h. */
15035 /* Override any GCC internal prototype to avoid an error.
15036 Use char because int might match the return type of a GCC
15037 builtin and then its argument prototype would still apply. */
15038 #ifdef __cplusplus
15039 extern "C"
15040 #endif
15041 char SDL_Init ();
15043 main ()
15045 return SDL_Init ();
15047 return 0;
15049 _ACEOF
15050 if ac_fn_c_try_link "$LINENO"; then :
15051 case "$LIBEXT" in
15052 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15053 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'` ;;
15054 *) 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'`
15055 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15056 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15057 fi ;;
15058 esac
15059 else
15060 ac_cv_lib_soname_SDL2=
15062 rm -f core conftest.err conftest.$ac_objext \
15063 conftest$ac_exeext conftest.$ac_ext
15064 LIBS=$ac_check_soname_save_LIBS
15066 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15068 $as_echo "not found" >&6; }
15070 else
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15072 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15074 cat >>confdefs.h <<_ACEOF
15075 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15076 _ACEOF
15082 done
15084 CPPFLAGS=$ac_save_CPPFLAGS
15087 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15088 case "x$with_sdl" in
15089 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15090 xno) ;;
15091 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15092 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15093 esac
15097 if test "x$with_faudio" != "xno"
15098 then
15099 if ${FAUDIO_CFLAGS:+false} :; then :
15100 if ${PKG_CONFIG+:} false; then :
15101 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15105 if ${FAUDIO_LIBS:+false} :; then :
15106 if ${PKG_CONFIG+:} false; then :
15107 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15111 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15112 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15113 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15114 ac_save_CPPFLAGS=$CPPFLAGS
15115 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15116 for ac_header in FAudio.h
15117 do :
15118 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15119 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15120 cat >>confdefs.h <<_ACEOF
15121 #define HAVE_FAUDIO_H 1
15122 _ACEOF
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15124 $as_echo_n "checking for -lFAudio... " >&6; }
15125 if ${ac_cv_lib_soname_FAudio+:} false; then :
15126 $as_echo_n "(cached) " >&6
15127 else
15128 ac_check_soname_save_LIBS=$LIBS
15129 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15133 /* Override any GCC internal prototype to avoid an error.
15134 Use char because int might match the return type of a GCC
15135 builtin and then its argument prototype would still apply. */
15136 #ifdef __cplusplus
15137 extern "C"
15138 #endif
15139 char FAudioCreate ();
15141 main ()
15143 return FAudioCreate ();
15145 return 0;
15147 _ACEOF
15148 if ac_fn_c_try_link "$LINENO"; then :
15149 case "$LIBEXT" in
15150 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15151 dylib) ac_cv_lib_soname_FAudio=`$OTOOL -L conftest$ac_exeext | grep "libFAudio*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libFAudio*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15152 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15153 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15154 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15155 fi ;;
15156 esac
15157 else
15158 ac_cv_lib_soname_FAudio=
15160 rm -f core conftest.err conftest.$ac_objext \
15161 conftest$ac_exeext conftest.$ac_ext
15162 LIBS=$ac_check_soname_save_LIBS
15164 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15166 $as_echo "not found" >&6; }
15168 else
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15170 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15172 cat >>confdefs.h <<_ACEOF
15173 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15174 _ACEOF
15180 done
15182 ac_wine_check_funcs_save_LIBS="$LIBS"
15183 LIBS="$LIBS $FAUDIO_LIBS"
15184 for ac_func in FAudio_CommitOperationSet \
15185 F3DAudioInitialize8 \
15186 FAudioLinkedVersion \
15187 FAudioCreateReverb9WithCustomAllocatorEXT
15188 do :
15189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15191 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15192 cat >>confdefs.h <<_ACEOF
15193 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15194 _ACEOF
15197 done
15199 LIBS="$ac_wine_check_funcs_save_LIBS"
15201 CPPFLAGS=$ac_save_CPPFLAGS
15204 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15205 case "x$with_faudio" in
15206 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15207 xno) ;;
15208 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15209 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15210 esac
15214 if test "x$with_capi" != "xno"
15215 then
15216 if ${CAPI20_CFLAGS:+false} :; then :
15217 if ${PKG_CONFIG+:} false; then :
15218 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15222 if ${CAPI20_LIBS:+false} :; then :
15223 if ${PKG_CONFIG+:} false; then :
15224 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15229 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15230 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15231 ac_save_CPPFLAGS=$CPPFLAGS
15232 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15233 for ac_header in capi20.h linux/capi.h
15234 do :
15235 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15236 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15238 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15239 cat >>confdefs.h <<_ACEOF
15240 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15241 _ACEOF
15245 done
15247 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15248 then
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15250 $as_echo_n "checking for -lcapi20... " >&6; }
15251 if ${ac_cv_lib_soname_capi20+:} false; then :
15252 $as_echo_n "(cached) " >&6
15253 else
15254 ac_check_soname_save_LIBS=$LIBS
15255 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15257 /* end confdefs.h. */
15259 /* Override any GCC internal prototype to avoid an error.
15260 Use char because int might match the return type of a GCC
15261 builtin and then its argument prototype would still apply. */
15262 #ifdef __cplusplus
15263 extern "C"
15264 #endif
15265 char capi20_register ();
15267 main ()
15269 return capi20_register ();
15271 return 0;
15273 _ACEOF
15274 if ac_fn_c_try_link "$LINENO"; then :
15275 case "$LIBEXT" in
15276 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15277 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'` ;;
15278 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15279 if ${ac_cv_lib_soname_capi20:+false} :; then :
15280 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15281 fi ;;
15282 esac
15283 else
15284 ac_cv_lib_soname_capi20=
15286 rm -f core conftest.err conftest.$ac_objext \
15287 conftest$ac_exeext conftest.$ac_ext
15288 LIBS=$ac_check_soname_save_LIBS
15290 if ${ac_cv_lib_soname_capi20:+false} :; then :
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15292 $as_echo "not found" >&6; }
15294 else
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15296 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15298 cat >>confdefs.h <<_ACEOF
15299 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15300 _ACEOF
15305 CPPFLAGS=$ac_save_CPPFLAGS
15308 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15309 case "x$with_capi" in
15310 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15311 xno) ;;
15312 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15313 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15314 esac
15318 if test "x$with_cups" != "xno"
15319 then
15320 if ${CUPS_CFLAGS:+false} :; then :
15321 if ${PKG_CONFIG+:} false; then :
15322 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15325 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15326 if ${CUPS_LIBS:+false} :; then :
15327 if ${PKG_CONFIG+:} false; then :
15328 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15331 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15332 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15333 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15334 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15335 ac_save_CPPFLAGS=$CPPFLAGS
15336 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15337 for ac_header in cups/cups.h cups/ppd.h
15338 do :
15339 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15340 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15341 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15342 cat >>confdefs.h <<_ACEOF
15343 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15344 _ACEOF
15348 done
15350 if test "$ac_cv_header_cups_cups_h" = "yes"
15351 then
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15353 $as_echo_n "checking for -lcups... " >&6; }
15354 if ${ac_cv_lib_soname_cups+:} false; then :
15355 $as_echo_n "(cached) " >&6
15356 else
15357 ac_check_soname_save_LIBS=$LIBS
15358 LIBS="-lcups $CUPS_LIBS $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 cupsGetDefault ();
15370 main ()
15372 return cupsGetDefault ();
15374 return 0;
15376 _ACEOF
15377 if ac_fn_c_try_link "$LINENO"; then :
15378 case "$LIBEXT" in
15379 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15380 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'` ;;
15381 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15382 if ${ac_cv_lib_soname_cups:+false} :; then :
15383 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15384 fi ;;
15385 esac
15386 else
15387 ac_cv_lib_soname_cups=
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_cups:+false} :; then :
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15395 $as_echo "not found" >&6; }
15396 CUPS_LIBS=""
15397 else
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15399 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15401 cat >>confdefs.h <<_ACEOF
15402 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15403 _ACEOF
15407 else
15408 CUPS_CFLAGS=""
15409 CUPS_LIBS=""
15411 CPPFLAGS=$ac_save_CPPFLAGS
15414 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15415 case "x$with_cups" in
15416 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15417 xno) ;;
15418 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15419 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15420 esac
15424 if test "x$with_fontconfig" != "xno"
15425 then
15426 if ${FONTCONFIG_CFLAGS:+false} :; then :
15427 if ${PKG_CONFIG+:} false; then :
15428 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15431 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15432 if ${FONTCONFIG_LIBS:+false} :; then :
15433 if ${PKG_CONFIG+:} false; then :
15434 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15437 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15439 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15440 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15441 ac_save_CPPFLAGS=$CPPFLAGS
15442 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15443 for ac_header in fontconfig/fontconfig.h
15444 do :
15445 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15446 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15447 cat >>confdefs.h <<_ACEOF
15448 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15449 _ACEOF
15453 done
15455 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15456 then
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15458 $as_echo_n "checking for -lfontconfig... " >&6; }
15459 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15460 $as_echo_n "(cached) " >&6
15461 else
15462 ac_check_soname_save_LIBS=$LIBS
15463 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15465 /* end confdefs.h. */
15467 /* Override any GCC internal prototype to avoid an error.
15468 Use char because int might match the return type of a GCC
15469 builtin and then its argument prototype would still apply. */
15470 #ifdef __cplusplus
15471 extern "C"
15472 #endif
15473 char FcInit ();
15475 main ()
15477 return FcInit ();
15479 return 0;
15481 _ACEOF
15482 if ac_fn_c_try_link "$LINENO"; then :
15483 case "$LIBEXT" in
15484 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15485 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'` ;;
15486 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15487 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15488 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15489 fi ;;
15490 esac
15491 else
15492 ac_cv_lib_soname_fontconfig=
15494 rm -f core conftest.err conftest.$ac_objext \
15495 conftest$ac_exeext conftest.$ac_ext
15496 LIBS=$ac_check_soname_save_LIBS
15498 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15500 $as_echo "not found" >&6; }
15501 FONTCONFIG_CFLAGS=""
15502 else
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15504 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15506 cat >>confdefs.h <<_ACEOF
15507 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15508 _ACEOF
15512 else
15513 FONTCONFIG_CFLAGS=""
15515 CPPFLAGS=$ac_save_CPPFLAGS
15518 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15519 case "x$with_fontconfig" in
15520 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15521 xno) ;;
15522 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15523 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15524 esac
15528 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15529 then
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15531 $as_echo_n "checking for -lgsm... " >&6; }
15532 if ${ac_cv_lib_soname_gsm+:} false; then :
15533 $as_echo_n "(cached) " >&6
15534 else
15535 ac_check_soname_save_LIBS=$LIBS
15536 LIBS="-lgsm $LIBS"
15537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15538 /* end confdefs.h. */
15540 /* Override any GCC internal prototype to avoid an error.
15541 Use char because int might match the return type of a GCC
15542 builtin and then its argument prototype would still apply. */
15543 #ifdef __cplusplus
15544 extern "C"
15545 #endif
15546 char gsm_create ();
15548 main ()
15550 return gsm_create ();
15552 return 0;
15554 _ACEOF
15555 if ac_fn_c_try_link "$LINENO"; then :
15556 case "$LIBEXT" in
15557 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15558 dylib) ac_cv_lib_soname_gsm=`$OTOOL -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15559 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15560 if ${ac_cv_lib_soname_gsm:+false} :; then :
15561 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15562 fi ;;
15563 esac
15564 else
15565 ac_cv_lib_soname_gsm=
15567 rm -f core conftest.err conftest.$ac_objext \
15568 conftest$ac_exeext conftest.$ac_ext
15569 LIBS=$ac_check_soname_save_LIBS
15571 if ${ac_cv_lib_soname_gsm:+false} :; then :
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15573 $as_echo "not found" >&6; }
15575 else
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15577 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15579 cat >>confdefs.h <<_ACEOF
15580 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15581 _ACEOF
15586 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15587 case "x$with_gsm" in
15588 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15589 xno) ;;
15590 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15591 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15592 esac
15596 if test "x$with_krb5" != "xno"
15597 then
15598 if ${KRB5_CFLAGS:+false} :; then :
15599 if ${PKG_CONFIG+:} false; then :
15600 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15603 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15604 if ${KRB5_LIBS:+false} :; then :
15605 if ${PKG_CONFIG+:} false; then :
15606 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15609 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15611 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15612 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15613 ac_save_CPPFLAGS=$CPPFLAGS
15614 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15615 for ac_header in krb5/krb5.h
15616 do :
15617 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15618 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15619 cat >>confdefs.h <<_ACEOF
15620 #define HAVE_KRB5_KRB5_H 1
15621 _ACEOF
15625 done
15627 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15628 then
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15630 $as_echo_n "checking for -lkrb5... " >&6; }
15631 if ${ac_cv_lib_soname_krb5+:} false; then :
15632 $as_echo_n "(cached) " >&6
15633 else
15634 ac_check_soname_save_LIBS=$LIBS
15635 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15637 /* end confdefs.h. */
15639 /* Override any GCC internal prototype to avoid an error.
15640 Use char because int might match the return type of a GCC
15641 builtin and then its argument prototype would still apply. */
15642 #ifdef __cplusplus
15643 extern "C"
15644 #endif
15645 char krb5_is_config_principal ();
15647 main ()
15649 return krb5_is_config_principal ();
15651 return 0;
15653 _ACEOF
15654 if ac_fn_c_try_link "$LINENO"; then :
15655 case "$LIBEXT" in
15656 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15657 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'` ;;
15658 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15659 if ${ac_cv_lib_soname_krb5:+false} :; then :
15660 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15661 fi ;;
15662 esac
15663 else
15664 ac_cv_lib_soname_krb5=
15666 rm -f core conftest.err conftest.$ac_objext \
15667 conftest$ac_exeext conftest.$ac_ext
15668 LIBS=$ac_check_soname_save_LIBS
15670 if ${ac_cv_lib_soname_krb5:+false} :; then :
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15672 $as_echo "not found" >&6; }
15673 KRB5_CFLAGS=""
15674 else
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15676 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15678 cat >>confdefs.h <<_ACEOF
15679 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15680 _ACEOF
15684 else
15685 KRB5_CFLAGS=""
15687 CPPFLAGS=$ac_save_CPPFLAGS
15690 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15691 case "x$with_krb5" in
15692 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15693 xno) ;;
15694 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15695 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15696 esac
15699 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15701 if test "x$with_gssapi" != "xno"
15702 then
15703 if ${GSSAPI_CFLAGS:+false} :; then :
15704 if ${PKG_CONFIG+:} false; then :
15705 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15708 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15709 if ${GSSAPI_LIBS:+false} :; then :
15710 if ${PKG_CONFIG+:} false; then :
15711 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15714 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15716 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15717 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15718 ac_save_CPPFLAGS=$CPPFLAGS
15719 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15720 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15721 do :
15722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15723 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15724 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15725 cat >>confdefs.h <<_ACEOF
15726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15727 _ACEOF
15731 done
15733 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15734 then
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15736 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15737 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15738 $as_echo_n "(cached) " >&6
15739 else
15740 ac_check_soname_save_LIBS=$LIBS
15741 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15743 /* end confdefs.h. */
15745 /* Override any GCC internal prototype to avoid an error.
15746 Use char because int might match the return type of a GCC
15747 builtin and then its argument prototype would still apply. */
15748 #ifdef __cplusplus
15749 extern "C"
15750 #endif
15751 char gss_init_sec_context ();
15753 main ()
15755 return gss_init_sec_context ();
15757 return 0;
15759 _ACEOF
15760 if ac_fn_c_try_link "$LINENO"; then :
15761 case "$LIBEXT" in
15762 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15763 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'` ;;
15764 *) 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'`
15765 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15766 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15767 fi ;;
15768 esac
15769 else
15770 ac_cv_lib_soname_gssapi_krb5=
15772 rm -f core conftest.err conftest.$ac_objext \
15773 conftest$ac_exeext conftest.$ac_ext
15774 LIBS=$ac_check_soname_save_LIBS
15776 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15778 $as_echo "not found" >&6; }
15779 GSSAPI_CFLAGS=""
15780 else
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15782 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15784 cat >>confdefs.h <<_ACEOF
15785 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15786 _ACEOF
15790 else
15791 GSSAPI_CFLAGS=""
15793 CPPFLAGS=$ac_save_CPPFLAGS
15796 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15797 case "x$with_gssapi" in
15798 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15799 xno) ;;
15800 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15801 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15802 esac
15806 if test "x$with_jpeg" != "xno"
15807 then
15808 if ${JPEG_CFLAGS:+false} :; then :
15809 if ${PKG_CONFIG+:} false; then :
15810 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15814 if ${JPEG_LIBS:+false} :; then :
15815 if ${PKG_CONFIG+:} false; then :
15816 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15821 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15822 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15823 ac_save_CPPFLAGS=$CPPFLAGS
15824 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15825 for ac_header in jpeglib.h
15826 do :
15827 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15828 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15829 cat >>confdefs.h <<_ACEOF
15830 #define HAVE_JPEGLIB_H 1
15831 _ACEOF
15835 done
15837 if test "$ac_cv_header_jpeglib_h" = "yes"
15838 then
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15840 $as_echo_n "checking for -ljpeg... " >&6; }
15841 if ${ac_cv_lib_soname_jpeg+:} false; then :
15842 $as_echo_n "(cached) " >&6
15843 else
15844 ac_check_soname_save_LIBS=$LIBS
15845 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15849 /* Override any GCC internal prototype to avoid an error.
15850 Use char because int might match the return type of a GCC
15851 builtin and then its argument prototype would still apply. */
15852 #ifdef __cplusplus
15853 extern "C"
15854 #endif
15855 char jpeg_start_decompress ();
15857 main ()
15859 return jpeg_start_decompress ();
15861 return 0;
15863 _ACEOF
15864 if ac_fn_c_try_link "$LINENO"; then :
15865 case "$LIBEXT" in
15866 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15867 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'` ;;
15868 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15869 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15870 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15871 fi ;;
15872 esac
15873 else
15874 ac_cv_lib_soname_jpeg=
15876 rm -f core conftest.err conftest.$ac_objext \
15877 conftest$ac_exeext conftest.$ac_ext
15878 LIBS=$ac_check_soname_save_LIBS
15880 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15882 $as_echo "not found" >&6; }
15883 JPEG_CFLAGS=""
15884 else
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15886 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15888 cat >>confdefs.h <<_ACEOF
15889 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15890 _ACEOF
15894 else
15895 JPEG_CFLAGS=""
15897 CPPFLAGS=$ac_save_CPPFLAGS
15900 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15901 case "x$with_jpeg" in
15902 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15903 xno) ;;
15904 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15905 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15906 esac
15910 if test "x$with_png" != "xno"
15911 then
15912 if ${PNG_CFLAGS:+false} :; then :
15913 if ${PKG_CONFIG+:} false; then :
15914 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15917 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15918 if ${PNG_LIBS:+false} :; then :
15919 if ${PKG_CONFIG+:} false; then :
15920 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15923 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15925 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15926 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15927 ac_save_CPPFLAGS=$CPPFLAGS
15928 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15929 for ac_header in png.h
15930 do :
15931 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15932 if test "x$ac_cv_header_png_h" = xyes; then :
15933 cat >>confdefs.h <<_ACEOF
15934 #define HAVE_PNG_H 1
15935 _ACEOF
15939 done
15941 if test "$ac_cv_header_png_h" = "yes"
15942 then
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15944 $as_echo_n "checking for -lpng... " >&6; }
15945 if ${ac_cv_lib_soname_png+:} false; then :
15946 $as_echo_n "(cached) " >&6
15947 else
15948 ac_check_soname_save_LIBS=$LIBS
15949 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15951 /* end confdefs.h. */
15953 /* Override any GCC internal prototype to avoid an error.
15954 Use char because int might match the return type of a GCC
15955 builtin and then its argument prototype would still apply. */
15956 #ifdef __cplusplus
15957 extern "C"
15958 #endif
15959 char png_create_read_struct ();
15961 main ()
15963 return png_create_read_struct ();
15965 return 0;
15967 _ACEOF
15968 if ac_fn_c_try_link "$LINENO"; then :
15969 case "$LIBEXT" in
15970 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15971 dylib) ac_cv_lib_soname_png=`$OTOOL -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15972 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15973 if ${ac_cv_lib_soname_png:+false} :; then :
15974 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15975 fi ;;
15976 esac
15977 else
15978 ac_cv_lib_soname_png=
15980 rm -f core conftest.err conftest.$ac_objext \
15981 conftest$ac_exeext conftest.$ac_ext
15982 LIBS=$ac_check_soname_save_LIBS
15984 if ${ac_cv_lib_soname_png:+false} :; then :
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15986 $as_echo "not found" >&6; }
15987 PNG_CFLAGS=""
15988 else
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15990 $as_echo "$ac_cv_lib_soname_png" >&6; }
15992 cat >>confdefs.h <<_ACEOF
15993 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15994 _ACEOF
15998 else
15999 PNG_CFLAGS=""
16001 CPPFLAGS=$ac_save_CPPFLAGS
16004 if test "x$ac_cv_lib_soname_png" = "x"; then :
16005 case "x$with_png" in
16006 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16007 xno) ;;
16008 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16009 This is an error since --with-png was requested." "$LINENO" 5 ;;
16010 esac
16014 if test "x$with_tiff" != "xno"
16015 then
16016 if ${TIFF_CFLAGS:+false} :; then :
16017 if ${PKG_CONFIG+:} false; then :
16018 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16022 if ${TIFF_LIBS:+false} :; then :
16023 if ${PKG_CONFIG+:} false; then :
16024 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16029 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16030 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16031 ac_save_CPPFLAGS=$CPPFLAGS
16032 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16033 for ac_header in tiffio.h
16034 do :
16035 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16036 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16037 cat >>confdefs.h <<_ACEOF
16038 #define HAVE_TIFFIO_H 1
16039 _ACEOF
16043 done
16045 if test "$ac_cv_header_tiffio_h" = "yes"
16046 then
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16048 $as_echo_n "checking for -ltiff... " >&6; }
16049 if ${ac_cv_lib_soname_tiff+:} false; then :
16050 $as_echo_n "(cached) " >&6
16051 else
16052 ac_check_soname_save_LIBS=$LIBS
16053 LIBS="-ltiff $TIFF_LIBS $LIBS"
16054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16055 /* end confdefs.h. */
16057 /* Override any GCC internal prototype to avoid an error.
16058 Use char because int might match the return type of a GCC
16059 builtin and then its argument prototype would still apply. */
16060 #ifdef __cplusplus
16061 extern "C"
16062 #endif
16063 char TIFFClientOpen ();
16065 main ()
16067 return TIFFClientOpen ();
16069 return 0;
16071 _ACEOF
16072 if ac_fn_c_try_link "$LINENO"; then :
16073 case "$LIBEXT" in
16074 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16075 dylib) ac_cv_lib_soname_tiff=`$OTOOL -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16076 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16077 if ${ac_cv_lib_soname_tiff:+false} :; then :
16078 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16079 fi ;;
16080 esac
16081 else
16082 ac_cv_lib_soname_tiff=
16084 rm -f core conftest.err conftest.$ac_objext \
16085 conftest$ac_exeext conftest.$ac_ext
16086 LIBS=$ac_check_soname_save_LIBS
16088 if ${ac_cv_lib_soname_tiff:+false} :; then :
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16090 $as_echo "not found" >&6; }
16092 else
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16094 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16096 cat >>confdefs.h <<_ACEOF
16097 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16098 _ACEOF
16103 CPPFLAGS=$ac_save_CPPFLAGS
16106 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16107 case "x$with_tiff" in
16108 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16109 xno) ;;
16110 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16111 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16112 esac
16116 if test "x$with_mpg123" != "xno"
16117 then
16118 if ${MPG123_CFLAGS:+false} :; then :
16119 if ${PKG_CONFIG+:} false; then :
16120 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16124 if ${MPG123_LIBS:+false} :; then :
16125 if ${PKG_CONFIG+:} false; then :
16126 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16130 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16131 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16132 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16133 ac_save_CPPFLAGS=$CPPFLAGS
16134 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16135 for ac_header in mpg123.h
16136 do :
16137 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16138 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16139 cat >>confdefs.h <<_ACEOF
16140 #define HAVE_MPG123_H 1
16141 _ACEOF
16145 done
16147 if test "$ac_cv_header_mpg123_h" = "yes"
16148 then
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16150 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16151 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16152 $as_echo_n "(cached) " >&6
16153 else
16154 ac_check_lib_save_LIBS=$LIBS
16155 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16157 /* end confdefs.h. */
16159 /* Override any GCC internal prototype to avoid an error.
16160 Use char because int might match the return type of a GCC
16161 builtin and then its argument prototype would still apply. */
16162 #ifdef __cplusplus
16163 extern "C"
16164 #endif
16165 char mpg123_feed ();
16167 main ()
16169 return mpg123_feed ();
16171 return 0;
16173 _ACEOF
16174 if ac_fn_c_try_link "$LINENO"; then :
16175 ac_cv_lib_mpg123_mpg123_feed=yes
16176 else
16177 ac_cv_lib_mpg123_mpg123_feed=no
16179 rm -f core conftest.err conftest.$ac_objext \
16180 conftest$ac_exeext conftest.$ac_ext
16181 LIBS=$ac_check_lib_save_LIBS
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16184 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16185 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16187 else
16188 MPG123_LIBS=""
16191 else
16192 MPG123_CFLAGS=""
16193 MPG123_LIBS=""
16195 CPPFLAGS=$ac_save_CPPFLAGS
16198 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16199 case "x$with_mpg123" in
16200 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16201 xno) ;;
16202 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16203 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16204 esac
16205 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16207 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16209 if test "$ac_cv_header_AL_al_h" = "yes"
16210 then
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16212 $as_echo_n "checking for -lopenal... " >&6; }
16213 if ${ac_cv_lib_soname_openal+:} false; then :
16214 $as_echo_n "(cached) " >&6
16215 else
16216 ac_check_soname_save_LIBS=$LIBS
16217 LIBS="-lopenal $LIBS"
16218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16219 /* end confdefs.h. */
16221 /* Override any GCC internal prototype to avoid an error.
16222 Use char because int might match the return type of a GCC
16223 builtin and then its argument prototype would still apply. */
16224 #ifdef __cplusplus
16225 extern "C"
16226 #endif
16227 char alGetSource3i ();
16229 main ()
16231 return alGetSource3i ();
16233 return 0;
16235 _ACEOF
16236 if ac_fn_c_try_link "$LINENO"; then :
16237 case "$LIBEXT" in
16238 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16239 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'` ;;
16240 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16241 if ${ac_cv_lib_soname_openal:+false} :; then :
16242 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16243 fi ;;
16244 esac
16245 else
16246 ac_cv_lib_soname_openal=
16248 rm -f core conftest.err conftest.$ac_objext \
16249 conftest$ac_exeext conftest.$ac_ext
16250 LIBS=$ac_check_soname_save_LIBS
16252 if ${ac_cv_lib_soname_openal:+false} :; then :
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16254 $as_echo "not found" >&6; }
16256 else
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16258 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16260 cat >>confdefs.h <<_ACEOF
16261 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16262 _ACEOF
16264 OPENAL_LIBS="-lopenal"
16266 ac_cv_lib_openal=yes
16268 cat >>confdefs.h <<_ACEOF
16269 #define HAVE_OPENAL 1
16270 _ACEOF
16274 if test "x$ac_cv_lib_openal" != xyes; then :
16275 case "x$with_openal" in
16276 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16277 xno) ;;
16278 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16279 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16280 esac
16281 enable_openal32=${enable_openal32:-no}
16284 if test "x$ac_cv_lib_soname_FAudio" = "x"
16285 then
16286 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16287 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16288 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16289 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16290 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16291 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16292 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16293 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16294 enable_xactengine3_0=${enable_xactengine3_0:-no}
16295 enable_xactengine3_1=${enable_xactengine3_1:-no}
16296 enable_xactengine3_2=${enable_xactengine3_2:-no}
16297 enable_xactengine3_3=${enable_xactengine3_3:-no}
16298 enable_xactengine3_4=${enable_xactengine3_4:-no}
16299 enable_xactengine3_5=${enable_xactengine3_5:-no}
16300 enable_xactengine3_6=${enable_xactengine3_6:-no}
16301 enable_xactengine3_7=${enable_xactengine3_7:-no}
16302 enable_xapofx1_1=${enable_xapofx1_1:-no}
16303 enable_xapofx1_2=${enable_xapofx1_2:-no}
16304 enable_xapofx1_3=${enable_xapofx1_3:-no}
16305 enable_xapofx1_4=${enable_xapofx1_4:-no}
16306 enable_xapofx1_5=${enable_xapofx1_5:-no}
16307 enable_xaudio2_0=${enable_xaudio2_0:-no}
16308 enable_xaudio2_1=${enable_xaudio2_1:-no}
16309 enable_xaudio2_2=${enable_xaudio2_2:-no}
16310 enable_xaudio2_3=${enable_xaudio2_3:-no}
16311 enable_xaudio2_4=${enable_xaudio2_4:-no}
16312 enable_xaudio2_5=${enable_xaudio2_5:-no}
16313 enable_xaudio2_6=${enable_xaudio2_6:-no}
16314 enable_xaudio2_7=${enable_xaudio2_7:-no}
16315 enable_xaudio2_8=${enable_xaudio2_8:-no}
16316 enable_xaudio2_9=${enable_xaudio2_9:-no}
16319 if test "$ac_cv_header_kstat_h" = "yes"
16320 then
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16322 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16323 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16324 $as_echo_n "(cached) " >&6
16325 else
16326 ac_check_lib_save_LIBS=$LIBS
16327 LIBS="-lkstat $LIBS"
16328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16329 /* end confdefs.h. */
16331 /* Override any GCC internal prototype to avoid an error.
16332 Use char because int might match the return type of a GCC
16333 builtin and then its argument prototype would still apply. */
16334 #ifdef __cplusplus
16335 extern "C"
16336 #endif
16337 char kstat_open ();
16339 main ()
16341 return kstat_open ();
16343 return 0;
16345 _ACEOF
16346 if ac_fn_c_try_link "$LINENO"; then :
16347 ac_cv_lib_kstat_kstat_open=yes
16348 else
16349 ac_cv_lib_kstat_kstat_open=no
16351 rm -f core conftest.err conftest.$ac_objext \
16352 conftest$ac_exeext conftest.$ac_ext
16353 LIBS=$ac_check_lib_save_LIBS
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16356 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16357 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16359 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16361 KSTAT_LIBS="-lkstat"
16367 if test "$ac_cv_header_libprocstat_h" = "yes"
16368 then
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16370 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16371 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16372 $as_echo_n "(cached) " >&6
16373 else
16374 ac_check_lib_save_LIBS=$LIBS
16375 LIBS="-lprocstat $LIBS"
16376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16377 /* end confdefs.h. */
16379 /* Override any GCC internal prototype to avoid an error.
16380 Use char because int might match the return type of a GCC
16381 builtin and then its argument prototype would still apply. */
16382 #ifdef __cplusplus
16383 extern "C"
16384 #endif
16385 char procstat_open_sysctl ();
16387 main ()
16389 return procstat_open_sysctl ();
16391 return 0;
16393 _ACEOF
16394 if ac_fn_c_try_link "$LINENO"; then :
16395 ac_cv_lib_procstat_procstat_open_sysctl=yes
16396 else
16397 ac_cv_lib_procstat_procstat_open_sysctl=no
16399 rm -f core conftest.err conftest.$ac_objext \
16400 conftest$ac_exeext conftest.$ac_ext
16401 LIBS=$ac_check_lib_save_LIBS
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16404 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16405 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16407 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16409 PROCSTAT_LIBS="-lprocstat"
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16416 $as_echo_n "checking for -lodbc... " >&6; }
16417 if ${ac_cv_lib_soname_odbc+:} false; then :
16418 $as_echo_n "(cached) " >&6
16419 else
16420 ac_check_soname_save_LIBS=$LIBS
16421 LIBS="-lodbc $LIBS"
16422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16423 /* end confdefs.h. */
16425 /* Override any GCC internal prototype to avoid an error.
16426 Use char because int might match the return type of a GCC
16427 builtin and then its argument prototype would still apply. */
16428 #ifdef __cplusplus
16429 extern "C"
16430 #endif
16431 char SQLConnect ();
16433 main ()
16435 return SQLConnect ();
16437 return 0;
16439 _ACEOF
16440 if ac_fn_c_try_link "$LINENO"; then :
16441 case "$LIBEXT" in
16442 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16443 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'` ;;
16444 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16445 if ${ac_cv_lib_soname_odbc:+false} :; then :
16446 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16447 fi ;;
16448 esac
16449 else
16450 ac_cv_lib_soname_odbc=
16452 rm -f core conftest.err conftest.$ac_objext \
16453 conftest$ac_exeext conftest.$ac_ext
16454 LIBS=$ac_check_soname_save_LIBS
16456 if ${ac_cv_lib_soname_odbc:+false} :; then :
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16458 $as_echo "not found" >&6; }
16459 cat >>confdefs.h <<_ACEOF
16460 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16461 _ACEOF
16463 else
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16465 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16467 cat >>confdefs.h <<_ACEOF
16468 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16469 _ACEOF
16474 if test "x$with_netapi" != "xno"
16475 then
16476 if ${NETAPI_CFLAGS:+false} :; then :
16477 if ${PKG_CONFIG+:} false; then :
16478 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16482 if ${NETAPI_LIBS:+false} :; then :
16483 if ${PKG_CONFIG+:} false; then :
16484 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16489 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16490 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16491 ac_save_CPPFLAGS=$CPPFLAGS
16492 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16494 $as_echo_n "checking for -lnetapi... " >&6; }
16495 if ${ac_cv_lib_soname_netapi+:} false; then :
16496 $as_echo_n "(cached) " >&6
16497 else
16498 ac_check_soname_save_LIBS=$LIBS
16499 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16501 /* end confdefs.h. */
16503 /* Override any GCC internal prototype to avoid an error.
16504 Use char because int might match the return type of a GCC
16505 builtin and then its argument prototype would still apply. */
16506 #ifdef __cplusplus
16507 extern "C"
16508 #endif
16509 char libnetapi_init ();
16511 main ()
16513 return libnetapi_init ();
16515 return 0;
16517 _ACEOF
16518 if ac_fn_c_try_link "$LINENO"; then :
16519 case "$LIBEXT" in
16520 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16521 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'` ;;
16522 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16523 if ${ac_cv_lib_soname_netapi:+false} :; then :
16524 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16525 fi ;;
16526 esac
16527 else
16528 ac_cv_lib_soname_netapi=
16530 rm -f core conftest.err conftest.$ac_objext \
16531 conftest$ac_exeext conftest.$ac_ext
16532 LIBS=$ac_check_soname_save_LIBS
16534 if ${ac_cv_lib_soname_netapi:+false} :; then :
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16536 $as_echo "not found" >&6; }
16537 cat >>confdefs.h <<_ACEOF
16538 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16539 _ACEOF
16541 else
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16543 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16545 cat >>confdefs.h <<_ACEOF
16546 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16547 _ACEOF
16551 CPPFLAGS=$ac_save_CPPFLAGS
16555 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16556 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16557 then
16558 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16561 if test "x$with_vulkan" != "xno"
16562 then
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16564 $as_echo_n "checking for -lvulkan... " >&6; }
16565 if ${ac_cv_lib_soname_vulkan+:} false; then :
16566 $as_echo_n "(cached) " >&6
16567 else
16568 ac_check_soname_save_LIBS=$LIBS
16569 LIBS="-lvulkan $LIBS"
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16573 /* Override any GCC internal prototype to avoid an error.
16574 Use char because int might match the return type of a GCC
16575 builtin and then its argument prototype would still apply. */
16576 #ifdef __cplusplus
16577 extern "C"
16578 #endif
16579 char vkGetInstanceProcAddr ();
16581 main ()
16583 return vkGetInstanceProcAddr ();
16585 return 0;
16587 _ACEOF
16588 if ac_fn_c_try_link "$LINENO"; then :
16589 case "$LIBEXT" in
16590 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16591 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'` ;;
16592 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16593 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16594 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16595 fi ;;
16596 esac
16597 else
16598 ac_cv_lib_soname_vulkan=
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_soname_save_LIBS
16604 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16606 $as_echo "not found" >&6; }
16608 else
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16610 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16612 cat >>confdefs.h <<_ACEOF
16613 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16614 _ACEOF
16618 if test "x$ac_cv_lib_soname_vulkan" = "x"
16619 then
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16621 $as_echo_n "checking for -lMoltenVK... " >&6; }
16622 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16623 $as_echo_n "(cached) " >&6
16624 else
16625 ac_check_soname_save_LIBS=$LIBS
16626 LIBS="-lMoltenVK $LIBS"
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16630 /* Override any GCC internal prototype to avoid an error.
16631 Use char because int might match the return type of a GCC
16632 builtin and then its argument prototype would still apply. */
16633 #ifdef __cplusplus
16634 extern "C"
16635 #endif
16636 char vkGetInstanceProcAddr ();
16638 main ()
16640 return vkGetInstanceProcAddr ();
16642 return 0;
16644 _ACEOF
16645 if ac_fn_c_try_link "$LINENO"; then :
16646 case "$LIBEXT" in
16647 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16648 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'` ;;
16649 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16650 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16651 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16652 fi ;;
16653 esac
16654 else
16655 ac_cv_lib_soname_MoltenVK=
16657 rm -f core conftest.err conftest.$ac_objext \
16658 conftest$ac_exeext conftest.$ac_ext
16659 LIBS=$ac_check_soname_save_LIBS
16661 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16663 $as_echo "not found" >&6; }
16665 else
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16667 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16669 cat >>confdefs.h <<_ACEOF
16670 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16671 _ACEOF
16677 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16678 case "x$with_vulkan" in
16679 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16680 xno) ;;
16681 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16682 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16683 esac
16687 if test "x$with_vkd3d" != "xno"
16688 then
16689 if ${VKD3D_CFLAGS:+false} :; then :
16690 if ${PKG_CONFIG+:} false; then :
16691 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16695 if ${VKD3D_LIBS:+false} :; then :
16696 if ${PKG_CONFIG+:} false; then :
16697 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16702 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16703 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16704 ac_save_CPPFLAGS=$CPPFLAGS
16705 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16707 $as_echo_n "checking for -lvkd3d... " >&6; }
16708 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16709 $as_echo_n "(cached) " >&6
16710 else
16711 ac_check_soname_save_LIBS=$LIBS
16712 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16714 /* end confdefs.h. */
16716 /* Override any GCC internal prototype to avoid an error.
16717 Use char because int might match the return type of a GCC
16718 builtin and then its argument prototype would still apply. */
16719 #ifdef __cplusplus
16720 extern "C"
16721 #endif
16722 char vkd3d_get_dxgi_format ();
16724 main ()
16726 return vkd3d_get_dxgi_format ();
16728 return 0;
16730 _ACEOF
16731 if ac_fn_c_try_link "$LINENO"; then :
16732 case "$LIBEXT" in
16733 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16734 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'` ;;
16735 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16736 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16737 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16738 fi ;;
16739 esac
16740 else
16741 ac_cv_lib_soname_vkd3d=
16743 rm -f core conftest.err conftest.$ac_objext \
16744 conftest$ac_exeext conftest.$ac_ext
16745 LIBS=$ac_check_soname_save_LIBS
16747 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16749 $as_echo "not found" >&6; }
16751 else
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16753 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16755 cat >>confdefs.h <<_ACEOF
16756 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16757 _ACEOF
16761 CPPFLAGS=$ac_save_CPPFLAGS
16763 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16764 if ${PKG_CONFIG+:} false; then :
16765 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16769 if ${VKD3D_SHADER_LIBS:+false} :; then :
16770 if ${PKG_CONFIG+:} false; then :
16771 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16776 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16777 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16778 ac_save_CPPFLAGS=$CPPFLAGS
16779 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16781 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16782 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16783 $as_echo_n "(cached) " >&6
16784 else
16785 ac_check_soname_save_LIBS=$LIBS
16786 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16790 /* Override any GCC internal prototype to avoid an error.
16791 Use char because int might match the return type of a GCC
16792 builtin and then its argument prototype would still apply. */
16793 #ifdef __cplusplus
16794 extern "C"
16795 #endif
16796 char vkd3d_shader_compile ();
16798 main ()
16800 return vkd3d_shader_compile ();
16802 return 0;
16804 _ACEOF
16805 if ac_fn_c_try_link "$LINENO"; then :
16806 case "$LIBEXT" in
16807 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16808 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'` ;;
16809 *) 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'`
16810 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16811 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16812 fi ;;
16813 esac
16814 else
16815 ac_cv_lib_soname_vkd3d_shader=
16817 rm -f core conftest.err conftest.$ac_objext \
16818 conftest$ac_exeext conftest.$ac_ext
16819 LIBS=$ac_check_soname_save_LIBS
16821 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16823 $as_echo "not found" >&6; }
16825 else
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16827 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16829 cat >>confdefs.h <<_ACEOF
16830 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16831 _ACEOF
16835 CPPFLAGS=$ac_save_CPPFLAGS
16838 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16839 case "x$with_vkd3d" in
16840 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16841 xno) ;;
16842 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16843 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16844 esac
16847 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16850 EXTRACFLAGS=""
16852 if test "x${GCC}" = "xyes"
16853 then
16854 EXTRACFLAGS="-Wall -pipe"
16856 saved_CFLAGS=$CFLAGS
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16858 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16859 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16860 $as_echo_n "(cached) " >&6
16861 else
16862 ac_wine_try_cflags_saved=$CFLAGS
16863 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16865 /* end confdefs.h. */
16866 int main(int argc, char **argv) { return 0; }
16867 _ACEOF
16868 if ac_fn_c_try_link "$LINENO"; then :
16869 ac_cv_cflags__Werror_unknown_warning_option=yes
16870 else
16871 ac_cv_cflags__Werror_unknown_warning_option=no
16873 rm -f core conftest.err conftest.$ac_objext \
16874 conftest$ac_exeext conftest.$ac_ext
16875 CFLAGS=$ac_wine_try_cflags_saved
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16878 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16879 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16880 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16883 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16884 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16885 $as_echo_n "(cached) " >&6
16886 else
16887 ac_wine_try_cflags_saved=$CFLAGS
16888 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16890 /* end confdefs.h. */
16891 int main(int argc, char **argv) { return 0; }
16892 _ACEOF
16893 if ac_fn_c_try_link "$LINENO"; then :
16894 ac_cv_cflags__Werror_unused_command_line_argument=yes
16895 else
16896 ac_cv_cflags__Werror_unused_command_line_argument=no
16898 rm -f core conftest.err conftest.$ac_objext \
16899 conftest$ac_exeext conftest.$ac_ext
16900 CFLAGS=$ac_wine_try_cflags_saved
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16903 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16904 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16905 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16908 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16909 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16910 $as_echo_n "(cached) " >&6
16911 else
16912 ac_wine_try_cflags_saved=$CFLAGS
16913 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16916 int main(int argc, char **argv) { return 0; }
16917 _ACEOF
16918 if ac_fn_c_try_link "$LINENO"; then :
16919 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16920 else
16921 ac_cv_cflags__Werror_ignored_optimization_argument=no
16923 rm -f core conftest.err conftest.$ac_objext \
16924 conftest$ac_exeext conftest.$ac_ext
16925 CFLAGS=$ac_wine_try_cflags_saved
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16928 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16929 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16930 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16933 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16934 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16935 $as_echo_n "(cached) " >&6
16936 else
16937 ac_wine_try_cflags_saved=$CFLAGS
16938 CFLAGS="$CFLAGS -fcf-protection=none"
16939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16940 /* end confdefs.h. */
16941 int main(int argc, char **argv) { return 0; }
16942 _ACEOF
16943 if ac_fn_c_try_link "$LINENO"; then :
16944 ac_cv_cflags__fcf_protection_none=yes
16945 else
16946 ac_cv_cflags__fcf_protection_none=no
16948 rm -f core conftest.err conftest.$ac_objext \
16949 conftest$ac_exeext conftest.$ac_ext
16950 CFLAGS=$ac_wine_try_cflags_saved
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16953 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16954 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16955 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16958 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16959 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16960 $as_echo_n "(cached) " >&6
16961 else
16962 ac_wine_try_cflags_saved=$CFLAGS
16963 CFLAGS="$CFLAGS -fno-stack-protector"
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 int main(int argc, char **argv) { return 0; }
16967 _ACEOF
16968 if ac_fn_c_try_link "$LINENO"; then :
16969 ac_cv_cflags__fno_stack_protector=yes
16970 else
16971 ac_cv_cflags__fno_stack_protector=no
16973 rm -f core conftest.err conftest.$ac_objext \
16974 conftest$ac_exeext conftest.$ac_ext
16975 CFLAGS=$ac_wine_try_cflags_saved
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16978 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16979 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16980 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16983 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16984 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16985 $as_echo_n "(cached) " >&6
16986 else
16987 ac_wine_try_cflags_saved=$CFLAGS
16988 CFLAGS="$CFLAGS -fno-strict-aliasing"
16989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h. */
16991 int main(int argc, char **argv) { return 0; }
16992 _ACEOF
16993 if ac_fn_c_try_link "$LINENO"; then :
16994 ac_cv_cflags__fno_strict_aliasing=yes
16995 else
16996 ac_cv_cflags__fno_strict_aliasing=no
16998 rm -f core conftest.err conftest.$ac_objext \
16999 conftest$ac_exeext conftest.$ac_ext
17000 CFLAGS=$ac_wine_try_cflags_saved
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17003 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17004 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17005 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17008 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17009 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17010 $as_echo_n "(cached) " >&6
17011 else
17012 ac_wine_try_cflags_saved=$CFLAGS
17013 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 int main(int argc, char **argv) { return 0; }
17017 _ACEOF
17018 if ac_fn_c_try_link "$LINENO"; then :
17019 ac_cv_cflags__Wdeclaration_after_statement=yes
17020 else
17021 ac_cv_cflags__Wdeclaration_after_statement=no
17023 rm -f core conftest.err conftest.$ac_objext \
17024 conftest$ac_exeext conftest.$ac_ext
17025 CFLAGS=$ac_wine_try_cflags_saved
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17028 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17029 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17030 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17033 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17034 if ${ac_cv_cflags__Wempty_body+:} false; then :
17035 $as_echo_n "(cached) " >&6
17036 else
17037 ac_wine_try_cflags_saved=$CFLAGS
17038 CFLAGS="$CFLAGS -Wempty-body"
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17041 int main(int argc, char **argv) { return 0; }
17042 _ACEOF
17043 if ac_fn_c_try_link "$LINENO"; then :
17044 ac_cv_cflags__Wempty_body=yes
17045 else
17046 ac_cv_cflags__Wempty_body=no
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17050 CFLAGS=$ac_wine_try_cflags_saved
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17053 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17054 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17055 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17058 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17059 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17060 $as_echo_n "(cached) " >&6
17061 else
17062 ac_wine_try_cflags_saved=$CFLAGS
17063 CFLAGS="$CFLAGS -Wignored-qualifiers"
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066 int main(int argc, char **argv) { return 0; }
17067 _ACEOF
17068 if ac_fn_c_try_link "$LINENO"; then :
17069 ac_cv_cflags__Wignored_qualifiers=yes
17070 else
17071 ac_cv_cflags__Wignored_qualifiers=no
17073 rm -f core conftest.err conftest.$ac_objext \
17074 conftest$ac_exeext conftest.$ac_ext
17075 CFLAGS=$ac_wine_try_cflags_saved
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17078 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17079 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17080 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17083 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17084 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17085 $as_echo_n "(cached) " >&6
17086 else
17087 ac_wine_try_cflags_saved=$CFLAGS
17088 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17090 /* end confdefs.h. */
17091 int main(int argc, char **argv) { return 0; }
17092 _ACEOF
17093 if ac_fn_c_try_link "$LINENO"; then :
17094 ac_cv_cflags__Wpacked_not_aligned=yes
17095 else
17096 ac_cv_cflags__Wpacked_not_aligned=no
17098 rm -f core conftest.err conftest.$ac_objext \
17099 conftest$ac_exeext conftest.$ac_ext
17100 CFLAGS=$ac_wine_try_cflags_saved
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17103 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17104 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17105 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17108 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17109 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17110 $as_echo_n "(cached) " >&6
17111 else
17112 ac_wine_try_cflags_saved=$CFLAGS
17113 CFLAGS="$CFLAGS -Wpragma-pack"
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17116 int main(int argc, char **argv) { return 0; }
17117 _ACEOF
17118 if ac_fn_c_try_link "$LINENO"; then :
17119 ac_cv_cflags__Wpragma_pack=yes
17120 else
17121 ac_cv_cflags__Wpragma_pack=no
17123 rm -f core conftest.err conftest.$ac_objext \
17124 conftest$ac_exeext conftest.$ac_ext
17125 CFLAGS=$ac_wine_try_cflags_saved
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17128 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17129 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17130 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17133 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17134 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17135 $as_echo_n "(cached) " >&6
17136 else
17137 ac_wine_try_cflags_saved=$CFLAGS
17138 CFLAGS="$CFLAGS -Wshift-overflow=2"
17139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h. */
17141 int main(int argc, char **argv) { return 0; }
17142 _ACEOF
17143 if ac_fn_c_try_link "$LINENO"; then :
17144 ac_cv_cflags__Wshift_overflow_2=yes
17145 else
17146 ac_cv_cflags__Wshift_overflow_2=no
17148 rm -f core conftest.err conftest.$ac_objext \
17149 conftest$ac_exeext conftest.$ac_ext
17150 CFLAGS=$ac_wine_try_cflags_saved
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17153 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17154 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17155 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17158 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17159 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17160 $as_echo_n "(cached) " >&6
17161 else
17162 ac_wine_try_cflags_saved=$CFLAGS
17163 CFLAGS="$CFLAGS -Wstrict-prototypes"
17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17166 int main(int argc, char **argv) { return 0; }
17167 _ACEOF
17168 if ac_fn_c_try_link "$LINENO"; then :
17169 ac_cv_cflags__Wstrict_prototypes=yes
17170 else
17171 ac_cv_cflags__Wstrict_prototypes=no
17173 rm -f core conftest.err conftest.$ac_objext \
17174 conftest$ac_exeext conftest.$ac_ext
17175 CFLAGS=$ac_wine_try_cflags_saved
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17178 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17179 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17180 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17183 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17184 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17185 $as_echo_n "(cached) " >&6
17186 else
17187 ac_wine_try_cflags_saved=$CFLAGS
17188 CFLAGS="$CFLAGS -Wtype-limits"
17189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17190 /* end confdefs.h. */
17191 int main(int argc, char **argv) { return 0; }
17192 _ACEOF
17193 if ac_fn_c_try_link "$LINENO"; then :
17194 ac_cv_cflags__Wtype_limits=yes
17195 else
17196 ac_cv_cflags__Wtype_limits=no
17198 rm -f core conftest.err conftest.$ac_objext \
17199 conftest$ac_exeext conftest.$ac_ext
17200 CFLAGS=$ac_wine_try_cflags_saved
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17203 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17204 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17205 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17208 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17209 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17210 $as_echo_n "(cached) " >&6
17211 else
17212 ac_wine_try_cflags_saved=$CFLAGS
17213 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17216 int main(int argc, char **argv) { return 0; }
17217 _ACEOF
17218 if ac_fn_c_try_link "$LINENO"; then :
17219 ac_cv_cflags__Wunused_but_set_parameter=yes
17220 else
17221 ac_cv_cflags__Wunused_but_set_parameter=no
17223 rm -f core conftest.err conftest.$ac_objext \
17224 conftest$ac_exeext conftest.$ac_ext
17225 CFLAGS=$ac_wine_try_cflags_saved
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17228 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17229 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17230 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17233 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17234 if ${ac_cv_cflags__Wvla+:} false; then :
17235 $as_echo_n "(cached) " >&6
17236 else
17237 ac_wine_try_cflags_saved=$CFLAGS
17238 CFLAGS="$CFLAGS -Wvla"
17239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h. */
17241 int main(int argc, char **argv) { return 0; }
17242 _ACEOF
17243 if ac_fn_c_try_link "$LINENO"; then :
17244 ac_cv_cflags__Wvla=yes
17245 else
17246 ac_cv_cflags__Wvla=no
17248 rm -f core conftest.err conftest.$ac_objext \
17249 conftest$ac_exeext conftest.$ac_ext
17250 CFLAGS=$ac_wine_try_cflags_saved
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17253 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17254 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17255 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17258 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17259 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17260 $as_echo_n "(cached) " >&6
17261 else
17262 ac_wine_try_cflags_saved=$CFLAGS
17263 CFLAGS="$CFLAGS -Wwrite-strings"
17264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17265 /* end confdefs.h. */
17266 int main(int argc, char **argv) { return 0; }
17267 _ACEOF
17268 if ac_fn_c_try_link "$LINENO"; then :
17269 ac_cv_cflags__Wwrite_strings=yes
17270 else
17271 ac_cv_cflags__Wwrite_strings=no
17273 rm -f core conftest.err conftest.$ac_objext \
17274 conftest$ac_exeext conftest.$ac_ext
17275 CFLAGS=$ac_wine_try_cflags_saved
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17278 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17279 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17280 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17283 if test -z "$CROSSTARGET"
17284 then
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17286 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17287 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17288 $as_echo_n "(cached) " >&6
17289 else
17290 ac_wine_try_cflags_saved=$CFLAGS
17291 CFLAGS="$CFLAGS -fexcess-precision=standard"
17292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17293 /* end confdefs.h. */
17294 int main(int argc, char **argv) { return 0; }
17295 _ACEOF
17296 if ac_fn_c_try_link "$LINENO"; then :
17297 ac_cv_cflags__fexcess_precision_standard=yes
17298 else
17299 ac_cv_cflags__fexcess_precision_standard=no
17301 rm -f core conftest.err conftest.$ac_objext \
17302 conftest$ac_exeext conftest.$ac_ext
17303 CFLAGS=$ac_wine_try_cflags_saved
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17306 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17307 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17308 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17314 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17315 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17316 $as_echo_n "(cached) " >&6
17317 else
17318 ac_wine_try_cflags_saved=$CFLAGS
17319 CFLAGS="$CFLAGS -Wpointer-arith"
17320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17321 /* end confdefs.h. */
17322 int main(int argc, char **argv) { return 0; }
17323 _ACEOF
17324 if ac_fn_c_try_link "$LINENO"; then :
17325 ac_cv_cflags__Wpointer_arith=yes
17326 else
17327 ac_cv_cflags__Wpointer_arith=no
17329 rm -f core conftest.err conftest.$ac_objext \
17330 conftest$ac_exeext conftest.$ac_ext
17331 CFLAGS=$ac_wine_try_cflags_saved
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17334 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17335 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17336 saved_string_h_CFLAGS=$CFLAGS
17337 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17339 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17340 if ${ac_cv_c_string_h_warnings+:} false; then :
17341 $as_echo_n "(cached) " >&6
17342 else
17343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17344 /* end confdefs.h. */
17345 #include <string.h>
17347 main ()
17351 return 0;
17353 _ACEOF
17354 if ac_fn_c_try_compile "$LINENO"; then :
17355 ac_cv_c_string_h_warnings=no
17356 else
17357 ac_cv_c_string_h_warnings=yes
17359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17362 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17363 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17364 CFLAGS=$saved_string_h_CFLAGS
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17368 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17369 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17370 $as_echo_n "(cached) " >&6
17371 else
17372 ac_wine_try_cflags_saved=$CFLAGS
17373 CFLAGS="$CFLAGS -Wlogical-op"
17374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17375 /* end confdefs.h. */
17376 int main(int argc, char **argv) { return 0; }
17377 _ACEOF
17378 if ac_fn_c_try_link "$LINENO"; then :
17379 ac_cv_cflags__Wlogical_op=yes
17380 else
17381 ac_cv_cflags__Wlogical_op=no
17383 rm -f core conftest.err conftest.$ac_objext \
17384 conftest$ac_exeext conftest.$ac_ext
17385 CFLAGS=$ac_wine_try_cflags_saved
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17388 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17389 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17390 saved_string_h_CFLAGS=$CFLAGS
17391 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17393 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17394 if ${ac_cv_c_logicalop_noisy+:} false; then :
17395 $as_echo_n "(cached) " >&6
17396 else
17397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17398 /* end confdefs.h. */
17399 #include <string.h>
17400 char*f(const char *h,char n) {return strchr(h,n);}
17402 main ()
17406 return 0;
17408 _ACEOF
17409 if ac_fn_c_try_compile "$LINENO"; then :
17410 ac_cv_c_logicalop_noisy=no
17411 else
17412 ac_cv_c_logicalop_noisy=yes
17414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17417 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17418 CFLAGS=$saved_string_h_CFLAGS
17419 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17423 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17424 if ${wine_cv_64bit_compare_swap+:} false; then :
17425 $as_echo_n "(cached) " >&6
17426 else
17427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17428 /* end confdefs.h. */
17429 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17430 #error no
17431 #endif
17433 main ()
17437 return 0;
17439 _ACEOF
17440 if ac_fn_c_try_compile "$LINENO"; then :
17441 wine_cv_64bit_compare_swap="none needed"
17442 else
17443 case $host_cpu in
17444 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17445 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17446 *) wine_cv_64bit_compare_swap="unknown" ;;
17447 esac
17448 if test "x$wine_cv_64bit_compare_swap" != xunknown
17449 then
17450 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17453 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17454 #error no
17455 #endif
17457 main ()
17461 return 0;
17463 _ACEOF
17464 if ac_fn_c_try_compile "$LINENO"; then :
17466 else
17467 wine_cv_64bit_compare_swap="unknown"
17469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17470 CFLAGS=$saved_CFLAGS
17473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17476 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17477 case "$wine_cv_64bit_compare_swap" in
17478 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17479 "none needed") ;;
17480 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17481 esac
17483 for ac_flag in $CFLAGS; do
17484 case $ac_flag in
17485 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17486 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17487 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17488 $as_echo_n "(cached) " >&6
17489 else
17490 ac_wine_try_cflags_saved=$CFLAGS
17491 CFLAGS="$CFLAGS -gdwarf-2"
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17494 int main(int argc, char **argv) { return 0; }
17495 _ACEOF
17496 if ac_fn_c_try_link "$LINENO"; then :
17497 ac_cv_cflags__gdwarf_2=yes
17498 else
17499 ac_cv_cflags__gdwarf_2=no
17501 rm -f core conftest.err conftest.$ac_objext \
17502 conftest$ac_exeext conftest.$ac_ext
17503 CFLAGS=$ac_wine_try_cflags_saved
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17506 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17507 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17508 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17511 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17512 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17513 $as_echo_n "(cached) " >&6
17514 else
17515 ac_wine_try_cflags_saved=$CFLAGS
17516 CFLAGS="$CFLAGS -gstrict-dwarf"
17517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17518 /* end confdefs.h. */
17519 int main(int argc, char **argv) { return 0; }
17520 _ACEOF
17521 if ac_fn_c_try_link "$LINENO"; then :
17522 ac_cv_cflags__gstrict_dwarf=yes
17523 else
17524 ac_cv_cflags__gstrict_dwarf=no
17526 rm -f core conftest.err conftest.$ac_objext \
17527 conftest$ac_exeext conftest.$ac_ext
17528 CFLAGS=$ac_wine_try_cflags_saved
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17531 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17532 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17533 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17534 fi ;;
17535 esac
17536 done
17538 MSVCRTFLAGS=""
17540 case $host_os in
17541 mingw32*) ;;
17542 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17543 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17544 if ${ac_cv_cflags__fno_builtin+:} false; then :
17545 $as_echo_n "(cached) " >&6
17546 else
17547 ac_wine_try_cflags_saved=$CFLAGS
17548 CFLAGS="$CFLAGS -fno-builtin"
17549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17550 /* end confdefs.h. */
17551 int main(int argc, char **argv) { return 0; }
17552 _ACEOF
17553 if ac_fn_c_try_link "$LINENO"; then :
17554 ac_cv_cflags__fno_builtin=yes
17555 else
17556 ac_cv_cflags__fno_builtin=no
17558 rm -f core conftest.err conftest.$ac_objext \
17559 conftest$ac_exeext conftest.$ac_ext
17560 CFLAGS=$ac_wine_try_cflags_saved
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17563 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17564 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17565 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17568 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17569 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17572 ac_wine_try_cflags_saved=$CFLAGS
17573 CFLAGS="$CFLAGS -fshort-wchar"
17574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17575 /* end confdefs.h. */
17576 int main(int argc, char **argv) { return 0; }
17577 _ACEOF
17578 if ac_fn_c_try_link "$LINENO"; then :
17579 ac_cv_cflags__fshort_wchar=yes
17580 else
17581 ac_cv_cflags__fshort_wchar=no
17583 rm -f core conftest.err conftest.$ac_objext \
17584 conftest$ac_exeext conftest.$ac_ext
17585 CFLAGS=$ac_wine_try_cflags_saved
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17588 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17589 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17590 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17591 fi ;;
17592 esac
17594 case $host_cpu in
17595 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17596 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17597 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17598 $as_echo_n "(cached) " >&6
17599 else
17600 ac_wine_try_cflags_saved=$CFLAGS
17601 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17603 /* end confdefs.h. */
17604 int main(int argc, char **argv) { return 0; }
17605 _ACEOF
17606 if ac_fn_c_try_link "$LINENO"; then :
17607 ac_cv_cflags__fno_omit_frame_pointer=yes
17608 else
17609 ac_cv_cflags__fno_omit_frame_pointer=no
17611 rm -f core conftest.err conftest.$ac_objext \
17612 conftest$ac_exeext conftest.$ac_ext
17613 CFLAGS=$ac_wine_try_cflags_saved
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17616 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17617 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17618 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17619 fi ;;
17620 *x86_64*)
17621 case $host_os in
17622 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17623 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17624 if ${ac_cv_cflags__Wno_format+:} false; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17627 ac_wine_try_cflags_saved=$CFLAGS
17628 CFLAGS="$CFLAGS -Wno-format"
17629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17630 /* end confdefs.h. */
17631 int main(int argc, char **argv) { return 0; }
17632 _ACEOF
17633 if ac_fn_c_try_link "$LINENO"; then :
17634 ac_cv_cflags__Wno_format=yes
17635 else
17636 ac_cv_cflags__Wno_format=no
17638 rm -f core conftest.err conftest.$ac_objext \
17639 conftest$ac_exeext conftest.$ac_ext
17640 CFLAGS=$ac_wine_try_cflags_saved
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17643 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17644 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17645 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17646 fi ;;
17647 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17648 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17649 if ${ac_cv_cflags__mabi_ms+:} false; then :
17650 $as_echo_n "(cached) " >&6
17651 else
17652 ac_wine_try_cflags_saved=$CFLAGS
17653 CFLAGS="$CFLAGS -mabi=ms"
17654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17655 /* end confdefs.h. */
17656 int main(int argc, char **argv) { return 0; }
17657 _ACEOF
17658 if ac_fn_c_try_link "$LINENO"; then :
17659 ac_cv_cflags__mabi_ms=yes
17660 else
17661 ac_cv_cflags__mabi_ms=no
17663 rm -f core conftest.err conftest.$ac_objext \
17664 conftest$ac_exeext conftest.$ac_ext
17665 CFLAGS=$ac_wine_try_cflags_saved
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17668 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17669 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17670 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17671 fi ;;
17672 esac ;;
17673 esac
17675 CFLAGS=$saved_CFLAGS
17677 if test "x$enable_werror" = "xyes"
17678 then
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17680 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17681 if ${ac_cv_cflags__Werror+:} false; then :
17682 $as_echo_n "(cached) " >&6
17683 else
17684 ac_wine_try_cflags_saved=$CFLAGS
17685 CFLAGS="$CFLAGS -Werror"
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17688 int main(int argc, char **argv) { return 0; }
17689 _ACEOF
17690 if ac_fn_c_try_link "$LINENO"; then :
17691 ac_cv_cflags__Werror=yes
17692 else
17693 ac_cv_cflags__Werror=no
17695 rm -f core conftest.err conftest.$ac_objext \
17696 conftest$ac_exeext conftest.$ac_ext
17697 CFLAGS=$ac_wine_try_cflags_saved
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17700 $as_echo "$ac_cv_cflags__Werror" >&6; }
17701 if test "x$ac_cv_cflags__Werror" = xyes; then :
17702 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17709 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17710 if ${ac_cv_c_fortify_enabled+:} false; then :
17711 $as_echo_n "(cached) " >&6
17712 else
17713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17714 /* end confdefs.h. */
17715 #include <string.h>
17717 main ()
17719 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17720 #error Fortify enabled
17721 #endif
17723 return 0;
17725 _ACEOF
17726 if ac_fn_c_try_compile "$LINENO"; then :
17727 ac_cv_c_fortify_enabled=no
17728 else
17729 ac_cv_c_fortify_enabled=yes
17731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17734 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17735 if test "$ac_cv_c_fortify_enabled" = yes
17736 then
17737 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17742 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17743 if ${ac_cv_c_cfi_support+:} false; then :
17744 $as_echo_n "(cached) " >&6
17745 else
17746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17747 /* end confdefs.h. */
17748 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17750 main ()
17754 return 0;
17756 _ACEOF
17757 if ac_fn_c_try_compile "$LINENO"; then :
17758 ac_cv_c_cfi_support="yes"
17759 else
17760 ac_cv_c_cfi_support="no"
17762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17765 $as_echo "$ac_cv_c_cfi_support" >&6; }
17766 if test "$ac_cv_c_cfi_support" = "yes"
17767 then
17768 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17769 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17770 else
17771 if test "x$enable_win64" = "xyes"
17772 then
17773 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17778 case $build_os in
17779 cygwin*|mingw32*) TOOLSEXT=".exe"
17781 esac
17783 case $host_os in
17784 linux*)
17785 case $host_cpu in
17786 *i[3456789]86*|x86_64*|*aarch64*)
17787 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17788 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17790 esac
17792 esac
17795 ac_save_CFLAGS="$CFLAGS"
17796 CFLAGS="$CFLAGS $BUILTINFLAG"
17797 for ac_func in \
17798 __res_get_state \
17799 __res_getservers \
17800 _spawnvp \
17801 epoll_create \
17802 ffs \
17803 finite \
17804 finitef \
17805 fnmatch \
17806 fork \
17807 fpclass \
17808 fstatfs \
17809 fstatvfs \
17810 futimens \
17811 futimes \
17812 futimesat \
17813 getattrlist \
17814 getauxval \
17815 getifaddrs \
17816 getopt_long_only \
17817 getrandom \
17818 kqueue \
17819 lstat \
17820 mach_continuous_time \
17821 pipe2 \
17822 poll \
17823 port_create \
17824 prctl \
17825 pread \
17826 proc_pidinfo \
17827 pwrite \
17828 readdir \
17829 readlink \
17830 sched_yield \
17831 select \
17832 setproctitle \
17833 setprogname \
17834 settimeofday \
17835 sigprocmask \
17836 statfs \
17837 statvfs \
17838 strnlen \
17839 strtold \
17840 symlink \
17841 sysinfo \
17842 tcdrain \
17843 thr_kill2 \
17844 usleep
17846 do :
17847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17849 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17850 cat >>confdefs.h <<_ACEOF
17851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17852 _ACEOF
17855 done
17857 CFLAGS="$ac_save_CFLAGS"
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17860 $as_echo_n "checking for library containing dlopen... " >&6; }
17861 if ${ac_cv_search_dlopen+:} false; then :
17862 $as_echo_n "(cached) " >&6
17863 else
17864 ac_func_search_save_LIBS=$LIBS
17865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17866 /* end confdefs.h. */
17868 /* Override any GCC internal prototype to avoid an error.
17869 Use char because int might match the return type of a GCC
17870 builtin and then its argument prototype would still apply. */
17871 #ifdef __cplusplus
17872 extern "C"
17873 #endif
17874 char dlopen ();
17876 main ()
17878 return dlopen ();
17880 return 0;
17882 _ACEOF
17883 for ac_lib in '' dl; do
17884 if test -z "$ac_lib"; then
17885 ac_res="none required"
17886 else
17887 ac_res=-l$ac_lib
17888 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17890 if ac_fn_c_try_link "$LINENO"; then :
17891 ac_cv_search_dlopen=$ac_res
17893 rm -f core conftest.err conftest.$ac_objext \
17894 conftest$ac_exeext
17895 if ${ac_cv_search_dlopen+:} false; then :
17896 break
17898 done
17899 if ${ac_cv_search_dlopen+:} false; then :
17901 else
17902 ac_cv_search_dlopen=no
17904 rm conftest.$ac_ext
17905 LIBS=$ac_func_search_save_LIBS
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17908 $as_echo "$ac_cv_search_dlopen" >&6; }
17909 ac_res=$ac_cv_search_dlopen
17910 if test "$ac_res" != no; then :
17911 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17915 ac_wine_check_funcs_save_LIBS="$LIBS"
17916 LIBS="$LIBS $DL_LIBS"
17917 for ac_func in dladdr dlinfo
17918 do :
17919 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17920 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17921 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17922 cat >>confdefs.h <<_ACEOF
17923 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17924 _ACEOF
17927 done
17929 LIBS="$ac_wine_check_funcs_save_LIBS"
17931 if test "$ac_cv_func_poll" = no
17932 then
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17934 $as_echo_n "checking for poll in -lpoll... " >&6; }
17935 if ${ac_cv_lib_poll_poll+:} false; then :
17936 $as_echo_n "(cached) " >&6
17937 else
17938 ac_check_lib_save_LIBS=$LIBS
17939 LIBS="-lpoll $LIBS"
17940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17941 /* end confdefs.h. */
17943 /* Override any GCC internal prototype to avoid an error.
17944 Use char because int might match the return type of a GCC
17945 builtin and then its argument prototype would still apply. */
17946 #ifdef __cplusplus
17947 extern "C"
17948 #endif
17949 char poll ();
17951 main ()
17953 return poll ();
17955 return 0;
17957 _ACEOF
17958 if ac_fn_c_try_link "$LINENO"; then :
17959 ac_cv_lib_poll_poll=yes
17960 else
17961 ac_cv_lib_poll_poll=no
17963 rm -f core conftest.err conftest.$ac_objext \
17964 conftest$ac_exeext conftest.$ac_ext
17965 LIBS=$ac_check_lib_save_LIBS
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17968 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17969 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17970 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17971 POLL_LIBS="-lpoll"
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17978 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17979 if ${ac_cv_search_gethostbyname+:} false; then :
17980 $as_echo_n "(cached) " >&6
17981 else
17982 ac_func_search_save_LIBS=$LIBS
17983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17986 /* Override any GCC internal prototype to avoid an error.
17987 Use char because int might match the return type of a GCC
17988 builtin and then its argument prototype would still apply. */
17989 #ifdef __cplusplus
17990 extern "C"
17991 #endif
17992 char gethostbyname ();
17994 main ()
17996 return gethostbyname ();
17998 return 0;
18000 _ACEOF
18001 for ac_lib in '' nsl; do
18002 if test -z "$ac_lib"; then
18003 ac_res="none required"
18004 else
18005 ac_res=-l$ac_lib
18006 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18008 if ac_fn_c_try_link "$LINENO"; then :
18009 ac_cv_search_gethostbyname=$ac_res
18011 rm -f core conftest.err conftest.$ac_objext \
18012 conftest$ac_exeext
18013 if ${ac_cv_search_gethostbyname+:} false; then :
18014 break
18016 done
18017 if ${ac_cv_search_gethostbyname+:} false; then :
18019 else
18020 ac_cv_search_gethostbyname=no
18022 rm conftest.$ac_ext
18023 LIBS=$ac_func_search_save_LIBS
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18026 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18027 ac_res=$ac_cv_search_gethostbyname
18028 if test "$ac_res" != no; then :
18029 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18035 $as_echo_n "checking for library containing connect... " >&6; }
18036 if ${ac_cv_search_connect+:} false; then :
18037 $as_echo_n "(cached) " >&6
18038 else
18039 ac_func_search_save_LIBS=$LIBS
18040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18041 /* end confdefs.h. */
18043 /* Override any GCC internal prototype to avoid an error.
18044 Use char because int might match the return type of a GCC
18045 builtin and then its argument prototype would still apply. */
18046 #ifdef __cplusplus
18047 extern "C"
18048 #endif
18049 char connect ();
18051 main ()
18053 return connect ();
18055 return 0;
18057 _ACEOF
18058 for ac_lib in '' socket; do
18059 if test -z "$ac_lib"; then
18060 ac_res="none required"
18061 else
18062 ac_res=-l$ac_lib
18063 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18065 if ac_fn_c_try_link "$LINENO"; then :
18066 ac_cv_search_connect=$ac_res
18068 rm -f core conftest.err conftest.$ac_objext \
18069 conftest$ac_exeext
18070 if ${ac_cv_search_connect+:} false; then :
18071 break
18073 done
18074 if ${ac_cv_search_connect+:} false; then :
18076 else
18077 ac_cv_search_connect=no
18079 rm conftest.$ac_ext
18080 LIBS=$ac_func_search_save_LIBS
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18083 $as_echo "$ac_cv_search_connect" >&6; }
18084 ac_res=$ac_cv_search_connect
18085 if test "$ac_res" != no; then :
18086 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18092 $as_echo_n "checking for library containing inet_aton... " >&6; }
18093 if ${ac_cv_search_inet_aton+:} false; then :
18094 $as_echo_n "(cached) " >&6
18095 else
18096 ac_func_search_save_LIBS=$LIBS
18097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18098 /* end confdefs.h. */
18100 /* Override any GCC internal prototype to avoid an error.
18101 Use char because int might match the return type of a GCC
18102 builtin and then its argument prototype would still apply. */
18103 #ifdef __cplusplus
18104 extern "C"
18105 #endif
18106 char inet_aton ();
18108 main ()
18110 return inet_aton ();
18112 return 0;
18114 _ACEOF
18115 for ac_lib in '' resolv; do
18116 if test -z "$ac_lib"; then
18117 ac_res="none required"
18118 else
18119 ac_res=-l$ac_lib
18120 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18122 if ac_fn_c_try_link "$LINENO"; then :
18123 ac_cv_search_inet_aton=$ac_res
18125 rm -f core conftest.err conftest.$ac_objext \
18126 conftest$ac_exeext
18127 if ${ac_cv_search_inet_aton+:} false; then :
18128 break
18130 done
18131 if ${ac_cv_search_inet_aton+:} false; then :
18133 else
18134 ac_cv_search_inet_aton=no
18136 rm conftest.$ac_ext
18137 LIBS=$ac_func_search_save_LIBS
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18140 $as_echo "$ac_cv_search_inet_aton" >&6; }
18141 ac_res=$ac_cv_search_inet_aton
18142 if test "$ac_res" != no; then :
18143 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18148 for ac_func in \
18149 getaddrinfo \
18150 getnameinfo \
18151 getnetbyname \
18152 getservbyport \
18154 do :
18155 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18156 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18157 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18158 cat >>confdefs.h <<_ACEOF
18159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18160 _ACEOF
18163 done
18166 case $host_os in
18167 darwin*|macosx*) ;;
18168 *) ac_save_LIBS=$LIBS
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18170 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18171 if ${ac_cv_search_clock_gettime+:} false; then :
18172 $as_echo_n "(cached) " >&6
18173 else
18174 ac_func_search_save_LIBS=$LIBS
18175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18176 /* end confdefs.h. */
18178 /* Override any GCC internal prototype to avoid an error.
18179 Use char because int might match the return type of a GCC
18180 builtin and then its argument prototype would still apply. */
18181 #ifdef __cplusplus
18182 extern "C"
18183 #endif
18184 char clock_gettime ();
18186 main ()
18188 return clock_gettime ();
18190 return 0;
18192 _ACEOF
18193 for ac_lib in '' rt; do
18194 if test -z "$ac_lib"; then
18195 ac_res="none required"
18196 else
18197 ac_res=-l$ac_lib
18198 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18200 if ac_fn_c_try_link "$LINENO"; then :
18201 ac_cv_search_clock_gettime=$ac_res
18203 rm -f core conftest.err conftest.$ac_objext \
18204 conftest$ac_exeext
18205 if ${ac_cv_search_clock_gettime+:} false; then :
18206 break
18208 done
18209 if ${ac_cv_search_clock_gettime+:} false; then :
18211 else
18212 ac_cv_search_clock_gettime=no
18214 rm conftest.$ac_ext
18215 LIBS=$ac_func_search_save_LIBS
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18218 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18219 ac_res=$ac_cv_search_clock_gettime
18220 if test "$ac_res" != no; then :
18221 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18223 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18225 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18229 LIBS=$ac_save_LIBS
18231 esac
18233 if test "x$with_ldap" != "xno"
18234 then
18235 if ${LDAP_CFLAGS:+false} :; then :
18236 if ${PKG_CONFIG+:} false; then :
18237 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18241 if ${LDAP_LIBS:+false} :; then :
18242 if ${PKG_CONFIG+:} false; then :
18243 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18247 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18248 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18249 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18250 ac_save_CPPFLAGS=$CPPFLAGS
18251 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18252 for ac_header in ldap.h lber.h
18253 do :
18254 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18255 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18256 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18257 cat >>confdefs.h <<_ACEOF
18258 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18259 _ACEOF
18263 done
18265 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18266 then
18267 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18269 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18271 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18272 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18273 $as_echo_n "(cached) " >&6
18274 else
18275 ac_check_lib_save_LIBS=$LIBS
18276 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18278 /* end confdefs.h. */
18280 /* Override any GCC internal prototype to avoid an error.
18281 Use char because int might match the return type of a GCC
18282 builtin and then its argument prototype would still apply. */
18283 #ifdef __cplusplus
18284 extern "C"
18285 #endif
18286 char ldap_initialize ();
18288 main ()
18290 return ldap_initialize ();
18292 return 0;
18294 _ACEOF
18295 if ac_fn_c_try_link "$LINENO"; then :
18296 ac_cv_lib_ldap_r_ldap_initialize=yes
18297 else
18298 ac_cv_lib_ldap_r_ldap_initialize=no
18300 rm -f core conftest.err conftest.$ac_objext \
18301 conftest$ac_exeext conftest.$ac_ext
18302 LIBS=$ac_check_lib_save_LIBS
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18305 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18306 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18308 $as_echo_n "checking for ber_init in -llber... " >&6; }
18309 if ${ac_cv_lib_lber_ber_init+:} false; then :
18310 $as_echo_n "(cached) " >&6
18311 else
18312 ac_check_lib_save_LIBS=$LIBS
18313 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18315 /* end confdefs.h. */
18317 /* Override any GCC internal prototype to avoid an error.
18318 Use char because int might match the return type of a GCC
18319 builtin and then its argument prototype would still apply. */
18320 #ifdef __cplusplus
18321 extern "C"
18322 #endif
18323 char ber_init ();
18325 main ()
18327 return ber_init ();
18329 return 0;
18331 _ACEOF
18332 if ac_fn_c_try_link "$LINENO"; then :
18333 ac_cv_lib_lber_ber_init=yes
18334 else
18335 ac_cv_lib_lber_ber_init=no
18337 rm -f core conftest.err conftest.$ac_objext \
18338 conftest$ac_exeext conftest.$ac_ext
18339 LIBS=$ac_check_lib_save_LIBS
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18342 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18343 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18345 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18347 else
18348 LDAP_LIBS=""
18351 else
18352 LDAP_LIBS=""
18355 else
18356 LDAP_LIBS=""
18359 ac_wine_check_funcs_save_LIBS="$LIBS"
18360 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18361 for ac_func in \
18362 ldap_count_references \
18363 ldap_first_reference \
18364 ldap_next_reference \
18365 ldap_parse_reference \
18366 ldap_parse_sort_control \
18367 ldap_parse_sortresponse_control \
18368 ldap_parse_vlv_control \
18369 ldap_parse_vlvresponse_control
18370 do :
18371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18373 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18374 cat >>confdefs.h <<_ACEOF
18375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18376 _ACEOF
18379 done
18381 LIBS="$ac_wine_check_funcs_save_LIBS"
18382 else
18383 LDAP_LIBS=""
18385 CPPFLAGS=$ac_save_CPPFLAGS
18388 if test "x$LDAP_LIBS" = "x"; then :
18389 case "x$with_ldap" in
18390 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18391 xno) ;;
18392 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18393 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18394 esac
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18399 $as_echo_n "checking for sched_setaffinity... " >&6; }
18400 if ${wine_cv_have_sched_setaffinity+:} false; then :
18401 $as_echo_n "(cached) " >&6
18402 else
18403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18404 /* end confdefs.h. */
18405 #define _GNU_SOURCE
18406 #include <sched.h>
18408 main ()
18410 sched_setaffinity(0, 0, 0);
18412 return 0;
18414 _ACEOF
18415 if ac_fn_c_try_link "$LINENO"; then :
18416 wine_cv_have_sched_setaffinity=yes
18417 else
18418 wine_cv_have_sched_setaffinity=no
18420 rm -f core conftest.err conftest.$ac_objext \
18421 conftest$ac_exeext conftest.$ac_ext
18423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18424 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18425 if test "$wine_cv_have_sched_setaffinity" = "yes"
18426 then
18428 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18433 $as_echo_n "checking for fallocate... " >&6; }
18434 if ${wine_cv_have_fallocate+:} false; then :
18435 $as_echo_n "(cached) " >&6
18436 else
18437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18438 /* end confdefs.h. */
18439 #define _GNU_SOURCE
18440 #include <fcntl.h>
18442 main ()
18444 fallocate(-1, 0, 0, 0);
18446 return 0;
18448 _ACEOF
18449 if ac_fn_c_try_link "$LINENO"; then :
18450 wine_cv_have_fallocate=yes
18451 else
18452 wine_cv_have_fallocate=no
18454 rm -f core conftest.err conftest.$ac_objext \
18455 conftest$ac_exeext conftest.$ac_ext
18457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18458 $as_echo "$wine_cv_have_fallocate" >&6; }
18459 if test "$wine_cv_have_fallocate" = "yes"
18460 then
18462 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18468 $as_echo_n "checking for inline... " >&6; }
18469 if ${ac_cv_c_inline+:} false; then :
18470 $as_echo_n "(cached) " >&6
18471 else
18472 ac_cv_c_inline=no
18473 for ac_kw in inline __inline__ __inline; do
18474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18475 /* end confdefs.h. */
18476 #ifndef __cplusplus
18477 typedef int foo_t;
18478 static $ac_kw foo_t static_foo () {return 0; }
18479 $ac_kw foo_t foo () {return 0; }
18480 #endif
18482 _ACEOF
18483 if ac_fn_c_try_compile "$LINENO"; then :
18484 ac_cv_c_inline=$ac_kw
18486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18487 test "$ac_cv_c_inline" != no && break
18488 done
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18492 $as_echo "$ac_cv_c_inline" >&6; }
18494 case $ac_cv_c_inline in
18495 inline | yes) ;;
18497 case $ac_cv_c_inline in
18498 no) ac_val=;;
18499 *) ac_val=$ac_cv_c_inline;;
18500 esac
18501 cat >>confdefs.h <<_ACEOF
18502 #ifndef __cplusplus
18503 #define inline $ac_val
18504 #endif
18505 _ACEOF
18507 esac
18509 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18510 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18512 cat >>confdefs.h <<_ACEOF
18513 #define HAVE_FSBLKCNT_T 1
18514 _ACEOF
18518 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18519 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18521 cat >>confdefs.h <<_ACEOF
18522 #define HAVE_FSFILCNT_T 1
18523 _ACEOF
18528 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18529 #include <signal.h>
18531 if test "x$ac_cv_type_sigset_t" = xyes; then :
18533 cat >>confdefs.h <<_ACEOF
18534 #define HAVE_SIGSET_T 1
18535 _ACEOF
18540 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18542 if test "x$ac_cv_type_request_sense" = xyes; then :
18544 cat >>confdefs.h <<_ACEOF
18545 #define HAVE_REQUEST_SENSE 1
18546 _ACEOF
18552 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18553 #ifdef HAVE_SYS_SOCKET_H
18554 #include <sys/socket.h>
18555 #endif
18556 #ifdef HAVE_SYS_SOCKETVAR_H
18557 #include <sys/socketvar.h>
18558 #endif
18559 #ifdef HAVE_NET_ROUTE_H
18560 #include <net/route.h>
18561 #endif
18562 #ifdef HAVE_NETINET_IN_H
18563 #include <netinet/in.h>
18564 #endif
18565 #ifdef HAVE_NETINET_IN_SYSTM_H
18566 #include <netinet/in_systm.h>
18567 #endif
18568 #ifdef HAVE_NETINET_IP_H
18569 #include <netinet/ip.h>
18570 #endif
18571 #ifdef HAVE_NETINET_IN_PCB_H
18572 #include <netinet/in_pcb.h>
18573 #endif
18575 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18577 cat >>confdefs.h <<_ACEOF
18578 #define HAVE_STRUCT_XINPGEN 1
18579 _ACEOF
18585 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18586 #include <linux/input.h>
18587 #endif
18589 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18591 cat >>confdefs.h <<_ACEOF
18592 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18593 _ACEOF
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18600 $as_echo_n "checking for if_nameindex... " >&6; }
18601 if ${wine_cv_have_if_nameindex+:} false; then :
18602 $as_echo_n "(cached) " >&6
18603 else
18604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18605 /* end confdefs.h. */
18606 #ifdef HAVE_SYS_TYPES_H
18607 #include <sys/types.h>
18608 #endif
18609 #ifdef HAVE_SYS_SOCKET_H
18610 #include <sys/socket.h>
18611 #endif
18612 #ifdef HAVE_NET_IF_H
18613 # include <net/if.h>
18614 #endif
18616 main ()
18618 struct if_nameindex *p = if_nameindex(); return p->if_index;
18620 return 0;
18622 _ACEOF
18623 if ac_fn_c_try_link "$LINENO"; then :
18624 wine_cv_have_if_nameindex=yes
18625 else
18626 wine_cv_have_if_nameindex=no
18628 rm -f core conftest.err conftest.$ac_objext \
18629 conftest$ac_exeext conftest.$ac_ext
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18632 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18633 if test "$wine_cv_have_if_nameindex" = "yes"
18634 then
18636 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18641 $as_echo_n "checking for sigaddset... " >&6; }
18642 if ${wine_cv_have_sigaddset+:} false; then :
18643 $as_echo_n "(cached) " >&6
18644 else
18645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18647 #include <signal.h>
18649 main ()
18651 sigset_t set; sigaddset(&set,SIGTERM);
18653 return 0;
18655 _ACEOF
18656 if ac_fn_c_try_link "$LINENO"; then :
18657 wine_cv_have_sigaddset=yes
18658 else
18659 wine_cv_have_sigaddset=no
18661 rm -f core conftest.err conftest.$ac_objext \
18662 conftest$ac_exeext conftest.$ac_ext
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18665 $as_echo "$wine_cv_have_sigaddset" >&6; }
18666 if test "$wine_cv_have_sigaddset" = "yes"
18667 then
18669 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18675 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18676 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18677 $as_echo_n "(cached) " >&6
18678 else
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h. */
18681 #include <netdb.h>
18683 main ()
18686 char *name=0;
18687 struct hostent he;
18688 struct hostent *result;
18689 char *buf=0;
18690 int bufsize=0;
18691 int errnr;
18692 char *addr=0;
18693 int addrlen=0;
18694 int addrtype=0;
18695 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18696 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18699 return 0;
18701 _ACEOF
18702 if ac_fn_c_try_link "$LINENO"; then :
18703 wine_cv_linux_gethostbyname_r_6=yes
18704 else
18705 wine_cv_linux_gethostbyname_r_6=no
18708 rm -f core conftest.err conftest.$ac_objext \
18709 conftest$ac_exeext conftest.$ac_ext
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18713 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18714 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18715 then
18717 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18721 if test "$ac_cv_header_linux_joystick_h" = "yes"
18722 then
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18724 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18725 if ${wine_cv_linux_joystick_22_api+:} false; then :
18726 $as_echo_n "(cached) " >&6
18727 else
18728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18731 #include <sys/ioctl.h>
18732 #include <sys/types.h>
18733 #include <linux/joystick.h>
18735 struct js_event blub;
18736 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18737 #error "no 2.2 header"
18738 #endif
18741 main ()
18743 /*empty*/
18745 return 0;
18747 _ACEOF
18748 if ac_fn_c_try_compile "$LINENO"; then :
18749 wine_cv_linux_joystick_22_api=yes
18750 else
18751 wine_cv_linux_joystick_22_api=no
18753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18757 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18758 if test "$wine_cv_linux_joystick_22_api" = "yes"
18759 then
18761 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18767 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18768 #ifdef HAVE_SYS_PARAM_H
18769 # include <sys/param.h>
18770 #endif
18771 #ifdef HAVE_SYS_MOUNT_H
18772 # include <sys/mount.h>
18773 #endif
18774 #ifdef HAVE_SYS_VFS_H
18775 # include <sys/vfs.h>
18776 #endif
18777 #ifdef HAVE_SYS_STATFS_H
18778 # include <sys/statfs.h>
18779 #endif
18781 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18783 cat >>confdefs.h <<_ACEOF
18784 #define HAVE_STRUCT_STATFS_F_BFREE 1
18785 _ACEOF
18789 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18790 #ifdef HAVE_SYS_PARAM_H
18791 # include <sys/param.h>
18792 #endif
18793 #ifdef HAVE_SYS_MOUNT_H
18794 # include <sys/mount.h>
18795 #endif
18796 #ifdef HAVE_SYS_VFS_H
18797 # include <sys/vfs.h>
18798 #endif
18799 #ifdef HAVE_SYS_STATFS_H
18800 # include <sys/statfs.h>
18801 #endif
18803 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18805 cat >>confdefs.h <<_ACEOF
18806 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18807 _ACEOF
18811 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18812 #ifdef HAVE_SYS_PARAM_H
18813 # include <sys/param.h>
18814 #endif
18815 #ifdef HAVE_SYS_MOUNT_H
18816 # include <sys/mount.h>
18817 #endif
18818 #ifdef HAVE_SYS_VFS_H
18819 # include <sys/vfs.h>
18820 #endif
18821 #ifdef HAVE_SYS_STATFS_H
18822 # include <sys/statfs.h>
18823 #endif
18825 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18827 cat >>confdefs.h <<_ACEOF
18828 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18829 _ACEOF
18833 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18834 #ifdef HAVE_SYS_PARAM_H
18835 # include <sys/param.h>
18836 #endif
18837 #ifdef HAVE_SYS_MOUNT_H
18838 # include <sys/mount.h>
18839 #endif
18840 #ifdef HAVE_SYS_VFS_H
18841 # include <sys/vfs.h>
18842 #endif
18843 #ifdef HAVE_SYS_STATFS_H
18844 # include <sys/statfs.h>
18845 #endif
18847 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18849 cat >>confdefs.h <<_ACEOF
18850 #define HAVE_STRUCT_STATFS_F_FFREE 1
18851 _ACEOF
18855 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18856 #ifdef HAVE_SYS_PARAM_H
18857 # include <sys/param.h>
18858 #endif
18859 #ifdef HAVE_SYS_MOUNT_H
18860 # include <sys/mount.h>
18861 #endif
18862 #ifdef HAVE_SYS_VFS_H
18863 # include <sys/vfs.h>
18864 #endif
18865 #ifdef HAVE_SYS_STATFS_H
18866 # include <sys/statfs.h>
18867 #endif
18869 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18871 cat >>confdefs.h <<_ACEOF
18872 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18873 _ACEOF
18877 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18878 #ifdef HAVE_SYS_PARAM_H
18879 # include <sys/param.h>
18880 #endif
18881 #ifdef HAVE_SYS_MOUNT_H
18882 # include <sys/mount.h>
18883 #endif
18884 #ifdef HAVE_SYS_VFS_H
18885 # include <sys/vfs.h>
18886 #endif
18887 #ifdef HAVE_SYS_STATFS_H
18888 # include <sys/statfs.h>
18889 #endif
18891 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18893 cat >>confdefs.h <<_ACEOF
18894 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18895 _ACEOF
18901 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18902 #include <sys/statvfs.h>
18903 #endif
18905 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18907 cat >>confdefs.h <<_ACEOF
18908 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18909 _ACEOF
18915 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18916 #include <dirent.h>
18917 #endif
18919 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18921 cat >>confdefs.h <<_ACEOF
18922 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18923 _ACEOF
18929 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18930 #ifdef HAVE_SYS_SOCKET_H
18931 # include <sys/socket.h>
18932 #endif
18933 #ifdef HAVE_SYS_UN_H
18934 # include <sys/un.h>
18935 #endif
18937 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18939 cat >>confdefs.h <<_ACEOF
18940 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18941 _ACEOF
18945 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18946 #ifdef HAVE_SYS_SOCKET_H
18947 # include <sys/socket.h>
18948 #endif
18949 #ifdef HAVE_SYS_UN_H
18950 # include <sys/un.h>
18951 #endif
18953 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18955 cat >>confdefs.h <<_ACEOF
18956 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18957 _ACEOF
18961 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18962 #ifdef HAVE_SYS_SOCKET_H
18963 # include <sys/socket.h>
18964 #endif
18965 #ifdef HAVE_SYS_UN_H
18966 # include <sys/un.h>
18967 #endif
18969 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18971 cat >>confdefs.h <<_ACEOF
18972 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18973 _ACEOF
18979 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18980 #ifdef HAVE_SCSI_SG_H
18981 #include <scsi/sg.h>
18982 #endif
18984 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18986 cat >>confdefs.h <<_ACEOF
18987 #define HAVE_SCSIREQ_T_CMD 1
18988 _ACEOF
18992 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>
18993 #ifdef HAVE_SCSI_SG_H
18994 #include <scsi/sg.h>
18995 #endif
18997 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18999 cat >>confdefs.h <<_ACEOF
19000 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19001 _ACEOF
19007 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19009 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19011 cat >>confdefs.h <<_ACEOF
19012 #define HAVE_SIGINFO_T_SI_FD 1
19013 _ACEOF
19019 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19020 #ifdef HAVE_SYS_MTIO_H
19021 #include <sys/mtio.h>
19022 #endif
19024 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19026 cat >>confdefs.h <<_ACEOF
19027 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19028 _ACEOF
19032 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19033 #ifdef HAVE_SYS_MTIO_H
19034 #include <sys/mtio.h>
19035 #endif
19037 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19039 cat >>confdefs.h <<_ACEOF
19040 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19041 _ACEOF
19045 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19046 #ifdef HAVE_SYS_MTIO_H
19047 #include <sys/mtio.h>
19048 #endif
19050 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19052 cat >>confdefs.h <<_ACEOF
19053 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19054 _ACEOF
19060 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19061 #include <getopt.h>
19062 #endif
19064 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19066 cat >>confdefs.h <<_ACEOF
19067 #define HAVE_STRUCT_OPTION_NAME 1
19068 _ACEOF
19074 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19075 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19077 cat >>confdefs.h <<_ACEOF
19078 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19079 _ACEOF
19083 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19084 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19086 cat >>confdefs.h <<_ACEOF
19087 #define HAVE_STRUCT_STAT_ST_MTIM 1
19088 _ACEOF
19092 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19093 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19095 cat >>confdefs.h <<_ACEOF
19096 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19097 _ACEOF
19101 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19102 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19104 cat >>confdefs.h <<_ACEOF
19105 #define HAVE_STRUCT_STAT_ST_CTIM 1
19106 _ACEOF
19110 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19111 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19113 cat >>confdefs.h <<_ACEOF
19114 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19115 _ACEOF
19119 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19120 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19122 cat >>confdefs.h <<_ACEOF
19123 #define HAVE_STRUCT_STAT_ST_ATIM 1
19124 _ACEOF
19128 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19129 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19131 cat >>confdefs.h <<_ACEOF
19132 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19133 _ACEOF
19137 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19138 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19140 cat >>confdefs.h <<_ACEOF
19141 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19142 _ACEOF
19146 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19147 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19149 cat >>confdefs.h <<_ACEOF
19150 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19151 _ACEOF
19155 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19156 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19158 cat >>confdefs.h <<_ACEOF
19159 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19160 _ACEOF
19164 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19165 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19167 cat >>confdefs.h <<_ACEOF
19168 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19169 _ACEOF
19173 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19174 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19176 cat >>confdefs.h <<_ACEOF
19177 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19178 _ACEOF
19184 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
19185 #include <sys/types.h>
19186 #endif
19187 #ifdef HAVE_NETINET_IN_H
19188 #include <netinet/in.h>
19189 #endif
19191 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19193 cat >>confdefs.h <<_ACEOF
19194 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19195 _ACEOF
19201 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19202 #include <sys/types.h>
19203 #endif
19204 #ifdef HAVE_NETINET_IN_H
19205 #include <netinet/in.h>
19206 #endif
19207 #ifdef HAVE_RESOLV_H
19208 #include <resolv.h>
19209 #endif
19211 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19213 cat >>confdefs.h <<_ACEOF
19214 #define HAVE_STRUCT___RES_STATE 1
19215 _ACEOF
19221 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
19222 #include <resolv.h>
19223 #endif
19225 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19227 cat >>confdefs.h <<_ACEOF
19228 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19229 _ACEOF
19235 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19236 #include <sys/types.h>
19237 #endif
19238 #ifdef HAVE_NETINET_IN_H
19239 # include <netinet/in.h>
19240 #endif
19241 #ifdef HAVE_ARPA_NAMESER_H
19242 # include <arpa/nameser.h>
19243 #endif
19245 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19247 cat >>confdefs.h <<_ACEOF
19248 #define HAVE_NS_MSG__MSG_PTR 1
19249 _ACEOF
19255 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19256 #include <sys/types.h>
19257 #endif
19258 #ifdef HAVE_NETINET_IN_H
19259 #include <netinet/in.h>
19260 #endif
19261 #ifdef HAVE_NETINET_IP_H
19262 #include <netinet/ip.h>
19263 #endif
19264 #ifdef HAVE_NETINET_IP_ICMP_H
19265 #include <netinet/ip_icmp.h>
19266 #endif
19267 #ifdef HAVE_NETINET_ICMP_VAR_H
19268 #include <netinet/icmp_var.h>
19269 #endif
19271 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19273 cat >>confdefs.h <<_ACEOF
19274 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19275 _ACEOF
19281 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19282 #include <sys/types.h>
19283 #endif
19284 #ifdef HAVE_ALIAS_H
19285 #include <alias.h>
19286 #endif
19287 #ifdef HAVE_SYS_SOCKET_H
19288 #include <sys/socket.h>
19289 #endif
19290 #ifdef HAVE_SYS_SOCKETVAR_H
19291 #include <sys/socketvar.h>
19292 #endif
19293 #ifdef HAVE_SYS_TIMEOUT_H
19294 #include <sys/timeout.h>
19295 #endif
19296 #ifdef HAVE_NETINET_IN_H
19297 #include <netinet/in.h>
19298 #endif
19299 #ifdef HAVE_NETINET_IN_SYSTM_H
19300 #include <netinet/in_systm.h>
19301 #endif
19302 #ifdef HAVE_NETINET_IP_H
19303 #include <netinet/ip.h>
19304 #endif
19305 #ifdef HAVE_NETINET_IP_VAR_H
19306 #include <netinet/ip_var.h>
19307 #endif
19308 #ifdef HAVE_NETINET_IP_ICMP_H
19309 #include <netinet/ip_icmp.h>
19310 #endif
19311 #ifdef HAVE_NETINET_ICMP_VAR_H
19312 #include <netinet/icmp_var.h>
19313 #endif
19315 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19317 cat >>confdefs.h <<_ACEOF
19318 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19319 _ACEOF
19325 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19326 #include <sys/types.h>
19327 #endif
19328 #ifdef HAVE_SYS_SOCKETVAR_H
19329 #include <sys/socketvar.h>
19330 #endif
19331 #ifdef HAVE_NETINET_IN_H
19332 #include <netinet/in.h>
19333 #endif
19334 #ifdef HAVE_NETINET_IP_VAR_H
19335 #include <netinet/ip_var.h>
19336 #endif
19338 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19340 cat >>confdefs.h <<_ACEOF
19341 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19342 _ACEOF
19348 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
19349 #include <netinet/ip_var.h>
19350 #endif
19352 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19354 cat >>confdefs.h <<_ACEOF
19355 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19356 _ACEOF
19362 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19363 #include <sys/types.h>
19364 #endif
19365 #ifdef HAVE_SYS_SOCKETVAR_H
19366 #include <sys/socketvar.h>
19367 #endif
19368 #ifdef HAVE_NETINET_IN_H
19369 #include <netinet/in.h>
19370 #endif
19371 #ifdef HAVE_NETINET_TCP_H
19372 #include <netinet/tcp.h>
19373 #endif
19374 #ifdef HAVE_NETINET_TCP_VAR_H
19375 #include <netinet/tcp_var.h>
19376 #endif
19378 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19380 cat >>confdefs.h <<_ACEOF
19381 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19382 _ACEOF
19388 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
19389 #include <netinet/tcp_var.h>
19390 #endif
19392 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19394 cat >>confdefs.h <<_ACEOF
19395 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19396 _ACEOF
19402 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19403 #include <sys/types.h>
19404 #endif
19405 #ifdef HAVE_NETINET_IN_H
19406 #include <netinet/in.h>
19407 #endif
19408 #ifdef HAVE_NETINET_IP_VAR_H
19409 #include <netinet/ip_var.h>
19410 #endif
19411 #ifdef HAVE_NETINET_UDP_H
19412 #include <netinet/udp.h>
19413 #endif
19414 #ifdef HAVE_NETINET_UDP_VAR_H
19415 #include <netinet/udp_var.h>
19416 #endif
19418 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19420 cat >>confdefs.h <<_ACEOF
19421 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19422 _ACEOF
19428 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19429 #include <sys/types.h>
19430 #endif
19431 #ifdef HAVE_NET_IF_H
19432 # include <net/if.h>
19433 #endif
19435 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19437 cat >>confdefs.h <<_ACEOF
19438 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19439 _ACEOF
19445 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19446 # include <sys/sysinfo.h>
19447 #endif
19449 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19451 cat >>confdefs.h <<_ACEOF
19452 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19453 _ACEOF
19457 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19458 # include <sys/sysinfo.h>
19459 #endif
19461 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19463 cat >>confdefs.h <<_ACEOF
19464 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19465 _ACEOF
19471 ac_save_LIBS="$LIBS"
19472 LIBS="$LIBS -lm"
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19474 $as_echo_n "checking for isfinite... " >&6; }
19475 if ${ac_cv_have_isfinite+:} false; then :
19476 $as_echo_n "(cached) " >&6
19477 else
19478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19479 /* end confdefs.h. */
19480 #define _GNU_SOURCE
19481 #include <math.h>
19483 main ()
19485 float f = 0.0; return isfinite(f)
19487 return 0;
19489 _ACEOF
19490 if ac_fn_c_try_link "$LINENO"; then :
19491 ac_cv_have_isfinite="yes"
19492 else
19493 ac_cv_have_isfinite="no"
19495 rm -f core conftest.err conftest.$ac_objext \
19496 conftest$ac_exeext conftest.$ac_ext
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19499 $as_echo "$ac_cv_have_isfinite" >&6; }
19500 if test "$ac_cv_have_isfinite" = "yes"
19501 then
19503 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19508 $as_echo_n "checking for isinf... " >&6; }
19509 if ${ac_cv_have_isinf+:} false; then :
19510 $as_echo_n "(cached) " >&6
19511 else
19512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19513 /* end confdefs.h. */
19514 #include <math.h>
19516 main ()
19518 float f = 0.0; return isinf(f)
19520 return 0;
19522 _ACEOF
19523 if ac_fn_c_try_link "$LINENO"; then :
19524 ac_cv_have_isinf="yes"
19525 else
19526 ac_cv_have_isinf="no"
19528 rm -f core conftest.err conftest.$ac_objext \
19529 conftest$ac_exeext conftest.$ac_ext
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19532 $as_echo "$ac_cv_have_isinf" >&6; }
19533 if test "$ac_cv_have_isinf" = "yes"
19534 then
19536 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19541 $as_echo_n "checking for isnan... " >&6; }
19542 if ${ac_cv_have_isnan+:} false; then :
19543 $as_echo_n "(cached) " >&6
19544 else
19545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19546 /* end confdefs.h. */
19547 #include <math.h>
19549 main ()
19551 float f = 0.0; return isnan(f)
19553 return 0;
19555 _ACEOF
19556 if ac_fn_c_try_link "$LINENO"; then :
19557 ac_cv_have_isnan="yes"
19558 else
19559 ac_cv_have_isnan="no"
19561 rm -f core conftest.err conftest.$ac_objext \
19562 conftest$ac_exeext conftest.$ac_ext
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19565 $as_echo "$ac_cv_have_isnan" >&6; }
19566 if test "$ac_cv_have_isnan" = "yes"
19567 then
19569 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19573 for ac_func in \
19574 acosh \
19575 acoshf \
19576 asinh \
19577 asinhf \
19578 atanh \
19579 atanhf \
19580 cbrt \
19581 cbrtf \
19582 erf \
19583 erfc \
19584 erfcf \
19585 erff \
19586 exp2 \
19587 exp2f \
19588 expm1 \
19589 expm1f \
19590 fma \
19591 fmaf \
19592 ilogb \
19593 ilogbf \
19594 j0 \
19595 j1 \
19596 jn \
19597 lgamma \
19598 lgammaf \
19599 llrint \
19600 llrintf \
19601 llround \
19602 llroundf \
19603 log1p \
19604 log1pf \
19605 log2 \
19606 log2f \
19607 lrint \
19608 lrintf \
19609 lround \
19610 lroundf \
19611 nearbyint \
19612 nearbyintf \
19613 nexttoward \
19614 nexttowardf \
19615 remainder \
19616 remainderf \
19617 remquo \
19618 remquof \
19619 rint \
19620 rintf \
19621 round \
19622 roundf \
19623 tgamma \
19624 tgammaf \
19625 trunc \
19626 truncf \
19627 y0 \
19628 y1 \
19631 do :
19632 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19633 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19634 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19635 cat >>confdefs.h <<_ACEOF
19636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19637 _ACEOF
19640 done
19642 LIBS="$ac_save_LIBS"
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19645 $as_echo_n "checking for __builtin_popcount... " >&6; }
19646 if ${ac_cv_have___builtin_popcount+:} false; then :
19647 $as_echo_n "(cached) " >&6
19648 else
19649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19650 /* end confdefs.h. */
19653 main ()
19655 return __builtin_popcount(1)
19657 return 0;
19659 _ACEOF
19660 if ac_fn_c_try_link "$LINENO"; then :
19661 ac_cv_have___builtin_popcount="yes"
19662 else
19663 ac_cv_have___builtin_popcount="no"
19665 rm -f core conftest.err conftest.$ac_objext \
19666 conftest$ac_exeext conftest.$ac_ext
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19669 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19670 if test "$ac_cv_have___builtin_popcount" = "yes"
19671 then
19673 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19678 $as_echo_n "checking for __clear_cache... " >&6; }
19679 if ${ac_cv_have___clear_cache+:} false; then :
19680 $as_echo_n "(cached) " >&6
19681 else
19682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19683 /* end confdefs.h. */
19686 main ()
19688 __clear_cache((void*)0, (void*)0); return 0;
19690 return 0;
19692 _ACEOF
19693 if ac_fn_c_try_link "$LINENO"; then :
19694 ac_cv_have___clear_cache="yes"
19695 else
19696 ac_cv_have___clear_cache="no"
19698 rm -f core conftest.err conftest.$ac_objext \
19699 conftest$ac_exeext conftest.$ac_ext
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19702 $as_echo "$ac_cv_have___clear_cache" >&6; }
19703 if test "$ac_cv_have___clear_cache" = "yes"
19704 then
19706 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19711 case $host_cpu in
19712 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19713 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19714 if ${ac_cv_cpp_def___i386__+:} false; then :
19715 $as_echo_n "(cached) " >&6
19716 else
19717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19718 /* end confdefs.h. */
19719 #ifndef __i386__
19721 #endif
19722 _ACEOF
19723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19724 $EGREP "yes" >/dev/null 2>&1; then :
19725 ac_cv_cpp_def___i386__=yes
19726 else
19727 ac_cv_cpp_def___i386__=no
19729 rm -f conftest*
19732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19733 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19734 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19735 CFLAGS="$CFLAGS -D__i386__"
19736 LINTFLAGS="$LINTFLAGS -D__i386__"
19737 fi ;;
19738 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19739 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19740 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19741 $as_echo_n "(cached) " >&6
19742 else
19743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19744 /* end confdefs.h. */
19745 #ifndef __x86_64__
19747 #endif
19748 _ACEOF
19749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19750 $EGREP "yes" >/dev/null 2>&1; then :
19751 ac_cv_cpp_def___x86_64__=yes
19752 else
19753 ac_cv_cpp_def___x86_64__=no
19755 rm -f conftest*
19758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19759 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19760 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19761 CFLAGS="$CFLAGS -D__x86_64__"
19762 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19763 fi ;;
19764 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19765 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19766 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19767 $as_echo_n "(cached) " >&6
19768 else
19769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770 /* end confdefs.h. */
19771 #ifndef __sparc64__
19773 #endif
19774 _ACEOF
19775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19776 $EGREP "yes" >/dev/null 2>&1; then :
19777 ac_cv_cpp_def___sparc64__=yes
19778 else
19779 ac_cv_cpp_def___sparc64__=no
19781 rm -f conftest*
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19785 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19786 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19787 CFLAGS="$CFLAGS -D__sparc64__"
19788 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19789 fi ;;
19790 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19791 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19792 if ${ac_cv_cpp_def___sparc__+:} false; then :
19793 $as_echo_n "(cached) " >&6
19794 else
19795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19796 /* end confdefs.h. */
19797 #ifndef __sparc__
19799 #endif
19800 _ACEOF
19801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19802 $EGREP "yes" >/dev/null 2>&1; then :
19803 ac_cv_cpp_def___sparc__=yes
19804 else
19805 ac_cv_cpp_def___sparc__=no
19807 rm -f conftest*
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19811 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19812 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19813 CFLAGS="$CFLAGS -D__sparc__"
19814 LINTFLAGS="$LINTFLAGS -D__sparc__"
19815 fi ;;
19816 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19817 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19818 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19819 $as_echo_n "(cached) " >&6
19820 else
19821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19822 /* end confdefs.h. */
19823 #ifndef __powerpc64__
19825 #endif
19826 _ACEOF
19827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19828 $EGREP "yes" >/dev/null 2>&1; then :
19829 ac_cv_cpp_def___powerpc64__=yes
19830 else
19831 ac_cv_cpp_def___powerpc64__=no
19833 rm -f conftest*
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19837 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19838 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19839 CFLAGS="$CFLAGS -D__powerpc64__"
19840 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19841 fi ;;
19842 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19843 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19844 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19845 $as_echo_n "(cached) " >&6
19846 else
19847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19848 /* end confdefs.h. */
19849 #ifndef __powerpc__
19851 #endif
19852 _ACEOF
19853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19854 $EGREP "yes" >/dev/null 2>&1; then :
19855 ac_cv_cpp_def___powerpc__=yes
19856 else
19857 ac_cv_cpp_def___powerpc__=no
19859 rm -f conftest*
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19863 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19864 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19865 CFLAGS="$CFLAGS -D__powerpc__"
19866 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19867 fi ;;
19868 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19869 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19870 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19871 $as_echo_n "(cached) " >&6
19872 else
19873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h. */
19875 #ifndef __aarch64__
19877 #endif
19878 _ACEOF
19879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19880 $EGREP "yes" >/dev/null 2>&1; then :
19881 ac_cv_cpp_def___aarch64__=yes
19882 else
19883 ac_cv_cpp_def___aarch64__=no
19885 rm -f conftest*
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19889 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19890 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19891 CFLAGS="$CFLAGS -D__aarch64__"
19892 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19893 fi ;;
19894 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19895 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19896 if ${ac_cv_cpp_def___arm__+:} false; then :
19897 $as_echo_n "(cached) " >&6
19898 else
19899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h. */
19901 #ifndef __arm__
19903 #endif
19904 _ACEOF
19905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19906 $EGREP "yes" >/dev/null 2>&1; then :
19907 ac_cv_cpp_def___arm__=yes
19908 else
19909 ac_cv_cpp_def___arm__=no
19911 rm -f conftest*
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19915 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19916 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19917 CFLAGS="$CFLAGS -D__arm__"
19918 LINTFLAGS="$LINTFLAGS -D__arm__"
19919 fi ;;
19920 esac
19922 case $host_vendor in
19923 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19924 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19925 if ${ac_cv_cpp_def___sun__+:} false; then :
19926 $as_echo_n "(cached) " >&6
19927 else
19928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19929 /* end confdefs.h. */
19930 #ifndef __sun__
19932 #endif
19933 _ACEOF
19934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19935 $EGREP "yes" >/dev/null 2>&1; then :
19936 ac_cv_cpp_def___sun__=yes
19937 else
19938 ac_cv_cpp_def___sun__=no
19940 rm -f conftest*
19943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19944 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19945 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19946 CFLAGS="$CFLAGS -D__sun__"
19947 LINTFLAGS="$LINTFLAGS -D__sun__"
19948 fi ;;
19949 esac
19955 ac_config_commands="$ac_config_commands include/stamp-h"
19957 $as_echo_n "creating Makefile rules..." >&6
19959 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19960 OPENGL_LIBS = $OPENGL_LIBS
19961 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19962 IOKIT_LIBS = $IOKIT_LIBS
19963 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19964 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19965 CORESERVICES_LIBS = $CORESERVICES_LIBS
19966 APPKIT_LIBS = $APPKIT_LIBS
19967 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19968 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19969 SECURITY_LIBS = $SECURITY_LIBS
19970 COREAUDIO_LIBS = $COREAUDIO_LIBS
19971 OPENAL_LIBS = $OPENAL_LIBS
19972 OPENCL_LIBS = $OPENCL_LIBS
19973 QUICKTIME_LIBS = $QUICKTIME_LIBS
19974 CARBON_LIBS = $CARBON_LIBS
19975 METAL_LIBS = $METAL_LIBS
19976 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19977 PTHREAD_LIBS = $PTHREAD_LIBS
19978 X_CFLAGS = $X_CFLAGS
19979 X_PRE_LIBS = $X_PRE_LIBS
19980 X_LIBS = $X_LIBS
19981 X_EXTRA_LIBS = $X_EXTRA_LIBS
19982 PCAP_LIBS = $PCAP_LIBS
19983 XML2_CFLAGS = $XML2_CFLAGS
19984 XML2_LIBS = $XML2_LIBS
19985 XSLT_CFLAGS = $XSLT_CFLAGS
19986 XSLT_LIBS = $XSLT_LIBS
19987 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19988 INOTIFY_LIBS = $INOTIFY_LIBS
19989 DBUS_CFLAGS = $DBUS_CFLAGS
19990 DBUS_LIBS = $DBUS_LIBS
19991 HAL_CFLAGS = $HAL_CFLAGS
19992 HAL_LIBS = $HAL_LIBS
19993 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19994 GNUTLS_LIBS = $GNUTLS_LIBS
19995 SANE_CFLAGS = $SANE_CFLAGS
19996 SANE_LIBS = $SANE_LIBS
19997 USB_CFLAGS = $USB_CFLAGS
19998 USB_LIBS = $USB_LIBS
19999 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20000 GPHOTO2_LIBS = $GPHOTO2_LIBS
20001 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20002 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20003 RESOLV_LIBS = $RESOLV_LIBS
20004 LCMS2_CFLAGS = $LCMS2_CFLAGS
20005 LCMS2_LIBS = $LCMS2_LIBS
20006 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20007 FREETYPE_LIBS = $FREETYPE_LIBS
20008 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20009 PULSE_CFLAGS = $PULSE_CFLAGS
20010 PULSE_LIBS = $PULSE_LIBS
20011 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20012 GSTREAMER_LIBS = $GSTREAMER_LIBS
20013 ALSA_LIBS = $ALSA_LIBS
20014 OSS4_CFLAGS = $OSS4_CFLAGS
20015 OSS4_LIBS = $OSS4_LIBS
20016 UDEV_CFLAGS = $UDEV_CFLAGS
20017 UDEV_LIBS = $UDEV_LIBS
20018 UNWIND_CFLAGS = $UNWIND_CFLAGS
20019 UNWIND_LIBS = $UNWIND_LIBS
20020 SDL2_CFLAGS = $SDL2_CFLAGS
20021 SDL2_LIBS = $SDL2_LIBS
20022 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20023 FAUDIO_LIBS = $FAUDIO_LIBS
20024 CAPI20_CFLAGS = $CAPI20_CFLAGS
20025 CAPI20_LIBS = $CAPI20_LIBS
20026 CUPS_CFLAGS = $CUPS_CFLAGS
20027 CUPS_LIBS = $CUPS_LIBS
20028 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20029 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20030 KRB5_CFLAGS = $KRB5_CFLAGS
20031 KRB5_LIBS = $KRB5_LIBS
20032 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20033 GSSAPI_LIBS = $GSSAPI_LIBS
20034 JPEG_CFLAGS = $JPEG_CFLAGS
20035 JPEG_LIBS = $JPEG_LIBS
20036 PNG_CFLAGS = $PNG_CFLAGS
20037 PNG_LIBS = $PNG_LIBS
20038 TIFF_CFLAGS = $TIFF_CFLAGS
20039 TIFF_LIBS = $TIFF_LIBS
20040 MPG123_CFLAGS = $MPG123_CFLAGS
20041 MPG123_LIBS = $MPG123_LIBS
20042 KSTAT_LIBS = $KSTAT_LIBS
20043 PROCSTAT_LIBS = $PROCSTAT_LIBS
20044 NETAPI_CFLAGS = $NETAPI_CFLAGS
20045 NETAPI_LIBS = $NETAPI_LIBS
20046 VKD3D_CFLAGS = $VKD3D_CFLAGS
20047 VKD3D_LIBS = $VKD3D_LIBS
20048 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20049 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20050 POLL_LIBS = $POLL_LIBS
20051 RT_LIBS = $RT_LIBS
20052 LDAP_CFLAGS = $LDAP_CFLAGS
20053 LDAP_LIBS = $LDAP_LIBS
20058 wine_fn_append_rule "
20059 # Rules automatically generated by configure
20061 .INIT: Makefile
20062 .MAKEFILEDEPS:
20063 all: Makefile
20064 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20065 @./config.status Make.tmp Makefile
20066 depend: \$(MAKEDEP)
20067 \$(MAKEDEP)
20068 dummy:
20069 .PHONY: depend dummy"
20071 ac_config_links="$ac_config_links wine:tools/winewrapper"
20072 wine_fn_config_symlink wine
20073 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20074 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20075 wine_fn_config_symlink wine64
20078 wine_fn_config_makefile dlls/acledit enable_acledit
20079 wine_fn_config_makefile dlls/aclui enable_aclui
20080 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20081 wine_fn_config_makefile dlls/activeds enable_activeds
20082 wine_fn_config_makefile dlls/activeds/tests enable_tests
20083 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20084 wine_fn_config_makefile dlls/adsiid enable_adsiid
20085 wine_fn_config_makefile dlls/adsldp enable_adsldp
20086 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20087 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20088 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20089 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20090 wine_fn_config_makefile dlls/advpack enable_advpack
20091 wine_fn_config_makefile dlls/advpack/tests enable_tests
20092 wine_fn_config_makefile dlls/amsi enable_amsi
20093 wine_fn_config_makefile dlls/amstream enable_amstream
20094 wine_fn_config_makefile dlls/amstream/tests enable_tests
20095 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20097 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20098 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20100 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20105 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20120 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20121 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20123 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20128 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20129 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20131 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20132 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20141 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20145 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20149 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20151 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20152 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20156 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20157 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20165 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20166 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20167 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20168 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20176 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20180 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20181 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20182 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20205 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20209 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20212 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20223 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20228 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20229 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20234 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20236 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20255 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20256 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20276 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20287 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20291 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20293 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20295 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20296 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20301 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20303 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20309 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20312 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20314 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20316 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20320 wine_fn_config_makefile dlls/apphelp enable_apphelp
20321 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20322 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20323 wine_fn_config_makefile dlls/atl enable_atl
20324 wine_fn_config_makefile dlls/atl/tests enable_tests
20325 wine_fn_config_makefile dlls/atl100 enable_atl100
20326 wine_fn_config_makefile dlls/atl100/tests enable_tests
20327 wine_fn_config_makefile dlls/atl110 enable_atl110
20328 wine_fn_config_makefile dlls/atl80 enable_atl80
20329 wine_fn_config_makefile dlls/atl80/tests enable_tests
20330 wine_fn_config_makefile dlls/atl90 enable_atl90
20331 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20332 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20333 wine_fn_config_makefile dlls/atmlib enable_atmlib
20334 wine_fn_config_makefile dlls/authz enable_authz
20335 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20336 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20337 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20338 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20339 wine_fn_config_makefile dlls/avrt enable_avrt
20340 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20341 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20342 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20343 wine_fn_config_makefile dlls/browseui enable_browseui
20344 wine_fn_config_makefile dlls/browseui/tests enable_tests
20345 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20346 wine_fn_config_makefile dlls/cabinet enable_cabinet
20347 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20348 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20349 wine_fn_config_makefile dlls/cards enable_cards
20350 wine_fn_config_makefile dlls/cdosys enable_cdosys
20351 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20352 wine_fn_config_makefile dlls/clusapi enable_clusapi
20353 wine_fn_config_makefile dlls/combase enable_combase
20354 wine_fn_config_makefile dlls/combase/tests enable_tests
20355 wine_fn_config_makefile dlls/comcat enable_comcat
20356 wine_fn_config_makefile dlls/comcat/tests enable_tests
20357 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20358 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20359 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20360 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20361 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20362 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20363 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20364 wine_fn_config_makefile dlls/compstui enable_compstui
20365 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20366 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20367 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20368 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20369 wine_fn_config_makefile dlls/connect enable_connect
20370 wine_fn_config_makefile dlls/credui enable_credui
20371 wine_fn_config_makefile dlls/credui/tests enable_tests
20372 wine_fn_config_makefile dlls/crtdll enable_crtdll
20373 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20374 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20375 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20376 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20377 wine_fn_config_makefile dlls/cryptext enable_cryptext
20378 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20379 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20380 wine_fn_config_makefile dlls/cryptui enable_cryptui
20381 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20382 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20383 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20384 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20385 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20386 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20387 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20388 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20389 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20390 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20391 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20392 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20393 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20394 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20395 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20396 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20397 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20398 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20399 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20400 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20401 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20402 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20403 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20404 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20405 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20406 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20407 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20408 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20409 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20410 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20411 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20412 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20413 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20414 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20415 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20416 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20417 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20418 wine_fn_config_makefile dlls/d3dim enable_d3dim
20419 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20420 wine_fn_config_makefile dlls/d3drm enable_d3drm
20421 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20422 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20423 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20424 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20425 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20426 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20427 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20428 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20429 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20430 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20431 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20432 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20433 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20434 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20435 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20436 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20437 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20438 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20439 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20440 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20441 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20442 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20443 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20444 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20445 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20446 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20447 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20448 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20449 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20450 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20451 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20452 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20453 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20454 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20455 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20456 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20457 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20458 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20459 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20460 wine_fn_config_makefile dlls/davclnt enable_davclnt
20461 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20462 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20463 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20464 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20465 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20466 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20467 wine_fn_config_makefile dlls/ddraw enable_ddraw
20468 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20469 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20470 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20471 wine_fn_config_makefile dlls/devenum enable_devenum
20472 wine_fn_config_makefile dlls/devenum/tests enable_tests
20473 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20474 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20475 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20476 wine_fn_config_makefile dlls/difxapi enable_difxapi
20477 wine_fn_config_makefile dlls/dinput enable_dinput
20478 wine_fn_config_makefile dlls/dinput/tests enable_tests
20479 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20480 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20481 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20482 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20483 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20484 wine_fn_config_makefile dlls/dispex enable_dispex
20485 wine_fn_config_makefile dlls/dispex/tests enable_tests
20486 wine_fn_config_makefile dlls/display.drv16 enable_win16
20487 wine_fn_config_makefile dlls/dmband enable_dmband
20488 wine_fn_config_makefile dlls/dmband/tests enable_tests
20489 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20490 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20491 wine_fn_config_makefile dlls/dmime enable_dmime
20492 wine_fn_config_makefile dlls/dmime/tests enable_tests
20493 wine_fn_config_makefile dlls/dmloader enable_dmloader
20494 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20495 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20496 wine_fn_config_makefile dlls/dmscript enable_dmscript
20497 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20498 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20499 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20500 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20501 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20502 wine_fn_config_makefile dlls/dmusic enable_dmusic
20503 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20504 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20505 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20506 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20507 wine_fn_config_makefile dlls/dplay enable_dplay
20508 wine_fn_config_makefile dlls/dplayx enable_dplayx
20509 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20510 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20511 wine_fn_config_makefile dlls/dpnet enable_dpnet
20512 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20513 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20514 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20515 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20516 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20517 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20518 wine_fn_config_makefile dlls/drmclien enable_drmclien
20519 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20520 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20521 wine_fn_config_makefile dlls/dsound enable_dsound
20522 wine_fn_config_makefile dlls/dsound/tests enable_tests
20523 wine_fn_config_makefile dlls/dsquery enable_dsquery
20524 wine_fn_config_makefile dlls/dssenh enable_dssenh
20525 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20526 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20527 wine_fn_config_makefile dlls/dswave enable_dswave
20528 wine_fn_config_makefile dlls/dswave/tests enable_tests
20529 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20530 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20531 wine_fn_config_makefile dlls/dwrite enable_dwrite
20532 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20533 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20534 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20535 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20536 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20537 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20538 wine_fn_config_makefile dlls/dxgi enable_dxgi
20539 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20540 wine_fn_config_makefile dlls/dxguid enable_dxguid
20541 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20542 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20543 wine_fn_config_makefile dlls/esent enable_esent
20544 wine_fn_config_makefile dlls/evr enable_evr
20545 wine_fn_config_makefile dlls/evr/tests enable_tests
20546 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20547 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20548 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20550 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20551 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20552 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20553 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20554 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20556 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20557 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20559 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20562 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20563 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20566 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20567 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20569 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20575 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20576 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20577 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20578 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20579 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20580 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20582 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20583 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20584 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20588 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
20589 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20591 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20597 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20598 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20599 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20600 wine_fn_config_makefile dlls/faultrep enable_faultrep
20601 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20602 wine_fn_config_makefile dlls/feclient enable_feclient
20603 wine_fn_config_makefile dlls/fltlib enable_fltlib
20604 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20605 wine_fn_config_makefile dlls/fntcache enable_fntcache
20606 wine_fn_config_makefile dlls/fontsub enable_fontsub
20607 wine_fn_config_makefile dlls/fusion enable_fusion
20608 wine_fn_config_makefile dlls/fusion/tests enable_tests
20609 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20610 wine_fn_config_makefile dlls/gameux enable_gameux
20611 wine_fn_config_makefile dlls/gameux/tests enable_tests
20612 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20613 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20614 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20615 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20616 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20617 wine_fn_config_makefile dlls/glu32 enable_glu32
20618 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20619 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20620 wine_fn_config_makefile dlls/hal enable_hal
20621 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20622 wine_fn_config_makefile dlls/hid enable_hid
20623 wine_fn_config_makefile dlls/hid/tests enable_tests
20624 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20625 wine_fn_config_makefile dlls/hlink enable_hlink
20626 wine_fn_config_makefile dlls/hlink/tests enable_tests
20627 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20628 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20629 wine_fn_config_makefile dlls/http.sys enable_http_sys
20630 wine_fn_config_makefile dlls/httpapi enable_httpapi
20631 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20632 wine_fn_config_makefile dlls/iccvid enable_iccvid
20633 wine_fn_config_makefile dlls/icmp enable_icmp
20634 wine_fn_config_makefile dlls/ieframe enable_ieframe
20635 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20636 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20637 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20638 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20639 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20640 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20641 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20642 wine_fn_config_makefile dlls/imm32 enable_imm32
20643 wine_fn_config_makefile dlls/imm32/tests enable_tests
20644 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20645 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20646 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20647 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20648 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20649 wine_fn_config_makefile dlls/infosoft enable_infosoft
20650 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20651 wine_fn_config_makefile dlls/initpki enable_initpki
20652 wine_fn_config_makefile dlls/inkobj enable_inkobj
20653 wine_fn_config_makefile dlls/inseng enable_inseng
20654 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20655 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20656 wine_fn_config_makefile dlls/iprop enable_iprop
20657 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20658 wine_fn_config_makefile dlls/itircl enable_itircl
20659 wine_fn_config_makefile dlls/itss enable_itss
20660 wine_fn_config_makefile dlls/itss/tests enable_tests
20661 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20662 wine_fn_config_makefile dlls/jscript enable_jscript
20663 wine_fn_config_makefile dlls/jscript/tests enable_tests
20664 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20665 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20666 wine_fn_config_makefile dlls/kerberos enable_kerberos
20667 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20668 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20669 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20670 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20671 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20672 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20673 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20674 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20675 wine_fn_config_makefile dlls/ksuser enable_ksuser
20676 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20677 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20678 wine_fn_config_makefile dlls/loadperf enable_loadperf
20679 wine_fn_config_makefile dlls/localspl enable_localspl
20680 wine_fn_config_makefile dlls/localspl/tests enable_tests
20681 wine_fn_config_makefile dlls/localui enable_localui
20682 wine_fn_config_makefile dlls/localui/tests enable_tests
20683 wine_fn_config_makefile dlls/lz32 enable_lz32
20684 wine_fn_config_makefile dlls/lz32/tests enable_tests
20685 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20686 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20687 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20688 wine_fn_config_makefile dlls/mapistub enable_mapistub
20689 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20690 wine_fn_config_makefile dlls/mcicda enable_mcicda
20691 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20692 wine_fn_config_makefile dlls/mciseq enable_mciseq
20693 wine_fn_config_makefile dlls/mciwave enable_mciwave
20694 wine_fn_config_makefile dlls/mf enable_mf
20695 wine_fn_config_makefile dlls/mf/tests enable_tests
20696 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20697 wine_fn_config_makefile dlls/mferror enable_mferror
20698 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20699 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20700 wine_fn_config_makefile dlls/mfplat enable_mfplat
20701 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20702 wine_fn_config_makefile dlls/mfplay enable_mfplay
20703 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20704 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20705 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20706 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20707 wine_fn_config_makefile dlls/midimap enable_midimap
20708 wine_fn_config_makefile dlls/mlang enable_mlang
20709 wine_fn_config_makefile dlls/mlang/tests enable_tests
20710 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20711 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20712 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20713 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20714 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20715 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20716 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20717 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20718 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20719 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20720 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20721 wine_fn_config_makefile dlls/mpr enable_mpr
20722 wine_fn_config_makefile dlls/mpr/tests enable_tests
20723 wine_fn_config_makefile dlls/mprapi enable_mprapi
20724 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20725 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20726 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20727 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20728 wine_fn_config_makefile dlls/msado15 enable_msado15
20729 wine_fn_config_makefile dlls/msado15/tests enable_tests
20730 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20731 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20732 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20733 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20734 wine_fn_config_makefile dlls/mscms enable_mscms
20735 wine_fn_config_makefile dlls/mscms/tests enable_tests
20736 wine_fn_config_makefile dlls/mscoree enable_mscoree
20737 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20738 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20739 wine_fn_config_makefile dlls/msctf enable_msctf
20740 wine_fn_config_makefile dlls/msctf/tests enable_tests
20741 wine_fn_config_makefile dlls/msctfp enable_msctfp
20742 wine_fn_config_makefile dlls/msdaps enable_msdaps
20743 wine_fn_config_makefile dlls/msdelta enable_msdelta
20744 wine_fn_config_makefile dlls/msdmo enable_msdmo
20745 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20746 wine_fn_config_makefile dlls/msdrm enable_msdrm
20747 wine_fn_config_makefile dlls/msftedit enable_msftedit
20748 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20749 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20750 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20751 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20752 wine_fn_config_makefile dlls/mshtml enable_mshtml
20753 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20754 wine_fn_config_makefile dlls/msi enable_msi
20755 wine_fn_config_makefile dlls/msi/tests enable_tests
20756 wine_fn_config_makefile dlls/msident enable_msident
20757 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20758 wine_fn_config_makefile dlls/msimsg enable_msimsg
20759 wine_fn_config_makefile dlls/msimtf enable_msimtf
20760 wine_fn_config_makefile dlls/msisip enable_msisip
20761 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20762 wine_fn_config_makefile dlls/msls31 enable_msls31
20763 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20764 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20765 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20766 wine_fn_config_makefile dlls/msports enable_msports
20767 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20768 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20769 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20770 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20771 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20772 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20773 wine_fn_config_makefile dlls/mstask enable_mstask
20774 wine_fn_config_makefile dlls/mstask/tests enable_tests
20775 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20776 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20777 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20778 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20779 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20780 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20781 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20782 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20783 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20784 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20785 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20786 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20787 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20788 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20789 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20790 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20791 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20792 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20793 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20794 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20795 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20796 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20797 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20798 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20799 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20800 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20801 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20802 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20803 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20804 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20805 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20806 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20807 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20808 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20809 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20810 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20811 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20812 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20813 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20814 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20815 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20816 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20817 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20818 wine_fn_config_makefile dlls/mswsock enable_mswsock
20819 wine_fn_config_makefile dlls/msxml enable_msxml
20820 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20821 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20822 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20823 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20824 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20825 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20826 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20827 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20828 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20829 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20830 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20831 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20832 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20833 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20834 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20835 wine_fn_config_makefile dlls/netprofm enable_netprofm
20836 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20837 wine_fn_config_makefile dlls/netutils enable_netutils
20838 wine_fn_config_makefile dlls/newdev enable_newdev
20839 wine_fn_config_makefile dlls/ninput enable_ninput
20840 wine_fn_config_makefile dlls/ninput/tests enable_tests
20841 wine_fn_config_makefile dlls/normaliz enable_normaliz
20842 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20843 wine_fn_config_makefile dlls/npptools enable_npptools
20844 wine_fn_config_makefile dlls/ntdll enable_ntdll
20845 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20846 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20847 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20848 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20849 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20850 wine_fn_config_makefile dlls/ntprint enable_ntprint
20851 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20852 wine_fn_config_makefile dlls/objsel enable_objsel
20853 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20854 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20855 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20856 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20857 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20858 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20859 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20860 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20861 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20862 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20863 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20864 wine_fn_config_makefile dlls/ole32 enable_ole32
20865 wine_fn_config_makefile dlls/ole32/tests enable_tests
20866 wine_fn_config_makefile dlls/oleacc enable_oleacc
20867 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20868 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20869 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20870 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20871 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20872 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20873 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20874 wine_fn_config_makefile dlls/oledlg enable_oledlg
20875 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20876 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20877 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20878 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20879 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20880 wine_fn_config_makefile dlls/opcservices enable_opcservices
20881 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20882 wine_fn_config_makefile dlls/openal32 enable_openal32
20883 wine_fn_config_makefile dlls/opencl enable_opencl
20884 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20885 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20886 wine_fn_config_makefile dlls/packager enable_packager
20887 wine_fn_config_makefile dlls/packager/tests enable_tests
20888 wine_fn_config_makefile dlls/pdh enable_pdh
20889 wine_fn_config_makefile dlls/pdh/tests enable_tests
20890 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20891 wine_fn_config_makefile dlls/pidgen enable_pidgen
20892 wine_fn_config_makefile dlls/powrprof enable_powrprof
20893 wine_fn_config_makefile dlls/printui enable_printui
20894 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20895 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20896 wine_fn_config_makefile dlls/propsys enable_propsys
20897 wine_fn_config_makefile dlls/propsys/tests enable_tests
20898 wine_fn_config_makefile dlls/psapi enable_psapi
20899 wine_fn_config_makefile dlls/psapi/tests enable_tests
20900 wine_fn_config_makefile dlls/pstorec enable_pstorec
20901 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20902 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20903 wine_fn_config_makefile dlls/qasf enable_qasf
20904 wine_fn_config_makefile dlls/qasf/tests enable_tests
20905 wine_fn_config_makefile dlls/qcap enable_qcap
20906 wine_fn_config_makefile dlls/qcap/tests enable_tests
20907 wine_fn_config_makefile dlls/qdvd enable_qdvd
20908 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20909 wine_fn_config_makefile dlls/qedit enable_qedit
20910 wine_fn_config_makefile dlls/qedit/tests enable_tests
20911 wine_fn_config_makefile dlls/qmgr enable_qmgr
20912 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20913 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20914 wine_fn_config_makefile dlls/quartz enable_quartz
20915 wine_fn_config_makefile dlls/quartz/tests enable_tests
20916 wine_fn_config_makefile dlls/query enable_query
20917 wine_fn_config_makefile dlls/qwave enable_qwave
20918 wine_fn_config_makefile dlls/qwave/tests enable_tests
20919 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20920 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20921 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20922 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20923 wine_fn_config_makefile dlls/regapi enable_regapi
20924 wine_fn_config_makefile dlls/resutils enable_resutils
20925 wine_fn_config_makefile dlls/riched20 enable_riched20
20926 wine_fn_config_makefile dlls/riched20/tests enable_tests
20927 wine_fn_config_makefile dlls/riched32 enable_riched32
20928 wine_fn_config_makefile dlls/riched32/tests enable_tests
20929 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20930 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20931 wine_fn_config_makefile dlls/rsabase enable_rsabase
20932 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20933 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20934 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20935 wine_fn_config_makefile dlls/rtutils enable_rtutils
20936 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20937 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20938 wine_fn_config_makefile dlls/samlib enable_samlib
20939 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20940 wine_fn_config_makefile dlls/sapi enable_sapi
20941 wine_fn_config_makefile dlls/sapi/tests enable_tests
20942 wine_fn_config_makefile dlls/sas enable_sas
20943 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20944 wine_fn_config_makefile dlls/sccbase enable_sccbase
20945 wine_fn_config_makefile dlls/schannel enable_schannel
20946 wine_fn_config_makefile dlls/schannel/tests enable_tests
20947 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20948 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20949 wine_fn_config_makefile dlls/scrobj enable_scrobj
20950 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20951 wine_fn_config_makefile dlls/scrrun enable_scrrun
20952 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20953 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20954 wine_fn_config_makefile dlls/sechost enable_sechost
20955 wine_fn_config_makefile dlls/secur32 enable_secur32
20956 wine_fn_config_makefile dlls/secur32/tests enable_tests
20957 wine_fn_config_makefile dlls/security enable_security
20958 wine_fn_config_makefile dlls/sensapi enable_sensapi
20959 wine_fn_config_makefile dlls/serialui enable_serialui
20960 wine_fn_config_makefile dlls/serialui/tests enable_tests
20961 wine_fn_config_makefile dlls/setupapi enable_setupapi
20962 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20963 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20964 wine_fn_config_makefile dlls/sfc enable_sfc
20965 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20966 wine_fn_config_makefile dlls/shcore enable_shcore
20967 wine_fn_config_makefile dlls/shcore/tests enable_tests
20968 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20969 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20970 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20971 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20972 wine_fn_config_makefile dlls/shell32 enable_shell32
20973 wine_fn_config_makefile dlls/shell32/tests enable_tests
20974 wine_fn_config_makefile dlls/shfolder enable_shfolder
20975 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20976 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20977 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20978 wine_fn_config_makefile dlls/slc enable_slc
20979 wine_fn_config_makefile dlls/slc/tests enable_tests
20980 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20981 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20982 wine_fn_config_makefile dlls/softpub enable_softpub
20983 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20984 wine_fn_config_makefile dlls/spoolss enable_spoolss
20985 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20986 wine_fn_config_makefile dlls/srclient enable_srclient
20987 wine_fn_config_makefile dlls/srvcli enable_srvcli
20988 wine_fn_config_makefile dlls/sspicli enable_sspicli
20989 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20990 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20991 wine_fn_config_makefile dlls/sti enable_sti
20992 wine_fn_config_makefile dlls/sti/tests enable_tests
20993 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20994 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20995 wine_fn_config_makefile dlls/strmbase enable_strmbase
20996 wine_fn_config_makefile dlls/strmdll enable_strmdll
20997 wine_fn_config_makefile dlls/strmiids enable_strmiids
20998 wine_fn_config_makefile dlls/svrapi enable_svrapi
20999 wine_fn_config_makefile dlls/sxs enable_sxs
21000 wine_fn_config_makefile dlls/sxs/tests enable_tests
21001 wine_fn_config_makefile dlls/system.drv16 enable_win16
21002 wine_fn_config_makefile dlls/t2embed enable_t2embed
21003 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21004 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21005 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21006 wine_fn_config_makefile dlls/taskschd enable_taskschd
21007 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21008 wine_fn_config_makefile dlls/tdh enable_tdh
21009 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21010 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21011 wine_fn_config_makefile dlls/traffic enable_traffic
21012 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21013 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21014 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21015 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21016 wine_fn_config_makefile dlls/tzres enable_tzres
21017 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21018 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21019 wine_fn_config_makefile dlls/uianimation enable_uianimation
21020 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21021 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21022 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21023 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21024 wine_fn_config_makefile dlls/unicows enable_unicows
21025 wine_fn_config_makefile dlls/updspapi enable_updspapi
21026 wine_fn_config_makefile dlls/url enable_url
21027 wine_fn_config_makefile dlls/urlmon enable_urlmon
21028 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21029 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21030 wine_fn_config_makefile dlls/user.exe16 enable_win16
21031 wine_fn_config_makefile dlls/user32 enable_user32
21032 wine_fn_config_makefile dlls/user32/tests enable_tests
21033 wine_fn_config_makefile dlls/userenv enable_userenv
21034 wine_fn_config_makefile dlls/userenv/tests enable_tests
21035 wine_fn_config_makefile dlls/usp10 enable_usp10
21036 wine_fn_config_makefile dlls/usp10/tests enable_tests
21037 wine_fn_config_makefile dlls/utildll enable_utildll
21038 wine_fn_config_makefile dlls/uuid enable_uuid
21039 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21040 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21041 wine_fn_config_makefile dlls/vbscript enable_vbscript
21042 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21043 wine_fn_config_makefile dlls/vcomp enable_vcomp
21044 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21045 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21046 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21047 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21048 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21049 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21050 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21051 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21052 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21053 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21054 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21055 wine_fn_config_makefile dlls/version enable_version
21056 wine_fn_config_makefile dlls/version/tests enable_tests
21057 wine_fn_config_makefile dlls/vga enable_vga
21058 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21059 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21060 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21061 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21062 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21063 wine_fn_config_makefile dlls/vssapi enable_vssapi
21064 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21065 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21066 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21067 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21068 wine_fn_config_makefile dlls/w32skrnl enable_win16
21069 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21070 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21071 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21072 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21073 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21074 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21075 wine_fn_config_makefile dlls/wdscore enable_wdscore
21076 wine_fn_config_makefile dlls/webservices enable_webservices
21077 wine_fn_config_makefile dlls/webservices/tests enable_tests
21078 wine_fn_config_makefile dlls/wer enable_wer
21079 wine_fn_config_makefile dlls/wer/tests enable_tests
21080 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21081 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21082 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21083 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21084 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21085 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21086 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21087 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21088 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21089 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21090 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21091 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21092 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21093 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21094 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21095 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21096 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21097 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21098 wine_fn_config_makefile dlls/wined3d enable_wined3d
21099 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21100 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21101 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21102 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21103 wine_fn_config_makefile dlls/winemapi enable_winemapi
21104 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21105 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21106 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21107 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21108 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21109 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21110 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21111 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21112 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21113 wine_fn_config_makefile dlls/wing32 enable_wing32
21114 wine_fn_config_makefile dlls/winhttp enable_winhttp
21115 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21116 wine_fn_config_makefile dlls/wininet enable_wininet
21117 wine_fn_config_makefile dlls/wininet/tests enable_tests
21118 wine_fn_config_makefile dlls/winmm enable_winmm
21119 wine_fn_config_makefile dlls/winmm/tests enable_tests
21120 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21121 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21122 wine_fn_config_makefile dlls/winscard enable_winscard
21123 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21124 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21125 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21126 wine_fn_config_makefile dlls/winsta enable_winsta
21127 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21128 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21129 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21130 wine_fn_config_makefile dlls/wintrust enable_wintrust
21131 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21132 wine_fn_config_makefile dlls/winusb enable_winusb
21133 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21134 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21135 wine_fn_config_makefile dlls/wlanui enable_wlanui
21136 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21137 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21138 wine_fn_config_makefile dlls/wmasf enable_wmasf
21139 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21140 wine_fn_config_makefile dlls/wmi enable_wmi
21141 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21142 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21143 wine_fn_config_makefile dlls/wmp enable_wmp
21144 wine_fn_config_makefile dlls/wmp/tests enable_tests
21145 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21146 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21147 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21148 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21149 wine_fn_config_makefile dlls/wow32 enable_win16
21150 wine_fn_config_makefile dlls/wpc enable_wpc
21151 wine_fn_config_makefile dlls/wpc/tests enable_tests
21152 wine_fn_config_makefile dlls/wpcap enable_wpcap
21153 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21154 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21155 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21156 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21157 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21158 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21159 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21160 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21161 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21162 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21163 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21164 wine_fn_config_makefile dlls/wuapi enable_wuapi
21165 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21166 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21167 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21168 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21169 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21170 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21171 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21172 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21173 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21174 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21175 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21176 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21177 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21178 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21179 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21180 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21181 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21182 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21183 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21184 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21185 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21186 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21187 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21188 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21189 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21190 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21191 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21192 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21193 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21194 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21195 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21196 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21197 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21198 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21199 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21200 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21201 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21202 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21203 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21204 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21205 wine_fn_config_makefile dlls/xmllite enable_xmllite
21206 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21207 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21208 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21209 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21210 wine_fn_config_makefile fonts enable_fonts
21211 wine_fn_config_makefile include enable_include
21212 wine_fn_config_makefile libs/port enable_port
21213 wine_fn_config_makefile libs/wine enable_wine
21214 wine_fn_config_makefile libs/wpp enable_wpp
21215 wine_fn_config_makefile loader enable_loader
21216 wine_fn_config_makefile nls enable_nls
21217 wine_fn_config_makefile po enable_po
21218 wine_fn_config_makefile programs/arp enable_arp
21219 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21220 wine_fn_config_makefile programs/attrib enable_attrib
21221 wine_fn_config_makefile programs/cabarc enable_cabarc
21222 wine_fn_config_makefile programs/cacls enable_cacls
21223 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21224 wine_fn_config_makefile programs/clock enable_clock
21225 wine_fn_config_makefile programs/cmd enable_cmd
21226 wine_fn_config_makefile programs/cmd/tests enable_tests
21227 wine_fn_config_makefile programs/conhost enable_conhost
21228 wine_fn_config_makefile programs/conhost/tests enable_tests
21229 wine_fn_config_makefile programs/control enable_control
21230 wine_fn_config_makefile programs/cscript enable_cscript
21231 wine_fn_config_makefile programs/dism enable_dism
21232 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21233 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21234 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21235 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21236 wine_fn_config_makefile programs/eject enable_eject
21237 wine_fn_config_makefile programs/expand enable_expand
21238 wine_fn_config_makefile programs/explorer enable_explorer
21239 wine_fn_config_makefile programs/extrac32 enable_extrac32
21240 wine_fn_config_makefile programs/fc enable_fc
21241 wine_fn_config_makefile programs/find enable_find
21242 wine_fn_config_makefile programs/find/tests enable_tests
21243 wine_fn_config_makefile programs/findstr enable_findstr
21244 wine_fn_config_makefile programs/fsutil enable_fsutil
21245 wine_fn_config_makefile programs/fsutil/tests enable_tests
21246 wine_fn_config_makefile programs/hh enable_hh
21247 wine_fn_config_makefile programs/hostname enable_hostname
21248 wine_fn_config_makefile programs/icacls enable_icacls
21249 wine_fn_config_makefile programs/icinfo enable_icinfo
21250 wine_fn_config_makefile programs/iexplore enable_iexplore
21251 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21252 wine_fn_config_makefile programs/lodctr enable_lodctr
21253 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21254 wine_fn_config_makefile programs/mshta enable_mshta
21255 wine_fn_config_makefile programs/msidb enable_msidb
21256 wine_fn_config_makefile programs/msiexec enable_msiexec
21257 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21258 wine_fn_config_makefile programs/net enable_net
21259 wine_fn_config_makefile programs/netsh enable_netsh
21260 wine_fn_config_makefile programs/netstat enable_netstat
21261 wine_fn_config_makefile programs/ngen enable_ngen
21262 wine_fn_config_makefile programs/notepad enable_notepad
21263 wine_fn_config_makefile programs/oleview enable_oleview
21264 wine_fn_config_makefile programs/ping enable_ping
21265 wine_fn_config_makefile programs/plugplay enable_plugplay
21266 wine_fn_config_makefile programs/powershell enable_powershell
21267 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21268 wine_fn_config_makefile programs/progman enable_progman
21269 wine_fn_config_makefile programs/reg enable_reg
21270 wine_fn_config_makefile programs/reg/tests enable_tests
21271 wine_fn_config_makefile programs/regasm enable_regasm
21272 wine_fn_config_makefile programs/regedit enable_regedit
21273 wine_fn_config_makefile programs/regedit/tests enable_tests
21274 wine_fn_config_makefile programs/regini enable_regini
21275 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21276 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21277 wine_fn_config_makefile programs/rpcss enable_rpcss
21278 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21279 wine_fn_config_makefile programs/rundll32 enable_rundll32
21280 wine_fn_config_makefile programs/sc enable_sc
21281 wine_fn_config_makefile programs/schtasks enable_schtasks
21282 wine_fn_config_makefile programs/schtasks/tests enable_tests
21283 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21284 wine_fn_config_makefile programs/secedit enable_secedit
21285 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21286 wine_fn_config_makefile programs/services enable_services
21287 wine_fn_config_makefile programs/services/tests enable_tests
21288 wine_fn_config_makefile programs/shutdown enable_shutdown
21289 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21290 wine_fn_config_makefile programs/start enable_start
21291 wine_fn_config_makefile programs/subst enable_subst
21292 wine_fn_config_makefile programs/svchost enable_svchost
21293 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21294 wine_fn_config_makefile programs/taskkill enable_taskkill
21295 wine_fn_config_makefile programs/tasklist enable_tasklist
21296 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21297 wine_fn_config_makefile programs/termsv enable_termsv
21298 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21299 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21300 wine_fn_config_makefile programs/view enable_view
21301 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21302 wine_fn_config_makefile programs/where enable_where
21303 wine_fn_config_makefile programs/whoami enable_whoami
21304 wine_fn_config_makefile programs/wineboot enable_wineboot
21305 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21306 wine_fn_config_makefile programs/winecfg enable_winecfg
21307 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21308 wine_fn_config_makefile programs/winedbg enable_winedbg
21309 wine_fn_config_makefile programs/winedevice enable_winedevice
21310 wine_fn_config_makefile programs/winefile enable_winefile
21311 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21312 wine_fn_config_makefile programs/winemine enable_winemine
21313 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21314 wine_fn_config_makefile programs/winepath enable_winepath
21315 wine_fn_config_makefile programs/winetest enable_winetest
21316 wine_fn_config_makefile programs/winevdm enable_win16
21317 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21318 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21319 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21320 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21321 wine_fn_config_makefile programs/winver enable_winver
21322 wine_fn_config_makefile programs/wmic enable_wmic
21323 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21324 wine_fn_config_makefile programs/wordpad enable_wordpad
21325 wine_fn_config_makefile programs/write enable_write
21326 wine_fn_config_makefile programs/wscript enable_wscript
21327 wine_fn_config_makefile programs/wscript/tests enable_tests
21328 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21329 wine_fn_config_makefile programs/wusa enable_wusa
21330 wine_fn_config_makefile programs/xcopy enable_xcopy
21331 wine_fn_config_makefile programs/xcopy/tests enable_tests
21332 wine_fn_config_makefile server enable_server
21333 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21334 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21335 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21336 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21337 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21338 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21339 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21340 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21341 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21344 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21345 wine_fn_append_file CONFIGURE_TARGETS "tags"
21346 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21347 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21348 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21349 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21350 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21351 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21353 if test "x$enable_tools" != xno
21354 then
21355 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21356 ac_config_commands="$ac_config_commands tools/makedep"
21360 ac_config_commands="$ac_config_commands Makefile"
21363 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21367 if test "x$enable_maintainer_mode" = xyes
21368 then
21369 wine_fn_append_rule "configure: configure.ac aclocal.m4
21370 autoconf --warnings=all
21371 include/config.h.in: include/stamp-h.in
21372 include/stamp-h.in: configure.ac aclocal.m4
21373 autoheader --warnings=all
21374 @echo timestamp > \$@"
21377 if test "x$enable_tools" != xno
21378 then
21379 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21380 @./config.status tools/makedep
21381 Makefile: tools/makedep$ac_exeext"
21382 else
21383 wine_fn_append_rule "\$(MAKEDEP):
21384 @echo \"You need to run make in $TOOLSDIR first\" && false"
21387 if test -n "$with_wine64"
21388 then
21389 case "$with_wine64" in
21390 /*) reldir="" ;;
21391 *) reldir="../" ;;
21392 esac
21393 rm -f fonts server 2>/dev/null
21394 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21395 loader/wine64 loader/wine64-preloader:
21396 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21397 $with_wine64/loader/wine:
21398 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21399 $with_wine64/loader/wine-preloader:
21400 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21401 clean::
21402 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21403 else
21404 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21405 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21406 fonts \
21407 loader/wine.inf \
21408 loader/winebus.inf \
21409 loader/winehid.inf \
21410 loader/wineusb.inf \
21411 nls \
21412 programs/msidb/msidb \
21413 programs/msiexec/msiexec \
21414 programs/notepad/notepad \
21415 programs/regedit/regedit \
21416 programs/regsvr32/regsvr32 \
21417 programs/wineboot/wineboot \
21418 programs/winecfg/winecfg \
21419 programs/wineconsole/wineconsole \
21420 programs/winedbg/winedbg \
21421 programs/winefile/winefile \
21422 programs/winemine/winemine \
21423 programs/winepath/winepath \
21424 server/wineserver"
21426 case $host_os in
21427 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21428 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21429 esac
21432 $as_echo " done" >&6
21433 cat >confcache <<\_ACEOF
21434 # This file is a shell script that caches the results of configure
21435 # tests run on this system so they can be shared between configure
21436 # scripts and configure runs, see configure's option --config-cache.
21437 # It is not useful on other systems. If it contains results you don't
21438 # want to keep, you may remove or edit it.
21440 # config.status only pays attention to the cache file if you give it
21441 # the --recheck option to rerun configure.
21443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21445 # following values.
21447 _ACEOF
21449 # The following way of writing the cache mishandles newlines in values,
21450 # but we know of no workaround that is simple, portable, and efficient.
21451 # So, we kill variables containing newlines.
21452 # Ultrix sh set writes to stderr and can't be redirected directly,
21453 # and sets the high bit in the cache file unless we assign to the vars.
21455 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21456 eval ac_val=\$$ac_var
21457 case $ac_val in #(
21458 *${as_nl}*)
21459 case $ac_var in #(
21460 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21461 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21462 esac
21463 case $ac_var in #(
21464 _ | IFS | as_nl) ;; #(
21465 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21466 *) { eval $ac_var=; unset $ac_var;} ;;
21467 esac ;;
21468 esac
21469 done
21471 (set) 2>&1 |
21472 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21473 *${as_nl}ac_space=\ *)
21474 # `set' does not quote correctly, so add quotes: double-quote
21475 # substitution turns \\\\ into \\, and sed turns \\ into \.
21476 sed -n \
21477 "s/'/'\\\\''/g;
21478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21479 ;; #(
21481 # `set' quotes correctly as required by POSIX, so do not add quotes.
21482 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21484 esac |
21485 sort
21487 sed '
21488 /^ac_cv_env_/b end
21489 t clear
21490 :clear
21491 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21492 t end
21493 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21494 :end' >>confcache
21495 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21496 if test -w "$cache_file"; then
21497 if test "x$cache_file" != "x/dev/null"; then
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21499 $as_echo "$as_me: updating cache $cache_file" >&6;}
21500 if test ! -f "$cache_file" || test -h "$cache_file"; then
21501 cat confcache >"$cache_file"
21502 else
21503 case $cache_file in #(
21504 */* | ?:*)
21505 mv -f confcache "$cache_file"$$ &&
21506 mv -f "$cache_file"$$ "$cache_file" ;; #(
21508 mv -f confcache "$cache_file" ;;
21509 esac
21512 else
21513 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21514 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21517 rm -f confcache
21519 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21520 # Let make expand exec_prefix.
21521 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21523 DEFS=-DHAVE_CONFIG_H
21525 ac_libobjs=
21526 ac_ltlibobjs=
21528 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21529 # 1. Remove the extension, and $U if already installed.
21530 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21531 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21532 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21533 # will be set to the directory where LIBOBJS objects are built.
21534 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21535 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21536 done
21537 LIBOBJS=$ac_libobjs
21539 LTLIBOBJS=$ac_ltlibobjs
21543 : "${CONFIG_STATUS=./config.status}"
21544 ac_write_fail=0
21545 ac_clean_files_save=$ac_clean_files
21546 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21548 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21549 as_write_fail=0
21550 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21551 #! $SHELL
21552 # Generated by $as_me.
21553 # Run this file to recreate the current configuration.
21554 # Compiler output produced by configure, useful for debugging
21555 # configure, is in config.log if it exists.
21557 debug=false
21558 ac_cs_recheck=false
21559 ac_cs_silent=false
21561 SHELL=\${CONFIG_SHELL-$SHELL}
21562 export SHELL
21563 _ASEOF
21564 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21565 ## -------------------- ##
21566 ## M4sh Initialization. ##
21567 ## -------------------- ##
21569 # Be more Bourne compatible
21570 DUALCASE=1; export DUALCASE # for MKS sh
21571 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21572 emulate sh
21573 NULLCMD=:
21574 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21575 # is contrary to our usage. Disable this feature.
21576 alias -g '${1+"$@"}'='"$@"'
21577 setopt NO_GLOB_SUBST
21578 else
21579 case `(set -o) 2>/dev/null` in #(
21580 *posix*) :
21581 set -o posix ;; #(
21582 *) :
21584 esac
21588 as_nl='
21590 export as_nl
21591 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21592 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21593 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21594 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21595 # Prefer a ksh shell builtin over an external printf program on Solaris,
21596 # but without wasting forks for bash or zsh.
21597 if test -z "$BASH_VERSION$ZSH_VERSION" \
21598 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21599 as_echo='print -r --'
21600 as_echo_n='print -rn --'
21601 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21602 as_echo='printf %s\n'
21603 as_echo_n='printf %s'
21604 else
21605 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21606 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21607 as_echo_n='/usr/ucb/echo -n'
21608 else
21609 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21610 as_echo_n_body='eval
21611 arg=$1;
21612 case $arg in #(
21613 *"$as_nl"*)
21614 expr "X$arg" : "X\\(.*\\)$as_nl";
21615 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21616 esac;
21617 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21619 export as_echo_n_body
21620 as_echo_n='sh -c $as_echo_n_body as_echo'
21622 export as_echo_body
21623 as_echo='sh -c $as_echo_body as_echo'
21626 # The user is always right.
21627 if test "${PATH_SEPARATOR+set}" != set; then
21628 PATH_SEPARATOR=:
21629 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21630 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21631 PATH_SEPARATOR=';'
21636 # IFS
21637 # We need space, tab and new line, in precisely that order. Quoting is
21638 # there to prevent editors from complaining about space-tab.
21639 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21640 # splitting by setting IFS to empty value.)
21641 IFS=" "" $as_nl"
21643 # Find who we are. Look in the path if we contain no directory separator.
21644 as_myself=
21645 case $0 in #((
21646 *[\\/]* ) as_myself=$0 ;;
21647 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21648 for as_dir in $PATH
21650 IFS=$as_save_IFS
21651 test -z "$as_dir" && as_dir=.
21652 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21653 done
21654 IFS=$as_save_IFS
21657 esac
21658 # We did not find ourselves, most probably we were run as `sh COMMAND'
21659 # in which case we are not to be found in the path.
21660 if test "x$as_myself" = x; then
21661 as_myself=$0
21663 if test ! -f "$as_myself"; then
21664 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21665 exit 1
21668 # Unset variables that we do not need and which cause bugs (e.g. in
21669 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21670 # suppresses any "Segmentation fault" message there. '((' could
21671 # trigger a bug in pdksh 5.2.14.
21672 for as_var in BASH_ENV ENV MAIL MAILPATH
21673 do eval test x\${$as_var+set} = xset \
21674 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21675 done
21676 PS1='$ '
21677 PS2='> '
21678 PS4='+ '
21680 # NLS nuisances.
21681 LC_ALL=C
21682 export LC_ALL
21683 LANGUAGE=C
21684 export LANGUAGE
21686 # CDPATH.
21687 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21690 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21691 # ----------------------------------------
21692 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21693 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21694 # script with STATUS, using 1 if that was 0.
21695 as_fn_error ()
21697 as_status=$1; test $as_status -eq 0 && as_status=1
21698 if test "$4"; then
21699 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21700 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21702 $as_echo "$as_me: error: $2" >&2
21703 as_fn_exit $as_status
21704 } # as_fn_error
21707 # as_fn_set_status STATUS
21708 # -----------------------
21709 # Set $? to STATUS, without forking.
21710 as_fn_set_status ()
21712 return $1
21713 } # as_fn_set_status
21715 # as_fn_exit STATUS
21716 # -----------------
21717 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21718 as_fn_exit ()
21720 set +e
21721 as_fn_set_status $1
21722 exit $1
21723 } # as_fn_exit
21725 # as_fn_unset VAR
21726 # ---------------
21727 # Portably unset VAR.
21728 as_fn_unset ()
21730 { eval $1=; unset $1;}
21732 as_unset=as_fn_unset
21733 # as_fn_append VAR VALUE
21734 # ----------------------
21735 # Append the text in VALUE to the end of the definition contained in VAR. Take
21736 # advantage of any shell optimizations that allow amortized linear growth over
21737 # repeated appends, instead of the typical quadratic growth present in naive
21738 # implementations.
21739 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21740 eval 'as_fn_append ()
21742 eval $1+=\$2
21744 else
21745 as_fn_append ()
21747 eval $1=\$$1\$2
21749 fi # as_fn_append
21751 # as_fn_arith ARG...
21752 # ------------------
21753 # Perform arithmetic evaluation on the ARGs, and store the result in the
21754 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21755 # must be portable across $(()) and expr.
21756 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21757 eval 'as_fn_arith ()
21759 as_val=$(( $* ))
21761 else
21762 as_fn_arith ()
21764 as_val=`expr "$@" || test $? -eq 1`
21766 fi # as_fn_arith
21769 if expr a : '\(a\)' >/dev/null 2>&1 &&
21770 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21771 as_expr=expr
21772 else
21773 as_expr=false
21776 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21777 as_basename=basename
21778 else
21779 as_basename=false
21782 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21783 as_dirname=dirname
21784 else
21785 as_dirname=false
21788 as_me=`$as_basename -- "$0" ||
21789 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21790 X"$0" : 'X\(//\)$' \| \
21791 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21792 $as_echo X/"$0" |
21793 sed '/^.*\/\([^/][^/]*\)\/*$/{
21794 s//\1/
21797 /^X\/\(\/\/\)$/{
21798 s//\1/
21801 /^X\/\(\/\).*/{
21802 s//\1/
21805 s/.*/./; q'`
21807 # Avoid depending upon Character Ranges.
21808 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21809 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21810 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21811 as_cr_digits='0123456789'
21812 as_cr_alnum=$as_cr_Letters$as_cr_digits
21814 ECHO_C= ECHO_N= ECHO_T=
21815 case `echo -n x` in #(((((
21816 -n*)
21817 case `echo 'xy\c'` in
21818 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21819 xy) ECHO_C='\c';;
21820 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21821 ECHO_T=' ';;
21822 esac;;
21824 ECHO_N='-n';;
21825 esac
21827 rm -f conf$$ conf$$.exe conf$$.file
21828 if test -d conf$$.dir; then
21829 rm -f conf$$.dir/conf$$.file
21830 else
21831 rm -f conf$$.dir
21832 mkdir conf$$.dir 2>/dev/null
21834 if (echo >conf$$.file) 2>/dev/null; then
21835 if ln -s conf$$.file conf$$ 2>/dev/null; then
21836 as_ln_s='ln -s'
21837 # ... but there are two gotchas:
21838 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21839 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21840 # In both cases, we have to default to `cp -pR'.
21841 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21842 as_ln_s='cp -pR'
21843 elif ln conf$$.file conf$$ 2>/dev/null; then
21844 as_ln_s=ln
21845 else
21846 as_ln_s='cp -pR'
21848 else
21849 as_ln_s='cp -pR'
21851 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21852 rmdir conf$$.dir 2>/dev/null
21855 # as_fn_mkdir_p
21856 # -------------
21857 # Create "$as_dir" as a directory, including parents if necessary.
21858 as_fn_mkdir_p ()
21861 case $as_dir in #(
21862 -*) as_dir=./$as_dir;;
21863 esac
21864 test -d "$as_dir" || eval $as_mkdir_p || {
21865 as_dirs=
21866 while :; do
21867 case $as_dir in #(
21868 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21869 *) as_qdir=$as_dir;;
21870 esac
21871 as_dirs="'$as_qdir' $as_dirs"
21872 as_dir=`$as_dirname -- "$as_dir" ||
21873 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21874 X"$as_dir" : 'X\(//\)[^/]' \| \
21875 X"$as_dir" : 'X\(//\)$' \| \
21876 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21877 $as_echo X"$as_dir" |
21878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21879 s//\1/
21882 /^X\(\/\/\)[^/].*/{
21883 s//\1/
21886 /^X\(\/\/\)$/{
21887 s//\1/
21890 /^X\(\/\).*/{
21891 s//\1/
21894 s/.*/./; q'`
21895 test -d "$as_dir" && break
21896 done
21897 test -z "$as_dirs" || eval "mkdir $as_dirs"
21898 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21901 } # as_fn_mkdir_p
21902 if mkdir -p . 2>/dev/null; then
21903 as_mkdir_p='mkdir -p "$as_dir"'
21904 else
21905 test -d ./-p && rmdir ./-p
21906 as_mkdir_p=false
21910 # as_fn_executable_p FILE
21911 # -----------------------
21912 # Test if FILE is an executable regular file.
21913 as_fn_executable_p ()
21915 test -f "$1" && test -x "$1"
21916 } # as_fn_executable_p
21917 as_test_x='test -x'
21918 as_executable_p=as_fn_executable_p
21920 # Sed expression to map a string onto a valid CPP name.
21921 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21923 # Sed expression to map a string onto a valid variable name.
21924 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21927 exec 6>&1
21928 ## ----------------------------------- ##
21929 ## Main body of $CONFIG_STATUS script. ##
21930 ## ----------------------------------- ##
21931 _ASEOF
21932 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21935 # Save the log message, to keep $0 and so on meaningful, and to
21936 # report actual input values of CONFIG_FILES etc. instead of their
21937 # values after options handling.
21938 ac_log="
21939 This file was extended by Wine $as_me 5.20, which was
21940 generated by GNU Autoconf 2.69. Invocation command line was
21942 CONFIG_FILES = $CONFIG_FILES
21943 CONFIG_HEADERS = $CONFIG_HEADERS
21944 CONFIG_LINKS = $CONFIG_LINKS
21945 CONFIG_COMMANDS = $CONFIG_COMMANDS
21946 $ $0 $@
21948 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21951 _ACEOF
21953 case $ac_config_files in *"
21954 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21955 esac
21957 case $ac_config_headers in *"
21958 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21959 esac
21962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21963 # Files that config.status was made for.
21964 config_files="$ac_config_files"
21965 config_headers="$ac_config_headers"
21966 config_links="$ac_config_links"
21967 config_commands="$ac_config_commands"
21969 _ACEOF
21971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21972 ac_cs_usage="\
21973 \`$as_me' instantiates files and other configuration actions
21974 from templates according to the current configuration. Unless the files
21975 and actions are specified as TAGs, all are instantiated by default.
21977 Usage: $0 [OPTION]... [TAG]...
21979 -h, --help print this help, then exit
21980 -V, --version print version number and configuration settings, then exit
21981 --config print configuration, then exit
21982 -q, --quiet, --silent
21983 do not print progress messages
21984 -d, --debug don't remove temporary files
21985 --recheck update $as_me by reconfiguring in the same conditions
21986 --file=FILE[:TEMPLATE]
21987 instantiate the configuration file FILE
21988 --header=FILE[:TEMPLATE]
21989 instantiate the configuration header FILE
21991 Configuration files:
21992 $config_files
21994 Configuration headers:
21995 $config_headers
21997 Configuration links:
21998 $config_links
22000 Configuration commands:
22001 $config_commands
22003 Report bugs to <wine-devel@winehq.org>.
22004 Wine home page: <https://www.winehq.org>."
22006 _ACEOF
22007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22008 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22009 ac_cs_version="\\
22010 Wine config.status 5.20
22011 configured by $0, generated by GNU Autoconf 2.69,
22012 with options \\"\$ac_cs_config\\"
22014 Copyright (C) 2012 Free Software Foundation, Inc.
22015 This config.status script is free software; the Free Software Foundation
22016 gives unlimited permission to copy, distribute and modify it."
22018 ac_pwd='$ac_pwd'
22019 srcdir='$srcdir'
22020 test -n "\$AWK" || AWK=awk
22021 _ACEOF
22023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22024 # The default lists apply if the user does not specify any file.
22025 ac_need_defaults=:
22026 while test $# != 0
22028 case $1 in
22029 --*=?*)
22030 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22031 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22032 ac_shift=:
22034 --*=)
22035 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22036 ac_optarg=
22037 ac_shift=:
22040 ac_option=$1
22041 ac_optarg=$2
22042 ac_shift=shift
22044 esac
22046 case $ac_option in
22047 # Handling of the options.
22048 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22049 ac_cs_recheck=: ;;
22050 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22051 $as_echo "$ac_cs_version"; exit ;;
22052 --config | --confi | --conf | --con | --co | --c )
22053 $as_echo "$ac_cs_config"; exit ;;
22054 --debug | --debu | --deb | --de | --d | -d )
22055 debug=: ;;
22056 --file | --fil | --fi | --f )
22057 $ac_shift
22058 case $ac_optarg in
22059 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22060 '') as_fn_error $? "missing file argument" ;;
22061 esac
22062 as_fn_append CONFIG_FILES " '$ac_optarg'"
22063 ac_need_defaults=false;;
22064 --header | --heade | --head | --hea )
22065 $ac_shift
22066 case $ac_optarg in
22067 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22068 esac
22069 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22070 ac_need_defaults=false;;
22071 --he | --h)
22072 # Conflict between --help and --header
22073 as_fn_error $? "ambiguous option: \`$1'
22074 Try \`$0 --help' for more information.";;
22075 --help | --hel | -h )
22076 $as_echo "$ac_cs_usage"; exit ;;
22077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22078 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22079 ac_cs_silent=: ;;
22081 # This is an error.
22082 -*) as_fn_error $? "unrecognized option: \`$1'
22083 Try \`$0 --help' for more information." ;;
22085 *) as_fn_append ac_config_targets " $1"
22086 ac_need_defaults=false ;;
22088 esac
22089 shift
22090 done
22092 ac_configure_extra_args=
22094 if $ac_cs_silent; then
22095 exec 6>/dev/null
22096 ac_configure_extra_args="$ac_configure_extra_args --silent"
22099 _ACEOF
22100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22101 if \$ac_cs_recheck; then
22102 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22103 shift
22104 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22105 CONFIG_SHELL='$SHELL'
22106 export CONFIG_SHELL
22107 exec "\$@"
22110 _ACEOF
22111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22112 exec 5>>config.log
22114 echo
22115 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22116 ## Running $as_me. ##
22117 _ASBOX
22118 $as_echo "$ac_log"
22119 } >&5
22121 _ACEOF
22122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22124 # INIT-COMMANDS
22126 wine_fn_output_makedep ()
22128 as_dir=tools; as_fn_mkdir_p
22129 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22131 wine_fn_output_makefile ()
22133 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22134 `cat $wine_rules_file`
22135 _WINE_EOF
22136 as_fn_error $? "could not create Makefile" "$LINENO" 5
22139 _ACEOF
22141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22143 # Handling of arguments.
22144 for ac_config_target in $ac_config_targets
22146 case $ac_config_target in
22147 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22148 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22149 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22150 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22151 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22152 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22153 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22155 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22156 esac
22157 done
22160 # If the user did not use the arguments to specify the items to instantiate,
22161 # then the envvar interface is used. Set only those that are not.
22162 # We use the long form for the default assignment because of an extremely
22163 # bizarre bug on SunOS 4.1.3.
22164 if $ac_need_defaults; then
22165 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22166 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22167 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22168 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22171 # Have a temporary directory for convenience. Make it in the build tree
22172 # simply because there is no reason against having it here, and in addition,
22173 # creating and moving files from /tmp can sometimes cause problems.
22174 # Hook for its removal unless debugging.
22175 # Note that there is a small window in which the directory will not be cleaned:
22176 # after its creation but before its name has been assigned to `$tmp'.
22177 $debug ||
22179 tmp= ac_tmp=
22180 trap 'exit_status=$?
22181 : "${ac_tmp:=$tmp}"
22182 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22184 trap 'as_fn_exit 1' 1 2 13 15
22186 # Create a (secure) tmp directory for tmp files.
22189 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22190 test -d "$tmp"
22191 } ||
22193 tmp=./conf$$-$RANDOM
22194 (umask 077 && mkdir "$tmp")
22195 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22196 ac_tmp=$tmp
22198 # Set up the scripts for CONFIG_FILES section.
22199 # No need to generate them if there are no CONFIG_FILES.
22200 # This happens for instance with `./config.status config.h'.
22201 if test -n "$CONFIG_FILES"; then
22204 ac_cr=`echo X | tr X '\015'`
22205 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22206 # But we know of no other shell where ac_cr would be empty at this
22207 # point, so we can use a bashism as a fallback.
22208 if test "x$ac_cr" = x; then
22209 eval ac_cr=\$\'\\r\'
22211 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22212 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22213 ac_cs_awk_cr='\\r'
22214 else
22215 ac_cs_awk_cr=$ac_cr
22218 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22219 _ACEOF
22223 echo "cat >conf$$subs.awk <<_ACEOF" &&
22224 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22225 echo "_ACEOF"
22226 } >conf$$subs.sh ||
22227 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22228 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22229 ac_delim='%!_!# '
22230 for ac_last_try in false false false false false :; do
22231 . ./conf$$subs.sh ||
22232 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22234 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22235 if test $ac_delim_n = $ac_delim_num; then
22236 break
22237 elif $ac_last_try; then
22238 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22239 else
22240 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22242 done
22243 rm -f conf$$subs.sh
22245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22246 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22247 _ACEOF
22248 sed -n '
22250 s/^/S["/; s/!.*/"]=/
22253 s/^[^!]*!//
22254 :repl
22255 t repl
22256 s/'"$ac_delim"'$//
22257 t delim
22260 s/\(.\{148\}\)..*/\1/
22261 t more1
22262 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22265 b repl
22266 :more1
22267 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22270 s/.\{148\}//
22271 t nl
22272 :delim
22274 s/\(.\{148\}\)..*/\1/
22275 t more2
22276 s/["\\]/\\&/g; s/^/"/; s/$/"/
22279 :more2
22280 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22283 s/.\{148\}//
22284 t delim
22285 ' <conf$$subs.awk | sed '
22286 /^[^""]/{
22288 s/\n//
22290 ' >>$CONFIG_STATUS || ac_write_fail=1
22291 rm -f conf$$subs.awk
22292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22293 _ACAWK
22294 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22295 for (key in S) S_is_set[key] = 1
22296 FS = "\a"
22300 line = $ 0
22301 nfields = split(line, field, "@")
22302 substed = 0
22303 len = length(field[1])
22304 for (i = 2; i < nfields; i++) {
22305 key = field[i]
22306 keylen = length(key)
22307 if (S_is_set[key]) {
22308 value = S[key]
22309 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22310 len += length(value) + length(field[++i])
22311 substed = 1
22312 } else
22313 len += 1 + keylen
22316 print line
22319 _ACAWK
22320 _ACEOF
22321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22322 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22323 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22324 else
22326 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22327 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22328 _ACEOF
22330 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22331 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22332 # trailing colons and then remove the whole line if VPATH becomes empty
22333 # (actually we leave an empty line to preserve line numbers).
22334 if test "x$srcdir" = x.; then
22335 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22337 s///
22338 s/^/:/
22339 s/[ ]*$/:/
22340 s/:\$(srcdir):/:/g
22341 s/:\${srcdir}:/:/g
22342 s/:@srcdir@:/:/g
22343 s/^:*//
22344 s/:*$//
22346 s/\(=[ ]*\).*/\1/
22348 s/\n//
22349 s/^[^=]*=[ ]*$//
22353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22354 fi # test -n "$CONFIG_FILES"
22356 # Set up the scripts for CONFIG_HEADERS section.
22357 # No need to generate them if there are no CONFIG_HEADERS.
22358 # This happens for instance with `./config.status Makefile'.
22359 if test -n "$CONFIG_HEADERS"; then
22360 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22361 BEGIN {
22362 _ACEOF
22364 # Transform confdefs.h into an awk script `defines.awk', embedded as
22365 # here-document in config.status, that substitutes the proper values into
22366 # config.h.in to produce config.h.
22368 # Create a delimiter string that does not exist in confdefs.h, to ease
22369 # handling of long lines.
22370 ac_delim='%!_!# '
22371 for ac_last_try in false false :; do
22372 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22373 if test -z "$ac_tt"; then
22374 break
22375 elif $ac_last_try; then
22376 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22377 else
22378 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22380 done
22382 # For the awk script, D is an array of macro values keyed by name,
22383 # likewise P contains macro parameters if any. Preserve backslash
22384 # newline sequences.
22386 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22387 sed -n '
22388 s/.\{148\}/&'"$ac_delim"'/g
22389 t rset
22390 :rset
22391 s/^[ ]*#[ ]*define[ ][ ]*/ /
22392 t def
22394 :def
22395 s/\\$//
22396 t bsnl
22397 s/["\\]/\\&/g
22398 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22399 D["\1"]=" \3"/p
22400 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22402 :bsnl
22403 s/["\\]/\\&/g
22404 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22405 D["\1"]=" \3\\\\\\n"\\/p
22406 t cont
22407 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22408 t cont
22410 :cont
22412 s/.\{148\}/&'"$ac_delim"'/g
22413 t clear
22414 :clear
22415 s/\\$//
22416 t bsnlc
22417 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22419 :bsnlc
22420 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22421 b cont
22422 ' <confdefs.h | sed '
22423 s/'"$ac_delim"'/"\\\
22424 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22427 for (key in D) D_is_set[key] = 1
22428 FS = "\a"
22430 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22431 line = \$ 0
22432 split(line, arg, " ")
22433 if (arg[1] == "#") {
22434 defundef = arg[2]
22435 mac1 = arg[3]
22436 } else {
22437 defundef = substr(arg[1], 2)
22438 mac1 = arg[2]
22440 split(mac1, mac2, "(") #)
22441 macro = mac2[1]
22442 prefix = substr(line, 1, index(line, defundef) - 1)
22443 if (D_is_set[macro]) {
22444 # Preserve the white space surrounding the "#".
22445 print prefix "define", macro P[macro] D[macro]
22446 next
22447 } else {
22448 # Replace #undef with comments. This is necessary, for example,
22449 # in the case of _POSIX_SOURCE, which is predefined and required
22450 # on some systems where configure will not decide to define it.
22451 if (defundef == "undef") {
22452 print "/*", prefix defundef, macro, "*/"
22453 next
22457 { print }
22458 _ACAWK
22459 _ACEOF
22460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22461 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22462 fi # test -n "$CONFIG_HEADERS"
22465 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22466 shift
22467 for ac_tag
22469 case $ac_tag in
22470 :[FHLC]) ac_mode=$ac_tag; continue;;
22471 esac
22472 case $ac_mode$ac_tag in
22473 :[FHL]*:*);;
22474 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22475 :[FH]-) ac_tag=-:-;;
22476 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22477 esac
22478 ac_save_IFS=$IFS
22479 IFS=:
22480 set x $ac_tag
22481 IFS=$ac_save_IFS
22482 shift
22483 ac_file=$1
22484 shift
22486 case $ac_mode in
22487 :L) ac_source=$1;;
22488 :[FH])
22489 ac_file_inputs=
22490 for ac_f
22492 case $ac_f in
22493 -) ac_f="$ac_tmp/stdin";;
22494 *) # Look for the file first in the build tree, then in the source tree
22495 # (if the path is not absolute). The absolute path cannot be DOS-style,
22496 # because $ac_f cannot contain `:'.
22497 test -f "$ac_f" ||
22498 case $ac_f in
22499 [\\/$]*) false;;
22500 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22501 esac ||
22502 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22503 esac
22504 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22505 as_fn_append ac_file_inputs " '$ac_f'"
22506 done
22508 # Let's still pretend it is `configure' which instantiates (i.e., don't
22509 # use $as_me), people would be surprised to read:
22510 # /* config.h. Generated by config.status. */
22511 configure_input='Generated from '`
22512 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22513 `' by configure.'
22514 if test x"$ac_file" != x-; then
22515 configure_input="$ac_file. $configure_input"
22516 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22517 $as_echo "$as_me: creating $ac_file" >&6;}
22519 # Neutralize special characters interpreted by sed in replacement strings.
22520 case $configure_input in #(
22521 *\&* | *\|* | *\\* )
22522 ac_sed_conf_input=`$as_echo "$configure_input" |
22523 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22524 *) ac_sed_conf_input=$configure_input;;
22525 esac
22527 case $ac_tag in
22528 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22529 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22530 esac
22532 esac
22534 ac_dir=`$as_dirname -- "$ac_file" ||
22535 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22536 X"$ac_file" : 'X\(//\)[^/]' \| \
22537 X"$ac_file" : 'X\(//\)$' \| \
22538 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22539 $as_echo X"$ac_file" |
22540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22541 s//\1/
22544 /^X\(\/\/\)[^/].*/{
22545 s//\1/
22548 /^X\(\/\/\)$/{
22549 s//\1/
22552 /^X\(\/\).*/{
22553 s//\1/
22556 s/.*/./; q'`
22557 as_dir="$ac_dir"; as_fn_mkdir_p
22558 ac_builddir=.
22560 case "$ac_dir" in
22561 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22563 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22564 # A ".." for each directory in $ac_dir_suffix.
22565 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22566 case $ac_top_builddir_sub in
22567 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22568 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22569 esac ;;
22570 esac
22571 ac_abs_top_builddir=$ac_pwd
22572 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22573 # for backward compatibility:
22574 ac_top_builddir=$ac_top_build_prefix
22576 case $srcdir in
22577 .) # We are building in place.
22578 ac_srcdir=.
22579 ac_top_srcdir=$ac_top_builddir_sub
22580 ac_abs_top_srcdir=$ac_pwd ;;
22581 [\\/]* | ?:[\\/]* ) # Absolute name.
22582 ac_srcdir=$srcdir$ac_dir_suffix;
22583 ac_top_srcdir=$srcdir
22584 ac_abs_top_srcdir=$srcdir ;;
22585 *) # Relative name.
22586 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22587 ac_top_srcdir=$ac_top_build_prefix$srcdir
22588 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22589 esac
22590 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22593 case $ac_mode in
22596 # CONFIG_FILE
22599 _ACEOF
22601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22602 # If the template does not know about datarootdir, expand it.
22603 # FIXME: This hack should be removed a few years after 2.60.
22604 ac_datarootdir_hack=; ac_datarootdir_seen=
22605 ac_sed_dataroot='
22606 /datarootdir/ {
22610 /@datadir@/p
22611 /@docdir@/p
22612 /@infodir@/p
22613 /@localedir@/p
22614 /@mandir@/p'
22615 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22616 *datarootdir*) ac_datarootdir_seen=yes;;
22617 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22619 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22620 _ACEOF
22621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22622 ac_datarootdir_hack='
22623 s&@datadir@&$datadir&g
22624 s&@docdir@&$docdir&g
22625 s&@infodir@&$infodir&g
22626 s&@localedir@&$localedir&g
22627 s&@mandir@&$mandir&g
22628 s&\\\${datarootdir}&$datarootdir&g' ;;
22629 esac
22630 _ACEOF
22632 # Neutralize VPATH when `$srcdir' = `.'.
22633 # Shell code in configure.ac might set extrasub.
22634 # FIXME: do we really want to maintain this feature?
22635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22636 ac_sed_extra="$ac_vpsub
22637 $extrasub
22638 _ACEOF
22639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22641 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22642 s|@configure_input@|$ac_sed_conf_input|;t t
22643 s&@top_builddir@&$ac_top_builddir_sub&;t t
22644 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22645 s&@srcdir@&$ac_srcdir&;t t
22646 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22647 s&@top_srcdir@&$ac_top_srcdir&;t t
22648 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22649 s&@builddir@&$ac_builddir&;t t
22650 s&@abs_builddir@&$ac_abs_builddir&;t t
22651 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22652 $ac_datarootdir_hack
22654 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22655 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22657 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22658 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22659 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22660 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22662 which seems to be undefined. Please make sure it is defined" >&5
22663 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22664 which seems to be undefined. Please make sure it is defined" >&2;}
22666 rm -f "$ac_tmp/stdin"
22667 case $ac_file in
22668 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22669 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22670 esac \
22671 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22675 # CONFIG_HEADER
22677 if test x"$ac_file" != x-; then
22679 $as_echo "/* $configure_input */" \
22680 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22681 } >"$ac_tmp/config.h" \
22682 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22683 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22685 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22686 else
22687 rm -f "$ac_file"
22688 mv "$ac_tmp/config.h" "$ac_file" \
22689 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22691 else
22692 $as_echo "/* $configure_input */" \
22693 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22694 || as_fn_error $? "could not create -" "$LINENO" 5
22699 # CONFIG_LINK
22702 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22704 else
22705 # Prefer the file from the source tree if names are identical.
22706 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22707 ac_source=$srcdir/$ac_source
22710 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22711 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22713 if test ! -r "$ac_source"; then
22714 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22716 rm -f "$ac_file"
22718 # Try a relative symlink, then a hard link, then a copy.
22719 case $ac_source in
22720 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22721 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22722 esac
22723 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22724 ln "$ac_source" "$ac_file" 2>/dev/null ||
22725 cp -p "$ac_source" "$ac_file" ||
22726 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22729 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22730 $as_echo "$as_me: executing $ac_file commands" >&6;}
22732 esac
22735 case $ac_file$ac_mode in
22736 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22737 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22738 "Makefile":C) wine_fn_output_makefile Makefile ;;
22740 esac
22741 done # for ac_tag
22744 as_fn_exit 0
22745 _ACEOF
22746 ac_clean_files=$ac_clean_files_save
22748 test $ac_write_fail = 0 ||
22749 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22752 # configure is writing to config.log, and then calls config.status.
22753 # config.status does its own redirection, appending to config.log.
22754 # Unfortunately, on DOS this fails, as config.log is still kept open
22755 # by configure, so config.status won't be able to write to it; its
22756 # output is simply discarded. So we exec the FD to /dev/null,
22757 # effectively closing config.log, so it can be properly (re)opened and
22758 # appended to by config.status. When coming back to configure, we
22759 # need to make the FD available again.
22760 if test "$no_create" != yes; then
22761 ac_cs_success=:
22762 ac_config_status_args=
22763 test "$silent" = yes &&
22764 ac_config_status_args="$ac_config_status_args --quiet"
22765 exec 5>/dev/null
22766 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22767 exec 5>>config.log
22768 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22769 # would make configure fail if this is the last instruction.
22770 $ac_cs_success || as_fn_exit 1
22772 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22774 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22778 if test "$no_create" = "yes"
22779 then
22780 exit 0
22783 ac_save_IFS="$IFS"
22784 if test "x$wine_notices" != x; then
22785 echo >&6
22786 IFS="|"
22787 for msg in $wine_notices; do
22788 IFS="$ac_save_IFS"
22789 if ${msg:+false} :; then :
22791 else
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22793 $as_echo "$as_me: $msg" >&6;}
22795 done
22797 IFS="|"
22798 for msg in $wine_warnings; do
22799 IFS="$ac_save_IFS"
22800 if ${msg:+false} :; then :
22802 else
22803 echo >&2
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22805 $as_echo "$as_me: WARNING: $msg" >&2;}
22807 done
22808 IFS="$ac_save_IFS"
22810 $as_echo "
22811 $as_me: Finished. Do '${ac_make}' to compile Wine.
22812 " >&6