gdi32: Update the external keys after all fonts are loaded.
[wine.git] / configure
blob9ee3ffdc94743a469151c65d36db18409587e1b0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.22.
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.22'
584 PACKAGE_STRING='Wine 5.22'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 FREETYPE_LIBS
678 FREETYPE_CFLAGS
679 LCMS2_LIBS
680 LCMS2_CFLAGS
681 RESOLV_LIBS
682 GPHOTO2_PORT_LIBS
683 GPHOTO2_PORT_CFLAGS
684 GPHOTO2_LIBS
685 GPHOTO2_CFLAGS
686 USB_LIBS
687 USB_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 EXCESS_PRECISION_CFLAGS
710 CROSSDEBUG
711 DELAYLOADFLAG
712 CROSSLDFLAGS
713 EXTRACROSSCFLAGS
714 CROSSCFLAGS
715 CROSSCC
716 CROSSTARGET
717 LIBWINE_DEPENDS
718 PRELINK
719 WINELOADER_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_SHAREDLIB
722 METAL_LIBS
723 CARBON_LIBS
724 QUICKTIME_LIBS
725 OPENCL_LIBS
726 OPENAL_LIBS
727 COREAUDIO_LIBS
728 SECURITY_LIBS
729 DISKARBITRATION_LIBS
730 SYSTEMCONFIGURATION_LIBS
731 APPKIT_LIBS
732 CORESERVICES_LIBS
733 APPLICATIONSERVICES_LIBS
734 FORCEFEEDBACK_LIBS
735 IOKIT_LIBS
736 COREFOUNDATION_LIBS
737 OBJCPP
738 ac_ct_OBJC
739 OBJCFLAGS
740 OBJC
741 DLLTOOL
742 WINELOADER_PROGRAMS
743 CONFIGURE_TARGETS
744 DISABLED_SUBDIRS
745 SUBDIRS
746 READELF
747 OTOOL
749 WINEPRELOADER_LDFLAGS
750 WINELOADER_LDFLAGS
751 TOP_INSTALL_DEV
752 TOP_INSTALL_LIB
753 LDEXECFLAGS
754 LDDLLFLAGS
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_gnutls
859 with_gsm
860 with_gssapi
861 with_gstreamer
862 with_hal
863 with_inotify
864 with_jpeg
865 with_krb5
866 with_ldap
867 with_mingw
868 with_mpg123
869 with_netapi
870 with_openal
871 with_opencl
872 with_opengl
873 with_osmesa
874 with_oss
875 with_pcap
876 with_png
877 with_pthread
878 with_pulse
879 with_quicktime
880 with_sane
881 with_sdl
882 with_tiff
883 with_udev
884 with_unwind
885 with_usb
886 with_v4l2
887 with_vkd3d
888 with_vulkan
889 with_xcomposite
890 with_xcursor
891 with_xfixes
892 with_xinerama
893 with_xinput
894 with_xinput2
895 with_xml
896 with_xrandr
897 with_xrender
898 with_xshape
899 with_xshm
900 with_xslt
901 with_xxf86vm
902 with_wine_tools
903 with_wine64
904 enable_largefile
905 with_x
906 enable_acledit
907 enable_aclui
908 enable_activeds_tlb
909 enable_activeds
910 enable_actxprxy
911 enable_adsiid
912 enable_adsldp
913 enable_adsldpc
914 enable_advapi32
915 enable_advpack
916 enable_amsi
917 enable_amstream
918 enable_api_ms_win_appmodel_identity_l1_1_0
919 enable_api_ms_win_appmodel_runtime_l1_1_1
920 enable_api_ms_win_appmodel_runtime_l1_1_2
921 enable_api_ms_win_core_apiquery_l1_1_0
922 enable_api_ms_win_core_appcompat_l1_1_1
923 enable_api_ms_win_core_appinit_l1_1_0
924 enable_api_ms_win_core_atoms_l1_1_0
925 enable_api_ms_win_core_bem_l1_1_0
926 enable_api_ms_win_core_com_l1_1_0
927 enable_api_ms_win_core_com_l1_1_1
928 enable_api_ms_win_core_com_private_l1_1_0
929 enable_api_ms_win_core_comm_l1_1_0
930 enable_api_ms_win_core_console_l1_1_0
931 enable_api_ms_win_core_console_l2_1_0
932 enable_api_ms_win_core_crt_l1_1_0
933 enable_api_ms_win_core_crt_l2_1_0
934 enable_api_ms_win_core_datetime_l1_1_0
935 enable_api_ms_win_core_datetime_l1_1_1
936 enable_api_ms_win_core_debug_l1_1_0
937 enable_api_ms_win_core_debug_l1_1_1
938 enable_api_ms_win_core_delayload_l1_1_0
939 enable_api_ms_win_core_delayload_l1_1_1
940 enable_api_ms_win_core_errorhandling_l1_1_0
941 enable_api_ms_win_core_errorhandling_l1_1_1
942 enable_api_ms_win_core_errorhandling_l1_1_2
943 enable_api_ms_win_core_errorhandling_l1_1_3
944 enable_api_ms_win_core_fibers_l1_1_0
945 enable_api_ms_win_core_fibers_l1_1_1
946 enable_api_ms_win_core_file_ansi_l2_1_0
947 enable_api_ms_win_core_file_fromapp_l1_1_0
948 enable_api_ms_win_core_file_l1_1_0
949 enable_api_ms_win_core_file_l1_2_0
950 enable_api_ms_win_core_file_l1_2_1
951 enable_api_ms_win_core_file_l1_2_2
952 enable_api_ms_win_core_file_l2_1_0
953 enable_api_ms_win_core_file_l2_1_1
954 enable_api_ms_win_core_file_l2_1_2
955 enable_api_ms_win_core_handle_l1_1_0
956 enable_api_ms_win_core_heap_l1_1_0
957 enable_api_ms_win_core_heap_l1_2_0
958 enable_api_ms_win_core_heap_l2_1_0
959 enable_api_ms_win_core_heap_obsolete_l1_1_0
960 enable_api_ms_win_core_interlocked_l1_1_0
961 enable_api_ms_win_core_interlocked_l1_2_0
962 enable_api_ms_win_core_io_l1_1_0
963 enable_api_ms_win_core_io_l1_1_1
964 enable_api_ms_win_core_job_l1_1_0
965 enable_api_ms_win_core_job_l2_1_0
966 enable_api_ms_win_core_kernel32_legacy_l1_1_0
967 enable_api_ms_win_core_kernel32_legacy_l1_1_1
968 enable_api_ms_win_core_kernel32_private_l1_1_1
969 enable_api_ms_win_core_largeinteger_l1_1_0
970 enable_api_ms_win_core_libraryloader_l1_1_0
971 enable_api_ms_win_core_libraryloader_l1_1_1
972 enable_api_ms_win_core_libraryloader_l1_2_0
973 enable_api_ms_win_core_libraryloader_l1_2_1
974 enable_api_ms_win_core_libraryloader_l1_2_2
975 enable_api_ms_win_core_libraryloader_l2_1_0
976 enable_api_ms_win_core_localization_l1_1_0
977 enable_api_ms_win_core_localization_l1_2_0
978 enable_api_ms_win_core_localization_l1_2_1
979 enable_api_ms_win_core_localization_l1_2_2
980 enable_api_ms_win_core_localization_l2_1_0
981 enable_api_ms_win_core_localization_obsolete_l1_1_0
982 enable_api_ms_win_core_localization_obsolete_l1_2_0
983 enable_api_ms_win_core_localization_obsolete_l1_3_0
984 enable_api_ms_win_core_localization_private_l1_1_0
985 enable_api_ms_win_core_localregistry_l1_1_0
986 enable_api_ms_win_core_memory_l1_1_0
987 enable_api_ms_win_core_memory_l1_1_1
988 enable_api_ms_win_core_memory_l1_1_2
989 enable_api_ms_win_core_memory_l1_1_3
990 enable_api_ms_win_core_memory_l1_1_4
991 enable_api_ms_win_core_misc_l1_1_0
992 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
993 enable_api_ms_win_core_namedpipe_l1_1_0
994 enable_api_ms_win_core_namedpipe_l1_2_0
995 enable_api_ms_win_core_namespace_l1_1_0
996 enable_api_ms_win_core_normalization_l1_1_0
997 enable_api_ms_win_core_path_l1_1_0
998 enable_api_ms_win_core_privateprofile_l1_1_1
999 enable_api_ms_win_core_processenvironment_l1_1_0
1000 enable_api_ms_win_core_processenvironment_l1_2_0
1001 enable_api_ms_win_core_processthreads_l1_1_0
1002 enable_api_ms_win_core_processthreads_l1_1_1
1003 enable_api_ms_win_core_processthreads_l1_1_2
1004 enable_api_ms_win_core_processthreads_l1_1_3
1005 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1006 enable_api_ms_win_core_profile_l1_1_0
1007 enable_api_ms_win_core_psapi_ansi_l1_1_0
1008 enable_api_ms_win_core_psapi_l1_1_0
1009 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1010 enable_api_ms_win_core_quirks_l1_1_0
1011 enable_api_ms_win_core_realtime_l1_1_0
1012 enable_api_ms_win_core_registry_l1_1_0
1013 enable_api_ms_win_core_registry_l2_1_0
1014 enable_api_ms_win_core_registry_l2_2_0
1015 enable_api_ms_win_core_registryuserspecific_l1_1_0
1016 enable_api_ms_win_core_rtlsupport_l1_1_0
1017 enable_api_ms_win_core_rtlsupport_l1_2_0
1018 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1019 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1020 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1021 enable_api_ms_win_core_shutdown_l1_1_0
1022 enable_api_ms_win_core_sidebyside_l1_1_0
1023 enable_api_ms_win_core_string_l1_1_0
1024 enable_api_ms_win_core_string_l2_1_0
1025 enable_api_ms_win_core_string_obsolete_l1_1_0
1026 enable_api_ms_win_core_stringansi_l1_1_0
1027 enable_api_ms_win_core_stringloader_l1_1_1
1028 enable_api_ms_win_core_synch_ansi_l1_1_0
1029 enable_api_ms_win_core_synch_l1_1_0
1030 enable_api_ms_win_core_synch_l1_2_0
1031 enable_api_ms_win_core_synch_l1_2_1
1032 enable_api_ms_win_core_sysinfo_l1_1_0
1033 enable_api_ms_win_core_sysinfo_l1_2_0
1034 enable_api_ms_win_core_sysinfo_l1_2_1
1035 enable_api_ms_win_core_systemtopology_l1_1_0
1036 enable_api_ms_win_core_threadpool_l1_1_0
1037 enable_api_ms_win_core_threadpool_l1_2_0
1038 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1039 enable_api_ms_win_core_threadpool_private_l1_1_0
1040 enable_api_ms_win_core_timezone_l1_1_0
1041 enable_api_ms_win_core_toolhelp_l1_1_0
1042 enable_api_ms_win_core_url_l1_1_0
1043 enable_api_ms_win_core_util_l1_1_0
1044 enable_api_ms_win_core_version_l1_1_0
1045 enable_api_ms_win_core_version_l1_1_1
1046 enable_api_ms_win_core_version_private_l1_1_0
1047 enable_api_ms_win_core_versionansi_l1_1_0
1048 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1049 enable_api_ms_win_core_winrt_error_l1_1_0
1050 enable_api_ms_win_core_winrt_error_l1_1_1
1051 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1052 enable_api_ms_win_core_winrt_l1_1_0
1053 enable_api_ms_win_core_winrt_registration_l1_1_0
1054 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1055 enable_api_ms_win_core_winrt_string_l1_1_0
1056 enable_api_ms_win_core_winrt_string_l1_1_1
1057 enable_api_ms_win_core_wow64_l1_1_0
1058 enable_api_ms_win_core_wow64_l1_1_1
1059 enable_api_ms_win_core_xstate_l1_1_0
1060 enable_api_ms_win_core_xstate_l2_1_0
1061 enable_api_ms_win_crt_conio_l1_1_0
1062 enable_api_ms_win_crt_convert_l1_1_0
1063 enable_api_ms_win_crt_environment_l1_1_0
1064 enable_api_ms_win_crt_filesystem_l1_1_0
1065 enable_api_ms_win_crt_heap_l1_1_0
1066 enable_api_ms_win_crt_locale_l1_1_0
1067 enable_api_ms_win_crt_math_l1_1_0
1068 enable_api_ms_win_crt_multibyte_l1_1_0
1069 enable_api_ms_win_crt_private_l1_1_0
1070 enable_api_ms_win_crt_process_l1_1_0
1071 enable_api_ms_win_crt_runtime_l1_1_0
1072 enable_api_ms_win_crt_stdio_l1_1_0
1073 enable_api_ms_win_crt_string_l1_1_0
1074 enable_api_ms_win_crt_time_l1_1_0
1075 enable_api_ms_win_crt_utility_l1_1_0
1076 enable_api_ms_win_devices_config_l1_1_0
1077 enable_api_ms_win_devices_config_l1_1_1
1078 enable_api_ms_win_devices_query_l1_1_1
1079 enable_api_ms_win_downlevel_advapi32_l1_1_0
1080 enable_api_ms_win_downlevel_advapi32_l2_1_0
1081 enable_api_ms_win_downlevel_kernel32_l2_1_0
1082 enable_api_ms_win_downlevel_normaliz_l1_1_0
1083 enable_api_ms_win_downlevel_ole32_l1_1_0
1084 enable_api_ms_win_downlevel_shell32_l1_1_0
1085 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1086 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1087 enable_api_ms_win_downlevel_user32_l1_1_0
1088 enable_api_ms_win_downlevel_version_l1_1_0
1089 enable_api_ms_win_dx_d3dkmt_l1_1_0
1090 enable_api_ms_win_eventing_classicprovider_l1_1_0
1091 enable_api_ms_win_eventing_consumer_l1_1_0
1092 enable_api_ms_win_eventing_controller_l1_1_0
1093 enable_api_ms_win_eventing_legacy_l1_1_0
1094 enable_api_ms_win_eventing_provider_l1_1_0
1095 enable_api_ms_win_eventlog_legacy_l1_1_0
1096 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1097 enable_api_ms_win_mm_joystick_l1_1_0
1098 enable_api_ms_win_mm_misc_l1_1_1
1099 enable_api_ms_win_mm_mme_l1_1_0
1100 enable_api_ms_win_mm_time_l1_1_0
1101 enable_api_ms_win_ntuser_dc_access_l1_1_0
1102 enable_api_ms_win_ntuser_rectangle_l1_1_0
1103 enable_api_ms_win_ntuser_sysparams_l1_1_0
1104 enable_api_ms_win_perf_legacy_l1_1_0
1105 enable_api_ms_win_power_base_l1_1_0
1106 enable_api_ms_win_power_setting_l1_1_0
1107 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1110 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1111 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1114 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1115 enable_api_ms_win_security_audit_l1_1_1
1116 enable_api_ms_win_security_base_l1_1_0
1117 enable_api_ms_win_security_base_l1_2_0
1118 enable_api_ms_win_security_base_private_l1_1_1
1119 enable_api_ms_win_security_credentials_l1_1_0
1120 enable_api_ms_win_security_cryptoapi_l1_1_0
1121 enable_api_ms_win_security_grouppolicy_l1_1_0
1122 enable_api_ms_win_security_lsalookup_l1_1_0
1123 enable_api_ms_win_security_lsalookup_l1_1_1
1124 enable_api_ms_win_security_lsalookup_l2_1_0
1125 enable_api_ms_win_security_lsalookup_l2_1_1
1126 enable_api_ms_win_security_lsapolicy_l1_1_0
1127 enable_api_ms_win_security_provider_l1_1_0
1128 enable_api_ms_win_security_sddl_l1_1_0
1129 enable_api_ms_win_security_systemfunctions_l1_1_0
1130 enable_api_ms_win_service_core_l1_1_0
1131 enable_api_ms_win_service_core_l1_1_1
1132 enable_api_ms_win_service_management_l1_1_0
1133 enable_api_ms_win_service_management_l2_1_0
1134 enable_api_ms_win_service_private_l1_1_1
1135 enable_api_ms_win_service_winsvc_l1_1_0
1136 enable_api_ms_win_service_winsvc_l1_2_0
1137 enable_api_ms_win_shcore_obsolete_l1_1_0
1138 enable_api_ms_win_shcore_scaling_l1_1_1
1139 enable_api_ms_win_shcore_stream_l1_1_0
1140 enable_api_ms_win_shcore_thread_l1_1_0
1141 enable_api_ms_win_shell_shellcom_l1_1_0
1142 enable_api_ms_win_shell_shellfolders_l1_1_0
1143 enable_apphelp
1144 enable_appwiz_cpl
1145 enable_atl
1146 enable_atl100
1147 enable_atl110
1148 enable_atl80
1149 enable_atl90
1150 enable_atlthunk
1151 enable_atmlib
1152 enable_authz
1153 enable_avicap32
1154 enable_avifil32
1155 enable_avrt
1156 enable_bcrypt
1157 enable_bluetoothapis
1158 enable_browseui
1159 enable_bthprops_cpl
1160 enable_cabinet
1161 enable_capi2032
1162 enable_cards
1163 enable_cdosys
1164 enable_cfgmgr32
1165 enable_clusapi
1166 enable_combase
1167 enable_comcat
1168 enable_comctl32
1169 enable_comdlg32
1170 enable_compstui
1171 enable_comsvcs
1172 enable_concrt140
1173 enable_connect
1174 enable_credui
1175 enable_crtdll
1176 enable_crypt32
1177 enable_cryptdlg
1178 enable_cryptdll
1179 enable_cryptext
1180 enable_cryptnet
1181 enable_cryptui
1182 enable_ctapi32
1183 enable_ctl3d32
1184 enable_d2d1
1185 enable_d3d10
1186 enable_d3d10_1
1187 enable_d3d10core
1188 enable_d3d11
1189 enable_d3d12
1190 enable_d3d8
1191 enable_d3d8thk
1192 enable_d3d9
1193 enable_d3dcompiler_33
1194 enable_d3dcompiler_34
1195 enable_d3dcompiler_35
1196 enable_d3dcompiler_36
1197 enable_d3dcompiler_37
1198 enable_d3dcompiler_38
1199 enable_d3dcompiler_39
1200 enable_d3dcompiler_40
1201 enable_d3dcompiler_41
1202 enable_d3dcompiler_42
1203 enable_d3dcompiler_43
1204 enable_d3dcompiler_46
1205 enable_d3dcompiler_47
1206 enable_d3dim
1207 enable_d3dim700
1208 enable_d3drm
1209 enable_d3dx10_33
1210 enable_d3dx10_34
1211 enable_d3dx10_35
1212 enable_d3dx10_36
1213 enable_d3dx10_37
1214 enable_d3dx10_38
1215 enable_d3dx10_39
1216 enable_d3dx10_40
1217 enable_d3dx10_41
1218 enable_d3dx10_42
1219 enable_d3dx10_43
1220 enable_d3dx11_42
1221 enable_d3dx11_43
1222 enable_d3dx9_24
1223 enable_d3dx9_25
1224 enable_d3dx9_26
1225 enable_d3dx9_27
1226 enable_d3dx9_28
1227 enable_d3dx9_29
1228 enable_d3dx9_30
1229 enable_d3dx9_31
1230 enable_d3dx9_32
1231 enable_d3dx9_33
1232 enable_d3dx9_34
1233 enable_d3dx9_35
1234 enable_d3dx9_36
1235 enable_d3dx9_37
1236 enable_d3dx9_38
1237 enable_d3dx9_39
1238 enable_d3dx9_40
1239 enable_d3dx9_41
1240 enable_d3dx9_42
1241 enable_d3dx9_43
1242 enable_d3dxof
1243 enable_davclnt
1244 enable_dbgeng
1245 enable_dbghelp
1246 enable_dciman32
1247 enable_ddraw
1248 enable_ddrawex
1249 enable_devenum
1250 enable_dhcpcsvc
1251 enable_dhtmled_ocx
1252 enable_difxapi
1253 enable_dinput
1254 enable_dinput8
1255 enable_directmanipulation
1256 enable_dispex
1257 enable_dmband
1258 enable_dmcompos
1259 enable_dmime
1260 enable_dmloader
1261 enable_dmoguids
1262 enable_dmscript
1263 enable_dmstyle
1264 enable_dmsynth
1265 enable_dmusic
1266 enable_dmusic32
1267 enable_dnsapi
1268 enable_dplay
1269 enable_dplayx
1270 enable_dpnaddr
1271 enable_dpnet
1272 enable_dpnhpast
1273 enable_dpnlobby
1274 enable_dpvoice
1275 enable_dpwsockx
1276 enable_drmclien
1277 enable_dsdmo
1278 enable_dsound
1279 enable_dsquery
1280 enable_dssenh
1281 enable_dsuiext
1282 enable_dswave
1283 enable_dwmapi
1284 enable_dwrite
1285 enable_dx8vb
1286 enable_dxdiagn
1287 enable_dxerr8
1288 enable_dxerr9
1289 enable_dxgi
1290 enable_dxguid
1291 enable_dxva2
1292 enable_esent
1293 enable_evr
1294 enable_explorerframe
1295 enable_ext_ms_win_authz_context_l1_1_0
1296 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1297 enable_ext_ms_win_dwmapi_ext_l1_1_0
1298 enable_ext_ms_win_gdi_dc_create_l1_1_0
1299 enable_ext_ms_win_gdi_dc_create_l1_1_1
1300 enable_ext_ms_win_gdi_dc_l1_2_0
1301 enable_ext_ms_win_gdi_devcaps_l1_1_0
1302 enable_ext_ms_win_gdi_draw_l1_1_0
1303 enable_ext_ms_win_gdi_draw_l1_1_1
1304 enable_ext_ms_win_gdi_font_l1_1_0
1305 enable_ext_ms_win_gdi_font_l1_1_1
1306 enable_ext_ms_win_gdi_render_l1_1_0
1307 enable_ext_ms_win_kernel32_package_current_l1_1_0
1308 enable_ext_ms_win_kernel32_package_l1_1_1
1309 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1310 enable_ext_ms_win_ntuser_draw_l1_1_0
1311 enable_ext_ms_win_ntuser_gui_l1_1_0
1312 enable_ext_ms_win_ntuser_gui_l1_3_0
1313 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1314 enable_ext_ms_win_ntuser_message_l1_1_0
1315 enable_ext_ms_win_ntuser_message_l1_1_1
1316 enable_ext_ms_win_ntuser_misc_l1_1_0
1317 enable_ext_ms_win_ntuser_misc_l1_2_0
1318 enable_ext_ms_win_ntuser_misc_l1_5_1
1319 enable_ext_ms_win_ntuser_mouse_l1_1_0
1320 enable_ext_ms_win_ntuser_private_l1_1_1
1321 enable_ext_ms_win_ntuser_private_l1_3_1
1322 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1323 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1324 enable_ext_ms_win_ntuser_window_l1_1_0
1325 enable_ext_ms_win_ntuser_window_l1_1_1
1326 enable_ext_ms_win_ntuser_window_l1_1_4
1327 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1328 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1329 enable_ext_ms_win_oleacc_l1_1_0
1330 enable_ext_ms_win_ras_rasapi32_l1_1_0
1331 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1332 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1333 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1334 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1335 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1336 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1337 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1338 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1339 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1340 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1341 enable_ext_ms_win_security_credui_l1_1_0
1342 enable_ext_ms_win_security_cryptui_l1_1_0
1343 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1344 enable_ext_ms_win_shell_comdlg32_l1_1_0
1345 enable_ext_ms_win_shell_shell32_l1_2_0
1346 enable_ext_ms_win_uxtheme_themes_l1_1_0
1347 enable_faultrep
1348 enable_feclient
1349 enable_fltlib
1350 enable_fltmgr_sys
1351 enable_fntcache
1352 enable_fontsub
1353 enable_fusion
1354 enable_fwpuclnt
1355 enable_gameux
1356 enable_gdi32
1357 enable_gdiplus
1358 enable_glu32
1359 enable_gphoto2_ds
1360 enable_gpkcsp
1361 enable_hal
1362 enable_hhctrl_ocx
1363 enable_hid
1364 enable_hidclass_sys
1365 enable_hlink
1366 enable_hnetcfg
1367 enable_http_sys
1368 enable_httpapi
1369 enable_iccvid
1370 enable_icmp
1371 enable_ieframe
1372 enable_ieproxy
1373 enable_imaadp32_acm
1374 enable_imagehlp
1375 enable_imm32
1376 enable_inetcomm
1377 enable_inetcpl_cpl
1378 enable_inetmib1
1379 enable_infosoft
1380 enable_initpki
1381 enable_inkobj
1382 enable_inseng
1383 enable_iphlpapi
1384 enable_iprop
1385 enable_irprops_cpl
1386 enable_itircl
1387 enable_itss
1388 enable_joy_cpl
1389 enable_jscript
1390 enable_jsproxy
1391 enable_kerberos
1392 enable_kernel32
1393 enable_kernelbase
1394 enable_ksecdd_sys
1395 enable_ksproxy_ax
1396 enable_ksuser
1397 enable_ktmw32
1398 enable_l3codeca_acm
1399 enable_loadperf
1400 enable_localspl
1401 enable_localui
1402 enable_lz32
1403 enable_mapi32
1404 enable_mapistub
1405 enable_mciavi32
1406 enable_mcicda
1407 enable_mciqtz32
1408 enable_mciseq
1409 enable_mciwave
1410 enable_mf
1411 enable_mf3216
1412 enable_mferror
1413 enable_mfmediaengine
1414 enable_mfplat
1415 enable_mfplay
1416 enable_mfreadwrite
1417 enable_mfuuid
1418 enable_mgmtapi
1419 enable_midimap
1420 enable_mlang
1421 enable_mmcndmgr
1422 enable_mmdevapi
1423 enable_mountmgr_sys
1424 enable_mp3dmod
1425 enable_mpr
1426 enable_mprapi
1427 enable_msacm32_drv
1428 enable_msacm32
1429 enable_msado15
1430 enable_msadp32_acm
1431 enable_msasn1
1432 enable_mscat32
1433 enable_mscms
1434 enable_mscoree
1435 enable_mscorwks
1436 enable_msctf
1437 enable_msctfp
1438 enable_msdaps
1439 enable_msdelta
1440 enable_msdmo
1441 enable_msdrm
1442 enable_msftedit
1443 enable_msg711_acm
1444 enable_msgsm32_acm
1445 enable_mshtml_tlb
1446 enable_mshtml
1447 enable_msi
1448 enable_msident
1449 enable_msimg32
1450 enable_msimsg
1451 enable_msimtf
1452 enable_msisip
1453 enable_msisys_ocx
1454 enable_msls31
1455 enable_msnet32
1456 enable_mspatcha
1457 enable_msports
1458 enable_msrle32
1459 enable_msscript_ocx
1460 enable_mssign32
1461 enable_mssip32
1462 enable_mstask
1463 enable_msvcirt
1464 enable_msvcm80
1465 enable_msvcm90
1466 enable_msvcp100
1467 enable_msvcp110
1468 enable_msvcp120
1469 enable_msvcp120_app
1470 enable_msvcp140
1471 enable_msvcp140_1
1472 enable_msvcp60
1473 enable_msvcp70
1474 enable_msvcp71
1475 enable_msvcp80
1476 enable_msvcp90
1477 enable_msvcr100
1478 enable_msvcr110
1479 enable_msvcr120
1480 enable_msvcr120_app
1481 enable_msvcr70
1482 enable_msvcr71
1483 enable_msvcr80
1484 enable_msvcr90
1485 enable_msvcrt
1486 enable_msvcrt20
1487 enable_msvcrt40
1488 enable_msvcrtd
1489 enable_msvfw32
1490 enable_msvidc32
1491 enable_mswsock
1492 enable_msxml
1493 enable_msxml2
1494 enable_msxml3
1495 enable_msxml4
1496 enable_msxml6
1497 enable_mtxdm
1498 enable_ncrypt
1499 enable_nddeapi
1500 enable_ndis_sys
1501 enable_netapi32
1502 enable_netcfgx
1503 enable_netio_sys
1504 enable_netprofm
1505 enable_netutils
1506 enable_newdev
1507 enable_ninput
1508 enable_normaliz
1509 enable_npmshtml
1510 enable_npptools
1511 enable_ntdll
1512 enable_ntdsapi
1513 enable_ntoskrnl_exe
1514 enable_ntprint
1515 enable_objsel
1516 enable_odbc32
1517 enable_odbcbcp
1518 enable_odbccp32
1519 enable_odbccu32
1520 enable_ole32
1521 enable_oleacc
1522 enable_oleaut32
1523 enable_olecli32
1524 enable_oledb32
1525 enable_oledlg
1526 enable_olepro32
1527 enable_olesvr32
1528 enable_olethk32
1529 enable_opcservices
1530 enable_openal32
1531 enable_opencl
1532 enable_opengl32
1533 enable_packager
1534 enable_pdh
1535 enable_photometadatahandler
1536 enable_pidgen
1537 enable_powrprof
1538 enable_printui
1539 enable_prntvpt
1540 enable_propsys
1541 enable_psapi
1542 enable_pstorec
1543 enable_pwrshplugin
1544 enable_qasf
1545 enable_qcap
1546 enable_qdvd
1547 enable_qedit
1548 enable_qmgr
1549 enable_qmgrprxy
1550 enable_quartz
1551 enable_query
1552 enable_qwave
1553 enable_rasapi32
1554 enable_rasdlg
1555 enable_regapi
1556 enable_resutils
1557 enable_riched20
1558 enable_riched32
1559 enable_rpcrt4
1560 enable_rsabase
1561 enable_rsaenh
1562 enable_rstrtmgr
1563 enable_rtutils
1564 enable_rtworkq
1565 enable_samlib
1566 enable_sane_ds
1567 enable_sapi
1568 enable_sas
1569 enable_scarddlg
1570 enable_sccbase
1571 enable_schannel
1572 enable_schedsvc
1573 enable_scrobj
1574 enable_scrrun
1575 enable_scsiport_sys
1576 enable_sechost
1577 enable_secur32
1578 enable_security
1579 enable_sensapi
1580 enable_serialui
1581 enable_setupapi
1582 enable_sfc
1583 enable_sfc_os
1584 enable_shcore
1585 enable_shdoclc
1586 enable_shdocvw
1587 enable_shell32
1588 enable_shfolder
1589 enable_shlwapi
1590 enable_slbcsp
1591 enable_slc
1592 enable_snmpapi
1593 enable_softpub
1594 enable_spoolss
1595 enable_srclient
1596 enable_srvcli
1597 enable_sspicli
1598 enable_stdole2_tlb
1599 enable_stdole32_tlb
1600 enable_sti
1601 enable_strmbase
1602 enable_strmdll
1603 enable_strmiids
1604 enable_svrapi
1605 enable_sxs
1606 enable_t2embed
1607 enable_tapi32
1608 enable_taskschd
1609 enable_tdh
1610 enable_tdi_sys
1611 enable_traffic
1612 enable_twain_32
1613 enable_tzres
1614 enable_ucrtbase
1615 enable_uianimation
1616 enable_uiautomationcore
1617 enable_uiribbon
1618 enable_unicows
1619 enable_updspapi
1620 enable_url
1621 enable_urlmon
1622 enable_usbd_sys
1623 enable_user32
1624 enable_userenv
1625 enable_usp10
1626 enable_utildll
1627 enable_uuid
1628 enable_uxtheme
1629 enable_vbscript
1630 enable_vcomp
1631 enable_vcomp100
1632 enable_vcomp110
1633 enable_vcomp120
1634 enable_vcomp140
1635 enable_vcomp90
1636 enable_vcruntime140
1637 enable_vcruntime140_1
1638 enable_vdmdbg
1639 enable_version
1640 enable_vga
1641 enable_virtdisk
1642 enable_vssapi
1643 enable_vulkan_1
1644 enable_wbemdisp
1645 enable_wbemprox
1646 enable_wbemuuid
1647 enable_wdscore
1648 enable_webservices
1649 enable_wer
1650 enable_wevtapi
1651 enable_wevtsvc
1652 enable_wiaservc
1653 enable_wimgapi
1654 enable_windowscodecs
1655 enable_windowscodecsext
1656 enable_winealsa_drv
1657 enable_wineandroid_drv
1658 enable_winebus_sys
1659 enable_winecoreaudio_drv
1660 enable_winecrt0
1661 enable_wined3d
1662 enable_winegstreamer
1663 enable_winehid_sys
1664 enable_winejoystick_drv
1665 enable_winemac_drv
1666 enable_winemapi
1667 enable_wineoss_drv
1668 enable_wineps_drv
1669 enable_winepulse_drv
1670 enable_wineqtdecoder
1671 enable_wineusb_sys
1672 enable_winevulkan
1673 enable_winex11_drv
1674 enable_wing32
1675 enable_winhttp
1676 enable_wininet
1677 enable_winmm
1678 enable_winnls32
1679 enable_winscard
1680 enable_winspool_drv
1681 enable_winsta
1682 enable_wintab32
1683 enable_wintrust
1684 enable_winusb
1685 enable_wlanapi
1686 enable_wlanui
1687 enable_wldap32
1688 enable_wmasf
1689 enable_wmcodecdspuuid
1690 enable_wmi
1691 enable_wmiutils
1692 enable_wmp
1693 enable_wmphoto
1694 enable_wmvcore
1695 enable_wnaspi32
1696 enable_wpc
1697 enable_wpcap
1698 enable_ws2_32
1699 enable_wsdapi
1700 enable_wshom_ocx
1701 enable_wsnmp32
1702 enable_wsock32
1703 enable_wtsapi32
1704 enable_wuapi
1705 enable_wuaueng
1706 enable_x3daudio1_0
1707 enable_x3daudio1_1
1708 enable_x3daudio1_2
1709 enable_x3daudio1_3
1710 enable_x3daudio1_4
1711 enable_x3daudio1_5
1712 enable_x3daudio1_6
1713 enable_x3daudio1_7
1714 enable_xactengine3_0
1715 enable_xactengine3_1
1716 enable_xactengine3_2
1717 enable_xactengine3_3
1718 enable_xactengine3_4
1719 enable_xactengine3_5
1720 enable_xactengine3_6
1721 enable_xactengine3_7
1722 enable_xapofx1_1
1723 enable_xapofx1_2
1724 enable_xapofx1_3
1725 enable_xapofx1_4
1726 enable_xapofx1_5
1727 enable_xaudio2_0
1728 enable_xaudio2_1
1729 enable_xaudio2_2
1730 enable_xaudio2_3
1731 enable_xaudio2_4
1732 enable_xaudio2_5
1733 enable_xaudio2_6
1734 enable_xaudio2_7
1735 enable_xaudio2_8
1736 enable_xaudio2_9
1737 enable_xinput1_1
1738 enable_xinput1_2
1739 enable_xinput1_3
1740 enable_xinput1_4
1741 enable_xinput9_1_0
1742 enable_xmllite
1743 enable_xolehlp
1744 enable_xpsprint
1745 enable_xpssvcs
1746 enable_fonts
1747 enable_include
1748 enable_port
1749 enable_wine
1750 enable_wpp
1751 enable_loader
1752 enable_nls
1753 enable_po
1754 enable_arp
1755 enable_aspnet_regiis
1756 enable_attrib
1757 enable_cabarc
1758 enable_cacls
1759 enable_chcp_com
1760 enable_clock
1761 enable_cmd
1762 enable_conhost
1763 enable_control
1764 enable_cscript
1765 enable_dism
1766 enable_dplaysvr
1767 enable_dpnsvr
1768 enable_dpvsetup
1769 enable_dxdiag
1770 enable_eject
1771 enable_expand
1772 enable_explorer
1773 enable_extrac32
1774 enable_fc
1775 enable_find
1776 enable_findstr
1777 enable_fsutil
1778 enable_hh
1779 enable_hostname
1780 enable_icacls
1781 enable_icinfo
1782 enable_iexplore
1783 enable_ipconfig
1784 enable_lodctr
1785 enable_mofcomp
1786 enable_mshta
1787 enable_msidb
1788 enable_msiexec
1789 enable_msinfo32
1790 enable_net
1791 enable_netsh
1792 enable_netstat
1793 enable_ngen
1794 enable_notepad
1795 enable_oleview
1796 enable_ping
1797 enable_plugplay
1798 enable_powershell
1799 enable_presentationfontcache
1800 enable_progman
1801 enable_reg
1802 enable_regasm
1803 enable_regedit
1804 enable_regini
1805 enable_regsvcs
1806 enable_regsvr32
1807 enable_rpcss
1808 enable_rundll32
1809 enable_sc
1810 enable_schtasks
1811 enable_sdbinst
1812 enable_secedit
1813 enable_servicemodelreg
1814 enable_services
1815 enable_shutdown
1816 enable_spoolsv
1817 enable_start
1818 enable_subst
1819 enable_svchost
1820 enable_systeminfo
1821 enable_taskkill
1822 enable_tasklist
1823 enable_taskmgr
1824 enable_termsv
1825 enable_uninstaller
1826 enable_unlodctr
1827 enable_view
1828 enable_wevtutil
1829 enable_where
1830 enable_whoami
1831 enable_wineboot
1832 enable_winebrowser
1833 enable_winecfg
1834 enable_wineconsole
1835 enable_winedbg
1836 enable_winedevice
1837 enable_winefile
1838 enable_winemenubuilder
1839 enable_winemine
1840 enable_winemsibuilder
1841 enable_winepath
1842 enable_winetest
1843 enable_winhlp32
1844 enable_winmgmt
1845 enable_winver
1846 enable_wmic
1847 enable_wmplayer
1848 enable_wordpad
1849 enable_write
1850 enable_wscript
1851 enable_wuauserv
1852 enable_wusa
1853 enable_xcopy
1854 enable_server
1855 enable_tools
1856 enable_sfnt2fon
1857 enable_widl
1858 enable_winebuild
1859 enable_winedump
1860 enable_winegcc
1861 enable_winemaker
1862 enable_wmc
1863 enable_wrc
1865 ac_precious_vars='build_alias
1866 host_alias
1867 target_alias
1869 CFLAGS
1870 LDFLAGS
1871 LIBS
1872 CPPFLAGS
1874 CXXFLAGS
1877 OBJC
1878 OBJCFLAGS
1879 OBJCPP
1880 XMKMF
1881 XML2_CFLAGS
1882 XML2_LIBS
1883 XSLT_CFLAGS
1884 XSLT_LIBS
1885 INOTIFY_CFLAGS
1886 INOTIFY_LIBS
1887 DBUS_CFLAGS
1888 DBUS_LIBS
1889 HAL_CFLAGS
1890 HAL_LIBS
1891 GNUTLS_CFLAGS
1892 GNUTLS_LIBS
1893 SANE_CFLAGS
1894 SANE_LIBS
1895 USB_CFLAGS
1896 USB_LIBS
1897 GPHOTO2_CFLAGS
1898 GPHOTO2_LIBS
1899 GPHOTO2_PORT_CFLAGS
1900 GPHOTO2_PORT_LIBS
1901 LCMS2_CFLAGS
1902 LCMS2_LIBS
1903 FREETYPE_CFLAGS
1904 FREETYPE_LIBS
1905 PULSE_CFLAGS
1906 PULSE_LIBS
1907 GSTREAMER_CFLAGS
1908 GSTREAMER_LIBS
1909 UDEV_CFLAGS
1910 UDEV_LIBS
1911 UNWIND_CFLAGS
1912 UNWIND_LIBS
1913 SDL2_CFLAGS
1914 SDL2_LIBS
1915 FAUDIO_CFLAGS
1916 FAUDIO_LIBS
1917 CAPI20_CFLAGS
1918 CAPI20_LIBS
1919 CUPS_CFLAGS
1920 CUPS_LIBS
1921 FONTCONFIG_CFLAGS
1922 FONTCONFIG_LIBS
1923 KRB5_CFLAGS
1924 KRB5_LIBS
1925 GSSAPI_CFLAGS
1926 GSSAPI_LIBS
1927 JPEG_CFLAGS
1928 JPEG_LIBS
1929 PNG_CFLAGS
1930 PNG_LIBS
1931 TIFF_CFLAGS
1932 TIFF_LIBS
1933 MPG123_CFLAGS
1934 MPG123_LIBS
1935 NETAPI_CFLAGS
1936 NETAPI_LIBS
1937 VKD3D_CFLAGS
1938 VKD3D_LIBS
1939 VKD3D_SHADER_CFLAGS
1940 VKD3D_SHADER_LIBS
1941 LDAP_CFLAGS
1942 LDAP_LIBS'
1945 # Initialize some variables set by options.
1946 ac_init_help=
1947 ac_init_version=false
1948 ac_unrecognized_opts=
1949 ac_unrecognized_sep=
1950 # The variables have the same names as the options, with
1951 # dashes changed to underlines.
1952 cache_file=/dev/null
1953 exec_prefix=NONE
1954 no_create=
1955 no_recursion=
1956 prefix=NONE
1957 program_prefix=NONE
1958 program_suffix=NONE
1959 program_transform_name=s,x,x,
1960 silent=
1961 site=
1962 srcdir=
1963 verbose=
1964 x_includes=NONE
1965 x_libraries=NONE
1967 # Installation directory options.
1968 # These are left unexpanded so users can "make install exec_prefix=/foo"
1969 # and all the variables that are supposed to be based on exec_prefix
1970 # by default will actually change.
1971 # Use braces instead of parens because sh, perl, etc. also accept them.
1972 # (The list follows the same order as the GNU Coding Standards.)
1973 bindir='${exec_prefix}/bin'
1974 sbindir='${exec_prefix}/sbin'
1975 libexecdir='${exec_prefix}/libexec'
1976 datarootdir='${prefix}/share'
1977 datadir='${datarootdir}'
1978 sysconfdir='${prefix}/etc'
1979 sharedstatedir='${prefix}/com'
1980 localstatedir='${prefix}/var'
1981 runstatedir='${localstatedir}/run'
1982 includedir='${prefix}/include'
1983 oldincludedir='/usr/include'
1984 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1985 infodir='${datarootdir}/info'
1986 htmldir='${docdir}'
1987 dvidir='${docdir}'
1988 pdfdir='${docdir}'
1989 psdir='${docdir}'
1990 libdir='${exec_prefix}/lib'
1991 localedir='${datarootdir}/locale'
1992 mandir='${datarootdir}/man'
1994 ac_prev=
1995 ac_dashdash=
1996 for ac_option
1998 # If the previous option needs an argument, assign it.
1999 if test -n "$ac_prev"; then
2000 eval $ac_prev=\$ac_option
2001 ac_prev=
2002 continue
2005 case $ac_option in
2006 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2007 *=) ac_optarg= ;;
2008 *) ac_optarg=yes ;;
2009 esac
2011 # Accept the important Cygnus configure options, so we can diagnose typos.
2013 case $ac_dashdash$ac_option in
2015 ac_dashdash=yes ;;
2017 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2018 ac_prev=bindir ;;
2019 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2020 bindir=$ac_optarg ;;
2022 -build | --build | --buil | --bui | --bu)
2023 ac_prev=build_alias ;;
2024 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2025 build_alias=$ac_optarg ;;
2027 -cache-file | --cache-file | --cache-fil | --cache-fi \
2028 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2029 ac_prev=cache_file ;;
2030 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2031 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2032 cache_file=$ac_optarg ;;
2034 --config-cache | -C)
2035 cache_file=config.cache ;;
2037 -datadir | --datadir | --datadi | --datad)
2038 ac_prev=datadir ;;
2039 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2040 datadir=$ac_optarg ;;
2042 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2043 | --dataroo | --dataro | --datar)
2044 ac_prev=datarootdir ;;
2045 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2046 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2047 datarootdir=$ac_optarg ;;
2049 -disable-* | --disable-*)
2050 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2051 # Reject names that are not valid shell variable names.
2052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2053 as_fn_error $? "invalid feature name: $ac_useropt"
2054 ac_useropt_orig=$ac_useropt
2055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2056 case $ac_user_opts in
2058 "enable_$ac_useropt"
2059 "*) ;;
2060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2061 ac_unrecognized_sep=', ';;
2062 esac
2063 eval enable_$ac_useropt=no ;;
2065 -docdir | --docdir | --docdi | --doc | --do)
2066 ac_prev=docdir ;;
2067 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2068 docdir=$ac_optarg ;;
2070 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2071 ac_prev=dvidir ;;
2072 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2073 dvidir=$ac_optarg ;;
2075 -enable-* | --enable-*)
2076 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2077 # Reject names that are not valid shell variable names.
2078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2079 as_fn_error $? "invalid feature name: $ac_useropt"
2080 ac_useropt_orig=$ac_useropt
2081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2082 case $ac_user_opts in
2084 "enable_$ac_useropt"
2085 "*) ;;
2086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2087 ac_unrecognized_sep=', ';;
2088 esac
2089 eval enable_$ac_useropt=\$ac_optarg ;;
2091 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2092 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2093 | --exec | --exe | --ex)
2094 ac_prev=exec_prefix ;;
2095 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2096 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2097 | --exec=* | --exe=* | --ex=*)
2098 exec_prefix=$ac_optarg ;;
2100 -gas | --gas | --ga | --g)
2101 # Obsolete; use --with-gas.
2102 with_gas=yes ;;
2104 -help | --help | --hel | --he | -h)
2105 ac_init_help=long ;;
2106 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2107 ac_init_help=recursive ;;
2108 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2109 ac_init_help=short ;;
2111 -host | --host | --hos | --ho)
2112 ac_prev=host_alias ;;
2113 -host=* | --host=* | --hos=* | --ho=*)
2114 host_alias=$ac_optarg ;;
2116 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2117 ac_prev=htmldir ;;
2118 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2119 | --ht=*)
2120 htmldir=$ac_optarg ;;
2122 -includedir | --includedir | --includedi | --included | --include \
2123 | --includ | --inclu | --incl | --inc)
2124 ac_prev=includedir ;;
2125 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2126 | --includ=* | --inclu=* | --incl=* | --inc=*)
2127 includedir=$ac_optarg ;;
2129 -infodir | --infodir | --infodi | --infod | --info | --inf)
2130 ac_prev=infodir ;;
2131 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2132 infodir=$ac_optarg ;;
2134 -libdir | --libdir | --libdi | --libd)
2135 ac_prev=libdir ;;
2136 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2137 libdir=$ac_optarg ;;
2139 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2140 | --libexe | --libex | --libe)
2141 ac_prev=libexecdir ;;
2142 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2143 | --libexe=* | --libex=* | --libe=*)
2144 libexecdir=$ac_optarg ;;
2146 -localedir | --localedir | --localedi | --localed | --locale)
2147 ac_prev=localedir ;;
2148 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2149 localedir=$ac_optarg ;;
2151 -localstatedir | --localstatedir | --localstatedi | --localstated \
2152 | --localstate | --localstat | --localsta | --localst | --locals)
2153 ac_prev=localstatedir ;;
2154 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2155 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2156 localstatedir=$ac_optarg ;;
2158 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2159 ac_prev=mandir ;;
2160 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2161 mandir=$ac_optarg ;;
2163 -nfp | --nfp | --nf)
2164 # Obsolete; use --without-fp.
2165 with_fp=no ;;
2167 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2168 | --no-cr | --no-c | -n)
2169 no_create=yes ;;
2171 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2172 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2173 no_recursion=yes ;;
2175 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2176 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2177 | --oldin | --oldi | --old | --ol | --o)
2178 ac_prev=oldincludedir ;;
2179 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2180 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2181 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2182 oldincludedir=$ac_optarg ;;
2184 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2185 ac_prev=prefix ;;
2186 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2187 prefix=$ac_optarg ;;
2189 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2190 | --program-pre | --program-pr | --program-p)
2191 ac_prev=program_prefix ;;
2192 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2193 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2194 program_prefix=$ac_optarg ;;
2196 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2197 | --program-suf | --program-su | --program-s)
2198 ac_prev=program_suffix ;;
2199 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2200 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2201 program_suffix=$ac_optarg ;;
2203 -program-transform-name | --program-transform-name \
2204 | --program-transform-nam | --program-transform-na \
2205 | --program-transform-n | --program-transform- \
2206 | --program-transform | --program-transfor \
2207 | --program-transfo | --program-transf \
2208 | --program-trans | --program-tran \
2209 | --progr-tra | --program-tr | --program-t)
2210 ac_prev=program_transform_name ;;
2211 -program-transform-name=* | --program-transform-name=* \
2212 | --program-transform-nam=* | --program-transform-na=* \
2213 | --program-transform-n=* | --program-transform-=* \
2214 | --program-transform=* | --program-transfor=* \
2215 | --program-transfo=* | --program-transf=* \
2216 | --program-trans=* | --program-tran=* \
2217 | --progr-tra=* | --program-tr=* | --program-t=*)
2218 program_transform_name=$ac_optarg ;;
2220 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2221 ac_prev=pdfdir ;;
2222 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2223 pdfdir=$ac_optarg ;;
2225 -psdir | --psdir | --psdi | --psd | --ps)
2226 ac_prev=psdir ;;
2227 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2228 psdir=$ac_optarg ;;
2230 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2231 | -silent | --silent | --silen | --sile | --sil)
2232 silent=yes ;;
2234 -runstatedir | --runstatedir | --runstatedi | --runstated \
2235 | --runstate | --runstat | --runsta | --runst | --runs \
2236 | --run | --ru | --r)
2237 ac_prev=runstatedir ;;
2238 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2239 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2240 | --run=* | --ru=* | --r=*)
2241 runstatedir=$ac_optarg ;;
2243 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2244 ac_prev=sbindir ;;
2245 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2246 | --sbi=* | --sb=*)
2247 sbindir=$ac_optarg ;;
2249 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2250 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2251 | --sharedst | --shareds | --shared | --share | --shar \
2252 | --sha | --sh)
2253 ac_prev=sharedstatedir ;;
2254 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2255 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2256 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2257 | --sha=* | --sh=*)
2258 sharedstatedir=$ac_optarg ;;
2260 -site | --site | --sit)
2261 ac_prev=site ;;
2262 -site=* | --site=* | --sit=*)
2263 site=$ac_optarg ;;
2265 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2266 ac_prev=srcdir ;;
2267 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2268 srcdir=$ac_optarg ;;
2270 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2271 | --syscon | --sysco | --sysc | --sys | --sy)
2272 ac_prev=sysconfdir ;;
2273 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2274 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2275 sysconfdir=$ac_optarg ;;
2277 -target | --target | --targe | --targ | --tar | --ta | --t)
2278 ac_prev=target_alias ;;
2279 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2280 target_alias=$ac_optarg ;;
2282 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2283 verbose=yes ;;
2285 -version | --version | --versio | --versi | --vers | -V)
2286 ac_init_version=: ;;
2288 -with-* | --with-*)
2289 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2290 # Reject names that are not valid shell variable names.
2291 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2292 as_fn_error $? "invalid package name: $ac_useropt"
2293 ac_useropt_orig=$ac_useropt
2294 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2295 case $ac_user_opts in
2297 "with_$ac_useropt"
2298 "*) ;;
2299 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2300 ac_unrecognized_sep=', ';;
2301 esac
2302 eval with_$ac_useropt=\$ac_optarg ;;
2304 -without-* | --without-*)
2305 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2306 # Reject names that are not valid shell variable names.
2307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2308 as_fn_error $? "invalid package name: $ac_useropt"
2309 ac_useropt_orig=$ac_useropt
2310 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2311 case $ac_user_opts in
2313 "with_$ac_useropt"
2314 "*) ;;
2315 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2316 ac_unrecognized_sep=', ';;
2317 esac
2318 eval with_$ac_useropt=no ;;
2320 --x)
2321 # Obsolete; use --with-x.
2322 with_x=yes ;;
2324 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2325 | --x-incl | --x-inc | --x-in | --x-i)
2326 ac_prev=x_includes ;;
2327 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2328 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2329 x_includes=$ac_optarg ;;
2331 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2332 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2333 ac_prev=x_libraries ;;
2334 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2335 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2336 x_libraries=$ac_optarg ;;
2338 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2339 Try \`$0 --help' for more information"
2342 *=*)
2343 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2344 # Reject names that are not valid shell variable names.
2345 case $ac_envvar in #(
2346 '' | [0-9]* | *[!_$as_cr_alnum]* )
2347 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2348 esac
2349 eval $ac_envvar=\$ac_optarg
2350 export $ac_envvar ;;
2353 # FIXME: should be removed in autoconf 3.0.
2354 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2355 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2356 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2357 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2360 esac
2361 done
2363 if test -n "$ac_prev"; then
2364 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2365 as_fn_error $? "missing argument to $ac_option"
2368 if test -n "$ac_unrecognized_opts"; then
2369 case $enable_option_checking in
2370 no) ;;
2371 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2372 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2373 esac
2376 # Check all directory arguments for consistency.
2377 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2378 datadir sysconfdir sharedstatedir localstatedir includedir \
2379 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2380 libdir localedir mandir runstatedir
2382 eval ac_val=\$$ac_var
2383 # Remove trailing slashes.
2384 case $ac_val in
2385 */ )
2386 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2387 eval $ac_var=\$ac_val;;
2388 esac
2389 # Be sure to have absolute directory names.
2390 case $ac_val in
2391 [\\/$]* | ?:[\\/]* ) continue;;
2392 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2393 esac
2394 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2395 done
2397 # There might be people who depend on the old broken behavior: `$host'
2398 # used to hold the argument of --host etc.
2399 # FIXME: To remove some day.
2400 build=$build_alias
2401 host=$host_alias
2402 target=$target_alias
2404 # FIXME: To remove some day.
2405 if test "x$host_alias" != x; then
2406 if test "x$build_alias" = x; then
2407 cross_compiling=maybe
2408 elif test "x$build_alias" != "x$host_alias"; then
2409 cross_compiling=yes
2413 ac_tool_prefix=
2414 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2416 test "$silent" = yes && exec 6>/dev/null
2419 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2420 ac_ls_di=`ls -di .` &&
2421 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2422 as_fn_error $? "working directory cannot be determined"
2423 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2424 as_fn_error $? "pwd does not report name of working directory"
2427 # Find the source files, if location was not specified.
2428 if test -z "$srcdir"; then
2429 ac_srcdir_defaulted=yes
2430 # Try the directory containing this script, then the parent directory.
2431 ac_confdir=`$as_dirname -- "$as_myself" ||
2432 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2433 X"$as_myself" : 'X\(//\)[^/]' \| \
2434 X"$as_myself" : 'X\(//\)$' \| \
2435 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2436 $as_echo X"$as_myself" |
2437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2438 s//\1/
2441 /^X\(\/\/\)[^/].*/{
2442 s//\1/
2445 /^X\(\/\/\)$/{
2446 s//\1/
2449 /^X\(\/\).*/{
2450 s//\1/
2453 s/.*/./; q'`
2454 srcdir=$ac_confdir
2455 if test ! -r "$srcdir/$ac_unique_file"; then
2456 srcdir=..
2458 else
2459 ac_srcdir_defaulted=no
2461 if test ! -r "$srcdir/$ac_unique_file"; then
2462 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2463 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2465 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2466 ac_abs_confdir=`(
2467 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2468 pwd)`
2469 # When building in place, set srcdir=.
2470 if test "$ac_abs_confdir" = "$ac_pwd"; then
2471 srcdir=.
2473 # Remove unnecessary trailing slashes from srcdir.
2474 # Double slashes in file names in object file debugging info
2475 # mess up M-x gdb in Emacs.
2476 case $srcdir in
2477 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2478 esac
2479 for ac_var in $ac_precious_vars; do
2480 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2481 eval ac_env_${ac_var}_value=\$${ac_var}
2482 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2483 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2484 done
2487 # Report the --help message.
2489 if test "$ac_init_help" = "long"; then
2490 # Omit some internal or obsolete options to make the list less imposing.
2491 # This message is too long to be a string in the A/UX 3.1 sh.
2492 cat <<_ACEOF
2493 \`configure' configures Wine 5.22 to adapt to many kinds of systems.
2495 Usage: $0 [OPTION]... [VAR=VALUE]...
2497 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2498 VAR=VALUE. See below for descriptions of some of the useful variables.
2500 Defaults for the options are specified in brackets.
2502 Configuration:
2503 -h, --help display this help and exit
2504 --help=short display options specific to this package
2505 --help=recursive display the short help of all the included packages
2506 -V, --version display version information and exit
2507 -q, --quiet, --silent do not print \`checking ...' messages
2508 --cache-file=FILE cache test results in FILE [disabled]
2509 -C, --config-cache alias for \`--cache-file=config.cache'
2510 -n, --no-create do not create output files
2511 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2513 Installation directories:
2514 --prefix=PREFIX install architecture-independent files in PREFIX
2515 [$ac_default_prefix]
2516 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2517 [PREFIX]
2519 By default, \`make install' will install all the files in
2520 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2521 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2522 for instance \`--prefix=\$HOME'.
2524 For better control, use the options below.
2526 Fine tuning of the installation directories:
2527 --bindir=DIR user executables [EPREFIX/bin]
2528 --sbindir=DIR system admin executables [EPREFIX/sbin]
2529 --libexecdir=DIR program executables [EPREFIX/libexec]
2530 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2531 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2532 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2533 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2534 --libdir=DIR object code libraries [EPREFIX/lib]
2535 --includedir=DIR C header files [PREFIX/include]
2536 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2537 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2538 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2539 --infodir=DIR info documentation [DATAROOTDIR/info]
2540 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2541 --mandir=DIR man documentation [DATAROOTDIR/man]
2542 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2543 --htmldir=DIR html documentation [DOCDIR]
2544 --dvidir=DIR dvi documentation [DOCDIR]
2545 --pdfdir=DIR pdf documentation [DOCDIR]
2546 --psdir=DIR ps documentation [DOCDIR]
2547 _ACEOF
2549 cat <<\_ACEOF
2551 X features:
2552 --x-includes=DIR X include files are in DIR
2553 --x-libraries=DIR X library files are in DIR
2555 System types:
2556 --build=BUILD configure for building on BUILD [guessed]
2557 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2558 _ACEOF
2561 if test -n "$ac_init_help"; then
2562 case $ac_init_help in
2563 short | recursive ) echo "Configuration of Wine 5.22:";;
2564 esac
2565 cat <<\_ACEOF
2567 Optional Features:
2568 --disable-option-checking ignore unrecognized --enable/--with options
2569 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2570 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2571 --disable-win16 do not include Win16 support
2572 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2573 binaries)
2574 --disable-tests do not build the regression tests
2575 --enable-maintainer-mode
2576 enable maintainer-specific build rules
2577 --enable-werror treat compilation warnings as errors
2578 --disable-largefile omit support for large files
2580 Optional Packages:
2581 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2582 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2583 --without-alsa do not use the Alsa sound support
2584 --without-capi do not use CAPI (ISDN support)
2585 --without-cms do not use CMS (color management support)
2586 --without-coreaudio do not use the CoreAudio sound support
2587 --without-cups do not use CUPS
2588 --without-dbus do not use DBus (dynamic device support)
2589 --without-faudio do not use FAudio (XAudio2 support)
2590 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2591 --without-fontconfig do not use fontconfig
2592 --without-freetype do not use the FreeType library
2593 --without-gettext do not use gettext
2594 --with-gettextpo use the GetTextPO library to rebuild po files
2595 --without-gphoto do not use gphoto (Digital Camera support)
2596 --without-gnutls do not use GnuTLS (schannel support)
2597 --without-gsm do not use libgsm (GSM 06.10 codec support)
2598 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2599 --without-gstreamer do not use GStreamer (codecs support)
2600 --without-hal do not use HAL (dynamic device support)
2601 --without-inotify do not use inotify (filesystem change notifications)
2602 --without-jpeg do not use JPEG
2603 --without-krb5 do not use krb5 (Kerberos)
2604 --without-ldap do not use LDAP
2605 --without-mingw do not use the MinGW cross-compiler
2606 --without-mpg123 do not use the mpg123 library
2607 --without-netapi do not use the Samba NetAPI library
2608 --without-openal do not use OpenAL
2609 --without-opencl do not use OpenCL
2610 --without-opengl do not use OpenGL
2611 --without-osmesa do not use the OSMesa library
2612 --without-oss do not use the OSS sound support
2613 --without-pcap do not use the Packet Capture library
2614 --without-png do not use PNG
2615 --without-pthread do not use the pthread library
2616 --without-pulse do not use PulseAudio sound support
2617 --without-quicktime do not use QuickTime support
2618 --without-sane do not use SANE (scanner support)
2619 --without-sdl do not use SDL
2620 --without-tiff do not use TIFF
2621 --without-udev do not use udev (plug and play support)
2622 --without-unwind do not use the libunwind library (exception
2623 handling)
2624 --without-usb do not use the libusb library
2625 --without-v4l2 do not use v4l2 (video capture)
2626 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2627 --without-vulkan do not use Vulkan
2628 --without-xcomposite do not use the Xcomposite extension
2629 --without-xcursor do not use the Xcursor extension
2630 --without-xfixes do not use Xfixes for clipboard change notifications
2631 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2632 --without-xinput do not use the Xinput extension
2633 --without-xinput2 do not use the Xinput 2 extension
2634 --without-xml do not use XML
2635 --without-xrandr do not use Xrandr (multi-monitor support)
2636 --without-xrender do not use the Xrender extension
2637 --without-xshape do not use the Xshape extension
2638 --without-xshm do not use XShm (shared memory extension)
2639 --without-xslt do not use XSLT
2640 --without-xxf86vm do not use XFree video mode extension
2641 --with-wine-tools=DIR use Wine tools from directory DIR
2642 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2643 --with-x use the X Window System
2645 Some influential environment variables:
2646 CC C compiler command
2647 CFLAGS C compiler flags
2648 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2649 nonstandard directory <lib dir>
2650 LIBS libraries to pass to the linker, e.g. -l<library>
2651 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2652 you have headers in a nonstandard directory <include dir>
2653 CXX C++ compiler command
2654 CXXFLAGS C++ compiler flags
2655 CPP C preprocessor
2656 OBJC Objective C compiler command
2657 OBJCFLAGS Objective C compiler flags
2658 OBJCPP Objective C preprocessor
2659 XMKMF Path to xmkmf, Makefile generator for X Window System
2660 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2661 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2662 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2663 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2664 INOTIFY_CFLAGS
2665 C compiler flags for libinotify, overriding pkg-config
2666 INOTIFY_LIBS
2667 Linker flags for libinotify, overriding pkg-config
2668 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2669 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2670 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2671 HAL_LIBS Linker flags for hal, overriding pkg-config
2672 GNUTLS_CFLAGS
2673 C compiler flags for gnutls, overriding pkg-config
2674 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2675 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2676 SANE_LIBS Linker flags for libsane, overriding pkg-config
2677 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2678 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2679 GPHOTO2_CFLAGS
2680 C compiler flags for libgphoto2, overriding pkg-config
2681 GPHOTO2_LIBS
2682 Linker flags for libgphoto2, overriding pkg-config
2683 GPHOTO2_PORT_CFLAGS
2684 C compiler flags for libgphoto2_port, overriding pkg-config
2685 GPHOTO2_PORT_LIBS
2686 Linker flags for libgphoto2_port, overriding pkg-config
2687 LCMS2_CFLAGS
2688 C compiler flags for lcms2, overriding pkg-config
2689 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2690 FREETYPE_CFLAGS
2691 C compiler flags for freetype2, overriding pkg-config
2692 FREETYPE_LIBS
2693 Linker flags for freetype2, overriding pkg-config
2694 PULSE_CFLAGS
2695 C compiler flags for libpulse, overriding pkg-config
2696 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2697 GSTREAMER_CFLAGS
2698 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2699 gstreamer-audio-1.0, overriding pkg-config
2700 GSTREAMER_LIBS
2701 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2702 gstreamer-audio-1.0, overriding pkg-config
2703 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2704 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2705 UNWIND_CFLAGS
2706 C compiler flags for libunwind, overriding pkg-config
2707 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2708 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2709 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2710 FAUDIO_CFLAGS
2711 C compiler flags for faudio, overriding pkg-config
2712 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2713 CAPI20_CFLAGS
2714 C compiler flags for capi20, overriding pkg-config
2715 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2716 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2717 CUPS_LIBS Linker flags for cups, overriding pkg-config
2718 FONTCONFIG_CFLAGS
2719 C compiler flags for fontconfig, overriding pkg-config
2720 FONTCONFIG_LIBS
2721 Linker flags for fontconfig, overriding pkg-config
2722 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2723 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2724 GSSAPI_CFLAGS
2725 C compiler flags for krb5-gssapi, overriding pkg-config
2726 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2727 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2728 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2729 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2730 PNG_LIBS Linker flags for libpng, overriding pkg-config
2731 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2732 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2733 MPG123_CFLAGS
2734 C compiler flags for libmpg123, overriding pkg-config
2735 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2736 NETAPI_CFLAGS
2737 C compiler flags for netapi, overriding pkg-config
2738 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2739 VKD3D_CFLAGS
2740 C compiler flags for libvkd3d, overriding pkg-config
2741 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2742 VKD3D_SHADER_CFLAGS
2743 C compiler flags for libvkd3d-shader, overriding pkg-config
2744 VKD3D_SHADER_LIBS
2745 Linker flags for libvkd3d-shader, overriding pkg-config
2746 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2747 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2749 Use these variables to override the choices made by `configure' or to help
2750 it to find libraries and programs with nonstandard names/locations.
2752 Report bugs to <wine-devel@winehq.org>.
2753 Wine home page: <https://www.winehq.org>.
2754 _ACEOF
2755 ac_status=$?
2758 if test "$ac_init_help" = "recursive"; then
2759 # If there are subdirs, report their specific --help.
2760 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2761 test -d "$ac_dir" ||
2762 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2763 continue
2764 ac_builddir=.
2766 case "$ac_dir" in
2767 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2769 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2770 # A ".." for each directory in $ac_dir_suffix.
2771 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2772 case $ac_top_builddir_sub in
2773 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2774 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2775 esac ;;
2776 esac
2777 ac_abs_top_builddir=$ac_pwd
2778 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2779 # for backward compatibility:
2780 ac_top_builddir=$ac_top_build_prefix
2782 case $srcdir in
2783 .) # We are building in place.
2784 ac_srcdir=.
2785 ac_top_srcdir=$ac_top_builddir_sub
2786 ac_abs_top_srcdir=$ac_pwd ;;
2787 [\\/]* | ?:[\\/]* ) # Absolute name.
2788 ac_srcdir=$srcdir$ac_dir_suffix;
2789 ac_top_srcdir=$srcdir
2790 ac_abs_top_srcdir=$srcdir ;;
2791 *) # Relative name.
2792 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2793 ac_top_srcdir=$ac_top_build_prefix$srcdir
2794 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2795 esac
2796 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2798 cd "$ac_dir" || { ac_status=$?; continue; }
2799 # Check for guested configure.
2800 if test -f "$ac_srcdir/configure.gnu"; then
2801 echo &&
2802 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2803 elif test -f "$ac_srcdir/configure"; then
2804 echo &&
2805 $SHELL "$ac_srcdir/configure" --help=recursive
2806 else
2807 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2808 fi || ac_status=$?
2809 cd "$ac_pwd" || { ac_status=$?; break; }
2810 done
2813 test -n "$ac_init_help" && exit $ac_status
2814 if $ac_init_version; then
2815 cat <<\_ACEOF
2816 Wine configure 5.22
2817 generated by GNU Autoconf 2.69
2819 Copyright (C) 2012 Free Software Foundation, Inc.
2820 This configure script is free software; the Free Software Foundation
2821 gives unlimited permission to copy, distribute and modify it.
2822 _ACEOF
2823 exit
2826 ## ------------------------ ##
2827 ## Autoconf initialization. ##
2828 ## ------------------------ ##
2830 # ac_fn_c_try_compile LINENO
2831 # --------------------------
2832 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2833 ac_fn_c_try_compile ()
2835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836 rm -f conftest.$ac_objext
2837 if { { ac_try="$ac_compile"
2838 case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2841 esac
2842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2843 $as_echo "$ac_try_echo"; } >&5
2844 (eval "$ac_compile") 2>conftest.err
2845 ac_status=$?
2846 if test -s conftest.err; then
2847 grep -v '^ *+' conftest.err >conftest.er1
2848 cat conftest.er1 >&5
2849 mv -f conftest.er1 conftest.err
2851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852 test $ac_status = 0; } && {
2853 test -z "$ac_c_werror_flag" ||
2854 test ! -s conftest.err
2855 } && test -s conftest.$ac_objext; then :
2856 ac_retval=0
2857 else
2858 $as_echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2861 ac_retval=1
2863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2864 as_fn_set_status $ac_retval
2866 } # ac_fn_c_try_compile
2868 # ac_fn_cxx_try_compile LINENO
2869 # ----------------------------
2870 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2871 ac_fn_cxx_try_compile ()
2873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874 rm -f conftest.$ac_objext
2875 if { { ac_try="$ac_compile"
2876 case "(($ac_try" in
2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2879 esac
2880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2881 $as_echo "$ac_try_echo"; } >&5
2882 (eval "$ac_compile") 2>conftest.err
2883 ac_status=$?
2884 if test -s conftest.err; then
2885 grep -v '^ *+' conftest.err >conftest.er1
2886 cat conftest.er1 >&5
2887 mv -f conftest.er1 conftest.err
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; } && {
2891 test -z "$ac_cxx_werror_flag" ||
2892 test ! -s conftest.err
2893 } && test -s conftest.$ac_objext; then :
2894 ac_retval=0
2895 else
2896 $as_echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2899 ac_retval=1
2901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 as_fn_set_status $ac_retval
2904 } # ac_fn_cxx_try_compile
2906 # ac_fn_c_try_link LINENO
2907 # -----------------------
2908 # Try to link conftest.$ac_ext, and return whether this succeeded.
2909 ac_fn_c_try_link ()
2911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2912 rm -f conftest.$ac_objext conftest$ac_exeext
2913 if { { ac_try="$ac_link"
2914 case "(($ac_try" in
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2917 esac
2918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 $as_echo "$ac_try_echo"; } >&5
2920 (eval "$ac_link") 2>conftest.err
2921 ac_status=$?
2922 if test -s conftest.err; then
2923 grep -v '^ *+' conftest.err >conftest.er1
2924 cat conftest.er1 >&5
2925 mv -f conftest.er1 conftest.err
2927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2928 test $ac_status = 0; } && {
2929 test -z "$ac_c_werror_flag" ||
2930 test ! -s conftest.err
2931 } && test -s conftest$ac_exeext && {
2932 test "$cross_compiling" = yes ||
2933 test -x conftest$ac_exeext
2934 }; then :
2935 ac_retval=0
2936 else
2937 $as_echo "$as_me: failed program was:" >&5
2938 sed 's/^/| /' conftest.$ac_ext >&5
2940 ac_retval=1
2942 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2943 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2944 # interfere with the next link command; also delete a directory that is
2945 # left behind by Apple's compiler. We do this before executing the actions.
2946 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2948 as_fn_set_status $ac_retval
2950 } # ac_fn_c_try_link
2952 # ac_fn_c_try_cpp LINENO
2953 # ----------------------
2954 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2955 ac_fn_c_try_cpp ()
2957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2958 if { { ac_try="$ac_cpp conftest.$ac_ext"
2959 case "(($ac_try" in
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2962 esac
2963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2964 $as_echo "$ac_try_echo"; } >&5
2965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2966 ac_status=$?
2967 if test -s conftest.err; then
2968 grep -v '^ *+' conftest.err >conftest.er1
2969 cat conftest.er1 >&5
2970 mv -f conftest.er1 conftest.err
2972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973 test $ac_status = 0; } > conftest.i && {
2974 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2975 test ! -s conftest.err
2976 }; then :
2977 ac_retval=0
2978 else
2979 $as_echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2982 ac_retval=1
2984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 as_fn_set_status $ac_retval
2987 } # ac_fn_c_try_cpp
2989 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2990 # -------------------------------------------------------
2991 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2992 # the include files in INCLUDES and setting the cache variable VAR
2993 # accordingly.
2994 ac_fn_c_check_header_mongrel ()
2996 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2997 if eval \${$3+:} false; then :
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2999 $as_echo_n "checking for $2... " >&6; }
3000 if eval \${$3+:} false; then :
3001 $as_echo_n "(cached) " >&6
3003 eval ac_res=\$$3
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3005 $as_echo "$ac_res" >&6; }
3006 else
3007 # Is the header compilable?
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3009 $as_echo_n "checking $2 usability... " >&6; }
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3013 #include <$2>
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"; then :
3016 ac_header_compiler=yes
3017 else
3018 ac_header_compiler=no
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3022 $as_echo "$ac_header_compiler" >&6; }
3024 # Is the header present?
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3026 $as_echo_n "checking $2 presence... " >&6; }
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3029 #include <$2>
3030 _ACEOF
3031 if ac_fn_c_try_cpp "$LINENO"; then :
3032 ac_header_preproc=yes
3033 else
3034 ac_header_preproc=no
3036 rm -f conftest.err conftest.i conftest.$ac_ext
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3038 $as_echo "$ac_header_preproc" >&6; }
3040 # So? What about this header?
3041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3042 yes:no: )
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3044 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3046 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3048 no:yes:* )
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3050 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3052 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3054 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3056 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3058 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3059 ( $as_echo "## ------------------------------------ ##
3060 ## Report this to wine-devel@winehq.org ##
3061 ## ------------------------------------ ##"
3062 ) | sed "s/^/$as_me: WARNING: /" >&2
3064 esac
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3066 $as_echo_n "checking for $2... " >&6; }
3067 if eval \${$3+:} false; then :
3068 $as_echo_n "(cached) " >&6
3069 else
3070 eval "$3=\$ac_header_compiler"
3072 eval ac_res=\$$3
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3074 $as_echo "$ac_res" >&6; }
3076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3078 } # ac_fn_c_check_header_mongrel
3080 # ac_fn_c_try_run LINENO
3081 # ----------------------
3082 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3083 # that executables *can* be run.
3084 ac_fn_c_try_run ()
3086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3087 if { { ac_try="$ac_link"
3088 case "(($ac_try" in
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3091 esac
3092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3093 $as_echo "$ac_try_echo"; } >&5
3094 (eval "$ac_link") 2>&5
3095 ac_status=$?
3096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3097 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3098 { { case "(($ac_try" in
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3101 esac
3102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3103 $as_echo "$ac_try_echo"; } >&5
3104 (eval "$ac_try") 2>&5
3105 ac_status=$?
3106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3107 test $ac_status = 0; }; }; then :
3108 ac_retval=0
3109 else
3110 $as_echo "$as_me: program exited with status $ac_status" >&5
3111 $as_echo "$as_me: failed program was:" >&5
3112 sed 's/^/| /' conftest.$ac_ext >&5
3114 ac_retval=$ac_status
3116 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3118 as_fn_set_status $ac_retval
3120 } # ac_fn_c_try_run
3122 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3123 # -------------------------------------------------------
3124 # Tests whether HEADER exists and can be compiled using the include files in
3125 # INCLUDES, setting the cache variable VAR accordingly.
3126 ac_fn_c_check_header_compile ()
3128 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3130 $as_echo_n "checking for $2... " >&6; }
3131 if eval \${$3+:} false; then :
3132 $as_echo_n "(cached) " >&6
3133 else
3134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3135 /* end confdefs.h. */
3137 #include <$2>
3138 _ACEOF
3139 if ac_fn_c_try_compile "$LINENO"; then :
3140 eval "$3=yes"
3141 else
3142 eval "$3=no"
3144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3146 eval ac_res=\$$3
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3148 $as_echo "$ac_res" >&6; }
3149 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3151 } # ac_fn_c_check_header_compile
3153 # ac_fn_objc_try_compile LINENO
3154 # -----------------------------
3155 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3156 ac_fn_objc_try_compile ()
3158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3159 rm -f conftest.$ac_objext
3160 if { { ac_try="$ac_compile"
3161 case "(($ac_try" in
3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3164 esac
3165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3166 $as_echo "$ac_try_echo"; } >&5
3167 (eval "$ac_compile") 2>conftest.err
3168 ac_status=$?
3169 if test -s conftest.err; then
3170 grep -v '^ *+' conftest.err >conftest.er1
3171 cat conftest.er1 >&5
3172 mv -f conftest.er1 conftest.err
3174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3175 test $ac_status = 0; } && {
3176 test -z "$ac_objc_werror_flag" ||
3177 test ! -s conftest.err
3178 } && test -s conftest.$ac_objext; then :
3179 ac_retval=0
3180 else
3181 $as_echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3184 ac_retval=1
3186 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3187 as_fn_set_status $ac_retval
3189 } # ac_fn_objc_try_compile
3191 # ac_fn_objc_try_cpp LINENO
3192 # -------------------------
3193 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3194 ac_fn_objc_try_cpp ()
3196 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3197 if { { ac_try="$ac_cpp conftest.$ac_ext"
3198 case "(($ac_try" in
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3201 esac
3202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3203 $as_echo "$ac_try_echo"; } >&5
3204 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3205 ac_status=$?
3206 if test -s conftest.err; then
3207 grep -v '^ *+' conftest.err >conftest.er1
3208 cat conftest.er1 >&5
3209 mv -f conftest.er1 conftest.err
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; } > conftest.i && {
3213 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3214 test ! -s conftest.err
3215 }; then :
3216 ac_retval=0
3217 else
3218 $as_echo "$as_me: failed program was:" >&5
3219 sed 's/^/| /' conftest.$ac_ext >&5
3221 ac_retval=1
3223 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3224 as_fn_set_status $ac_retval
3226 } # ac_fn_objc_try_cpp
3228 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3229 # ----------------------------------------------------------
3230 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3231 # the include files in INCLUDES and setting the cache variable VAR
3232 # accordingly.
3233 ac_fn_objc_check_header_mongrel ()
3235 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3236 if eval \${$3+:} false; then :
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3238 $as_echo_n "checking for $2... " >&6; }
3239 if eval \${$3+:} false; then :
3240 $as_echo_n "(cached) " >&6
3242 eval ac_res=\$$3
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3244 $as_echo "$ac_res" >&6; }
3245 else
3246 # Is the header compilable?
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3248 $as_echo_n "checking $2 usability... " >&6; }
3249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3252 #include <$2>
3253 _ACEOF
3254 if ac_fn_objc_try_compile "$LINENO"; then :
3255 ac_header_compiler=yes
3256 else
3257 ac_header_compiler=no
3259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3261 $as_echo "$ac_header_compiler" >&6; }
3263 # Is the header present?
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3265 $as_echo_n "checking $2 presence... " >&6; }
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3268 #include <$2>
3269 _ACEOF
3270 if ac_fn_objc_try_cpp "$LINENO"; then :
3271 ac_header_preproc=yes
3272 else
3273 ac_header_preproc=no
3275 rm -f conftest.err conftest.i conftest.$ac_ext
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3277 $as_echo "$ac_header_preproc" >&6; }
3279 # So? What about this header?
3280 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3281 yes:no: )
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3283 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3285 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3287 no:yes:* )
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3289 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3291 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3293 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3295 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3297 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3298 ( $as_echo "## ------------------------------------ ##
3299 ## Report this to wine-devel@winehq.org ##
3300 ## ------------------------------------ ##"
3301 ) | sed "s/^/$as_me: WARNING: /" >&2
3303 esac
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3305 $as_echo_n "checking for $2... " >&6; }
3306 if eval \${$3+:} false; then :
3307 $as_echo_n "(cached) " >&6
3308 else
3309 eval "$3=\$ac_header_compiler"
3311 eval ac_res=\$$3
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3313 $as_echo "$ac_res" >&6; }
3315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3317 } # ac_fn_objc_check_header_mongrel
3319 # ac_fn_c_check_func LINENO FUNC VAR
3320 # ----------------------------------
3321 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3322 ac_fn_c_check_func ()
3324 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3326 $as_echo_n "checking for $2... " >&6; }
3327 if eval \${$3+:} false; then :
3328 $as_echo_n "(cached) " >&6
3329 else
3330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3331 /* end confdefs.h. */
3332 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3334 #define $2 innocuous_$2
3336 /* System header to define __stub macros and hopefully few prototypes,
3337 which can conflict with char $2 (); below.
3338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3339 <limits.h> exists even on freestanding compilers. */
3341 #ifdef __STDC__
3342 # include <limits.h>
3343 #else
3344 # include <assert.h>
3345 #endif
3347 #undef $2
3349 /* Override any GCC internal prototype to avoid an error.
3350 Use char because int might match the return type of a GCC
3351 builtin and then its argument prototype would still apply. */
3352 #ifdef __cplusplus
3353 extern "C"
3354 #endif
3355 char $2 ();
3356 /* The GNU C library defines this for functions which it implements
3357 to always fail with ENOSYS. Some functions are actually named
3358 something starting with __ and the normal name is an alias. */
3359 #if defined __stub_$2 || defined __stub___$2
3360 choke me
3361 #endif
3364 main ()
3366 return $2 ();
3368 return 0;
3370 _ACEOF
3371 if ac_fn_c_try_link "$LINENO"; then :
3372 eval "$3=yes"
3373 else
3374 eval "$3=no"
3376 rm -f core conftest.err conftest.$ac_objext \
3377 conftest$ac_exeext conftest.$ac_ext
3379 eval ac_res=\$$3
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3381 $as_echo "$ac_res" >&6; }
3382 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3384 } # ac_fn_c_check_func
3386 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3387 # ----------------------------------------------------
3388 # Tries to find if the field MEMBER exists in type AGGR, after including
3389 # INCLUDES, setting cache variable VAR accordingly.
3390 ac_fn_c_check_member ()
3392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3394 $as_echo_n "checking for $2.$3... " >&6; }
3395 if eval \${$4+:} false; then :
3396 $as_echo_n "(cached) " >&6
3397 else
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3402 main ()
3404 static $2 ac_aggr;
3405 if (ac_aggr.$3)
3406 return 0;
3408 return 0;
3410 _ACEOF
3411 if ac_fn_c_try_compile "$LINENO"; then :
3412 eval "$4=yes"
3413 else
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3418 main ()
3420 static $2 ac_aggr;
3421 if (sizeof ac_aggr.$3)
3422 return 0;
3424 return 0;
3426 _ACEOF
3427 if ac_fn_c_try_compile "$LINENO"; then :
3428 eval "$4=yes"
3429 else
3430 eval "$4=no"
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 eval ac_res=\$$4
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3438 $as_echo "$ac_res" >&6; }
3439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3441 } # ac_fn_c_check_member
3443 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3444 # -------------------------------------------
3445 # Tests whether TYPE exists after having included INCLUDES, setting cache
3446 # variable VAR accordingly.
3447 ac_fn_c_check_type ()
3449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3451 $as_echo_n "checking for $2... " >&6; }
3452 if eval \${$3+:} false; then :
3453 $as_echo_n "(cached) " >&6
3454 else
3455 eval "$3=no"
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3460 main ()
3462 if (sizeof ($2))
3463 return 0;
3465 return 0;
3467 _ACEOF
3468 if ac_fn_c_try_compile "$LINENO"; then :
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3473 main ()
3475 if (sizeof (($2)))
3476 return 0;
3478 return 0;
3480 _ACEOF
3481 if ac_fn_c_try_compile "$LINENO"; then :
3483 else
3484 eval "$3=yes"
3486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 eval ac_res=\$$3
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3492 $as_echo "$ac_res" >&6; }
3493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3495 } # ac_fn_c_check_type
3496 cat >config.log <<_ACEOF
3497 This file contains any messages produced by compilers while
3498 running configure, to aid debugging if configure makes a mistake.
3500 It was created by Wine $as_me 5.22, which was
3501 generated by GNU Autoconf 2.69. Invocation command line was
3503 $ $0 $@
3505 _ACEOF
3506 exec 5>>config.log
3508 cat <<_ASUNAME
3509 ## --------- ##
3510 ## Platform. ##
3511 ## --------- ##
3513 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3514 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3515 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3516 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3517 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3519 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3520 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3522 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3523 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3524 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3525 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3526 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3527 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3528 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3530 _ASUNAME
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 for as_dir in $PATH
3535 IFS=$as_save_IFS
3536 test -z "$as_dir" && as_dir=.
3537 $as_echo "PATH: $as_dir"
3538 done
3539 IFS=$as_save_IFS
3541 } >&5
3543 cat >&5 <<_ACEOF
3546 ## ----------- ##
3547 ## Core tests. ##
3548 ## ----------- ##
3550 _ACEOF
3553 # Keep a trace of the command line.
3554 # Strip out --no-create and --no-recursion so they do not pile up.
3555 # Strip out --silent because we don't want to record it for future runs.
3556 # Also quote any args containing shell meta-characters.
3557 # Make two passes to allow for proper duplicate-argument suppression.
3558 ac_configure_args=
3559 ac_configure_args0=
3560 ac_configure_args1=
3561 ac_must_keep_next=false
3562 for ac_pass in 1 2
3564 for ac_arg
3566 case $ac_arg in
3567 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3568 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3569 | -silent | --silent | --silen | --sile | --sil)
3570 continue ;;
3571 *\'*)
3572 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3573 esac
3574 case $ac_pass in
3575 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3577 as_fn_append ac_configure_args1 " '$ac_arg'"
3578 if test $ac_must_keep_next = true; then
3579 ac_must_keep_next=false # Got value, back to normal.
3580 else
3581 case $ac_arg in
3582 *=* | --config-cache | -C | -disable-* | --disable-* \
3583 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3584 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3585 | -with-* | --with-* | -without-* | --without-* | --x)
3586 case "$ac_configure_args0 " in
3587 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3588 esac
3590 -* ) ac_must_keep_next=true ;;
3591 esac
3593 as_fn_append ac_configure_args " '$ac_arg'"
3595 esac
3596 done
3597 done
3598 { ac_configure_args0=; unset ac_configure_args0;}
3599 { ac_configure_args1=; unset ac_configure_args1;}
3601 # When interrupted or exit'd, cleanup temporary files, and complete
3602 # config.log. We remove comments because anyway the quotes in there
3603 # would cause problems or look ugly.
3604 # WARNING: Use '\'' to represent an apostrophe within the trap.
3605 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3606 trap 'exit_status=$?
3607 # Save into config.log some information that might help in debugging.
3609 echo
3611 $as_echo "## ---------------- ##
3612 ## Cache variables. ##
3613 ## ---------------- ##"
3614 echo
3615 # The following way of writing the cache mishandles newlines in values,
3617 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3618 eval ac_val=\$$ac_var
3619 case $ac_val in #(
3620 *${as_nl}*)
3621 case $ac_var in #(
3622 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3623 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3624 esac
3625 case $ac_var in #(
3626 _ | IFS | as_nl) ;; #(
3627 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3628 *) { eval $ac_var=; unset $ac_var;} ;;
3629 esac ;;
3630 esac
3631 done
3632 (set) 2>&1 |
3633 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3634 *${as_nl}ac_space=\ *)
3635 sed -n \
3636 "s/'\''/'\''\\\\'\'''\''/g;
3637 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3638 ;; #(
3640 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3642 esac |
3643 sort
3645 echo
3647 $as_echo "## ----------------- ##
3648 ## Output variables. ##
3649 ## ----------------- ##"
3650 echo
3651 for ac_var in $ac_subst_vars
3653 eval ac_val=\$$ac_var
3654 case $ac_val in
3655 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3656 esac
3657 $as_echo "$ac_var='\''$ac_val'\''"
3658 done | sort
3659 echo
3661 if test -n "$ac_subst_files"; then
3662 $as_echo "## ------------------- ##
3663 ## File substitutions. ##
3664 ## ------------------- ##"
3665 echo
3666 for ac_var in $ac_subst_files
3668 eval ac_val=\$$ac_var
3669 case $ac_val in
3670 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3671 esac
3672 $as_echo "$ac_var='\''$ac_val'\''"
3673 done | sort
3674 echo
3677 if test -s confdefs.h; then
3678 $as_echo "## ----------- ##
3679 ## confdefs.h. ##
3680 ## ----------- ##"
3681 echo
3682 cat confdefs.h
3683 echo
3685 test "$ac_signal" != 0 &&
3686 $as_echo "$as_me: caught signal $ac_signal"
3687 $as_echo "$as_me: exit $exit_status"
3688 } >&5
3689 rm -f core *.core core.conftest.* &&
3690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3691 exit $exit_status
3693 for ac_signal in 1 2 13 15; do
3694 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3695 done
3696 ac_signal=0
3698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3699 rm -f -r conftest* confdefs.h
3701 $as_echo "/* confdefs.h */" > confdefs.h
3703 # Predefined preprocessor variables.
3705 cat >>confdefs.h <<_ACEOF
3706 #define PACKAGE_NAME "$PACKAGE_NAME"
3707 _ACEOF
3709 cat >>confdefs.h <<_ACEOF
3710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3711 _ACEOF
3713 cat >>confdefs.h <<_ACEOF
3714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3715 _ACEOF
3717 cat >>confdefs.h <<_ACEOF
3718 #define PACKAGE_STRING "$PACKAGE_STRING"
3719 _ACEOF
3721 cat >>confdefs.h <<_ACEOF
3722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3723 _ACEOF
3725 cat >>confdefs.h <<_ACEOF
3726 #define PACKAGE_URL "$PACKAGE_URL"
3727 _ACEOF
3730 # Let the site file select an alternate cache file if it wants to.
3731 # Prefer an explicitly selected file to automatically selected ones.
3732 ac_site_file1=NONE
3733 ac_site_file2=NONE
3734 if test -n "$CONFIG_SITE"; then
3735 # We do not want a PATH search for config.site.
3736 case $CONFIG_SITE in #((
3737 -*) ac_site_file1=./$CONFIG_SITE;;
3738 */*) ac_site_file1=$CONFIG_SITE;;
3739 *) ac_site_file1=./$CONFIG_SITE;;
3740 esac
3741 elif test "x$prefix" != xNONE; then
3742 ac_site_file1=$prefix/share/config.site
3743 ac_site_file2=$prefix/etc/config.site
3744 else
3745 ac_site_file1=$ac_default_prefix/share/config.site
3746 ac_site_file2=$ac_default_prefix/etc/config.site
3748 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3750 test "x$ac_site_file" = xNONE && continue
3751 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3753 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3754 sed 's/^/| /' "$ac_site_file" >&5
3755 . "$ac_site_file" \
3756 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758 as_fn_error $? "failed to load site script $ac_site_file
3759 See \`config.log' for more details" "$LINENO" 5; }
3761 done
3763 if test -r "$cache_file"; then
3764 # Some versions of bash will fail to source /dev/null (special files
3765 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3766 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3768 $as_echo "$as_me: loading cache $cache_file" >&6;}
3769 case $cache_file in
3770 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3771 *) . "./$cache_file";;
3772 esac
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3776 $as_echo "$as_me: creating cache $cache_file" >&6;}
3777 >$cache_file
3780 # Check that the precious variables saved in the cache have kept the same
3781 # value.
3782 ac_cache_corrupted=false
3783 for ac_var in $ac_precious_vars; do
3784 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3785 eval ac_new_set=\$ac_env_${ac_var}_set
3786 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3787 eval ac_new_val=\$ac_env_${ac_var}_value
3788 case $ac_old_set,$ac_new_set in
3789 set,)
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3791 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3792 ac_cache_corrupted=: ;;
3793 ,set)
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3795 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3796 ac_cache_corrupted=: ;;
3797 ,);;
3799 if test "x$ac_old_val" != "x$ac_new_val"; then
3800 # differences in whitespace do not lead to failure.
3801 ac_old_val_w=`echo x $ac_old_val`
3802 ac_new_val_w=`echo x $ac_new_val`
3803 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3805 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3806 ac_cache_corrupted=:
3807 else
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3809 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3810 eval $ac_var=\$ac_old_val
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3813 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3815 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3816 fi;;
3817 esac
3818 # Pass precious variables to config.status.
3819 if test "$ac_new_set" = set; then
3820 case $ac_new_val in
3821 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3822 *) ac_arg=$ac_var=$ac_new_val ;;
3823 esac
3824 case " $ac_configure_args " in
3825 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3826 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3827 esac
3829 done
3830 if $ac_cache_corrupted; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3834 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3835 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3837 ## -------------------- ##
3838 ## Main body of script. ##
3839 ## -------------------- ##
3841 ac_ext=c
3842 ac_cpp='$CPP $CPPFLAGS'
3843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3849 ac_config_headers="$ac_config_headers include/config.h"
3851 ac_aux_dir=
3852 for ac_dir in tools "$srcdir"/tools; do
3853 if test -f "$ac_dir/install-sh"; then
3854 ac_aux_dir=$ac_dir
3855 ac_install_sh="$ac_aux_dir/install-sh -c"
3856 break
3857 elif test -f "$ac_dir/install.sh"; then
3858 ac_aux_dir=$ac_dir
3859 ac_install_sh="$ac_aux_dir/install.sh -c"
3860 break
3861 elif test -f "$ac_dir/shtool"; then
3862 ac_aux_dir=$ac_dir
3863 ac_install_sh="$ac_aux_dir/shtool install -c"
3864 break
3866 done
3867 if test -z "$ac_aux_dir"; then
3868 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3871 # These three variables are undocumented and unsupported,
3872 # and are intended to be withdrawn in a future Autoconf release.
3873 # They can cause serious problems if a builder's source tree is in a directory
3874 # whose full name contains unusual characters.
3875 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3876 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3877 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3881 libwine_version="1.0"
3885 # Check whether --enable-win16 was given.
3886 if test "${enable_win16+set}" = set; then :
3887 enableval=$enable_win16;
3890 # Check whether --enable-win64 was given.
3891 if test "${enable_win64+set}" = set; then :
3892 enableval=$enable_win64;
3895 # Check whether --enable-tests was given.
3896 if test "${enable_tests+set}" = set; then :
3897 enableval=$enable_tests;
3900 # Check whether --enable-maintainer-mode was given.
3901 if test "${enable_maintainer_mode+set}" = set; then :
3902 enableval=$enable_maintainer_mode;
3905 # Check whether --enable-werror was given.
3906 if test "${enable_werror+set}" = set; then :
3907 enableval=$enable_werror;
3912 # Check whether --with-alsa was given.
3913 if test "${with_alsa+set}" = set; then :
3914 withval=$with_alsa;
3918 # Check whether --with-capi was given.
3919 if test "${with_capi+set}" = set; then :
3920 withval=$with_capi;
3924 # Check whether --with-cms was given.
3925 if test "${with_cms+set}" = set; then :
3926 withval=$with_cms;
3930 # Check whether --with-coreaudio was given.
3931 if test "${with_coreaudio+set}" = set; then :
3932 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3936 # Check whether --with-cups was given.
3937 if test "${with_cups+set}" = set; then :
3938 withval=$with_cups;
3942 # Check whether --with-dbus was given.
3943 if test "${with_dbus+set}" = set; then :
3944 withval=$with_dbus;
3948 # Check whether --with-faudio was given.
3949 if test "${with_faudio+set}" = set; then :
3950 withval=$with_faudio;
3954 # Check whether --with-float-abi was given.
3955 if test "${with_float_abi+set}" = set; then :
3956 withval=$with_float_abi;
3960 # Check whether --with-fontconfig was given.
3961 if test "${with_fontconfig+set}" = set; then :
3962 withval=$with_fontconfig;
3966 # Check whether --with-freetype was given.
3967 if test "${with_freetype+set}" = set; then :
3968 withval=$with_freetype;
3972 # Check whether --with-gettext was given.
3973 if test "${with_gettext+set}" = set; then :
3974 withval=$with_gettext;
3978 # Check whether --with-gettextpo was given.
3979 if test "${with_gettextpo+set}" = set; then :
3980 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3984 # Check whether --with-gphoto was given.
3985 if test "${with_gphoto+set}" = set; then :
3986 withval=$with_gphoto;
3990 # Check whether --with-gnutls was given.
3991 if test "${with_gnutls+set}" = set; then :
3992 withval=$with_gnutls;
3996 # Check whether --with-gsm was given.
3997 if test "${with_gsm+set}" = set; then :
3998 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4002 # Check whether --with-gssapi was given.
4003 if test "${with_gssapi+set}" = set; then :
4004 withval=$with_gssapi;
4008 # Check whether --with-gstreamer was given.
4009 if test "${with_gstreamer+set}" = set; then :
4010 withval=$with_gstreamer;
4014 # Check whether --with-hal was given.
4015 if test "${with_hal+set}" = set; then :
4016 withval=$with_hal;
4020 # Check whether --with-inotify was given.
4021 if test "${with_inotify+set}" = set; then :
4022 withval=$with_inotify;
4026 # Check whether --with-jpeg was given.
4027 if test "${with_jpeg+set}" = set; then :
4028 withval=$with_jpeg;
4032 # Check whether --with-krb5 was given.
4033 if test "${with_krb5+set}" = set; then :
4034 withval=$with_krb5;
4038 # Check whether --with-ldap was given.
4039 if test "${with_ldap+set}" = set; then :
4040 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4044 # Check whether --with-mingw was given.
4045 if test "${with_mingw+set}" = set; then :
4046 withval=$with_mingw;
4050 # Check whether --with-mpg123 was given.
4051 if test "${with_mpg123+set}" = set; then :
4052 withval=$with_mpg123;
4056 # Check whether --with-netapi was given.
4057 if test "${with_netapi+set}" = set; then :
4058 withval=$with_netapi;
4062 # Check whether --with-openal was given.
4063 if test "${with_openal+set}" = set; then :
4064 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4068 # Check whether --with-opencl was given.
4069 if test "${with_opencl+set}" = set; then :
4070 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4074 # Check whether --with-opengl was given.
4075 if test "${with_opengl+set}" = set; then :
4076 withval=$with_opengl;
4080 # Check whether --with-osmesa was given.
4081 if test "${with_osmesa+set}" = set; then :
4082 withval=$with_osmesa;
4086 # Check whether --with-oss was given.
4087 if test "${with_oss+set}" = set; then :
4088 withval=$with_oss;
4092 # Check whether --with-pcap was given.
4093 if test "${with_pcap+set}" = set; then :
4094 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4098 # Check whether --with-png was given.
4099 if test "${with_png+set}" = set; then :
4100 withval=$with_png;
4104 # Check whether --with-pthread was given.
4105 if test "${with_pthread+set}" = set; then :
4106 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4110 # Check whether --with-pulse was given.
4111 if test "${with_pulse+set}" = set; then :
4112 withval=$with_pulse;
4116 # Check whether --with-quicktime was given.
4117 if test "${with_quicktime+set}" = set; then :
4118 withval=$with_quicktime;
4122 # Check whether --with-sane was given.
4123 if test "${with_sane+set}" = set; then :
4124 withval=$with_sane;
4128 # Check whether --with-sdl was given.
4129 if test "${with_sdl+set}" = set; then :
4130 withval=$with_sdl;
4134 # Check whether --with-tiff was given.
4135 if test "${with_tiff+set}" = set; then :
4136 withval=$with_tiff;
4140 # Check whether --with-udev was given.
4141 if test "${with_udev+set}" = set; then :
4142 withval=$with_udev;
4146 # Check whether --with-unwind was given.
4147 if test "${with_unwind+set}" = set; then :
4148 withval=$with_unwind;
4152 # Check whether --with-usb was given.
4153 if test "${with_usb+set}" = set; then :
4154 withval=$with_usb;
4158 # Check whether --with-v4l2 was given.
4159 if test "${with_v4l2+set}" = set; then :
4160 withval=$with_v4l2;
4164 # Check whether --with-vkd3d was given.
4165 if test "${with_vkd3d+set}" = set; then :
4166 withval=$with_vkd3d;
4170 # Check whether --with-vulkan was given.
4171 if test "${with_vulkan+set}" = set; then :
4172 withval=$with_vulkan;
4176 # Check whether --with-xcomposite was given.
4177 if test "${with_xcomposite+set}" = set; then :
4178 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4182 # Check whether --with-xcursor was given.
4183 if test "${with_xcursor+set}" = set; then :
4184 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4188 # Check whether --with-xfixes was given.
4189 if test "${with_xfixes+set}" = set; then :
4190 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4194 # Check whether --with-xinerama was given.
4195 if test "${with_xinerama+set}" = set; then :
4196 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4200 # Check whether --with-xinput was given.
4201 if test "${with_xinput+set}" = set; then :
4202 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4206 # Check whether --with-xinput2 was given.
4207 if test "${with_xinput2+set}" = set; then :
4208 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4212 # Check whether --with-xml was given.
4213 if test "${with_xml+set}" = set; then :
4214 withval=$with_xml;
4218 # Check whether --with-xrandr was given.
4219 if test "${with_xrandr+set}" = set; then :
4220 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4224 # Check whether --with-xrender was given.
4225 if test "${with_xrender+set}" = set; then :
4226 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4230 # Check whether --with-xshape was given.
4231 if test "${with_xshape+set}" = set; then :
4232 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4236 # Check whether --with-xshm was given.
4237 if test "${with_xshm+set}" = set; then :
4238 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4242 # Check whether --with-xslt was given.
4243 if test "${with_xslt+set}" = set; then :
4244 withval=$with_xslt;
4248 # Check whether --with-xxf86vm was given.
4249 if test "${with_xxf86vm+set}" = set; then :
4250 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4255 # Check whether --with-wine-tools was given.
4256 if test "${with_wine_tools+set}" = set; then :
4257 withval=$with_wine_tools;
4261 # Check whether --with-wine64 was given.
4262 if test "${with_wine64+set}" = set; then :
4263 withval=$with_wine64;
4267 # Make sure we can run config.sub.
4268 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4269 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4272 $as_echo_n "checking build system type... " >&6; }
4273 if ${ac_cv_build+:} false; then :
4274 $as_echo_n "(cached) " >&6
4275 else
4276 ac_build_alias=$build_alias
4277 test "x$ac_build_alias" = x &&
4278 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4279 test "x$ac_build_alias" = x &&
4280 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4281 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4282 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4286 $as_echo "$ac_cv_build" >&6; }
4287 case $ac_cv_build in
4288 *-*-*) ;;
4289 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4290 esac
4291 build=$ac_cv_build
4292 ac_save_IFS=$IFS; IFS='-'
4293 set x $ac_cv_build
4294 shift
4295 build_cpu=$1
4296 build_vendor=$2
4297 shift; shift
4298 # Remember, the first character of IFS is used to create $*,
4299 # except with old shells:
4300 build_os=$*
4301 IFS=$ac_save_IFS
4302 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4306 $as_echo_n "checking host system type... " >&6; }
4307 if ${ac_cv_host+:} false; then :
4308 $as_echo_n "(cached) " >&6
4309 else
4310 if test "x$host_alias" = x; then
4311 ac_cv_host=$ac_cv_build
4312 else
4313 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4314 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4319 $as_echo "$ac_cv_host" >&6; }
4320 case $ac_cv_host in
4321 *-*-*) ;;
4322 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4323 esac
4324 host=$ac_cv_host
4325 ac_save_IFS=$IFS; IFS='-'
4326 set x $ac_cv_host
4327 shift
4328 host_cpu=$1
4329 host_vendor=$2
4330 shift; shift
4331 # Remember, the first character of IFS is used to create $*,
4332 # except with old shells:
4333 host_os=$*
4334 IFS=$ac_save_IFS
4335 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4341 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4342 set x ${MAKE-make}
4343 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4344 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4345 $as_echo_n "(cached) " >&6
4346 else
4347 cat >conftest.make <<\_ACEOF
4348 SHELL = /bin/sh
4349 all:
4350 @echo '@@@%%%=$(MAKE)=@@@%%%'
4351 _ACEOF
4352 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4353 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4354 *@@@%%%=?*=@@@%%%*)
4355 eval ac_cv_prog_make_${ac_make}_set=yes;;
4357 eval ac_cv_prog_make_${ac_make}_set=no;;
4358 esac
4359 rm -f conftest.make
4361 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4363 $as_echo "yes" >&6; }
4364 SET_MAKE=
4365 else
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4368 SET_MAKE="MAKE=${MAKE-make}"
4371 ac_ext=c
4372 ac_cpp='$CPP $CPPFLAGS'
4373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4376 if test -n "$ac_tool_prefix"; then
4377 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4378 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4380 $as_echo_n "checking for $ac_word... " >&6; }
4381 if ${ac_cv_prog_CC+:} false; then :
4382 $as_echo_n "(cached) " >&6
4383 else
4384 if test -n "$CC"; then
4385 ac_cv_prog_CC="$CC" # Let the user override the test.
4386 else
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 for as_dir in $PATH
4390 IFS=$as_save_IFS
4391 test -z "$as_dir" && as_dir=.
4392 for ac_exec_ext in '' $ac_executable_extensions; do
4393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4394 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 break 2
4398 done
4399 done
4400 IFS=$as_save_IFS
4404 CC=$ac_cv_prog_CC
4405 if test -n "$CC"; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4407 $as_echo "$CC" >&6; }
4408 else
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4415 if test -z "$ac_cv_prog_CC"; then
4416 ac_ct_CC=$CC
4417 # Extract the first word of "gcc", so it can be a program name with args.
4418 set dummy gcc; ac_word=$2
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4420 $as_echo_n "checking for $ac_word... " >&6; }
4421 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4422 $as_echo_n "(cached) " >&6
4423 else
4424 if test -n "$ac_ct_CC"; then
4425 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4426 else
4427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4428 for as_dir in $PATH
4430 IFS=$as_save_IFS
4431 test -z "$as_dir" && as_dir=.
4432 for ac_exec_ext in '' $ac_executable_extensions; do
4433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4434 ac_cv_prog_ac_ct_CC="gcc"
4435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 break 2
4438 done
4439 done
4440 IFS=$as_save_IFS
4444 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4445 if test -n "$ac_ct_CC"; then
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4447 $as_echo "$ac_ct_CC" >&6; }
4448 else
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450 $as_echo "no" >&6; }
4453 if test "x$ac_ct_CC" = x; then
4454 CC=""
4455 else
4456 case $cross_compiling:$ac_tool_warned in
4457 yes:)
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4460 ac_tool_warned=yes ;;
4461 esac
4462 CC=$ac_ct_CC
4464 else
4465 CC="$ac_cv_prog_CC"
4468 if test -z "$CC"; then
4469 if test -n "$ac_tool_prefix"; then
4470 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4471 set dummy ${ac_tool_prefix}cc; ac_word=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if ${ac_cv_prog_CC+:} false; then :
4475 $as_echo_n "(cached) " >&6
4476 else
4477 if test -n "$CC"; then
4478 ac_cv_prog_CC="$CC" # Let the user override the test.
4479 else
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH
4483 IFS=$as_save_IFS
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 ac_cv_prog_CC="${ac_tool_prefix}cc"
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 break 2
4491 done
4492 done
4493 IFS=$as_save_IFS
4497 CC=$ac_cv_prog_CC
4498 if test -n "$CC"; then
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4500 $as_echo "$CC" >&6; }
4501 else
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 $as_echo "no" >&6; }
4509 if test -z "$CC"; then
4510 # Extract the first word of "cc", so it can be a program name with args.
4511 set dummy cc; ac_word=$2
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4513 $as_echo_n "checking for $ac_word... " >&6; }
4514 if ${ac_cv_prog_CC+:} false; then :
4515 $as_echo_n "(cached) " >&6
4516 else
4517 if test -n "$CC"; then
4518 ac_cv_prog_CC="$CC" # Let the user override the test.
4519 else
4520 ac_prog_rejected=no
4521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4522 for as_dir in $PATH
4524 IFS=$as_save_IFS
4525 test -z "$as_dir" && as_dir=.
4526 for ac_exec_ext in '' $ac_executable_extensions; do
4527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4528 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4529 ac_prog_rejected=yes
4530 continue
4532 ac_cv_prog_CC="cc"
4533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 break 2
4536 done
4537 done
4538 IFS=$as_save_IFS
4540 if test $ac_prog_rejected = yes; then
4541 # We found a bogon in the path, so make sure we never use it.
4542 set dummy $ac_cv_prog_CC
4543 shift
4544 if test $# != 0; then
4545 # We chose a different compiler from the bogus one.
4546 # However, it has the same basename, so the bogon will be chosen
4547 # first if we set CC to just the basename; use the full file name.
4548 shift
4549 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4554 CC=$ac_cv_prog_CC
4555 if test -n "$CC"; then
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4557 $as_echo "$CC" >&6; }
4558 else
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4560 $as_echo "no" >&6; }
4565 if test -z "$CC"; then
4566 if test -n "$ac_tool_prefix"; then
4567 for ac_prog in cl.exe
4569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4570 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4572 $as_echo_n "checking for $ac_word... " >&6; }
4573 if ${ac_cv_prog_CC+:} false; then :
4574 $as_echo_n "(cached) " >&6
4575 else
4576 if test -n "$CC"; then
4577 ac_cv_prog_CC="$CC" # Let the user override the test.
4578 else
4579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 for as_dir in $PATH
4582 IFS=$as_save_IFS
4583 test -z "$as_dir" && as_dir=.
4584 for ac_exec_ext in '' $ac_executable_extensions; do
4585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4586 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588 break 2
4590 done
4591 done
4592 IFS=$as_save_IFS
4596 CC=$ac_cv_prog_CC
4597 if test -n "$CC"; then
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4599 $as_echo "$CC" >&6; }
4600 else
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602 $as_echo "no" >&6; }
4606 test -n "$CC" && break
4607 done
4609 if test -z "$CC"; then
4610 ac_ct_CC=$CC
4611 for ac_prog in cl.exe
4613 # Extract the first word of "$ac_prog", so it can be a program name with args.
4614 set dummy $ac_prog; ac_word=$2
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4616 $as_echo_n "checking for $ac_word... " >&6; }
4617 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4618 $as_echo_n "(cached) " >&6
4619 else
4620 if test -n "$ac_ct_CC"; then
4621 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4622 else
4623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4624 for as_dir in $PATH
4626 IFS=$as_save_IFS
4627 test -z "$as_dir" && as_dir=.
4628 for ac_exec_ext in '' $ac_executable_extensions; do
4629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4630 ac_cv_prog_ac_ct_CC="$ac_prog"
4631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 break 2
4634 done
4635 done
4636 IFS=$as_save_IFS
4640 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4641 if test -n "$ac_ct_CC"; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4643 $as_echo "$ac_ct_CC" >&6; }
4644 else
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 $as_echo "no" >&6; }
4650 test -n "$ac_ct_CC" && break
4651 done
4653 if test "x$ac_ct_CC" = x; then
4654 CC=""
4655 else
4656 case $cross_compiling:$ac_tool_warned in
4657 yes:)
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4660 ac_tool_warned=yes ;;
4661 esac
4662 CC=$ac_ct_CC
4669 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4671 as_fn_error $? "no acceptable C compiler found in \$PATH
4672 See \`config.log' for more details" "$LINENO" 5; }
4674 # Provide some information about the compiler.
4675 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4676 set X $ac_compile
4677 ac_compiler=$2
4678 for ac_option in --version -v -V -qversion; do
4679 { { ac_try="$ac_compiler $ac_option >&5"
4680 case "(($ac_try" in
4681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4682 *) ac_try_echo=$ac_try;;
4683 esac
4684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4685 $as_echo "$ac_try_echo"; } >&5
4686 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4687 ac_status=$?
4688 if test -s conftest.err; then
4689 sed '10a\
4690 ... rest of stderr output deleted ...
4691 10q' conftest.err >conftest.er1
4692 cat conftest.er1 >&5
4694 rm -f conftest.er1 conftest.err
4695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4696 test $ac_status = 0; }
4697 done
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4703 main ()
4707 return 0;
4709 _ACEOF
4710 ac_clean_files_save=$ac_clean_files
4711 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4712 # Try to create an executable without -o first, disregard a.out.
4713 # It will help us diagnose broken compilers, and finding out an intuition
4714 # of exeext.
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4716 $as_echo_n "checking whether the C compiler works... " >&6; }
4717 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4719 # The possible output files:
4720 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4722 ac_rmfiles=
4723 for ac_file in $ac_files
4725 case $ac_file in
4726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4727 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4728 esac
4729 done
4730 rm -f $ac_rmfiles
4732 if { { ac_try="$ac_link_default"
4733 case "(($ac_try" in
4734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735 *) ac_try_echo=$ac_try;;
4736 esac
4737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4738 $as_echo "$ac_try_echo"; } >&5
4739 (eval "$ac_link_default") 2>&5
4740 ac_status=$?
4741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4742 test $ac_status = 0; }; then :
4743 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4744 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4745 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4746 # so that the user can short-circuit this test for compilers unknown to
4747 # Autoconf.
4748 for ac_file in $ac_files ''
4750 test -f "$ac_file" || continue
4751 case $ac_file in
4752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4754 [ab].out )
4755 # We found the default executable, but exeext='' is most
4756 # certainly right.
4757 break;;
4758 *.* )
4759 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4760 then :; else
4761 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4763 # We set ac_cv_exeext here because the later test for it is not
4764 # safe: cross compilers may not add the suffix if given an `-o'
4765 # argument, so we may need to know it at that point already.
4766 # Even if this section looks crufty: it has the advantage of
4767 # actually working.
4768 break;;
4770 break;;
4771 esac
4772 done
4773 test "$ac_cv_exeext" = no && ac_cv_exeext=
4775 else
4776 ac_file=''
4778 if test -z "$ac_file"; then :
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4780 $as_echo "no" >&6; }
4781 $as_echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.$ac_ext >&5
4784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4786 as_fn_error 77 "C compiler cannot create executables
4787 See \`config.log' for more details" "$LINENO" 5; }
4788 else
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4790 $as_echo "yes" >&6; }
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4793 $as_echo_n "checking for C compiler default output file name... " >&6; }
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4795 $as_echo "$ac_file" >&6; }
4796 ac_exeext=$ac_cv_exeext
4798 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4799 ac_clean_files=$ac_clean_files_save
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4801 $as_echo_n "checking for suffix of executables... " >&6; }
4802 if { { ac_try="$ac_link"
4803 case "(($ac_try" in
4804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4805 *) ac_try_echo=$ac_try;;
4806 esac
4807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4808 $as_echo "$ac_try_echo"; } >&5
4809 (eval "$ac_link") 2>&5
4810 ac_status=$?
4811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4812 test $ac_status = 0; }; then :
4813 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4814 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4815 # work properly (i.e., refer to `conftest.exe'), while it won't with
4816 # `rm'.
4817 for ac_file in conftest.exe conftest conftest.*; do
4818 test -f "$ac_file" || continue
4819 case $ac_file in
4820 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4821 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4822 break;;
4823 * ) break;;
4824 esac
4825 done
4826 else
4827 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4829 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4830 See \`config.log' for more details" "$LINENO" 5; }
4832 rm -f conftest conftest$ac_cv_exeext
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4834 $as_echo "$ac_cv_exeext" >&6; }
4836 rm -f conftest.$ac_ext
4837 EXEEXT=$ac_cv_exeext
4838 ac_exeext=$EXEEXT
4839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4840 /* end confdefs.h. */
4841 #include <stdio.h>
4843 main ()
4845 FILE *f = fopen ("conftest.out", "w");
4846 return ferror (f) || fclose (f) != 0;
4849 return 0;
4851 _ACEOF
4852 ac_clean_files="$ac_clean_files conftest.out"
4853 # Check that the compiler produces executables we can run. If not, either
4854 # the compiler is broken, or we cross compile.
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4856 $as_echo_n "checking whether we are cross compiling... " >&6; }
4857 if test "$cross_compiling" != yes; then
4858 { { ac_try="$ac_link"
4859 case "(($ac_try" in
4860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4861 *) ac_try_echo=$ac_try;;
4862 esac
4863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4864 $as_echo "$ac_try_echo"; } >&5
4865 (eval "$ac_link") 2>&5
4866 ac_status=$?
4867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4868 test $ac_status = 0; }
4869 if { ac_try='./conftest$ac_cv_exeext'
4870 { { case "(($ac_try" in
4871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4872 *) ac_try_echo=$ac_try;;
4873 esac
4874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4875 $as_echo "$ac_try_echo"; } >&5
4876 (eval "$ac_try") 2>&5
4877 ac_status=$?
4878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4879 test $ac_status = 0; }; }; then
4880 cross_compiling=no
4881 else
4882 if test "$cross_compiling" = maybe; then
4883 cross_compiling=yes
4884 else
4885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4887 as_fn_error $? "cannot run C compiled programs.
4888 If you meant to cross compile, use \`--host'.
4889 See \`config.log' for more details" "$LINENO" 5; }
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4894 $as_echo "$cross_compiling" >&6; }
4896 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4897 ac_clean_files=$ac_clean_files_save
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4899 $as_echo_n "checking for suffix of object files... " >&6; }
4900 if ${ac_cv_objext+:} false; then :
4901 $as_echo_n "(cached) " >&6
4902 else
4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h. */
4907 main ()
4911 return 0;
4913 _ACEOF
4914 rm -f conftest.o conftest.obj
4915 if { { ac_try="$ac_compile"
4916 case "(($ac_try" in
4917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4918 *) ac_try_echo=$ac_try;;
4919 esac
4920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4921 $as_echo "$ac_try_echo"; } >&5
4922 (eval "$ac_compile") 2>&5
4923 ac_status=$?
4924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4925 test $ac_status = 0; }; then :
4926 for ac_file in conftest.o conftest.obj conftest.*; do
4927 test -f "$ac_file" || continue;
4928 case $ac_file in
4929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4930 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4931 break;;
4932 esac
4933 done
4934 else
4935 $as_echo "$as_me: failed program was:" >&5
4936 sed 's/^/| /' conftest.$ac_ext >&5
4938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4940 as_fn_error $? "cannot compute suffix of object files: cannot compile
4941 See \`config.log' for more details" "$LINENO" 5; }
4943 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4946 $as_echo "$ac_cv_objext" >&6; }
4947 OBJEXT=$ac_cv_objext
4948 ac_objext=$OBJEXT
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4950 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4951 if ${ac_cv_c_compiler_gnu+:} false; then :
4952 $as_echo_n "(cached) " >&6
4953 else
4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4958 main ()
4960 #ifndef __GNUC__
4961 choke me
4962 #endif
4965 return 0;
4967 _ACEOF
4968 if ac_fn_c_try_compile "$LINENO"; then :
4969 ac_compiler_gnu=yes
4970 else
4971 ac_compiler_gnu=no
4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4974 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4978 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4979 if test $ac_compiler_gnu = yes; then
4980 GCC=yes
4981 else
4982 GCC=
4984 ac_test_CFLAGS=${CFLAGS+set}
4985 ac_save_CFLAGS=$CFLAGS
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4987 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4988 if ${ac_cv_prog_cc_g+:} false; then :
4989 $as_echo_n "(cached) " >&6
4990 else
4991 ac_save_c_werror_flag=$ac_c_werror_flag
4992 ac_c_werror_flag=yes
4993 ac_cv_prog_cc_g=no
4994 CFLAGS="-g"
4995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4996 /* end confdefs.h. */
4999 main ()
5003 return 0;
5005 _ACEOF
5006 if ac_fn_c_try_compile "$LINENO"; then :
5007 ac_cv_prog_cc_g=yes
5008 else
5009 CFLAGS=""
5010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5014 main ()
5018 return 0;
5020 _ACEOF
5021 if ac_fn_c_try_compile "$LINENO"; then :
5023 else
5024 ac_c_werror_flag=$ac_save_c_werror_flag
5025 CFLAGS="-g"
5026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5027 /* end confdefs.h. */
5030 main ()
5034 return 0;
5036 _ACEOF
5037 if ac_fn_c_try_compile "$LINENO"; then :
5038 ac_cv_prog_cc_g=yes
5040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 ac_c_werror_flag=$ac_save_c_werror_flag
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5048 $as_echo "$ac_cv_prog_cc_g" >&6; }
5049 if test "$ac_test_CFLAGS" = set; then
5050 CFLAGS=$ac_save_CFLAGS
5051 elif test $ac_cv_prog_cc_g = yes; then
5052 if test "$GCC" = yes; then
5053 CFLAGS="-g -O2"
5054 else
5055 CFLAGS="-g"
5057 else
5058 if test "$GCC" = yes; then
5059 CFLAGS="-O2"
5060 else
5061 CFLAGS=
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5065 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5066 if ${ac_cv_prog_cc_c89+:} false; then :
5067 $as_echo_n "(cached) " >&6
5068 else
5069 ac_cv_prog_cc_c89=no
5070 ac_save_CC=$CC
5071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5072 /* end confdefs.h. */
5073 #include <stdarg.h>
5074 #include <stdio.h>
5075 struct stat;
5076 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5077 struct buf { int x; };
5078 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5079 static char *e (p, i)
5080 char **p;
5081 int i;
5083 return p[i];
5085 static char *f (char * (*g) (char **, int), char **p, ...)
5087 char *s;
5088 va_list v;
5089 va_start (v,p);
5090 s = g (p, va_arg (v,int));
5091 va_end (v);
5092 return s;
5095 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5096 function prototypes and stuff, but not '\xHH' hex character constants.
5097 These don't provoke an error unfortunately, instead are silently treated
5098 as 'x'. The following induces an error, until -std is added to get
5099 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5100 array size at least. It's necessary to write '\x00'==0 to get something
5101 that's true only with -std. */
5102 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5104 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5105 inside strings and character constants. */
5106 #define FOO(x) 'x'
5107 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5109 int test (int i, double x);
5110 struct s1 {int (*f) (int a);};
5111 struct s2 {int (*f) (double a);};
5112 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5113 int argc;
5114 char **argv;
5116 main ()
5118 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5120 return 0;
5122 _ACEOF
5123 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5124 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5126 CC="$ac_save_CC $ac_arg"
5127 if ac_fn_c_try_compile "$LINENO"; then :
5128 ac_cv_prog_cc_c89=$ac_arg
5130 rm -f core conftest.err conftest.$ac_objext
5131 test "x$ac_cv_prog_cc_c89" != "xno" && break
5132 done
5133 rm -f conftest.$ac_ext
5134 CC=$ac_save_CC
5137 # AC_CACHE_VAL
5138 case "x$ac_cv_prog_cc_c89" in
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5141 $as_echo "none needed" >&6; } ;;
5142 xno)
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5144 $as_echo "unsupported" >&6; } ;;
5146 CC="$CC $ac_cv_prog_cc_c89"
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5148 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5149 esac
5150 if test "x$ac_cv_prog_cc_c89" != xno; then :
5154 ac_ext=c
5155 ac_cpp='$CPP $CPPFLAGS'
5156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5160 ac_ext=cpp
5161 ac_cpp='$CXXCPP $CPPFLAGS'
5162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5165 if test -z "$CXX"; then
5166 if test -n "$CCC"; then
5167 CXX=$CCC
5168 else
5169 if test -n "$ac_tool_prefix"; then
5170 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5172 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5173 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_prog_CXX+:} false; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 if test -n "$CXX"; then
5180 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5181 else
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 for as_dir in $PATH
5185 IFS=$as_save_IFS
5186 test -z "$as_dir" && as_dir=.
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 break 2
5193 done
5194 done
5195 IFS=$as_save_IFS
5199 CXX=$ac_cv_prog_CXX
5200 if test -n "$CXX"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5202 $as_echo "$CXX" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5209 test -n "$CXX" && break
5210 done
5212 if test -z "$CXX"; then
5213 ac_ct_CXX=$CXX
5214 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5216 # Extract the first word of "$ac_prog", so it can be a program name with args.
5217 set dummy $ac_prog; ac_word=$2
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5219 $as_echo_n "checking for $ac_word... " >&6; }
5220 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5221 $as_echo_n "(cached) " >&6
5222 else
5223 if test -n "$ac_ct_CXX"; then
5224 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5225 else
5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227 for as_dir in $PATH
5229 IFS=$as_save_IFS
5230 test -z "$as_dir" && as_dir=.
5231 for ac_exec_ext in '' $ac_executable_extensions; do
5232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5233 ac_cv_prog_ac_ct_CXX="$ac_prog"
5234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 break 2
5237 done
5238 done
5239 IFS=$as_save_IFS
5243 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5244 if test -n "$ac_ct_CXX"; then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5246 $as_echo "$ac_ct_CXX" >&6; }
5247 else
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5253 test -n "$ac_ct_CXX" && break
5254 done
5256 if test "x$ac_ct_CXX" = x; then
5257 CXX="g++"
5258 else
5259 case $cross_compiling:$ac_tool_warned in
5260 yes:)
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5263 ac_tool_warned=yes ;;
5264 esac
5265 CXX=$ac_ct_CXX
5271 # Provide some information about the compiler.
5272 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5273 set X $ac_compile
5274 ac_compiler=$2
5275 for ac_option in --version -v -V -qversion; do
5276 { { ac_try="$ac_compiler $ac_option >&5"
5277 case "(($ac_try" in
5278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5279 *) ac_try_echo=$ac_try;;
5280 esac
5281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5282 $as_echo "$ac_try_echo"; } >&5
5283 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5284 ac_status=$?
5285 if test -s conftest.err; then
5286 sed '10a\
5287 ... rest of stderr output deleted ...
5288 10q' conftest.err >conftest.er1
5289 cat conftest.er1 >&5
5291 rm -f conftest.er1 conftest.err
5292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5293 test $ac_status = 0; }
5294 done
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5297 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5298 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5299 $as_echo_n "(cached) " >&6
5300 else
5301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5305 main ()
5307 #ifndef __GNUC__
5308 choke me
5309 #endif
5312 return 0;
5314 _ACEOF
5315 if ac_fn_cxx_try_compile "$LINENO"; then :
5316 ac_compiler_gnu=yes
5317 else
5318 ac_compiler_gnu=no
5320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5321 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5325 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5326 if test $ac_compiler_gnu = yes; then
5327 GXX=yes
5328 else
5329 GXX=
5331 ac_test_CXXFLAGS=${CXXFLAGS+set}
5332 ac_save_CXXFLAGS=$CXXFLAGS
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5334 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5335 if ${ac_cv_prog_cxx_g+:} false; then :
5336 $as_echo_n "(cached) " >&6
5337 else
5338 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5339 ac_cxx_werror_flag=yes
5340 ac_cv_prog_cxx_g=no
5341 CXXFLAGS="-g"
5342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5343 /* end confdefs.h. */
5346 main ()
5350 return 0;
5352 _ACEOF
5353 if ac_fn_cxx_try_compile "$LINENO"; then :
5354 ac_cv_prog_cxx_g=yes
5355 else
5356 CXXFLAGS=""
5357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5358 /* end confdefs.h. */
5361 main ()
5365 return 0;
5367 _ACEOF
5368 if ac_fn_cxx_try_compile "$LINENO"; then :
5370 else
5371 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5372 CXXFLAGS="-g"
5373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374 /* end confdefs.h. */
5377 main ()
5381 return 0;
5383 _ACEOF
5384 if ac_fn_cxx_try_compile "$LINENO"; then :
5385 ac_cv_prog_cxx_g=yes
5387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5395 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5396 if test "$ac_test_CXXFLAGS" = set; then
5397 CXXFLAGS=$ac_save_CXXFLAGS
5398 elif test $ac_cv_prog_cxx_g = yes; then
5399 if test "$GXX" = yes; then
5400 CXXFLAGS="-g -O2"
5401 else
5402 CXXFLAGS="-g"
5404 else
5405 if test "$GXX" = yes; then
5406 CXXFLAGS="-O2"
5407 else
5408 CXXFLAGS=
5411 ac_ext=c
5412 ac_cpp='$CPP $CPPFLAGS'
5413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5417 if test -n "$ac_tool_prefix"; then
5418 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5419 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_CPPBIN+:} false; then :
5423 $as_echo_n "(cached) " >&6
5424 else
5425 if test -n "$CPPBIN"; then
5426 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5427 else
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 for as_dir in $PATH
5431 IFS=$as_save_IFS
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 break 2
5439 done
5440 done
5441 IFS=$as_save_IFS
5445 CPPBIN=$ac_cv_prog_CPPBIN
5446 if test -n "$CPPBIN"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5448 $as_echo "$CPPBIN" >&6; }
5449 else
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5456 if test -z "$ac_cv_prog_CPPBIN"; then
5457 ac_ct_CPPBIN=$CPPBIN
5458 # Extract the first word of "cpp", so it can be a program name with args.
5459 set dummy cpp; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5463 $as_echo_n "(cached) " >&6
5464 else
5465 if test -n "$ac_ct_CPPBIN"; then
5466 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5467 else
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH
5471 IFS=$as_save_IFS
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_ac_ct_CPPBIN="cpp"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 break 2
5479 done
5480 done
5481 IFS=$as_save_IFS
5485 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5486 if test -n "$ac_ct_CPPBIN"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5488 $as_echo "$ac_ct_CPPBIN" >&6; }
5489 else
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5494 if test "x$ac_ct_CPPBIN" = x; then
5495 CPPBIN="cpp"
5496 else
5497 case $cross_compiling:$ac_tool_warned in
5498 yes:)
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5501 ac_tool_warned=yes ;;
5502 esac
5503 CPPBIN=$ac_ct_CPPBIN
5505 else
5506 CPPBIN="$ac_cv_prog_CPPBIN"
5510 cat >>confdefs.h <<_ACEOF
5511 #define EXEEXT "$ac_exeext"
5512 _ACEOF
5514 if test -n "$ac_tool_prefix"; then
5515 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5516 set dummy ${ac_tool_prefix}ld; ac_word=$2
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5518 $as_echo_n "checking for $ac_word... " >&6; }
5519 if ${ac_cv_prog_LD+:} false; then :
5520 $as_echo_n "(cached) " >&6
5521 else
5522 if test -n "$LD"; then
5523 ac_cv_prog_LD="$LD" # Let the user override the test.
5524 else
5525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5526 for as_dir in $PATH
5528 IFS=$as_save_IFS
5529 test -z "$as_dir" && as_dir=.
5530 for ac_exec_ext in '' $ac_executable_extensions; do
5531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5532 ac_cv_prog_LD="${ac_tool_prefix}ld"
5533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 break 2
5536 done
5537 done
5538 IFS=$as_save_IFS
5542 LD=$ac_cv_prog_LD
5543 if test -n "$LD"; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5545 $as_echo "$LD" >&6; }
5546 else
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5548 $as_echo "no" >&6; }
5553 if test -z "$ac_cv_prog_LD"; then
5554 ac_ct_LD=$LD
5555 # Extract the first word of "ld", so it can be a program name with args.
5556 set dummy ld; ac_word=$2
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5558 $as_echo_n "checking for $ac_word... " >&6; }
5559 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5560 $as_echo_n "(cached) " >&6
5561 else
5562 if test -n "$ac_ct_LD"; then
5563 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5564 else
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 for as_dir in $PATH
5568 IFS=$as_save_IFS
5569 test -z "$as_dir" && as_dir=.
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5572 ac_cv_prog_ac_ct_LD="ld"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 break 2
5576 done
5577 done
5578 IFS=$as_save_IFS
5582 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5583 if test -n "$ac_ct_LD"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5585 $as_echo "$ac_ct_LD" >&6; }
5586 else
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588 $as_echo "no" >&6; }
5591 if test "x$ac_ct_LD" = x; then
5592 LD=""
5593 else
5594 case $cross_compiling:$ac_tool_warned in
5595 yes:)
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5598 ac_tool_warned=yes ;;
5599 esac
5600 LD=$ac_ct_LD
5602 else
5603 LD="$ac_cv_prog_LD"
5607 case $host in
5608 *-darwin*)
5609 with_fontconfig=${with_fontconfig:-no}
5611 *-mingw32*|*-cygwin*)
5612 enable_win16=${enable_win16:-no}
5613 with_mingw=${with_mingw:-no}
5614 CFLAGS="$CFLAGS -D_WIN32"
5616 esac
5618 case $host in
5619 x86_64*|amd64*)
5620 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5621 then
5622 CC="$CC -m32"
5623 CXX="$CXX -m32"
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5626 $as_echo_n "checking whether $CC works... " >&6; }
5627 if ${wine_cv_cc_m32+:} false; then :
5628 $as_echo_n "(cached) " >&6
5629 else
5630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5634 main ()
5638 return 0;
5640 _ACEOF
5641 if ac_fn_c_try_link "$LINENO"; then :
5642 wine_cv_cc_m32=yes
5643 else
5644 wine_cv_cc_m32=no
5646 rm -f core conftest.err conftest.$ac_objext \
5647 conftest$ac_exeext conftest.$ac_ext
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5650 $as_echo "$wine_cv_cc_m32" >&6; }
5651 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5652 host_cpu="i386"
5653 notice_platform="32-bit "
5654 TARGETFLAGS="-m32"
5656 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5657 export PKG_CONFIG_PATH
5658 enable_win16=${enable_win16:-yes}
5659 with_unwind=${with_unwind:-no}
5660 else
5661 if test "x${GCC}" = "xyes"
5662 then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5664 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5665 if ${wine_cv_builtin_ms_va_list+:} false; then :
5666 $as_echo_n "(cached) " >&6
5667 else
5668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5669 /* end confdefs.h. */
5670 #include <stdarg.h>
5672 main ()
5674 void func(__builtin_ms_va_list *args);
5676 return 0;
5678 _ACEOF
5679 if ac_fn_c_try_compile "$LINENO"; then :
5680 wine_cv_builtin_ms_va_list=yes
5681 else
5682 wine_cv_builtin_ms_va_list=no
5684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5687 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5688 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5690 CC="$CC -m64"
5691 CXX="$CXX -m64"
5692 host_cpu="x86_64"
5693 notice_platform="64-bit "
5694 TARGETFLAGS="-m64"
5698 arm*)
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5700 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5701 if ${wine_cv_thumb+:} false; then :
5702 $as_echo_n "(cached) " >&6
5703 else
5704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5705 /* end confdefs.h. */
5706 int ac_test(int i) { return i; }
5708 main ()
5710 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5712 return 0;
5714 _ACEOF
5715 if ac_fn_c_try_link "$LINENO"; then :
5716 wine_cv_thumb=yes
5717 else
5718 wine_cv_thumb=no
5720 rm -f core conftest.err conftest.$ac_objext \
5721 conftest$ac_exeext conftest.$ac_ext
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5724 $as_echo "$wine_cv_thumb" >&6; }
5725 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5726 case $with_float_abi in
5727 soft|softfp|hard)
5728 float_abi=$with_float_abi ;;
5730 case $host_os in
5731 *eabihf)
5732 float_abi=hard ;;
5734 float_abi=softfp
5735 saved_CFLAGS=$CFLAGS
5736 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5738 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5739 if ${wine_cv_float_abi+:} false; then :
5740 $as_echo_n "(cached) " >&6
5741 else
5742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5743 /* end confdefs.h. */
5746 main ()
5748 asm("vmrs r2,fpscr");
5750 return 0;
5752 _ACEOF
5753 if ac_fn_c_try_link "$LINENO"; then :
5754 wine_cv_float_abi=yes
5755 else
5756 wine_cv_float_abi=no
5758 rm -f core conftest.err conftest.$ac_objext \
5759 conftest$ac_exeext conftest.$ac_ext
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5762 $as_echo "$wine_cv_float_abi" >&6; }
5763 if test $wine_cv_float_abi = no
5764 then
5765 float_abi=soft
5766 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5768 CFLAGS=$saved_CFLAGS
5769 esac
5771 esac
5772 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5773 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5776 aarch64*)
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5778 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5779 if ${wine_cv_builtin_ms_va_list+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5784 #include <stdarg.h>
5786 main ()
5788 void func(__builtin_ms_va_list *args);
5790 return 0;
5792 _ACEOF
5793 if ac_fn_c_try_compile "$LINENO"; then :
5794 wine_cv_builtin_ms_va_list=yes
5795 else
5796 wine_cv_builtin_ms_va_list=no
5798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5801 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5802 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5804 i[3456789]86*)
5805 enable_win16=${enable_win16:-yes}
5806 with_unwind=${with_unwind:-no}
5808 esac
5810 enable_win16=${enable_win16:-no}
5811 enable_win64=${enable_win64:-no}
5813 enable_winetest=${enable_winetest:-$enable_tests}
5815 if test "x$enable_win64" = "xyes"
5816 then
5817 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5818 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5819 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5823 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5824 if ${wine_cv_toolsdir+:} false; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 wine_cv_toolsdir="$with_wine_tools"
5828 if test -z "$with_wine_tools"; then
5829 if test "$cross_compiling" = "yes"; then
5830 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5831 elif test -n "$with_wine64"; then
5832 wine_cv_toolsdir="$with_wine64"
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5837 $as_echo "$wine_cv_toolsdir" >&6; }
5838 if test -z "$wine_cv_toolsdir"; then
5839 wine_makedep=tools/makedep
5840 TOOLSDIR="."
5842 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5843 wine_makedep=$wine_cv_toolsdir/tools/makedep
5844 TOOLSDIR=$wine_cv_toolsdir
5846 enable_tools=${enable_tools:-no}
5847 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5848 else
5849 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5851 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5852 then
5853 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5857 for ac_prog in flex
5859 # Extract the first word of "$ac_prog", so it can be a program name with args.
5860 set dummy $ac_prog; ac_word=$2
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5862 $as_echo_n "checking for $ac_word... " >&6; }
5863 if ${ac_cv_prog_FLEX+:} false; then :
5864 $as_echo_n "(cached) " >&6
5865 else
5866 if test -n "$FLEX"; then
5867 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5868 else
5869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 for as_dir in $PATH
5872 IFS=$as_save_IFS
5873 test -z "$as_dir" && as_dir=.
5874 for ac_exec_ext in '' $ac_executable_extensions; do
5875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5876 ac_cv_prog_FLEX="$ac_prog"
5877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 break 2
5880 done
5881 done
5882 IFS=$as_save_IFS
5886 FLEX=$ac_cv_prog_FLEX
5887 if test -n "$FLEX"; then
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5889 $as_echo "$FLEX" >&6; }
5890 else
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5892 $as_echo "no" >&6; }
5896 test -n "$FLEX" && break
5897 done
5898 test -n "$FLEX" || FLEX="none"
5900 if test "$FLEX" = "none"
5901 then
5902 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5905 $as_echo_n "checking whether flex is recent enough... " >&6; }
5906 if ${wine_cv_recent_flex+:} false; then :
5907 $as_echo_n "(cached) " >&6
5908 else
5909 cat >conftest.l <<EOF
5910 %top{
5911 #include "prediluvian.h"
5915 if $FLEX -t conftest.l >/dev/null 2>&5
5916 then
5917 wine_cv_recent_flex=yes
5918 else
5919 wine_cv_recent_flex=no
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5923 $as_echo "$wine_cv_recent_flex" >&6; }
5924 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5926 for ac_prog in bison
5928 # Extract the first word of "$ac_prog", so it can be a program name with args.
5929 set dummy $ac_prog; ac_word=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if ${ac_cv_prog_BISON+:} false; then :
5933 $as_echo_n "(cached) " >&6
5934 else
5935 if test -n "$BISON"; then
5936 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5937 else
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 for as_dir in $PATH
5941 IFS=$as_save_IFS
5942 test -z "$as_dir" && as_dir=.
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5945 ac_cv_prog_BISON="$ac_prog"
5946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 break 2
5949 done
5950 done
5951 IFS=$as_save_IFS
5955 BISON=$ac_cv_prog_BISON
5956 if test -n "$BISON"; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5958 $as_echo "$BISON" >&6; }
5959 else
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5965 test -n "$BISON" && break
5966 done
5967 test -n "$BISON" || BISON="none"
5969 if test "$BISON" = "none"
5970 then
5971 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5974 $as_echo_n "checking whether bison is recent enough... " >&6; }
5975 if ${wine_cv_recent_bison+:} false; then :
5976 $as_echo_n "(cached) " >&6
5977 else
5978 cat >conftest.y <<EOF
5979 %define parse.error verbose
5981 empty: ;
5983 if $BISON conftest.y >/dev/null 2>&5
5984 then
5985 wine_cv_recent_bison=yes
5986 else
5987 wine_cv_recent_bison=no
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5991 $as_echo "$wine_cv_recent_bison" >&6; }
5992 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
5994 if test -n "$ac_tool_prefix"; then
5995 for ac_prog in ar gar
5997 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5998 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6000 $as_echo_n "checking for $ac_word... " >&6; }
6001 if ${ac_cv_prog_AR+:} false; then :
6002 $as_echo_n "(cached) " >&6
6003 else
6004 if test -n "$AR"; then
6005 ac_cv_prog_AR="$AR" # Let the user override the test.
6006 else
6007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 for as_dir in $PATH
6010 IFS=$as_save_IFS
6011 test -z "$as_dir" && as_dir=.
6012 for ac_exec_ext in '' $ac_executable_extensions; do
6013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6014 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 break 2
6018 done
6019 done
6020 IFS=$as_save_IFS
6024 AR=$ac_cv_prog_AR
6025 if test -n "$AR"; then
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6027 $as_echo "$AR" >&6; }
6028 else
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6030 $as_echo "no" >&6; }
6034 test -n "$AR" && break
6035 done
6037 if test -z "$AR"; then
6038 ac_ct_AR=$AR
6039 for ac_prog in ar gar
6041 # Extract the first word of "$ac_prog", so it can be a program name with args.
6042 set dummy $ac_prog; ac_word=$2
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6044 $as_echo_n "checking for $ac_word... " >&6; }
6045 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6046 $as_echo_n "(cached) " >&6
6047 else
6048 if test -n "$ac_ct_AR"; then
6049 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6050 else
6051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6052 for as_dir in $PATH
6054 IFS=$as_save_IFS
6055 test -z "$as_dir" && as_dir=.
6056 for ac_exec_ext in '' $ac_executable_extensions; do
6057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6058 ac_cv_prog_ac_ct_AR="$ac_prog"
6059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6060 break 2
6062 done
6063 done
6064 IFS=$as_save_IFS
6068 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6069 if test -n "$ac_ct_AR"; then
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6071 $as_echo "$ac_ct_AR" >&6; }
6072 else
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6074 $as_echo "no" >&6; }
6078 test -n "$ac_ct_AR" && break
6079 done
6081 if test "x$ac_ct_AR" = x; then
6082 AR="ar"
6083 else
6084 case $cross_compiling:$ac_tool_warned in
6085 yes:)
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6088 ac_tool_warned=yes ;;
6089 esac
6090 AR=$ac_ct_AR
6094 if test -n "$ac_tool_prefix"; then
6095 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6096 set dummy ${ac_tool_prefix}strip; ac_word=$2
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6098 $as_echo_n "checking for $ac_word... " >&6; }
6099 if ${ac_cv_prog_STRIP+:} false; then :
6100 $as_echo_n "(cached) " >&6
6101 else
6102 if test -n "$STRIP"; then
6103 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6104 else
6105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 for as_dir in $PATH
6108 IFS=$as_save_IFS
6109 test -z "$as_dir" && as_dir=.
6110 for ac_exec_ext in '' $ac_executable_extensions; do
6111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6112 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6114 break 2
6116 done
6117 done
6118 IFS=$as_save_IFS
6122 STRIP=$ac_cv_prog_STRIP
6123 if test -n "$STRIP"; then
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6125 $as_echo "$STRIP" >&6; }
6126 else
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6128 $as_echo "no" >&6; }
6133 if test -z "$ac_cv_prog_STRIP"; then
6134 ac_ct_STRIP=$STRIP
6135 # Extract the first word of "strip", so it can be a program name with args.
6136 set dummy strip; ac_word=$2
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6138 $as_echo_n "checking for $ac_word... " >&6; }
6139 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6140 $as_echo_n "(cached) " >&6
6141 else
6142 if test -n "$ac_ct_STRIP"; then
6143 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6144 else
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 for as_dir in $PATH
6148 IFS=$as_save_IFS
6149 test -z "$as_dir" && as_dir=.
6150 for ac_exec_ext in '' $ac_executable_extensions; do
6151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6152 ac_cv_prog_ac_ct_STRIP="strip"
6153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6154 break 2
6156 done
6157 done
6158 IFS=$as_save_IFS
6162 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6163 if test -n "$ac_ct_STRIP"; then
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6165 $as_echo "$ac_ct_STRIP" >&6; }
6166 else
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6168 $as_echo "no" >&6; }
6171 if test "x$ac_ct_STRIP" = x; then
6172 STRIP="strip"
6173 else
6174 case $cross_compiling:$ac_tool_warned in
6175 yes:)
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6178 ac_tool_warned=yes ;;
6179 esac
6180 STRIP=$ac_ct_STRIP
6182 else
6183 STRIP="$ac_cv_prog_STRIP"
6186 if test -n "$ac_tool_prefix"; then
6187 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6188 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6190 $as_echo_n "checking for $ac_word... " >&6; }
6191 if ${ac_cv_prog_RANLIB+:} false; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 if test -n "$RANLIB"; then
6195 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6196 else
6197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 for as_dir in $PATH
6200 IFS=$as_save_IFS
6201 test -z "$as_dir" && as_dir=.
6202 for ac_exec_ext in '' $ac_executable_extensions; do
6203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6204 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6206 break 2
6208 done
6209 done
6210 IFS=$as_save_IFS
6214 RANLIB=$ac_cv_prog_RANLIB
6215 if test -n "$RANLIB"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6217 $as_echo "$RANLIB" >&6; }
6218 else
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220 $as_echo "no" >&6; }
6225 if test -z "$ac_cv_prog_RANLIB"; then
6226 ac_ct_RANLIB=$RANLIB
6227 # Extract the first word of "ranlib", so it can be a program name with args.
6228 set dummy ranlib; ac_word=$2
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6230 $as_echo_n "checking for $ac_word... " >&6; }
6231 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6232 $as_echo_n "(cached) " >&6
6233 else
6234 if test -n "$ac_ct_RANLIB"; then
6235 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6236 else
6237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 for as_dir in $PATH
6240 IFS=$as_save_IFS
6241 test -z "$as_dir" && as_dir=.
6242 for ac_exec_ext in '' $ac_executable_extensions; do
6243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6244 ac_cv_prog_ac_ct_RANLIB="ranlib"
6245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6246 break 2
6248 done
6249 done
6250 IFS=$as_save_IFS
6254 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6255 if test -n "$ac_ct_RANLIB"; then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6257 $as_echo "$ac_ct_RANLIB" >&6; }
6258 else
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6260 $as_echo "no" >&6; }
6263 if test "x$ac_ct_RANLIB" = x; then
6264 RANLIB=":"
6265 else
6266 case $cross_compiling:$ac_tool_warned in
6267 yes:)
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6270 ac_tool_warned=yes ;;
6271 esac
6272 RANLIB=$ac_ct_RANLIB
6274 else
6275 RANLIB="$ac_cv_prog_RANLIB"
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6279 $as_echo_n "checking whether ln -s works... " >&6; }
6280 LN_S=$as_ln_s
6281 if test "$LN_S" = "ln -s"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6283 $as_echo "yes" >&6; }
6284 else
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6286 $as_echo "no, using $LN_S" >&6; }
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6290 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6291 if ${ac_cv_path_GREP+:} false; then :
6292 $as_echo_n "(cached) " >&6
6293 else
6294 if test -z "$GREP"; then
6295 ac_path_GREP_found=false
6296 # Loop through the user's path and test for each of PROGNAME-LIST
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6300 IFS=$as_save_IFS
6301 test -z "$as_dir" && as_dir=.
6302 for ac_prog in grep ggrep; do
6303 for ac_exec_ext in '' $ac_executable_extensions; do
6304 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6305 as_fn_executable_p "$ac_path_GREP" || continue
6306 # Check for GNU ac_path_GREP and select it if it is found.
6307 # Check for GNU $ac_path_GREP
6308 case `"$ac_path_GREP" --version 2>&1` in
6309 *GNU*)
6310 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6312 ac_count=0
6313 $as_echo_n 0123456789 >"conftest.in"
6314 while :
6316 cat "conftest.in" "conftest.in" >"conftest.tmp"
6317 mv "conftest.tmp" "conftest.in"
6318 cp "conftest.in" "conftest.nl"
6319 $as_echo 'GREP' >> "conftest.nl"
6320 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6321 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6322 as_fn_arith $ac_count + 1 && ac_count=$as_val
6323 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6324 # Best one so far, save it but keep looking for a better one
6325 ac_cv_path_GREP="$ac_path_GREP"
6326 ac_path_GREP_max=$ac_count
6328 # 10*(2^10) chars as input seems more than enough
6329 test $ac_count -gt 10 && break
6330 done
6331 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6332 esac
6334 $ac_path_GREP_found && break 3
6335 done
6336 done
6337 done
6338 IFS=$as_save_IFS
6339 if test -z "$ac_cv_path_GREP"; then
6340 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6342 else
6343 ac_cv_path_GREP=$GREP
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6348 $as_echo "$ac_cv_path_GREP" >&6; }
6349 GREP="$ac_cv_path_GREP"
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6353 $as_echo_n "checking for egrep... " >&6; }
6354 if ${ac_cv_path_EGREP+:} false; then :
6355 $as_echo_n "(cached) " >&6
6356 else
6357 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6358 then ac_cv_path_EGREP="$GREP -E"
6359 else
6360 if test -z "$EGREP"; then
6361 ac_path_EGREP_found=false
6362 # Loop through the user's path and test for each of PROGNAME-LIST
6363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6364 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6366 IFS=$as_save_IFS
6367 test -z "$as_dir" && as_dir=.
6368 for ac_prog in egrep; do
6369 for ac_exec_ext in '' $ac_executable_extensions; do
6370 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6371 as_fn_executable_p "$ac_path_EGREP" || continue
6372 # Check for GNU ac_path_EGREP and select it if it is found.
6373 # Check for GNU $ac_path_EGREP
6374 case `"$ac_path_EGREP" --version 2>&1` in
6375 *GNU*)
6376 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6378 ac_count=0
6379 $as_echo_n 0123456789 >"conftest.in"
6380 while :
6382 cat "conftest.in" "conftest.in" >"conftest.tmp"
6383 mv "conftest.tmp" "conftest.in"
6384 cp "conftest.in" "conftest.nl"
6385 $as_echo 'EGREP' >> "conftest.nl"
6386 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6387 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6388 as_fn_arith $ac_count + 1 && ac_count=$as_val
6389 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6390 # Best one so far, save it but keep looking for a better one
6391 ac_cv_path_EGREP="$ac_path_EGREP"
6392 ac_path_EGREP_max=$ac_count
6394 # 10*(2^10) chars as input seems more than enough
6395 test $ac_count -gt 10 && break
6396 done
6397 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6398 esac
6400 $ac_path_EGREP_found && break 3
6401 done
6402 done
6403 done
6404 IFS=$as_save_IFS
6405 if test -z "$ac_cv_path_EGREP"; then
6406 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6408 else
6409 ac_cv_path_EGREP=$EGREP
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6415 $as_echo "$ac_cv_path_EGREP" >&6; }
6416 EGREP="$ac_cv_path_EGREP"
6419 # Extract the first word of "ldconfig", so it can be a program name with args.
6420 set dummy ldconfig; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if ${ac_cv_path_LDCONFIG+:} false; then :
6424 $as_echo_n "(cached) " >&6
6425 else
6426 case $LDCONFIG in
6427 [\\/]* | ?:[\\/]*)
6428 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 for as_dir in /sbin /usr/sbin $PATH
6434 IFS=$as_save_IFS
6435 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6438 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6440 break 2
6442 done
6443 done
6444 IFS=$as_save_IFS
6446 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6448 esac
6450 LDCONFIG=$ac_cv_path_LDCONFIG
6451 if test -n "$LDCONFIG"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6453 $as_echo "$LDCONFIG" >&6; }
6454 else
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6460 for ac_prog in msgfmt
6462 # Extract the first word of "$ac_prog", so it can be a program name with args.
6463 set dummy $ac_prog; ac_word=$2
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6465 $as_echo_n "checking for $ac_word... " >&6; }
6466 if ${ac_cv_prog_MSGFMT+:} false; then :
6467 $as_echo_n "(cached) " >&6
6468 else
6469 if test -n "$MSGFMT"; then
6470 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6471 else
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 for as_dir in $PATH
6475 IFS=$as_save_IFS
6476 test -z "$as_dir" && as_dir=.
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6479 ac_cv_prog_MSGFMT="$ac_prog"
6480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6481 break 2
6483 done
6484 done
6485 IFS=$as_save_IFS
6489 MSGFMT=$ac_cv_prog_MSGFMT
6490 if test -n "$MSGFMT"; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6492 $as_echo "$MSGFMT" >&6; }
6493 else
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6495 $as_echo "no" >&6; }
6499 test -n "$MSGFMT" && break
6500 done
6501 test -n "$MSGFMT" || MSGFMT="false"
6503 if ${ac_tool_prefix+:} false; then :
6504 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6505 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6507 $as_echo_n "checking for $ac_word... " >&6; }
6508 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 if test -n "$PKG_CONFIG"; then
6512 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6513 else
6514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6515 for as_dir in $PATH
6517 IFS=$as_save_IFS
6518 test -z "$as_dir" && as_dir=.
6519 for ac_exec_ext in '' $ac_executable_extensions; do
6520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6521 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6523 break 2
6525 done
6526 done
6527 IFS=$as_save_IFS
6531 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6532 if test -n "$PKG_CONFIG"; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6534 $as_echo "$PKG_CONFIG" >&6; }
6535 else
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 $as_echo "no" >&6; }
6542 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6543 if test "x$cross_compiling" = xyes; then :
6545 else
6546 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6547 # Extract the first word of "pkg-config", so it can be a program name with args.
6548 set dummy pkg-config; ac_word=$2
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550 $as_echo_n "checking for $ac_word... " >&6; }
6551 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6552 $as_echo_n "(cached) " >&6
6553 else
6554 if test -n "$PKG_CONFIG"; then
6555 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6556 else
6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 for as_dir in $PATH
6560 IFS=$as_save_IFS
6561 test -z "$as_dir" && as_dir=.
6562 for ac_exec_ext in '' $ac_executable_extensions; do
6563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6564 ac_cv_prog_PKG_CONFIG="pkg-config"
6565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 break 2
6568 done
6569 done
6570 IFS=$as_save_IFS
6574 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6575 if test -n "$PKG_CONFIG"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6577 $as_echo "$PKG_CONFIG" >&6; }
6578 else
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6585 else
6586 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6589 if test "x$enable_maintainer_mode" != "xyes"
6590 then
6591 FONTFORGE=""
6592 RSVG=""
6593 CONVERT=""
6594 ICOTOOL=""
6595 else
6596 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6597 for ac_prog in fontforge
6599 # Extract the first word of "$ac_prog", so it can be a program name with args.
6600 set dummy $ac_prog; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 $as_echo_n "checking for $ac_word... " >&6; }
6603 if ${ac_cv_prog_FONTFORGE+:} false; then :
6604 $as_echo_n "(cached) " >&6
6605 else
6606 if test -n "$FONTFORGE"; then
6607 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6608 else
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610 for as_dir in $PATH
6612 IFS=$as_save_IFS
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6616 ac_cv_prog_FONTFORGE="$ac_prog"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 break 2
6620 done
6621 done
6622 IFS=$as_save_IFS
6626 FONTFORGE=$ac_cv_prog_FONTFORGE
6627 if test -n "$FONTFORGE"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6629 $as_echo "$FONTFORGE" >&6; }
6630 else
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6636 test -n "$FONTFORGE" && break
6637 done
6638 test -n "$FONTFORGE" || FONTFORGE="false"
6640 for ac_prog in rsvg-convert rsvg
6642 # Extract the first word of "$ac_prog", so it can be a program name with args.
6643 set dummy $ac_prog; ac_word=$2
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645 $as_echo_n "checking for $ac_word... " >&6; }
6646 if ${ac_cv_prog_RSVG+:} false; then :
6647 $as_echo_n "(cached) " >&6
6648 else
6649 if test -n "$RSVG"; then
6650 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6651 else
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 for as_dir in $PATH
6655 IFS=$as_save_IFS
6656 test -z "$as_dir" && as_dir=.
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6659 ac_cv_prog_RSVG="$ac_prog"
6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6661 break 2
6663 done
6664 done
6665 IFS=$as_save_IFS
6669 RSVG=$ac_cv_prog_RSVG
6670 if test -n "$RSVG"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6672 $as_echo "$RSVG" >&6; }
6673 else
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 $as_echo "no" >&6; }
6679 test -n "$RSVG" && break
6680 done
6681 test -n "$RSVG" || RSVG="false"
6683 for ac_prog in convert
6685 # Extract the first word of "$ac_prog", so it can be a program name with args.
6686 set dummy $ac_prog; ac_word=$2
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 $as_echo_n "checking for $ac_word... " >&6; }
6689 if ${ac_cv_prog_CONVERT+:} false; then :
6690 $as_echo_n "(cached) " >&6
6691 else
6692 if test -n "$CONVERT"; then
6693 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6694 else
6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 for as_dir in $PATH
6698 IFS=$as_save_IFS
6699 test -z "$as_dir" && as_dir=.
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_CONVERT="$ac_prog"
6703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 break 2
6706 done
6707 done
6708 IFS=$as_save_IFS
6712 CONVERT=$ac_cv_prog_CONVERT
6713 if test -n "$CONVERT"; then
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6715 $as_echo "$CONVERT" >&6; }
6716 else
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 $as_echo "no" >&6; }
6722 test -n "$CONVERT" && break
6723 done
6724 test -n "$CONVERT" || CONVERT="false"
6726 for ac_prog in icotool
6728 # Extract the first word of "$ac_prog", so it can be a program name with args.
6729 set dummy $ac_prog; ac_word=$2
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6731 $as_echo_n "checking for $ac_word... " >&6; }
6732 if ${ac_cv_prog_ICOTOOL+:} false; then :
6733 $as_echo_n "(cached) " >&6
6734 else
6735 if test -n "$ICOTOOL"; then
6736 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6737 else
6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739 for as_dir in $PATH
6741 IFS=$as_save_IFS
6742 test -z "$as_dir" && as_dir=.
6743 for ac_exec_ext in '' $ac_executable_extensions; do
6744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6745 ac_cv_prog_ICOTOOL="$ac_prog"
6746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6747 break 2
6749 done
6750 done
6751 IFS=$as_save_IFS
6755 ICOTOOL=$ac_cv_prog_ICOTOOL
6756 if test -n "$ICOTOOL"; then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6758 $as_echo "$ICOTOOL" >&6; }
6759 else
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761 $as_echo "no" >&6; }
6765 test -n "$ICOTOOL" && break
6766 done
6767 test -n "$ICOTOOL" || ICOTOOL="false"
6769 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6770 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6772 if test "$CONVERT" = false
6773 then
6774 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6775 else
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6777 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6778 convert_version=`convert --version | head -n1`
6779 if test "x$convert_version" != "x"
6780 then
6781 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6782 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6783 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6784 then
6785 CONVERT=false
6788 if test "$CONVERT" = false
6789 then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6791 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6792 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6793 else
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6795 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6799 if test "$ICOTOOL" = false
6800 then
6801 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6802 else
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6804 $as_echo_n "checking for recent enough icotool... " >&6; }
6805 icotool_version=`icotool --version | head -n1`
6806 if test "x$icotool_version" != "x"
6807 then
6808 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6809 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6810 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6811 then
6812 ICOTOOL=false
6813 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6816 if test "$ICOTOOL" = false
6817 then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6819 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6820 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6821 else
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6823 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6827 with_gettext=yes
6828 with_gettextpo=yes
6830 enable_werror=yes
6833 test "x$with_gettext" != xno || MSGFMT=false
6834 if test "$MSGFMT" != "false"
6835 then
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6837 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6838 if ${wine_cv_msgfmt_contexts+:} false; then :
6839 $as_echo_n "(cached) " >&6
6840 else
6841 cat >conftest.po <<EOF
6842 # comment
6843 msgctxt "ctxt"
6844 msgid "id"
6845 msgstr "str"
6847 if $MSGFMT -o /dev/null conftest.po 2>&5
6848 then
6849 wine_cv_msgfmt_contexts=yes
6850 else
6851 wine_cv_msgfmt_contexts=no
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6855 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6856 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6858 if test "$MSGFMT" = false; then :
6859 case "x$with_gettext" in
6860 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6861 xno) ;;
6862 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6863 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6864 esac
6865 enable_po=${enable_po:-no}
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6870 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6871 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6872 $as_echo_n "(cached) " >&6
6873 else
6874 ac_check_lib_save_LIBS=$LIBS
6875 LIBS="-li386 $LIBS"
6876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6877 /* end confdefs.h. */
6879 /* Override any GCC internal prototype to avoid an error.
6880 Use char because int might match the return type of a GCC
6881 builtin and then its argument prototype would still apply. */
6882 #ifdef __cplusplus
6883 extern "C"
6884 #endif
6885 char i386_set_ldt ();
6887 main ()
6889 return i386_set_ldt ();
6891 return 0;
6893 _ACEOF
6894 if ac_fn_c_try_link "$LINENO"; then :
6895 ac_cv_lib_i386_i386_set_ldt=yes
6896 else
6897 ac_cv_lib_i386_i386_set_ldt=no
6899 rm -f core conftest.err conftest.$ac_objext \
6900 conftest$ac_exeext conftest.$ac_ext
6901 LIBS=$ac_check_lib_save_LIBS
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6904 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6905 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6906 I386_LIBS="-li386"
6911 OPENGL_LIBS=""
6915 # Check whether --enable-largefile was given.
6916 if test "${enable_largefile+set}" = set; then :
6917 enableval=$enable_largefile;
6920 if test "$enable_largefile" != no; then
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6923 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6924 if ${ac_cv_sys_largefile_CC+:} false; then :
6925 $as_echo_n "(cached) " >&6
6926 else
6927 ac_cv_sys_largefile_CC=no
6928 if test "$GCC" != yes; then
6929 ac_save_CC=$CC
6930 while :; do
6931 # IRIX 6.2 and later do not support large files by default,
6932 # so use the C compiler's -n32 option if that helps.
6933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6934 /* end confdefs.h. */
6935 #include <sys/types.h>
6936 /* Check that off_t can represent 2**63 - 1 correctly.
6937 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6938 since some C++ compilers masquerading as C compilers
6939 incorrectly reject 9223372036854775807. */
6940 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6941 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6942 && LARGE_OFF_T % 2147483647 == 1)
6943 ? 1 : -1];
6945 main ()
6949 return 0;
6951 _ACEOF
6952 if ac_fn_c_try_compile "$LINENO"; then :
6953 break
6955 rm -f core conftest.err conftest.$ac_objext
6956 CC="$CC -n32"
6957 if ac_fn_c_try_compile "$LINENO"; then :
6958 ac_cv_sys_largefile_CC=' -n32'; break
6960 rm -f core conftest.err conftest.$ac_objext
6961 break
6962 done
6963 CC=$ac_save_CC
6964 rm -f conftest.$ac_ext
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6968 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6969 if test "$ac_cv_sys_largefile_CC" != no; then
6970 CC=$CC$ac_cv_sys_largefile_CC
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6974 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6975 if ${ac_cv_sys_file_offset_bits+:} false; then :
6976 $as_echo_n "(cached) " >&6
6977 else
6978 while :; do
6979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6980 /* end confdefs.h. */
6981 #include <sys/types.h>
6982 /* Check that off_t can represent 2**63 - 1 correctly.
6983 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6984 since some C++ compilers masquerading as C compilers
6985 incorrectly reject 9223372036854775807. */
6986 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6987 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6988 && LARGE_OFF_T % 2147483647 == 1)
6989 ? 1 : -1];
6991 main ()
6995 return 0;
6997 _ACEOF
6998 if ac_fn_c_try_compile "$LINENO"; then :
6999 ac_cv_sys_file_offset_bits=no; break
7001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7003 /* end confdefs.h. */
7004 #define _FILE_OFFSET_BITS 64
7005 #include <sys/types.h>
7006 /* Check that off_t can represent 2**63 - 1 correctly.
7007 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7008 since some C++ compilers masquerading as C compilers
7009 incorrectly reject 9223372036854775807. */
7010 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7011 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7012 && LARGE_OFF_T % 2147483647 == 1)
7013 ? 1 : -1];
7015 main ()
7019 return 0;
7021 _ACEOF
7022 if ac_fn_c_try_compile "$LINENO"; then :
7023 ac_cv_sys_file_offset_bits=64; break
7025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7026 ac_cv_sys_file_offset_bits=unknown
7027 break
7028 done
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7031 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7032 case $ac_cv_sys_file_offset_bits in #(
7033 no | unknown) ;;
7035 cat >>confdefs.h <<_ACEOF
7036 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7037 _ACEOF
7039 esac
7040 rm -rf conftest*
7041 if test $ac_cv_sys_file_offset_bits = unknown; then
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7043 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7044 if ${ac_cv_sys_large_files+:} false; then :
7045 $as_echo_n "(cached) " >&6
7046 else
7047 while :; do
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7050 #include <sys/types.h>
7051 /* Check that off_t can represent 2**63 - 1 correctly.
7052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7053 since some C++ compilers masquerading as C compilers
7054 incorrectly reject 9223372036854775807. */
7055 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7057 && LARGE_OFF_T % 2147483647 == 1)
7058 ? 1 : -1];
7060 main ()
7064 return 0;
7066 _ACEOF
7067 if ac_fn_c_try_compile "$LINENO"; then :
7068 ac_cv_sys_large_files=no; break
7070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7072 /* end confdefs.h. */
7073 #define _LARGE_FILES 1
7074 #include <sys/types.h>
7075 /* Check that off_t can represent 2**63 - 1 correctly.
7076 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7077 since some C++ compilers masquerading as C compilers
7078 incorrectly reject 9223372036854775807. */
7079 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7080 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7081 && LARGE_OFF_T % 2147483647 == 1)
7082 ? 1 : -1];
7084 main ()
7088 return 0;
7090 _ACEOF
7091 if ac_fn_c_try_compile "$LINENO"; then :
7092 ac_cv_sys_large_files=1; break
7094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7095 ac_cv_sys_large_files=unknown
7096 break
7097 done
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7100 $as_echo "$ac_cv_sys_large_files" >&6; }
7101 case $ac_cv_sys_large_files in #(
7102 no | unknown) ;;
7104 cat >>confdefs.h <<_ACEOF
7105 #define _LARGE_FILES $ac_cv_sys_large_files
7106 _ACEOF
7108 esac
7109 rm -rf conftest*
7116 ac_ext=c
7117 ac_cpp='$CPP $CPPFLAGS'
7118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7122 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7123 # On Suns, sometimes $CPP names a directory.
7124 if test -n "$CPP" && test -d "$CPP"; then
7125 CPP=
7127 if test -z "$CPP"; then
7128 if ${ac_cv_prog_CPP+:} false; then :
7129 $as_echo_n "(cached) " >&6
7130 else
7131 # Double quotes because CPP needs to be expanded
7132 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7134 ac_preproc_ok=false
7135 for ac_c_preproc_warn_flag in '' yes
7137 # Use a header file that comes with gcc, so configuring glibc
7138 # with a fresh cross-compiler works.
7139 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7140 # <limits.h> exists even on freestanding compilers.
7141 # On the NeXT, cc -E runs the code through the compiler's parser,
7142 # not just through cpp. "Syntax error" is here to catch this case.
7143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7144 /* end confdefs.h. */
7145 #ifdef __STDC__
7146 # include <limits.h>
7147 #else
7148 # include <assert.h>
7149 #endif
7150 Syntax error
7151 _ACEOF
7152 if ac_fn_c_try_cpp "$LINENO"; then :
7154 else
7155 # Broken: fails on valid input.
7156 continue
7158 rm -f conftest.err conftest.i conftest.$ac_ext
7160 # OK, works on sane cases. Now check whether nonexistent headers
7161 # can be detected and how.
7162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7163 /* end confdefs.h. */
7164 #include <ac_nonexistent.h>
7165 _ACEOF
7166 if ac_fn_c_try_cpp "$LINENO"; then :
7167 # Broken: success on invalid input.
7168 continue
7169 else
7170 # Passes both tests.
7171 ac_preproc_ok=:
7172 break
7174 rm -f conftest.err conftest.i conftest.$ac_ext
7176 done
7177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7178 rm -f conftest.i conftest.err conftest.$ac_ext
7179 if $ac_preproc_ok; then :
7180 break
7183 done
7184 ac_cv_prog_CPP=$CPP
7187 CPP=$ac_cv_prog_CPP
7188 else
7189 ac_cv_prog_CPP=$CPP
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7192 $as_echo "$CPP" >&6; }
7193 ac_preproc_ok=false
7194 for ac_c_preproc_warn_flag in '' yes
7196 # Use a header file that comes with gcc, so configuring glibc
7197 # with a fresh cross-compiler works.
7198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7199 # <limits.h> exists even on freestanding compilers.
7200 # On the NeXT, cc -E runs the code through the compiler's parser,
7201 # not just through cpp. "Syntax error" is here to catch this case.
7202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7203 /* end confdefs.h. */
7204 #ifdef __STDC__
7205 # include <limits.h>
7206 #else
7207 # include <assert.h>
7208 #endif
7209 Syntax error
7210 _ACEOF
7211 if ac_fn_c_try_cpp "$LINENO"; then :
7213 else
7214 # Broken: fails on valid input.
7215 continue
7217 rm -f conftest.err conftest.i conftest.$ac_ext
7219 # OK, works on sane cases. Now check whether nonexistent headers
7220 # can be detected and how.
7221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7222 /* end confdefs.h. */
7223 #include <ac_nonexistent.h>
7224 _ACEOF
7225 if ac_fn_c_try_cpp "$LINENO"; then :
7226 # Broken: success on invalid input.
7227 continue
7228 else
7229 # Passes both tests.
7230 ac_preproc_ok=:
7231 break
7233 rm -f conftest.err conftest.i conftest.$ac_ext
7235 done
7236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7237 rm -f conftest.i conftest.err conftest.$ac_ext
7238 if $ac_preproc_ok; then :
7240 else
7241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7243 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7244 See \`config.log' for more details" "$LINENO" 5; }
7247 ac_ext=c
7248 ac_cpp='$CPP $CPPFLAGS'
7249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7255 $as_echo_n "checking for ANSI C header files... " >&6; }
7256 if ${ac_cv_header_stdc+:} false; then :
7257 $as_echo_n "(cached) " >&6
7258 else
7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7260 /* end confdefs.h. */
7261 #include <stdlib.h>
7262 #include <stdarg.h>
7263 #include <string.h>
7264 #include <float.h>
7267 main ()
7271 return 0;
7273 _ACEOF
7274 if ac_fn_c_try_compile "$LINENO"; then :
7275 ac_cv_header_stdc=yes
7276 else
7277 ac_cv_header_stdc=no
7279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7281 if test $ac_cv_header_stdc = yes; then
7282 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7284 /* end confdefs.h. */
7285 #include <string.h>
7287 _ACEOF
7288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7289 $EGREP "memchr" >/dev/null 2>&1; then :
7291 else
7292 ac_cv_header_stdc=no
7294 rm -f conftest*
7298 if test $ac_cv_header_stdc = yes; then
7299 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7301 /* end confdefs.h. */
7302 #include <stdlib.h>
7304 _ACEOF
7305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7306 $EGREP "free" >/dev/null 2>&1; then :
7308 else
7309 ac_cv_header_stdc=no
7311 rm -f conftest*
7315 if test $ac_cv_header_stdc = yes; then
7316 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7317 if test "$cross_compiling" = yes; then :
7319 else
7320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7321 /* end confdefs.h. */
7322 #include <ctype.h>
7323 #include <stdlib.h>
7324 #if ((' ' & 0x0FF) == 0x020)
7325 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7326 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7327 #else
7328 # define ISLOWER(c) \
7329 (('a' <= (c) && (c) <= 'i') \
7330 || ('j' <= (c) && (c) <= 'r') \
7331 || ('s' <= (c) && (c) <= 'z'))
7332 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7333 #endif
7335 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7337 main ()
7339 int i;
7340 for (i = 0; i < 256; i++)
7341 if (XOR (islower (i), ISLOWER (i))
7342 || toupper (i) != TOUPPER (i))
7343 return 2;
7344 return 0;
7346 _ACEOF
7347 if ac_fn_c_try_run "$LINENO"; then :
7349 else
7350 ac_cv_header_stdc=no
7352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7353 conftest.$ac_objext conftest.beam conftest.$ac_ext
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7359 $as_echo "$ac_cv_header_stdc" >&6; }
7360 if test $ac_cv_header_stdc = yes; then
7362 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7366 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7367 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7368 inttypes.h stdint.h unistd.h
7369 do :
7370 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7371 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7373 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7374 cat >>confdefs.h <<_ACEOF
7375 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7376 _ACEOF
7380 done
7383 for ac_header in \
7384 AL/al.h \
7385 ApplicationServices/ApplicationServices.h \
7386 AudioToolbox/AudioConverter.h \
7387 AudioUnit/AudioUnit.h \
7388 AudioUnit/AudioComponent.h \
7389 CL/cl.h \
7390 Carbon/Carbon.h \
7391 CommonCrypto/CommonCryptor.h \
7392 CoreAudio/CoreAudio.h \
7393 DiskArbitration/DiskArbitration.h \
7394 EGL/egl.h \
7395 IOKit/IOKitLib.h \
7396 IOKit/hid/IOHIDLib.h \
7397 OpenAL/al.h \
7398 OpenCL/opencl.h \
7399 QuickTime/ImageCompression.h \
7400 Security/Security.h \
7401 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7402 SystemConfiguration/SCNetworkConfiguration.h \
7403 alias.h \
7404 arpa/inet.h \
7405 arpa/nameser.h \
7406 asm/types.h \
7407 asm/user.h \
7408 dirent.h \
7409 dlfcn.h \
7410 elf.h \
7411 float.h \
7412 fnmatch.h \
7413 getopt.h \
7414 gettext-po.h \
7415 grp.h \
7416 gsm.h \
7417 gsm/gsm.h \
7418 ieeefp.h \
7419 inet/mib2.h \
7420 kstat.h \
7421 libproc.h \
7422 link.h \
7423 linux/cdrom.h \
7424 linux/filter.h \
7425 linux/hdreg.h \
7426 linux/hidraw.h \
7427 linux/input.h \
7428 linux/ioctl.h \
7429 linux/joystick.h \
7430 linux/major.h \
7431 linux/param.h \
7432 linux/serial.h \
7433 linux/types.h \
7434 linux/ucdrom.h \
7435 lwp.h \
7436 mach-o/loader.h \
7437 mach/mach.h \
7438 machine/cpu.h \
7439 machine/sysarch.h \
7440 mntent.h \
7441 netdb.h \
7442 netinet/in.h \
7443 netinet/in_systm.h \
7444 netinet/tcp.h \
7445 netinet/tcp_fsm.h \
7446 pcap/pcap.h \
7447 poll.h \
7448 port.h \
7449 pthread.h \
7450 pwd.h \
7451 sasl/sasl.h \
7452 sched.h \
7453 scsi/scsi.h \
7454 scsi/scsi_ioctl.h \
7455 scsi/sg.h \
7456 stdint.h \
7457 stropts.h \
7458 sys/attr.h \
7459 sys/auxv.h \
7460 sys/cdio.h \
7461 sys/epoll.h \
7462 sys/event.h \
7463 sys/filio.h \
7464 sys/ioctl.h \
7465 sys/ipc.h \
7466 sys/link.h \
7467 sys/mman.h \
7468 sys/modem.h \
7469 sys/msg.h \
7470 sys/mtio.h \
7471 sys/param.h \
7472 sys/poll.h \
7473 sys/prctl.h \
7474 sys/protosw.h \
7475 sys/ptrace.h \
7476 sys/queue.h \
7477 sys/random.h \
7478 sys/resource.h \
7479 sys/scsiio.h \
7480 sys/shm.h \
7481 sys/signal.h \
7482 sys/socket.h \
7483 sys/socketvar.h \
7484 sys/sockio.h \
7485 sys/statvfs.h \
7486 sys/strtio.h \
7487 sys/syscall.h \
7488 sys/sysinfo.h \
7489 sys/tihdr.h \
7490 sys/time.h \
7491 sys/timeout.h \
7492 sys/times.h \
7493 sys/uio.h \
7494 sys/user.h \
7495 sys/utsname.h \
7496 sys/vnode.h \
7497 sys/wait.h \
7498 syscall.h \
7499 termios.h \
7500 unistd.h \
7501 utime.h \
7502 valgrind/memcheck.h \
7503 valgrind/valgrind.h
7505 do :
7506 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7507 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7508 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7509 cat >>confdefs.h <<_ACEOF
7510 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7511 _ACEOF
7515 done
7517 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7518 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7520 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7525 if test $ac_cv_header_sys_mkdev_h = no; then
7526 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7527 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7529 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7536 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7537 if ${ac_cv_header_stat_broken+:} false; then :
7538 $as_echo_n "(cached) " >&6
7539 else
7540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7541 /* end confdefs.h. */
7542 #include <sys/types.h>
7543 #include <sys/stat.h>
7545 #if defined S_ISBLK && defined S_IFDIR
7546 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7547 #endif
7549 #if defined S_ISBLK && defined S_IFCHR
7550 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7551 #endif
7553 #if defined S_ISLNK && defined S_IFREG
7554 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7555 #endif
7557 #if defined S_ISSOCK && defined S_IFREG
7558 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7559 #endif
7561 _ACEOF
7562 if ac_fn_c_try_compile "$LINENO"; then :
7563 ac_cv_header_stat_broken=no
7564 else
7565 ac_cv_header_stat_broken=yes
7567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7570 $as_echo "$ac_cv_header_stat_broken" >&6; }
7571 if test $ac_cv_header_stat_broken = yes; then
7573 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7579 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7580 do :
7581 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7582 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7583 #ifdef HAVE_SYS_PARAM_H
7584 # include <sys/param.h>
7585 #endif
7587 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7588 cat >>confdefs.h <<_ACEOF
7589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7590 _ACEOF
7594 done
7597 saved_sysctl_h_CFLAGS=$CFLAGS
7598 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7599 for ac_header in sys/sysctl.h
7600 do :
7601 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7602 #ifdef HAVE_SYS_PARAM_H
7603 # include <sys/param.h>
7604 #endif
7606 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7607 cat >>confdefs.h <<_ACEOF
7608 #define HAVE_SYS_SYSCTL_H 1
7609 _ACEOF
7613 done
7615 CFLAGS=$saved_sysctl_h_CFLAGS
7617 for ac_header in \
7618 netinet/ip.h \
7619 net/if.h \
7620 net/if_arp.h \
7621 net/if_dl.h \
7622 net/if_types.h \
7623 net/route.h \
7624 netinet/if_ether.h \
7625 netinet/if_inarp.h \
7626 netinet/in_pcb.h \
7627 netinet/ip_icmp.h \
7628 netinet/ip_var.h \
7629 netinet/udp.h \
7630 netipx/ipx.h \
7631 sys/un.h \
7633 do :
7634 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7635 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7636 #ifdef HAVE_SYS_SOCKET_H
7637 # include <sys/socket.h>
7638 #endif
7639 #ifdef HAVE_SYS_SOCKETVAR_H
7640 # include <sys/socketvar.h>
7641 #endif
7642 #ifdef HAVE_NET_ROUTE_H
7643 # include <net/route.h>
7644 #endif
7645 #ifdef HAVE_NETINET_IN_H
7646 # include <netinet/in.h>
7647 #endif
7648 #ifdef HAVE_NETINET_IN_SYSTM_H
7649 # include <netinet/in_systm.h>
7650 #endif
7651 #ifdef HAVE_NET_IF_H
7652 # include <net/if.h>
7653 #endif
7654 #ifdef HAVE_NETINET_IP_H
7655 # include <netinet/ip.h>
7656 #endif
7658 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7659 cat >>confdefs.h <<_ACEOF
7660 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7661 _ACEOF
7665 done
7668 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7669 do :
7670 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7671 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7672 #ifdef HAVE_ALIAS_H
7673 # include <alias.h>
7674 #endif
7675 #ifdef HAVE_SYS_SOCKET_H
7676 # include <sys/socket.h>
7677 #endif
7678 #ifdef HAVE_SYS_SOCKETVAR_H
7679 # include <sys/socketvar.h>
7680 #endif
7681 #ifdef HAVE_SYS_TIMEOUT_H
7682 # include <sys/timeout.h>
7683 #endif
7684 #ifdef HAVE_NETINET_IN_H
7685 # include <netinet/in.h>
7686 #endif
7687 #ifdef HAVE_NETINET_IN_SYSTM_H
7688 # include <netinet/in_systm.h>
7689 #endif
7690 #ifdef HAVE_NETINET_IP_H
7691 # include <netinet/ip.h>
7692 #endif
7693 #ifdef HAVE_NETINET_IP_VAR_H
7694 # include <netinet/ip_var.h>
7695 #endif
7696 #ifdef HAVE_NETINET_IP_ICMP_H
7697 # include <netinet/ip_icmp.h>
7698 #endif
7699 #ifdef HAVE_NETINET_UDP_H
7700 # include <netinet/udp.h>
7701 #endif
7702 #ifdef HAVE_NETINET_TCP_H
7703 # include <netinet/tcp.h>
7704 #endif
7705 #ifdef HAVE_NETINET_TCP_TIMER_H
7706 #include <netinet/tcp_timer.h>
7707 #endif
7709 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7710 cat >>confdefs.h <<_ACEOF
7711 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7712 _ACEOF
7716 done
7719 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7720 do :
7721 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7722 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7723 #ifdef HAVE_ASM_TYPES_H
7724 # include <asm/types.h>
7725 #endif
7726 #ifdef HAVE_SYS_SOCKET_H
7727 # include <sys/socket.h>
7728 #endif
7729 #ifdef HAVE_LINUX_TYPES_H
7730 # include <linux/types.h>
7731 #endif
7733 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7734 cat >>confdefs.h <<_ACEOF
7735 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7736 _ACEOF
7740 done
7743 for ac_header in resolv.h
7744 do :
7745 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7746 #ifdef HAVE_SYS_SOCKET_H
7747 # include <sys/socket.h>
7748 #endif
7749 #ifdef HAVE_NETINET_IN_H
7750 # include <netinet/in.h>
7751 #endif
7752 #ifdef HAVE_ARPA_NAMESER_H
7753 # include <arpa/nameser.h>
7754 #endif
7756 if test "x$ac_cv_header_resolv_h" = xyes; then :
7757 cat >>confdefs.h <<_ACEOF
7758 #define HAVE_RESOLV_H 1
7759 _ACEOF
7763 done
7766 for ac_header in ifaddrs.h
7767 do :
7768 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7770 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7771 cat >>confdefs.h <<_ACEOF
7772 #define HAVE_IFADDRS_H 1
7773 _ACEOF
7777 done
7780 for ac_header in sys/ucontext.h
7781 do :
7782 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7784 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7785 cat >>confdefs.h <<_ACEOF
7786 #define HAVE_SYS_UCONTEXT_H 1
7787 _ACEOF
7791 done
7794 for ac_header in sys/thr.h
7795 do :
7796 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7797 #ifdef HAVE_SYS_UCONTEXT_H
7798 #include <sys/ucontext.h>
7799 #endif
7801 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7802 cat >>confdefs.h <<_ACEOF
7803 #define HAVE_SYS_THR_H 1
7804 _ACEOF
7808 done
7811 for ac_header in pthread_np.h
7812 do :
7813 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7814 #include <pthread.h>
7815 #endif
7817 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7818 cat >>confdefs.h <<_ACEOF
7819 #define HAVE_PTHREAD_NP_H 1
7820 _ACEOF
7824 done
7827 for ac_header in linux/videodev2.h
7828 do :
7829 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7830 #include <sys/time.h>
7831 #endif
7832 #include <sys/types.h>
7833 #ifdef HAVE_ASM_TYPES_H
7834 #include <asm/types.h>
7835 #endif
7837 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7838 cat >>confdefs.h <<_ACEOF
7839 #define HAVE_LINUX_VIDEODEV2_H 1
7840 _ACEOF
7844 done
7847 for ac_header in libprocstat.h
7848 do :
7849 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7850 #include <sys/param.h>
7851 #endif
7852 #ifdef HAVE_SYS_QUEUE_H
7853 #include <sys/queue.h>
7854 #endif
7855 #ifdef HAVE_SYS_SOCKET_H
7856 #include <sys/socket.h>
7857 #endif
7859 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7860 cat >>confdefs.h <<_ACEOF
7861 #define HAVE_LIBPROCSTAT_H 1
7862 _ACEOF
7866 done
7870 DLLFLAGS="-D_REENTRANT"
7872 LDDLLFLAGS=""
7874 LDEXECFLAGS=""
7876 TOP_INSTALL_LIB=""
7878 TOP_INSTALL_DEV=""
7880 WINELOADER_LDFLAGS=""
7882 WINEPRELOADER_LDFLAGS=""
7884 LIBEXT="so"
7885 DLLEXT=".so"
7886 # Extract the first word of "ldd", so it can be a program name with args.
7887 set dummy ldd; ac_word=$2
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7889 $as_echo_n "checking for $ac_word... " >&6; }
7890 if ${ac_cv_path_LDD+:} false; then :
7891 $as_echo_n "(cached) " >&6
7892 else
7893 case $LDD in
7894 [\\/]* | ?:[\\/]*)
7895 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7899 as_dummy="/sbin:/usr/sbin:$PATH"
7900 for as_dir in $as_dummy
7902 IFS=$as_save_IFS
7903 test -z "$as_dir" && as_dir=.
7904 for ac_exec_ext in '' $ac_executable_extensions; do
7905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7906 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7908 break 2
7910 done
7911 done
7912 IFS=$as_save_IFS
7914 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7916 esac
7918 LDD=$ac_cv_path_LDD
7919 if test -n "$LDD"; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7921 $as_echo "$LDD" >&6; }
7922 else
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7924 $as_echo "no" >&6; }
7928 if test -n "$ac_tool_prefix"; then
7929 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7930 set dummy ${ac_tool_prefix}otool; ac_word=$2
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932 $as_echo_n "checking for $ac_word... " >&6; }
7933 if ${ac_cv_prog_OTOOL+:} false; then :
7934 $as_echo_n "(cached) " >&6
7935 else
7936 if test -n "$OTOOL"; then
7937 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7938 else
7939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7940 for as_dir in $PATH
7942 IFS=$as_save_IFS
7943 test -z "$as_dir" && as_dir=.
7944 for ac_exec_ext in '' $ac_executable_extensions; do
7945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7946 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 break 2
7950 done
7951 done
7952 IFS=$as_save_IFS
7956 OTOOL=$ac_cv_prog_OTOOL
7957 if test -n "$OTOOL"; then
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7959 $as_echo "$OTOOL" >&6; }
7960 else
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962 $as_echo "no" >&6; }
7967 if test -z "$ac_cv_prog_OTOOL"; then
7968 ac_ct_OTOOL=$OTOOL
7969 # Extract the first word of "otool", so it can be a program name with args.
7970 set dummy otool; ac_word=$2
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7972 $as_echo_n "checking for $ac_word... " >&6; }
7973 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7974 $as_echo_n "(cached) " >&6
7975 else
7976 if test -n "$ac_ct_OTOOL"; then
7977 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7978 else
7979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7980 for as_dir in $PATH
7982 IFS=$as_save_IFS
7983 test -z "$as_dir" && as_dir=.
7984 for ac_exec_ext in '' $ac_executable_extensions; do
7985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7986 ac_cv_prog_ac_ct_OTOOL="otool"
7987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7988 break 2
7990 done
7991 done
7992 IFS=$as_save_IFS
7996 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7997 if test -n "$ac_ct_OTOOL"; then
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7999 $as_echo "$ac_ct_OTOOL" >&6; }
8000 else
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8002 $as_echo "no" >&6; }
8005 if test "x$ac_ct_OTOOL" = x; then
8006 OTOOL="otool"
8007 else
8008 case $cross_compiling:$ac_tool_warned in
8009 yes:)
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8012 ac_tool_warned=yes ;;
8013 esac
8014 OTOOL=$ac_ct_OTOOL
8016 else
8017 OTOOL="$ac_cv_prog_OTOOL"
8020 if test -n "$ac_tool_prefix"; then
8021 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8022 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8024 $as_echo_n "checking for $ac_word... " >&6; }
8025 if ${ac_cv_prog_READELF+:} false; then :
8026 $as_echo_n "(cached) " >&6
8027 else
8028 if test -n "$READELF"; then
8029 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8030 else
8031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8032 for as_dir in $PATH
8034 IFS=$as_save_IFS
8035 test -z "$as_dir" && as_dir=.
8036 for ac_exec_ext in '' $ac_executable_extensions; do
8037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8038 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8040 break 2
8042 done
8043 done
8044 IFS=$as_save_IFS
8048 READELF=$ac_cv_prog_READELF
8049 if test -n "$READELF"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8051 $as_echo "$READELF" >&6; }
8052 else
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054 $as_echo "no" >&6; }
8059 if test -z "$ac_cv_prog_READELF"; then
8060 ac_ct_READELF=$READELF
8061 # Extract the first word of "readelf", so it can be a program name with args.
8062 set dummy readelf; ac_word=$2
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8064 $as_echo_n "checking for $ac_word... " >&6; }
8065 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8066 $as_echo_n "(cached) " >&6
8067 else
8068 if test -n "$ac_ct_READELF"; then
8069 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8070 else
8071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8072 for as_dir in $PATH
8074 IFS=$as_save_IFS
8075 test -z "$as_dir" && as_dir=.
8076 for ac_exec_ext in '' $ac_executable_extensions; do
8077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8078 ac_cv_prog_ac_ct_READELF="readelf"
8079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8080 break 2
8082 done
8083 done
8084 IFS=$as_save_IFS
8088 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8089 if test -n "$ac_ct_READELF"; then
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8091 $as_echo "$ac_ct_READELF" >&6; }
8092 else
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8094 $as_echo "no" >&6; }
8097 if test "x$ac_ct_READELF" = x; then
8098 READELF="true"
8099 else
8100 case $cross_compiling:$ac_tool_warned in
8101 yes:)
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8104 ac_tool_warned=yes ;;
8105 esac
8106 READELF=$ac_ct_READELF
8108 else
8109 READELF="$ac_cv_prog_READELF"
8112 wine_rules_file=conf$$rules.make
8113 rm -f $wine_rules_file
8114 SUBDIRS=""
8116 DISABLED_SUBDIRS=""
8118 CONFIGURE_TARGETS=""
8121 wine_fn_append_file ()
8123 as_fn_append $1 " \\$as_nl $2"
8126 wine_fn_append_rule ()
8128 $as_echo "$1" >>$wine_rules_file
8131 wine_fn_config_makefile ()
8133 wine_fn_append_file SUBDIRS $1
8134 if eval test \"x\$"$2"\" = x"no"; then :
8135 wine_fn_append_file DISABLED_SUBDIRS $1
8139 wine_fn_config_symlink ()
8141 ac_links=$@
8142 wine_fn_append_rule \
8143 "$ac_links:
8144 @./config.status \$@"
8145 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8148 wine_binary="wine"
8149 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8150 WINELOADER_PROGRAMS="$wine_binary"
8152 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8154 case $host_os in
8155 cygwin*|mingw32*)
8156 if test -n "$ac_tool_prefix"; then
8157 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8158 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8160 $as_echo_n "checking for $ac_word... " >&6; }
8161 if ${ac_cv_prog_DLLTOOL+:} false; then :
8162 $as_echo_n "(cached) " >&6
8163 else
8164 if test -n "$DLLTOOL"; then
8165 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8166 else
8167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8168 for as_dir in $PATH
8170 IFS=$as_save_IFS
8171 test -z "$as_dir" && as_dir=.
8172 for ac_exec_ext in '' $ac_executable_extensions; do
8173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8174 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8176 break 2
8178 done
8179 done
8180 IFS=$as_save_IFS
8184 DLLTOOL=$ac_cv_prog_DLLTOOL
8185 if test -n "$DLLTOOL"; then
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8187 $as_echo "$DLLTOOL" >&6; }
8188 else
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8190 $as_echo "no" >&6; }
8195 if test -z "$ac_cv_prog_DLLTOOL"; then
8196 ac_ct_DLLTOOL=$DLLTOOL
8197 # Extract the first word of "dlltool", so it can be a program name with args.
8198 set dummy dlltool; ac_word=$2
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8200 $as_echo_n "checking for $ac_word... " >&6; }
8201 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8202 $as_echo_n "(cached) " >&6
8203 else
8204 if test -n "$ac_ct_DLLTOOL"; then
8205 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8206 else
8207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8208 for as_dir in $PATH
8210 IFS=$as_save_IFS
8211 test -z "$as_dir" && as_dir=.
8212 for ac_exec_ext in '' $ac_executable_extensions; do
8213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8214 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8216 break 2
8218 done
8219 done
8220 IFS=$as_save_IFS
8224 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8225 if test -n "$ac_ct_DLLTOOL"; then
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8227 $as_echo "$ac_ct_DLLTOOL" >&6; }
8228 else
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8230 $as_echo "no" >&6; }
8233 if test "x$ac_ct_DLLTOOL" = x; then
8234 DLLTOOL="false"
8235 else
8236 case $cross_compiling:$ac_tool_warned in
8237 yes:)
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8240 ac_tool_warned=yes ;;
8241 esac
8242 DLLTOOL=$ac_ct_DLLTOOL
8244 else
8245 DLLTOOL="$ac_cv_prog_DLLTOOL"
8248 LIBEXT="dll"
8249 DLLEXT=""
8250 case $host_cpu in
8251 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8252 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8253 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8254 $as_echo_n "(cached) " >&6
8255 else
8256 ac_wine_try_cflags_saved=$CFLAGS
8257 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8260 int main(int argc, char **argv) { return 0; }
8261 _ACEOF
8262 if ac_fn_c_try_link "$LINENO"; then :
8263 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8264 else
8265 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8267 rm -f core conftest.err conftest.$ac_objext \
8268 conftest$ac_exeext conftest.$ac_ext
8269 CFLAGS=$ac_wine_try_cflags_saved
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8272 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8273 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8274 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8275 fi ;;
8276 esac
8277 enable_iphlpapi=${enable_iphlpapi:-no}
8278 enable_ws2_32=${enable_ws2_32:-no}
8279 enable_loader=${enable_loader:-no}
8280 enable_server=${enable_server:-no}
8281 with_x=${with_x:-no}
8282 with_pthread=${with_pthread:-no}
8285 darwin*|macosx*)
8286 ac_ext=m
8287 ac_cpp='$OBJCPP $CPPFLAGS'
8288 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8289 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8290 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8292 ac_ext=m
8293 ac_cpp='$OBJCPP $CPPFLAGS'
8294 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8295 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8296 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8297 if test -n "$ac_tool_prefix"; then
8298 for ac_prog in gcc objcc objc cc CC
8300 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8301 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8303 $as_echo_n "checking for $ac_word... " >&6; }
8304 if ${ac_cv_prog_OBJC+:} false; then :
8305 $as_echo_n "(cached) " >&6
8306 else
8307 if test -n "$OBJC"; then
8308 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8309 else
8310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8311 for as_dir in $PATH
8313 IFS=$as_save_IFS
8314 test -z "$as_dir" && as_dir=.
8315 for ac_exec_ext in '' $ac_executable_extensions; do
8316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8317 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8319 break 2
8321 done
8322 done
8323 IFS=$as_save_IFS
8327 OBJC=$ac_cv_prog_OBJC
8328 if test -n "$OBJC"; then
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8330 $as_echo "$OBJC" >&6; }
8331 else
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8333 $as_echo "no" >&6; }
8337 test -n "$OBJC" && break
8338 done
8340 if test -z "$OBJC"; then
8341 ac_ct_OBJC=$OBJC
8342 for ac_prog in gcc objcc objc cc CC
8344 # Extract the first word of "$ac_prog", so it can be a program name with args.
8345 set dummy $ac_prog; ac_word=$2
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8347 $as_echo_n "checking for $ac_word... " >&6; }
8348 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 if test -n "$ac_ct_OBJC"; then
8352 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8353 else
8354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8355 for as_dir in $PATH
8357 IFS=$as_save_IFS
8358 test -z "$as_dir" && as_dir=.
8359 for ac_exec_ext in '' $ac_executable_extensions; do
8360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8361 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8363 break 2
8365 done
8366 done
8367 IFS=$as_save_IFS
8371 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8372 if test -n "$ac_ct_OBJC"; then
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8374 $as_echo "$ac_ct_OBJC" >&6; }
8375 else
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8377 $as_echo "no" >&6; }
8381 test -n "$ac_ct_OBJC" && break
8382 done
8384 if test "x$ac_ct_OBJC" = x; then
8385 OBJC="gcc"
8386 else
8387 case $cross_compiling:$ac_tool_warned in
8388 yes:)
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8391 ac_tool_warned=yes ;;
8392 esac
8393 OBJC=$ac_ct_OBJC
8397 # Provide some information about the compiler.
8398 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8399 set X $ac_compile
8400 ac_compiler=$2
8401 for ac_option in --version -v -V -qversion; do
8402 { { ac_try="$ac_compiler $ac_option >&5"
8403 case "(($ac_try" in
8404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8405 *) ac_try_echo=$ac_try;;
8406 esac
8407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8408 $as_echo "$ac_try_echo"; } >&5
8409 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8410 ac_status=$?
8411 if test -s conftest.err; then
8412 sed '10a\
8413 ... rest of stderr output deleted ...
8414 10q' conftest.err >conftest.er1
8415 cat conftest.er1 >&5
8417 rm -f conftest.er1 conftest.err
8418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8419 test $ac_status = 0; }
8420 done
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8423 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8424 if ${ac_cv_objc_compiler_gnu+:} false; then :
8425 $as_echo_n "(cached) " >&6
8426 else
8427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8431 main ()
8433 #ifndef __GNUC__
8434 choke me
8435 #endif
8438 return 0;
8440 _ACEOF
8441 if ac_fn_objc_try_compile "$LINENO"; then :
8442 ac_compiler_gnu=yes
8443 else
8444 ac_compiler_gnu=no
8446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8447 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8451 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8452 if test $ac_compiler_gnu = yes; then
8453 GOBJC=yes
8454 else
8455 GOBJC=
8457 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8458 ac_save_OBJCFLAGS=$OBJCFLAGS
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8460 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8461 if ${ac_cv_prog_objc_g+:} false; then :
8462 $as_echo_n "(cached) " >&6
8463 else
8464 ac_save_objc_werror_flag=$ac_objc_werror_flag
8465 ac_objc_werror_flag=yes
8466 ac_cv_prog_objc_g=no
8467 OBJCFLAGS="-g"
8468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8469 /* end confdefs.h. */
8472 main ()
8476 return 0;
8478 _ACEOF
8479 if ac_fn_objc_try_compile "$LINENO"; then :
8480 ac_cv_prog_objc_g=yes
8481 else
8482 OBJCFLAGS=""
8483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8484 /* end confdefs.h. */
8487 main ()
8491 return 0;
8493 _ACEOF
8494 if ac_fn_objc_try_compile "$LINENO"; then :
8496 else
8497 ac_objc_werror_flag=$ac_save_objc_werror_flag
8498 OBJCFLAGS="-g"
8499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8500 /* end confdefs.h. */
8503 main ()
8507 return 0;
8509 _ACEOF
8510 if ac_fn_objc_try_compile "$LINENO"; then :
8511 ac_cv_prog_objc_g=yes
8513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8518 ac_objc_werror_flag=$ac_save_objc_werror_flag
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8521 $as_echo "$ac_cv_prog_objc_g" >&6; }
8522 if test "$ac_test_OBJCFLAGS" = set; then
8523 OBJCFLAGS=$ac_save_OBJCFLAGS
8524 elif test $ac_cv_prog_objc_g = yes; then
8525 if test "$GOBJC" = yes; then
8526 OBJCFLAGS="-g -O2"
8527 else
8528 OBJCFLAGS="-g"
8530 else
8531 if test "$GOBJC" = yes; then
8532 OBJCFLAGS="-O2"
8533 else
8534 OBJCFLAGS=
8537 ac_ext=m
8538 ac_cpp='$OBJCPP $CPPFLAGS'
8539 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8540 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8541 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8544 ac_ext=m
8545 ac_cpp='$OBJCPP $CPPFLAGS'
8546 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8547 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8548 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8550 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8551 if test -z "$OBJCPP"; then
8552 if ${ac_cv_prog_OBJCPP+:} false; then :
8553 $as_echo_n "(cached) " >&6
8554 else
8555 # Double quotes because OBJCPP needs to be expanded
8556 for OBJCPP in "$OBJC -E" "/lib/cpp"
8558 ac_preproc_ok=false
8559 for ac_objc_preproc_warn_flag in '' yes
8561 # Use a header file that comes with gcc, so configuring glibc
8562 # with a fresh cross-compiler works.
8563 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8564 # <limits.h> exists even on freestanding compilers.
8565 # On the NeXT, cc -E runs the code through the compiler's parser,
8566 # not just through cpp. "Syntax error" is here to catch this case.
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8569 #ifdef __STDC__
8570 # include <limits.h>
8571 #else
8572 # include <assert.h>
8573 #endif
8574 Syntax error
8575 _ACEOF
8576 if ac_fn_objc_try_cpp "$LINENO"; then :
8578 else
8579 # Broken: fails on valid input.
8580 continue
8582 rm -f conftest.err conftest.i conftest.$ac_ext
8584 # OK, works on sane cases. Now check whether nonexistent headers
8585 # can be detected and how.
8586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8587 /* end confdefs.h. */
8588 #include <ac_nonexistent.h>
8589 _ACEOF
8590 if ac_fn_objc_try_cpp "$LINENO"; then :
8591 # Broken: success on invalid input.
8592 continue
8593 else
8594 # Passes both tests.
8595 ac_preproc_ok=:
8596 break
8598 rm -f conftest.err conftest.i conftest.$ac_ext
8600 done
8601 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8602 rm -f conftest.i conftest.err conftest.$ac_ext
8603 if $ac_preproc_ok; then :
8604 break
8607 done
8608 ac_cv_prog_OBJCPP=$OBJCPP
8611 OBJCPP=$ac_cv_prog_OBJCPP
8612 else
8613 ac_cv_prog_OBJCPP=$OBJCPP
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8616 $as_echo "$OBJCPP" >&6; }
8617 ac_preproc_ok=false
8618 for ac_objc_preproc_warn_flag in '' yes
8620 # Use a header file that comes with gcc, so configuring glibc
8621 # with a fresh cross-compiler works.
8622 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8623 # <limits.h> exists even on freestanding compilers.
8624 # On the NeXT, cc -E runs the code through the compiler's parser,
8625 # not just through cpp. "Syntax error" is here to catch this case.
8626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8627 /* end confdefs.h. */
8628 #ifdef __STDC__
8629 # include <limits.h>
8630 #else
8631 # include <assert.h>
8632 #endif
8633 Syntax error
8634 _ACEOF
8635 if ac_fn_objc_try_cpp "$LINENO"; then :
8637 else
8638 # Broken: fails on valid input.
8639 continue
8641 rm -f conftest.err conftest.i conftest.$ac_ext
8643 # OK, works on sane cases. Now check whether nonexistent headers
8644 # can be detected and how.
8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8647 #include <ac_nonexistent.h>
8648 _ACEOF
8649 if ac_fn_objc_try_cpp "$LINENO"; then :
8650 # Broken: success on invalid input.
8651 continue
8652 else
8653 # Passes both tests.
8654 ac_preproc_ok=:
8655 break
8657 rm -f conftest.err conftest.i conftest.$ac_ext
8659 done
8660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8661 rm -f conftest.i conftest.err conftest.$ac_ext
8662 if $ac_preproc_ok; then :
8664 else
8665 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8667 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8668 See \`config.log' for more details" "$LINENO" 5; }
8671 ac_ext=m
8672 ac_cpp='$OBJCPP $CPPFLAGS'
8673 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8674 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8675 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8678 for ac_header in Metal/Metal.h
8679 do :
8680 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8681 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8682 cat >>confdefs.h <<_ACEOF
8683 #define HAVE_METAL_METAL_H 1
8684 _ACEOF
8688 done
8690 ac_ext=c
8691 ac_cpp='$CPP $CPPFLAGS'
8692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8696 LIBEXT="dylib"
8697 DLLFLAGS="$DLLFLAGS -fPIC"
8698 LDDLLFLAGS="-fPIC"
8699 COREFOUNDATION_LIBS="-framework CoreFoundation"
8701 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8703 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8705 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8707 CORESERVICES_LIBS="-framework CoreServices"
8709 APPKIT_LIBS="-framework AppKit"
8711 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8714 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8716 wine_can_build_preloader=yes
8717 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8719 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8720 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8721 $as_echo_n "(cached) " >&6
8722 else
8723 ac_wine_try_cflags_saved=$CFLAGS
8724 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8727 int main(int argc, char **argv) { return 0; }
8728 _ACEOF
8729 if ac_fn_c_try_link "$LINENO"; then :
8730 ac_cv_cflags__Wl__no_new_main__e__main=yes
8731 else
8732 ac_cv_cflags__Wl__no_new_main__e__main=no
8734 rm -f core conftest.err conftest.$ac_objext \
8735 conftest$ac_exeext conftest.$ac_ext
8736 CFLAGS=$ac_wine_try_cflags_saved
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8739 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8740 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8741 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8743 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8744 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8745 $as_echo_n "(cached) " >&6
8746 else
8747 ac_wine_try_cflags_saved=$CFLAGS
8748 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8751 int main(int argc, char **argv) { return 0; }
8752 _ACEOF
8753 if ac_fn_c_try_link "$LINENO"; then :
8754 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8755 else
8756 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8758 rm -f core conftest.err conftest.$ac_objext \
8759 conftest$ac_exeext conftest.$ac_ext
8760 CFLAGS=$ac_wine_try_cflags_saved
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8763 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8764 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8765 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8766 else
8767 { $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
8768 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8769 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8770 $as_echo_n "(cached) " >&6
8771 else
8772 ac_wine_try_cflags_saved=$CFLAGS
8773 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8775 /* end confdefs.h. */
8776 int main(int argc, char **argv) { return 0; }
8777 _ACEOF
8778 if ac_fn_c_try_link "$LINENO"; then :
8779 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8780 else
8781 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8783 rm -f core conftest.err conftest.$ac_objext \
8784 conftest$ac_exeext conftest.$ac_ext
8785 CFLAGS=$ac_wine_try_cflags_saved
8787 { $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
8788 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8789 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8790 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8791 else
8792 wine_can_build_preloader=no
8795 else
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8797 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8798 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8799 $as_echo_n "(cached) " >&6
8800 else
8801 ac_wine_try_cflags_saved=$CFLAGS
8802 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8805 int main(int argc, char **argv) { return 0; }
8806 _ACEOF
8807 if ac_fn_c_try_link "$LINENO"; then :
8808 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8809 else
8810 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8812 rm -f core conftest.err conftest.$ac_objext \
8813 conftest$ac_exeext conftest.$ac_ext
8814 CFLAGS=$ac_wine_try_cflags_saved
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8817 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8818 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8819 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8820 else
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8822 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8823 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8824 $as_echo_n "(cached) " >&6
8825 else
8826 ac_wine_try_cflags_saved=$CFLAGS
8827 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8829 /* end confdefs.h. */
8830 int main(int argc, char **argv) { return 0; }
8831 _ACEOF
8832 if ac_fn_c_try_link "$LINENO"; then :
8833 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8834 else
8835 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8837 rm -f core conftest.err conftest.$ac_objext \
8838 conftest$ac_exeext conftest.$ac_ext
8839 CFLAGS=$ac_wine_try_cflags_saved
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8842 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8843 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8844 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8845 else
8846 wine_can_build_preloader=no
8850 if test "$wine_can_build_preloader" = "yes"
8851 then
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8853 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8854 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8855 $as_echo_n "(cached) " >&6
8856 else
8857 ac_wine_try_cflags_saved=$CFLAGS
8858 CFLAGS="$CFLAGS -Wl,-no_pie"
8859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8861 int main(int argc, char **argv) { return 0; }
8862 _ACEOF
8863 if ac_fn_c_try_link "$LINENO"; then :
8864 ac_cv_cflags__Wl__no_pie=yes
8865 else
8866 ac_cv_cflags__Wl__no_pie=no
8868 rm -f core conftest.err conftest.$ac_objext \
8869 conftest$ac_exeext conftest.$ac_ext
8870 CFLAGS=$ac_wine_try_cflags_saved
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8873 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8874 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8875 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8877 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8878 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8879 else
8880 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8883 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8884 then
8885 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8888 if test "$ac_cv_header_Security_Security_h" = "yes"
8889 then
8890 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8892 ac_save_LIBS="$LIBS"
8893 LIBS="$LIBS $SECURITY_LIBS"
8894 for ac_func in SSLCopyPeerCertificates
8895 do :
8896 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8897 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8898 cat >>confdefs.h <<_ACEOF
8899 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8900 _ACEOF
8903 done
8905 LIBS="$ac_save_LIBS"
8907 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8908 then
8909 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8910 then
8911 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8913 else
8914 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8917 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8918 ac_save_LIBS="$LIBS"
8919 LIBS="$LIBS $COREAUDIO_LIBS"
8920 for ac_func in AUGraphAddNode
8921 do :
8922 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8923 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8924 cat >>confdefs.h <<_ACEOF
8925 #define HAVE_AUGRAPHADDNODE 1
8926 _ACEOF
8929 done
8931 LIBS="$ac_save_LIBS"
8933 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8934 then
8935 OPENAL_LIBS="-framework OpenAL"
8938 cat >>confdefs.h <<_ACEOF
8939 #define HAVE_OPENAL 1
8940 _ACEOF
8942 ac_cv_lib_openal=yes
8944 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8945 then
8946 OPENCL_LIBS="-framework OpenCL"
8948 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8950 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8951 then
8952 ac_save_LIBS="$LIBS"
8953 LIBS="$LIBS $IOKIT_LIBS"
8954 for ac_func in IOHIDManagerCreate
8955 do :
8956 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8957 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8958 cat >>confdefs.h <<_ACEOF
8959 #define HAVE_IOHIDMANAGERCREATE 1
8960 _ACEOF
8963 done
8965 LIBS="$ac_save_LIBS"
8968 if test "x$with_quicktime" != "xno"
8969 then
8970 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8971 then
8972 ac_save_LIBS="$LIBS"
8973 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8975 $as_echo_n "checking for the QuickTime framework... " >&6; }
8976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8977 /* end confdefs.h. */
8978 #include <QuickTime/ImageCompression.h>
8980 main ()
8982 CodecManagerVersion(NULL);
8984 return 0;
8986 _ACEOF
8987 if ac_fn_c_try_link "$LINENO"; then :
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8989 $as_echo "yes" >&6; }
8990 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8992 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8993 else
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8995 $as_echo "no" >&6; }
8996 ac_cv_header_QuickTime_ImageCompression_h=no
8998 rm -f core conftest.err conftest.$ac_objext \
8999 conftest$ac_exeext conftest.$ac_ext
9000 LIBS="$ac_save_LIBS"
9003 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9004 case "x$with_quicktime" in
9005 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9006 xno) ;;
9007 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9008 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9009 esac
9013 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9014 then
9015 CARBON_LIBS="-framework Carbon"
9018 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9019 then
9020 METAL_LIBS="-framework Metal -framework QuartzCore"
9024 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9025 then
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9027 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9028 ac_ext=m
9029 ac_cpp='$OBJCPP $CPPFLAGS'
9030 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9031 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9032 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9035 /* end confdefs.h. */
9036 #include <Metal/Metal.h>
9038 main ()
9040 id<MTLDevice> device; device.registryID;
9042 return 0;
9044 _ACEOF
9045 if ac_fn_objc_try_compile "$LINENO"; then :
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9047 $as_echo "yes" >&6; }
9049 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9051 else
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9053 $as_echo "no" >&6; }
9055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9056 ac_ext=c
9057 ac_cpp='$CPP $CPPFLAGS'
9058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9064 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9065 then
9066 ac_save_LIBS="$LIBS"
9067 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9068 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9069 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9070 enable_winemac_drv=${enable_winemac_drv:-yes}
9073 LIBS="$ac_save_LIBS"
9076 if test "x$enable_win16" = "xyes"
9077 then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9079 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9080 if test "$cross_compiling" = yes; then :
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9082 $as_echo "cross-compiling, assuming yes" >&6; }
9083 else
9084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9086 asm(".text\n"
9087 "bad:\tnop;nop\n"
9088 "good:\tnop;nop\n\t"
9089 ".globl _testfunc\n"
9090 "_testfunc:\tcallw good");
9091 extern void testfunc();
9093 main ()
9095 unsigned short *p = (unsigned short *)testfunc;
9096 return p[0] != 0xe866 || p[1] != 0xfffa
9098 return 0;
9100 _ACEOF
9101 if ac_fn_c_try_run "$LINENO"; then :
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9103 $as_echo "yes" >&6; }
9104 else
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9106 $as_echo "no" >&6; }
9107 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
9109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9110 conftest.$ac_objext conftest.beam conftest.$ac_ext
9115 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9117 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9119 WINELOADER_DEPENDS="wine_info.plist"
9121 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9122 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9125 linux-android*)
9126 DLLFLAGS="$DLLFLAGS -fPIC"
9127 LDDLLFLAGS="-fPIC"
9128 LDEXECFLAGS="-Wl,-pie"
9129 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9131 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9132 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9133 $as_echo_n "(cached) " >&6
9134 else
9135 ac_wine_try_cflags_saved=$CFLAGS
9136 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9139 int main(int argc, char **argv) { return 0; }
9140 _ACEOF
9141 if ac_fn_c_try_link "$LINENO"; then :
9142 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9143 else
9144 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9146 rm -f core conftest.err conftest.$ac_objext \
9147 conftest$ac_exeext conftest.$ac_ext
9148 CFLAGS=$ac_wine_try_cflags_saved
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9151 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9152 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9153 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9155 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9157 LIBWINE_SHAREDLIB="libwine.so"
9159 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9161 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9164 $as_echo_n "checking for -lEGL... " >&6; }
9165 if ${ac_cv_lib_soname_EGL+:} false; then :
9166 $as_echo_n "(cached) " >&6
9167 else
9168 ac_check_soname_save_LIBS=$LIBS
9169 LIBS="-lEGL $LIBS"
9170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9171 /* end confdefs.h. */
9173 /* Override any GCC internal prototype to avoid an error.
9174 Use char because int might match the return type of a GCC
9175 builtin and then its argument prototype would still apply. */
9176 #ifdef __cplusplus
9177 extern "C"
9178 #endif
9179 char eglGetProcAddress ();
9181 main ()
9183 return eglGetProcAddress ();
9185 return 0;
9187 _ACEOF
9188 if ac_fn_c_try_link "$LINENO"; then :
9189 case "$LIBEXT" in
9190 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9191 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'` ;;
9192 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9193 if ${ac_cv_lib_soname_EGL:+false} :; then :
9194 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9195 fi ;;
9196 esac
9197 else
9198 ac_cv_lib_soname_EGL=
9200 rm -f core conftest.err conftest.$ac_objext \
9201 conftest$ac_exeext conftest.$ac_ext
9202 LIBS=$ac_check_soname_save_LIBS
9204 if ${ac_cv_lib_soname_EGL:+false} :; then :
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9206 $as_echo "not found" >&6; }
9208 else
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9210 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9212 cat >>confdefs.h <<_ACEOF
9213 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9214 _ACEOF
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9219 $as_echo_n "checking for -lGLESv2... " >&6; }
9220 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9221 $as_echo_n "(cached) " >&6
9222 else
9223 ac_check_soname_save_LIBS=$LIBS
9224 LIBS="-lGLESv2 $LIBS"
9225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9226 /* end confdefs.h. */
9228 /* Override any GCC internal prototype to avoid an error.
9229 Use char because int might match the return type of a GCC
9230 builtin and then its argument prototype would still apply. */
9231 #ifdef __cplusplus
9232 extern "C"
9233 #endif
9234 char glFlush ();
9236 main ()
9238 return glFlush ();
9240 return 0;
9242 _ACEOF
9243 if ac_fn_c_try_link "$LINENO"; then :
9244 case "$LIBEXT" in
9245 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9246 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'` ;;
9247 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9248 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9249 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9250 fi ;;
9251 esac
9252 else
9253 ac_cv_lib_soname_GLESv2=
9255 rm -f core conftest.err conftest.$ac_objext \
9256 conftest$ac_exeext conftest.$ac_ext
9257 LIBS=$ac_check_soname_save_LIBS
9259 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9261 $as_echo "not found" >&6; }
9263 else
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9265 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9267 cat >>confdefs.h <<_ACEOF
9268 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9269 _ACEOF
9274 if test "x$exec_prefix" = xNONE
9275 then
9276 case $host_cpu in
9277 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9278 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9279 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9280 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9281 esac
9286 case $host_cpu in
9287 *i[3456789]86*)
9288 DLLFLAGS="$DLLFLAGS -fno-PIC"
9289 LDDLLFLAGS="-fno-PIC" ;;
9291 DLLFLAGS="$DLLFLAGS -fPIC"
9292 LDDLLFLAGS="-fPIC" ;;
9293 esac
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9295 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9296 if ${ac_cv_c_dll_gnuelf+:} false; then :
9297 $as_echo_n "(cached) " >&6
9298 else
9299 ac_wine_try_cflags_saved=$CFLAGS
9300 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9303 void myfunc() {}
9304 _ACEOF
9305 if ac_fn_c_try_link "$LINENO"; then :
9306 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9307 else
9308 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9310 rm -f core conftest.err conftest.$ac_objext \
9311 conftest$ac_exeext conftest.$ac_ext
9312 CFLAGS=$ac_wine_try_cflags_saved
9313 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9314 ac_cv_c_dll_gnuelf="yes"
9315 else
9316 ac_cv_c_dll_gnuelf="no"
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9320 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9321 if test "$ac_cv_c_dll_gnuelf" = "yes"
9322 then
9323 LIBWINE_LDFLAGS="-shared"
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9325 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9326 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9327 $as_echo_n "(cached) " >&6
9328 else
9329 ac_wine_try_cflags_saved=$CFLAGS
9330 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9332 /* end confdefs.h. */
9333 int main(int argc, char **argv) { return 0; }
9334 _ACEOF
9335 if ac_fn_c_try_link "$LINENO"; then :
9336 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9337 else
9338 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9340 rm -f core conftest.err conftest.$ac_objext \
9341 conftest$ac_exeext conftest.$ac_ext
9342 CFLAGS=$ac_wine_try_cflags_saved
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9345 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9346 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9347 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9348 else
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9350 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9351 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9352 $as_echo_n "(cached) " >&6
9353 else
9354 ac_wine_try_cflags_saved=$CFLAGS
9355 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9358 int main(int argc, char **argv) { return 0; }
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9362 else
9363 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 CFLAGS=$ac_wine_try_cflags_saved
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9370 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9371 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9372 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9376 echo '{ global: *; };' >conftest.map
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9378 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9379 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9380 $as_echo_n "(cached) " >&6
9381 else
9382 ac_wine_try_cflags_saved=$CFLAGS
9383 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9386 int main(int argc, char **argv) { return 0; }
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9390 else
9391 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9393 rm -f core conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
9395 CFLAGS=$ac_wine_try_cflags_saved
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9398 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9399 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9400 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9402 rm -f conftest.map
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9405 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9406 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9407 $as_echo_n "(cached) " >&6
9408 else
9409 ac_wine_try_cflags_saved=$CFLAGS
9410 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9413 int main(int argc, char **argv) { return 0; }
9414 _ACEOF
9415 if ac_fn_c_try_link "$LINENO"; then :
9416 ac_cv_cflags__Wl___export_dynamic=yes
9417 else
9418 ac_cv_cflags__Wl___export_dynamic=no
9420 rm -f core conftest.err conftest.$ac_objext \
9421 conftest$ac_exeext conftest.$ac_ext
9422 CFLAGS=$ac_wine_try_cflags_saved
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9425 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9426 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9427 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9429 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9431 case $host_cpu in
9432 *i[3456789]86* | x86_64 | *aarch64*)
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9434 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9435 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9436 $as_echo_n "(cached) " >&6
9437 else
9438 ac_wine_try_cflags_saved=$CFLAGS
9439 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9442 int main(int argc, char **argv) { return 0; }
9443 _ACEOF
9444 if ac_fn_c_try_link "$LINENO"; then :
9445 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9446 else
9447 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9449 rm -f core conftest.err conftest.$ac_objext \
9450 conftest$ac_exeext conftest.$ac_ext
9451 CFLAGS=$ac_wine_try_cflags_saved
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9454 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9455 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9456 case $host_os in
9457 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9458 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9459 esac
9460 else
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9462 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9463 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_wine_try_cflags_saved=$CFLAGS
9467 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9470 int main(int argc, char **argv) { return 0; }
9471 _ACEOF
9472 if ac_fn_c_try_link "$LINENO"; then :
9473 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9474 else
9475 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9477 rm -f core conftest.err conftest.$ac_objext \
9478 conftest$ac_exeext conftest.$ac_ext
9479 CFLAGS=$ac_wine_try_cflags_saved
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9482 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9483 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9484 case $host_os in
9485 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9486 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9487 esac
9489 # Extract the first word of "prelink", so it can be a program name with args.
9490 set dummy prelink; ac_word=$2
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9492 $as_echo_n "checking for $ac_word... " >&6; }
9493 if ${ac_cv_path_PRELINK+:} false; then :
9494 $as_echo_n "(cached) " >&6
9495 else
9496 case $PRELINK in
9497 [\\/]* | ?:[\\/]*)
9498 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9502 for as_dir in /sbin /usr/sbin $PATH
9504 IFS=$as_save_IFS
9505 test -z "$as_dir" && as_dir=.
9506 for ac_exec_ext in '' $ac_executable_extensions; do
9507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9508 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9510 break 2
9512 done
9513 done
9514 IFS=$as_save_IFS
9516 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9518 esac
9520 PRELINK=$ac_cv_path_PRELINK
9521 if test -n "$PRELINK"; then
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9523 $as_echo "$PRELINK" >&6; }
9524 else
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9526 $as_echo "no" >&6; }
9530 if test "x$PRELINK" = xfalse
9531 then
9532 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9536 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9537 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9538 $as_echo_n "(cached) " >&6
9539 else
9540 ac_wine_try_cflags_saved=$CFLAGS
9541 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9543 /* end confdefs.h. */
9544 int main(int argc, char **argv) { return 0; }
9545 _ACEOF
9546 if ac_fn_c_try_link "$LINENO"; then :
9547 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9548 else
9549 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9551 rm -f core conftest.err conftest.$ac_objext \
9552 conftest$ac_exeext conftest.$ac_ext
9553 CFLAGS=$ac_wine_try_cflags_saved
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9556 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9557 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9558 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9561 esac
9563 else
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9565 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9566 if ${ac_cv_c_dll_unixware+:} false; then :
9567 $as_echo_n "(cached) " >&6
9568 else
9569 ac_wine_try_cflags_saved=$CFLAGS
9570 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9572 /* end confdefs.h. */
9573 void myfunc() {}
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"; then :
9576 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9577 else
9578 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9580 rm -f core conftest.err conftest.$ac_objext \
9581 conftest$ac_exeext conftest.$ac_ext
9582 CFLAGS=$ac_wine_try_cflags_saved
9583 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9584 ac_cv_c_dll_unixware="yes"
9585 else
9586 ac_cv_c_dll_unixware="no"
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9590 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9591 if test "$ac_cv_c_dll_unixware" = "yes"
9592 then
9593 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9596 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9598 LIBWINE_DEPENDS="wine.map"
9600 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9601 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9603 esac
9605 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9606 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9607 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9608 enable_winemac_drv=${enable_winemac_drv:-no}
9609 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9612 if test "x$with_mingw" != xno
9613 then
9614 case "x$with_mingw" in
9615 x|xyes) case "$host_cpu" in
9616 aarch64*)
9617 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9618 arm*)
9619 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9620 i[3456789]86*)
9621 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
9622 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9623 mingw32-gcc" ;;
9624 x86_64)
9625 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
9626 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9628 ac_prefix_list="" ;;
9629 esac
9630 for ac_prog in $ac_prefix_list
9632 # Extract the first word of "$ac_prog", so it can be a program name with args.
9633 set dummy $ac_prog; ac_word=$2
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9635 $as_echo_n "checking for $ac_word... " >&6; }
9636 if ${ac_cv_prog_CROSSCC+:} false; then :
9637 $as_echo_n "(cached) " >&6
9638 else
9639 if test -n "$CROSSCC"; then
9640 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9641 else
9642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9643 for as_dir in $PATH
9645 IFS=$as_save_IFS
9646 test -z "$as_dir" && as_dir=.
9647 for ac_exec_ext in '' $ac_executable_extensions; do
9648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9649 ac_cv_prog_CROSSCC="$ac_prog"
9650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9651 break 2
9653 done
9654 done
9655 IFS=$as_save_IFS
9659 CROSSCC=$ac_cv_prog_CROSSCC
9660 if test -n "$CROSSCC"; then
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9662 $as_echo "$CROSSCC" >&6; }
9663 else
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9665 $as_echo "no" >&6; }
9669 test -n "$CROSSCC" && break
9670 done
9671 test -n "$CROSSCC" || CROSSCC="false"
9673 *) CROSSCC=$with_mingw ;;
9674 esac
9675 if test "$CROSSCC" != "false"
9676 then
9677 ac_save_CC="$CC"
9678 saved_CFLAGS=$CFLAGS
9679 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9681 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9685 CC="$CROSSCC"
9686 CFLAGS=$CROSSCFLAGS
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9688 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9689 if ${wine_cv_crosscc+:} false; then :
9690 $as_echo_n "(cached) " >&6
9691 else
9692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9693 /* end confdefs.h. */
9696 main ()
9700 return 0;
9702 _ACEOF
9703 if ac_fn_c_try_compile "$LINENO"; then :
9704 wine_cv_crosscc=yes
9705 else
9706 wine_cv_crosscc=no
9708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9711 $as_echo "$wine_cv_crosscc" >&6; }
9712 if test $wine_cv_crosscc = yes
9713 then
9714 set x $CROSSCC
9715 shift
9716 while test $# -ge 1
9718 case "$1" in
9719 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9720 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9721 esac
9722 shift
9723 done
9725 llvm_target=$CROSSTARGET
9726 llvm_cflags="-fuse-ld=lld"
9727 if test -z "$llvm_target"
9728 then
9729 case $host_cpu in
9730 *i[3456789]86*) llvm_target=i686-windows ;;
9731 *) llvm_target=$host_cpu-windows ;;
9732 esac
9734 case $llvm_target in
9735 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9736 esac
9737 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9739 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9740 if eval \${$as_ac_var+:} false; then :
9741 $as_echo_n "(cached) " >&6
9742 else
9743 ac_wine_try_cflags_saved=$CFLAGS
9744 ac_wine_try_cflags_saved_cc=$CC
9745 ac_wine_try_cflags_saved_exeext=$ac_exeext
9746 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9747 CC="$CROSSCC"
9748 ac_exeext=".exe"
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9751 int __cdecl mainCRTStartup(void) { return 0; }
9752 _ACEOF
9753 if ac_fn_c_try_link "$LINENO"; then :
9754 eval "$as_ac_var=yes"
9755 else
9756 eval "$as_ac_var=no"
9758 rm -f core conftest.err conftest.$ac_objext \
9759 conftest$ac_exeext conftest.$ac_ext
9760 CFLAGS=$ac_wine_try_cflags_saved
9761 CC=$ac_wine_try_cflags_saved_cc
9762 ac_exeext=$ac_wine_try_cflags_saved_exeext
9764 eval ac_res=\$$as_ac_var
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9766 $as_echo "$ac_res" >&6; }
9767 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9768 CROSSTARGET=$llvm_target
9769 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9770 DELAYLOADFLAG="-Wl,-delayload,"
9772 CFLAGS="$CFLAGS $llvm_cflags"
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9776 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9777 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9778 $as_echo_n "(cached) " >&6
9779 else
9780 ac_wine_try_cflags_saved=$CFLAGS
9781 ac_wine_try_cflags_saved_cc=$CC
9782 ac_wine_try_cflags_saved_exeext=$ac_exeext
9783 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9784 CC="$CROSSCC"
9785 ac_exeext=".exe"
9786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9787 /* end confdefs.h. */
9788 int __cdecl mainCRTStartup(void) { return 0; }
9789 _ACEOF
9790 if ac_fn_c_try_link "$LINENO"; then :
9791 ac_cv_crosscflags__fno_strict_aliasing=yes
9792 else
9793 ac_cv_crosscflags__fno_strict_aliasing=no
9795 rm -f core conftest.err conftest.$ac_objext \
9796 conftest$ac_exeext conftest.$ac_ext
9797 CFLAGS=$ac_wine_try_cflags_saved
9798 CC=$ac_wine_try_cflags_saved_cc
9799 ac_exeext=$ac_wine_try_cflags_saved_exeext
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9802 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9803 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9804 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9807 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9808 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9809 $as_echo_n "(cached) " >&6
9810 else
9811 ac_wine_try_cflags_saved=$CFLAGS
9812 ac_wine_try_cflags_saved_cc=$CC
9813 ac_wine_try_cflags_saved_exeext=$ac_exeext
9814 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9815 CC="$CROSSCC"
9816 ac_exeext=".exe"
9817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9818 /* end confdefs.h. */
9819 int __cdecl mainCRTStartup(void) { return 0; }
9820 _ACEOF
9821 if ac_fn_c_try_link "$LINENO"; then :
9822 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9823 else
9824 ac_cv_crosscflags__Werror_unknown_warning_option=no
9826 rm -f core conftest.err conftest.$ac_objext \
9827 conftest$ac_exeext conftest.$ac_ext
9828 CFLAGS=$ac_wine_try_cflags_saved
9829 CC=$ac_wine_try_cflags_saved_cc
9830 ac_exeext=$ac_wine_try_cflags_saved_exeext
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9833 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9834 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9835 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9838 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9839 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9840 $as_echo_n "(cached) " >&6
9841 else
9842 ac_wine_try_cflags_saved=$CFLAGS
9843 ac_wine_try_cflags_saved_cc=$CC
9844 ac_wine_try_cflags_saved_exeext=$ac_exeext
9845 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9846 CC="$CROSSCC"
9847 ac_exeext=".exe"
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9850 int __cdecl mainCRTStartup(void) { return 0; }
9851 _ACEOF
9852 if ac_fn_c_try_link "$LINENO"; then :
9853 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9854 else
9855 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9857 rm -f core conftest.err conftest.$ac_objext \
9858 conftest$ac_exeext conftest.$ac_ext
9859 CFLAGS=$ac_wine_try_cflags_saved
9860 CC=$ac_wine_try_cflags_saved_cc
9861 ac_exeext=$ac_wine_try_cflags_saved_exeext
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9864 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9865 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9866 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9869 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9870 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9871 $as_echo_n "(cached) " >&6
9872 else
9873 ac_wine_try_cflags_saved=$CFLAGS
9874 ac_wine_try_cflags_saved_cc=$CC
9875 ac_wine_try_cflags_saved_exeext=$ac_exeext
9876 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9877 CC="$CROSSCC"
9878 ac_exeext=".exe"
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9881 int __cdecl mainCRTStartup(void) { return 0; }
9882 _ACEOF
9883 if ac_fn_c_try_link "$LINENO"; then :
9884 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9885 else
9886 ac_cv_crosscflags__Wdeclaration_after_statement=no
9888 rm -f core conftest.err conftest.$ac_objext \
9889 conftest$ac_exeext conftest.$ac_ext
9890 CFLAGS=$ac_wine_try_cflags_saved
9891 CC=$ac_wine_try_cflags_saved_cc
9892 ac_exeext=$ac_wine_try_cflags_saved_exeext
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9895 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9896 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9897 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9900 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9901 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9902 $as_echo_n "(cached) " >&6
9903 else
9904 ac_wine_try_cflags_saved=$CFLAGS
9905 ac_wine_try_cflags_saved_cc=$CC
9906 ac_wine_try_cflags_saved_exeext=$ac_exeext
9907 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9908 CC="$CROSSCC"
9909 ac_exeext=".exe"
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9912 int __cdecl mainCRTStartup(void) { return 0; }
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"; then :
9915 ac_cv_crosscflags__Wempty_body=yes
9916 else
9917 ac_cv_crosscflags__Wempty_body=no
9919 rm -f core conftest.err conftest.$ac_objext \
9920 conftest$ac_exeext conftest.$ac_ext
9921 CFLAGS=$ac_wine_try_cflags_saved
9922 CC=$ac_wine_try_cflags_saved_cc
9923 ac_exeext=$ac_wine_try_cflags_saved_exeext
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9926 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9927 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9928 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9931 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9932 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9933 $as_echo_n "(cached) " >&6
9934 else
9935 ac_wine_try_cflags_saved=$CFLAGS
9936 ac_wine_try_cflags_saved_cc=$CC
9937 ac_wine_try_cflags_saved_exeext=$ac_exeext
9938 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9939 CC="$CROSSCC"
9940 ac_exeext=".exe"
9941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9943 int __cdecl mainCRTStartup(void) { return 0; }
9944 _ACEOF
9945 if ac_fn_c_try_link "$LINENO"; then :
9946 ac_cv_crosscflags__Wignored_qualifiers=yes
9947 else
9948 ac_cv_crosscflags__Wignored_qualifiers=no
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 CFLAGS=$ac_wine_try_cflags_saved
9953 CC=$ac_wine_try_cflags_saved_cc
9954 ac_exeext=$ac_wine_try_cflags_saved_exeext
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9957 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9958 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9959 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9962 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9963 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9964 $as_echo_n "(cached) " >&6
9965 else
9966 ac_wine_try_cflags_saved=$CFLAGS
9967 ac_wine_try_cflags_saved_cc=$CC
9968 ac_wine_try_cflags_saved_exeext=$ac_exeext
9969 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9970 CC="$CROSSCC"
9971 ac_exeext=".exe"
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int __cdecl mainCRTStartup(void) { return 0; }
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 ac_cv_crosscflags__Wpacked_not_aligned=yes
9978 else
9979 ac_cv_crosscflags__Wpacked_not_aligned=no
9981 rm -f core conftest.err conftest.$ac_objext \
9982 conftest$ac_exeext conftest.$ac_ext
9983 CFLAGS=$ac_wine_try_cflags_saved
9984 CC=$ac_wine_try_cflags_saved_cc
9985 ac_exeext=$ac_wine_try_cflags_saved_exeext
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9988 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9989 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9990 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9993 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9994 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9995 $as_echo_n "(cached) " >&6
9996 else
9997 ac_wine_try_cflags_saved=$CFLAGS
9998 ac_wine_try_cflags_saved_cc=$CC
9999 ac_wine_try_cflags_saved_exeext=$ac_exeext
10000 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10001 CC="$CROSSCC"
10002 ac_exeext=".exe"
10003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10004 /* end confdefs.h. */
10005 int __cdecl mainCRTStartup(void) { return 0; }
10006 _ACEOF
10007 if ac_fn_c_try_link "$LINENO"; then :
10008 ac_cv_crosscflags__Wpragma_pack=yes
10009 else
10010 ac_cv_crosscflags__Wpragma_pack=no
10012 rm -f core conftest.err conftest.$ac_objext \
10013 conftest$ac_exeext conftest.$ac_ext
10014 CFLAGS=$ac_wine_try_cflags_saved
10015 CC=$ac_wine_try_cflags_saved_cc
10016 ac_exeext=$ac_wine_try_cflags_saved_exeext
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10019 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10020 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10021 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10024 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10025 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10026 $as_echo_n "(cached) " >&6
10027 else
10028 ac_wine_try_cflags_saved=$CFLAGS
10029 ac_wine_try_cflags_saved_cc=$CC
10030 ac_wine_try_cflags_saved_exeext=$ac_exeext
10031 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10032 CC="$CROSSCC"
10033 ac_exeext=".exe"
10034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10035 /* end confdefs.h. */
10036 int __cdecl mainCRTStartup(void) { return 0; }
10037 _ACEOF
10038 if ac_fn_c_try_link "$LINENO"; then :
10039 ac_cv_crosscflags__Wshift_overflow_2=yes
10040 else
10041 ac_cv_crosscflags__Wshift_overflow_2=no
10043 rm -f core conftest.err conftest.$ac_objext \
10044 conftest$ac_exeext conftest.$ac_ext
10045 CFLAGS=$ac_wine_try_cflags_saved
10046 CC=$ac_wine_try_cflags_saved_cc
10047 ac_exeext=$ac_wine_try_cflags_saved_exeext
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10050 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10051 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10052 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10055 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10056 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10057 $as_echo_n "(cached) " >&6
10058 else
10059 ac_wine_try_cflags_saved=$CFLAGS
10060 ac_wine_try_cflags_saved_cc=$CC
10061 ac_wine_try_cflags_saved_exeext=$ac_exeext
10062 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10063 CC="$CROSSCC"
10064 ac_exeext=".exe"
10065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10066 /* end confdefs.h. */
10067 int __cdecl mainCRTStartup(void) { return 0; }
10068 _ACEOF
10069 if ac_fn_c_try_link "$LINENO"; then :
10070 ac_cv_crosscflags__Wstrict_prototypes=yes
10071 else
10072 ac_cv_crosscflags__Wstrict_prototypes=no
10074 rm -f core conftest.err conftest.$ac_objext \
10075 conftest$ac_exeext conftest.$ac_ext
10076 CFLAGS=$ac_wine_try_cflags_saved
10077 CC=$ac_wine_try_cflags_saved_cc
10078 ac_exeext=$ac_wine_try_cflags_saved_exeext
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10081 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10082 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10083 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10086 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10087 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10088 $as_echo_n "(cached) " >&6
10089 else
10090 ac_wine_try_cflags_saved=$CFLAGS
10091 ac_wine_try_cflags_saved_cc=$CC
10092 ac_wine_try_cflags_saved_exeext=$ac_exeext
10093 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10094 CC="$CROSSCC"
10095 ac_exeext=".exe"
10096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10097 /* end confdefs.h. */
10098 int __cdecl mainCRTStartup(void) { return 0; }
10099 _ACEOF
10100 if ac_fn_c_try_link "$LINENO"; then :
10101 ac_cv_crosscflags__Wtype_limits=yes
10102 else
10103 ac_cv_crosscflags__Wtype_limits=no
10105 rm -f core conftest.err conftest.$ac_objext \
10106 conftest$ac_exeext conftest.$ac_ext
10107 CFLAGS=$ac_wine_try_cflags_saved
10108 CC=$ac_wine_try_cflags_saved_cc
10109 ac_exeext=$ac_wine_try_cflags_saved_exeext
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10112 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10113 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10114 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10117 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10118 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10119 $as_echo_n "(cached) " >&6
10120 else
10121 ac_wine_try_cflags_saved=$CFLAGS
10122 ac_wine_try_cflags_saved_cc=$CC
10123 ac_wine_try_cflags_saved_exeext=$ac_exeext
10124 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10125 CC="$CROSSCC"
10126 ac_exeext=".exe"
10127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10129 int __cdecl mainCRTStartup(void) { return 0; }
10130 _ACEOF
10131 if ac_fn_c_try_link "$LINENO"; then :
10132 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10133 else
10134 ac_cv_crosscflags__Wunused_but_set_parameter=no
10136 rm -f core conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 CFLAGS=$ac_wine_try_cflags_saved
10139 CC=$ac_wine_try_cflags_saved_cc
10140 ac_exeext=$ac_wine_try_cflags_saved_exeext
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10143 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10144 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10145 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10148 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10149 if ${ac_cv_crosscflags__Wvla+:} false; then :
10150 $as_echo_n "(cached) " >&6
10151 else
10152 ac_wine_try_cflags_saved=$CFLAGS
10153 ac_wine_try_cflags_saved_cc=$CC
10154 ac_wine_try_cflags_saved_exeext=$ac_exeext
10155 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10156 CC="$CROSSCC"
10157 ac_exeext=".exe"
10158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10159 /* end confdefs.h. */
10160 int __cdecl mainCRTStartup(void) { return 0; }
10161 _ACEOF
10162 if ac_fn_c_try_link "$LINENO"; then :
10163 ac_cv_crosscflags__Wvla=yes
10164 else
10165 ac_cv_crosscflags__Wvla=no
10167 rm -f core conftest.err conftest.$ac_objext \
10168 conftest$ac_exeext conftest.$ac_ext
10169 CFLAGS=$ac_wine_try_cflags_saved
10170 CC=$ac_wine_try_cflags_saved_cc
10171 ac_exeext=$ac_wine_try_cflags_saved_exeext
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10174 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10175 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10176 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10179 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10180 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10181 $as_echo_n "(cached) " >&6
10182 else
10183 ac_wine_try_cflags_saved=$CFLAGS
10184 ac_wine_try_cflags_saved_cc=$CC
10185 ac_wine_try_cflags_saved_exeext=$ac_exeext
10186 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10187 CC="$CROSSCC"
10188 ac_exeext=".exe"
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10191 int __cdecl mainCRTStartup(void) { return 0; }
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"; then :
10194 ac_cv_crosscflags__Wwrite_strings=yes
10195 else
10196 ac_cv_crosscflags__Wwrite_strings=no
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 CFLAGS=$ac_wine_try_cflags_saved
10201 CC=$ac_wine_try_cflags_saved_cc
10202 ac_exeext=$ac_wine_try_cflags_saved_exeext
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10205 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10206 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10207 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10210 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10211 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10212 $as_echo_n "(cached) " >&6
10213 else
10214 ac_wine_try_cflags_saved=$CFLAGS
10215 ac_wine_try_cflags_saved_cc=$CC
10216 ac_wine_try_cflags_saved_exeext=$ac_exeext
10217 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10218 CC="$CROSSCC"
10219 ac_exeext=".exe"
10220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10222 int __cdecl mainCRTStartup(void) { return 0; }
10223 _ACEOF
10224 if ac_fn_c_try_link "$LINENO"; then :
10225 ac_cv_crosscflags__Wpointer_arith=yes
10226 else
10227 ac_cv_crosscflags__Wpointer_arith=no
10229 rm -f core conftest.err conftest.$ac_objext \
10230 conftest$ac_exeext conftest.$ac_ext
10231 CFLAGS=$ac_wine_try_cflags_saved
10232 CC=$ac_wine_try_cflags_saved_cc
10233 ac_exeext=$ac_wine_try_cflags_saved_exeext
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10236 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10237 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10238 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10241 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10242 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10243 $as_echo_n "(cached) " >&6
10244 else
10245 ac_wine_try_cflags_saved=$CFLAGS
10246 ac_wine_try_cflags_saved_cc=$CC
10247 ac_wine_try_cflags_saved_exeext=$ac_exeext
10248 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10249 CC="$CROSSCC"
10250 ac_exeext=".exe"
10251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h. */
10253 int __cdecl mainCRTStartup(void) { return 0; }
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10256 ac_cv_crosscflags__Wlogical_op=yes
10257 else
10258 ac_cv_crosscflags__Wlogical_op=no
10260 rm -f core conftest.err conftest.$ac_objext \
10261 conftest$ac_exeext conftest.$ac_ext
10262 CFLAGS=$ac_wine_try_cflags_saved
10263 CC=$ac_wine_try_cflags_saved_cc
10264 ac_exeext=$ac_wine_try_cflags_saved_exeext
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10267 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10268 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10269 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10272 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10273 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10274 $as_echo_n "(cached) " >&6
10275 else
10276 ac_wine_try_cflags_saved=$CFLAGS
10277 ac_wine_try_cflags_saved_cc=$CC
10278 ac_wine_try_cflags_saved_exeext=$ac_exeext
10279 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10280 CC="$CROSSCC"
10281 ac_exeext=".exe"
10282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283 /* end confdefs.h. */
10284 int __cdecl mainCRTStartup(void) { return 0; }
10285 _ACEOF
10286 if ac_fn_c_try_link "$LINENO"; then :
10287 ac_cv_crosscflags__Wabsolute_value=yes
10288 else
10289 ac_cv_crosscflags__Wabsolute_value=no
10291 rm -f core conftest.err conftest.$ac_objext \
10292 conftest$ac_exeext conftest.$ac_ext
10293 CFLAGS=$ac_wine_try_cflags_saved
10294 CC=$ac_wine_try_cflags_saved_cc
10295 ac_exeext=$ac_wine_try_cflags_saved_exeext
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10298 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10299 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10300 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10303 case $host_cpu in
10304 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10305 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10306 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10307 $as_echo_n "(cached) " >&6
10308 else
10309 ac_wine_try_cflags_saved=$CFLAGS
10310 ac_wine_try_cflags_saved_cc=$CC
10311 ac_wine_try_cflags_saved_exeext=$ac_exeext
10312 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10313 CC="$CROSSCC"
10314 ac_exeext=".exe"
10315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10317 int __cdecl mainCRTStartup(void) { return 0; }
10318 _ACEOF
10319 if ac_fn_c_try_link "$LINENO"; then :
10320 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10321 else
10322 ac_cv_crosscflags__fno_omit_frame_pointer=no
10324 rm -f core conftest.err conftest.$ac_objext \
10325 conftest$ac_exeext conftest.$ac_ext
10326 CFLAGS=$ac_wine_try_cflags_saved
10327 CC=$ac_wine_try_cflags_saved_cc
10328 ac_exeext=$ac_wine_try_cflags_saved_exeext
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10331 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10332 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10333 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10334 fi ;;
10335 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10336 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10337 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10338 $as_echo_n "(cached) " >&6
10339 else
10340 ac_wine_try_cflags_saved=$CFLAGS
10341 ac_wine_try_cflags_saved_cc=$CC
10342 ac_wine_try_cflags_saved_exeext=$ac_exeext
10343 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10344 CC="$CROSSCC"
10345 ac_exeext=".exe"
10346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10347 /* end confdefs.h. */
10348 int __cdecl mainCRTStartup(void) { return 0; }
10349 _ACEOF
10350 if ac_fn_c_try_link "$LINENO"; then :
10351 ac_cv_crosscflags__Wno_format=yes
10352 else
10353 ac_cv_crosscflags__Wno_format=no
10355 rm -f core conftest.err conftest.$ac_objext \
10356 conftest$ac_exeext conftest.$ac_ext
10357 CFLAGS=$ac_wine_try_cflags_saved
10358 CC=$ac_wine_try_cflags_saved_cc
10359 ac_exeext=$ac_wine_try_cflags_saved_exeext
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10362 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10363 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10364 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10367 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10368 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10369 $as_echo_n "(cached) " >&6
10370 else
10371 ac_wine_try_cflags_saved=$CFLAGS
10372 ac_wine_try_cflags_saved_cc=$CC
10373 ac_wine_try_cflags_saved_exeext=$ac_exeext
10374 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10375 CC="$CROSSCC"
10376 ac_exeext=".exe"
10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10379 int __cdecl mainCRTStartup(void) { return 0; }
10380 _ACEOF
10381 if ac_fn_c_try_link "$LINENO"; then :
10382 ac_cv_crosscflags__Wformat_overflow=yes
10383 else
10384 ac_cv_crosscflags__Wformat_overflow=no
10386 rm -f core conftest.err conftest.$ac_objext \
10387 conftest$ac_exeext conftest.$ac_ext
10388 CFLAGS=$ac_wine_try_cflags_saved
10389 CC=$ac_wine_try_cflags_saved_cc
10390 ac_exeext=$ac_wine_try_cflags_saved_exeext
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10393 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10394 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10395 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10398 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10399 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10400 $as_echo_n "(cached) " >&6
10401 else
10402 ac_wine_try_cflags_saved=$CFLAGS
10403 ac_wine_try_cflags_saved_cc=$CC
10404 ac_wine_try_cflags_saved_exeext=$ac_exeext
10405 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10406 CC="$CROSSCC"
10407 ac_exeext=".exe"
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10410 int __cdecl mainCRTStartup(void) { return 0; }
10411 _ACEOF
10412 if ac_fn_c_try_link "$LINENO"; then :
10413 ac_cv_crosscflags__Wnonnull=yes
10414 else
10415 ac_cv_crosscflags__Wnonnull=no
10417 rm -f core conftest.err conftest.$ac_objext \
10418 conftest$ac_exeext conftest.$ac_ext
10419 CFLAGS=$ac_wine_try_cflags_saved
10420 CC=$ac_wine_try_cflags_saved_cc
10421 ac_exeext=$ac_wine_try_cflags_saved_exeext
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10424 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10425 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10426 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10429 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10430 if ${ac_cv_crosscflags__mcx16+:} false; then :
10431 $as_echo_n "(cached) " >&6
10432 else
10433 ac_wine_try_cflags_saved=$CFLAGS
10434 ac_wine_try_cflags_saved_cc=$CC
10435 ac_wine_try_cflags_saved_exeext=$ac_exeext
10436 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10437 CC="$CROSSCC"
10438 ac_exeext=".exe"
10439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10440 /* end confdefs.h. */
10441 int __cdecl mainCRTStartup(void) { return 0; }
10442 _ACEOF
10443 if ac_fn_c_try_link "$LINENO"; then :
10444 ac_cv_crosscflags__mcx16=yes
10445 else
10446 ac_cv_crosscflags__mcx16=no
10448 rm -f core conftest.err conftest.$ac_objext \
10449 conftest$ac_exeext conftest.$ac_ext
10450 CFLAGS=$ac_wine_try_cflags_saved
10451 CC=$ac_wine_try_cflags_saved_cc
10452 ac_exeext=$ac_wine_try_cflags_saved_exeext
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10455 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10456 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10457 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10458 fi ;;
10459 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10460 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10461 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10462 $as_echo_n "(cached) " >&6
10463 else
10464 ac_wine_try_cflags_saved=$CFLAGS
10465 ac_wine_try_cflags_saved_cc=$CC
10466 ac_wine_try_cflags_saved_exeext=$ac_exeext
10467 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10468 CC="$CROSSCC"
10469 ac_exeext=".exe"
10470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10471 /* end confdefs.h. */
10472 int __cdecl mainCRTStartup(void) { return 0; }
10473 _ACEOF
10474 if ac_fn_c_try_link "$LINENO"; then :
10475 ac_cv_crosscflags__Wno_format=yes
10476 else
10477 ac_cv_crosscflags__Wno_format=no
10479 rm -f core conftest.err conftest.$ac_objext \
10480 conftest$ac_exeext conftest.$ac_ext
10481 CFLAGS=$ac_wine_try_cflags_saved
10482 CC=$ac_wine_try_cflags_saved_cc
10483 ac_exeext=$ac_wine_try_cflags_saved_exeext
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10486 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10487 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10488 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10489 fi ;;
10490 esac
10493 if test -z "$CROSSDEBUG"
10494 then
10495 for ac_flag in $CROSSCFLAGS; do
10496 case $ac_flag in
10497 -gdwarf*) CROSSDEBUG=dwarf ;;
10498 -gcodeview) CROSSDEBUG=pdb ;;
10499 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10500 esac
10501 done
10503 case $CROSSDEBUG in
10504 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10505 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10506 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10507 $as_echo_n "(cached) " >&6
10508 else
10509 ac_wine_try_cflags_saved=$CFLAGS
10510 ac_wine_try_cflags_saved_cc=$CC
10511 ac_wine_try_cflags_saved_exeext=$ac_exeext
10512 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10513 CC="$CROSSCC"
10514 ac_exeext=".exe"
10515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10516 /* end confdefs.h. */
10517 int __cdecl mainCRTStartup(void) { return 0; }
10518 _ACEOF
10519 if ac_fn_c_try_link "$LINENO"; then :
10520 ac_cv_crosscflags__gdwarf_2=yes
10521 else
10522 ac_cv_crosscflags__gdwarf_2=no
10524 rm -f core conftest.err conftest.$ac_objext \
10525 conftest$ac_exeext conftest.$ac_ext
10526 CFLAGS=$ac_wine_try_cflags_saved
10527 CC=$ac_wine_try_cflags_saved_cc
10528 ac_exeext=$ac_wine_try_cflags_saved_exeext
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10531 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10532 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10533 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10536 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10537 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10538 $as_echo_n "(cached) " >&6
10539 else
10540 ac_wine_try_cflags_saved=$CFLAGS
10541 ac_wine_try_cflags_saved_cc=$CC
10542 ac_wine_try_cflags_saved_exeext=$ac_exeext
10543 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10544 CC="$CROSSCC"
10545 ac_exeext=".exe"
10546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10547 /* end confdefs.h. */
10548 int __cdecl mainCRTStartup(void) { return 0; }
10549 _ACEOF
10550 if ac_fn_c_try_link "$LINENO"; then :
10551 ac_cv_crosscflags__gstrict_dwarf=yes
10552 else
10553 ac_cv_crosscflags__gstrict_dwarf=no
10555 rm -f core conftest.err conftest.$ac_objext \
10556 conftest$ac_exeext conftest.$ac_ext
10557 CFLAGS=$ac_wine_try_cflags_saved
10558 CC=$ac_wine_try_cflags_saved_cc
10559 ac_exeext=$ac_wine_try_cflags_saved_exeext
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10562 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10563 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10564 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10565 fi ;;
10566 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10567 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10568 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10569 $as_echo_n "(cached) " >&6
10570 else
10571 ac_wine_try_cflags_saved=$CFLAGS
10572 ac_wine_try_cflags_saved_cc=$CC
10573 ac_wine_try_cflags_saved_exeext=$ac_exeext
10574 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10575 CC="$CROSSCC"
10576 ac_exeext=".exe"
10577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10579 int __cdecl mainCRTStartup(void) { return 0; }
10580 _ACEOF
10581 if ac_fn_c_try_link "$LINENO"; then :
10582 ac_cv_crosscflags__gcodeview=yes
10583 else
10584 ac_cv_crosscflags__gcodeview=no
10586 rm -f core conftest.err conftest.$ac_objext \
10587 conftest$ac_exeext conftest.$ac_ext
10588 CFLAGS=$ac_wine_try_cflags_saved
10589 CC=$ac_wine_try_cflags_saved_cc
10590 ac_exeext=$ac_wine_try_cflags_saved_exeext
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10593 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10594 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10595 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10596 fi ;;
10597 esac
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10600 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10601 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10602 $as_echo_n "(cached) " >&6
10603 else
10604 ac_wine_try_cflags_saved=$CFLAGS
10605 ac_wine_try_cflags_saved_cc=$CC
10606 ac_wine_try_cflags_saved_exeext=$ac_exeext
10607 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10608 CC="$CROSSCC"
10609 ac_exeext=".exe"
10610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10611 /* end confdefs.h. */
10612 int __cdecl mainCRTStartup(void) { return 0; }
10613 _ACEOF
10614 if ac_fn_c_try_link "$LINENO"; then :
10615 ac_cv_crosscflags__fexcess_precision_standard=yes
10616 else
10617 ac_cv_crosscflags__fexcess_precision_standard=no
10619 rm -f core conftest.err conftest.$ac_objext \
10620 conftest$ac_exeext conftest.$ac_ext
10621 CFLAGS=$ac_wine_try_cflags_saved
10622 CC=$ac_wine_try_cflags_saved_cc
10623 ac_exeext=$ac_wine_try_cflags_saved_exeext
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10626 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10627 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10628 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10632 if test "x$enable_werror" = "xyes"
10633 then
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10635 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10636 if ${ac_cv_crosscflags__Werror+:} false; then :
10637 $as_echo_n "(cached) " >&6
10638 else
10639 ac_wine_try_cflags_saved=$CFLAGS
10640 ac_wine_try_cflags_saved_cc=$CC
10641 ac_wine_try_cflags_saved_exeext=$ac_exeext
10642 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10643 CC="$CROSSCC"
10644 ac_exeext=".exe"
10645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10646 /* end confdefs.h. */
10647 int __cdecl mainCRTStartup(void) { return 0; }
10648 _ACEOF
10649 if ac_fn_c_try_link "$LINENO"; then :
10650 ac_cv_crosscflags__Werror=yes
10651 else
10652 ac_cv_crosscflags__Werror=no
10654 rm -f core conftest.err conftest.$ac_objext \
10655 conftest$ac_exeext conftest.$ac_ext
10656 CFLAGS=$ac_wine_try_cflags_saved
10657 CC=$ac_wine_try_cflags_saved_cc
10658 ac_exeext=$ac_wine_try_cflags_saved_exeext
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10661 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10662 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10663 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10667 CFLAGS=$saved_CFLAGS
10668 CC="$ac_save_CC"
10671 if test "x$CROSSTARGET" = "x"; then :
10672 case "x$with_mingw" in
10673 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10674 xno) ;;
10675 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10676 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10677 esac
10682 if test "$ac_cv_header_pthread_h" = "yes"
10683 then
10684 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10685 if test "x$ac_cv_func_pthread_create" = xyes; then :
10687 else
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10689 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10690 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10691 $as_echo_n "(cached) " >&6
10692 else
10693 ac_check_lib_save_LIBS=$LIBS
10694 LIBS="-lpthread $LIBS"
10695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10696 /* end confdefs.h. */
10698 /* Override any GCC internal prototype to avoid an error.
10699 Use char because int might match the return type of a GCC
10700 builtin and then its argument prototype would still apply. */
10701 #ifdef __cplusplus
10702 extern "C"
10703 #endif
10704 char pthread_create ();
10706 main ()
10708 return pthread_create ();
10710 return 0;
10712 _ACEOF
10713 if ac_fn_c_try_link "$LINENO"; then :
10714 ac_cv_lib_pthread_pthread_create=yes
10715 else
10716 ac_cv_lib_pthread_pthread_create=no
10718 rm -f core conftest.err conftest.$ac_objext \
10719 conftest$ac_exeext conftest.$ac_ext
10720 LIBS=$ac_check_lib_save_LIBS
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10723 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10724 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10725 PTHREAD_LIBS="-lpthread"
10732 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10733 case "x$with_pthread" in
10734 xno) ;;
10735 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10736 Wine cannot support threads without libpthread.
10737 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10738 esac
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10744 $as_echo_n "checking for X... " >&6; }
10747 # Check whether --with-x was given.
10748 if test "${with_x+set}" = set; then :
10749 withval=$with_x;
10752 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10753 if test "x$with_x" = xno; then
10754 # The user explicitly disabled X.
10755 have_x=disabled
10756 else
10757 case $x_includes,$x_libraries in #(
10758 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10759 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10760 $as_echo_n "(cached) " >&6
10761 else
10762 # One or both of the vars are not set, and there is no cached value.
10763 ac_x_includes=no ac_x_libraries=no
10764 rm -f -r conftest.dir
10765 if mkdir conftest.dir; then
10766 cd conftest.dir
10767 cat >Imakefile <<'_ACEOF'
10768 incroot:
10769 @echo incroot='${INCROOT}'
10770 usrlibdir:
10771 @echo usrlibdir='${USRLIBDIR}'
10772 libdir:
10773 @echo libdir='${LIBDIR}'
10774 _ACEOF
10775 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10776 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10777 for ac_var in incroot usrlibdir libdir; do
10778 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10779 done
10780 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10781 for ac_extension in a so sl dylib la dll; do
10782 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10783 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10784 ac_im_usrlibdir=$ac_im_libdir; break
10786 done
10787 # Screen out bogus values from the imake configuration. They are
10788 # bogus both because they are the default anyway, and because
10789 # using them would break gcc on systems where it needs fixed includes.
10790 case $ac_im_incroot in
10791 /usr/include) ac_x_includes= ;;
10792 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10793 esac
10794 case $ac_im_usrlibdir in
10795 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10796 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10797 esac
10799 cd ..
10800 rm -f -r conftest.dir
10803 # Standard set of common directories for X headers.
10804 # Check X11 before X11Rn because it is often a symlink to the current release.
10805 ac_x_header_dirs='
10806 /usr/X11/include
10807 /usr/X11R7/include
10808 /usr/X11R6/include
10809 /usr/X11R5/include
10810 /usr/X11R4/include
10812 /usr/include/X11
10813 /usr/include/X11R7
10814 /usr/include/X11R6
10815 /usr/include/X11R5
10816 /usr/include/X11R4
10818 /usr/local/X11/include
10819 /usr/local/X11R7/include
10820 /usr/local/X11R6/include
10821 /usr/local/X11R5/include
10822 /usr/local/X11R4/include
10824 /usr/local/include/X11
10825 /usr/local/include/X11R7
10826 /usr/local/include/X11R6
10827 /usr/local/include/X11R5
10828 /usr/local/include/X11R4
10830 /usr/X386/include
10831 /usr/x386/include
10832 /usr/XFree86/include/X11
10834 /usr/include
10835 /usr/local/include
10836 /usr/unsupported/include
10837 /usr/athena/include
10838 /usr/local/x11r5/include
10839 /usr/lpp/Xamples/include
10841 /usr/openwin/include
10842 /usr/openwin/share/include'
10844 if test "$ac_x_includes" = no; then
10845 # Guess where to find include files, by looking for Xlib.h.
10846 # First, try using that file with no special directory specified.
10847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10848 /* end confdefs.h. */
10849 #include <X11/Xlib.h>
10850 _ACEOF
10851 if ac_fn_c_try_cpp "$LINENO"; then :
10852 # We can compile using X headers with no special include directory.
10853 ac_x_includes=
10854 else
10855 for ac_dir in $ac_x_header_dirs; do
10856 if test -r "$ac_dir/X11/Xlib.h"; then
10857 ac_x_includes=$ac_dir
10858 break
10860 done
10862 rm -f conftest.err conftest.i conftest.$ac_ext
10863 fi # $ac_x_includes = no
10865 if test "$ac_x_libraries" = no; then
10866 # Check for the libraries.
10867 # See if we find them without any special options.
10868 # Don't add to $LIBS permanently.
10869 ac_save_LIBS=$LIBS
10870 LIBS="-lX11 $LIBS"
10871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10873 #include <X11/Xlib.h>
10875 main ()
10877 XrmInitialize ()
10879 return 0;
10881 _ACEOF
10882 if ac_fn_c_try_link "$LINENO"; then :
10883 LIBS=$ac_save_LIBS
10884 # We can link X programs with no special library path.
10885 ac_x_libraries=
10886 else
10887 LIBS=$ac_save_LIBS
10888 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10890 # Don't even attempt the hair of trying to link an X program!
10891 for ac_extension in a so sl dylib la dll; do
10892 if test -r "$ac_dir/libX11.$ac_extension"; then
10893 ac_x_libraries=$ac_dir
10894 break 2
10896 done
10897 done
10899 rm -f core conftest.err conftest.$ac_objext \
10900 conftest$ac_exeext conftest.$ac_ext
10901 fi # $ac_x_libraries = no
10903 case $ac_x_includes,$ac_x_libraries in #(
10904 no,* | *,no | *\'*)
10905 # Didn't find X, or a directory has "'" in its name.
10906 ac_cv_have_x="have_x=no";; #(
10908 # Record where we found X for the cache.
10909 ac_cv_have_x="have_x=yes\
10910 ac_x_includes='$ac_x_includes'\
10911 ac_x_libraries='$ac_x_libraries'"
10912 esac
10914 ;; #(
10915 *) have_x=yes;;
10916 esac
10917 eval "$ac_cv_have_x"
10918 fi # $with_x != no
10920 if test "$have_x" != yes; then
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10922 $as_echo "$have_x" >&6; }
10923 no_x=yes
10924 else
10925 # If each of the values was on the command line, it overrides each guess.
10926 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10927 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10928 # Update the cache value to reflect the command line values.
10929 ac_cv_have_x="have_x=yes\
10930 ac_x_includes='$x_includes'\
10931 ac_x_libraries='$x_libraries'"
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10933 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10936 if test "$no_x" = yes; then
10937 # Not all programs may use this symbol, but it does not hurt to define it.
10939 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10941 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10942 else
10943 if test -n "$x_includes"; then
10944 X_CFLAGS="$X_CFLAGS -I$x_includes"
10947 # It would also be nice to do this for all -L options, not just this one.
10948 if test -n "$x_libraries"; then
10949 X_LIBS="$X_LIBS -L$x_libraries"
10950 # For Solaris; some versions of Sun CC require a space after -R and
10951 # others require no space. Words are not sufficient . . . .
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10953 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10954 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10955 ac_xsave_c_werror_flag=$ac_c_werror_flag
10956 ac_c_werror_flag=yes
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10961 main ()
10965 return 0;
10967 _ACEOF
10968 if ac_fn_c_try_link "$LINENO"; then :
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10970 $as_echo "no" >&6; }
10971 X_LIBS="$X_LIBS -R$x_libraries"
10972 else
10973 LIBS="$ac_xsave_LIBS -R $x_libraries"
10974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10975 /* end confdefs.h. */
10978 main ()
10982 return 0;
10984 _ACEOF
10985 if ac_fn_c_try_link "$LINENO"; then :
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10987 $as_echo "yes" >&6; }
10988 X_LIBS="$X_LIBS -R $x_libraries"
10989 else
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10991 $as_echo "neither works" >&6; }
10993 rm -f core conftest.err conftest.$ac_objext \
10994 conftest$ac_exeext conftest.$ac_ext
10996 rm -f core conftest.err conftest.$ac_objext \
10997 conftest$ac_exeext conftest.$ac_ext
10998 ac_c_werror_flag=$ac_xsave_c_werror_flag
10999 LIBS=$ac_xsave_LIBS
11002 # Check for system-dependent libraries X programs must link with.
11003 # Do this before checking for the system-independent R6 libraries
11004 # (-lICE), since we may need -lsocket or whatever for X linking.
11006 if test "$ISC" = yes; then
11007 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11008 else
11009 # Martyn Johnson says this is needed for Ultrix, if the X
11010 # libraries were built with DECnet support. And Karl Berry says
11011 # the Alpha needs dnet_stub (dnet does not exist).
11012 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11016 /* Override any GCC internal prototype to avoid an error.
11017 Use char because int might match the return type of a GCC
11018 builtin and then its argument prototype would still apply. */
11019 #ifdef __cplusplus
11020 extern "C"
11021 #endif
11022 char XOpenDisplay ();
11024 main ()
11026 return XOpenDisplay ();
11028 return 0;
11030 _ACEOF
11031 if ac_fn_c_try_link "$LINENO"; then :
11033 else
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11035 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11036 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11037 $as_echo_n "(cached) " >&6
11038 else
11039 ac_check_lib_save_LIBS=$LIBS
11040 LIBS="-ldnet $LIBS"
11041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11042 /* end confdefs.h. */
11044 /* Override any GCC internal prototype to avoid an error.
11045 Use char because int might match the return type of a GCC
11046 builtin and then its argument prototype would still apply. */
11047 #ifdef __cplusplus
11048 extern "C"
11049 #endif
11050 char dnet_ntoa ();
11052 main ()
11054 return dnet_ntoa ();
11056 return 0;
11058 _ACEOF
11059 if ac_fn_c_try_link "$LINENO"; then :
11060 ac_cv_lib_dnet_dnet_ntoa=yes
11061 else
11062 ac_cv_lib_dnet_dnet_ntoa=no
11064 rm -f core conftest.err conftest.$ac_objext \
11065 conftest$ac_exeext conftest.$ac_ext
11066 LIBS=$ac_check_lib_save_LIBS
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11069 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11070 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11071 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11074 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11076 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11077 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11078 $as_echo_n "(cached) " >&6
11079 else
11080 ac_check_lib_save_LIBS=$LIBS
11081 LIBS="-ldnet_stub $LIBS"
11082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11083 /* end confdefs.h. */
11085 /* Override any GCC internal prototype to avoid an error.
11086 Use char because int might match the return type of a GCC
11087 builtin and then its argument prototype would still apply. */
11088 #ifdef __cplusplus
11089 extern "C"
11090 #endif
11091 char dnet_ntoa ();
11093 main ()
11095 return dnet_ntoa ();
11097 return 0;
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"; then :
11101 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11102 else
11103 ac_cv_lib_dnet_stub_dnet_ntoa=no
11105 rm -f core conftest.err conftest.$ac_objext \
11106 conftest$ac_exeext conftest.$ac_ext
11107 LIBS=$ac_check_lib_save_LIBS
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11110 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11111 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11112 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11117 rm -f core conftest.err conftest.$ac_objext \
11118 conftest$ac_exeext conftest.$ac_ext
11119 LIBS="$ac_xsave_LIBS"
11121 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11122 # to get the SysV transport functions.
11123 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11124 # needs -lnsl.
11125 # The nsl library prevents programs from opening the X display
11126 # on Irix 5.2, according to T.E. Dickey.
11127 # The functions gethostbyname, getservbyname, and inet_addr are
11128 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11129 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11130 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11134 if test $ac_cv_func_gethostbyname = no; then
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11136 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11137 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11138 $as_echo_n "(cached) " >&6
11139 else
11140 ac_check_lib_save_LIBS=$LIBS
11141 LIBS="-lnsl $LIBS"
11142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11148 #ifdef __cplusplus
11149 extern "C"
11150 #endif
11151 char gethostbyname ();
11153 main ()
11155 return gethostbyname ();
11157 return 0;
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"; then :
11161 ac_cv_lib_nsl_gethostbyname=yes
11162 else
11163 ac_cv_lib_nsl_gethostbyname=no
11165 rm -f core conftest.err conftest.$ac_objext \
11166 conftest$ac_exeext conftest.$ac_ext
11167 LIBS=$ac_check_lib_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11170 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11171 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11172 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11175 if test $ac_cv_lib_nsl_gethostbyname = no; then
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11177 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11178 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11179 $as_echo_n "(cached) " >&6
11180 else
11181 ac_check_lib_save_LIBS=$LIBS
11182 LIBS="-lbsd $LIBS"
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11186 /* Override any GCC internal prototype to avoid an error.
11187 Use char because int might match the return type of a GCC
11188 builtin and then its argument prototype would still apply. */
11189 #ifdef __cplusplus
11190 extern "C"
11191 #endif
11192 char gethostbyname ();
11194 main ()
11196 return gethostbyname ();
11198 return 0;
11200 _ACEOF
11201 if ac_fn_c_try_link "$LINENO"; then :
11202 ac_cv_lib_bsd_gethostbyname=yes
11203 else
11204 ac_cv_lib_bsd_gethostbyname=no
11206 rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_lib_save_LIBS
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11211 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11212 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11213 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11219 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11220 # socket/setsockopt and other routines are undefined under SCO ODT
11221 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11222 # on later versions), says Simon Leinen: it contains gethostby*
11223 # variants that don't use the name server (or something). -lsocket
11224 # must be given before -lnsl if both are needed. We assume that
11225 # if connect needs -lnsl, so does gethostbyname.
11226 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11227 if test "x$ac_cv_func_connect" = xyes; then :
11231 if test $ac_cv_func_connect = no; then
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11233 $as_echo_n "checking for connect in -lsocket... " >&6; }
11234 if ${ac_cv_lib_socket_connect+:} false; then :
11235 $as_echo_n "(cached) " >&6
11236 else
11237 ac_check_lib_save_LIBS=$LIBS
11238 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11242 /* Override any GCC internal prototype to avoid an error.
11243 Use char because int might match the return type of a GCC
11244 builtin and then its argument prototype would still apply. */
11245 #ifdef __cplusplus
11246 extern "C"
11247 #endif
11248 char connect ();
11250 main ()
11252 return connect ();
11254 return 0;
11256 _ACEOF
11257 if ac_fn_c_try_link "$LINENO"; then :
11258 ac_cv_lib_socket_connect=yes
11259 else
11260 ac_cv_lib_socket_connect=no
11262 rm -f core conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11264 LIBS=$ac_check_lib_save_LIBS
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11267 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11268 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11269 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11274 # Guillermo Gomez says -lposix is necessary on A/UX.
11275 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11276 if test "x$ac_cv_func_remove" = xyes; then :
11280 if test $ac_cv_func_remove = no; then
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11282 $as_echo_n "checking for remove in -lposix... " >&6; }
11283 if ${ac_cv_lib_posix_remove+:} false; then :
11284 $as_echo_n "(cached) " >&6
11285 else
11286 ac_check_lib_save_LIBS=$LIBS
11287 LIBS="-lposix $LIBS"
11288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11291 /* Override any GCC internal prototype to avoid an error.
11292 Use char because int might match the return type of a GCC
11293 builtin and then its argument prototype would still apply. */
11294 #ifdef __cplusplus
11295 extern "C"
11296 #endif
11297 char remove ();
11299 main ()
11301 return remove ();
11303 return 0;
11305 _ACEOF
11306 if ac_fn_c_try_link "$LINENO"; then :
11307 ac_cv_lib_posix_remove=yes
11308 else
11309 ac_cv_lib_posix_remove=no
11311 rm -f core conftest.err conftest.$ac_objext \
11312 conftest$ac_exeext conftest.$ac_ext
11313 LIBS=$ac_check_lib_save_LIBS
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11316 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11317 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11318 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11323 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11324 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11325 if test "x$ac_cv_func_shmat" = xyes; then :
11329 if test $ac_cv_func_shmat = no; then
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11331 $as_echo_n "checking for shmat in -lipc... " >&6; }
11332 if ${ac_cv_lib_ipc_shmat+:} false; then :
11333 $as_echo_n "(cached) " >&6
11334 else
11335 ac_check_lib_save_LIBS=$LIBS
11336 LIBS="-lipc $LIBS"
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11340 /* Override any GCC internal prototype to avoid an error.
11341 Use char because int might match the return type of a GCC
11342 builtin and then its argument prototype would still apply. */
11343 #ifdef __cplusplus
11344 extern "C"
11345 #endif
11346 char shmat ();
11348 main ()
11350 return shmat ();
11352 return 0;
11354 _ACEOF
11355 if ac_fn_c_try_link "$LINENO"; then :
11356 ac_cv_lib_ipc_shmat=yes
11357 else
11358 ac_cv_lib_ipc_shmat=no
11360 rm -f core conftest.err conftest.$ac_objext \
11361 conftest$ac_exeext conftest.$ac_ext
11362 LIBS=$ac_check_lib_save_LIBS
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11365 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11366 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11367 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11373 # Check for libraries that X11R6 Xt/Xaw programs need.
11374 ac_save_LDFLAGS=$LDFLAGS
11375 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11376 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11377 # check for ICE first), but we must link in the order -lSM -lICE or
11378 # we get undefined symbols. So assume we have SM if we have ICE.
11379 # These have to be linked with before -lX11, unlike the other
11380 # libraries we check for below, so use a different variable.
11381 # John Interrante, Karl Berry
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11383 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11384 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11385 $as_echo_n "(cached) " >&6
11386 else
11387 ac_check_lib_save_LIBS=$LIBS
11388 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11395 #ifdef __cplusplus
11396 extern "C"
11397 #endif
11398 char IceConnectionNumber ();
11400 main ()
11402 return IceConnectionNumber ();
11404 return 0;
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"; then :
11408 ac_cv_lib_ICE_IceConnectionNumber=yes
11409 else
11410 ac_cv_lib_ICE_IceConnectionNumber=no
11412 rm -f core conftest.err conftest.$ac_objext \
11413 conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_lib_save_LIBS
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11417 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11418 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11419 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11422 LDFLAGS=$ac_save_LDFLAGS
11427 if test "$have_x" = "yes"
11428 then
11429 ac_save_CPPFLAGS="$CPPFLAGS"
11430 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11433 $as_echo_n "checking for -lX11... " >&6; }
11434 if ${ac_cv_lib_soname_X11+:} false; then :
11435 $as_echo_n "(cached) " >&6
11436 else
11437 ac_check_soname_save_LIBS=$LIBS
11438 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11440 /* end confdefs.h. */
11442 /* Override any GCC internal prototype to avoid an error.
11443 Use char because int might match the return type of a GCC
11444 builtin and then its argument prototype would still apply. */
11445 #ifdef __cplusplus
11446 extern "C"
11447 #endif
11448 char XCreateWindow ();
11450 main ()
11452 return XCreateWindow ();
11454 return 0;
11456 _ACEOF
11457 if ac_fn_c_try_link "$LINENO"; then :
11458 case "$LIBEXT" in
11459 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11460 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'` ;;
11461 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11462 if ${ac_cv_lib_soname_X11:+false} :; then :
11463 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11464 fi ;;
11465 esac
11466 else
11467 ac_cv_lib_soname_X11=
11469 rm -f core conftest.err conftest.$ac_objext \
11470 conftest$ac_exeext conftest.$ac_ext
11471 LIBS=$ac_check_soname_save_LIBS
11473 if ${ac_cv_lib_soname_X11:+false} :; then :
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11475 $as_echo "not found" >&6; }
11477 else
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11479 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11481 cat >>confdefs.h <<_ACEOF
11482 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11483 _ACEOF
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11488 $as_echo_n "checking for -lXext... " >&6; }
11489 if ${ac_cv_lib_soname_Xext+:} false; then :
11490 $as_echo_n "(cached) " >&6
11491 else
11492 ac_check_soname_save_LIBS=$LIBS
11493 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11497 /* Override any GCC internal prototype to avoid an error.
11498 Use char because int might match the return type of a GCC
11499 builtin and then its argument prototype would still apply. */
11500 #ifdef __cplusplus
11501 extern "C"
11502 #endif
11503 char XextCreateExtension ();
11505 main ()
11507 return XextCreateExtension ();
11509 return 0;
11511 _ACEOF
11512 if ac_fn_c_try_link "$LINENO"; then :
11513 case "$LIBEXT" in
11514 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11515 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'` ;;
11516 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11517 if ${ac_cv_lib_soname_Xext:+false} :; then :
11518 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11519 fi ;;
11520 esac
11521 else
11522 ac_cv_lib_soname_Xext=
11524 rm -f core conftest.err conftest.$ac_objext \
11525 conftest$ac_exeext conftest.$ac_ext
11526 LIBS=$ac_check_soname_save_LIBS
11528 if ${ac_cv_lib_soname_Xext:+false} :; then :
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11530 $as_echo "not found" >&6; }
11532 else
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11534 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11536 cat >>confdefs.h <<_ACEOF
11537 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11538 _ACEOF
11540 X_LIBS="$X_LIBS -lXext"
11542 X_LIBS="$X_LIBS -lX11"
11544 for ac_header in X11/Xlib.h \
11545 X11/XKBlib.h \
11546 X11/Xutil.h \
11547 X11/Xcursor/Xcursor.h \
11548 X11/extensions/shape.h \
11549 X11/extensions/XInput.h \
11550 X11/extensions/XInput2.h \
11551 X11/extensions/XShm.h \
11552 X11/extensions/Xcomposite.h \
11553 X11/extensions/Xfixes.h \
11554 X11/extensions/Xinerama.h \
11555 X11/extensions/Xrandr.h \
11556 X11/extensions/Xrender.h \
11557 X11/extensions/xf86vmode.h \
11558 X11/extensions/xf86vmproto.h
11559 do :
11560 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11561 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11562 # include <X11/Xlib.h>
11563 #endif
11564 #ifdef HAVE_X11_XUTIL_H
11565 # include <X11/Xutil.h>
11566 #endif
11568 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11569 cat >>confdefs.h <<_ACEOF
11570 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11571 _ACEOF
11575 done
11578 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11579 then
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11581 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11582 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11583 $as_echo_n "(cached) " >&6
11584 else
11585 ac_check_lib_save_LIBS=$LIBS
11586 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h. */
11590 /* Override any GCC internal prototype to avoid an error.
11591 Use char because int might match the return type of a GCC
11592 builtin and then its argument prototype would still apply. */
11593 #ifdef __cplusplus
11594 extern "C"
11595 #endif
11596 char XkbQueryExtension ();
11598 main ()
11600 return XkbQueryExtension ();
11602 return 0;
11604 _ACEOF
11605 if ac_fn_c_try_link "$LINENO"; then :
11606 ac_cv_lib_X11_XkbQueryExtension=yes
11607 else
11608 ac_cv_lib_X11_XkbQueryExtension=no
11610 rm -f core conftest.err conftest.$ac_objext \
11611 conftest$ac_exeext conftest.$ac_ext
11612 LIBS=$ac_check_lib_save_LIBS
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11615 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11616 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11618 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11624 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11625 then
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11627 $as_echo_n "checking for -lXcursor... " >&6; }
11628 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11629 $as_echo_n "(cached) " >&6
11630 else
11631 ac_check_soname_save_LIBS=$LIBS
11632 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11634 /* end confdefs.h. */
11636 /* Override any GCC internal prototype to avoid an error.
11637 Use char because int might match the return type of a GCC
11638 builtin and then its argument prototype would still apply. */
11639 #ifdef __cplusplus
11640 extern "C"
11641 #endif
11642 char XcursorImageLoadCursor ();
11644 main ()
11646 return XcursorImageLoadCursor ();
11648 return 0;
11650 _ACEOF
11651 if ac_fn_c_try_link "$LINENO"; then :
11652 case "$LIBEXT" in
11653 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11654 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'` ;;
11655 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11656 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11657 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11658 fi ;;
11659 esac
11660 else
11661 ac_cv_lib_soname_Xcursor=
11663 rm -f core conftest.err conftest.$ac_objext \
11664 conftest$ac_exeext conftest.$ac_ext
11665 LIBS=$ac_check_soname_save_LIBS
11667 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11669 $as_echo "not found" >&6; }
11671 else
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11673 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11675 cat >>confdefs.h <<_ACEOF
11676 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11677 _ACEOF
11682 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11683 case "x$with_xcursor" in
11684 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11685 xno) ;;
11686 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11687 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11688 esac
11692 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11693 then
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11695 $as_echo_n "checking for -lXi... " >&6; }
11696 if ${ac_cv_lib_soname_Xi+:} false; then :
11697 $as_echo_n "(cached) " >&6
11698 else
11699 ac_check_soname_save_LIBS=$LIBS
11700 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h. */
11704 /* Override any GCC internal prototype to avoid an error.
11705 Use char because int might match the return type of a GCC
11706 builtin and then its argument prototype would still apply. */
11707 #ifdef __cplusplus
11708 extern "C"
11709 #endif
11710 char XOpenDevice ();
11712 main ()
11714 return XOpenDevice ();
11716 return 0;
11718 _ACEOF
11719 if ac_fn_c_try_link "$LINENO"; then :
11720 case "$LIBEXT" in
11721 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11722 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'` ;;
11723 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11724 if ${ac_cv_lib_soname_Xi:+false} :; then :
11725 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11726 fi ;;
11727 esac
11728 else
11729 ac_cv_lib_soname_Xi=
11731 rm -f core conftest.err conftest.$ac_objext \
11732 conftest$ac_exeext conftest.$ac_ext
11733 LIBS=$ac_check_soname_save_LIBS
11735 if ${ac_cv_lib_soname_Xi:+false} :; then :
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11737 $as_echo "not found" >&6; }
11739 else
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11741 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11743 cat >>confdefs.h <<_ACEOF
11744 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11745 _ACEOF
11750 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11751 case "x$with_xinput" in
11752 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11753 xno) ;;
11754 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11755 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11756 esac
11760 if test "x$ac_cv_lib_soname_Xi" != x
11761 then
11762 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11763 case "x$with_xinput2" in
11764 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11765 xno) ;;
11766 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11767 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11768 esac
11773 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11774 then
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11776 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11777 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11778 $as_echo_n "(cached) " >&6
11779 else
11780 ac_check_lib_save_LIBS=$LIBS
11781 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11783 /* end confdefs.h. */
11785 /* Override any GCC internal prototype to avoid an error.
11786 Use char because int might match the return type of a GCC
11787 builtin and then its argument prototype would still apply. */
11788 #ifdef __cplusplus
11789 extern "C"
11790 #endif
11791 char XShmQueryExtension ();
11793 main ()
11795 return XShmQueryExtension ();
11797 return 0;
11799 _ACEOF
11800 if ac_fn_c_try_link "$LINENO"; then :
11801 ac_cv_lib_Xext_XShmQueryExtension=yes
11802 else
11803 ac_cv_lib_Xext_XShmQueryExtension=no
11805 rm -f core conftest.err conftest.$ac_objext \
11806 conftest$ac_exeext conftest.$ac_ext
11807 LIBS=$ac_check_lib_save_LIBS
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11810 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11811 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11813 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11818 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11819 case "x$with_xshm" in
11820 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11821 xno) ;;
11822 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11823 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11824 esac
11828 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11829 then
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11831 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11832 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11833 $as_echo_n "(cached) " >&6
11834 else
11835 ac_check_lib_save_LIBS=$LIBS
11836 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11840 /* Override any GCC internal prototype to avoid an error.
11841 Use char because int might match the return type of a GCC
11842 builtin and then its argument prototype would still apply. */
11843 #ifdef __cplusplus
11844 extern "C"
11845 #endif
11846 char XShapeQueryExtension ();
11848 main ()
11850 return XShapeQueryExtension ();
11852 return 0;
11854 _ACEOF
11855 if ac_fn_c_try_link "$LINENO"; then :
11856 ac_cv_lib_Xext_XShapeQueryExtension=yes
11857 else
11858 ac_cv_lib_Xext_XShapeQueryExtension=no
11860 rm -f core conftest.err conftest.$ac_objext \
11861 conftest$ac_exeext conftest.$ac_ext
11862 LIBS=$ac_check_lib_save_LIBS
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11865 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11866 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11868 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11873 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11874 case "x$with_xshape" in
11875 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11876 xno) ;;
11877 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11878 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11879 esac
11883 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11884 then
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11886 $as_echo_n "checking for -lXxf86vm... " >&6; }
11887 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11888 $as_echo_n "(cached) " >&6
11889 else
11890 ac_check_soname_save_LIBS=$LIBS
11891 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11893 /* end confdefs.h. */
11895 /* Override any GCC internal prototype to avoid an error.
11896 Use char because int might match the return type of a GCC
11897 builtin and then its argument prototype would still apply. */
11898 #ifdef __cplusplus
11899 extern "C"
11900 #endif
11901 char XF86VidModeQueryExtension ();
11903 main ()
11905 return XF86VidModeQueryExtension ();
11907 return 0;
11909 _ACEOF
11910 if ac_fn_c_try_link "$LINENO"; then :
11911 case "$LIBEXT" in
11912 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11913 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'` ;;
11914 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11915 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11916 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11917 fi ;;
11918 esac
11919 else
11920 ac_cv_lib_soname_Xxf86vm=
11922 rm -f core conftest.err conftest.$ac_objext \
11923 conftest$ac_exeext conftest.$ac_ext
11924 LIBS=$ac_check_soname_save_LIBS
11926 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11928 $as_echo "not found" >&6; }
11930 else
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11932 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11934 cat >>confdefs.h <<_ACEOF
11935 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11936 _ACEOF
11941 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11942 case "x$with_xxf86vm" in
11943 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11944 xno) ;;
11945 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11946 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11947 esac
11951 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11952 then
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11954 $as_echo_n "checking for -lXrender... " >&6; }
11955 if ${ac_cv_lib_soname_Xrender+:} false; then :
11956 $as_echo_n "(cached) " >&6
11957 else
11958 ac_check_soname_save_LIBS=$LIBS
11959 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11961 /* end confdefs.h. */
11963 /* Override any GCC internal prototype to avoid an error.
11964 Use char because int might match the return type of a GCC
11965 builtin and then its argument prototype would still apply. */
11966 #ifdef __cplusplus
11967 extern "C"
11968 #endif
11969 char XRenderQueryExtension ();
11971 main ()
11973 return XRenderQueryExtension ();
11975 return 0;
11977 _ACEOF
11978 if ac_fn_c_try_link "$LINENO"; then :
11979 case "$LIBEXT" in
11980 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11981 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'` ;;
11982 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11983 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11984 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11985 fi ;;
11986 esac
11987 else
11988 ac_cv_lib_soname_Xrender=
11990 rm -f core conftest.err conftest.$ac_objext \
11991 conftest$ac_exeext conftest.$ac_ext
11992 LIBS=$ac_check_soname_save_LIBS
11994 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11996 $as_echo "not found" >&6; }
11998 else
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12000 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12002 cat >>confdefs.h <<_ACEOF
12003 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12004 _ACEOF
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12007 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12008 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12009 $as_echo_n "(cached) " >&6
12010 else
12011 ac_check_lib_save_LIBS=$LIBS
12012 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12016 /* Override any GCC internal prototype to avoid an error.
12017 Use char because int might match the return type of a GCC
12018 builtin and then its argument prototype would still apply. */
12019 #ifdef __cplusplus
12020 extern "C"
12021 #endif
12022 char XRenderSetPictureTransform ();
12024 main ()
12026 return XRenderSetPictureTransform ();
12028 return 0;
12030 _ACEOF
12031 if ac_fn_c_try_link "$LINENO"; then :
12032 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12033 else
12034 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12036 rm -f core conftest.err conftest.$ac_objext \
12037 conftest$ac_exeext conftest.$ac_ext
12038 LIBS=$ac_check_lib_save_LIBS
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12041 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12042 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12044 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12049 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12050 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12051 $as_echo_n "(cached) " >&6
12052 else
12053 ac_check_lib_save_LIBS=$LIBS
12054 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12058 /* Override any GCC internal prototype to avoid an error.
12059 Use char because int might match the return type of a GCC
12060 builtin and then its argument prototype would still apply. */
12061 #ifdef __cplusplus
12062 extern "C"
12063 #endif
12064 char XRenderCreateLinearGradient ();
12066 main ()
12068 return XRenderCreateLinearGradient ();
12070 return 0;
12072 _ACEOF
12073 if ac_fn_c_try_link "$LINENO"; then :
12074 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12075 else
12076 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12078 rm -f core conftest.err conftest.$ac_objext \
12079 conftest$ac_exeext conftest.$ac_ext
12080 LIBS=$ac_check_lib_save_LIBS
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12083 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12084 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12086 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12093 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12094 case "x$with_xrender" in
12095 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12096 xno) ;;
12097 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12098 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12099 esac
12103 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12104 then
12105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12107 #include <X11/Xlib.h>
12108 #include <X11/extensions/Xrandr.h>
12110 main ()
12112 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12114 return 0;
12116 _ACEOF
12117 if ac_fn_c_try_compile "$LINENO"; then :
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12119 $as_echo_n "checking for -lXrandr... " >&6; }
12120 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12121 $as_echo_n "(cached) " >&6
12122 else
12123 ac_check_soname_save_LIBS=$LIBS
12124 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12128 /* Override any GCC internal prototype to avoid an error.
12129 Use char because int might match the return type of a GCC
12130 builtin and then its argument prototype would still apply. */
12131 #ifdef __cplusplus
12132 extern "C"
12133 #endif
12134 char XRRQueryExtension ();
12136 main ()
12138 return XRRQueryExtension ();
12140 return 0;
12142 _ACEOF
12143 if ac_fn_c_try_link "$LINENO"; then :
12144 case "$LIBEXT" in
12145 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12146 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'` ;;
12147 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12148 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12149 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12150 fi ;;
12151 esac
12152 else
12153 ac_cv_lib_soname_Xrandr=
12155 rm -f core conftest.err conftest.$ac_objext \
12156 conftest$ac_exeext conftest.$ac_ext
12157 LIBS=$ac_check_soname_save_LIBS
12159 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12161 $as_echo "not found" >&6; }
12163 else
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12165 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12167 cat >>confdefs.h <<_ACEOF
12168 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12169 _ACEOF
12171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12172 /* end confdefs.h. */
12173 #include <X11/Xlib.h>
12174 #include <X11/extensions/Xrandr.h>
12176 main ()
12178 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12180 return 0;
12182 _ACEOF
12183 if ac_fn_c_try_compile "$LINENO"; then :
12185 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12187 else
12188 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12195 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12196 case "x$with_xrandr" in
12197 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12198 xno) ;;
12199 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12200 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12201 esac
12205 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12206 then
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12209 #include <X11/Xlib.h>
12210 #include <X11/extensions/Xfixes.h>
12212 main ()
12214 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12216 return 0;
12218 _ACEOF
12219 if ac_fn_c_try_compile "$LINENO"; then :
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12221 $as_echo_n "checking for -lXfixes... " >&6; }
12222 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12223 $as_echo_n "(cached) " >&6
12224 else
12225 ac_check_soname_save_LIBS=$LIBS
12226 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12230 /* Override any GCC internal prototype to avoid an error.
12231 Use char because int might match the return type of a GCC
12232 builtin and then its argument prototype would still apply. */
12233 #ifdef __cplusplus
12234 extern "C"
12235 #endif
12236 char XFixesQueryVersion ();
12238 main ()
12240 return XFixesQueryVersion ();
12242 return 0;
12244 _ACEOF
12245 if ac_fn_c_try_link "$LINENO"; then :
12246 case "$LIBEXT" in
12247 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12248 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'` ;;
12249 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12250 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12251 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12252 fi ;;
12253 esac
12254 else
12255 ac_cv_lib_soname_Xfixes=
12257 rm -f core conftest.err conftest.$ac_objext \
12258 conftest$ac_exeext conftest.$ac_ext
12259 LIBS=$ac_check_soname_save_LIBS
12261 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12263 $as_echo "not found" >&6; }
12265 else
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12267 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12269 cat >>confdefs.h <<_ACEOF
12270 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12271 _ACEOF
12276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12278 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12279 case "x$with_xfixes" in
12280 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12281 xno) ;;
12282 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12283 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12284 esac
12288 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12289 then
12290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h. */
12292 #include <X11/Xlib.h>
12293 #include <X11/extensions/Xinerama.h>
12295 main ()
12297 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12299 return 0;
12301 _ACEOF
12302 if ac_fn_c_try_compile "$LINENO"; then :
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12304 $as_echo_n "checking for -lXinerama... " >&6; }
12305 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12306 $as_echo_n "(cached) " >&6
12307 else
12308 ac_check_soname_save_LIBS=$LIBS
12309 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12313 /* Override any GCC internal prototype to avoid an error.
12314 Use char because int might match the return type of a GCC
12315 builtin and then its argument prototype would still apply. */
12316 #ifdef __cplusplus
12317 extern "C"
12318 #endif
12319 char XineramaQueryScreens ();
12321 main ()
12323 return XineramaQueryScreens ();
12325 return 0;
12327 _ACEOF
12328 if ac_fn_c_try_link "$LINENO"; then :
12329 case "$LIBEXT" in
12330 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12331 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'` ;;
12332 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12333 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12334 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12335 fi ;;
12336 esac
12337 else
12338 ac_cv_lib_soname_Xinerama=
12340 rm -f core conftest.err conftest.$ac_objext \
12341 conftest$ac_exeext conftest.$ac_ext
12342 LIBS=$ac_check_soname_save_LIBS
12344 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12346 $as_echo "not found" >&6; }
12348 else
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12350 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12352 cat >>confdefs.h <<_ACEOF
12353 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12354 _ACEOF
12359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12361 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12362 case "x$with_xinerama" in
12363 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12364 xno) ;;
12365 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12366 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12367 esac
12371 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12372 then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12374 $as_echo_n "checking for -lXcomposite... " >&6; }
12375 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12376 $as_echo_n "(cached) " >&6
12377 else
12378 ac_check_soname_save_LIBS=$LIBS
12379 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12381 /* end confdefs.h. */
12383 /* Override any GCC internal prototype to avoid an error.
12384 Use char because int might match the return type of a GCC
12385 builtin and then its argument prototype would still apply. */
12386 #ifdef __cplusplus
12387 extern "C"
12388 #endif
12389 char XCompositeRedirectWindow ();
12391 main ()
12393 return XCompositeRedirectWindow ();
12395 return 0;
12397 _ACEOF
12398 if ac_fn_c_try_link "$LINENO"; then :
12399 case "$LIBEXT" in
12400 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12401 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'` ;;
12402 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12403 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12404 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12405 fi ;;
12406 esac
12407 else
12408 ac_cv_lib_soname_Xcomposite=
12410 rm -f core conftest.err conftest.$ac_objext \
12411 conftest$ac_exeext conftest.$ac_ext
12412 LIBS=$ac_check_soname_save_LIBS
12414 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12416 $as_echo "not found" >&6; }
12418 else
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12420 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12422 cat >>confdefs.h <<_ACEOF
12423 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12424 _ACEOF
12429 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12430 case "x$with_xcomposite" in
12431 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12432 xno) ;;
12433 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12434 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12435 esac
12439 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12440 #include <X11/Xlib.h>
12441 #endif
12443 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12445 cat >>confdefs.h <<_ACEOF
12446 #define HAVE_XICCALLBACK_CALLBACK 1
12447 _ACEOF
12451 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12452 #include <X11/Xlib.h>
12453 #endif
12455 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12457 cat >>confdefs.h <<_ACEOF
12458 #define HAVE_XEVENT_XCOOKIE 1
12459 _ACEOF
12466 opengl_msg=""
12467 if test "x$with_opengl" != "xno"
12468 then
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12470 $as_echo_n "checking for -lGL... " >&6; }
12471 if ${ac_cv_lib_soname_GL+:} false; then :
12472 $as_echo_n "(cached) " >&6
12473 else
12474 ac_check_soname_save_LIBS=$LIBS
12475 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12479 /* Override any GCC internal prototype to avoid an error.
12480 Use char because int might match the return type of a GCC
12481 builtin and then its argument prototype would still apply. */
12482 #ifdef __cplusplus
12483 extern "C"
12484 #endif
12485 char glXCreateContext ();
12487 main ()
12489 return glXCreateContext ();
12491 return 0;
12493 _ACEOF
12494 if ac_fn_c_try_link "$LINENO"; then :
12495 case "$LIBEXT" in
12496 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12497 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'` ;;
12498 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12499 if ${ac_cv_lib_soname_GL:+false} :; then :
12500 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12501 fi ;;
12502 esac
12503 else
12504 ac_cv_lib_soname_GL=
12506 rm -f core conftest.err conftest.$ac_objext \
12507 conftest$ac_exeext conftest.$ac_ext
12508 LIBS=$ac_check_soname_save_LIBS
12510 if ${ac_cv_lib_soname_GL:+false} :; then :
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12512 $as_echo "not found" >&6; }
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12514 $as_echo_n "checking for -lGL... " >&6; }
12515 if ${ac_cv_lib_soname_GL+:} false; then :
12516 $as_echo_n "(cached) " >&6
12517 else
12518 ac_check_soname_save_LIBS=$LIBS
12519 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"
12520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12523 /* Override any GCC internal prototype to avoid an error.
12524 Use char because int might match the return type of a GCC
12525 builtin and then its argument prototype would still apply. */
12526 #ifdef __cplusplus
12527 extern "C"
12528 #endif
12529 char glXCreateContext ();
12531 main ()
12533 return glXCreateContext ();
12535 return 0;
12537 _ACEOF
12538 if ac_fn_c_try_link "$LINENO"; then :
12539 case "$LIBEXT" in
12540 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12541 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'` ;;
12542 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12543 if ${ac_cv_lib_soname_GL:+false} :; then :
12544 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12545 fi ;;
12546 esac
12547 else
12548 ac_cv_lib_soname_GL=
12550 rm -f core conftest.err conftest.$ac_objext \
12551 conftest$ac_exeext conftest.$ac_ext
12552 LIBS=$ac_check_soname_save_LIBS
12554 if ${ac_cv_lib_soname_GL:+false} :; then :
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12556 $as_echo "not found" >&6; }
12557 if test -f /usr/X11R6/lib/libGL.a
12558 then
12559 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12560 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12561 else
12562 opengl_msg="No OpenGL library found on this system."
12564 else
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12566 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12568 cat >>confdefs.h <<_ACEOF
12569 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12570 _ACEOF
12572 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"
12574 else
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12576 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12578 cat >>confdefs.h <<_ACEOF
12579 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12580 _ACEOF
12582 OPENGL_LIBS="-lGL"
12584 if test "x$with_osmesa" != "xno"
12585 then
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12587 $as_echo_n "checking for -lOSMesa... " >&6; }
12588 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12589 $as_echo_n "(cached) " >&6
12590 else
12591 ac_check_soname_save_LIBS=$LIBS
12592 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12594 /* end confdefs.h. */
12596 /* Override any GCC internal prototype to avoid an error.
12597 Use char because int might match the return type of a GCC
12598 builtin and then its argument prototype would still apply. */
12599 #ifdef __cplusplus
12600 extern "C"
12601 #endif
12602 char OSMesaGetProcAddress ();
12604 main ()
12606 return OSMesaGetProcAddress ();
12608 return 0;
12610 _ACEOF
12611 if ac_fn_c_try_link "$LINENO"; then :
12612 case "$LIBEXT" in
12613 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12614 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'` ;;
12615 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12616 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12617 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12618 fi ;;
12619 esac
12620 else
12621 ac_cv_lib_soname_OSMesa=
12623 rm -f core conftest.err conftest.$ac_objext \
12624 conftest$ac_exeext conftest.$ac_ext
12625 LIBS=$ac_check_soname_save_LIBS
12627 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12629 $as_echo "not found" >&6; }
12631 else
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12633 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12635 cat >>confdefs.h <<_ACEOF
12636 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12637 _ACEOF
12641 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12642 case "x$with_osmesa" in
12643 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12644 xno) ;;
12645 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12646 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12647 esac
12652 if test -n "$opengl_msg"; then :
12653 case "x$with_opengl" in
12654 x) as_fn_append wine_warnings "|$opengl_msg
12655 OpenGL and Direct3D won't be supported." ;;
12656 xno) ;;
12657 *) as_fn_error $? "$opengl_msg
12658 OpenGL and Direct3D won't be supported.
12659 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12660 esac
12664 CPPFLAGS="$ac_save_CPPFLAGS"
12665 else
12666 X_CFLAGS=""
12667 X_LIBS=""
12670 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12671 then
12672 if test "x$X_LIBS" = "x"; then :
12673 case "x$with_x" in
12674 xno) ;;
12675 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12676 without X support, which probably isn't what you want. You will need
12677 to install ${notice_platform}development packages of Xlib at the very least.
12678 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12679 esac
12680 enable_winex11_drv=${enable_winex11_drv:-no}
12682 else
12683 if test "x$X_LIBS" = "x"; then :
12684 case "x$with_x" in
12685 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12686 xno) ;;
12687 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12688 This is an error since --with-x was requested." "$LINENO" 5 ;;
12689 esac
12690 enable_winex11_drv=${enable_winex11_drv:-no}
12694 if test "$ac_cv_header_CL_cl_h" = "yes"
12695 then
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12697 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12698 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12699 $as_echo_n "(cached) " >&6
12700 else
12701 ac_check_lib_save_LIBS=$LIBS
12702 LIBS="-lOpenCL $LIBS"
12703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12704 /* end confdefs.h. */
12706 /* Override any GCC internal prototype to avoid an error.
12707 Use char because int might match the return type of a GCC
12708 builtin and then its argument prototype would still apply. */
12709 #ifdef __cplusplus
12710 extern "C"
12711 #endif
12712 char clGetPlatformInfo ();
12714 main ()
12716 return clGetPlatformInfo ();
12718 return 0;
12720 _ACEOF
12721 if ac_fn_c_try_link "$LINENO"; then :
12722 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12723 else
12724 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12726 rm -f core conftest.err conftest.$ac_objext \
12727 conftest$ac_exeext conftest.$ac_ext
12728 LIBS=$ac_check_lib_save_LIBS
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12731 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12732 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12733 OPENCL_LIBS="-lOpenCL"
12738 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12739 case "x$with_opencl" in
12740 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12741 xno) ;;
12742 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12743 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12744 esac
12745 enable_opencl=${enable_opencl:-no}
12748 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12749 then
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12751 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12752 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12753 $as_echo_n "(cached) " >&6
12754 else
12755 ac_check_lib_save_LIBS=$LIBS
12756 LIBS="-lpcap $LIBS"
12757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12758 /* end confdefs.h. */
12760 /* Override any GCC internal prototype to avoid an error.
12761 Use char because int might match the return type of a GCC
12762 builtin and then its argument prototype would still apply. */
12763 #ifdef __cplusplus
12764 extern "C"
12765 #endif
12766 char pcap_create ();
12768 main ()
12770 return pcap_create ();
12772 return 0;
12774 _ACEOF
12775 if ac_fn_c_try_link "$LINENO"; then :
12776 ac_cv_lib_pcap_pcap_create=yes
12777 else
12778 ac_cv_lib_pcap_pcap_create=no
12780 rm -f core conftest.err conftest.$ac_objext \
12781 conftest$ac_exeext conftest.$ac_ext
12782 LIBS=$ac_check_lib_save_LIBS
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12785 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12786 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12787 PCAP_LIBS="-lpcap"
12792 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12793 case "x$with_pcap" in
12794 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12795 xno) ;;
12796 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12797 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12798 esac
12799 enable_wpcap=${enable_wpcap:-no}
12803 if test "x$with_xml" != "xno"
12804 then
12805 if ${XML2_CFLAGS:+false} :; then :
12806 if ${PKG_CONFIG+:} false; then :
12807 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12810 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12811 if ${XML2_LIBS:+false} :; then :
12812 if ${PKG_CONFIG+:} false; then :
12813 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12816 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12817 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12818 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12819 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12820 ac_save_CPPFLAGS=$CPPFLAGS
12821 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12822 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12823 do :
12824 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12825 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12826 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12827 cat >>confdefs.h <<_ACEOF
12828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12829 _ACEOF
12833 done
12835 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"
12836 then
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12838 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12839 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12840 $as_echo_n "(cached) " >&6
12841 else
12842 ac_check_lib_save_LIBS=$LIBS
12843 LIBS="-lxml2 $XML2_LIBS $LIBS"
12844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12847 /* Override any GCC internal prototype to avoid an error.
12848 Use char because int might match the return type of a GCC
12849 builtin and then its argument prototype would still apply. */
12850 #ifdef __cplusplus
12851 extern "C"
12852 #endif
12853 char xmlParseMemory ();
12855 main ()
12857 return xmlParseMemory ();
12859 return 0;
12861 _ACEOF
12862 if ac_fn_c_try_link "$LINENO"; then :
12863 ac_cv_lib_xml2_xmlParseMemory=yes
12864 else
12865 ac_cv_lib_xml2_xmlParseMemory=no
12867 rm -f core conftest.err conftest.$ac_objext \
12868 conftest$ac_exeext conftest.$ac_ext
12869 LIBS=$ac_check_lib_save_LIBS
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12872 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12873 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12875 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12877 else
12878 XML2_LIBS=""
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12882 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12883 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12884 $as_echo_n "(cached) " >&6
12885 else
12886 ac_check_lib_save_LIBS=$LIBS
12887 LIBS="-lxml2 $XML2_LIBS $LIBS"
12888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12889 /* end confdefs.h. */
12891 /* Override any GCC internal prototype to avoid an error.
12892 Use char because int might match the return type of a GCC
12893 builtin and then its argument prototype would still apply. */
12894 #ifdef __cplusplus
12895 extern "C"
12896 #endif
12897 char xmlReadMemory ();
12899 main ()
12901 return xmlReadMemory ();
12903 return 0;
12905 _ACEOF
12906 if ac_fn_c_try_link "$LINENO"; then :
12907 ac_cv_lib_xml2_xmlReadMemory=yes
12908 else
12909 ac_cv_lib_xml2_xmlReadMemory=no
12911 rm -f core conftest.err conftest.$ac_objext \
12912 conftest$ac_exeext conftest.$ac_ext
12913 LIBS=$ac_check_lib_save_LIBS
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12916 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12917 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12919 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12924 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12925 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12926 $as_echo_n "(cached) " >&6
12927 else
12928 ac_check_lib_save_LIBS=$LIBS
12929 LIBS="-lxml2 $XML2_LIBS $LIBS"
12930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12931 /* end confdefs.h. */
12933 /* Override any GCC internal prototype to avoid an error.
12934 Use char because int might match the return type of a GCC
12935 builtin and then its argument prototype would still apply. */
12936 #ifdef __cplusplus
12937 extern "C"
12938 #endif
12939 char xmlNewDocPI ();
12941 main ()
12943 return xmlNewDocPI ();
12945 return 0;
12947 _ACEOF
12948 if ac_fn_c_try_link "$LINENO"; then :
12949 ac_cv_lib_xml2_xmlNewDocPI=yes
12950 else
12951 ac_cv_lib_xml2_xmlNewDocPI=no
12953 rm -f core conftest.err conftest.$ac_objext \
12954 conftest$ac_exeext conftest.$ac_ext
12955 LIBS=$ac_check_lib_save_LIBS
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12958 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12959 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12961 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12966 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12967 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12968 $as_echo_n "(cached) " >&6
12969 else
12970 ac_check_lib_save_LIBS=$LIBS
12971 LIBS="-lxml2 $XML2_LIBS $LIBS"
12972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12973 /* end confdefs.h. */
12975 /* Override any GCC internal prototype to avoid an error.
12976 Use char because int might match the return type of a GCC
12977 builtin and then its argument prototype would still apply. */
12978 #ifdef __cplusplus
12979 extern "C"
12980 #endif
12981 char xmlSchemaSetParserStructuredErrors ();
12983 main ()
12985 return xmlSchemaSetParserStructuredErrors ();
12987 return 0;
12989 _ACEOF
12990 if ac_fn_c_try_link "$LINENO"; then :
12991 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12992 else
12993 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12995 rm -f core conftest.err conftest.$ac_objext \
12996 conftest$ac_exeext conftest.$ac_ext
12997 LIBS=$ac_check_lib_save_LIBS
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13000 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13001 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13003 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13008 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13009 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13010 $as_echo_n "(cached) " >&6
13011 else
13012 ac_check_lib_save_LIBS=$LIBS
13013 LIBS="-lxml2 $XML2_LIBS $LIBS"
13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13017 /* Override any GCC internal prototype to avoid an error.
13018 Use char because int might match the return type of a GCC
13019 builtin and then its argument prototype would still apply. */
13020 #ifdef __cplusplus
13021 extern "C"
13022 #endif
13023 char xmlSchemaSetValidStructuredErrors ();
13025 main ()
13027 return xmlSchemaSetValidStructuredErrors ();
13029 return 0;
13031 _ACEOF
13032 if ac_fn_c_try_link "$LINENO"; then :
13033 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13034 else
13035 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13037 rm -f core conftest.err conftest.$ac_objext \
13038 conftest$ac_exeext conftest.$ac_ext
13039 LIBS=$ac_check_lib_save_LIBS
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13042 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13043 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13045 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13050 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13051 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13052 $as_echo_n "(cached) " >&6
13053 else
13054 ac_check_lib_save_LIBS=$LIBS
13055 LIBS="-lxml2 $XML2_LIBS $LIBS"
13056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13059 /* Override any GCC internal prototype to avoid an error.
13060 Use char because int might match the return type of a GCC
13061 builtin and then its argument prototype would still apply. */
13062 #ifdef __cplusplus
13063 extern "C"
13064 #endif
13065 char xmlFirstElementChild ();
13067 main ()
13069 return xmlFirstElementChild ();
13071 return 0;
13073 _ACEOF
13074 if ac_fn_c_try_link "$LINENO"; then :
13075 ac_cv_lib_xml2_xmlFirstElementChild=yes
13076 else
13077 ac_cv_lib_xml2_xmlFirstElementChild=no
13079 rm -f core conftest.err conftest.$ac_objext \
13080 conftest$ac_exeext conftest.$ac_ext
13081 LIBS=$ac_check_lib_save_LIBS
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13084 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13085 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13087 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13091 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13093 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13095 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13099 else
13100 XML2_CFLAGS=""
13101 XML2_LIBS=""
13103 CPPFLAGS=$ac_save_CPPFLAGS
13106 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13107 case "x$with_xml" in
13108 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13109 xno) ;;
13110 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13111 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13112 esac
13116 if test "x$with_xslt" != "xno"
13117 then
13118 if ${XSLT_CFLAGS:+false} :; then :
13119 if ${PKG_CONFIG+:} false; then :
13120 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13123 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13124 if ${XSLT_LIBS:+false} :; then :
13125 if ${PKG_CONFIG+:} false; then :
13126 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13129 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13130 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13131 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13132 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13133 ac_save_CPPFLAGS=$CPPFLAGS
13134 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13135 for ac_header in libxslt/pattern.h libxslt/transform.h
13136 do :
13137 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13138 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13139 # include <libxslt/pattern.h>
13140 #endif
13142 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13143 cat >>confdefs.h <<_ACEOF
13144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13145 _ACEOF
13149 done
13151 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13152 then
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13154 $as_echo_n "checking for -lxslt... " >&6; }
13155 if ${ac_cv_lib_soname_xslt+:} false; then :
13156 $as_echo_n "(cached) " >&6
13157 else
13158 ac_check_soname_save_LIBS=$LIBS
13159 LIBS="-lxslt $XSLT_LIBS $LIBS"
13160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13161 /* end confdefs.h. */
13163 /* Override any GCC internal prototype to avoid an error.
13164 Use char because int might match the return type of a GCC
13165 builtin and then its argument prototype would still apply. */
13166 #ifdef __cplusplus
13167 extern "C"
13168 #endif
13169 char xsltCompilePattern ();
13171 main ()
13173 return xsltCompilePattern ();
13175 return 0;
13177 _ACEOF
13178 if ac_fn_c_try_link "$LINENO"; then :
13179 case "$LIBEXT" in
13180 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13181 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'` ;;
13182 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13183 if ${ac_cv_lib_soname_xslt:+false} :; then :
13184 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13185 fi ;;
13186 esac
13187 else
13188 ac_cv_lib_soname_xslt=
13190 rm -f core conftest.err conftest.$ac_objext \
13191 conftest$ac_exeext conftest.$ac_ext
13192 LIBS=$ac_check_soname_save_LIBS
13194 if ${ac_cv_lib_soname_xslt:+false} :; then :
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13196 $as_echo "not found" >&6; }
13198 else
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13200 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13202 cat >>confdefs.h <<_ACEOF
13203 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13204 _ACEOF
13208 else
13209 XSLT_CFLAGS=""
13211 CPPFLAGS=$ac_save_CPPFLAGS
13214 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13215 case "x$with_xslt" in
13216 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13217 xno) ;;
13218 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13219 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13220 esac
13224 if test "x$with_inotify" != "xno"
13225 then
13226 if ${INOTIFY_CFLAGS:+false} :; then :
13227 if ${PKG_CONFIG+:} false; then :
13228 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13232 if ${INOTIFY_LIBS:+false} :; then :
13233 if ${PKG_CONFIG+:} false; then :
13234 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13239 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13240 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13241 ac_save_CPPFLAGS=$CPPFLAGS
13242 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13243 for ac_header in sys/inotify.h
13244 do :
13245 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13246 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13247 cat >>confdefs.h <<_ACEOF
13248 #define HAVE_SYS_INOTIFY_H 1
13249 _ACEOF
13253 done
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13256 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13257 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13258 $as_echo_n "(cached) " >&6
13259 else
13260 ac_check_lib_save_LIBS=$LIBS
13261 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13263 /* end confdefs.h. */
13265 /* Override any GCC internal prototype to avoid an error.
13266 Use char because int might match the return type of a GCC
13267 builtin and then its argument prototype would still apply. */
13268 #ifdef __cplusplus
13269 extern "C"
13270 #endif
13271 char inotify_add_watch ();
13273 main ()
13275 return inotify_add_watch ();
13277 return 0;
13279 _ACEOF
13280 if ac_fn_c_try_link "$LINENO"; then :
13281 ac_cv_lib_inotify_inotify_add_watch=yes
13282 else
13283 ac_cv_lib_inotify_inotify_add_watch=no
13285 rm -f core conftest.err conftest.$ac_objext \
13286 conftest$ac_exeext conftest.$ac_ext
13287 LIBS=$ac_check_lib_save_LIBS
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13290 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13291 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13293 else
13294 INOTIFY_LIBS=""
13297 CPPFLAGS=$ac_save_CPPFLAGS
13300 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13301 case "x$with_inotify" in
13302 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13303 xno) ;;
13304 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13305 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13306 esac
13310 if test "x$with_dbus" != "xno"
13311 then
13312 if ${DBUS_CFLAGS:+false} :; then :
13313 if ${PKG_CONFIG+:} false; then :
13314 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13318 if ${DBUS_LIBS:+false} :; then :
13319 if ${PKG_CONFIG+:} false; then :
13320 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13325 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13326 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13327 ac_save_CPPFLAGS=$CPPFLAGS
13328 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13329 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13330 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13332 $as_echo_n "checking for -ldbus-1... " >&6; }
13333 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13334 $as_echo_n "(cached) " >&6
13335 else
13336 ac_check_soname_save_LIBS=$LIBS
13337 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13344 #ifdef __cplusplus
13345 extern "C"
13346 #endif
13347 char dbus_connection_close ();
13349 main ()
13351 return dbus_connection_close ();
13353 return 0;
13355 _ACEOF
13356 if ac_fn_c_try_link "$LINENO"; then :
13357 case "$LIBEXT" in
13358 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13359 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'` ;;
13360 *) 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'`
13361 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13362 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13363 fi ;;
13364 esac
13365 else
13366 ac_cv_lib_soname_dbus_1=
13368 rm -f core conftest.err conftest.$ac_objext \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_soname_save_LIBS
13372 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13374 $as_echo "not found" >&6; }
13375 DBUS_CFLAGS=""
13376 else
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13378 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13380 cat >>confdefs.h <<_ACEOF
13381 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13382 _ACEOF
13386 else
13387 DBUS_CFLAGS=""
13391 CPPFLAGS=$ac_save_CPPFLAGS
13394 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13395 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13396 case "x$with_dbus" in
13397 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13398 xno) ;;
13399 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13400 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13401 esac
13405 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13406 then
13407 if ${HAL_CFLAGS:+false} :; then :
13408 if ${PKG_CONFIG+:} false; then :
13409 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13413 if ${HAL_LIBS:+false} :; then :
13414 if ${PKG_CONFIG+:} false; then :
13415 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13419 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13420 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13421 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13422 ac_save_CPPFLAGS=$CPPFLAGS
13423 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13424 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13425 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13427 $as_echo_n "checking for -lhal... " >&6; }
13428 if ${ac_cv_lib_soname_hal+:} false; then :
13429 $as_echo_n "(cached) " >&6
13430 else
13431 ac_check_soname_save_LIBS=$LIBS
13432 LIBS="-lhal $HAL_LIBS $LIBS"
13433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13434 /* end confdefs.h. */
13436 /* Override any GCC internal prototype to avoid an error.
13437 Use char because int might match the return type of a GCC
13438 builtin and then its argument prototype would still apply. */
13439 #ifdef __cplusplus
13440 extern "C"
13441 #endif
13442 char libhal_ctx_new ();
13444 main ()
13446 return libhal_ctx_new ();
13448 return 0;
13450 _ACEOF
13451 if ac_fn_c_try_link "$LINENO"; then :
13452 case "$LIBEXT" in
13453 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13454 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'` ;;
13455 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13456 if ${ac_cv_lib_soname_hal:+false} :; then :
13457 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13458 fi ;;
13459 esac
13460 else
13461 ac_cv_lib_soname_hal=
13463 rm -f core conftest.err conftest.$ac_objext \
13464 conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_soname_save_LIBS
13467 if ${ac_cv_lib_soname_hal:+false} :; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13469 $as_echo "not found" >&6; }
13470 HAL_CFLAGS=""
13471 else
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13473 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13475 cat >>confdefs.h <<_ACEOF
13476 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13477 _ACEOF
13481 else
13482 HAL_CFLAGS=""
13486 CPPFLAGS=$ac_save_CPPFLAGS
13488 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13489 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13490 case "x$with_hal" in
13491 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13492 xno) ;;
13493 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13494 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13495 esac
13500 if test "x$with_gnutls" != "xno"
13501 then
13502 if ${GNUTLS_CFLAGS:+false} :; then :
13503 if ${PKG_CONFIG+:} false; then :
13504 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13508 if ${GNUTLS_LIBS:+false} :; then :
13509 if ${PKG_CONFIG+:} false; then :
13510 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13514 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13515 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13516 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13517 ac_save_CPPFLAGS=$CPPFLAGS
13518 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13519 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13520 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13522 /* end confdefs.h. */
13523 #include <gnutls/gnutls.h>
13524 #include <gnutls/crypto.h>
13526 main ()
13528 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13530 return 0;
13532 _ACEOF
13533 if ac_fn_c_try_compile "$LINENO"; then :
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13535 $as_echo_n "checking for -lgnutls... " >&6; }
13536 if ${ac_cv_lib_soname_gnutls+:} false; then :
13537 $as_echo_n "(cached) " >&6
13538 else
13539 ac_check_soname_save_LIBS=$LIBS
13540 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h. */
13544 /* Override any GCC internal prototype to avoid an error.
13545 Use char because int might match the return type of a GCC
13546 builtin and then its argument prototype would still apply. */
13547 #ifdef __cplusplus
13548 extern "C"
13549 #endif
13550 char gnutls_global_init ();
13552 main ()
13554 return gnutls_global_init ();
13556 return 0;
13558 _ACEOF
13559 if ac_fn_c_try_link "$LINENO"; then :
13560 case "$LIBEXT" in
13561 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13562 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'` ;;
13563 *) 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'`
13564 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13565 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'`
13566 fi ;;
13567 esac
13568 else
13569 ac_cv_lib_soname_gnutls=
13571 rm -f core conftest.err conftest.$ac_objext \
13572 conftest$ac_exeext conftest.$ac_ext
13573 LIBS=$ac_check_soname_save_LIBS
13575 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13577 $as_echo "not found" >&6; }
13578 GNUTLS_CFLAGS=""
13579 else
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13581 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13583 cat >>confdefs.h <<_ACEOF
13584 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13585 _ACEOF
13589 ac_wine_check_funcs_save_LIBS="$LIBS"
13590 LIBS="$LIBS $GNUTLS_LIBS"
13591 for ac_func in gnutls_cipher_init
13592 do :
13593 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13594 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13595 cat >>confdefs.h <<_ACEOF
13596 #define HAVE_GNUTLS_CIPHER_INIT 1
13597 _ACEOF
13599 else
13600 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13602 done
13604 LIBS="$ac_wine_check_funcs_save_LIBS"
13606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13607 else
13608 GNUTLS_CFLAGS=""
13612 CPPFLAGS=$ac_save_CPPFLAGS
13615 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13616 case "x$with_gnutls" in
13617 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13618 xno) ;;
13619 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13620 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13621 esac
13625 if test "x$with_sane" != "xno"
13626 then
13627 if ${SANE_CFLAGS:+false} :; then :
13628 if ${PKG_CONFIG+:} false; then :
13629 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13632 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13633 if ${SANE_LIBS:+false} :; then :
13634 if ${PKG_CONFIG+:} false; then :
13635 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13638 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13640 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13641 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13642 ac_save_CPPFLAGS=$CPPFLAGS
13643 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13644 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13645 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13647 $as_echo_n "checking for -lsane... " >&6; }
13648 if ${ac_cv_lib_soname_sane+:} false; then :
13649 $as_echo_n "(cached) " >&6
13650 else
13651 ac_check_soname_save_LIBS=$LIBS
13652 LIBS="-lsane $SANE_LIBS $LIBS"
13653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13654 /* end confdefs.h. */
13656 /* Override any GCC internal prototype to avoid an error.
13657 Use char because int might match the return type of a GCC
13658 builtin and then its argument prototype would still apply. */
13659 #ifdef __cplusplus
13660 extern "C"
13661 #endif
13662 char sane_init ();
13664 main ()
13666 return sane_init ();
13668 return 0;
13670 _ACEOF
13671 if ac_fn_c_try_link "$LINENO"; then :
13672 case "$LIBEXT" in
13673 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13674 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'` ;;
13675 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13676 if ${ac_cv_lib_soname_sane:+false} :; then :
13677 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13678 fi ;;
13679 esac
13680 else
13681 ac_cv_lib_soname_sane=
13683 rm -f core conftest.err conftest.$ac_objext \
13684 conftest$ac_exeext conftest.$ac_ext
13685 LIBS=$ac_check_soname_save_LIBS
13687 if ${ac_cv_lib_soname_sane:+false} :; then :
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13689 $as_echo "not found" >&6; }
13690 SANE_CFLAGS=""
13691 else
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13693 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13695 cat >>confdefs.h <<_ACEOF
13696 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13697 _ACEOF
13701 else
13702 SANE_CFLAGS=""
13706 CPPFLAGS=$ac_save_CPPFLAGS
13709 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13710 case "x$with_sane" in
13711 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13712 xno) ;;
13713 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13714 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13715 esac
13719 if test "x$with_usb" != "xno"
13720 then
13721 if ${USB_CFLAGS:+false} :; then :
13722 if ${PKG_CONFIG+:} false; then :
13723 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13727 if ${USB_LIBS:+false} :; then :
13728 if ${PKG_CONFIG+:} false; then :
13729 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13733 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13734 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13735 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13736 ac_save_CPPFLAGS=$CPPFLAGS
13737 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13738 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13739 if test "x$ac_cv_header_libusb_h" = xyes; then :
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13741 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13742 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13743 $as_echo_n "(cached) " >&6
13744 else
13745 ac_check_lib_save_LIBS=$LIBS
13746 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h. */
13750 /* Override any GCC internal prototype to avoid an error.
13751 Use char because int might match the return type of a GCC
13752 builtin and then its argument prototype would still apply. */
13753 #ifdef __cplusplus
13754 extern "C"
13755 #endif
13756 char libusb_interrupt_event_handler ();
13758 main ()
13760 return libusb_interrupt_event_handler ();
13762 return 0;
13764 _ACEOF
13765 if ac_fn_c_try_link "$LINENO"; then :
13766 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13767 else
13768 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13770 rm -f core conftest.err conftest.$ac_objext \
13771 conftest$ac_exeext conftest.$ac_ext
13772 LIBS=$ac_check_lib_save_LIBS
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13775 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13776 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13778 else
13779 USB_LIBS=""
13782 else
13783 USB_LIBS=""
13787 CPPFLAGS=$ac_save_CPPFLAGS
13790 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13791 case "x$with_usb" in
13792 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13793 xno) ;;
13794 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13795 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13796 esac
13797 enable_wineusb_sys=${enable_wineusb_sys:-no}
13800 if test "x$with_v4l2" != "xno"
13801 then
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13803 $as_echo_n "checking for -lv4l2... " >&6; }
13804 if ${ac_cv_lib_soname_v4l2+:} false; then :
13805 $as_echo_n "(cached) " >&6
13806 else
13807 ac_check_soname_save_LIBS=$LIBS
13808 LIBS="-lv4l2 $LIBS"
13809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13810 /* end confdefs.h. */
13812 /* Override any GCC internal prototype to avoid an error.
13813 Use char because int might match the return type of a GCC
13814 builtin and then its argument prototype would still apply. */
13815 #ifdef __cplusplus
13816 extern "C"
13817 #endif
13818 char v4l2_open ();
13820 main ()
13822 return v4l2_open ();
13824 return 0;
13826 _ACEOF
13827 if ac_fn_c_try_link "$LINENO"; then :
13828 case "$LIBEXT" in
13829 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13830 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'` ;;
13831 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13832 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13833 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13834 fi ;;
13835 esac
13836 else
13837 ac_cv_lib_soname_v4l2=
13839 rm -f core conftest.err conftest.$ac_objext \
13840 conftest$ac_exeext conftest.$ac_ext
13841 LIBS=$ac_check_soname_save_LIBS
13843 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13845 $as_echo "not found" >&6; }
13847 else
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13849 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13851 cat >>confdefs.h <<_ACEOF
13852 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13853 _ACEOF
13858 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13859 case "x$with_v4l2" in
13860 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13861 xno) ;;
13862 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13863 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13864 esac
13868 if test "x$with_gphoto" != "xno"
13869 then
13870 if ${GPHOTO2_CFLAGS:+false} :; then :
13871 if ${PKG_CONFIG+:} false; then :
13872 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13875 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13876 if ${GPHOTO2_LIBS:+false} :; then :
13877 if ${PKG_CONFIG+:} false; then :
13878 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13881 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13882 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13883 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13884 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13885 ac_save_CPPFLAGS=$CPPFLAGS
13886 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13887 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13888 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13890 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13891 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13892 $as_echo_n "(cached) " >&6
13893 else
13894 ac_check_lib_save_LIBS=$LIBS
13895 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13899 /* Override any GCC internal prototype to avoid an error.
13900 Use char because int might match the return type of a GCC
13901 builtin and then its argument prototype would still apply. */
13902 #ifdef __cplusplus
13903 extern "C"
13904 #endif
13905 char gp_camera_new ();
13907 main ()
13909 return gp_camera_new ();
13911 return 0;
13913 _ACEOF
13914 if ac_fn_c_try_link "$LINENO"; then :
13915 ac_cv_lib_gphoto2_gp_camera_new=yes
13916 else
13917 ac_cv_lib_gphoto2_gp_camera_new=no
13919 rm -f core conftest.err conftest.$ac_objext \
13920 conftest$ac_exeext conftest.$ac_ext
13921 LIBS=$ac_check_lib_save_LIBS
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13924 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13925 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13927 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13929 else
13930 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13933 else
13934 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13938 CPPFLAGS=$ac_save_CPPFLAGS
13940 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13941 if ${PKG_CONFIG+:} false; then :
13942 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13945 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13946 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13947 if ${PKG_CONFIG+:} false; then :
13948 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13951 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13952 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13953 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13954 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13955 ac_save_CPPFLAGS=$CPPFLAGS
13956 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13957 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13958 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13960 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13961 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13962 $as_echo_n "(cached) " >&6
13963 else
13964 ac_check_lib_save_LIBS=$LIBS
13965 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13967 /* end confdefs.h. */
13969 /* Override any GCC internal prototype to avoid an error.
13970 Use char because int might match the return type of a GCC
13971 builtin and then its argument prototype would still apply. */
13972 #ifdef __cplusplus
13973 extern "C"
13974 #endif
13975 char gp_port_info_list_new ();
13977 main ()
13979 return gp_port_info_list_new ();
13981 return 0;
13983 _ACEOF
13984 if ac_fn_c_try_link "$LINENO"; then :
13985 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13986 else
13987 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13989 rm -f core conftest.err conftest.$ac_objext \
13990 conftest$ac_exeext conftest.$ac_ext
13991 LIBS=$ac_check_lib_save_LIBS
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13994 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13995 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13997 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13999 else
14000 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14003 else
14004 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14008 CPPFLAGS=$ac_save_CPPFLAGS
14011 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14012 case "x$with_gphoto" in
14013 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14014 xno) ;;
14015 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14016 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14017 esac
14020 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14021 case "x$with_gphoto" in
14022 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14023 xno) ;;
14024 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14025 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14026 esac
14031 if test "$ac_cv_header_resolv_h" = "yes"
14032 then
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14034 $as_echo_n "checking for resolver library... " >&6; }
14035 if ${ac_cv_have_resolv+:} false; then :
14036 $as_echo_n "(cached) " >&6
14037 else
14038 ac_save_LIBS="$LIBS"
14039 for lib in '' -lresolv
14041 LIBS="$lib $ac_save_LIBS"
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14044 #ifdef HAVE_NETINET_IN_H
14045 #include <netinet/in.h>
14046 #endif
14047 #include <resolv.h>
14049 main ()
14051 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14053 return 0;
14055 _ACEOF
14056 if ac_fn_c_try_link "$LINENO"; then :
14057 ac_cv_have_resolv=${lib:-"none required"}
14058 else
14059 ac_cv_have_resolv="not found"
14061 rm -f core conftest.err conftest.$ac_objext \
14062 conftest$ac_exeext conftest.$ac_ext
14063 test "x$ac_cv_have_resolv" = "xnot found" || break
14064 done
14065 LIBS="$ac_save_LIBS"
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14068 $as_echo "$ac_cv_have_resolv" >&6; }
14070 case "$ac_cv_have_resolv" in
14071 "not found") ;;
14072 "none required")
14074 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14077 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14079 RESOLV_LIBS=$ac_cv_have_resolv
14081 esac
14083 if test "x$ac_cv_have_resolv" != "xnot found"
14084 then
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14086 $as_echo_n "checking for res_getservers... " >&6; }
14087 if ${ac_cv_have_res_getservers+:} false; then :
14088 $as_echo_n "(cached) " >&6
14089 else
14090 ac_save_LIBS="$LIBS"
14091 LIBS="$RESOLV_LIBS $LIBS"
14092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14093 /* end confdefs.h. */
14094 #include <resolv.h>
14096 main ()
14098 res_getservers(NULL, NULL, 0);
14100 return 0;
14102 _ACEOF
14103 if ac_fn_c_try_link "$LINENO"; then :
14104 ac_cv_have_res_getservers=yes
14105 else
14106 ac_cv_have_res_getservers=no
14108 rm -f core conftest.err conftest.$ac_objext \
14109 conftest$ac_exeext conftest.$ac_ext
14110 LIBS="$ac_save_LIBS"
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14113 $as_echo "$ac_cv_have_res_getservers" >&6; }
14114 if test "$ac_cv_have_res_getservers" = "yes"
14115 then
14117 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14123 if test "x$with_cms" != "xno"
14124 then
14125 if ${LCMS2_CFLAGS:+false} :; then :
14126 if ${PKG_CONFIG+:} false; then :
14127 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14131 if ${LCMS2_LIBS:+false} :; then :
14132 if ${PKG_CONFIG+:} false; then :
14133 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14137 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14138 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14139 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14140 ac_save_CPPFLAGS=$CPPFLAGS
14141 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14142 for ac_header in lcms2.h
14143 do :
14144 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14145 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14146 cat >>confdefs.h <<_ACEOF
14147 #define HAVE_LCMS2_H 1
14148 _ACEOF
14152 done
14154 if test "$ac_cv_header_lcms2_h" = "yes"
14155 then
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14157 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14158 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14159 $as_echo_n "(cached) " >&6
14160 else
14161 ac_check_lib_save_LIBS=$LIBS
14162 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14166 /* Override any GCC internal prototype to avoid an error.
14167 Use char because int might match the return type of a GCC
14168 builtin and then its argument prototype would still apply. */
14169 #ifdef __cplusplus
14170 extern "C"
14171 #endif
14172 char cmsOpenProfileFromFile ();
14174 main ()
14176 return cmsOpenProfileFromFile ();
14178 return 0;
14180 _ACEOF
14181 if ac_fn_c_try_link "$LINENO"; then :
14182 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14183 else
14184 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14186 rm -f core conftest.err conftest.$ac_objext \
14187 conftest$ac_exeext conftest.$ac_ext
14188 LIBS=$ac_check_lib_save_LIBS
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14191 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14192 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14194 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14196 else
14197 LCMS2_LIBS=""
14200 else
14201 LCMS2_CFLAGS=""
14202 LCMS2_LIBS=""
14204 CPPFLAGS=$ac_save_CPPFLAGS
14207 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14208 case "x$with_cms" in
14209 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14210 xno) ;;
14211 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14212 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14213 esac
14217 if test "x$with_freetype" != "xno"
14218 then
14219 if ${FREETYPE_CFLAGS:+false} :; then :
14220 if ${PKG_CONFIG+:} false; then :
14221 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14224 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14225 if ${FREETYPE_LIBS:+false} :; then :
14226 if ${PKG_CONFIG+:} false; then :
14227 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14230 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14231 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14232 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14233 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14234 ac_save_CPPFLAGS=$CPPFLAGS
14235 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14236 for ac_header in ft2build.h
14237 do :
14238 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14239 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14240 cat >>confdefs.h <<_ACEOF
14241 #define HAVE_FT2BUILD_H 1
14242 _ACEOF
14246 done
14248 if test "$ac_cv_header_ft2build_h" = "yes"
14249 then
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14251 $as_echo_n "checking for -lfreetype... " >&6; }
14252 if ${ac_cv_lib_soname_freetype+:} false; then :
14253 $as_echo_n "(cached) " >&6
14254 else
14255 ac_check_soname_save_LIBS=$LIBS
14256 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 /* Override any GCC internal prototype to avoid an error.
14261 Use char because int might match the return type of a GCC
14262 builtin and then its argument prototype would still apply. */
14263 #ifdef __cplusplus
14264 extern "C"
14265 #endif
14266 char FT_Init_FreeType ();
14268 main ()
14270 return FT_Init_FreeType ();
14272 return 0;
14274 _ACEOF
14275 if ac_fn_c_try_link "$LINENO"; then :
14276 case "$LIBEXT" in
14277 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14278 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'` ;;
14279 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14280 if ${ac_cv_lib_soname_freetype:+false} :; then :
14281 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14282 fi ;;
14283 esac
14284 else
14285 ac_cv_lib_soname_freetype=
14287 rm -f core conftest.err conftest.$ac_objext \
14288 conftest$ac_exeext conftest.$ac_ext
14289 LIBS=$ac_check_soname_save_LIBS
14291 if ${ac_cv_lib_soname_freetype:+false} :; then :
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14293 $as_echo "not found" >&6; }
14294 FREETYPE_LIBS=""
14295 else
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14297 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14299 cat >>confdefs.h <<_ACEOF
14300 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14301 _ACEOF
14304 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14306 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14307 #include FT_MODULE_H
14309 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14311 cat >>confdefs.h <<_ACEOF
14312 #define HAVE_FT_TRUETYPEENGINETYPE 1
14313 _ACEOF
14319 else
14320 FREETYPE_CFLAGS=""
14321 FREETYPE_LIBS=""
14323 CPPFLAGS=$ac_save_CPPFLAGS
14326 if test "x$ac_cv_lib_soname_freetype" = x; then :
14327 case "x$with_freetype" in
14328 xno) ;;
14329 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14330 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14331 esac
14332 enable_fonts=${enable_fonts:-no}
14335 ac_wine_check_funcs_save_LIBS="$LIBS"
14336 LIBS="$LIBS $PTHREAD_LIBS"
14337 for ac_func in \
14338 pthread_getthreadid_np
14339 do :
14340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14342 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14343 cat >>confdefs.h <<_ACEOF
14344 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14345 _ACEOF
14348 done
14350 LIBS="$ac_wine_check_funcs_save_LIBS"
14352 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14353 then
14354 if test "$ac_cv_header_gettext_po_h" = "yes"
14355 then
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14357 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14358 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14359 $as_echo_n "(cached) " >&6
14360 else
14361 ac_check_lib_save_LIBS=$LIBS
14362 LIBS="-lgettextpo $LIBS"
14363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14366 /* Override any GCC internal prototype to avoid an error.
14367 Use char because int might match the return type of a GCC
14368 builtin and then its argument prototype would still apply. */
14369 #ifdef __cplusplus
14370 extern "C"
14371 #endif
14372 char po_message_msgctxt ();
14374 main ()
14376 return po_message_msgctxt ();
14378 return 0;
14380 _ACEOF
14381 if ac_fn_c_try_link "$LINENO"; then :
14382 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14383 else
14384 ac_cv_lib_gettextpo_po_message_msgctxt=no
14386 rm -f core conftest.err conftest.$ac_objext \
14387 conftest$ac_exeext conftest.$ac_ext
14388 LIBS=$ac_check_lib_save_LIBS
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14391 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14392 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14394 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14396 GETTEXTPO_LIBS="-lgettextpo"
14401 if test "x$GETTEXTPO_LIBS" = "x"; then :
14402 case "x$with_gettextpo" in
14403 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14404 xno) ;;
14405 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14406 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14407 esac
14410 if test "$srcdir" != .; then :
14411 case "x$with_gettextpo" in
14412 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14413 xno) ;;
14414 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14415 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14416 esac
14421 if test "x$with_pulse" != "xno";
14422 then
14423 if ${PULSE_CFLAGS:+false} :; then :
14424 if ${PKG_CONFIG+:} false; then :
14425 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14429 if ${PULSE_LIBS:+false} :; then :
14430 if ${PKG_CONFIG+:} false; then :
14431 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14436 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14437 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14438 ac_save_CPPFLAGS=$CPPFLAGS
14439 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14440 for ac_header in pulse/pulseaudio.h
14441 do :
14442 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14443 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14444 cat >>confdefs.h <<_ACEOF
14445 #define HAVE_PULSE_PULSEAUDIO_H 1
14446 _ACEOF
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14448 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14449 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14450 $as_echo_n "(cached) " >&6
14451 else
14452 ac_check_lib_save_LIBS=$LIBS
14453 LIBS="-lpulse $PULSE_LIBS $LIBS"
14454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14455 /* end confdefs.h. */
14457 /* Override any GCC internal prototype to avoid an error.
14458 Use char because int might match the return type of a GCC
14459 builtin and then its argument prototype would still apply. */
14460 #ifdef __cplusplus
14461 extern "C"
14462 #endif
14463 char pa_stream_is_corked ();
14465 main ()
14467 return pa_stream_is_corked ();
14469 return 0;
14471 _ACEOF
14472 if ac_fn_c_try_link "$LINENO"; then :
14473 ac_cv_lib_pulse_pa_stream_is_corked=yes
14474 else
14475 ac_cv_lib_pulse_pa_stream_is_corked=no
14477 rm -f core conftest.err conftest.$ac_objext \
14478 conftest$ac_exeext conftest.$ac_ext
14479 LIBS=$ac_check_lib_save_LIBS
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14482 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14483 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14485 else
14486 PULSE_LIBS=""
14489 else
14490 PULSE_LIBS=""
14493 done
14495 CPPFLAGS=$ac_save_CPPFLAGS
14498 if test -z "$PULSE_LIBS"; then :
14499 case "x$with_pulse" in
14500 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14501 xno) ;;
14502 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14503 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14504 esac
14505 enable_winepulse_drv=${enable_winepulse_drv:-no}
14508 if test "x$with_gstreamer" != "xno"
14509 then
14510 if ${GSTREAMER_CFLAGS:+false} :; then :
14511 if ${PKG_CONFIG+:} false; then :
14512 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14516 if ${GSTREAMER_LIBS:+false} :; then :
14517 if ${PKG_CONFIG+:} false; then :
14518 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14523 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14524 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14525 ac_save_CPPFLAGS=$CPPFLAGS
14526 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14527 ac_gst_incl=""
14528 for i in $GSTREAMER_CFLAGS
14530 case "$i" in
14531 -I*) ac_gst_incl="$ac_gst_incl $i";;
14532 esac
14533 done
14534 GSTREAMER_CFLAGS=$ac_gst_incl
14535 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14536 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14537 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14539 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14542 #include <gst/gst.h>
14544 main ()
14546 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14548 return 0;
14550 _ACEOF
14551 if ac_fn_c_try_compile "$LINENO"; then :
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14553 $as_echo "yes" >&6; }
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14555 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14556 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14557 $as_echo_n "(cached) " >&6
14558 else
14559 ac_check_lib_save_LIBS=$LIBS
14560 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14562 /* end confdefs.h. */
14564 /* Override any GCC internal prototype to avoid an error.
14565 Use char because int might match the return type of a GCC
14566 builtin and then its argument prototype would still apply. */
14567 #ifdef __cplusplus
14568 extern "C"
14569 #endif
14570 char gst_pad_new ();
14572 main ()
14574 return gst_pad_new ();
14576 return 0;
14578 _ACEOF
14579 if ac_fn_c_try_link "$LINENO"; then :
14580 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14581 else
14582 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14584 rm -f core conftest.err conftest.$ac_objext \
14585 conftest$ac_exeext conftest.$ac_ext
14586 LIBS=$ac_check_lib_save_LIBS
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14589 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14590 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14594 else
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14596 $as_echo "no" >&6; }
14597 ac_glib2_broken=yes
14598 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14604 CPPFLAGS=$ac_save_CPPFLAGS
14607 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 :
14608 case "x$with_gstreamer" in
14609 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14610 xno) ;;
14611 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14612 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14613 esac
14616 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14618 ALSA_LIBS=""
14620 if test "x$with_alsa" != "xno"
14621 then
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14623 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14624 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14625 $as_echo_n "(cached) " >&6
14626 else
14627 ac_check_lib_save_LIBS=$LIBS
14628 LIBS="-lasound $LIBS"
14629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14630 /* end confdefs.h. */
14632 /* Override any GCC internal prototype to avoid an error.
14633 Use char because int might match the return type of a GCC
14634 builtin and then its argument prototype would still apply. */
14635 #ifdef __cplusplus
14636 extern "C"
14637 #endif
14638 char snd_pcm_hw_params_get_access_mask ();
14640 main ()
14642 return snd_pcm_hw_params_get_access_mask ();
14644 return 0;
14646 _ACEOF
14647 if ac_fn_c_try_link "$LINENO"; then :
14648 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14649 else
14650 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14652 rm -f core conftest.err conftest.$ac_objext \
14653 conftest$ac_exeext conftest.$ac_ext
14654 LIBS=$ac_check_lib_save_LIBS
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14657 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14658 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14660 /* end confdefs.h. */
14661 #include <alsa/asoundlib.h>
14663 main ()
14665 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14667 return 0;
14669 _ACEOF
14670 if ac_fn_c_try_compile "$LINENO"; then :
14671 ALSA_LIBS="-lasound"
14673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14677 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14679 if test "x$with_oss" != xno
14680 then
14681 ac_save_CPPFLAGS="$CPPFLAGS"
14682 if test -f /etc/oss.conf
14683 then
14684 . /etc/oss.conf
14686 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14687 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14688 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14689 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14690 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14692 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14694 cat >>confdefs.h <<_ACEOF
14695 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14696 _ACEOF
14698 OSS4_CFLAGS="$ac_oss_incl"
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14701 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14702 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14703 $as_echo_n "(cached) " >&6
14704 else
14705 ac_check_lib_save_LIBS=$LIBS
14706 LIBS="-lossaudio $LIBS"
14707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14710 /* Override any GCC internal prototype to avoid an error.
14711 Use char because int might match the return type of a GCC
14712 builtin and then its argument prototype would still apply. */
14713 #ifdef __cplusplus
14714 extern "C"
14715 #endif
14716 char _oss_ioctl ();
14718 main ()
14720 return _oss_ioctl ();
14722 return 0;
14724 _ACEOF
14725 if ac_fn_c_try_link "$LINENO"; then :
14726 ac_cv_lib_ossaudio__oss_ioctl=yes
14727 else
14728 ac_cv_lib_ossaudio__oss_ioctl=no
14730 rm -f core conftest.err conftest.$ac_objext \
14731 conftest$ac_exeext conftest.$ac_ext
14732 LIBS=$ac_check_lib_save_LIBS
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14735 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14736 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14737 OSS4_LIBS="-lossaudio"
14746 CPPFLAGS="$ac_save_CPPFLAGS"
14748 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14749 case "x$with_oss" in
14750 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14751 xno) ;;
14752 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14753 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14754 esac
14755 enable_wineoss_drv=${enable_wineoss_drv:-no}
14758 if test "x$with_udev" != "xno"
14759 then
14760 if ${UDEV_CFLAGS:+false} :; then :
14761 if ${PKG_CONFIG+:} false; then :
14762 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14766 if ${UDEV_LIBS:+false} :; then :
14767 if ${PKG_CONFIG+:} false; then :
14768 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14772 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14773 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14774 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14775 ac_save_CPPFLAGS=$CPPFLAGS
14776 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14777 for ac_header in libudev.h
14778 do :
14779 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14780 if test "x$ac_cv_header_libudev_h" = xyes; then :
14781 cat >>confdefs.h <<_ACEOF
14782 #define HAVE_LIBUDEV_H 1
14783 _ACEOF
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14785 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14786 if ${ac_cv_lib_udev_udev_new+:} false; then :
14787 $as_echo_n "(cached) " >&6
14788 else
14789 ac_check_lib_save_LIBS=$LIBS
14790 LIBS="-ludev $UDEV_LIBS $LIBS"
14791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14794 /* Override any GCC internal prototype to avoid an error.
14795 Use char because int might match the return type of a GCC
14796 builtin and then its argument prototype would still apply. */
14797 #ifdef __cplusplus
14798 extern "C"
14799 #endif
14800 char udev_new ();
14802 main ()
14804 return udev_new ();
14806 return 0;
14808 _ACEOF
14809 if ac_fn_c_try_link "$LINENO"; then :
14810 ac_cv_lib_udev_udev_new=yes
14811 else
14812 ac_cv_lib_udev_udev_new=no
14814 rm -f core conftest.err conftest.$ac_objext \
14815 conftest$ac_exeext conftest.$ac_ext
14816 LIBS=$ac_check_lib_save_LIBS
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14819 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14820 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14822 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14824 else
14825 UDEV_LIBS=""
14828 else
14829 UDEV_LIBS=""
14832 done
14834 CPPFLAGS=$ac_save_CPPFLAGS
14837 if test "x$UDEV_LIBS" = "x"; then :
14838 case "x$with_udev" in
14839 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14840 xno) ;;
14841 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14842 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14843 esac
14847 if test "x$with_unwind" != xno
14848 then
14849 if ${UNWIND_CFLAGS:+false} :; then :
14850 if ${PKG_CONFIG+:} false; then :
14851 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14855 if ${UNWIND_LIBS:+false} :; then :
14856 if ${PKG_CONFIG+:} false; then :
14857 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14861 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14862 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14863 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14864 ac_save_CPPFLAGS=$CPPFLAGS
14865 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14867 $as_echo_n "checking for unw_step... " >&6; }
14868 if ${wine_cv_have_unw_step+:} false; then :
14869 $as_echo_n "(cached) " >&6
14870 else
14871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14872 /* end confdefs.h. */
14873 #define UNW_LOCAL_ONLY
14874 #include <libunwind.h>
14876 main ()
14878 unw_cursor_t cursor; unw_step( &cursor );
14880 return 0;
14882 _ACEOF
14883 if ac_fn_c_try_link "$LINENO"; then :
14884 wine_cv_have_unw_step="yes"
14885 else
14886 wine_cv_have_unw_step="no"
14888 rm -f core conftest.err conftest.$ac_objext \
14889 conftest$ac_exeext conftest.$ac_ext
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14892 $as_echo "$wine_cv_have_unw_step" >&6; }
14893 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14894 then
14895 save_libs=$LIBS
14896 LIBS="$UNWIND_LIBS $LIBS"
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14898 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14899 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14900 $as_echo_n "(cached) " >&6
14901 else
14902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14903 /* end confdefs.h. */
14904 #define UNW_LOCAL_ONLY
14905 #include <libunwind.h>
14907 main ()
14909 unw_cursor_t cursor; unw_step( &cursor );
14911 return 0;
14913 _ACEOF
14914 if ac_fn_c_try_link "$LINENO"; then :
14915 wine_cv_have_libunwind_unw_step="yes"
14916 else
14917 wine_cv_have_libunwind_unw_step="no"
14919 rm -f core conftest.err conftest.$ac_objext \
14920 conftest$ac_exeext conftest.$ac_ext
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14923 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14924 LIBS=$save_libs
14926 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14927 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14928 then
14930 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14933 CPPFLAGS=$ac_save_CPPFLAGS
14936 case $host in
14937 aarch64*|*-darwin*)
14938 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14939 case "x$with_unwind" in
14940 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14941 xno) ;;
14942 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14943 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14944 esac
14946 fi ;;
14947 esac
14949 if test "x$with_sdl" != "xno"
14950 then
14951 if ${SDL2_CFLAGS:+false} :; then :
14952 if ${PKG_CONFIG+:} false; then :
14953 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14957 if ${SDL2_LIBS:+false} :; then :
14958 if ${PKG_CONFIG+:} false; then :
14959 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14963 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14964 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14965 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14966 ac_save_CPPFLAGS=$CPPFLAGS
14967 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14968 for ac_header in SDL2/SDL.h
14969 do :
14970 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14971 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14972 cat >>confdefs.h <<_ACEOF
14973 #define HAVE_SDL2_SDL_H 1
14974 _ACEOF
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14976 $as_echo_n "checking for -lSDL2... " >&6; }
14977 if ${ac_cv_lib_soname_SDL2+:} false; then :
14978 $as_echo_n "(cached) " >&6
14979 else
14980 ac_check_soname_save_LIBS=$LIBS
14981 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14983 /* end confdefs.h. */
14985 /* Override any GCC internal prototype to avoid an error.
14986 Use char because int might match the return type of a GCC
14987 builtin and then its argument prototype would still apply. */
14988 #ifdef __cplusplus
14989 extern "C"
14990 #endif
14991 char SDL_Init ();
14993 main ()
14995 return SDL_Init ();
14997 return 0;
14999 _ACEOF
15000 if ac_fn_c_try_link "$LINENO"; then :
15001 case "$LIBEXT" in
15002 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15003 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'` ;;
15004 *) 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'`
15005 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15006 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15007 fi ;;
15008 esac
15009 else
15010 ac_cv_lib_soname_SDL2=
15012 rm -f core conftest.err conftest.$ac_objext \
15013 conftest$ac_exeext conftest.$ac_ext
15014 LIBS=$ac_check_soname_save_LIBS
15016 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15018 $as_echo "not found" >&6; }
15020 else
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15022 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15024 cat >>confdefs.h <<_ACEOF
15025 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15026 _ACEOF
15032 done
15034 CPPFLAGS=$ac_save_CPPFLAGS
15037 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15038 case "x$with_sdl" in
15039 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15040 xno) ;;
15041 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15042 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15043 esac
15047 if test "x$with_faudio" != "xno"
15048 then
15049 if ${FAUDIO_CFLAGS:+false} :; then :
15050 if ${PKG_CONFIG+:} false; then :
15051 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15055 if ${FAUDIO_LIBS:+false} :; then :
15056 if ${PKG_CONFIG+:} false; then :
15057 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15061 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15062 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15063 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15064 ac_save_CPPFLAGS=$CPPFLAGS
15065 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15066 for ac_header in FAudio.h
15067 do :
15068 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15069 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15070 cat >>confdefs.h <<_ACEOF
15071 #define HAVE_FAUDIO_H 1
15072 _ACEOF
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15074 $as_echo_n "checking for -lFAudio... " >&6; }
15075 if ${ac_cv_lib_soname_FAudio+:} false; then :
15076 $as_echo_n "(cached) " >&6
15077 else
15078 ac_check_soname_save_LIBS=$LIBS
15079 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15083 /* Override any GCC internal prototype to avoid an error.
15084 Use char because int might match the return type of a GCC
15085 builtin and then its argument prototype would still apply. */
15086 #ifdef __cplusplus
15087 extern "C"
15088 #endif
15089 char FAudioCreate ();
15091 main ()
15093 return FAudioCreate ();
15095 return 0;
15097 _ACEOF
15098 if ac_fn_c_try_link "$LINENO"; then :
15099 case "$LIBEXT" in
15100 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15101 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'` ;;
15102 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15103 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15104 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15105 fi ;;
15106 esac
15107 else
15108 ac_cv_lib_soname_FAudio=
15110 rm -f core conftest.err conftest.$ac_objext \
15111 conftest$ac_exeext conftest.$ac_ext
15112 LIBS=$ac_check_soname_save_LIBS
15114 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15116 $as_echo "not found" >&6; }
15118 else
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15120 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15122 cat >>confdefs.h <<_ACEOF
15123 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15124 _ACEOF
15130 done
15132 ac_wine_check_funcs_save_LIBS="$LIBS"
15133 LIBS="$LIBS $FAUDIO_LIBS"
15134 for ac_func in FAudio_CommitOperationSet \
15135 F3DAudioInitialize8 \
15136 FAudioLinkedVersion \
15137 FAudioCreateReverb9WithCustomAllocatorEXT
15138 do :
15139 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15140 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15141 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15142 cat >>confdefs.h <<_ACEOF
15143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15144 _ACEOF
15147 done
15149 LIBS="$ac_wine_check_funcs_save_LIBS"
15151 CPPFLAGS=$ac_save_CPPFLAGS
15154 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15155 case "x$with_faudio" in
15156 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15157 xno) ;;
15158 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15159 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15160 esac
15164 if test "x$with_capi" != "xno"
15165 then
15166 if ${CAPI20_CFLAGS:+false} :; then :
15167 if ${PKG_CONFIG+:} false; then :
15168 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15172 if ${CAPI20_LIBS:+false} :; then :
15173 if ${PKG_CONFIG+:} false; then :
15174 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15179 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15180 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15181 ac_save_CPPFLAGS=$CPPFLAGS
15182 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15183 for ac_header in capi20.h linux/capi.h
15184 do :
15185 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15186 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15188 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15189 cat >>confdefs.h <<_ACEOF
15190 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15191 _ACEOF
15195 done
15197 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15198 then
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15200 $as_echo_n "checking for -lcapi20... " >&6; }
15201 if ${ac_cv_lib_soname_capi20+:} false; then :
15202 $as_echo_n "(cached) " >&6
15203 else
15204 ac_check_soname_save_LIBS=$LIBS
15205 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15207 /* end confdefs.h. */
15209 /* Override any GCC internal prototype to avoid an error.
15210 Use char because int might match the return type of a GCC
15211 builtin and then its argument prototype would still apply. */
15212 #ifdef __cplusplus
15213 extern "C"
15214 #endif
15215 char capi20_register ();
15217 main ()
15219 return capi20_register ();
15221 return 0;
15223 _ACEOF
15224 if ac_fn_c_try_link "$LINENO"; then :
15225 case "$LIBEXT" in
15226 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15227 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'` ;;
15228 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15229 if ${ac_cv_lib_soname_capi20:+false} :; then :
15230 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15231 fi ;;
15232 esac
15233 else
15234 ac_cv_lib_soname_capi20=
15236 rm -f core conftest.err conftest.$ac_objext \
15237 conftest$ac_exeext conftest.$ac_ext
15238 LIBS=$ac_check_soname_save_LIBS
15240 if ${ac_cv_lib_soname_capi20:+false} :; then :
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15242 $as_echo "not found" >&6; }
15244 else
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15246 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15248 cat >>confdefs.h <<_ACEOF
15249 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15250 _ACEOF
15255 CPPFLAGS=$ac_save_CPPFLAGS
15258 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15259 case "x$with_capi" in
15260 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15261 xno) ;;
15262 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15263 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15264 esac
15268 if test "x$with_cups" != "xno"
15269 then
15270 if ${CUPS_CFLAGS:+false} :; then :
15271 if ${PKG_CONFIG+:} false; then :
15272 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15275 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15276 if ${CUPS_LIBS:+false} :; then :
15277 if ${PKG_CONFIG+:} false; then :
15278 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15281 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15282 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15283 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15284 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15285 ac_save_CPPFLAGS=$CPPFLAGS
15286 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15287 for ac_header in cups/cups.h cups/ppd.h
15288 do :
15289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15290 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15292 cat >>confdefs.h <<_ACEOF
15293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15294 _ACEOF
15298 done
15300 if test "$ac_cv_header_cups_cups_h" = "yes"
15301 then
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15303 $as_echo_n "checking for -lcups... " >&6; }
15304 if ${ac_cv_lib_soname_cups+:} false; then :
15305 $as_echo_n "(cached) " >&6
15306 else
15307 ac_check_soname_save_LIBS=$LIBS
15308 LIBS="-lcups $CUPS_LIBS $LIBS"
15309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15310 /* end confdefs.h. */
15312 /* Override any GCC internal prototype to avoid an error.
15313 Use char because int might match the return type of a GCC
15314 builtin and then its argument prototype would still apply. */
15315 #ifdef __cplusplus
15316 extern "C"
15317 #endif
15318 char cupsGetDefault ();
15320 main ()
15322 return cupsGetDefault ();
15324 return 0;
15326 _ACEOF
15327 if ac_fn_c_try_link "$LINENO"; then :
15328 case "$LIBEXT" in
15329 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15330 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'` ;;
15331 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15332 if ${ac_cv_lib_soname_cups:+false} :; then :
15333 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15334 fi ;;
15335 esac
15336 else
15337 ac_cv_lib_soname_cups=
15339 rm -f core conftest.err conftest.$ac_objext \
15340 conftest$ac_exeext conftest.$ac_ext
15341 LIBS=$ac_check_soname_save_LIBS
15343 if ${ac_cv_lib_soname_cups:+false} :; then :
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15345 $as_echo "not found" >&6; }
15346 CUPS_LIBS=""
15347 else
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15349 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15351 cat >>confdefs.h <<_ACEOF
15352 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15353 _ACEOF
15357 else
15358 CUPS_CFLAGS=""
15359 CUPS_LIBS=""
15361 CPPFLAGS=$ac_save_CPPFLAGS
15364 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15365 case "x$with_cups" in
15366 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15367 xno) ;;
15368 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15369 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15370 esac
15374 if test "x$with_fontconfig" != "xno"
15375 then
15376 if ${FONTCONFIG_CFLAGS:+false} :; then :
15377 if ${PKG_CONFIG+:} false; then :
15378 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15381 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15382 if ${FONTCONFIG_LIBS:+false} :; then :
15383 if ${PKG_CONFIG+:} false; then :
15384 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15387 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15389 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15390 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15391 ac_save_CPPFLAGS=$CPPFLAGS
15392 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15393 for ac_header in fontconfig/fontconfig.h
15394 do :
15395 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15396 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15397 cat >>confdefs.h <<_ACEOF
15398 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15399 _ACEOF
15403 done
15405 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15406 then
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15408 $as_echo_n "checking for -lfontconfig... " >&6; }
15409 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15410 $as_echo_n "(cached) " >&6
15411 else
15412 ac_check_soname_save_LIBS=$LIBS
15413 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15417 /* Override any GCC internal prototype to avoid an error.
15418 Use char because int might match the return type of a GCC
15419 builtin and then its argument prototype would still apply. */
15420 #ifdef __cplusplus
15421 extern "C"
15422 #endif
15423 char FcInit ();
15425 main ()
15427 return FcInit ();
15429 return 0;
15431 _ACEOF
15432 if ac_fn_c_try_link "$LINENO"; then :
15433 case "$LIBEXT" in
15434 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15435 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'` ;;
15436 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15437 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15438 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15439 fi ;;
15440 esac
15441 else
15442 ac_cv_lib_soname_fontconfig=
15444 rm -f core conftest.err conftest.$ac_objext \
15445 conftest$ac_exeext conftest.$ac_ext
15446 LIBS=$ac_check_soname_save_LIBS
15448 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15450 $as_echo "not found" >&6; }
15451 FONTCONFIG_CFLAGS=""
15452 else
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15454 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15456 cat >>confdefs.h <<_ACEOF
15457 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15458 _ACEOF
15462 else
15463 FONTCONFIG_CFLAGS=""
15465 CPPFLAGS=$ac_save_CPPFLAGS
15468 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15469 case "x$with_fontconfig" in
15470 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15471 xno) ;;
15472 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15473 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15474 esac
15478 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15479 then
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15481 $as_echo_n "checking for -lgsm... " >&6; }
15482 if ${ac_cv_lib_soname_gsm+:} false; then :
15483 $as_echo_n "(cached) " >&6
15484 else
15485 ac_check_soname_save_LIBS=$LIBS
15486 LIBS="-lgsm $LIBS"
15487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15490 /* Override any GCC internal prototype to avoid an error.
15491 Use char because int might match the return type of a GCC
15492 builtin and then its argument prototype would still apply. */
15493 #ifdef __cplusplus
15494 extern "C"
15495 #endif
15496 char gsm_create ();
15498 main ()
15500 return gsm_create ();
15502 return 0;
15504 _ACEOF
15505 if ac_fn_c_try_link "$LINENO"; then :
15506 case "$LIBEXT" in
15507 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15508 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'` ;;
15509 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15510 if ${ac_cv_lib_soname_gsm:+false} :; then :
15511 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15512 fi ;;
15513 esac
15514 else
15515 ac_cv_lib_soname_gsm=
15517 rm -f core conftest.err conftest.$ac_objext \
15518 conftest$ac_exeext conftest.$ac_ext
15519 LIBS=$ac_check_soname_save_LIBS
15521 if ${ac_cv_lib_soname_gsm:+false} :; then :
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15523 $as_echo "not found" >&6; }
15525 else
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15527 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15529 cat >>confdefs.h <<_ACEOF
15530 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15531 _ACEOF
15536 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15537 case "x$with_gsm" in
15538 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15539 xno) ;;
15540 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15541 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15542 esac
15546 if test "x$with_krb5" != "xno"
15547 then
15548 if ${KRB5_CFLAGS:+false} :; then :
15549 if ${PKG_CONFIG+:} false; then :
15550 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15553 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15554 if ${KRB5_LIBS:+false} :; then :
15555 if ${PKG_CONFIG+:} false; then :
15556 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15559 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15561 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15562 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15563 ac_save_CPPFLAGS=$CPPFLAGS
15564 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15565 for ac_header in krb5/krb5.h
15566 do :
15567 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15568 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15569 cat >>confdefs.h <<_ACEOF
15570 #define HAVE_KRB5_KRB5_H 1
15571 _ACEOF
15575 done
15577 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15578 then
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15580 $as_echo_n "checking for -lkrb5... " >&6; }
15581 if ${ac_cv_lib_soname_krb5+:} false; then :
15582 $as_echo_n "(cached) " >&6
15583 else
15584 ac_check_soname_save_LIBS=$LIBS
15585 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15587 /* end confdefs.h. */
15589 /* Override any GCC internal prototype to avoid an error.
15590 Use char because int might match the return type of a GCC
15591 builtin and then its argument prototype would still apply. */
15592 #ifdef __cplusplus
15593 extern "C"
15594 #endif
15595 char krb5_is_config_principal ();
15597 main ()
15599 return krb5_is_config_principal ();
15601 return 0;
15603 _ACEOF
15604 if ac_fn_c_try_link "$LINENO"; then :
15605 case "$LIBEXT" in
15606 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15607 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'` ;;
15608 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15609 if ${ac_cv_lib_soname_krb5:+false} :; then :
15610 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15611 fi ;;
15612 esac
15613 else
15614 ac_cv_lib_soname_krb5=
15616 rm -f core conftest.err conftest.$ac_objext \
15617 conftest$ac_exeext conftest.$ac_ext
15618 LIBS=$ac_check_soname_save_LIBS
15620 if ${ac_cv_lib_soname_krb5:+false} :; then :
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15622 $as_echo "not found" >&6; }
15623 KRB5_CFLAGS=""
15624 else
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15626 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15628 cat >>confdefs.h <<_ACEOF
15629 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15630 _ACEOF
15634 else
15635 KRB5_CFLAGS=""
15637 CPPFLAGS=$ac_save_CPPFLAGS
15640 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15641 case "x$with_krb5" in
15642 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15643 xno) ;;
15644 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15645 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15646 esac
15649 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15651 if test "x$with_gssapi" != "xno"
15652 then
15653 if ${GSSAPI_CFLAGS:+false} :; then :
15654 if ${PKG_CONFIG+:} false; then :
15655 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15658 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15659 if ${GSSAPI_LIBS:+false} :; then :
15660 if ${PKG_CONFIG+:} false; then :
15661 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15664 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15666 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15667 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15668 ac_save_CPPFLAGS=$CPPFLAGS
15669 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15670 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15671 do :
15672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15673 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15674 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15675 cat >>confdefs.h <<_ACEOF
15676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15677 _ACEOF
15681 done
15683 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15684 then
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15686 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15687 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15688 $as_echo_n "(cached) " >&6
15689 else
15690 ac_check_soname_save_LIBS=$LIBS
15691 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15693 /* end confdefs.h. */
15695 /* Override any GCC internal prototype to avoid an error.
15696 Use char because int might match the return type of a GCC
15697 builtin and then its argument prototype would still apply. */
15698 #ifdef __cplusplus
15699 extern "C"
15700 #endif
15701 char gss_init_sec_context ();
15703 main ()
15705 return gss_init_sec_context ();
15707 return 0;
15709 _ACEOF
15710 if ac_fn_c_try_link "$LINENO"; then :
15711 case "$LIBEXT" in
15712 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15713 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'` ;;
15714 *) 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'`
15715 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15716 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15717 fi ;;
15718 esac
15719 else
15720 ac_cv_lib_soname_gssapi_krb5=
15722 rm -f core conftest.err conftest.$ac_objext \
15723 conftest$ac_exeext conftest.$ac_ext
15724 LIBS=$ac_check_soname_save_LIBS
15726 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15728 $as_echo "not found" >&6; }
15729 GSSAPI_CFLAGS=""
15730 else
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15732 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15734 cat >>confdefs.h <<_ACEOF
15735 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15736 _ACEOF
15740 else
15741 GSSAPI_CFLAGS=""
15743 CPPFLAGS=$ac_save_CPPFLAGS
15746 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15747 case "x$with_gssapi" in
15748 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15749 xno) ;;
15750 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15751 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15752 esac
15756 if test "x$with_jpeg" != "xno"
15757 then
15758 if ${JPEG_CFLAGS:+false} :; then :
15759 if ${PKG_CONFIG+:} false; then :
15760 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15764 if ${JPEG_LIBS:+false} :; then :
15765 if ${PKG_CONFIG+:} false; then :
15766 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15771 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15772 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15773 ac_save_CPPFLAGS=$CPPFLAGS
15774 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15775 for ac_header in jpeglib.h
15776 do :
15777 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15778 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15779 cat >>confdefs.h <<_ACEOF
15780 #define HAVE_JPEGLIB_H 1
15781 _ACEOF
15785 done
15787 if test "$ac_cv_header_jpeglib_h" = "yes"
15788 then
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15790 $as_echo_n "checking for -ljpeg... " >&6; }
15791 if ${ac_cv_lib_soname_jpeg+:} false; then :
15792 $as_echo_n "(cached) " >&6
15793 else
15794 ac_check_soname_save_LIBS=$LIBS
15795 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15797 /* end confdefs.h. */
15799 /* Override any GCC internal prototype to avoid an error.
15800 Use char because int might match the return type of a GCC
15801 builtin and then its argument prototype would still apply. */
15802 #ifdef __cplusplus
15803 extern "C"
15804 #endif
15805 char jpeg_start_decompress ();
15807 main ()
15809 return jpeg_start_decompress ();
15811 return 0;
15813 _ACEOF
15814 if ac_fn_c_try_link "$LINENO"; then :
15815 case "$LIBEXT" in
15816 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15817 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'` ;;
15818 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15819 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15820 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15821 fi ;;
15822 esac
15823 else
15824 ac_cv_lib_soname_jpeg=
15826 rm -f core conftest.err conftest.$ac_objext \
15827 conftest$ac_exeext conftest.$ac_ext
15828 LIBS=$ac_check_soname_save_LIBS
15830 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15832 $as_echo "not found" >&6; }
15833 JPEG_CFLAGS=""
15834 else
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15836 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15838 cat >>confdefs.h <<_ACEOF
15839 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15840 _ACEOF
15844 else
15845 JPEG_CFLAGS=""
15847 CPPFLAGS=$ac_save_CPPFLAGS
15850 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15851 case "x$with_jpeg" in
15852 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15853 xno) ;;
15854 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15855 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15856 esac
15860 if test "x$with_png" != "xno"
15861 then
15862 if ${PNG_CFLAGS:+false} :; then :
15863 if ${PKG_CONFIG+:} false; then :
15864 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15867 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15868 if ${PNG_LIBS:+false} :; then :
15869 if ${PKG_CONFIG+:} false; then :
15870 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15873 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15875 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15876 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15877 ac_save_CPPFLAGS=$CPPFLAGS
15878 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15879 for ac_header in png.h
15880 do :
15881 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15882 if test "x$ac_cv_header_png_h" = xyes; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define HAVE_PNG_H 1
15885 _ACEOF
15889 done
15891 if test "$ac_cv_header_png_h" = "yes"
15892 then
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15894 $as_echo_n "checking for -lpng... " >&6; }
15895 if ${ac_cv_lib_soname_png+:} false; then :
15896 $as_echo_n "(cached) " >&6
15897 else
15898 ac_check_soname_save_LIBS=$LIBS
15899 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15901 /* end confdefs.h. */
15903 /* Override any GCC internal prototype to avoid an error.
15904 Use char because int might match the return type of a GCC
15905 builtin and then its argument prototype would still apply. */
15906 #ifdef __cplusplus
15907 extern "C"
15908 #endif
15909 char png_create_read_struct ();
15911 main ()
15913 return png_create_read_struct ();
15915 return 0;
15917 _ACEOF
15918 if ac_fn_c_try_link "$LINENO"; then :
15919 case "$LIBEXT" in
15920 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15921 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'` ;;
15922 *) 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'`
15923 if ${ac_cv_lib_soname_png:+false} :; then :
15924 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15925 fi ;;
15926 esac
15927 else
15928 ac_cv_lib_soname_png=
15930 rm -f core conftest.err conftest.$ac_objext \
15931 conftest$ac_exeext conftest.$ac_ext
15932 LIBS=$ac_check_soname_save_LIBS
15934 if ${ac_cv_lib_soname_png:+false} :; then :
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15936 $as_echo "not found" >&6; }
15937 PNG_CFLAGS=""
15938 else
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15940 $as_echo "$ac_cv_lib_soname_png" >&6; }
15942 cat >>confdefs.h <<_ACEOF
15943 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15944 _ACEOF
15948 else
15949 PNG_CFLAGS=""
15951 CPPFLAGS=$ac_save_CPPFLAGS
15954 if test "x$ac_cv_lib_soname_png" = "x"; then :
15955 case "x$with_png" in
15956 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15957 xno) ;;
15958 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15959 This is an error since --with-png was requested." "$LINENO" 5 ;;
15960 esac
15964 if test "x$with_tiff" != "xno"
15965 then
15966 if ${TIFF_CFLAGS:+false} :; then :
15967 if ${PKG_CONFIG+:} false; then :
15968 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15972 if ${TIFF_LIBS:+false} :; then :
15973 if ${PKG_CONFIG+:} false; then :
15974 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15979 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15980 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15981 ac_save_CPPFLAGS=$CPPFLAGS
15982 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15983 for ac_header in tiffio.h
15984 do :
15985 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15986 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_TIFFIO_H 1
15989 _ACEOF
15993 done
15995 if test "$ac_cv_header_tiffio_h" = "yes"
15996 then
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15998 $as_echo_n "checking for -ltiff... " >&6; }
15999 if ${ac_cv_lib_soname_tiff+:} false; then :
16000 $as_echo_n "(cached) " >&6
16001 else
16002 ac_check_soname_save_LIBS=$LIBS
16003 LIBS="-ltiff $TIFF_LIBS $LIBS"
16004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16007 /* Override any GCC internal prototype to avoid an error.
16008 Use char because int might match the return type of a GCC
16009 builtin and then its argument prototype would still apply. */
16010 #ifdef __cplusplus
16011 extern "C"
16012 #endif
16013 char TIFFClientOpen ();
16015 main ()
16017 return TIFFClientOpen ();
16019 return 0;
16021 _ACEOF
16022 if ac_fn_c_try_link "$LINENO"; then :
16023 case "$LIBEXT" in
16024 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16025 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'` ;;
16026 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16027 if ${ac_cv_lib_soname_tiff:+false} :; then :
16028 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16029 fi ;;
16030 esac
16031 else
16032 ac_cv_lib_soname_tiff=
16034 rm -f core conftest.err conftest.$ac_objext \
16035 conftest$ac_exeext conftest.$ac_ext
16036 LIBS=$ac_check_soname_save_LIBS
16038 if ${ac_cv_lib_soname_tiff:+false} :; then :
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16040 $as_echo "not found" >&6; }
16042 else
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16044 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16046 cat >>confdefs.h <<_ACEOF
16047 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16048 _ACEOF
16053 CPPFLAGS=$ac_save_CPPFLAGS
16056 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16057 case "x$with_tiff" in
16058 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16059 xno) ;;
16060 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16061 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16062 esac
16066 if test "x$with_mpg123" != "xno"
16067 then
16068 if ${MPG123_CFLAGS:+false} :; then :
16069 if ${PKG_CONFIG+:} false; then :
16070 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16074 if ${MPG123_LIBS:+false} :; then :
16075 if ${PKG_CONFIG+:} false; then :
16076 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16080 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16081 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16082 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16083 ac_save_CPPFLAGS=$CPPFLAGS
16084 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16085 for ac_header in mpg123.h
16086 do :
16087 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16088 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16089 cat >>confdefs.h <<_ACEOF
16090 #define HAVE_MPG123_H 1
16091 _ACEOF
16095 done
16097 if test "$ac_cv_header_mpg123_h" = "yes"
16098 then
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16100 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16101 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16102 $as_echo_n "(cached) " >&6
16103 else
16104 ac_check_lib_save_LIBS=$LIBS
16105 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16107 /* end confdefs.h. */
16109 /* Override any GCC internal prototype to avoid an error.
16110 Use char because int might match the return type of a GCC
16111 builtin and then its argument prototype would still apply. */
16112 #ifdef __cplusplus
16113 extern "C"
16114 #endif
16115 char mpg123_feed ();
16117 main ()
16119 return mpg123_feed ();
16121 return 0;
16123 _ACEOF
16124 if ac_fn_c_try_link "$LINENO"; then :
16125 ac_cv_lib_mpg123_mpg123_feed=yes
16126 else
16127 ac_cv_lib_mpg123_mpg123_feed=no
16129 rm -f core conftest.err conftest.$ac_objext \
16130 conftest$ac_exeext conftest.$ac_ext
16131 LIBS=$ac_check_lib_save_LIBS
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16134 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16135 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16137 else
16138 MPG123_LIBS=""
16141 else
16142 MPG123_CFLAGS=""
16143 MPG123_LIBS=""
16145 CPPFLAGS=$ac_save_CPPFLAGS
16148 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16149 case "x$with_mpg123" in
16150 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16151 xno) ;;
16152 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16153 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16154 esac
16155 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16157 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16159 if test "$ac_cv_header_AL_al_h" = "yes"
16160 then
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16162 $as_echo_n "checking for -lopenal... " >&6; }
16163 if ${ac_cv_lib_soname_openal+:} false; then :
16164 $as_echo_n "(cached) " >&6
16165 else
16166 ac_check_soname_save_LIBS=$LIBS
16167 LIBS="-lopenal $LIBS"
16168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16169 /* end confdefs.h. */
16171 /* Override any GCC internal prototype to avoid an error.
16172 Use char because int might match the return type of a GCC
16173 builtin and then its argument prototype would still apply. */
16174 #ifdef __cplusplus
16175 extern "C"
16176 #endif
16177 char alGetSource3i ();
16179 main ()
16181 return alGetSource3i ();
16183 return 0;
16185 _ACEOF
16186 if ac_fn_c_try_link "$LINENO"; then :
16187 case "$LIBEXT" in
16188 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16189 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'` ;;
16190 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16191 if ${ac_cv_lib_soname_openal:+false} :; then :
16192 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16193 fi ;;
16194 esac
16195 else
16196 ac_cv_lib_soname_openal=
16198 rm -f core conftest.err conftest.$ac_objext \
16199 conftest$ac_exeext conftest.$ac_ext
16200 LIBS=$ac_check_soname_save_LIBS
16202 if ${ac_cv_lib_soname_openal:+false} :; then :
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16204 $as_echo "not found" >&6; }
16206 else
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16208 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16210 cat >>confdefs.h <<_ACEOF
16211 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16212 _ACEOF
16214 OPENAL_LIBS="-lopenal"
16216 ac_cv_lib_openal=yes
16218 cat >>confdefs.h <<_ACEOF
16219 #define HAVE_OPENAL 1
16220 _ACEOF
16224 if test "x$ac_cv_lib_openal" != xyes; then :
16225 case "x$with_openal" in
16226 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16227 xno) ;;
16228 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16229 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16230 esac
16231 enable_openal32=${enable_openal32:-no}
16234 if test "x$ac_cv_lib_soname_FAudio" = "x"
16235 then
16236 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16237 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16238 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16239 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16240 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16241 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16242 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16243 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16244 enable_xactengine3_0=${enable_xactengine3_0:-no}
16245 enable_xactengine3_1=${enable_xactengine3_1:-no}
16246 enable_xactengine3_2=${enable_xactengine3_2:-no}
16247 enable_xactengine3_3=${enable_xactengine3_3:-no}
16248 enable_xactengine3_4=${enable_xactengine3_4:-no}
16249 enable_xactengine3_5=${enable_xactengine3_5:-no}
16250 enable_xactengine3_6=${enable_xactengine3_6:-no}
16251 enable_xactengine3_7=${enable_xactengine3_7:-no}
16252 enable_xapofx1_1=${enable_xapofx1_1:-no}
16253 enable_xapofx1_2=${enable_xapofx1_2:-no}
16254 enable_xapofx1_3=${enable_xapofx1_3:-no}
16255 enable_xapofx1_4=${enable_xapofx1_4:-no}
16256 enable_xapofx1_5=${enable_xapofx1_5:-no}
16257 enable_xaudio2_0=${enable_xaudio2_0:-no}
16258 enable_xaudio2_1=${enable_xaudio2_1:-no}
16259 enable_xaudio2_2=${enable_xaudio2_2:-no}
16260 enable_xaudio2_3=${enable_xaudio2_3:-no}
16261 enable_xaudio2_4=${enable_xaudio2_4:-no}
16262 enable_xaudio2_5=${enable_xaudio2_5:-no}
16263 enable_xaudio2_6=${enable_xaudio2_6:-no}
16264 enable_xaudio2_7=${enable_xaudio2_7:-no}
16265 enable_xaudio2_8=${enable_xaudio2_8:-no}
16266 enable_xaudio2_9=${enable_xaudio2_9:-no}
16269 if test "$ac_cv_header_kstat_h" = "yes"
16270 then
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16272 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16273 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16274 $as_echo_n "(cached) " >&6
16275 else
16276 ac_check_lib_save_LIBS=$LIBS
16277 LIBS="-lkstat $LIBS"
16278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16279 /* end confdefs.h. */
16281 /* Override any GCC internal prototype to avoid an error.
16282 Use char because int might match the return type of a GCC
16283 builtin and then its argument prototype would still apply. */
16284 #ifdef __cplusplus
16285 extern "C"
16286 #endif
16287 char kstat_open ();
16289 main ()
16291 return kstat_open ();
16293 return 0;
16295 _ACEOF
16296 if ac_fn_c_try_link "$LINENO"; then :
16297 ac_cv_lib_kstat_kstat_open=yes
16298 else
16299 ac_cv_lib_kstat_kstat_open=no
16301 rm -f core conftest.err conftest.$ac_objext \
16302 conftest$ac_exeext conftest.$ac_ext
16303 LIBS=$ac_check_lib_save_LIBS
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16306 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16307 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16309 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16311 KSTAT_LIBS="-lkstat"
16317 if test "$ac_cv_header_libprocstat_h" = "yes"
16318 then
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16320 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16321 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16322 $as_echo_n "(cached) " >&6
16323 else
16324 ac_check_lib_save_LIBS=$LIBS
16325 LIBS="-lprocstat $LIBS"
16326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16327 /* end confdefs.h. */
16329 /* Override any GCC internal prototype to avoid an error.
16330 Use char because int might match the return type of a GCC
16331 builtin and then its argument prototype would still apply. */
16332 #ifdef __cplusplus
16333 extern "C"
16334 #endif
16335 char procstat_open_sysctl ();
16337 main ()
16339 return procstat_open_sysctl ();
16341 return 0;
16343 _ACEOF
16344 if ac_fn_c_try_link "$LINENO"; then :
16345 ac_cv_lib_procstat_procstat_open_sysctl=yes
16346 else
16347 ac_cv_lib_procstat_procstat_open_sysctl=no
16349 rm -f core conftest.err conftest.$ac_objext \
16350 conftest$ac_exeext conftest.$ac_ext
16351 LIBS=$ac_check_lib_save_LIBS
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16354 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16355 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16357 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16359 PROCSTAT_LIBS="-lprocstat"
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16366 $as_echo_n "checking for -lodbc... " >&6; }
16367 if ${ac_cv_lib_soname_odbc+:} false; then :
16368 $as_echo_n "(cached) " >&6
16369 else
16370 ac_check_soname_save_LIBS=$LIBS
16371 LIBS="-lodbc $LIBS"
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16375 /* Override any GCC internal prototype to avoid an error.
16376 Use char because int might match the return type of a GCC
16377 builtin and then its argument prototype would still apply. */
16378 #ifdef __cplusplus
16379 extern "C"
16380 #endif
16381 char SQLConnect ();
16383 main ()
16385 return SQLConnect ();
16387 return 0;
16389 _ACEOF
16390 if ac_fn_c_try_link "$LINENO"; then :
16391 case "$LIBEXT" in
16392 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16393 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'` ;;
16394 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16395 if ${ac_cv_lib_soname_odbc:+false} :; then :
16396 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16397 fi ;;
16398 esac
16399 else
16400 ac_cv_lib_soname_odbc=
16402 rm -f core conftest.err conftest.$ac_objext \
16403 conftest$ac_exeext conftest.$ac_ext
16404 LIBS=$ac_check_soname_save_LIBS
16406 if ${ac_cv_lib_soname_odbc:+false} :; then :
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16408 $as_echo "not found" >&6; }
16409 cat >>confdefs.h <<_ACEOF
16410 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16411 _ACEOF
16413 else
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16415 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16417 cat >>confdefs.h <<_ACEOF
16418 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16419 _ACEOF
16424 if test "x$with_netapi" != "xno"
16425 then
16426 if ${NETAPI_CFLAGS:+false} :; then :
16427 if ${PKG_CONFIG+:} false; then :
16428 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16432 if ${NETAPI_LIBS:+false} :; then :
16433 if ${PKG_CONFIG+:} false; then :
16434 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16439 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16440 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16441 ac_save_CPPFLAGS=$CPPFLAGS
16442 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16444 $as_echo_n "checking for -lnetapi... " >&6; }
16445 if ${ac_cv_lib_soname_netapi+:} false; then :
16446 $as_echo_n "(cached) " >&6
16447 else
16448 ac_check_soname_save_LIBS=$LIBS
16449 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16453 /* Override any GCC internal prototype to avoid an error.
16454 Use char because int might match the return type of a GCC
16455 builtin and then its argument prototype would still apply. */
16456 #ifdef __cplusplus
16457 extern "C"
16458 #endif
16459 char libnetapi_init ();
16461 main ()
16463 return libnetapi_init ();
16465 return 0;
16467 _ACEOF
16468 if ac_fn_c_try_link "$LINENO"; then :
16469 case "$LIBEXT" in
16470 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16471 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'` ;;
16472 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16473 if ${ac_cv_lib_soname_netapi:+false} :; then :
16474 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16475 fi ;;
16476 esac
16477 else
16478 ac_cv_lib_soname_netapi=
16480 rm -f core conftest.err conftest.$ac_objext \
16481 conftest$ac_exeext conftest.$ac_ext
16482 LIBS=$ac_check_soname_save_LIBS
16484 if ${ac_cv_lib_soname_netapi:+false} :; then :
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16486 $as_echo "not found" >&6; }
16487 cat >>confdefs.h <<_ACEOF
16488 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16489 _ACEOF
16491 else
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16493 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16495 cat >>confdefs.h <<_ACEOF
16496 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16497 _ACEOF
16501 CPPFLAGS=$ac_save_CPPFLAGS
16505 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16506 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16507 then
16508 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16511 if test "x$with_vulkan" != "xno"
16512 then
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16514 $as_echo_n "checking for -lvulkan... " >&6; }
16515 if ${ac_cv_lib_soname_vulkan+:} false; then :
16516 $as_echo_n "(cached) " >&6
16517 else
16518 ac_check_soname_save_LIBS=$LIBS
16519 LIBS="-lvulkan $LIBS"
16520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16521 /* end confdefs.h. */
16523 /* Override any GCC internal prototype to avoid an error.
16524 Use char because int might match the return type of a GCC
16525 builtin and then its argument prototype would still apply. */
16526 #ifdef __cplusplus
16527 extern "C"
16528 #endif
16529 char vkGetInstanceProcAddr ();
16531 main ()
16533 return vkGetInstanceProcAddr ();
16535 return 0;
16537 _ACEOF
16538 if ac_fn_c_try_link "$LINENO"; then :
16539 case "$LIBEXT" in
16540 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16541 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'` ;;
16542 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16543 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16544 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16545 fi ;;
16546 esac
16547 else
16548 ac_cv_lib_soname_vulkan=
16550 rm -f core conftest.err conftest.$ac_objext \
16551 conftest$ac_exeext conftest.$ac_ext
16552 LIBS=$ac_check_soname_save_LIBS
16554 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16556 $as_echo "not found" >&6; }
16558 else
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16560 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16562 cat >>confdefs.h <<_ACEOF
16563 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16564 _ACEOF
16568 if test "x$ac_cv_lib_soname_vulkan" = "x"
16569 then
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16571 $as_echo_n "checking for -lMoltenVK... " >&6; }
16572 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16573 $as_echo_n "(cached) " >&6
16574 else
16575 ac_check_soname_save_LIBS=$LIBS
16576 LIBS="-lMoltenVK $LIBS"
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16580 /* Override any GCC internal prototype to avoid an error.
16581 Use char because int might match the return type of a GCC
16582 builtin and then its argument prototype would still apply. */
16583 #ifdef __cplusplus
16584 extern "C"
16585 #endif
16586 char vkGetInstanceProcAddr ();
16588 main ()
16590 return vkGetInstanceProcAddr ();
16592 return 0;
16594 _ACEOF
16595 if ac_fn_c_try_link "$LINENO"; then :
16596 case "$LIBEXT" in
16597 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16598 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'` ;;
16599 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16600 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16601 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16602 fi ;;
16603 esac
16604 else
16605 ac_cv_lib_soname_MoltenVK=
16607 rm -f core conftest.err conftest.$ac_objext \
16608 conftest$ac_exeext conftest.$ac_ext
16609 LIBS=$ac_check_soname_save_LIBS
16611 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16613 $as_echo "not found" >&6; }
16615 else
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16617 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16619 cat >>confdefs.h <<_ACEOF
16620 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16621 _ACEOF
16627 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16628 case "x$with_vulkan" in
16629 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16630 xno) ;;
16631 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16632 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16633 esac
16637 if test "x$with_vkd3d" != "xno"
16638 then
16639 if ${VKD3D_CFLAGS:+false} :; then :
16640 if ${PKG_CONFIG+:} false; then :
16641 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16645 if ${VKD3D_LIBS:+false} :; then :
16646 if ${PKG_CONFIG+:} false; then :
16647 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16652 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16653 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16654 ac_save_CPPFLAGS=$CPPFLAGS
16655 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16657 $as_echo_n "checking for -lvkd3d... " >&6; }
16658 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16659 $as_echo_n "(cached) " >&6
16660 else
16661 ac_check_soname_save_LIBS=$LIBS
16662 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16666 /* Override any GCC internal prototype to avoid an error.
16667 Use char because int might match the return type of a GCC
16668 builtin and then its argument prototype would still apply. */
16669 #ifdef __cplusplus
16670 extern "C"
16671 #endif
16672 char vkd3d_get_dxgi_format ();
16674 main ()
16676 return vkd3d_get_dxgi_format ();
16678 return 0;
16680 _ACEOF
16681 if ac_fn_c_try_link "$LINENO"; then :
16682 case "$LIBEXT" in
16683 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16684 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'` ;;
16685 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16686 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16687 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16688 fi ;;
16689 esac
16690 else
16691 ac_cv_lib_soname_vkd3d=
16693 rm -f core conftest.err conftest.$ac_objext \
16694 conftest$ac_exeext conftest.$ac_ext
16695 LIBS=$ac_check_soname_save_LIBS
16697 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16699 $as_echo "not found" >&6; }
16701 else
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16703 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16705 cat >>confdefs.h <<_ACEOF
16706 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16707 _ACEOF
16711 CPPFLAGS=$ac_save_CPPFLAGS
16713 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16714 if ${PKG_CONFIG+:} false; then :
16715 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16719 if ${VKD3D_SHADER_LIBS:+false} :; then :
16720 if ${PKG_CONFIG+:} false; then :
16721 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16726 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16727 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16728 ac_save_CPPFLAGS=$CPPFLAGS
16729 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16731 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16732 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16733 $as_echo_n "(cached) " >&6
16734 else
16735 ac_check_soname_save_LIBS=$LIBS
16736 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16738 /* end confdefs.h. */
16740 /* Override any GCC internal prototype to avoid an error.
16741 Use char because int might match the return type of a GCC
16742 builtin and then its argument prototype would still apply. */
16743 #ifdef __cplusplus
16744 extern "C"
16745 #endif
16746 char vkd3d_shader_compile ();
16748 main ()
16750 return vkd3d_shader_compile ();
16752 return 0;
16754 _ACEOF
16755 if ac_fn_c_try_link "$LINENO"; then :
16756 case "$LIBEXT" in
16757 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16758 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'` ;;
16759 *) 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'`
16760 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16761 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16762 fi ;;
16763 esac
16764 else
16765 ac_cv_lib_soname_vkd3d_shader=
16767 rm -f core conftest.err conftest.$ac_objext \
16768 conftest$ac_exeext conftest.$ac_ext
16769 LIBS=$ac_check_soname_save_LIBS
16771 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16773 $as_echo "not found" >&6; }
16775 else
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16777 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16779 cat >>confdefs.h <<_ACEOF
16780 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16781 _ACEOF
16785 CPPFLAGS=$ac_save_CPPFLAGS
16788 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16789 case "x$with_vkd3d" in
16790 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16791 xno) ;;
16792 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16793 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16794 esac
16797 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16800 EXTRACFLAGS=""
16802 if test "x${GCC}" = "xyes"
16803 then
16804 EXTRACFLAGS="-Wall -pipe"
16806 saved_CFLAGS=$CFLAGS
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16808 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16809 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16810 $as_echo_n "(cached) " >&6
16811 else
16812 ac_wine_try_cflags_saved=$CFLAGS
16813 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16816 int main(int argc, char **argv) { return 0; }
16817 _ACEOF
16818 if ac_fn_c_try_link "$LINENO"; then :
16819 ac_cv_cflags__Werror_unknown_warning_option=yes
16820 else
16821 ac_cv_cflags__Werror_unknown_warning_option=no
16823 rm -f core conftest.err conftest.$ac_objext \
16824 conftest$ac_exeext conftest.$ac_ext
16825 CFLAGS=$ac_wine_try_cflags_saved
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16828 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16829 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16830 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16833 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16834 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16835 $as_echo_n "(cached) " >&6
16836 else
16837 ac_wine_try_cflags_saved=$CFLAGS
16838 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16840 /* end confdefs.h. */
16841 int main(int argc, char **argv) { return 0; }
16842 _ACEOF
16843 if ac_fn_c_try_link "$LINENO"; then :
16844 ac_cv_cflags__Werror_unused_command_line_argument=yes
16845 else
16846 ac_cv_cflags__Werror_unused_command_line_argument=no
16848 rm -f core conftest.err conftest.$ac_objext \
16849 conftest$ac_exeext conftest.$ac_ext
16850 CFLAGS=$ac_wine_try_cflags_saved
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16853 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16854 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16855 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16858 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16859 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16860 $as_echo_n "(cached) " >&6
16861 else
16862 ac_wine_try_cflags_saved=$CFLAGS
16863 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
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_ignored_optimization_argument=yes
16870 else
16871 ac_cv_cflags__Werror_ignored_optimization_argument=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_ignored_optimization_argument" >&5
16878 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16879 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16880 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16883 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16884 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16885 $as_echo_n "(cached) " >&6
16886 else
16887 ac_wine_try_cflags_saved=$CFLAGS
16888 CFLAGS="$CFLAGS -fcf-protection=none"
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__fcf_protection_none=yes
16895 else
16896 ac_cv_cflags__fcf_protection_none=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__fcf_protection_none" >&5
16903 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16904 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16905 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16908 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16909 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16910 $as_echo_n "(cached) " >&6
16911 else
16912 ac_wine_try_cflags_saved=$CFLAGS
16913 CFLAGS="$CFLAGS -fno-stack-protector"
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__fno_stack_protector=yes
16920 else
16921 ac_cv_cflags__fno_stack_protector=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__fno_stack_protector" >&5
16928 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16929 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16930 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16933 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16934 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16935 $as_echo_n "(cached) " >&6
16936 else
16937 ac_wine_try_cflags_saved=$CFLAGS
16938 CFLAGS="$CFLAGS -fno-strict-aliasing"
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__fno_strict_aliasing=yes
16945 else
16946 ac_cv_cflags__fno_strict_aliasing=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__fno_strict_aliasing" >&5
16953 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16954 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16955 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16958 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16959 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16960 $as_echo_n "(cached) " >&6
16961 else
16962 ac_wine_try_cflags_saved=$CFLAGS
16963 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
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__Wdeclaration_after_statement=yes
16970 else
16971 ac_cv_cflags__Wdeclaration_after_statement=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__Wdeclaration_after_statement" >&5
16978 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16979 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16980 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16983 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16984 if ${ac_cv_cflags__Wempty_body+:} false; then :
16985 $as_echo_n "(cached) " >&6
16986 else
16987 ac_wine_try_cflags_saved=$CFLAGS
16988 CFLAGS="$CFLAGS -Wempty-body"
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__Wempty_body=yes
16995 else
16996 ac_cv_cflags__Wempty_body=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__Wempty_body" >&5
17003 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17004 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17005 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17008 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17009 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17010 $as_echo_n "(cached) " >&6
17011 else
17012 ac_wine_try_cflags_saved=$CFLAGS
17013 CFLAGS="$CFLAGS -Wignored-qualifiers"
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__Wignored_qualifiers=yes
17020 else
17021 ac_cv_cflags__Wignored_qualifiers=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__Wignored_qualifiers" >&5
17028 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17029 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17030 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17033 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17034 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17035 $as_echo_n "(cached) " >&6
17036 else
17037 ac_wine_try_cflags_saved=$CFLAGS
17038 CFLAGS="$CFLAGS -Wpacked-not-aligned"
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__Wpacked_not_aligned=yes
17045 else
17046 ac_cv_cflags__Wpacked_not_aligned=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__Wpacked_not_aligned" >&5
17053 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17054 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17055 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17058 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17059 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17060 $as_echo_n "(cached) " >&6
17061 else
17062 ac_wine_try_cflags_saved=$CFLAGS
17063 CFLAGS="$CFLAGS -Wpragma-pack"
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__Wpragma_pack=yes
17070 else
17071 ac_cv_cflags__Wpragma_pack=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__Wpragma_pack" >&5
17078 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17079 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17080 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17083 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17084 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17085 $as_echo_n "(cached) " >&6
17086 else
17087 ac_wine_try_cflags_saved=$CFLAGS
17088 CFLAGS="$CFLAGS -Wshift-overflow=2"
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__Wshift_overflow_2=yes
17095 else
17096 ac_cv_cflags__Wshift_overflow_2=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__Wshift_overflow_2" >&5
17103 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17104 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17105 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17108 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17109 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17110 $as_echo_n "(cached) " >&6
17111 else
17112 ac_wine_try_cflags_saved=$CFLAGS
17113 CFLAGS="$CFLAGS -Wstrict-prototypes"
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__Wstrict_prototypes=yes
17120 else
17121 ac_cv_cflags__Wstrict_prototypes=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__Wstrict_prototypes" >&5
17128 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17129 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17130 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17133 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17134 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17135 $as_echo_n "(cached) " >&6
17136 else
17137 ac_wine_try_cflags_saved=$CFLAGS
17138 CFLAGS="$CFLAGS -Wtype-limits"
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__Wtype_limits=yes
17145 else
17146 ac_cv_cflags__Wtype_limits=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__Wtype_limits" >&5
17153 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17154 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17155 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17158 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17159 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17160 $as_echo_n "(cached) " >&6
17161 else
17162 ac_wine_try_cflags_saved=$CFLAGS
17163 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
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__Wunused_but_set_parameter=yes
17170 else
17171 ac_cv_cflags__Wunused_but_set_parameter=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__Wunused_but_set_parameter" >&5
17178 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17179 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17180 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17183 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17184 if ${ac_cv_cflags__Wvla+:} false; then :
17185 $as_echo_n "(cached) " >&6
17186 else
17187 ac_wine_try_cflags_saved=$CFLAGS
17188 CFLAGS="$CFLAGS -Wvla"
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__Wvla=yes
17195 else
17196 ac_cv_cflags__Wvla=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__Wvla" >&5
17203 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17204 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17205 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17208 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17209 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17210 $as_echo_n "(cached) " >&6
17211 else
17212 ac_wine_try_cflags_saved=$CFLAGS
17213 CFLAGS="$CFLAGS -Wwrite-strings"
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__Wwrite_strings=yes
17220 else
17221 ac_cv_cflags__Wwrite_strings=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__Wwrite_strings" >&5
17228 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17229 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17230 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17233 if test -z "$CROSSTARGET"
17234 then
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17236 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17237 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17238 $as_echo_n "(cached) " >&6
17239 else
17240 ac_wine_try_cflags_saved=$CFLAGS
17241 CFLAGS="$CFLAGS -fexcess-precision=standard"
17242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17243 /* end confdefs.h. */
17244 int main(int argc, char **argv) { return 0; }
17245 _ACEOF
17246 if ac_fn_c_try_link "$LINENO"; then :
17247 ac_cv_cflags__fexcess_precision_standard=yes
17248 else
17249 ac_cv_cflags__fexcess_precision_standard=no
17251 rm -f core conftest.err conftest.$ac_objext \
17252 conftest$ac_exeext conftest.$ac_ext
17253 CFLAGS=$ac_wine_try_cflags_saved
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17256 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17257 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17258 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17264 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17265 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17266 $as_echo_n "(cached) " >&6
17267 else
17268 ac_wine_try_cflags_saved=$CFLAGS
17269 CFLAGS="$CFLAGS -Wpointer-arith"
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17272 int main(int argc, char **argv) { return 0; }
17273 _ACEOF
17274 if ac_fn_c_try_link "$LINENO"; then :
17275 ac_cv_cflags__Wpointer_arith=yes
17276 else
17277 ac_cv_cflags__Wpointer_arith=no
17279 rm -f core conftest.err conftest.$ac_objext \
17280 conftest$ac_exeext conftest.$ac_ext
17281 CFLAGS=$ac_wine_try_cflags_saved
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17284 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17285 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17286 saved_string_h_CFLAGS=$CFLAGS
17287 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17289 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17290 if ${ac_cv_c_string_h_warnings+:} false; then :
17291 $as_echo_n "(cached) " >&6
17292 else
17293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17294 /* end confdefs.h. */
17295 #include <string.h>
17297 main ()
17301 return 0;
17303 _ACEOF
17304 if ac_fn_c_try_compile "$LINENO"; then :
17305 ac_cv_c_string_h_warnings=no
17306 else
17307 ac_cv_c_string_h_warnings=yes
17309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17312 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17313 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17314 CFLAGS=$saved_string_h_CFLAGS
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17318 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17319 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17320 $as_echo_n "(cached) " >&6
17321 else
17322 ac_wine_try_cflags_saved=$CFLAGS
17323 CFLAGS="$CFLAGS -Wlogical-op"
17324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17325 /* end confdefs.h. */
17326 int main(int argc, char **argv) { return 0; }
17327 _ACEOF
17328 if ac_fn_c_try_link "$LINENO"; then :
17329 ac_cv_cflags__Wlogical_op=yes
17330 else
17331 ac_cv_cflags__Wlogical_op=no
17333 rm -f core conftest.err conftest.$ac_objext \
17334 conftest$ac_exeext conftest.$ac_ext
17335 CFLAGS=$ac_wine_try_cflags_saved
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17338 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17339 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17340 saved_string_h_CFLAGS=$CFLAGS
17341 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17343 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17344 if ${ac_cv_c_logicalop_noisy+:} false; then :
17345 $as_echo_n "(cached) " >&6
17346 else
17347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17348 /* end confdefs.h. */
17349 #include <string.h>
17350 char*f(const char *h,char n) {return strchr(h,n);}
17352 main ()
17356 return 0;
17358 _ACEOF
17359 if ac_fn_c_try_compile "$LINENO"; then :
17360 ac_cv_c_logicalop_noisy=no
17361 else
17362 ac_cv_c_logicalop_noisy=yes
17364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17367 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17368 CFLAGS=$saved_string_h_CFLAGS
17369 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17373 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17374 if ${wine_cv_64bit_compare_swap+:} false; then :
17375 $as_echo_n "(cached) " >&6
17376 else
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17379 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17380 #error no
17381 #endif
17383 main ()
17387 return 0;
17389 _ACEOF
17390 if ac_fn_c_try_compile "$LINENO"; then :
17391 wine_cv_64bit_compare_swap="none needed"
17392 else
17393 case $host_cpu in
17394 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17395 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17396 *) wine_cv_64bit_compare_swap="unknown" ;;
17397 esac
17398 if test "x$wine_cv_64bit_compare_swap" != xunknown
17399 then
17400 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17402 /* end confdefs.h. */
17403 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17404 #error no
17405 #endif
17407 main ()
17411 return 0;
17413 _ACEOF
17414 if ac_fn_c_try_compile "$LINENO"; then :
17416 else
17417 wine_cv_64bit_compare_swap="unknown"
17419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17420 CFLAGS=$saved_CFLAGS
17423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17426 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17427 case "$wine_cv_64bit_compare_swap" in
17428 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17429 "none needed") ;;
17430 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17431 esac
17433 for ac_flag in $CFLAGS; do
17434 case $ac_flag in
17435 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17436 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17437 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17438 $as_echo_n "(cached) " >&6
17439 else
17440 ac_wine_try_cflags_saved=$CFLAGS
17441 CFLAGS="$CFLAGS -gdwarf-2"
17442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17443 /* end confdefs.h. */
17444 int main(int argc, char **argv) { return 0; }
17445 _ACEOF
17446 if ac_fn_c_try_link "$LINENO"; then :
17447 ac_cv_cflags__gdwarf_2=yes
17448 else
17449 ac_cv_cflags__gdwarf_2=no
17451 rm -f core conftest.err conftest.$ac_objext \
17452 conftest$ac_exeext conftest.$ac_ext
17453 CFLAGS=$ac_wine_try_cflags_saved
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17456 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17457 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17458 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17461 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17462 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17463 $as_echo_n "(cached) " >&6
17464 else
17465 ac_wine_try_cflags_saved=$CFLAGS
17466 CFLAGS="$CFLAGS -gstrict-dwarf"
17467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17468 /* end confdefs.h. */
17469 int main(int argc, char **argv) { return 0; }
17470 _ACEOF
17471 if ac_fn_c_try_link "$LINENO"; then :
17472 ac_cv_cflags__gstrict_dwarf=yes
17473 else
17474 ac_cv_cflags__gstrict_dwarf=no
17476 rm -f core conftest.err conftest.$ac_objext \
17477 conftest$ac_exeext conftest.$ac_ext
17478 CFLAGS=$ac_wine_try_cflags_saved
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17481 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17482 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17483 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17484 fi ;;
17485 esac
17486 done
17488 MSVCRTFLAGS=""
17490 case $host_os in
17491 mingw32*) ;;
17492 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17493 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17494 if ${ac_cv_cflags__fno_builtin+:} false; then :
17495 $as_echo_n "(cached) " >&6
17496 else
17497 ac_wine_try_cflags_saved=$CFLAGS
17498 CFLAGS="$CFLAGS -fno-builtin"
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 int main(int argc, char **argv) { return 0; }
17502 _ACEOF
17503 if ac_fn_c_try_link "$LINENO"; then :
17504 ac_cv_cflags__fno_builtin=yes
17505 else
17506 ac_cv_cflags__fno_builtin=no
17508 rm -f core conftest.err conftest.$ac_objext \
17509 conftest$ac_exeext conftest.$ac_ext
17510 CFLAGS=$ac_wine_try_cflags_saved
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17513 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17514 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17515 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17518 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17519 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17520 $as_echo_n "(cached) " >&6
17521 else
17522 ac_wine_try_cflags_saved=$CFLAGS
17523 CFLAGS="$CFLAGS -fshort-wchar"
17524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17525 /* end confdefs.h. */
17526 int main(int argc, char **argv) { return 0; }
17527 _ACEOF
17528 if ac_fn_c_try_link "$LINENO"; then :
17529 ac_cv_cflags__fshort_wchar=yes
17530 else
17531 ac_cv_cflags__fshort_wchar=no
17533 rm -f core conftest.err conftest.$ac_objext \
17534 conftest$ac_exeext conftest.$ac_ext
17535 CFLAGS=$ac_wine_try_cflags_saved
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17538 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17539 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17540 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17541 fi ;;
17542 esac
17544 case $host_cpu in
17545 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17546 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17547 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17548 $as_echo_n "(cached) " >&6
17549 else
17550 ac_wine_try_cflags_saved=$CFLAGS
17551 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17553 /* end confdefs.h. */
17554 int main(int argc, char **argv) { return 0; }
17555 _ACEOF
17556 if ac_fn_c_try_link "$LINENO"; then :
17557 ac_cv_cflags__fno_omit_frame_pointer=yes
17558 else
17559 ac_cv_cflags__fno_omit_frame_pointer=no
17561 rm -f core conftest.err conftest.$ac_objext \
17562 conftest$ac_exeext conftest.$ac_ext
17563 CFLAGS=$ac_wine_try_cflags_saved
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17566 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17567 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17568 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17569 fi ;;
17570 *x86_64*)
17571 case $host_os in
17572 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17573 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17574 if ${ac_cv_cflags__Wno_format+:} false; then :
17575 $as_echo_n "(cached) " >&6
17576 else
17577 ac_wine_try_cflags_saved=$CFLAGS
17578 CFLAGS="$CFLAGS -Wno-format"
17579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17580 /* end confdefs.h. */
17581 int main(int argc, char **argv) { return 0; }
17582 _ACEOF
17583 if ac_fn_c_try_link "$LINENO"; then :
17584 ac_cv_cflags__Wno_format=yes
17585 else
17586 ac_cv_cflags__Wno_format=no
17588 rm -f core conftest.err conftest.$ac_objext \
17589 conftest$ac_exeext conftest.$ac_ext
17590 CFLAGS=$ac_wine_try_cflags_saved
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17593 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17594 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17595 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17596 fi ;;
17597 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17598 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17599 if ${ac_cv_cflags__mabi_ms+:} false; then :
17600 $as_echo_n "(cached) " >&6
17601 else
17602 ac_wine_try_cflags_saved=$CFLAGS
17603 CFLAGS="$CFLAGS -mabi=ms"
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17606 int main(int argc, char **argv) { return 0; }
17607 _ACEOF
17608 if ac_fn_c_try_link "$LINENO"; then :
17609 ac_cv_cflags__mabi_ms=yes
17610 else
17611 ac_cv_cflags__mabi_ms=no
17613 rm -f core conftest.err conftest.$ac_objext \
17614 conftest$ac_exeext conftest.$ac_ext
17615 CFLAGS=$ac_wine_try_cflags_saved
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17618 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17619 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17620 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17621 fi ;;
17622 esac ;;
17623 esac
17625 CFLAGS=$saved_CFLAGS
17627 if test "x$enable_werror" = "xyes"
17628 then
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17630 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17631 if ${ac_cv_cflags__Werror+:} false; then :
17632 $as_echo_n "(cached) " >&6
17633 else
17634 ac_wine_try_cflags_saved=$CFLAGS
17635 CFLAGS="$CFLAGS -Werror"
17636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17637 /* end confdefs.h. */
17638 int main(int argc, char **argv) { return 0; }
17639 _ACEOF
17640 if ac_fn_c_try_link "$LINENO"; then :
17641 ac_cv_cflags__Werror=yes
17642 else
17643 ac_cv_cflags__Werror=no
17645 rm -f core conftest.err conftest.$ac_objext \
17646 conftest$ac_exeext conftest.$ac_ext
17647 CFLAGS=$ac_wine_try_cflags_saved
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17650 $as_echo "$ac_cv_cflags__Werror" >&6; }
17651 if test "x$ac_cv_cflags__Werror" = xyes; then :
17652 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17659 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17660 if ${ac_cv_c_fortify_enabled+:} false; then :
17661 $as_echo_n "(cached) " >&6
17662 else
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 #include <string.h>
17667 main ()
17669 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17670 #error Fortify enabled
17671 #endif
17673 return 0;
17675 _ACEOF
17676 if ac_fn_c_try_compile "$LINENO"; then :
17677 ac_cv_c_fortify_enabled=no
17678 else
17679 ac_cv_c_fortify_enabled=yes
17681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17684 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17685 if test "$ac_cv_c_fortify_enabled" = yes
17686 then
17687 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17692 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17693 if ${ac_cv_c_cfi_support+:} false; then :
17694 $as_echo_n "(cached) " >&6
17695 else
17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17697 /* end confdefs.h. */
17698 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17700 main ()
17704 return 0;
17706 _ACEOF
17707 if ac_fn_c_try_compile "$LINENO"; then :
17708 ac_cv_c_cfi_support="yes"
17709 else
17710 ac_cv_c_cfi_support="no"
17712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17715 $as_echo "$ac_cv_c_cfi_support" >&6; }
17716 if test "$ac_cv_c_cfi_support" = "yes"
17717 then
17718 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17719 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17720 else
17721 if test "x$enable_win64" = "xyes"
17722 then
17723 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17728 case $build_os in
17729 cygwin*|mingw32*) TOOLSEXT=".exe"
17731 esac
17733 case $host_os in
17734 linux*)
17735 case $host_cpu in
17736 *i[3456789]86*|x86_64*|*aarch64*)
17737 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17738 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17740 esac
17742 esac
17745 ac_save_CFLAGS="$CFLAGS"
17746 CFLAGS="$CFLAGS $BUILTINFLAG"
17747 for ac_func in \
17748 __res_get_state \
17749 __res_getservers \
17750 _spawnvp \
17751 epoll_create \
17752 fnmatch \
17753 fork \
17754 fstatfs \
17755 futimens \
17756 futimes \
17757 futimesat \
17758 getattrlist \
17759 getauxval \
17760 getifaddrs \
17761 getopt_long_only \
17762 getrandom \
17763 kqueue \
17764 lstat \
17765 mach_continuous_time \
17766 pipe2 \
17767 poll \
17768 port_create \
17769 prctl \
17770 pread \
17771 proc_pidinfo \
17772 pwrite \
17773 readlink \
17774 sched_yield \
17775 setproctitle \
17776 setprogname \
17777 sigprocmask \
17778 symlink \
17779 tcdrain \
17780 thr_kill2
17782 do :
17783 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17784 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17785 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17786 cat >>confdefs.h <<_ACEOF
17787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17788 _ACEOF
17791 done
17793 CFLAGS="$ac_save_CFLAGS"
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17796 $as_echo_n "checking for library containing dlopen... " >&6; }
17797 if ${ac_cv_search_dlopen+:} false; then :
17798 $as_echo_n "(cached) " >&6
17799 else
17800 ac_func_search_save_LIBS=$LIBS
17801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17802 /* end confdefs.h. */
17804 /* Override any GCC internal prototype to avoid an error.
17805 Use char because int might match the return type of a GCC
17806 builtin and then its argument prototype would still apply. */
17807 #ifdef __cplusplus
17808 extern "C"
17809 #endif
17810 char dlopen ();
17812 main ()
17814 return dlopen ();
17816 return 0;
17818 _ACEOF
17819 for ac_lib in '' dl; do
17820 if test -z "$ac_lib"; then
17821 ac_res="none required"
17822 else
17823 ac_res=-l$ac_lib
17824 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17826 if ac_fn_c_try_link "$LINENO"; then :
17827 ac_cv_search_dlopen=$ac_res
17829 rm -f core conftest.err conftest.$ac_objext \
17830 conftest$ac_exeext
17831 if ${ac_cv_search_dlopen+:} false; then :
17832 break
17834 done
17835 if ${ac_cv_search_dlopen+:} false; then :
17837 else
17838 ac_cv_search_dlopen=no
17840 rm conftest.$ac_ext
17841 LIBS=$ac_func_search_save_LIBS
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17844 $as_echo "$ac_cv_search_dlopen" >&6; }
17845 ac_res=$ac_cv_search_dlopen
17846 if test "$ac_res" != no; then :
17847 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17851 ac_wine_check_funcs_save_LIBS="$LIBS"
17852 LIBS="$LIBS $DL_LIBS"
17853 for ac_func in dladdr dlinfo
17854 do :
17855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17857 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17858 cat >>confdefs.h <<_ACEOF
17859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17860 _ACEOF
17863 done
17865 LIBS="$ac_wine_check_funcs_save_LIBS"
17867 if test "$ac_cv_func_poll" = no
17868 then
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17870 $as_echo_n "checking for poll in -lpoll... " >&6; }
17871 if ${ac_cv_lib_poll_poll+:} false; then :
17872 $as_echo_n "(cached) " >&6
17873 else
17874 ac_check_lib_save_LIBS=$LIBS
17875 LIBS="-lpoll $LIBS"
17876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17877 /* end confdefs.h. */
17879 /* Override any GCC internal prototype to avoid an error.
17880 Use char because int might match the return type of a GCC
17881 builtin and then its argument prototype would still apply. */
17882 #ifdef __cplusplus
17883 extern "C"
17884 #endif
17885 char poll ();
17887 main ()
17889 return poll ();
17891 return 0;
17893 _ACEOF
17894 if ac_fn_c_try_link "$LINENO"; then :
17895 ac_cv_lib_poll_poll=yes
17896 else
17897 ac_cv_lib_poll_poll=no
17899 rm -f core conftest.err conftest.$ac_objext \
17900 conftest$ac_exeext conftest.$ac_ext
17901 LIBS=$ac_check_lib_save_LIBS
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17904 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17905 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17906 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17907 POLL_LIBS="-lpoll"
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17914 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17915 if ${ac_cv_search_gethostbyname+:} false; then :
17916 $as_echo_n "(cached) " >&6
17917 else
17918 ac_func_search_save_LIBS=$LIBS
17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17922 /* Override any GCC internal prototype to avoid an error.
17923 Use char because int might match the return type of a GCC
17924 builtin and then its argument prototype would still apply. */
17925 #ifdef __cplusplus
17926 extern "C"
17927 #endif
17928 char gethostbyname ();
17930 main ()
17932 return gethostbyname ();
17934 return 0;
17936 _ACEOF
17937 for ac_lib in '' nsl; do
17938 if test -z "$ac_lib"; then
17939 ac_res="none required"
17940 else
17941 ac_res=-l$ac_lib
17942 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17944 if ac_fn_c_try_link "$LINENO"; then :
17945 ac_cv_search_gethostbyname=$ac_res
17947 rm -f core conftest.err conftest.$ac_objext \
17948 conftest$ac_exeext
17949 if ${ac_cv_search_gethostbyname+:} false; then :
17950 break
17952 done
17953 if ${ac_cv_search_gethostbyname+:} false; then :
17955 else
17956 ac_cv_search_gethostbyname=no
17958 rm conftest.$ac_ext
17959 LIBS=$ac_func_search_save_LIBS
17961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17962 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17963 ac_res=$ac_cv_search_gethostbyname
17964 if test "$ac_res" != no; then :
17965 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17971 $as_echo_n "checking for library containing connect... " >&6; }
17972 if ${ac_cv_search_connect+:} false; then :
17973 $as_echo_n "(cached) " >&6
17974 else
17975 ac_func_search_save_LIBS=$LIBS
17976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17977 /* end confdefs.h. */
17979 /* Override any GCC internal prototype to avoid an error.
17980 Use char because int might match the return type of a GCC
17981 builtin and then its argument prototype would still apply. */
17982 #ifdef __cplusplus
17983 extern "C"
17984 #endif
17985 char connect ();
17987 main ()
17989 return connect ();
17991 return 0;
17993 _ACEOF
17994 for ac_lib in '' socket; do
17995 if test -z "$ac_lib"; then
17996 ac_res="none required"
17997 else
17998 ac_res=-l$ac_lib
17999 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18001 if ac_fn_c_try_link "$LINENO"; then :
18002 ac_cv_search_connect=$ac_res
18004 rm -f core conftest.err conftest.$ac_objext \
18005 conftest$ac_exeext
18006 if ${ac_cv_search_connect+:} false; then :
18007 break
18009 done
18010 if ${ac_cv_search_connect+:} false; then :
18012 else
18013 ac_cv_search_connect=no
18015 rm conftest.$ac_ext
18016 LIBS=$ac_func_search_save_LIBS
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18019 $as_echo "$ac_cv_search_connect" >&6; }
18020 ac_res=$ac_cv_search_connect
18021 if test "$ac_res" != no; then :
18022 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18028 $as_echo_n "checking for library containing inet_aton... " >&6; }
18029 if ${ac_cv_search_inet_aton+:} false; then :
18030 $as_echo_n "(cached) " >&6
18031 else
18032 ac_func_search_save_LIBS=$LIBS
18033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h. */
18036 /* Override any GCC internal prototype to avoid an error.
18037 Use char because int might match the return type of a GCC
18038 builtin and then its argument prototype would still apply. */
18039 #ifdef __cplusplus
18040 extern "C"
18041 #endif
18042 char inet_aton ();
18044 main ()
18046 return inet_aton ();
18048 return 0;
18050 _ACEOF
18051 for ac_lib in '' resolv; do
18052 if test -z "$ac_lib"; then
18053 ac_res="none required"
18054 else
18055 ac_res=-l$ac_lib
18056 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18058 if ac_fn_c_try_link "$LINENO"; then :
18059 ac_cv_search_inet_aton=$ac_res
18061 rm -f core conftest.err conftest.$ac_objext \
18062 conftest$ac_exeext
18063 if ${ac_cv_search_inet_aton+:} false; then :
18064 break
18066 done
18067 if ${ac_cv_search_inet_aton+:} false; then :
18069 else
18070 ac_cv_search_inet_aton=no
18072 rm conftest.$ac_ext
18073 LIBS=$ac_func_search_save_LIBS
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18076 $as_echo "$ac_cv_search_inet_aton" >&6; }
18077 ac_res=$ac_cv_search_inet_aton
18078 if test "$ac_res" != no; then :
18079 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18084 for ac_func in \
18085 getaddrinfo \
18086 getnameinfo \
18087 getservbyport \
18089 do :
18090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18092 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18093 cat >>confdefs.h <<_ACEOF
18094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18095 _ACEOF
18098 done
18101 case $host_os in
18102 darwin*|macosx*) ;;
18103 *) ac_save_LIBS=$LIBS
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18105 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18106 if ${ac_cv_search_clock_gettime+:} false; then :
18107 $as_echo_n "(cached) " >&6
18108 else
18109 ac_func_search_save_LIBS=$LIBS
18110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18111 /* end confdefs.h. */
18113 /* Override any GCC internal prototype to avoid an error.
18114 Use char because int might match the return type of a GCC
18115 builtin and then its argument prototype would still apply. */
18116 #ifdef __cplusplus
18117 extern "C"
18118 #endif
18119 char clock_gettime ();
18121 main ()
18123 return clock_gettime ();
18125 return 0;
18127 _ACEOF
18128 for ac_lib in '' rt; do
18129 if test -z "$ac_lib"; then
18130 ac_res="none required"
18131 else
18132 ac_res=-l$ac_lib
18133 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18135 if ac_fn_c_try_link "$LINENO"; then :
18136 ac_cv_search_clock_gettime=$ac_res
18138 rm -f core conftest.err conftest.$ac_objext \
18139 conftest$ac_exeext
18140 if ${ac_cv_search_clock_gettime+:} false; then :
18141 break
18143 done
18144 if ${ac_cv_search_clock_gettime+:} false; then :
18146 else
18147 ac_cv_search_clock_gettime=no
18149 rm conftest.$ac_ext
18150 LIBS=$ac_func_search_save_LIBS
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18153 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18154 ac_res=$ac_cv_search_clock_gettime
18155 if test "$ac_res" != no; then :
18156 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18158 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18160 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18164 LIBS=$ac_save_LIBS
18166 esac
18168 if test "x$with_ldap" != "xno"
18169 then
18170 if ${LDAP_CFLAGS:+false} :; then :
18171 if ${PKG_CONFIG+:} false; then :
18172 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18176 if ${LDAP_LIBS:+false} :; then :
18177 if ${PKG_CONFIG+:} false; then :
18178 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18182 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18183 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18184 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18185 ac_save_CPPFLAGS=$CPPFLAGS
18186 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18187 for ac_header in ldap.h lber.h
18188 do :
18189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18190 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18191 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18192 cat >>confdefs.h <<_ACEOF
18193 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18194 _ACEOF
18198 done
18200 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18201 then
18202 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18204 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18206 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18207 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18208 $as_echo_n "(cached) " >&6
18209 else
18210 ac_check_lib_save_LIBS=$LIBS
18211 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18213 /* end confdefs.h. */
18215 /* Override any GCC internal prototype to avoid an error.
18216 Use char because int might match the return type of a GCC
18217 builtin and then its argument prototype would still apply. */
18218 #ifdef __cplusplus
18219 extern "C"
18220 #endif
18221 char ldap_initialize ();
18223 main ()
18225 return ldap_initialize ();
18227 return 0;
18229 _ACEOF
18230 if ac_fn_c_try_link "$LINENO"; then :
18231 ac_cv_lib_ldap_r_ldap_initialize=yes
18232 else
18233 ac_cv_lib_ldap_r_ldap_initialize=no
18235 rm -f core conftest.err conftest.$ac_objext \
18236 conftest$ac_exeext conftest.$ac_ext
18237 LIBS=$ac_check_lib_save_LIBS
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18240 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18241 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18243 $as_echo_n "checking for ber_init in -llber... " >&6; }
18244 if ${ac_cv_lib_lber_ber_init+:} false; then :
18245 $as_echo_n "(cached) " >&6
18246 else
18247 ac_check_lib_save_LIBS=$LIBS
18248 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18250 /* end confdefs.h. */
18252 /* Override any GCC internal prototype to avoid an error.
18253 Use char because int might match the return type of a GCC
18254 builtin and then its argument prototype would still apply. */
18255 #ifdef __cplusplus
18256 extern "C"
18257 #endif
18258 char ber_init ();
18260 main ()
18262 return ber_init ();
18264 return 0;
18266 _ACEOF
18267 if ac_fn_c_try_link "$LINENO"; then :
18268 ac_cv_lib_lber_ber_init=yes
18269 else
18270 ac_cv_lib_lber_ber_init=no
18272 rm -f core conftest.err conftest.$ac_objext \
18273 conftest$ac_exeext conftest.$ac_ext
18274 LIBS=$ac_check_lib_save_LIBS
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18277 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18278 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18280 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18282 else
18283 LDAP_LIBS=""
18286 else
18287 LDAP_LIBS=""
18290 else
18291 LDAP_LIBS=""
18294 ac_wine_check_funcs_save_LIBS="$LIBS"
18295 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18296 for ac_func in \
18297 ldap_count_references \
18298 ldap_first_reference \
18299 ldap_next_reference \
18300 ldap_parse_reference \
18301 ldap_parse_sort_control \
18302 ldap_parse_sortresponse_control \
18303 ldap_parse_vlv_control \
18304 ldap_parse_vlvresponse_control
18305 do :
18306 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18307 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18308 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18309 cat >>confdefs.h <<_ACEOF
18310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18311 _ACEOF
18314 done
18316 LIBS="$ac_wine_check_funcs_save_LIBS"
18317 else
18318 LDAP_LIBS=""
18320 CPPFLAGS=$ac_save_CPPFLAGS
18323 if test "x$LDAP_LIBS" = "x"; then :
18324 case "x$with_ldap" in
18325 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18326 xno) ;;
18327 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18328 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18329 esac
18333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18334 $as_echo_n "checking for sched_setaffinity... " >&6; }
18335 if ${wine_cv_have_sched_setaffinity+:} false; then :
18336 $as_echo_n "(cached) " >&6
18337 else
18338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18339 /* end confdefs.h. */
18340 #define _GNU_SOURCE
18341 #include <sched.h>
18343 main ()
18345 sched_setaffinity(0, 0, 0);
18347 return 0;
18349 _ACEOF
18350 if ac_fn_c_try_link "$LINENO"; then :
18351 wine_cv_have_sched_setaffinity=yes
18352 else
18353 wine_cv_have_sched_setaffinity=no
18355 rm -f core conftest.err conftest.$ac_objext \
18356 conftest$ac_exeext conftest.$ac_ext
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18359 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18360 if test "$wine_cv_have_sched_setaffinity" = "yes"
18361 then
18363 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18368 $as_echo_n "checking for fallocate... " >&6; }
18369 if ${wine_cv_have_fallocate+:} false; then :
18370 $as_echo_n "(cached) " >&6
18371 else
18372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18373 /* end confdefs.h. */
18374 #define _GNU_SOURCE
18375 #include <fcntl.h>
18377 main ()
18379 fallocate(-1, 0, 0, 0);
18381 return 0;
18383 _ACEOF
18384 if ac_fn_c_try_link "$LINENO"; then :
18385 wine_cv_have_fallocate=yes
18386 else
18387 wine_cv_have_fallocate=no
18389 rm -f core conftest.err conftest.$ac_objext \
18390 conftest$ac_exeext conftest.$ac_ext
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18393 $as_echo "$wine_cv_have_fallocate" >&6; }
18394 if test "$wine_cv_have_fallocate" = "yes"
18395 then
18397 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18403 $as_echo_n "checking for inline... " >&6; }
18404 if ${ac_cv_c_inline+:} false; then :
18405 $as_echo_n "(cached) " >&6
18406 else
18407 ac_cv_c_inline=no
18408 for ac_kw in inline __inline__ __inline; do
18409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18410 /* end confdefs.h. */
18411 #ifndef __cplusplus
18412 typedef int foo_t;
18413 static $ac_kw foo_t static_foo () {return 0; }
18414 $ac_kw foo_t foo () {return 0; }
18415 #endif
18417 _ACEOF
18418 if ac_fn_c_try_compile "$LINENO"; then :
18419 ac_cv_c_inline=$ac_kw
18421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18422 test "$ac_cv_c_inline" != no && break
18423 done
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18427 $as_echo "$ac_cv_c_inline" >&6; }
18429 case $ac_cv_c_inline in
18430 inline | yes) ;;
18432 case $ac_cv_c_inline in
18433 no) ac_val=;;
18434 *) ac_val=$ac_cv_c_inline;;
18435 esac
18436 cat >>confdefs.h <<_ACEOF
18437 #ifndef __cplusplus
18438 #define inline $ac_val
18439 #endif
18440 _ACEOF
18442 esac
18444 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18445 #include <signal.h>
18447 if test "x$ac_cv_type_sigset_t" = xyes; then :
18449 cat >>confdefs.h <<_ACEOF
18450 #define HAVE_SIGSET_T 1
18451 _ACEOF
18456 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18458 if test "x$ac_cv_type_request_sense" = xyes; then :
18460 cat >>confdefs.h <<_ACEOF
18461 #define HAVE_REQUEST_SENSE 1
18462 _ACEOF
18468 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18469 #ifdef HAVE_SYS_SOCKET_H
18470 #include <sys/socket.h>
18471 #endif
18472 #ifdef HAVE_SYS_SOCKETVAR_H
18473 #include <sys/socketvar.h>
18474 #endif
18475 #ifdef HAVE_NET_ROUTE_H
18476 #include <net/route.h>
18477 #endif
18478 #ifdef HAVE_NETINET_IN_H
18479 #include <netinet/in.h>
18480 #endif
18481 #ifdef HAVE_NETINET_IN_SYSTM_H
18482 #include <netinet/in_systm.h>
18483 #endif
18484 #ifdef HAVE_NETINET_IP_H
18485 #include <netinet/ip.h>
18486 #endif
18487 #ifdef HAVE_NETINET_IN_PCB_H
18488 #include <netinet/in_pcb.h>
18489 #endif
18491 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18493 cat >>confdefs.h <<_ACEOF
18494 #define HAVE_STRUCT_XINPGEN 1
18495 _ACEOF
18501 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18502 #include <linux/input.h>
18503 #endif
18505 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18507 cat >>confdefs.h <<_ACEOF
18508 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18509 _ACEOF
18515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18516 $as_echo_n "checking for if_nameindex... " >&6; }
18517 if ${wine_cv_have_if_nameindex+:} false; then :
18518 $as_echo_n "(cached) " >&6
18519 else
18520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18521 /* end confdefs.h. */
18522 #ifdef HAVE_SYS_TYPES_H
18523 #include <sys/types.h>
18524 #endif
18525 #ifdef HAVE_SYS_SOCKET_H
18526 #include <sys/socket.h>
18527 #endif
18528 #ifdef HAVE_NET_IF_H
18529 # include <net/if.h>
18530 #endif
18532 main ()
18534 struct if_nameindex *p = if_nameindex(); return p->if_index;
18536 return 0;
18538 _ACEOF
18539 if ac_fn_c_try_link "$LINENO"; then :
18540 wine_cv_have_if_nameindex=yes
18541 else
18542 wine_cv_have_if_nameindex=no
18544 rm -f core conftest.err conftest.$ac_objext \
18545 conftest$ac_exeext conftest.$ac_ext
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18548 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18549 if test "$wine_cv_have_if_nameindex" = "yes"
18550 then
18552 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18557 $as_echo_n "checking for sigaddset... " >&6; }
18558 if ${wine_cv_have_sigaddset+:} false; then :
18559 $as_echo_n "(cached) " >&6
18560 else
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 #include <signal.h>
18565 main ()
18567 sigset_t set; sigaddset(&set,SIGTERM);
18569 return 0;
18571 _ACEOF
18572 if ac_fn_c_try_link "$LINENO"; then :
18573 wine_cv_have_sigaddset=yes
18574 else
18575 wine_cv_have_sigaddset=no
18577 rm -f core conftest.err conftest.$ac_objext \
18578 conftest$ac_exeext conftest.$ac_ext
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18581 $as_echo "$wine_cv_have_sigaddset" >&6; }
18582 if test "$wine_cv_have_sigaddset" = "yes"
18583 then
18585 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18591 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18592 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18593 $as_echo_n "(cached) " >&6
18594 else
18595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18596 /* end confdefs.h. */
18597 #include <netdb.h>
18599 main ()
18602 char *name=0;
18603 struct hostent he;
18604 struct hostent *result;
18605 char *buf=0;
18606 int bufsize=0;
18607 int errnr;
18608 char *addr=0;
18609 int addrlen=0;
18610 int addrtype=0;
18611 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18612 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18615 return 0;
18617 _ACEOF
18618 if ac_fn_c_try_link "$LINENO"; then :
18619 wine_cv_linux_gethostbyname_r_6=yes
18620 else
18621 wine_cv_linux_gethostbyname_r_6=no
18624 rm -f core conftest.err conftest.$ac_objext \
18625 conftest$ac_exeext conftest.$ac_ext
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18629 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18630 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18631 then
18633 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18637 if test "$ac_cv_header_linux_joystick_h" = "yes"
18638 then
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18640 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18641 if ${wine_cv_linux_joystick_22_api+:} false; then :
18642 $as_echo_n "(cached) " >&6
18643 else
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18647 #include <sys/ioctl.h>
18648 #include <sys/types.h>
18649 #include <linux/joystick.h>
18651 struct js_event blub;
18652 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18653 #error "no 2.2 header"
18654 #endif
18657 main ()
18659 /*empty*/
18661 return 0;
18663 _ACEOF
18664 if ac_fn_c_try_compile "$LINENO"; then :
18665 wine_cv_linux_joystick_22_api=yes
18666 else
18667 wine_cv_linux_joystick_22_api=no
18669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18673 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18674 if test "$wine_cv_linux_joystick_22_api" = "yes"
18675 then
18677 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18682 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18683 #ifdef HAVE_SYS_SOCKET_H
18684 # include <sys/socket.h>
18685 #endif
18686 #ifdef HAVE_SYS_UN_H
18687 # include <sys/un.h>
18688 #endif
18690 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18692 cat >>confdefs.h <<_ACEOF
18693 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18694 _ACEOF
18698 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18699 #ifdef HAVE_SYS_SOCKET_H
18700 # include <sys/socket.h>
18701 #endif
18702 #ifdef HAVE_SYS_UN_H
18703 # include <sys/un.h>
18704 #endif
18706 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18708 cat >>confdefs.h <<_ACEOF
18709 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18710 _ACEOF
18714 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18715 #ifdef HAVE_SYS_SOCKET_H
18716 # include <sys/socket.h>
18717 #endif
18718 #ifdef HAVE_SYS_UN_H
18719 # include <sys/un.h>
18720 #endif
18722 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18724 cat >>confdefs.h <<_ACEOF
18725 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18726 _ACEOF
18732 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18733 #ifdef HAVE_SCSI_SG_H
18734 #include <scsi/sg.h>
18735 #endif
18737 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18739 cat >>confdefs.h <<_ACEOF
18740 #define HAVE_SCSIREQ_T_CMD 1
18741 _ACEOF
18745 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>
18746 #ifdef HAVE_SCSI_SG_H
18747 #include <scsi/sg.h>
18748 #endif
18750 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18752 cat >>confdefs.h <<_ACEOF
18753 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18754 _ACEOF
18760 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18762 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18764 cat >>confdefs.h <<_ACEOF
18765 #define HAVE_SIGINFO_T_SI_FD 1
18766 _ACEOF
18772 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18773 #ifdef HAVE_SYS_MTIO_H
18774 #include <sys/mtio.h>
18775 #endif
18777 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18779 cat >>confdefs.h <<_ACEOF
18780 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18781 _ACEOF
18785 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18786 #ifdef HAVE_SYS_MTIO_H
18787 #include <sys/mtio.h>
18788 #endif
18790 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18792 cat >>confdefs.h <<_ACEOF
18793 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18794 _ACEOF
18798 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18799 #ifdef HAVE_SYS_MTIO_H
18800 #include <sys/mtio.h>
18801 #endif
18803 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18805 cat >>confdefs.h <<_ACEOF
18806 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18807 _ACEOF
18813 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18814 #include <getopt.h>
18815 #endif
18817 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18819 cat >>confdefs.h <<_ACEOF
18820 #define HAVE_STRUCT_OPTION_NAME 1
18821 _ACEOF
18827 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18828 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18830 cat >>confdefs.h <<_ACEOF
18831 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18832 _ACEOF
18836 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18837 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18839 cat >>confdefs.h <<_ACEOF
18840 #define HAVE_STRUCT_STAT_ST_MTIM 1
18841 _ACEOF
18845 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18846 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18848 cat >>confdefs.h <<_ACEOF
18849 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18850 _ACEOF
18854 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18855 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18857 cat >>confdefs.h <<_ACEOF
18858 #define HAVE_STRUCT_STAT_ST_CTIM 1
18859 _ACEOF
18863 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18864 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18866 cat >>confdefs.h <<_ACEOF
18867 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18868 _ACEOF
18872 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18873 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18875 cat >>confdefs.h <<_ACEOF
18876 #define HAVE_STRUCT_STAT_ST_ATIM 1
18877 _ACEOF
18881 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18882 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18884 cat >>confdefs.h <<_ACEOF
18885 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18886 _ACEOF
18890 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18891 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18893 cat >>confdefs.h <<_ACEOF
18894 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18895 _ACEOF
18899 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18900 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18902 cat >>confdefs.h <<_ACEOF
18903 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18904 _ACEOF
18908 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18909 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18911 cat >>confdefs.h <<_ACEOF
18912 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18913 _ACEOF
18917 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18918 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18920 cat >>confdefs.h <<_ACEOF
18921 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18922 _ACEOF
18926 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18927 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18929 cat >>confdefs.h <<_ACEOF
18930 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18931 _ACEOF
18937 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
18938 #include <sys/types.h>
18939 #endif
18940 #ifdef HAVE_NETINET_IN_H
18941 #include <netinet/in.h>
18942 #endif
18944 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18946 cat >>confdefs.h <<_ACEOF
18947 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18948 _ACEOF
18954 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18955 #include <sys/types.h>
18956 #endif
18957 #ifdef HAVE_NETINET_IN_H
18958 #include <netinet/in.h>
18959 #endif
18960 #ifdef HAVE_RESOLV_H
18961 #include <resolv.h>
18962 #endif
18964 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18966 cat >>confdefs.h <<_ACEOF
18967 #define HAVE_STRUCT___RES_STATE 1
18968 _ACEOF
18974 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
18975 #include <resolv.h>
18976 #endif
18978 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18980 cat >>confdefs.h <<_ACEOF
18981 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18982 _ACEOF
18988 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18989 #include <sys/types.h>
18990 #endif
18991 #ifdef HAVE_NETINET_IN_H
18992 # include <netinet/in.h>
18993 #endif
18994 #ifdef HAVE_ARPA_NAMESER_H
18995 # include <arpa/nameser.h>
18996 #endif
18998 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19000 cat >>confdefs.h <<_ACEOF
19001 #define HAVE_NS_MSG__MSG_PTR 1
19002 _ACEOF
19008 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19009 #include <sys/types.h>
19010 #endif
19011 #ifdef HAVE_NETINET_IN_H
19012 #include <netinet/in.h>
19013 #endif
19014 #ifdef HAVE_NETINET_IP_H
19015 #include <netinet/ip.h>
19016 #endif
19017 #ifdef HAVE_NETINET_IP_ICMP_H
19018 #include <netinet/ip_icmp.h>
19019 #endif
19020 #ifdef HAVE_NETINET_ICMP_VAR_H
19021 #include <netinet/icmp_var.h>
19022 #endif
19024 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19026 cat >>confdefs.h <<_ACEOF
19027 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19028 _ACEOF
19034 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19035 #include <sys/types.h>
19036 #endif
19037 #ifdef HAVE_ALIAS_H
19038 #include <alias.h>
19039 #endif
19040 #ifdef HAVE_SYS_SOCKET_H
19041 #include <sys/socket.h>
19042 #endif
19043 #ifdef HAVE_SYS_SOCKETVAR_H
19044 #include <sys/socketvar.h>
19045 #endif
19046 #ifdef HAVE_SYS_TIMEOUT_H
19047 #include <sys/timeout.h>
19048 #endif
19049 #ifdef HAVE_NETINET_IN_H
19050 #include <netinet/in.h>
19051 #endif
19052 #ifdef HAVE_NETINET_IN_SYSTM_H
19053 #include <netinet/in_systm.h>
19054 #endif
19055 #ifdef HAVE_NETINET_IP_H
19056 #include <netinet/ip.h>
19057 #endif
19058 #ifdef HAVE_NETINET_IP_VAR_H
19059 #include <netinet/ip_var.h>
19060 #endif
19061 #ifdef HAVE_NETINET_IP_ICMP_H
19062 #include <netinet/ip_icmp.h>
19063 #endif
19064 #ifdef HAVE_NETINET_ICMP_VAR_H
19065 #include <netinet/icmp_var.h>
19066 #endif
19068 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19070 cat >>confdefs.h <<_ACEOF
19071 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19072 _ACEOF
19078 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19079 #include <sys/types.h>
19080 #endif
19081 #ifdef HAVE_SYS_SOCKETVAR_H
19082 #include <sys/socketvar.h>
19083 #endif
19084 #ifdef HAVE_NETINET_IN_H
19085 #include <netinet/in.h>
19086 #endif
19087 #ifdef HAVE_NETINET_IP_VAR_H
19088 #include <netinet/ip_var.h>
19089 #endif
19091 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19093 cat >>confdefs.h <<_ACEOF
19094 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19095 _ACEOF
19101 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
19102 #include <netinet/ip_var.h>
19103 #endif
19105 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19107 cat >>confdefs.h <<_ACEOF
19108 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19109 _ACEOF
19115 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19116 #include <sys/types.h>
19117 #endif
19118 #ifdef HAVE_SYS_SOCKETVAR_H
19119 #include <sys/socketvar.h>
19120 #endif
19121 #ifdef HAVE_NETINET_IN_H
19122 #include <netinet/in.h>
19123 #endif
19124 #ifdef HAVE_NETINET_TCP_H
19125 #include <netinet/tcp.h>
19126 #endif
19127 #ifdef HAVE_NETINET_TCP_VAR_H
19128 #include <netinet/tcp_var.h>
19129 #endif
19131 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19133 cat >>confdefs.h <<_ACEOF
19134 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19135 _ACEOF
19141 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
19142 #include <netinet/tcp_var.h>
19143 #endif
19145 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19147 cat >>confdefs.h <<_ACEOF
19148 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19149 _ACEOF
19155 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19156 #include <sys/types.h>
19157 #endif
19158 #ifdef HAVE_NETINET_IN_H
19159 #include <netinet/in.h>
19160 #endif
19161 #ifdef HAVE_NETINET_IP_VAR_H
19162 #include <netinet/ip_var.h>
19163 #endif
19164 #ifdef HAVE_NETINET_UDP_H
19165 #include <netinet/udp.h>
19166 #endif
19167 #ifdef HAVE_NETINET_UDP_VAR_H
19168 #include <netinet/udp_var.h>
19169 #endif
19171 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19173 cat >>confdefs.h <<_ACEOF
19174 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19175 _ACEOF
19181 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19182 #include <sys/types.h>
19183 #endif
19184 #ifdef HAVE_NET_IF_H
19185 # include <net/if.h>
19186 #endif
19188 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19192 _ACEOF
19198 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19199 # include <sys/sysinfo.h>
19200 #endif
19202 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19204 cat >>confdefs.h <<_ACEOF
19205 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19206 _ACEOF
19210 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19211 # include <sys/sysinfo.h>
19212 #endif
19214 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19216 cat >>confdefs.h <<_ACEOF
19217 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19218 _ACEOF
19224 ac_save_LIBS="$LIBS"
19225 LIBS="$LIBS -lm"
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19227 $as_echo_n "checking for isfinite... " >&6; }
19228 if ${ac_cv_have_isfinite+:} false; then :
19229 $as_echo_n "(cached) " >&6
19230 else
19231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19232 /* end confdefs.h. */
19233 #define _GNU_SOURCE
19234 #include <math.h>
19236 main ()
19238 float f = 0.0; return isfinite(f)
19240 return 0;
19242 _ACEOF
19243 if ac_fn_c_try_link "$LINENO"; then :
19244 ac_cv_have_isfinite="yes"
19245 else
19246 ac_cv_have_isfinite="no"
19248 rm -f core conftest.err conftest.$ac_objext \
19249 conftest$ac_exeext conftest.$ac_ext
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19252 $as_echo "$ac_cv_have_isfinite" >&6; }
19253 if test "$ac_cv_have_isfinite" = "yes"
19254 then
19256 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19261 $as_echo_n "checking for isinf... " >&6; }
19262 if ${ac_cv_have_isinf+:} false; then :
19263 $as_echo_n "(cached) " >&6
19264 else
19265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19266 /* end confdefs.h. */
19267 #include <math.h>
19269 main ()
19271 float f = 0.0; return isinf(f)
19273 return 0;
19275 _ACEOF
19276 if ac_fn_c_try_link "$LINENO"; then :
19277 ac_cv_have_isinf="yes"
19278 else
19279 ac_cv_have_isinf="no"
19281 rm -f core conftest.err conftest.$ac_objext \
19282 conftest$ac_exeext conftest.$ac_ext
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19285 $as_echo "$ac_cv_have_isinf" >&6; }
19286 if test "$ac_cv_have_isinf" = "yes"
19287 then
19289 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19294 $as_echo_n "checking for isnan... " >&6; }
19295 if ${ac_cv_have_isnan+:} false; then :
19296 $as_echo_n "(cached) " >&6
19297 else
19298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19299 /* end confdefs.h. */
19300 #include <math.h>
19302 main ()
19304 float f = 0.0; return isnan(f)
19306 return 0;
19308 _ACEOF
19309 if ac_fn_c_try_link "$LINENO"; then :
19310 ac_cv_have_isnan="yes"
19311 else
19312 ac_cv_have_isnan="no"
19314 rm -f core conftest.err conftest.$ac_objext \
19315 conftest$ac_exeext conftest.$ac_ext
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19318 $as_echo "$ac_cv_have_isnan" >&6; }
19319 if test "$ac_cv_have_isnan" = "yes"
19320 then
19322 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19326 for ac_func in \
19327 acosh \
19328 acoshf \
19329 asinh \
19330 asinhf \
19331 atanh \
19332 atanhf \
19333 cbrt \
19334 cbrtf \
19335 erf \
19336 erfc \
19337 erfcf \
19338 erff \
19339 exp2 \
19340 exp2f \
19341 expm1 \
19342 expm1f \
19343 fma \
19344 fmaf \
19345 j0 \
19346 j1 \
19347 jn \
19348 lgamma \
19349 lgammaf \
19350 llrint \
19351 llrintf \
19352 llround \
19353 llroundf \
19354 log1p \
19355 log1pf \
19356 log2 \
19357 log2f \
19358 lrint \
19359 lrintf \
19360 lround \
19361 lroundf \
19362 nearbyint \
19363 nearbyintf \
19364 nexttoward \
19365 nexttowardf \
19366 remainder \
19367 remainderf \
19368 remquo \
19369 remquof \
19370 rint \
19371 rintf \
19372 round \
19373 roundf \
19374 tgamma \
19375 tgammaf \
19376 trunc \
19377 truncf \
19378 y0 \
19379 y1 \
19382 do :
19383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19385 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19386 cat >>confdefs.h <<_ACEOF
19387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19388 _ACEOF
19391 done
19393 LIBS="$ac_save_LIBS"
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19396 $as_echo_n "checking for __builtin_popcount... " >&6; }
19397 if ${ac_cv_have___builtin_popcount+:} false; then :
19398 $as_echo_n "(cached) " >&6
19399 else
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19404 main ()
19406 return __builtin_popcount(1)
19408 return 0;
19410 _ACEOF
19411 if ac_fn_c_try_link "$LINENO"; then :
19412 ac_cv_have___builtin_popcount="yes"
19413 else
19414 ac_cv_have___builtin_popcount="no"
19416 rm -f core conftest.err conftest.$ac_objext \
19417 conftest$ac_exeext conftest.$ac_ext
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19420 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19421 if test "$ac_cv_have___builtin_popcount" = "yes"
19422 then
19424 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19429 $as_echo_n "checking for __clear_cache... " >&6; }
19430 if ${ac_cv_have___clear_cache+:} false; then :
19431 $as_echo_n "(cached) " >&6
19432 else
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19437 main ()
19439 __clear_cache((void*)0, (void*)0); return 0;
19441 return 0;
19443 _ACEOF
19444 if ac_fn_c_try_link "$LINENO"; then :
19445 ac_cv_have___clear_cache="yes"
19446 else
19447 ac_cv_have___clear_cache="no"
19449 rm -f core conftest.err conftest.$ac_objext \
19450 conftest$ac_exeext conftest.$ac_ext
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19453 $as_echo "$ac_cv_have___clear_cache" >&6; }
19454 if test "$ac_cv_have___clear_cache" = "yes"
19455 then
19457 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19462 case $host_cpu in
19463 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19464 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19465 if ${ac_cv_cpp_def___i386__+:} false; then :
19466 $as_echo_n "(cached) " >&6
19467 else
19468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19469 /* end confdefs.h. */
19470 #ifndef __i386__
19472 #endif
19473 _ACEOF
19474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19475 $EGREP "yes" >/dev/null 2>&1; then :
19476 ac_cv_cpp_def___i386__=yes
19477 else
19478 ac_cv_cpp_def___i386__=no
19480 rm -f conftest*
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19484 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19485 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19486 CFLAGS="$CFLAGS -D__i386__"
19487 LINTFLAGS="$LINTFLAGS -D__i386__"
19488 fi ;;
19489 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19490 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19491 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19492 $as_echo_n "(cached) " >&6
19493 else
19494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h. */
19496 #ifndef __x86_64__
19498 #endif
19499 _ACEOF
19500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19501 $EGREP "yes" >/dev/null 2>&1; then :
19502 ac_cv_cpp_def___x86_64__=yes
19503 else
19504 ac_cv_cpp_def___x86_64__=no
19506 rm -f conftest*
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19510 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19511 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19512 CFLAGS="$CFLAGS -D__x86_64__"
19513 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19514 fi ;;
19515 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19516 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19517 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19518 $as_echo_n "(cached) " >&6
19519 else
19520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19521 /* end confdefs.h. */
19522 #ifndef __sparc64__
19524 #endif
19525 _ACEOF
19526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19527 $EGREP "yes" >/dev/null 2>&1; then :
19528 ac_cv_cpp_def___sparc64__=yes
19529 else
19530 ac_cv_cpp_def___sparc64__=no
19532 rm -f conftest*
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19536 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19537 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19538 CFLAGS="$CFLAGS -D__sparc64__"
19539 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19540 fi ;;
19541 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19542 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19543 if ${ac_cv_cpp_def___sparc__+:} false; then :
19544 $as_echo_n "(cached) " >&6
19545 else
19546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19547 /* end confdefs.h. */
19548 #ifndef __sparc__
19550 #endif
19551 _ACEOF
19552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19553 $EGREP "yes" >/dev/null 2>&1; then :
19554 ac_cv_cpp_def___sparc__=yes
19555 else
19556 ac_cv_cpp_def___sparc__=no
19558 rm -f conftest*
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19562 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19563 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19564 CFLAGS="$CFLAGS -D__sparc__"
19565 LINTFLAGS="$LINTFLAGS -D__sparc__"
19566 fi ;;
19567 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19568 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19569 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19570 $as_echo_n "(cached) " >&6
19571 else
19572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19573 /* end confdefs.h. */
19574 #ifndef __powerpc64__
19576 #endif
19577 _ACEOF
19578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19579 $EGREP "yes" >/dev/null 2>&1; then :
19580 ac_cv_cpp_def___powerpc64__=yes
19581 else
19582 ac_cv_cpp_def___powerpc64__=no
19584 rm -f conftest*
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19588 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19589 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19590 CFLAGS="$CFLAGS -D__powerpc64__"
19591 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19592 fi ;;
19593 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19594 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19595 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19596 $as_echo_n "(cached) " >&6
19597 else
19598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19599 /* end confdefs.h. */
19600 #ifndef __powerpc__
19602 #endif
19603 _ACEOF
19604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19605 $EGREP "yes" >/dev/null 2>&1; then :
19606 ac_cv_cpp_def___powerpc__=yes
19607 else
19608 ac_cv_cpp_def___powerpc__=no
19610 rm -f conftest*
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19614 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19615 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19616 CFLAGS="$CFLAGS -D__powerpc__"
19617 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19618 fi ;;
19619 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19620 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19621 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19622 $as_echo_n "(cached) " >&6
19623 else
19624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19625 /* end confdefs.h. */
19626 #ifndef __aarch64__
19628 #endif
19629 _ACEOF
19630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19631 $EGREP "yes" >/dev/null 2>&1; then :
19632 ac_cv_cpp_def___aarch64__=yes
19633 else
19634 ac_cv_cpp_def___aarch64__=no
19636 rm -f conftest*
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19640 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19641 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19642 CFLAGS="$CFLAGS -D__aarch64__"
19643 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19644 fi ;;
19645 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19646 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19647 if ${ac_cv_cpp_def___arm__+:} false; then :
19648 $as_echo_n "(cached) " >&6
19649 else
19650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19651 /* end confdefs.h. */
19652 #ifndef __arm__
19654 #endif
19655 _ACEOF
19656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19657 $EGREP "yes" >/dev/null 2>&1; then :
19658 ac_cv_cpp_def___arm__=yes
19659 else
19660 ac_cv_cpp_def___arm__=no
19662 rm -f conftest*
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19666 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19667 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19668 CFLAGS="$CFLAGS -D__arm__"
19669 LINTFLAGS="$LINTFLAGS -D__arm__"
19670 fi ;;
19671 esac
19673 case $host_vendor in
19674 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19675 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19676 if ${ac_cv_cpp_def___sun__+:} false; then :
19677 $as_echo_n "(cached) " >&6
19678 else
19679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19680 /* end confdefs.h. */
19681 #ifndef __sun__
19683 #endif
19684 _ACEOF
19685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19686 $EGREP "yes" >/dev/null 2>&1; then :
19687 ac_cv_cpp_def___sun__=yes
19688 else
19689 ac_cv_cpp_def___sun__=no
19691 rm -f conftest*
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19695 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19696 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19697 CFLAGS="$CFLAGS -D__sun__"
19698 LINTFLAGS="$LINTFLAGS -D__sun__"
19699 fi ;;
19700 esac
19706 ac_config_commands="$ac_config_commands include/stamp-h"
19708 $as_echo_n "creating Makefile rules..." >&6
19710 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19711 OPENGL_LIBS = $OPENGL_LIBS
19712 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19713 IOKIT_LIBS = $IOKIT_LIBS
19714 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19715 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19716 CORESERVICES_LIBS = $CORESERVICES_LIBS
19717 APPKIT_LIBS = $APPKIT_LIBS
19718 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19719 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19720 SECURITY_LIBS = $SECURITY_LIBS
19721 COREAUDIO_LIBS = $COREAUDIO_LIBS
19722 OPENAL_LIBS = $OPENAL_LIBS
19723 OPENCL_LIBS = $OPENCL_LIBS
19724 QUICKTIME_LIBS = $QUICKTIME_LIBS
19725 CARBON_LIBS = $CARBON_LIBS
19726 METAL_LIBS = $METAL_LIBS
19727 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19728 PTHREAD_LIBS = $PTHREAD_LIBS
19729 X_CFLAGS = $X_CFLAGS
19730 X_PRE_LIBS = $X_PRE_LIBS
19731 X_LIBS = $X_LIBS
19732 X_EXTRA_LIBS = $X_EXTRA_LIBS
19733 PCAP_LIBS = $PCAP_LIBS
19734 XML2_CFLAGS = $XML2_CFLAGS
19735 XML2_LIBS = $XML2_LIBS
19736 XSLT_CFLAGS = $XSLT_CFLAGS
19737 XSLT_LIBS = $XSLT_LIBS
19738 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19739 INOTIFY_LIBS = $INOTIFY_LIBS
19740 DBUS_CFLAGS = $DBUS_CFLAGS
19741 DBUS_LIBS = $DBUS_LIBS
19742 HAL_CFLAGS = $HAL_CFLAGS
19743 HAL_LIBS = $HAL_LIBS
19744 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19745 GNUTLS_LIBS = $GNUTLS_LIBS
19746 SANE_CFLAGS = $SANE_CFLAGS
19747 SANE_LIBS = $SANE_LIBS
19748 USB_CFLAGS = $USB_CFLAGS
19749 USB_LIBS = $USB_LIBS
19750 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19751 GPHOTO2_LIBS = $GPHOTO2_LIBS
19752 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19753 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19754 RESOLV_LIBS = $RESOLV_LIBS
19755 LCMS2_CFLAGS = $LCMS2_CFLAGS
19756 LCMS2_LIBS = $LCMS2_LIBS
19757 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19758 FREETYPE_LIBS = $FREETYPE_LIBS
19759 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19760 PULSE_CFLAGS = $PULSE_CFLAGS
19761 PULSE_LIBS = $PULSE_LIBS
19762 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19763 GSTREAMER_LIBS = $GSTREAMER_LIBS
19764 ALSA_LIBS = $ALSA_LIBS
19765 OSS4_CFLAGS = $OSS4_CFLAGS
19766 OSS4_LIBS = $OSS4_LIBS
19767 UDEV_CFLAGS = $UDEV_CFLAGS
19768 UDEV_LIBS = $UDEV_LIBS
19769 UNWIND_CFLAGS = $UNWIND_CFLAGS
19770 UNWIND_LIBS = $UNWIND_LIBS
19771 SDL2_CFLAGS = $SDL2_CFLAGS
19772 SDL2_LIBS = $SDL2_LIBS
19773 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19774 FAUDIO_LIBS = $FAUDIO_LIBS
19775 CAPI20_CFLAGS = $CAPI20_CFLAGS
19776 CAPI20_LIBS = $CAPI20_LIBS
19777 CUPS_CFLAGS = $CUPS_CFLAGS
19778 CUPS_LIBS = $CUPS_LIBS
19779 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19780 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19781 KRB5_CFLAGS = $KRB5_CFLAGS
19782 KRB5_LIBS = $KRB5_LIBS
19783 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19784 GSSAPI_LIBS = $GSSAPI_LIBS
19785 JPEG_CFLAGS = $JPEG_CFLAGS
19786 JPEG_LIBS = $JPEG_LIBS
19787 PNG_CFLAGS = $PNG_CFLAGS
19788 PNG_LIBS = $PNG_LIBS
19789 TIFF_CFLAGS = $TIFF_CFLAGS
19790 TIFF_LIBS = $TIFF_LIBS
19791 MPG123_CFLAGS = $MPG123_CFLAGS
19792 MPG123_LIBS = $MPG123_LIBS
19793 KSTAT_LIBS = $KSTAT_LIBS
19794 PROCSTAT_LIBS = $PROCSTAT_LIBS
19795 NETAPI_CFLAGS = $NETAPI_CFLAGS
19796 NETAPI_LIBS = $NETAPI_LIBS
19797 VKD3D_CFLAGS = $VKD3D_CFLAGS
19798 VKD3D_LIBS = $VKD3D_LIBS
19799 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19800 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19801 POLL_LIBS = $POLL_LIBS
19802 RT_LIBS = $RT_LIBS
19803 LDAP_CFLAGS = $LDAP_CFLAGS
19804 LDAP_LIBS = $LDAP_LIBS
19809 wine_fn_append_rule "
19810 # Rules automatically generated by configure
19812 .INIT: Makefile
19813 .MAKEFILEDEPS:
19814 all: Makefile
19815 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19816 @./config.status Make.tmp Makefile
19817 depend: \$(MAKEDEP)
19818 \$(MAKEDEP)
19819 dummy:
19820 .PHONY: depend dummy"
19822 ac_config_links="$ac_config_links wine:tools/winewrapper"
19823 wine_fn_config_symlink wine
19824 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19825 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19826 wine_fn_config_symlink wine64
19829 wine_fn_config_makefile dlls/acledit enable_acledit
19830 wine_fn_config_makefile dlls/aclui enable_aclui
19831 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19832 wine_fn_config_makefile dlls/activeds enable_activeds
19833 wine_fn_config_makefile dlls/activeds/tests enable_tests
19834 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19835 wine_fn_config_makefile dlls/adsiid enable_adsiid
19836 wine_fn_config_makefile dlls/adsldp enable_adsldp
19837 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19838 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19839 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19840 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19841 wine_fn_config_makefile dlls/advpack enable_advpack
19842 wine_fn_config_makefile dlls/advpack/tests enable_tests
19843 wine_fn_config_makefile dlls/amsi enable_amsi
19844 wine_fn_config_makefile dlls/amstream enable_amstream
19845 wine_fn_config_makefile dlls/amstream/tests enable_tests
19846 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19847 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19848 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19849 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19850 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19851 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19852 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19853 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19854 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19855 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19856 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19857 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19858 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19860 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19861 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19864 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19865 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19866 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19867 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19868 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19869 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19870 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19871 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19872 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19873 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19874 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
19875 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
19876 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19877 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19878 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19879 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19880 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19881 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19882 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19883 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19884 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19886 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19887 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19888 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19889 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19890 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19891 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19892 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19893 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19894 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19895 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19896 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19897 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19898 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19899 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19900 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19901 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19902 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19903 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
19904 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19905 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19906 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19907 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
19908 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19909 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19910 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19911 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19912 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19913 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19914 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19915 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19916 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19917 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
19918 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
19919 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19920 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
19921 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19922 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19923 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19924 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19925 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19926 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19927 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19928 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19929 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19930 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19931 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19932 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19933 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19934 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19936 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19937 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19939 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19940 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19941 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19942 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
19943 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19944 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19945 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19946 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19947 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19948 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19949 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19950 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19951 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19952 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19953 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19954 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19955 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19956 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19957 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19959 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19960 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19961 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19962 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19963 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
19964 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19965 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19966 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19967 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19968 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19969 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19970 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19972 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19974 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19975 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19976 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19978 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19979 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19980 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19984 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19985 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19987 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19990 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20006 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20007 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20027 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20038 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20042 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20044 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20046 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20047 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20050 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20052 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20054 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20060 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20063 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20065 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20067 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20071 wine_fn_config_makefile dlls/apphelp enable_apphelp
20072 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20073 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20074 wine_fn_config_makefile dlls/atl enable_atl
20075 wine_fn_config_makefile dlls/atl/tests enable_tests
20076 wine_fn_config_makefile dlls/atl100 enable_atl100
20077 wine_fn_config_makefile dlls/atl100/tests enable_tests
20078 wine_fn_config_makefile dlls/atl110 enable_atl110
20079 wine_fn_config_makefile dlls/atl80 enable_atl80
20080 wine_fn_config_makefile dlls/atl80/tests enable_tests
20081 wine_fn_config_makefile dlls/atl90 enable_atl90
20082 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20083 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20084 wine_fn_config_makefile dlls/atmlib enable_atmlib
20085 wine_fn_config_makefile dlls/authz enable_authz
20086 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20087 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20088 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20089 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20090 wine_fn_config_makefile dlls/avrt enable_avrt
20091 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20092 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20093 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20094 wine_fn_config_makefile dlls/browseui enable_browseui
20095 wine_fn_config_makefile dlls/browseui/tests enable_tests
20096 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20097 wine_fn_config_makefile dlls/cabinet enable_cabinet
20098 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20099 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20100 wine_fn_config_makefile dlls/cards enable_cards
20101 wine_fn_config_makefile dlls/cdosys enable_cdosys
20102 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20103 wine_fn_config_makefile dlls/clusapi enable_clusapi
20104 wine_fn_config_makefile dlls/combase enable_combase
20105 wine_fn_config_makefile dlls/combase/tests enable_tests
20106 wine_fn_config_makefile dlls/comcat enable_comcat
20107 wine_fn_config_makefile dlls/comcat/tests enable_tests
20108 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20109 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20110 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20111 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20112 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20113 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20114 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20115 wine_fn_config_makefile dlls/compstui enable_compstui
20116 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20117 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20118 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20119 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20120 wine_fn_config_makefile dlls/connect enable_connect
20121 wine_fn_config_makefile dlls/credui enable_credui
20122 wine_fn_config_makefile dlls/credui/tests enable_tests
20123 wine_fn_config_makefile dlls/crtdll enable_crtdll
20124 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20125 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20126 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20127 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20128 wine_fn_config_makefile dlls/cryptext enable_cryptext
20129 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20130 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20131 wine_fn_config_makefile dlls/cryptui enable_cryptui
20132 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20133 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20134 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20135 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20136 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20137 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20138 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20139 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20140 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20141 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20142 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20143 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20144 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20145 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20146 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20147 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20148 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20149 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20150 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20151 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20152 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20153 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20154 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20155 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20156 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20157 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20158 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20159 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20160 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20161 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20162 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20163 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20164 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20165 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20166 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20167 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20168 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20169 wine_fn_config_makefile dlls/d3dim enable_d3dim
20170 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20171 wine_fn_config_makefile dlls/d3drm enable_d3drm
20172 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20173 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20174 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20175 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20176 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20177 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20178 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20179 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20180 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20181 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20182 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20183 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20184 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20185 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20186 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20187 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20188 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20189 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20190 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20191 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20192 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20193 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20194 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20195 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20196 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20197 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20198 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20199 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20200 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20201 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20202 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20203 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20204 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20205 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20206 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20207 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20208 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20209 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20210 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20211 wine_fn_config_makefile dlls/davclnt enable_davclnt
20212 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20213 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20214 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20215 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20216 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20217 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20218 wine_fn_config_makefile dlls/ddraw enable_ddraw
20219 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20220 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20221 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20222 wine_fn_config_makefile dlls/devenum enable_devenum
20223 wine_fn_config_makefile dlls/devenum/tests enable_tests
20224 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20225 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20226 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20227 wine_fn_config_makefile dlls/difxapi enable_difxapi
20228 wine_fn_config_makefile dlls/dinput enable_dinput
20229 wine_fn_config_makefile dlls/dinput/tests enable_tests
20230 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20231 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20232 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20233 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20234 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20235 wine_fn_config_makefile dlls/dispex enable_dispex
20236 wine_fn_config_makefile dlls/dispex/tests enable_tests
20237 wine_fn_config_makefile dlls/display.drv16 enable_win16
20238 wine_fn_config_makefile dlls/dmband enable_dmband
20239 wine_fn_config_makefile dlls/dmband/tests enable_tests
20240 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20241 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20242 wine_fn_config_makefile dlls/dmime enable_dmime
20243 wine_fn_config_makefile dlls/dmime/tests enable_tests
20244 wine_fn_config_makefile dlls/dmloader enable_dmloader
20245 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20246 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20247 wine_fn_config_makefile dlls/dmscript enable_dmscript
20248 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20249 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20250 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20251 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20252 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20253 wine_fn_config_makefile dlls/dmusic enable_dmusic
20254 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20255 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20256 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20257 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20258 wine_fn_config_makefile dlls/dplay enable_dplay
20259 wine_fn_config_makefile dlls/dplayx enable_dplayx
20260 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20261 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20262 wine_fn_config_makefile dlls/dpnet enable_dpnet
20263 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20264 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20265 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20266 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20267 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20268 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20269 wine_fn_config_makefile dlls/drmclien enable_drmclien
20270 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20271 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20272 wine_fn_config_makefile dlls/dsound enable_dsound
20273 wine_fn_config_makefile dlls/dsound/tests enable_tests
20274 wine_fn_config_makefile dlls/dsquery enable_dsquery
20275 wine_fn_config_makefile dlls/dssenh enable_dssenh
20276 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20277 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20278 wine_fn_config_makefile dlls/dswave enable_dswave
20279 wine_fn_config_makefile dlls/dswave/tests enable_tests
20280 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20281 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20282 wine_fn_config_makefile dlls/dwrite enable_dwrite
20283 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20284 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20285 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20286 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20287 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20288 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20289 wine_fn_config_makefile dlls/dxgi enable_dxgi
20290 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20291 wine_fn_config_makefile dlls/dxguid enable_dxguid
20292 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20293 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20294 wine_fn_config_makefile dlls/esent enable_esent
20295 wine_fn_config_makefile dlls/evr enable_evr
20296 wine_fn_config_makefile dlls/evr/tests enable_tests
20297 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20298 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20299 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20300 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20301 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20302 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20303 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20304 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20305 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20306 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20307 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20308 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20309 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20310 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20311 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20312 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20313 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20314 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20315 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20316 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20317 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20318 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20319 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20320 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20321 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20322 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20323 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20324 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20325 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20326 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20327 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20328 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20329 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20330 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20331 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20332 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20333 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20334 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20335 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20336 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20337 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20338 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20339 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
20340 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20341 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20342 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20343 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20344 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20345 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20346 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20347 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20348 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20349 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20350 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20351 wine_fn_config_makefile dlls/faultrep enable_faultrep
20352 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20353 wine_fn_config_makefile dlls/feclient enable_feclient
20354 wine_fn_config_makefile dlls/fltlib enable_fltlib
20355 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20356 wine_fn_config_makefile dlls/fntcache enable_fntcache
20357 wine_fn_config_makefile dlls/fontsub enable_fontsub
20358 wine_fn_config_makefile dlls/fusion enable_fusion
20359 wine_fn_config_makefile dlls/fusion/tests enable_tests
20360 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20361 wine_fn_config_makefile dlls/gameux enable_gameux
20362 wine_fn_config_makefile dlls/gameux/tests enable_tests
20363 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20364 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20365 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20366 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20367 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20368 wine_fn_config_makefile dlls/glu32 enable_glu32
20369 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20370 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20371 wine_fn_config_makefile dlls/hal enable_hal
20372 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20373 wine_fn_config_makefile dlls/hid enable_hid
20374 wine_fn_config_makefile dlls/hid/tests enable_tests
20375 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20376 wine_fn_config_makefile dlls/hlink enable_hlink
20377 wine_fn_config_makefile dlls/hlink/tests enable_tests
20378 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20379 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20380 wine_fn_config_makefile dlls/http.sys enable_http_sys
20381 wine_fn_config_makefile dlls/httpapi enable_httpapi
20382 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20383 wine_fn_config_makefile dlls/iccvid enable_iccvid
20384 wine_fn_config_makefile dlls/icmp enable_icmp
20385 wine_fn_config_makefile dlls/ieframe enable_ieframe
20386 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20387 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20388 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20389 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20390 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20391 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20392 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20393 wine_fn_config_makefile dlls/imm32 enable_imm32
20394 wine_fn_config_makefile dlls/imm32/tests enable_tests
20395 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20396 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20397 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20398 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20399 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20400 wine_fn_config_makefile dlls/infosoft enable_infosoft
20401 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20402 wine_fn_config_makefile dlls/initpki enable_initpki
20403 wine_fn_config_makefile dlls/inkobj enable_inkobj
20404 wine_fn_config_makefile dlls/inseng enable_inseng
20405 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20406 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20407 wine_fn_config_makefile dlls/iprop enable_iprop
20408 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20409 wine_fn_config_makefile dlls/itircl enable_itircl
20410 wine_fn_config_makefile dlls/itss enable_itss
20411 wine_fn_config_makefile dlls/itss/tests enable_tests
20412 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20413 wine_fn_config_makefile dlls/jscript enable_jscript
20414 wine_fn_config_makefile dlls/jscript/tests enable_tests
20415 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20416 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20417 wine_fn_config_makefile dlls/kerberos enable_kerberos
20418 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20419 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20420 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20421 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20422 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20423 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20424 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20425 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20426 wine_fn_config_makefile dlls/ksuser enable_ksuser
20427 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20428 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20429 wine_fn_config_makefile dlls/loadperf enable_loadperf
20430 wine_fn_config_makefile dlls/localspl enable_localspl
20431 wine_fn_config_makefile dlls/localspl/tests enable_tests
20432 wine_fn_config_makefile dlls/localui enable_localui
20433 wine_fn_config_makefile dlls/localui/tests enable_tests
20434 wine_fn_config_makefile dlls/lz32 enable_lz32
20435 wine_fn_config_makefile dlls/lz32/tests enable_tests
20436 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20437 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20438 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20439 wine_fn_config_makefile dlls/mapistub enable_mapistub
20440 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20441 wine_fn_config_makefile dlls/mcicda enable_mcicda
20442 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20443 wine_fn_config_makefile dlls/mciseq enable_mciseq
20444 wine_fn_config_makefile dlls/mciwave enable_mciwave
20445 wine_fn_config_makefile dlls/mf enable_mf
20446 wine_fn_config_makefile dlls/mf/tests enable_tests
20447 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20448 wine_fn_config_makefile dlls/mferror enable_mferror
20449 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20450 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20451 wine_fn_config_makefile dlls/mfplat enable_mfplat
20452 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20453 wine_fn_config_makefile dlls/mfplay enable_mfplay
20454 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20455 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20456 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20457 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20458 wine_fn_config_makefile dlls/midimap enable_midimap
20459 wine_fn_config_makefile dlls/mlang enable_mlang
20460 wine_fn_config_makefile dlls/mlang/tests enable_tests
20461 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20462 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20463 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20464 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20465 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20466 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20467 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20468 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20469 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20470 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20471 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20472 wine_fn_config_makefile dlls/mpr enable_mpr
20473 wine_fn_config_makefile dlls/mpr/tests enable_tests
20474 wine_fn_config_makefile dlls/mprapi enable_mprapi
20475 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20476 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20477 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20478 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20479 wine_fn_config_makefile dlls/msado15 enable_msado15
20480 wine_fn_config_makefile dlls/msado15/tests enable_tests
20481 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20482 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20483 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20484 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20485 wine_fn_config_makefile dlls/mscms enable_mscms
20486 wine_fn_config_makefile dlls/mscms/tests enable_tests
20487 wine_fn_config_makefile dlls/mscoree enable_mscoree
20488 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20489 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20490 wine_fn_config_makefile dlls/msctf enable_msctf
20491 wine_fn_config_makefile dlls/msctf/tests enable_tests
20492 wine_fn_config_makefile dlls/msctfp enable_msctfp
20493 wine_fn_config_makefile dlls/msdaps enable_msdaps
20494 wine_fn_config_makefile dlls/msdelta enable_msdelta
20495 wine_fn_config_makefile dlls/msdmo enable_msdmo
20496 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20497 wine_fn_config_makefile dlls/msdrm enable_msdrm
20498 wine_fn_config_makefile dlls/msftedit enable_msftedit
20499 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20500 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20501 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20502 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20503 wine_fn_config_makefile dlls/mshtml enable_mshtml
20504 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20505 wine_fn_config_makefile dlls/msi enable_msi
20506 wine_fn_config_makefile dlls/msi/tests enable_tests
20507 wine_fn_config_makefile dlls/msident enable_msident
20508 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20509 wine_fn_config_makefile dlls/msimsg enable_msimsg
20510 wine_fn_config_makefile dlls/msimtf enable_msimtf
20511 wine_fn_config_makefile dlls/msisip enable_msisip
20512 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20513 wine_fn_config_makefile dlls/msls31 enable_msls31
20514 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20515 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20516 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20517 wine_fn_config_makefile dlls/msports enable_msports
20518 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20519 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20520 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20521 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20522 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20523 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20524 wine_fn_config_makefile dlls/mstask enable_mstask
20525 wine_fn_config_makefile dlls/mstask/tests enable_tests
20526 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20527 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20528 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20529 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20530 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20531 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20532 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20533 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20534 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20535 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20536 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20537 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20538 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20539 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20540 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20541 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20542 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20543 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20544 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20545 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20546 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20547 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20548 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20549 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20550 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20551 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20552 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20553 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20554 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20555 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20556 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20557 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20558 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20559 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20560 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20561 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20562 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20563 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20564 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20565 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20566 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20567 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20568 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20569 wine_fn_config_makefile dlls/mswsock enable_mswsock
20570 wine_fn_config_makefile dlls/msxml enable_msxml
20571 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20572 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20573 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20574 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20575 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20576 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20577 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20578 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20579 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20580 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20581 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20582 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20583 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20584 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20585 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20586 wine_fn_config_makefile dlls/netprofm enable_netprofm
20587 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20588 wine_fn_config_makefile dlls/netutils enable_netutils
20589 wine_fn_config_makefile dlls/newdev enable_newdev
20590 wine_fn_config_makefile dlls/ninput enable_ninput
20591 wine_fn_config_makefile dlls/ninput/tests enable_tests
20592 wine_fn_config_makefile dlls/normaliz enable_normaliz
20593 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20594 wine_fn_config_makefile dlls/npptools enable_npptools
20595 wine_fn_config_makefile dlls/ntdll enable_ntdll
20596 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20597 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20598 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20599 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20600 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20601 wine_fn_config_makefile dlls/ntprint enable_ntprint
20602 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20603 wine_fn_config_makefile dlls/objsel enable_objsel
20604 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20605 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20606 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20607 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20608 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20609 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20610 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20611 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20612 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20613 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20614 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20615 wine_fn_config_makefile dlls/ole32 enable_ole32
20616 wine_fn_config_makefile dlls/ole32/tests enable_tests
20617 wine_fn_config_makefile dlls/oleacc enable_oleacc
20618 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20619 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20620 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20621 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20622 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20623 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20624 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20625 wine_fn_config_makefile dlls/oledlg enable_oledlg
20626 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20627 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20628 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20629 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20630 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20631 wine_fn_config_makefile dlls/opcservices enable_opcservices
20632 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20633 wine_fn_config_makefile dlls/openal32 enable_openal32
20634 wine_fn_config_makefile dlls/opencl enable_opencl
20635 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20636 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20637 wine_fn_config_makefile dlls/packager enable_packager
20638 wine_fn_config_makefile dlls/packager/tests enable_tests
20639 wine_fn_config_makefile dlls/pdh enable_pdh
20640 wine_fn_config_makefile dlls/pdh/tests enable_tests
20641 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20642 wine_fn_config_makefile dlls/pidgen enable_pidgen
20643 wine_fn_config_makefile dlls/powrprof enable_powrprof
20644 wine_fn_config_makefile dlls/printui enable_printui
20645 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20646 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20647 wine_fn_config_makefile dlls/propsys enable_propsys
20648 wine_fn_config_makefile dlls/propsys/tests enable_tests
20649 wine_fn_config_makefile dlls/psapi enable_psapi
20650 wine_fn_config_makefile dlls/psapi/tests enable_tests
20651 wine_fn_config_makefile dlls/pstorec enable_pstorec
20652 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20653 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20654 wine_fn_config_makefile dlls/qasf enable_qasf
20655 wine_fn_config_makefile dlls/qasf/tests enable_tests
20656 wine_fn_config_makefile dlls/qcap enable_qcap
20657 wine_fn_config_makefile dlls/qcap/tests enable_tests
20658 wine_fn_config_makefile dlls/qdvd enable_qdvd
20659 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20660 wine_fn_config_makefile dlls/qedit enable_qedit
20661 wine_fn_config_makefile dlls/qedit/tests enable_tests
20662 wine_fn_config_makefile dlls/qmgr enable_qmgr
20663 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20664 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20665 wine_fn_config_makefile dlls/quartz enable_quartz
20666 wine_fn_config_makefile dlls/quartz/tests enable_tests
20667 wine_fn_config_makefile dlls/query enable_query
20668 wine_fn_config_makefile dlls/qwave enable_qwave
20669 wine_fn_config_makefile dlls/qwave/tests enable_tests
20670 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20671 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20672 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20673 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20674 wine_fn_config_makefile dlls/regapi enable_regapi
20675 wine_fn_config_makefile dlls/resutils enable_resutils
20676 wine_fn_config_makefile dlls/riched20 enable_riched20
20677 wine_fn_config_makefile dlls/riched20/tests enable_tests
20678 wine_fn_config_makefile dlls/riched32 enable_riched32
20679 wine_fn_config_makefile dlls/riched32/tests enable_tests
20680 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20681 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20682 wine_fn_config_makefile dlls/rsabase enable_rsabase
20683 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20684 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20685 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20686 wine_fn_config_makefile dlls/rtutils enable_rtutils
20687 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20688 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20689 wine_fn_config_makefile dlls/samlib enable_samlib
20690 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20691 wine_fn_config_makefile dlls/sapi enable_sapi
20692 wine_fn_config_makefile dlls/sapi/tests enable_tests
20693 wine_fn_config_makefile dlls/sas enable_sas
20694 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20695 wine_fn_config_makefile dlls/sccbase enable_sccbase
20696 wine_fn_config_makefile dlls/schannel enable_schannel
20697 wine_fn_config_makefile dlls/schannel/tests enable_tests
20698 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20699 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20700 wine_fn_config_makefile dlls/scrobj enable_scrobj
20701 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20702 wine_fn_config_makefile dlls/scrrun enable_scrrun
20703 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20704 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20705 wine_fn_config_makefile dlls/sechost enable_sechost
20706 wine_fn_config_makefile dlls/secur32 enable_secur32
20707 wine_fn_config_makefile dlls/secur32/tests enable_tests
20708 wine_fn_config_makefile dlls/security enable_security
20709 wine_fn_config_makefile dlls/sensapi enable_sensapi
20710 wine_fn_config_makefile dlls/serialui enable_serialui
20711 wine_fn_config_makefile dlls/serialui/tests enable_tests
20712 wine_fn_config_makefile dlls/setupapi enable_setupapi
20713 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20714 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20715 wine_fn_config_makefile dlls/sfc enable_sfc
20716 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20717 wine_fn_config_makefile dlls/shcore enable_shcore
20718 wine_fn_config_makefile dlls/shcore/tests enable_tests
20719 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20720 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20721 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20722 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20723 wine_fn_config_makefile dlls/shell32 enable_shell32
20724 wine_fn_config_makefile dlls/shell32/tests enable_tests
20725 wine_fn_config_makefile dlls/shfolder enable_shfolder
20726 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20727 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20728 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20729 wine_fn_config_makefile dlls/slc enable_slc
20730 wine_fn_config_makefile dlls/slc/tests enable_tests
20731 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20732 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20733 wine_fn_config_makefile dlls/softpub enable_softpub
20734 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20735 wine_fn_config_makefile dlls/spoolss enable_spoolss
20736 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20737 wine_fn_config_makefile dlls/srclient enable_srclient
20738 wine_fn_config_makefile dlls/srvcli enable_srvcli
20739 wine_fn_config_makefile dlls/sspicli enable_sspicli
20740 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20741 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20742 wine_fn_config_makefile dlls/sti enable_sti
20743 wine_fn_config_makefile dlls/sti/tests enable_tests
20744 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20745 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20746 wine_fn_config_makefile dlls/strmbase enable_strmbase
20747 wine_fn_config_makefile dlls/strmdll enable_strmdll
20748 wine_fn_config_makefile dlls/strmiids enable_strmiids
20749 wine_fn_config_makefile dlls/svrapi enable_svrapi
20750 wine_fn_config_makefile dlls/sxs enable_sxs
20751 wine_fn_config_makefile dlls/sxs/tests enable_tests
20752 wine_fn_config_makefile dlls/system.drv16 enable_win16
20753 wine_fn_config_makefile dlls/t2embed enable_t2embed
20754 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20755 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20756 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20757 wine_fn_config_makefile dlls/taskschd enable_taskschd
20758 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20759 wine_fn_config_makefile dlls/tdh enable_tdh
20760 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20761 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20762 wine_fn_config_makefile dlls/traffic enable_traffic
20763 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20764 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20765 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20766 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20767 wine_fn_config_makefile dlls/tzres enable_tzres
20768 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20769 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20770 wine_fn_config_makefile dlls/uianimation enable_uianimation
20771 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20772 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20773 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20774 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20775 wine_fn_config_makefile dlls/unicows enable_unicows
20776 wine_fn_config_makefile dlls/updspapi enable_updspapi
20777 wine_fn_config_makefile dlls/url enable_url
20778 wine_fn_config_makefile dlls/urlmon enable_urlmon
20779 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20780 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20781 wine_fn_config_makefile dlls/user.exe16 enable_win16
20782 wine_fn_config_makefile dlls/user32 enable_user32
20783 wine_fn_config_makefile dlls/user32/tests enable_tests
20784 wine_fn_config_makefile dlls/userenv enable_userenv
20785 wine_fn_config_makefile dlls/userenv/tests enable_tests
20786 wine_fn_config_makefile dlls/usp10 enable_usp10
20787 wine_fn_config_makefile dlls/usp10/tests enable_tests
20788 wine_fn_config_makefile dlls/utildll enable_utildll
20789 wine_fn_config_makefile dlls/uuid enable_uuid
20790 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20791 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20792 wine_fn_config_makefile dlls/vbscript enable_vbscript
20793 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20794 wine_fn_config_makefile dlls/vcomp enable_vcomp
20795 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20796 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20797 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20798 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20799 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20800 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20801 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20802 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20803 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20804 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20805 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20806 wine_fn_config_makefile dlls/version enable_version
20807 wine_fn_config_makefile dlls/version/tests enable_tests
20808 wine_fn_config_makefile dlls/vga enable_vga
20809 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20810 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20811 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20812 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20813 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20814 wine_fn_config_makefile dlls/vssapi enable_vssapi
20815 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20816 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20817 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20818 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20819 wine_fn_config_makefile dlls/w32skrnl enable_win16
20820 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20821 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20822 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20823 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20824 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20825 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20826 wine_fn_config_makefile dlls/wdscore enable_wdscore
20827 wine_fn_config_makefile dlls/webservices enable_webservices
20828 wine_fn_config_makefile dlls/webservices/tests enable_tests
20829 wine_fn_config_makefile dlls/wer enable_wer
20830 wine_fn_config_makefile dlls/wer/tests enable_tests
20831 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20832 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
20833 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20834 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20835 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20836 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20837 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20838 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20839 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20840 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20841 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20842 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20843 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20844 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20845 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20846 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20847 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20848 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20849 wine_fn_config_makefile dlls/wined3d enable_wined3d
20850 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20851 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20852 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20853 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20854 wine_fn_config_makefile dlls/winemapi enable_winemapi
20855 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20856 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20857 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20858 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20859 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20860 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
20861 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20862 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20863 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20864 wine_fn_config_makefile dlls/wing32 enable_wing32
20865 wine_fn_config_makefile dlls/winhttp enable_winhttp
20866 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20867 wine_fn_config_makefile dlls/wininet enable_wininet
20868 wine_fn_config_makefile dlls/wininet/tests enable_tests
20869 wine_fn_config_makefile dlls/winmm enable_winmm
20870 wine_fn_config_makefile dlls/winmm/tests enable_tests
20871 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20872 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20873 wine_fn_config_makefile dlls/winscard enable_winscard
20874 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20875 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20876 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20877 wine_fn_config_makefile dlls/winsta enable_winsta
20878 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20879 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20880 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20881 wine_fn_config_makefile dlls/wintrust enable_wintrust
20882 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20883 wine_fn_config_makefile dlls/winusb enable_winusb
20884 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20885 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20886 wine_fn_config_makefile dlls/wlanui enable_wlanui
20887 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20888 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20889 wine_fn_config_makefile dlls/wmasf enable_wmasf
20890 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20891 wine_fn_config_makefile dlls/wmi enable_wmi
20892 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20893 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20894 wine_fn_config_makefile dlls/wmp enable_wmp
20895 wine_fn_config_makefile dlls/wmp/tests enable_tests
20896 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20897 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20898 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20899 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20900 wine_fn_config_makefile dlls/wow32 enable_win16
20901 wine_fn_config_makefile dlls/wpc enable_wpc
20902 wine_fn_config_makefile dlls/wpc/tests enable_tests
20903 wine_fn_config_makefile dlls/wpcap enable_wpcap
20904 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20905 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20906 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20907 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20908 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20909 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20910 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20911 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20912 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20913 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20914 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20915 wine_fn_config_makefile dlls/wuapi enable_wuapi
20916 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20917 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20918 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20919 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20920 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20921 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20922 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20923 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20924 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20925 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
20926 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
20927 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
20928 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
20929 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
20930 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
20931 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
20932 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
20933 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
20934 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20935 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20936 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20937 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20938 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20939 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20940 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20941 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20942 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20943 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20944 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20945 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20946 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20947 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20948 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20949 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20950 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20951 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20952 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20953 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20954 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20955 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20956 wine_fn_config_makefile dlls/xmllite enable_xmllite
20957 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20958 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20959 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20960 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20961 wine_fn_config_makefile fonts enable_fonts
20962 wine_fn_config_makefile include enable_include
20963 wine_fn_config_makefile libs/port enable_port
20964 wine_fn_config_makefile libs/wine enable_wine
20965 wine_fn_config_makefile libs/wpp enable_wpp
20966 wine_fn_config_makefile loader enable_loader
20967 wine_fn_config_makefile nls enable_nls
20968 wine_fn_config_makefile po enable_po
20969 wine_fn_config_makefile programs/arp enable_arp
20970 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20971 wine_fn_config_makefile programs/attrib enable_attrib
20972 wine_fn_config_makefile programs/cabarc enable_cabarc
20973 wine_fn_config_makefile programs/cacls enable_cacls
20974 wine_fn_config_makefile programs/chcp.com enable_chcp_com
20975 wine_fn_config_makefile programs/clock enable_clock
20976 wine_fn_config_makefile programs/cmd enable_cmd
20977 wine_fn_config_makefile programs/cmd/tests enable_tests
20978 wine_fn_config_makefile programs/conhost enable_conhost
20979 wine_fn_config_makefile programs/conhost/tests enable_tests
20980 wine_fn_config_makefile programs/control enable_control
20981 wine_fn_config_makefile programs/cscript enable_cscript
20982 wine_fn_config_makefile programs/dism enable_dism
20983 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
20984 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20985 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
20986 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20987 wine_fn_config_makefile programs/eject enable_eject
20988 wine_fn_config_makefile programs/expand enable_expand
20989 wine_fn_config_makefile programs/explorer enable_explorer
20990 wine_fn_config_makefile programs/extrac32 enable_extrac32
20991 wine_fn_config_makefile programs/fc enable_fc
20992 wine_fn_config_makefile programs/find enable_find
20993 wine_fn_config_makefile programs/find/tests enable_tests
20994 wine_fn_config_makefile programs/findstr enable_findstr
20995 wine_fn_config_makefile programs/fsutil enable_fsutil
20996 wine_fn_config_makefile programs/fsutil/tests enable_tests
20997 wine_fn_config_makefile programs/hh enable_hh
20998 wine_fn_config_makefile programs/hostname enable_hostname
20999 wine_fn_config_makefile programs/icacls enable_icacls
21000 wine_fn_config_makefile programs/icinfo enable_icinfo
21001 wine_fn_config_makefile programs/iexplore enable_iexplore
21002 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21003 wine_fn_config_makefile programs/lodctr enable_lodctr
21004 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21005 wine_fn_config_makefile programs/mshta enable_mshta
21006 wine_fn_config_makefile programs/msidb enable_msidb
21007 wine_fn_config_makefile programs/msiexec enable_msiexec
21008 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21009 wine_fn_config_makefile programs/net enable_net
21010 wine_fn_config_makefile programs/netsh enable_netsh
21011 wine_fn_config_makefile programs/netstat enable_netstat
21012 wine_fn_config_makefile programs/ngen enable_ngen
21013 wine_fn_config_makefile programs/notepad enable_notepad
21014 wine_fn_config_makefile programs/oleview enable_oleview
21015 wine_fn_config_makefile programs/ping enable_ping
21016 wine_fn_config_makefile programs/plugplay enable_plugplay
21017 wine_fn_config_makefile programs/powershell enable_powershell
21018 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21019 wine_fn_config_makefile programs/progman enable_progman
21020 wine_fn_config_makefile programs/reg enable_reg
21021 wine_fn_config_makefile programs/reg/tests enable_tests
21022 wine_fn_config_makefile programs/regasm enable_regasm
21023 wine_fn_config_makefile programs/regedit enable_regedit
21024 wine_fn_config_makefile programs/regedit/tests enable_tests
21025 wine_fn_config_makefile programs/regini enable_regini
21026 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21027 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21028 wine_fn_config_makefile programs/rpcss enable_rpcss
21029 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21030 wine_fn_config_makefile programs/rundll32 enable_rundll32
21031 wine_fn_config_makefile programs/sc enable_sc
21032 wine_fn_config_makefile programs/schtasks enable_schtasks
21033 wine_fn_config_makefile programs/schtasks/tests enable_tests
21034 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21035 wine_fn_config_makefile programs/secedit enable_secedit
21036 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21037 wine_fn_config_makefile programs/services enable_services
21038 wine_fn_config_makefile programs/services/tests enable_tests
21039 wine_fn_config_makefile programs/shutdown enable_shutdown
21040 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21041 wine_fn_config_makefile programs/start enable_start
21042 wine_fn_config_makefile programs/subst enable_subst
21043 wine_fn_config_makefile programs/svchost enable_svchost
21044 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21045 wine_fn_config_makefile programs/taskkill enable_taskkill
21046 wine_fn_config_makefile programs/tasklist enable_tasklist
21047 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21048 wine_fn_config_makefile programs/termsv enable_termsv
21049 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21050 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21051 wine_fn_config_makefile programs/view enable_view
21052 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21053 wine_fn_config_makefile programs/where enable_where
21054 wine_fn_config_makefile programs/whoami enable_whoami
21055 wine_fn_config_makefile programs/wineboot enable_wineboot
21056 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21057 wine_fn_config_makefile programs/winecfg enable_winecfg
21058 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21059 wine_fn_config_makefile programs/winedbg enable_winedbg
21060 wine_fn_config_makefile programs/winedevice enable_winedevice
21061 wine_fn_config_makefile programs/winefile enable_winefile
21062 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21063 wine_fn_config_makefile programs/winemine enable_winemine
21064 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21065 wine_fn_config_makefile programs/winepath enable_winepath
21066 wine_fn_config_makefile programs/winetest enable_winetest
21067 wine_fn_config_makefile programs/winevdm enable_win16
21068 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21069 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21070 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21071 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21072 wine_fn_config_makefile programs/winver enable_winver
21073 wine_fn_config_makefile programs/wmic enable_wmic
21074 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21075 wine_fn_config_makefile programs/wordpad enable_wordpad
21076 wine_fn_config_makefile programs/write enable_write
21077 wine_fn_config_makefile programs/wscript enable_wscript
21078 wine_fn_config_makefile programs/wscript/tests enable_tests
21079 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21080 wine_fn_config_makefile programs/wusa enable_wusa
21081 wine_fn_config_makefile programs/xcopy enable_xcopy
21082 wine_fn_config_makefile programs/xcopy/tests enable_tests
21083 wine_fn_config_makefile server enable_server
21084 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21085 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21086 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21087 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21088 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21089 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21090 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21091 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21092 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21095 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21096 wine_fn_append_file CONFIGURE_TARGETS "tags"
21097 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21098 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21099 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21100 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21101 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21102 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21104 if test "x$enable_tools" != xno
21105 then
21106 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21107 ac_config_commands="$ac_config_commands tools/makedep"
21111 ac_config_commands="$ac_config_commands Makefile"
21114 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21118 if test "x$enable_maintainer_mode" = xyes
21119 then
21120 wine_fn_append_rule "configure: configure.ac aclocal.m4
21121 autoconf --warnings=all
21122 include/config.h.in: include/stamp-h.in
21123 include/stamp-h.in: configure.ac aclocal.m4
21124 autoheader --warnings=all
21125 @echo timestamp > \$@"
21128 if test "x$enable_tools" != xno
21129 then
21130 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21131 @./config.status tools/makedep
21132 Makefile: tools/makedep$ac_exeext"
21133 else
21134 wine_fn_append_rule "\$(MAKEDEP):
21135 @echo \"You need to run make in $TOOLSDIR first\" && false"
21138 if test -n "$with_wine64"
21139 then
21140 case "$with_wine64" in
21141 /*) reldir="" ;;
21142 *) reldir="../" ;;
21143 esac
21144 rm -f fonts server 2>/dev/null
21145 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21146 loader/wine64 loader/wine64-preloader:
21147 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21148 $with_wine64/loader/wine:
21149 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21150 $with_wine64/loader/wine-preloader:
21151 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21152 clean::
21153 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21154 else
21155 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21156 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21157 fonts \
21158 loader/wine.inf \
21159 loader/winebus.inf \
21160 loader/winehid.inf \
21161 loader/wineusb.inf \
21162 nls \
21163 programs/msidb/msidb \
21164 programs/msiexec/msiexec \
21165 programs/notepad/notepad \
21166 programs/regedit/regedit \
21167 programs/regsvr32/regsvr32 \
21168 programs/wineboot/wineboot \
21169 programs/winecfg/winecfg \
21170 programs/wineconsole/wineconsole \
21171 programs/winedbg/winedbg \
21172 programs/winefile/winefile \
21173 programs/winemine/winemine \
21174 programs/winepath/winepath \
21175 server/wineserver"
21177 case $host_os in
21178 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21179 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21180 esac
21183 $as_echo " done" >&6
21184 cat >confcache <<\_ACEOF
21185 # This file is a shell script that caches the results of configure
21186 # tests run on this system so they can be shared between configure
21187 # scripts and configure runs, see configure's option --config-cache.
21188 # It is not useful on other systems. If it contains results you don't
21189 # want to keep, you may remove or edit it.
21191 # config.status only pays attention to the cache file if you give it
21192 # the --recheck option to rerun configure.
21194 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21195 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21196 # following values.
21198 _ACEOF
21200 # The following way of writing the cache mishandles newlines in values,
21201 # but we know of no workaround that is simple, portable, and efficient.
21202 # So, we kill variables containing newlines.
21203 # Ultrix sh set writes to stderr and can't be redirected directly,
21204 # and sets the high bit in the cache file unless we assign to the vars.
21206 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21207 eval ac_val=\$$ac_var
21208 case $ac_val in #(
21209 *${as_nl}*)
21210 case $ac_var in #(
21211 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21212 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21213 esac
21214 case $ac_var in #(
21215 _ | IFS | as_nl) ;; #(
21216 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21217 *) { eval $ac_var=; unset $ac_var;} ;;
21218 esac ;;
21219 esac
21220 done
21222 (set) 2>&1 |
21223 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21224 *${as_nl}ac_space=\ *)
21225 # `set' does not quote correctly, so add quotes: double-quote
21226 # substitution turns \\\\ into \\, and sed turns \\ into \.
21227 sed -n \
21228 "s/'/'\\\\''/g;
21229 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21230 ;; #(
21232 # `set' quotes correctly as required by POSIX, so do not add quotes.
21233 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21235 esac |
21236 sort
21238 sed '
21239 /^ac_cv_env_/b end
21240 t clear
21241 :clear
21242 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21243 t end
21244 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21245 :end' >>confcache
21246 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21247 if test -w "$cache_file"; then
21248 if test "x$cache_file" != "x/dev/null"; then
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21250 $as_echo "$as_me: updating cache $cache_file" >&6;}
21251 if test ! -f "$cache_file" || test -h "$cache_file"; then
21252 cat confcache >"$cache_file"
21253 else
21254 case $cache_file in #(
21255 */* | ?:*)
21256 mv -f confcache "$cache_file"$$ &&
21257 mv -f "$cache_file"$$ "$cache_file" ;; #(
21259 mv -f confcache "$cache_file" ;;
21260 esac
21263 else
21264 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21265 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21268 rm -f confcache
21270 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21271 # Let make expand exec_prefix.
21272 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21274 DEFS=-DHAVE_CONFIG_H
21276 ac_libobjs=
21277 ac_ltlibobjs=
21279 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21280 # 1. Remove the extension, and $U if already installed.
21281 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21282 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21283 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21284 # will be set to the directory where LIBOBJS objects are built.
21285 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21286 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21287 done
21288 LIBOBJS=$ac_libobjs
21290 LTLIBOBJS=$ac_ltlibobjs
21294 : "${CONFIG_STATUS=./config.status}"
21295 ac_write_fail=0
21296 ac_clean_files_save=$ac_clean_files
21297 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21299 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21300 as_write_fail=0
21301 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21302 #! $SHELL
21303 # Generated by $as_me.
21304 # Run this file to recreate the current configuration.
21305 # Compiler output produced by configure, useful for debugging
21306 # configure, is in config.log if it exists.
21308 debug=false
21309 ac_cs_recheck=false
21310 ac_cs_silent=false
21312 SHELL=\${CONFIG_SHELL-$SHELL}
21313 export SHELL
21314 _ASEOF
21315 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21316 ## -------------------- ##
21317 ## M4sh Initialization. ##
21318 ## -------------------- ##
21320 # Be more Bourne compatible
21321 DUALCASE=1; export DUALCASE # for MKS sh
21322 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21323 emulate sh
21324 NULLCMD=:
21325 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21326 # is contrary to our usage. Disable this feature.
21327 alias -g '${1+"$@"}'='"$@"'
21328 setopt NO_GLOB_SUBST
21329 else
21330 case `(set -o) 2>/dev/null` in #(
21331 *posix*) :
21332 set -o posix ;; #(
21333 *) :
21335 esac
21339 as_nl='
21341 export as_nl
21342 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21343 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21344 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21345 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21346 # Prefer a ksh shell builtin over an external printf program on Solaris,
21347 # but without wasting forks for bash or zsh.
21348 if test -z "$BASH_VERSION$ZSH_VERSION" \
21349 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21350 as_echo='print -r --'
21351 as_echo_n='print -rn --'
21352 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21353 as_echo='printf %s\n'
21354 as_echo_n='printf %s'
21355 else
21356 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21357 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21358 as_echo_n='/usr/ucb/echo -n'
21359 else
21360 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21361 as_echo_n_body='eval
21362 arg=$1;
21363 case $arg in #(
21364 *"$as_nl"*)
21365 expr "X$arg" : "X\\(.*\\)$as_nl";
21366 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21367 esac;
21368 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21370 export as_echo_n_body
21371 as_echo_n='sh -c $as_echo_n_body as_echo'
21373 export as_echo_body
21374 as_echo='sh -c $as_echo_body as_echo'
21377 # The user is always right.
21378 if test "${PATH_SEPARATOR+set}" != set; then
21379 PATH_SEPARATOR=:
21380 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21381 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21382 PATH_SEPARATOR=';'
21387 # IFS
21388 # We need space, tab and new line, in precisely that order. Quoting is
21389 # there to prevent editors from complaining about space-tab.
21390 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21391 # splitting by setting IFS to empty value.)
21392 IFS=" "" $as_nl"
21394 # Find who we are. Look in the path if we contain no directory separator.
21395 as_myself=
21396 case $0 in #((
21397 *[\\/]* ) as_myself=$0 ;;
21398 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21399 for as_dir in $PATH
21401 IFS=$as_save_IFS
21402 test -z "$as_dir" && as_dir=.
21403 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21404 done
21405 IFS=$as_save_IFS
21408 esac
21409 # We did not find ourselves, most probably we were run as `sh COMMAND'
21410 # in which case we are not to be found in the path.
21411 if test "x$as_myself" = x; then
21412 as_myself=$0
21414 if test ! -f "$as_myself"; then
21415 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21416 exit 1
21419 # Unset variables that we do not need and which cause bugs (e.g. in
21420 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21421 # suppresses any "Segmentation fault" message there. '((' could
21422 # trigger a bug in pdksh 5.2.14.
21423 for as_var in BASH_ENV ENV MAIL MAILPATH
21424 do eval test x\${$as_var+set} = xset \
21425 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21426 done
21427 PS1='$ '
21428 PS2='> '
21429 PS4='+ '
21431 # NLS nuisances.
21432 LC_ALL=C
21433 export LC_ALL
21434 LANGUAGE=C
21435 export LANGUAGE
21437 # CDPATH.
21438 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21441 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21442 # ----------------------------------------
21443 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21444 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21445 # script with STATUS, using 1 if that was 0.
21446 as_fn_error ()
21448 as_status=$1; test $as_status -eq 0 && as_status=1
21449 if test "$4"; then
21450 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21451 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21453 $as_echo "$as_me: error: $2" >&2
21454 as_fn_exit $as_status
21455 } # as_fn_error
21458 # as_fn_set_status STATUS
21459 # -----------------------
21460 # Set $? to STATUS, without forking.
21461 as_fn_set_status ()
21463 return $1
21464 } # as_fn_set_status
21466 # as_fn_exit STATUS
21467 # -----------------
21468 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21469 as_fn_exit ()
21471 set +e
21472 as_fn_set_status $1
21473 exit $1
21474 } # as_fn_exit
21476 # as_fn_unset VAR
21477 # ---------------
21478 # Portably unset VAR.
21479 as_fn_unset ()
21481 { eval $1=; unset $1;}
21483 as_unset=as_fn_unset
21484 # as_fn_append VAR VALUE
21485 # ----------------------
21486 # Append the text in VALUE to the end of the definition contained in VAR. Take
21487 # advantage of any shell optimizations that allow amortized linear growth over
21488 # repeated appends, instead of the typical quadratic growth present in naive
21489 # implementations.
21490 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21491 eval 'as_fn_append ()
21493 eval $1+=\$2
21495 else
21496 as_fn_append ()
21498 eval $1=\$$1\$2
21500 fi # as_fn_append
21502 # as_fn_arith ARG...
21503 # ------------------
21504 # Perform arithmetic evaluation on the ARGs, and store the result in the
21505 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21506 # must be portable across $(()) and expr.
21507 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21508 eval 'as_fn_arith ()
21510 as_val=$(( $* ))
21512 else
21513 as_fn_arith ()
21515 as_val=`expr "$@" || test $? -eq 1`
21517 fi # as_fn_arith
21520 if expr a : '\(a\)' >/dev/null 2>&1 &&
21521 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21522 as_expr=expr
21523 else
21524 as_expr=false
21527 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21528 as_basename=basename
21529 else
21530 as_basename=false
21533 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21534 as_dirname=dirname
21535 else
21536 as_dirname=false
21539 as_me=`$as_basename -- "$0" ||
21540 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21541 X"$0" : 'X\(//\)$' \| \
21542 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21543 $as_echo X/"$0" |
21544 sed '/^.*\/\([^/][^/]*\)\/*$/{
21545 s//\1/
21548 /^X\/\(\/\/\)$/{
21549 s//\1/
21552 /^X\/\(\/\).*/{
21553 s//\1/
21556 s/.*/./; q'`
21558 # Avoid depending upon Character Ranges.
21559 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21560 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21561 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21562 as_cr_digits='0123456789'
21563 as_cr_alnum=$as_cr_Letters$as_cr_digits
21565 ECHO_C= ECHO_N= ECHO_T=
21566 case `echo -n x` in #(((((
21567 -n*)
21568 case `echo 'xy\c'` in
21569 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21570 xy) ECHO_C='\c';;
21571 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21572 ECHO_T=' ';;
21573 esac;;
21575 ECHO_N='-n';;
21576 esac
21578 rm -f conf$$ conf$$.exe conf$$.file
21579 if test -d conf$$.dir; then
21580 rm -f conf$$.dir/conf$$.file
21581 else
21582 rm -f conf$$.dir
21583 mkdir conf$$.dir 2>/dev/null
21585 if (echo >conf$$.file) 2>/dev/null; then
21586 if ln -s conf$$.file conf$$ 2>/dev/null; then
21587 as_ln_s='ln -s'
21588 # ... but there are two gotchas:
21589 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21590 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21591 # In both cases, we have to default to `cp -pR'.
21592 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21593 as_ln_s='cp -pR'
21594 elif ln conf$$.file conf$$ 2>/dev/null; then
21595 as_ln_s=ln
21596 else
21597 as_ln_s='cp -pR'
21599 else
21600 as_ln_s='cp -pR'
21602 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21603 rmdir conf$$.dir 2>/dev/null
21606 # as_fn_mkdir_p
21607 # -------------
21608 # Create "$as_dir" as a directory, including parents if necessary.
21609 as_fn_mkdir_p ()
21612 case $as_dir in #(
21613 -*) as_dir=./$as_dir;;
21614 esac
21615 test -d "$as_dir" || eval $as_mkdir_p || {
21616 as_dirs=
21617 while :; do
21618 case $as_dir in #(
21619 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21620 *) as_qdir=$as_dir;;
21621 esac
21622 as_dirs="'$as_qdir' $as_dirs"
21623 as_dir=`$as_dirname -- "$as_dir" ||
21624 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21625 X"$as_dir" : 'X\(//\)[^/]' \| \
21626 X"$as_dir" : 'X\(//\)$' \| \
21627 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21628 $as_echo X"$as_dir" |
21629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21630 s//\1/
21633 /^X\(\/\/\)[^/].*/{
21634 s//\1/
21637 /^X\(\/\/\)$/{
21638 s//\1/
21641 /^X\(\/\).*/{
21642 s//\1/
21645 s/.*/./; q'`
21646 test -d "$as_dir" && break
21647 done
21648 test -z "$as_dirs" || eval "mkdir $as_dirs"
21649 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21652 } # as_fn_mkdir_p
21653 if mkdir -p . 2>/dev/null; then
21654 as_mkdir_p='mkdir -p "$as_dir"'
21655 else
21656 test -d ./-p && rmdir ./-p
21657 as_mkdir_p=false
21661 # as_fn_executable_p FILE
21662 # -----------------------
21663 # Test if FILE is an executable regular file.
21664 as_fn_executable_p ()
21666 test -f "$1" && test -x "$1"
21667 } # as_fn_executable_p
21668 as_test_x='test -x'
21669 as_executable_p=as_fn_executable_p
21671 # Sed expression to map a string onto a valid CPP name.
21672 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21674 # Sed expression to map a string onto a valid variable name.
21675 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21678 exec 6>&1
21679 ## ----------------------------------- ##
21680 ## Main body of $CONFIG_STATUS script. ##
21681 ## ----------------------------------- ##
21682 _ASEOF
21683 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21686 # Save the log message, to keep $0 and so on meaningful, and to
21687 # report actual input values of CONFIG_FILES etc. instead of their
21688 # values after options handling.
21689 ac_log="
21690 This file was extended by Wine $as_me 5.22, which was
21691 generated by GNU Autoconf 2.69. Invocation command line was
21693 CONFIG_FILES = $CONFIG_FILES
21694 CONFIG_HEADERS = $CONFIG_HEADERS
21695 CONFIG_LINKS = $CONFIG_LINKS
21696 CONFIG_COMMANDS = $CONFIG_COMMANDS
21697 $ $0 $@
21699 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21702 _ACEOF
21704 case $ac_config_files in *"
21705 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21706 esac
21708 case $ac_config_headers in *"
21709 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21710 esac
21713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21714 # Files that config.status was made for.
21715 config_files="$ac_config_files"
21716 config_headers="$ac_config_headers"
21717 config_links="$ac_config_links"
21718 config_commands="$ac_config_commands"
21720 _ACEOF
21722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21723 ac_cs_usage="\
21724 \`$as_me' instantiates files and other configuration actions
21725 from templates according to the current configuration. Unless the files
21726 and actions are specified as TAGs, all are instantiated by default.
21728 Usage: $0 [OPTION]... [TAG]...
21730 -h, --help print this help, then exit
21731 -V, --version print version number and configuration settings, then exit
21732 --config print configuration, then exit
21733 -q, --quiet, --silent
21734 do not print progress messages
21735 -d, --debug don't remove temporary files
21736 --recheck update $as_me by reconfiguring in the same conditions
21737 --file=FILE[:TEMPLATE]
21738 instantiate the configuration file FILE
21739 --header=FILE[:TEMPLATE]
21740 instantiate the configuration header FILE
21742 Configuration files:
21743 $config_files
21745 Configuration headers:
21746 $config_headers
21748 Configuration links:
21749 $config_links
21751 Configuration commands:
21752 $config_commands
21754 Report bugs to <wine-devel@winehq.org>.
21755 Wine home page: <https://www.winehq.org>."
21757 _ACEOF
21758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21759 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21760 ac_cs_version="\\
21761 Wine config.status 5.22
21762 configured by $0, generated by GNU Autoconf 2.69,
21763 with options \\"\$ac_cs_config\\"
21765 Copyright (C) 2012 Free Software Foundation, Inc.
21766 This config.status script is free software; the Free Software Foundation
21767 gives unlimited permission to copy, distribute and modify it."
21769 ac_pwd='$ac_pwd'
21770 srcdir='$srcdir'
21771 test -n "\$AWK" || AWK=awk
21772 _ACEOF
21774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21775 # The default lists apply if the user does not specify any file.
21776 ac_need_defaults=:
21777 while test $# != 0
21779 case $1 in
21780 --*=?*)
21781 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21782 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21783 ac_shift=:
21785 --*=)
21786 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21787 ac_optarg=
21788 ac_shift=:
21791 ac_option=$1
21792 ac_optarg=$2
21793 ac_shift=shift
21795 esac
21797 case $ac_option in
21798 # Handling of the options.
21799 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21800 ac_cs_recheck=: ;;
21801 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21802 $as_echo "$ac_cs_version"; exit ;;
21803 --config | --confi | --conf | --con | --co | --c )
21804 $as_echo "$ac_cs_config"; exit ;;
21805 --debug | --debu | --deb | --de | --d | -d )
21806 debug=: ;;
21807 --file | --fil | --fi | --f )
21808 $ac_shift
21809 case $ac_optarg in
21810 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21811 '') as_fn_error $? "missing file argument" ;;
21812 esac
21813 as_fn_append CONFIG_FILES " '$ac_optarg'"
21814 ac_need_defaults=false;;
21815 --header | --heade | --head | --hea )
21816 $ac_shift
21817 case $ac_optarg in
21818 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21819 esac
21820 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21821 ac_need_defaults=false;;
21822 --he | --h)
21823 # Conflict between --help and --header
21824 as_fn_error $? "ambiguous option: \`$1'
21825 Try \`$0 --help' for more information.";;
21826 --help | --hel | -h )
21827 $as_echo "$ac_cs_usage"; exit ;;
21828 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21829 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21830 ac_cs_silent=: ;;
21832 # This is an error.
21833 -*) as_fn_error $? "unrecognized option: \`$1'
21834 Try \`$0 --help' for more information." ;;
21836 *) as_fn_append ac_config_targets " $1"
21837 ac_need_defaults=false ;;
21839 esac
21840 shift
21841 done
21843 ac_configure_extra_args=
21845 if $ac_cs_silent; then
21846 exec 6>/dev/null
21847 ac_configure_extra_args="$ac_configure_extra_args --silent"
21850 _ACEOF
21851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21852 if \$ac_cs_recheck; then
21853 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21854 shift
21855 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21856 CONFIG_SHELL='$SHELL'
21857 export CONFIG_SHELL
21858 exec "\$@"
21861 _ACEOF
21862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21863 exec 5>>config.log
21865 echo
21866 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21867 ## Running $as_me. ##
21868 _ASBOX
21869 $as_echo "$ac_log"
21870 } >&5
21872 _ACEOF
21873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21875 # INIT-COMMANDS
21877 wine_fn_output_makedep ()
21879 as_dir=tools; as_fn_mkdir_p
21880 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21882 wine_fn_output_makefile ()
21884 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21885 `cat $wine_rules_file`
21886 _WINE_EOF
21887 as_fn_error $? "could not create Makefile" "$LINENO" 5
21890 _ACEOF
21892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21894 # Handling of arguments.
21895 for ac_config_target in $ac_config_targets
21897 case $ac_config_target in
21898 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21899 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21900 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21901 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21902 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21903 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21904 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21906 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21907 esac
21908 done
21911 # If the user did not use the arguments to specify the items to instantiate,
21912 # then the envvar interface is used. Set only those that are not.
21913 # We use the long form for the default assignment because of an extremely
21914 # bizarre bug on SunOS 4.1.3.
21915 if $ac_need_defaults; then
21916 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21917 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21918 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21919 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21922 # Have a temporary directory for convenience. Make it in the build tree
21923 # simply because there is no reason against having it here, and in addition,
21924 # creating and moving files from /tmp can sometimes cause problems.
21925 # Hook for its removal unless debugging.
21926 # Note that there is a small window in which the directory will not be cleaned:
21927 # after its creation but before its name has been assigned to `$tmp'.
21928 $debug ||
21930 tmp= ac_tmp=
21931 trap 'exit_status=$?
21932 : "${ac_tmp:=$tmp}"
21933 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21935 trap 'as_fn_exit 1' 1 2 13 15
21937 # Create a (secure) tmp directory for tmp files.
21940 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21941 test -d "$tmp"
21942 } ||
21944 tmp=./conf$$-$RANDOM
21945 (umask 077 && mkdir "$tmp")
21946 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21947 ac_tmp=$tmp
21949 # Set up the scripts for CONFIG_FILES section.
21950 # No need to generate them if there are no CONFIG_FILES.
21951 # This happens for instance with `./config.status config.h'.
21952 if test -n "$CONFIG_FILES"; then
21955 ac_cr=`echo X | tr X '\015'`
21956 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21957 # But we know of no other shell where ac_cr would be empty at this
21958 # point, so we can use a bashism as a fallback.
21959 if test "x$ac_cr" = x; then
21960 eval ac_cr=\$\'\\r\'
21962 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21963 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21964 ac_cs_awk_cr='\\r'
21965 else
21966 ac_cs_awk_cr=$ac_cr
21969 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21970 _ACEOF
21974 echo "cat >conf$$subs.awk <<_ACEOF" &&
21975 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21976 echo "_ACEOF"
21977 } >conf$$subs.sh ||
21978 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21979 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21980 ac_delim='%!_!# '
21981 for ac_last_try in false false false false false :; do
21982 . ./conf$$subs.sh ||
21983 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21985 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21986 if test $ac_delim_n = $ac_delim_num; then
21987 break
21988 elif $ac_last_try; then
21989 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21990 else
21991 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21993 done
21994 rm -f conf$$subs.sh
21996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21997 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21998 _ACEOF
21999 sed -n '
22001 s/^/S["/; s/!.*/"]=/
22004 s/^[^!]*!//
22005 :repl
22006 t repl
22007 s/'"$ac_delim"'$//
22008 t delim
22011 s/\(.\{148\}\)..*/\1/
22012 t more1
22013 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22016 b repl
22017 :more1
22018 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22021 s/.\{148\}//
22022 t nl
22023 :delim
22025 s/\(.\{148\}\)..*/\1/
22026 t more2
22027 s/["\\]/\\&/g; s/^/"/; s/$/"/
22030 :more2
22031 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22034 s/.\{148\}//
22035 t delim
22036 ' <conf$$subs.awk | sed '
22037 /^[^""]/{
22039 s/\n//
22041 ' >>$CONFIG_STATUS || ac_write_fail=1
22042 rm -f conf$$subs.awk
22043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22044 _ACAWK
22045 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22046 for (key in S) S_is_set[key] = 1
22047 FS = "\a"
22051 line = $ 0
22052 nfields = split(line, field, "@")
22053 substed = 0
22054 len = length(field[1])
22055 for (i = 2; i < nfields; i++) {
22056 key = field[i]
22057 keylen = length(key)
22058 if (S_is_set[key]) {
22059 value = S[key]
22060 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22061 len += length(value) + length(field[++i])
22062 substed = 1
22063 } else
22064 len += 1 + keylen
22067 print line
22070 _ACAWK
22071 _ACEOF
22072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22073 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22074 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22075 else
22077 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22078 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22079 _ACEOF
22081 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22082 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22083 # trailing colons and then remove the whole line if VPATH becomes empty
22084 # (actually we leave an empty line to preserve line numbers).
22085 if test "x$srcdir" = x.; then
22086 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22088 s///
22089 s/^/:/
22090 s/[ ]*$/:/
22091 s/:\$(srcdir):/:/g
22092 s/:\${srcdir}:/:/g
22093 s/:@srcdir@:/:/g
22094 s/^:*//
22095 s/:*$//
22097 s/\(=[ ]*\).*/\1/
22099 s/\n//
22100 s/^[^=]*=[ ]*$//
22104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22105 fi # test -n "$CONFIG_FILES"
22107 # Set up the scripts for CONFIG_HEADERS section.
22108 # No need to generate them if there are no CONFIG_HEADERS.
22109 # This happens for instance with `./config.status Makefile'.
22110 if test -n "$CONFIG_HEADERS"; then
22111 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22112 BEGIN {
22113 _ACEOF
22115 # Transform confdefs.h into an awk script `defines.awk', embedded as
22116 # here-document in config.status, that substitutes the proper values into
22117 # config.h.in to produce config.h.
22119 # Create a delimiter string that does not exist in confdefs.h, to ease
22120 # handling of long lines.
22121 ac_delim='%!_!# '
22122 for ac_last_try in false false :; do
22123 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22124 if test -z "$ac_tt"; then
22125 break
22126 elif $ac_last_try; then
22127 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22128 else
22129 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22131 done
22133 # For the awk script, D is an array of macro values keyed by name,
22134 # likewise P contains macro parameters if any. Preserve backslash
22135 # newline sequences.
22137 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22138 sed -n '
22139 s/.\{148\}/&'"$ac_delim"'/g
22140 t rset
22141 :rset
22142 s/^[ ]*#[ ]*define[ ][ ]*/ /
22143 t def
22145 :def
22146 s/\\$//
22147 t bsnl
22148 s/["\\]/\\&/g
22149 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22150 D["\1"]=" \3"/p
22151 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22153 :bsnl
22154 s/["\\]/\\&/g
22155 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22156 D["\1"]=" \3\\\\\\n"\\/p
22157 t cont
22158 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22159 t cont
22161 :cont
22163 s/.\{148\}/&'"$ac_delim"'/g
22164 t clear
22165 :clear
22166 s/\\$//
22167 t bsnlc
22168 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22170 :bsnlc
22171 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22172 b cont
22173 ' <confdefs.h | sed '
22174 s/'"$ac_delim"'/"\\\
22175 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22178 for (key in D) D_is_set[key] = 1
22179 FS = "\a"
22181 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22182 line = \$ 0
22183 split(line, arg, " ")
22184 if (arg[1] == "#") {
22185 defundef = arg[2]
22186 mac1 = arg[3]
22187 } else {
22188 defundef = substr(arg[1], 2)
22189 mac1 = arg[2]
22191 split(mac1, mac2, "(") #)
22192 macro = mac2[1]
22193 prefix = substr(line, 1, index(line, defundef) - 1)
22194 if (D_is_set[macro]) {
22195 # Preserve the white space surrounding the "#".
22196 print prefix "define", macro P[macro] D[macro]
22197 next
22198 } else {
22199 # Replace #undef with comments. This is necessary, for example,
22200 # in the case of _POSIX_SOURCE, which is predefined and required
22201 # on some systems where configure will not decide to define it.
22202 if (defundef == "undef") {
22203 print "/*", prefix defundef, macro, "*/"
22204 next
22208 { print }
22209 _ACAWK
22210 _ACEOF
22211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22212 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22213 fi # test -n "$CONFIG_HEADERS"
22216 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22217 shift
22218 for ac_tag
22220 case $ac_tag in
22221 :[FHLC]) ac_mode=$ac_tag; continue;;
22222 esac
22223 case $ac_mode$ac_tag in
22224 :[FHL]*:*);;
22225 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22226 :[FH]-) ac_tag=-:-;;
22227 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22228 esac
22229 ac_save_IFS=$IFS
22230 IFS=:
22231 set x $ac_tag
22232 IFS=$ac_save_IFS
22233 shift
22234 ac_file=$1
22235 shift
22237 case $ac_mode in
22238 :L) ac_source=$1;;
22239 :[FH])
22240 ac_file_inputs=
22241 for ac_f
22243 case $ac_f in
22244 -) ac_f="$ac_tmp/stdin";;
22245 *) # Look for the file first in the build tree, then in the source tree
22246 # (if the path is not absolute). The absolute path cannot be DOS-style,
22247 # because $ac_f cannot contain `:'.
22248 test -f "$ac_f" ||
22249 case $ac_f in
22250 [\\/$]*) false;;
22251 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22252 esac ||
22253 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22254 esac
22255 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22256 as_fn_append ac_file_inputs " '$ac_f'"
22257 done
22259 # Let's still pretend it is `configure' which instantiates (i.e., don't
22260 # use $as_me), people would be surprised to read:
22261 # /* config.h. Generated by config.status. */
22262 configure_input='Generated from '`
22263 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22264 `' by configure.'
22265 if test x"$ac_file" != x-; then
22266 configure_input="$ac_file. $configure_input"
22267 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22268 $as_echo "$as_me: creating $ac_file" >&6;}
22270 # Neutralize special characters interpreted by sed in replacement strings.
22271 case $configure_input in #(
22272 *\&* | *\|* | *\\* )
22273 ac_sed_conf_input=`$as_echo "$configure_input" |
22274 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22275 *) ac_sed_conf_input=$configure_input;;
22276 esac
22278 case $ac_tag in
22279 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22280 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22281 esac
22283 esac
22285 ac_dir=`$as_dirname -- "$ac_file" ||
22286 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22287 X"$ac_file" : 'X\(//\)[^/]' \| \
22288 X"$ac_file" : 'X\(//\)$' \| \
22289 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22290 $as_echo X"$ac_file" |
22291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22292 s//\1/
22295 /^X\(\/\/\)[^/].*/{
22296 s//\1/
22299 /^X\(\/\/\)$/{
22300 s//\1/
22303 /^X\(\/\).*/{
22304 s//\1/
22307 s/.*/./; q'`
22308 as_dir="$ac_dir"; as_fn_mkdir_p
22309 ac_builddir=.
22311 case "$ac_dir" in
22312 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22314 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22315 # A ".." for each directory in $ac_dir_suffix.
22316 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22317 case $ac_top_builddir_sub in
22318 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22319 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22320 esac ;;
22321 esac
22322 ac_abs_top_builddir=$ac_pwd
22323 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22324 # for backward compatibility:
22325 ac_top_builddir=$ac_top_build_prefix
22327 case $srcdir in
22328 .) # We are building in place.
22329 ac_srcdir=.
22330 ac_top_srcdir=$ac_top_builddir_sub
22331 ac_abs_top_srcdir=$ac_pwd ;;
22332 [\\/]* | ?:[\\/]* ) # Absolute name.
22333 ac_srcdir=$srcdir$ac_dir_suffix;
22334 ac_top_srcdir=$srcdir
22335 ac_abs_top_srcdir=$srcdir ;;
22336 *) # Relative name.
22337 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22338 ac_top_srcdir=$ac_top_build_prefix$srcdir
22339 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22340 esac
22341 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22344 case $ac_mode in
22347 # CONFIG_FILE
22350 _ACEOF
22352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22353 # If the template does not know about datarootdir, expand it.
22354 # FIXME: This hack should be removed a few years after 2.60.
22355 ac_datarootdir_hack=; ac_datarootdir_seen=
22356 ac_sed_dataroot='
22357 /datarootdir/ {
22361 /@datadir@/p
22362 /@docdir@/p
22363 /@infodir@/p
22364 /@localedir@/p
22365 /@mandir@/p'
22366 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22367 *datarootdir*) ac_datarootdir_seen=yes;;
22368 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22370 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22371 _ACEOF
22372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22373 ac_datarootdir_hack='
22374 s&@datadir@&$datadir&g
22375 s&@docdir@&$docdir&g
22376 s&@infodir@&$infodir&g
22377 s&@localedir@&$localedir&g
22378 s&@mandir@&$mandir&g
22379 s&\\\${datarootdir}&$datarootdir&g' ;;
22380 esac
22381 _ACEOF
22383 # Neutralize VPATH when `$srcdir' = `.'.
22384 # Shell code in configure.ac might set extrasub.
22385 # FIXME: do we really want to maintain this feature?
22386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22387 ac_sed_extra="$ac_vpsub
22388 $extrasub
22389 _ACEOF
22390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22392 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22393 s|@configure_input@|$ac_sed_conf_input|;t t
22394 s&@top_builddir@&$ac_top_builddir_sub&;t t
22395 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22396 s&@srcdir@&$ac_srcdir&;t t
22397 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22398 s&@top_srcdir@&$ac_top_srcdir&;t t
22399 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22400 s&@builddir@&$ac_builddir&;t t
22401 s&@abs_builddir@&$ac_abs_builddir&;t t
22402 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22403 $ac_datarootdir_hack
22405 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22406 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22408 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22409 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22410 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22411 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22413 which seems to be undefined. Please make sure it is defined" >&5
22414 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22415 which seems to be undefined. Please make sure it is defined" >&2;}
22417 rm -f "$ac_tmp/stdin"
22418 case $ac_file in
22419 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22420 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22421 esac \
22422 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22426 # CONFIG_HEADER
22428 if test x"$ac_file" != x-; then
22430 $as_echo "/* $configure_input */" \
22431 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22432 } >"$ac_tmp/config.h" \
22433 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22434 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22436 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22437 else
22438 rm -f "$ac_file"
22439 mv "$ac_tmp/config.h" "$ac_file" \
22440 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22442 else
22443 $as_echo "/* $configure_input */" \
22444 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22445 || as_fn_error $? "could not create -" "$LINENO" 5
22450 # CONFIG_LINK
22453 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22455 else
22456 # Prefer the file from the source tree if names are identical.
22457 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22458 ac_source=$srcdir/$ac_source
22461 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22462 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22464 if test ! -r "$ac_source"; then
22465 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22467 rm -f "$ac_file"
22469 # Try a relative symlink, then a hard link, then a copy.
22470 case $ac_source in
22471 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22472 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22473 esac
22474 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22475 ln "$ac_source" "$ac_file" 2>/dev/null ||
22476 cp -p "$ac_source" "$ac_file" ||
22477 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22480 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22481 $as_echo "$as_me: executing $ac_file commands" >&6;}
22483 esac
22486 case $ac_file$ac_mode in
22487 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22488 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22489 "Makefile":C) wine_fn_output_makefile Makefile ;;
22491 esac
22492 done # for ac_tag
22495 as_fn_exit 0
22496 _ACEOF
22497 ac_clean_files=$ac_clean_files_save
22499 test $ac_write_fail = 0 ||
22500 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22503 # configure is writing to config.log, and then calls config.status.
22504 # config.status does its own redirection, appending to config.log.
22505 # Unfortunately, on DOS this fails, as config.log is still kept open
22506 # by configure, so config.status won't be able to write to it; its
22507 # output is simply discarded. So we exec the FD to /dev/null,
22508 # effectively closing config.log, so it can be properly (re)opened and
22509 # appended to by config.status. When coming back to configure, we
22510 # need to make the FD available again.
22511 if test "$no_create" != yes; then
22512 ac_cs_success=:
22513 ac_config_status_args=
22514 test "$silent" = yes &&
22515 ac_config_status_args="$ac_config_status_args --quiet"
22516 exec 5>/dev/null
22517 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22518 exec 5>>config.log
22519 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22520 # would make configure fail if this is the last instruction.
22521 $ac_cs_success || as_fn_exit 1
22523 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22525 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22529 if test "$no_create" = "yes"
22530 then
22531 exit 0
22534 ac_save_IFS="$IFS"
22535 if test "x$wine_notices" != x; then
22536 echo >&6
22537 IFS="|"
22538 for msg in $wine_notices; do
22539 IFS="$ac_save_IFS"
22540 if ${msg:+false} :; then :
22542 else
22543 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22544 $as_echo "$as_me: $msg" >&6;}
22546 done
22548 IFS="|"
22549 for msg in $wine_warnings; do
22550 IFS="$ac_save_IFS"
22551 if ${msg:+false} :; then :
22553 else
22554 echo >&2
22555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22556 $as_echo "$as_me: WARNING: $msg" >&2;}
22558 done
22559 IFS="$ac_save_IFS"
22561 $as_echo "
22562 $as_me: Finished. Do '${ac_make}' to compile Wine.
22563 " >&6