kernel32: Remove no longer used variables.
[wine.git] / configure
blobd025c38934cb0f5143cf4ad9dfab575e92da8ac2
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_dcomp
1248 enable_ddraw
1249 enable_ddrawex
1250 enable_devenum
1251 enable_dhcpcsvc
1252 enable_dhtmled_ocx
1253 enable_difxapi
1254 enable_dinput
1255 enable_dinput8
1256 enable_directmanipulation
1257 enable_dispex
1258 enable_dmband
1259 enable_dmcompos
1260 enable_dmime
1261 enable_dmloader
1262 enable_dmoguids
1263 enable_dmscript
1264 enable_dmstyle
1265 enable_dmsynth
1266 enable_dmusic
1267 enable_dmusic32
1268 enable_dnsapi
1269 enable_dplay
1270 enable_dplayx
1271 enable_dpnaddr
1272 enable_dpnet
1273 enable_dpnhpast
1274 enable_dpnlobby
1275 enable_dpvoice
1276 enable_dpwsockx
1277 enable_drmclien
1278 enable_dsdmo
1279 enable_dsound
1280 enable_dsquery
1281 enable_dssenh
1282 enable_dsuiext
1283 enable_dswave
1284 enable_dwmapi
1285 enable_dwrite
1286 enable_dx8vb
1287 enable_dxdiagn
1288 enable_dxerr8
1289 enable_dxerr9
1290 enable_dxgi
1291 enable_dxguid
1292 enable_dxva2
1293 enable_esent
1294 enable_evr
1295 enable_explorerframe
1296 enable_ext_ms_win_authz_context_l1_1_0
1297 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1298 enable_ext_ms_win_dwmapi_ext_l1_1_0
1299 enable_ext_ms_win_gdi_dc_create_l1_1_0
1300 enable_ext_ms_win_gdi_dc_create_l1_1_1
1301 enable_ext_ms_win_gdi_dc_l1_2_0
1302 enable_ext_ms_win_gdi_devcaps_l1_1_0
1303 enable_ext_ms_win_gdi_draw_l1_1_0
1304 enable_ext_ms_win_gdi_draw_l1_1_1
1305 enable_ext_ms_win_gdi_font_l1_1_0
1306 enable_ext_ms_win_gdi_font_l1_1_1
1307 enable_ext_ms_win_gdi_render_l1_1_0
1308 enable_ext_ms_win_kernel32_package_current_l1_1_0
1309 enable_ext_ms_win_kernel32_package_l1_1_1
1310 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1311 enable_ext_ms_win_ntuser_draw_l1_1_0
1312 enable_ext_ms_win_ntuser_gui_l1_1_0
1313 enable_ext_ms_win_ntuser_gui_l1_3_0
1314 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1315 enable_ext_ms_win_ntuser_message_l1_1_0
1316 enable_ext_ms_win_ntuser_message_l1_1_1
1317 enable_ext_ms_win_ntuser_misc_l1_1_0
1318 enable_ext_ms_win_ntuser_misc_l1_2_0
1319 enable_ext_ms_win_ntuser_misc_l1_5_1
1320 enable_ext_ms_win_ntuser_mouse_l1_1_0
1321 enable_ext_ms_win_ntuser_private_l1_1_1
1322 enable_ext_ms_win_ntuser_private_l1_3_1
1323 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1324 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1325 enable_ext_ms_win_ntuser_window_l1_1_0
1326 enable_ext_ms_win_ntuser_window_l1_1_1
1327 enable_ext_ms_win_ntuser_window_l1_1_4
1328 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1329 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1330 enable_ext_ms_win_oleacc_l1_1_0
1331 enable_ext_ms_win_ras_rasapi32_l1_1_0
1332 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1333 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1334 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1335 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1336 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1337 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1338 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1339 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1340 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1341 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1342 enable_ext_ms_win_security_credui_l1_1_0
1343 enable_ext_ms_win_security_cryptui_l1_1_0
1344 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1345 enable_ext_ms_win_shell_comdlg32_l1_1_0
1346 enable_ext_ms_win_shell_shell32_l1_2_0
1347 enable_ext_ms_win_uxtheme_themes_l1_1_0
1348 enable_faultrep
1349 enable_feclient
1350 enable_fltlib
1351 enable_fltmgr_sys
1352 enable_fntcache
1353 enable_fontsub
1354 enable_fusion
1355 enable_fwpuclnt
1356 enable_gameux
1357 enable_gdi32
1358 enable_gdiplus
1359 enable_glu32
1360 enable_gphoto2_ds
1361 enable_gpkcsp
1362 enable_hal
1363 enable_hhctrl_ocx
1364 enable_hid
1365 enable_hidclass_sys
1366 enable_hlink
1367 enable_hnetcfg
1368 enable_http_sys
1369 enable_httpapi
1370 enable_iccvid
1371 enable_icmp
1372 enable_ieframe
1373 enable_ieproxy
1374 enable_imaadp32_acm
1375 enable_imagehlp
1376 enable_imm32
1377 enable_inetcomm
1378 enable_inetcpl_cpl
1379 enable_inetmib1
1380 enable_infosoft
1381 enable_initpki
1382 enable_inkobj
1383 enable_inseng
1384 enable_iphlpapi
1385 enable_iprop
1386 enable_irprops_cpl
1387 enable_itircl
1388 enable_itss
1389 enable_joy_cpl
1390 enable_jscript
1391 enable_jsproxy
1392 enable_kerberos
1393 enable_kernel32
1394 enable_kernelbase
1395 enable_ksecdd_sys
1396 enable_ksproxy_ax
1397 enable_ksuser
1398 enable_ktmw32
1399 enable_l3codeca_acm
1400 enable_loadperf
1401 enable_localspl
1402 enable_localui
1403 enable_lz32
1404 enable_mapi32
1405 enable_mapistub
1406 enable_mciavi32
1407 enable_mcicda
1408 enable_mciqtz32
1409 enable_mciseq
1410 enable_mciwave
1411 enable_mf
1412 enable_mf3216
1413 enable_mferror
1414 enable_mfmediaengine
1415 enable_mfplat
1416 enable_mfplay
1417 enable_mfreadwrite
1418 enable_mfuuid
1419 enable_mgmtapi
1420 enable_midimap
1421 enable_mlang
1422 enable_mmcndmgr
1423 enable_mmdevapi
1424 enable_mountmgr_sys
1425 enable_mp3dmod
1426 enable_mpr
1427 enable_mprapi
1428 enable_msacm32_drv
1429 enable_msacm32
1430 enable_msado15
1431 enable_msadp32_acm
1432 enable_msasn1
1433 enable_mscat32
1434 enable_mscms
1435 enable_mscoree
1436 enable_mscorwks
1437 enable_msctf
1438 enable_msctfp
1439 enable_msdaps
1440 enable_msdelta
1441 enable_msdmo
1442 enable_msdrm
1443 enable_msftedit
1444 enable_msg711_acm
1445 enable_msgsm32_acm
1446 enable_mshtml_tlb
1447 enable_mshtml
1448 enable_msi
1449 enable_msident
1450 enable_msimg32
1451 enable_msimsg
1452 enable_msimtf
1453 enable_msisip
1454 enable_msisys_ocx
1455 enable_msls31
1456 enable_msnet32
1457 enable_mspatcha
1458 enable_msports
1459 enable_msrle32
1460 enable_msscript_ocx
1461 enable_mssign32
1462 enable_mssip32
1463 enable_mstask
1464 enable_msvcirt
1465 enable_msvcm80
1466 enable_msvcm90
1467 enable_msvcp100
1468 enable_msvcp110
1469 enable_msvcp120
1470 enable_msvcp120_app
1471 enable_msvcp140
1472 enable_msvcp140_1
1473 enable_msvcp60
1474 enable_msvcp70
1475 enable_msvcp71
1476 enable_msvcp80
1477 enable_msvcp90
1478 enable_msvcr100
1479 enable_msvcr110
1480 enable_msvcr120
1481 enable_msvcr120_app
1482 enable_msvcr70
1483 enable_msvcr71
1484 enable_msvcr80
1485 enable_msvcr90
1486 enable_msvcrt
1487 enable_msvcrt20
1488 enable_msvcrt40
1489 enable_msvcrtd
1490 enable_msvfw32
1491 enable_msvidc32
1492 enable_mswsock
1493 enable_msxml
1494 enable_msxml2
1495 enable_msxml3
1496 enable_msxml4
1497 enable_msxml6
1498 enable_mtxdm
1499 enable_ncrypt
1500 enable_nddeapi
1501 enable_ndis_sys
1502 enable_netapi32
1503 enable_netcfgx
1504 enable_netio_sys
1505 enable_netprofm
1506 enable_netutils
1507 enable_newdev
1508 enable_ninput
1509 enable_normaliz
1510 enable_npmshtml
1511 enable_npptools
1512 enable_ntdll
1513 enable_ntdsapi
1514 enable_ntoskrnl_exe
1515 enable_ntprint
1516 enable_objsel
1517 enable_odbc32
1518 enable_odbcbcp
1519 enable_odbccp32
1520 enable_odbccu32
1521 enable_ole32
1522 enable_oleacc
1523 enable_oleaut32
1524 enable_olecli32
1525 enable_oledb32
1526 enable_oledlg
1527 enable_olepro32
1528 enable_olesvr32
1529 enable_olethk32
1530 enable_opcservices
1531 enable_openal32
1532 enable_opencl
1533 enable_opengl32
1534 enable_packager
1535 enable_pdh
1536 enable_photometadatahandler
1537 enable_pidgen
1538 enable_powrprof
1539 enable_printui
1540 enable_prntvpt
1541 enable_propsys
1542 enable_psapi
1543 enable_pstorec
1544 enable_pwrshplugin
1545 enable_qasf
1546 enable_qcap
1547 enable_qdvd
1548 enable_qedit
1549 enable_qmgr
1550 enable_qmgrprxy
1551 enable_quartz
1552 enable_query
1553 enable_qwave
1554 enable_rasapi32
1555 enable_rasdlg
1556 enable_regapi
1557 enable_resutils
1558 enable_riched20
1559 enable_riched32
1560 enable_rpcrt4
1561 enable_rsabase
1562 enable_rsaenh
1563 enable_rstrtmgr
1564 enable_rtutils
1565 enable_rtworkq
1566 enable_samlib
1567 enable_sane_ds
1568 enable_sapi
1569 enable_sas
1570 enable_scarddlg
1571 enable_sccbase
1572 enable_schannel
1573 enable_schedsvc
1574 enable_scrobj
1575 enable_scrrun
1576 enable_scsiport_sys
1577 enable_sechost
1578 enable_secur32
1579 enable_security
1580 enable_sensapi
1581 enable_serialui
1582 enable_setupapi
1583 enable_sfc
1584 enable_sfc_os
1585 enable_shcore
1586 enable_shdoclc
1587 enable_shdocvw
1588 enable_shell32
1589 enable_shfolder
1590 enable_shlwapi
1591 enable_slbcsp
1592 enable_slc
1593 enable_snmpapi
1594 enable_softpub
1595 enable_spoolss
1596 enable_srclient
1597 enable_srvcli
1598 enable_sspicli
1599 enable_stdole2_tlb
1600 enable_stdole32_tlb
1601 enable_sti
1602 enable_strmbase
1603 enable_strmdll
1604 enable_strmiids
1605 enable_svrapi
1606 enable_sxs
1607 enable_t2embed
1608 enable_tapi32
1609 enable_taskschd
1610 enable_tdh
1611 enable_tdi_sys
1612 enable_traffic
1613 enable_twain_32
1614 enable_tzres
1615 enable_ucrtbase
1616 enable_uianimation
1617 enable_uiautomationcore
1618 enable_uiribbon
1619 enable_unicows
1620 enable_updspapi
1621 enable_url
1622 enable_urlmon
1623 enable_usbd_sys
1624 enable_user32
1625 enable_userenv
1626 enable_usp10
1627 enable_utildll
1628 enable_uuid
1629 enable_uxtheme
1630 enable_vbscript
1631 enable_vcomp
1632 enable_vcomp100
1633 enable_vcomp110
1634 enable_vcomp120
1635 enable_vcomp140
1636 enable_vcomp90
1637 enable_vcruntime140
1638 enable_vcruntime140_1
1639 enable_vdmdbg
1640 enable_version
1641 enable_vga
1642 enable_virtdisk
1643 enable_vssapi
1644 enable_vulkan_1
1645 enable_wbemdisp
1646 enable_wbemprox
1647 enable_wbemuuid
1648 enable_wdscore
1649 enable_webservices
1650 enable_wer
1651 enable_wevtapi
1652 enable_wevtsvc
1653 enable_wiaservc
1654 enable_wimgapi
1655 enable_windowscodecs
1656 enable_windowscodecsext
1657 enable_winealsa_drv
1658 enable_wineandroid_drv
1659 enable_winebus_sys
1660 enable_winecoreaudio_drv
1661 enable_winecrt0
1662 enable_wined3d
1663 enable_winegstreamer
1664 enable_winehid_sys
1665 enable_winejoystick_drv
1666 enable_winemac_drv
1667 enable_winemapi
1668 enable_wineoss_drv
1669 enable_wineps_drv
1670 enable_winepulse_drv
1671 enable_wineqtdecoder
1672 enable_wineusb_sys
1673 enable_winevulkan
1674 enable_winex11_drv
1675 enable_wing32
1676 enable_winhttp
1677 enable_wininet
1678 enable_winmm
1679 enable_winnls32
1680 enable_winscard
1681 enable_winspool_drv
1682 enable_winsta
1683 enable_wintab32
1684 enable_wintrust
1685 enable_winusb
1686 enable_wlanapi
1687 enable_wlanui
1688 enable_wldap32
1689 enable_wmasf
1690 enable_wmcodecdspuuid
1691 enable_wmi
1692 enable_wmiutils
1693 enable_wmp
1694 enable_wmphoto
1695 enable_wmvcore
1696 enable_wnaspi32
1697 enable_wpc
1698 enable_wpcap
1699 enable_ws2_32
1700 enable_wsdapi
1701 enable_wshom_ocx
1702 enable_wsnmp32
1703 enable_wsock32
1704 enable_wtsapi32
1705 enable_wuapi
1706 enable_wuaueng
1707 enable_x3daudio1_0
1708 enable_x3daudio1_1
1709 enable_x3daudio1_2
1710 enable_x3daudio1_3
1711 enable_x3daudio1_4
1712 enable_x3daudio1_5
1713 enable_x3daudio1_6
1714 enable_x3daudio1_7
1715 enable_xactengine3_0
1716 enable_xactengine3_1
1717 enable_xactengine3_2
1718 enable_xactengine3_3
1719 enable_xactengine3_4
1720 enable_xactengine3_5
1721 enable_xactengine3_6
1722 enable_xactengine3_7
1723 enable_xapofx1_1
1724 enable_xapofx1_2
1725 enable_xapofx1_3
1726 enable_xapofx1_4
1727 enable_xapofx1_5
1728 enable_xaudio2_0
1729 enable_xaudio2_1
1730 enable_xaudio2_2
1731 enable_xaudio2_3
1732 enable_xaudio2_4
1733 enable_xaudio2_5
1734 enable_xaudio2_6
1735 enable_xaudio2_7
1736 enable_xaudio2_8
1737 enable_xaudio2_9
1738 enable_xinput1_1
1739 enable_xinput1_2
1740 enable_xinput1_3
1741 enable_xinput1_4
1742 enable_xinput9_1_0
1743 enable_xmllite
1744 enable_xolehlp
1745 enable_xpsprint
1746 enable_xpssvcs
1747 enable_fonts
1748 enable_include
1749 enable_port
1750 enable_wine
1751 enable_wpp
1752 enable_loader
1753 enable_nls
1754 enable_po
1755 enable_arp
1756 enable_aspnet_regiis
1757 enable_attrib
1758 enable_cabarc
1759 enable_cacls
1760 enable_chcp_com
1761 enable_clock
1762 enable_cmd
1763 enable_conhost
1764 enable_control
1765 enable_cscript
1766 enable_dism
1767 enable_dplaysvr
1768 enable_dpnsvr
1769 enable_dpvsetup
1770 enable_dxdiag
1771 enable_eject
1772 enable_expand
1773 enable_explorer
1774 enable_extrac32
1775 enable_fc
1776 enable_find
1777 enable_findstr
1778 enable_fsutil
1779 enable_hh
1780 enable_hostname
1781 enable_icacls
1782 enable_icinfo
1783 enable_iexplore
1784 enable_ipconfig
1785 enable_lodctr
1786 enable_mofcomp
1787 enable_mshta
1788 enable_msidb
1789 enable_msiexec
1790 enable_msinfo32
1791 enable_net
1792 enable_netsh
1793 enable_netstat
1794 enable_ngen
1795 enable_notepad
1796 enable_oleview
1797 enable_ping
1798 enable_plugplay
1799 enable_powershell
1800 enable_presentationfontcache
1801 enable_progman
1802 enable_reg
1803 enable_regasm
1804 enable_regedit
1805 enable_regini
1806 enable_regsvcs
1807 enable_regsvr32
1808 enable_rpcss
1809 enable_rundll32
1810 enable_sc
1811 enable_schtasks
1812 enable_sdbinst
1813 enable_secedit
1814 enable_servicemodelreg
1815 enable_services
1816 enable_shutdown
1817 enable_spoolsv
1818 enable_start
1819 enable_subst
1820 enable_svchost
1821 enable_systeminfo
1822 enable_taskkill
1823 enable_tasklist
1824 enable_taskmgr
1825 enable_termsv
1826 enable_uninstaller
1827 enable_unlodctr
1828 enable_view
1829 enable_wevtutil
1830 enable_where
1831 enable_whoami
1832 enable_wineboot
1833 enable_winebrowser
1834 enable_winecfg
1835 enable_wineconsole
1836 enable_winedbg
1837 enable_winedevice
1838 enable_winefile
1839 enable_winemenubuilder
1840 enable_winemine
1841 enable_winemsibuilder
1842 enable_winepath
1843 enable_winetest
1844 enable_winhlp32
1845 enable_winmgmt
1846 enable_winver
1847 enable_wmic
1848 enable_wmplayer
1849 enable_wordpad
1850 enable_write
1851 enable_wscript
1852 enable_wuauserv
1853 enable_wusa
1854 enable_xcopy
1855 enable_server
1856 enable_tools
1857 enable_sfnt2fon
1858 enable_widl
1859 enable_winebuild
1860 enable_winedump
1861 enable_winegcc
1862 enable_winemaker
1863 enable_wmc
1864 enable_wrc
1866 ac_precious_vars='build_alias
1867 host_alias
1868 target_alias
1870 CFLAGS
1871 LDFLAGS
1872 LIBS
1873 CPPFLAGS
1875 CXXFLAGS
1878 OBJC
1879 OBJCFLAGS
1880 OBJCPP
1881 XMKMF
1882 XML2_CFLAGS
1883 XML2_LIBS
1884 XSLT_CFLAGS
1885 XSLT_LIBS
1886 INOTIFY_CFLAGS
1887 INOTIFY_LIBS
1888 DBUS_CFLAGS
1889 DBUS_LIBS
1890 HAL_CFLAGS
1891 HAL_LIBS
1892 GNUTLS_CFLAGS
1893 GNUTLS_LIBS
1894 SANE_CFLAGS
1895 SANE_LIBS
1896 USB_CFLAGS
1897 USB_LIBS
1898 GPHOTO2_CFLAGS
1899 GPHOTO2_LIBS
1900 GPHOTO2_PORT_CFLAGS
1901 GPHOTO2_PORT_LIBS
1902 LCMS2_CFLAGS
1903 LCMS2_LIBS
1904 FREETYPE_CFLAGS
1905 FREETYPE_LIBS
1906 PULSE_CFLAGS
1907 PULSE_LIBS
1908 GSTREAMER_CFLAGS
1909 GSTREAMER_LIBS
1910 UDEV_CFLAGS
1911 UDEV_LIBS
1912 UNWIND_CFLAGS
1913 UNWIND_LIBS
1914 SDL2_CFLAGS
1915 SDL2_LIBS
1916 FAUDIO_CFLAGS
1917 FAUDIO_LIBS
1918 CAPI20_CFLAGS
1919 CAPI20_LIBS
1920 CUPS_CFLAGS
1921 CUPS_LIBS
1922 FONTCONFIG_CFLAGS
1923 FONTCONFIG_LIBS
1924 KRB5_CFLAGS
1925 KRB5_LIBS
1926 GSSAPI_CFLAGS
1927 GSSAPI_LIBS
1928 JPEG_CFLAGS
1929 JPEG_LIBS
1930 PNG_CFLAGS
1931 PNG_LIBS
1932 TIFF_CFLAGS
1933 TIFF_LIBS
1934 MPG123_CFLAGS
1935 MPG123_LIBS
1936 NETAPI_CFLAGS
1937 NETAPI_LIBS
1938 VKD3D_CFLAGS
1939 VKD3D_LIBS
1940 VKD3D_SHADER_CFLAGS
1941 VKD3D_SHADER_LIBS
1942 LDAP_CFLAGS
1943 LDAP_LIBS'
1946 # Initialize some variables set by options.
1947 ac_init_help=
1948 ac_init_version=false
1949 ac_unrecognized_opts=
1950 ac_unrecognized_sep=
1951 # The variables have the same names as the options, with
1952 # dashes changed to underlines.
1953 cache_file=/dev/null
1954 exec_prefix=NONE
1955 no_create=
1956 no_recursion=
1957 prefix=NONE
1958 program_prefix=NONE
1959 program_suffix=NONE
1960 program_transform_name=s,x,x,
1961 silent=
1962 site=
1963 srcdir=
1964 verbose=
1965 x_includes=NONE
1966 x_libraries=NONE
1968 # Installation directory options.
1969 # These are left unexpanded so users can "make install exec_prefix=/foo"
1970 # and all the variables that are supposed to be based on exec_prefix
1971 # by default will actually change.
1972 # Use braces instead of parens because sh, perl, etc. also accept them.
1973 # (The list follows the same order as the GNU Coding Standards.)
1974 bindir='${exec_prefix}/bin'
1975 sbindir='${exec_prefix}/sbin'
1976 libexecdir='${exec_prefix}/libexec'
1977 datarootdir='${prefix}/share'
1978 datadir='${datarootdir}'
1979 sysconfdir='${prefix}/etc'
1980 sharedstatedir='${prefix}/com'
1981 localstatedir='${prefix}/var'
1982 runstatedir='${localstatedir}/run'
1983 includedir='${prefix}/include'
1984 oldincludedir='/usr/include'
1985 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1986 infodir='${datarootdir}/info'
1987 htmldir='${docdir}'
1988 dvidir='${docdir}'
1989 pdfdir='${docdir}'
1990 psdir='${docdir}'
1991 libdir='${exec_prefix}/lib'
1992 localedir='${datarootdir}/locale'
1993 mandir='${datarootdir}/man'
1995 ac_prev=
1996 ac_dashdash=
1997 for ac_option
1999 # If the previous option needs an argument, assign it.
2000 if test -n "$ac_prev"; then
2001 eval $ac_prev=\$ac_option
2002 ac_prev=
2003 continue
2006 case $ac_option in
2007 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2008 *=) ac_optarg= ;;
2009 *) ac_optarg=yes ;;
2010 esac
2012 # Accept the important Cygnus configure options, so we can diagnose typos.
2014 case $ac_dashdash$ac_option in
2016 ac_dashdash=yes ;;
2018 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2019 ac_prev=bindir ;;
2020 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2021 bindir=$ac_optarg ;;
2023 -build | --build | --buil | --bui | --bu)
2024 ac_prev=build_alias ;;
2025 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2026 build_alias=$ac_optarg ;;
2028 -cache-file | --cache-file | --cache-fil | --cache-fi \
2029 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2030 ac_prev=cache_file ;;
2031 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2032 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2033 cache_file=$ac_optarg ;;
2035 --config-cache | -C)
2036 cache_file=config.cache ;;
2038 -datadir | --datadir | --datadi | --datad)
2039 ac_prev=datadir ;;
2040 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2041 datadir=$ac_optarg ;;
2043 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2044 | --dataroo | --dataro | --datar)
2045 ac_prev=datarootdir ;;
2046 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2047 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2048 datarootdir=$ac_optarg ;;
2050 -disable-* | --disable-*)
2051 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2052 # Reject names that are not valid shell variable names.
2053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2054 as_fn_error $? "invalid feature name: $ac_useropt"
2055 ac_useropt_orig=$ac_useropt
2056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2057 case $ac_user_opts in
2059 "enable_$ac_useropt"
2060 "*) ;;
2061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2062 ac_unrecognized_sep=', ';;
2063 esac
2064 eval enable_$ac_useropt=no ;;
2066 -docdir | --docdir | --docdi | --doc | --do)
2067 ac_prev=docdir ;;
2068 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2069 docdir=$ac_optarg ;;
2071 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2072 ac_prev=dvidir ;;
2073 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2074 dvidir=$ac_optarg ;;
2076 -enable-* | --enable-*)
2077 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2078 # Reject names that are not valid shell variable names.
2079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2080 as_fn_error $? "invalid feature name: $ac_useropt"
2081 ac_useropt_orig=$ac_useropt
2082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2083 case $ac_user_opts in
2085 "enable_$ac_useropt"
2086 "*) ;;
2087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2088 ac_unrecognized_sep=', ';;
2089 esac
2090 eval enable_$ac_useropt=\$ac_optarg ;;
2092 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2093 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2094 | --exec | --exe | --ex)
2095 ac_prev=exec_prefix ;;
2096 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2097 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2098 | --exec=* | --exe=* | --ex=*)
2099 exec_prefix=$ac_optarg ;;
2101 -gas | --gas | --ga | --g)
2102 # Obsolete; use --with-gas.
2103 with_gas=yes ;;
2105 -help | --help | --hel | --he | -h)
2106 ac_init_help=long ;;
2107 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2108 ac_init_help=recursive ;;
2109 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2110 ac_init_help=short ;;
2112 -host | --host | --hos | --ho)
2113 ac_prev=host_alias ;;
2114 -host=* | --host=* | --hos=* | --ho=*)
2115 host_alias=$ac_optarg ;;
2117 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2118 ac_prev=htmldir ;;
2119 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2120 | --ht=*)
2121 htmldir=$ac_optarg ;;
2123 -includedir | --includedir | --includedi | --included | --include \
2124 | --includ | --inclu | --incl | --inc)
2125 ac_prev=includedir ;;
2126 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2127 | --includ=* | --inclu=* | --incl=* | --inc=*)
2128 includedir=$ac_optarg ;;
2130 -infodir | --infodir | --infodi | --infod | --info | --inf)
2131 ac_prev=infodir ;;
2132 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2133 infodir=$ac_optarg ;;
2135 -libdir | --libdir | --libdi | --libd)
2136 ac_prev=libdir ;;
2137 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2138 libdir=$ac_optarg ;;
2140 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2141 | --libexe | --libex | --libe)
2142 ac_prev=libexecdir ;;
2143 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2144 | --libexe=* | --libex=* | --libe=*)
2145 libexecdir=$ac_optarg ;;
2147 -localedir | --localedir | --localedi | --localed | --locale)
2148 ac_prev=localedir ;;
2149 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2150 localedir=$ac_optarg ;;
2152 -localstatedir | --localstatedir | --localstatedi | --localstated \
2153 | --localstate | --localstat | --localsta | --localst | --locals)
2154 ac_prev=localstatedir ;;
2155 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2156 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2157 localstatedir=$ac_optarg ;;
2159 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2160 ac_prev=mandir ;;
2161 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2162 mandir=$ac_optarg ;;
2164 -nfp | --nfp | --nf)
2165 # Obsolete; use --without-fp.
2166 with_fp=no ;;
2168 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2169 | --no-cr | --no-c | -n)
2170 no_create=yes ;;
2172 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2173 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2174 no_recursion=yes ;;
2176 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2177 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2178 | --oldin | --oldi | --old | --ol | --o)
2179 ac_prev=oldincludedir ;;
2180 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2181 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2182 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2183 oldincludedir=$ac_optarg ;;
2185 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2186 ac_prev=prefix ;;
2187 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2188 prefix=$ac_optarg ;;
2190 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2191 | --program-pre | --program-pr | --program-p)
2192 ac_prev=program_prefix ;;
2193 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2194 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2195 program_prefix=$ac_optarg ;;
2197 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2198 | --program-suf | --program-su | --program-s)
2199 ac_prev=program_suffix ;;
2200 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2201 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2202 program_suffix=$ac_optarg ;;
2204 -program-transform-name | --program-transform-name \
2205 | --program-transform-nam | --program-transform-na \
2206 | --program-transform-n | --program-transform- \
2207 | --program-transform | --program-transfor \
2208 | --program-transfo | --program-transf \
2209 | --program-trans | --program-tran \
2210 | --progr-tra | --program-tr | --program-t)
2211 ac_prev=program_transform_name ;;
2212 -program-transform-name=* | --program-transform-name=* \
2213 | --program-transform-nam=* | --program-transform-na=* \
2214 | --program-transform-n=* | --program-transform-=* \
2215 | --program-transform=* | --program-transfor=* \
2216 | --program-transfo=* | --program-transf=* \
2217 | --program-trans=* | --program-tran=* \
2218 | --progr-tra=* | --program-tr=* | --program-t=*)
2219 program_transform_name=$ac_optarg ;;
2221 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2222 ac_prev=pdfdir ;;
2223 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2224 pdfdir=$ac_optarg ;;
2226 -psdir | --psdir | --psdi | --psd | --ps)
2227 ac_prev=psdir ;;
2228 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2229 psdir=$ac_optarg ;;
2231 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2232 | -silent | --silent | --silen | --sile | --sil)
2233 silent=yes ;;
2235 -runstatedir | --runstatedir | --runstatedi | --runstated \
2236 | --runstate | --runstat | --runsta | --runst | --runs \
2237 | --run | --ru | --r)
2238 ac_prev=runstatedir ;;
2239 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2240 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2241 | --run=* | --ru=* | --r=*)
2242 runstatedir=$ac_optarg ;;
2244 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2245 ac_prev=sbindir ;;
2246 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2247 | --sbi=* | --sb=*)
2248 sbindir=$ac_optarg ;;
2250 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2251 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2252 | --sharedst | --shareds | --shared | --share | --shar \
2253 | --sha | --sh)
2254 ac_prev=sharedstatedir ;;
2255 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2256 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2257 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2258 | --sha=* | --sh=*)
2259 sharedstatedir=$ac_optarg ;;
2261 -site | --site | --sit)
2262 ac_prev=site ;;
2263 -site=* | --site=* | --sit=*)
2264 site=$ac_optarg ;;
2266 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2267 ac_prev=srcdir ;;
2268 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2269 srcdir=$ac_optarg ;;
2271 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2272 | --syscon | --sysco | --sysc | --sys | --sy)
2273 ac_prev=sysconfdir ;;
2274 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2275 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2276 sysconfdir=$ac_optarg ;;
2278 -target | --target | --targe | --targ | --tar | --ta | --t)
2279 ac_prev=target_alias ;;
2280 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2281 target_alias=$ac_optarg ;;
2283 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2284 verbose=yes ;;
2286 -version | --version | --versio | --versi | --vers | -V)
2287 ac_init_version=: ;;
2289 -with-* | --with-*)
2290 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2291 # Reject names that are not valid shell variable names.
2292 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2293 as_fn_error $? "invalid package name: $ac_useropt"
2294 ac_useropt_orig=$ac_useropt
2295 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2296 case $ac_user_opts in
2298 "with_$ac_useropt"
2299 "*) ;;
2300 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2301 ac_unrecognized_sep=', ';;
2302 esac
2303 eval with_$ac_useropt=\$ac_optarg ;;
2305 -without-* | --without-*)
2306 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2307 # Reject names that are not valid shell variable names.
2308 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2309 as_fn_error $? "invalid package name: $ac_useropt"
2310 ac_useropt_orig=$ac_useropt
2311 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2312 case $ac_user_opts in
2314 "with_$ac_useropt"
2315 "*) ;;
2316 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2317 ac_unrecognized_sep=', ';;
2318 esac
2319 eval with_$ac_useropt=no ;;
2321 --x)
2322 # Obsolete; use --with-x.
2323 with_x=yes ;;
2325 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2326 | --x-incl | --x-inc | --x-in | --x-i)
2327 ac_prev=x_includes ;;
2328 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2329 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2330 x_includes=$ac_optarg ;;
2332 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2333 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2334 ac_prev=x_libraries ;;
2335 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2336 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2337 x_libraries=$ac_optarg ;;
2339 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2340 Try \`$0 --help' for more information"
2343 *=*)
2344 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2345 # Reject names that are not valid shell variable names.
2346 case $ac_envvar in #(
2347 '' | [0-9]* | *[!_$as_cr_alnum]* )
2348 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2349 esac
2350 eval $ac_envvar=\$ac_optarg
2351 export $ac_envvar ;;
2354 # FIXME: should be removed in autoconf 3.0.
2355 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2356 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2357 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2358 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2361 esac
2362 done
2364 if test -n "$ac_prev"; then
2365 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2366 as_fn_error $? "missing argument to $ac_option"
2369 if test -n "$ac_unrecognized_opts"; then
2370 case $enable_option_checking in
2371 no) ;;
2372 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2373 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2374 esac
2377 # Check all directory arguments for consistency.
2378 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2379 datadir sysconfdir sharedstatedir localstatedir includedir \
2380 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2381 libdir localedir mandir runstatedir
2383 eval ac_val=\$$ac_var
2384 # Remove trailing slashes.
2385 case $ac_val in
2386 */ )
2387 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2388 eval $ac_var=\$ac_val;;
2389 esac
2390 # Be sure to have absolute directory names.
2391 case $ac_val in
2392 [\\/$]* | ?:[\\/]* ) continue;;
2393 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2394 esac
2395 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2396 done
2398 # There might be people who depend on the old broken behavior: `$host'
2399 # used to hold the argument of --host etc.
2400 # FIXME: To remove some day.
2401 build=$build_alias
2402 host=$host_alias
2403 target=$target_alias
2405 # FIXME: To remove some day.
2406 if test "x$host_alias" != x; then
2407 if test "x$build_alias" = x; then
2408 cross_compiling=maybe
2409 elif test "x$build_alias" != "x$host_alias"; then
2410 cross_compiling=yes
2414 ac_tool_prefix=
2415 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2417 test "$silent" = yes && exec 6>/dev/null
2420 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2421 ac_ls_di=`ls -di .` &&
2422 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2423 as_fn_error $? "working directory cannot be determined"
2424 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2425 as_fn_error $? "pwd does not report name of working directory"
2428 # Find the source files, if location was not specified.
2429 if test -z "$srcdir"; then
2430 ac_srcdir_defaulted=yes
2431 # Try the directory containing this script, then the parent directory.
2432 ac_confdir=`$as_dirname -- "$as_myself" ||
2433 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2434 X"$as_myself" : 'X\(//\)[^/]' \| \
2435 X"$as_myself" : 'X\(//\)$' \| \
2436 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2437 $as_echo X"$as_myself" |
2438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2439 s//\1/
2442 /^X\(\/\/\)[^/].*/{
2443 s//\1/
2446 /^X\(\/\/\)$/{
2447 s//\1/
2450 /^X\(\/\).*/{
2451 s//\1/
2454 s/.*/./; q'`
2455 srcdir=$ac_confdir
2456 if test ! -r "$srcdir/$ac_unique_file"; then
2457 srcdir=..
2459 else
2460 ac_srcdir_defaulted=no
2462 if test ! -r "$srcdir/$ac_unique_file"; then
2463 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2464 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2466 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2467 ac_abs_confdir=`(
2468 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2469 pwd)`
2470 # When building in place, set srcdir=.
2471 if test "$ac_abs_confdir" = "$ac_pwd"; then
2472 srcdir=.
2474 # Remove unnecessary trailing slashes from srcdir.
2475 # Double slashes in file names in object file debugging info
2476 # mess up M-x gdb in Emacs.
2477 case $srcdir in
2478 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2479 esac
2480 for ac_var in $ac_precious_vars; do
2481 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2482 eval ac_env_${ac_var}_value=\$${ac_var}
2483 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2484 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2485 done
2488 # Report the --help message.
2490 if test "$ac_init_help" = "long"; then
2491 # Omit some internal or obsolete options to make the list less imposing.
2492 # This message is too long to be a string in the A/UX 3.1 sh.
2493 cat <<_ACEOF
2494 \`configure' configures Wine 5.22 to adapt to many kinds of systems.
2496 Usage: $0 [OPTION]... [VAR=VALUE]...
2498 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2499 VAR=VALUE. See below for descriptions of some of the useful variables.
2501 Defaults for the options are specified in brackets.
2503 Configuration:
2504 -h, --help display this help and exit
2505 --help=short display options specific to this package
2506 --help=recursive display the short help of all the included packages
2507 -V, --version display version information and exit
2508 -q, --quiet, --silent do not print \`checking ...' messages
2509 --cache-file=FILE cache test results in FILE [disabled]
2510 -C, --config-cache alias for \`--cache-file=config.cache'
2511 -n, --no-create do not create output files
2512 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2514 Installation directories:
2515 --prefix=PREFIX install architecture-independent files in PREFIX
2516 [$ac_default_prefix]
2517 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2518 [PREFIX]
2520 By default, \`make install' will install all the files in
2521 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2522 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2523 for instance \`--prefix=\$HOME'.
2525 For better control, use the options below.
2527 Fine tuning of the installation directories:
2528 --bindir=DIR user executables [EPREFIX/bin]
2529 --sbindir=DIR system admin executables [EPREFIX/sbin]
2530 --libexecdir=DIR program executables [EPREFIX/libexec]
2531 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2532 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2533 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2534 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2535 --libdir=DIR object code libraries [EPREFIX/lib]
2536 --includedir=DIR C header files [PREFIX/include]
2537 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2538 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2539 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2540 --infodir=DIR info documentation [DATAROOTDIR/info]
2541 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2542 --mandir=DIR man documentation [DATAROOTDIR/man]
2543 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2544 --htmldir=DIR html documentation [DOCDIR]
2545 --dvidir=DIR dvi documentation [DOCDIR]
2546 --pdfdir=DIR pdf documentation [DOCDIR]
2547 --psdir=DIR ps documentation [DOCDIR]
2548 _ACEOF
2550 cat <<\_ACEOF
2552 X features:
2553 --x-includes=DIR X include files are in DIR
2554 --x-libraries=DIR X library files are in DIR
2556 System types:
2557 --build=BUILD configure for building on BUILD [guessed]
2558 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2559 _ACEOF
2562 if test -n "$ac_init_help"; then
2563 case $ac_init_help in
2564 short | recursive ) echo "Configuration of Wine 5.22:";;
2565 esac
2566 cat <<\_ACEOF
2568 Optional Features:
2569 --disable-option-checking ignore unrecognized --enable/--with options
2570 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2571 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2572 --disable-win16 do not include Win16 support
2573 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2574 binaries)
2575 --disable-tests do not build the regression tests
2576 --enable-maintainer-mode
2577 enable maintainer-specific build rules
2578 --enable-werror treat compilation warnings as errors
2579 --disable-largefile omit support for large files
2581 Optional Packages:
2582 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2583 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2584 --without-alsa do not use the Alsa sound support
2585 --without-capi do not use CAPI (ISDN support)
2586 --without-cms do not use CMS (color management support)
2587 --without-coreaudio do not use the CoreAudio sound support
2588 --without-cups do not use CUPS
2589 --without-dbus do not use DBus (dynamic device support)
2590 --without-faudio do not use FAudio (XAudio2 support)
2591 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2592 --without-fontconfig do not use fontconfig
2593 --without-freetype do not use the FreeType library
2594 --without-gettext do not use gettext
2595 --with-gettextpo use the GetTextPO library to rebuild po files
2596 --without-gphoto do not use gphoto (Digital Camera support)
2597 --without-gnutls do not use GnuTLS (schannel support)
2598 --without-gsm do not use libgsm (GSM 06.10 codec support)
2599 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2600 --without-gstreamer do not use GStreamer (codecs support)
2601 --without-hal do not use HAL (dynamic device support)
2602 --without-inotify do not use inotify (filesystem change notifications)
2603 --without-jpeg do not use JPEG
2604 --without-krb5 do not use krb5 (Kerberos)
2605 --without-ldap do not use LDAP
2606 --without-mingw do not use the MinGW cross-compiler
2607 --without-mpg123 do not use the mpg123 library
2608 --without-netapi do not use the Samba NetAPI library
2609 --without-openal do not use OpenAL
2610 --without-opencl do not use OpenCL
2611 --without-opengl do not use OpenGL
2612 --without-osmesa do not use the OSMesa library
2613 --without-oss do not use the OSS sound support
2614 --without-pcap do not use the Packet Capture library
2615 --without-png do not use PNG
2616 --without-pthread do not use the pthread library
2617 --without-pulse do not use PulseAudio sound support
2618 --without-quicktime do not use QuickTime support
2619 --without-sane do not use SANE (scanner support)
2620 --without-sdl do not use SDL
2621 --without-tiff do not use TIFF
2622 --without-udev do not use udev (plug and play support)
2623 --without-unwind do not use the libunwind library (exception
2624 handling)
2625 --without-usb do not use the libusb library
2626 --without-v4l2 do not use v4l2 (video capture)
2627 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2628 --without-vulkan do not use Vulkan
2629 --without-xcomposite do not use the Xcomposite extension
2630 --without-xcursor do not use the Xcursor extension
2631 --without-xfixes do not use Xfixes for clipboard change notifications
2632 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2633 --without-xinput do not use the Xinput extension
2634 --without-xinput2 do not use the Xinput 2 extension
2635 --without-xml do not use XML
2636 --without-xrandr do not use Xrandr (multi-monitor support)
2637 --without-xrender do not use the Xrender extension
2638 --without-xshape do not use the Xshape extension
2639 --without-xshm do not use XShm (shared memory extension)
2640 --without-xslt do not use XSLT
2641 --without-xxf86vm do not use XFree video mode extension
2642 --with-wine-tools=DIR use Wine tools from directory DIR
2643 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2644 --with-x use the X Window System
2646 Some influential environment variables:
2647 CC C compiler command
2648 CFLAGS C compiler flags
2649 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2650 nonstandard directory <lib dir>
2651 LIBS libraries to pass to the linker, e.g. -l<library>
2652 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2653 you have headers in a nonstandard directory <include dir>
2654 CXX C++ compiler command
2655 CXXFLAGS C++ compiler flags
2656 CPP C preprocessor
2657 OBJC Objective C compiler command
2658 OBJCFLAGS Objective C compiler flags
2659 OBJCPP Objective C preprocessor
2660 XMKMF Path to xmkmf, Makefile generator for X Window System
2661 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2662 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2663 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2664 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2665 INOTIFY_CFLAGS
2666 C compiler flags for libinotify, overriding pkg-config
2667 INOTIFY_LIBS
2668 Linker flags for libinotify, overriding pkg-config
2669 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2670 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2671 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2672 HAL_LIBS Linker flags for hal, overriding pkg-config
2673 GNUTLS_CFLAGS
2674 C compiler flags for gnutls, overriding pkg-config
2675 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2676 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2677 SANE_LIBS Linker flags for libsane, overriding pkg-config
2678 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2679 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2680 GPHOTO2_CFLAGS
2681 C compiler flags for libgphoto2, overriding pkg-config
2682 GPHOTO2_LIBS
2683 Linker flags for libgphoto2, overriding pkg-config
2684 GPHOTO2_PORT_CFLAGS
2685 C compiler flags for libgphoto2_port, overriding pkg-config
2686 GPHOTO2_PORT_LIBS
2687 Linker flags for libgphoto2_port, overriding pkg-config
2688 LCMS2_CFLAGS
2689 C compiler flags for lcms2, overriding pkg-config
2690 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2691 FREETYPE_CFLAGS
2692 C compiler flags for freetype2, overriding pkg-config
2693 FREETYPE_LIBS
2694 Linker flags for freetype2, overriding pkg-config
2695 PULSE_CFLAGS
2696 C compiler flags for libpulse, overriding pkg-config
2697 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2698 GSTREAMER_CFLAGS
2699 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2700 gstreamer-audio-1.0, overriding pkg-config
2701 GSTREAMER_LIBS
2702 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2703 gstreamer-audio-1.0, overriding pkg-config
2704 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2705 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2706 UNWIND_CFLAGS
2707 C compiler flags for libunwind, overriding pkg-config
2708 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2709 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2710 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2711 FAUDIO_CFLAGS
2712 C compiler flags for faudio, overriding pkg-config
2713 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2714 CAPI20_CFLAGS
2715 C compiler flags for capi20, overriding pkg-config
2716 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2717 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2718 CUPS_LIBS Linker flags for cups, overriding pkg-config
2719 FONTCONFIG_CFLAGS
2720 C compiler flags for fontconfig, overriding pkg-config
2721 FONTCONFIG_LIBS
2722 Linker flags for fontconfig, overriding pkg-config
2723 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2724 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2725 GSSAPI_CFLAGS
2726 C compiler flags for krb5-gssapi, overriding pkg-config
2727 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2728 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2729 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2730 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2731 PNG_LIBS Linker flags for libpng, overriding pkg-config
2732 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2733 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2734 MPG123_CFLAGS
2735 C compiler flags for libmpg123, overriding pkg-config
2736 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2737 NETAPI_CFLAGS
2738 C compiler flags for netapi, overriding pkg-config
2739 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2740 VKD3D_CFLAGS
2741 C compiler flags for libvkd3d, overriding pkg-config
2742 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2743 VKD3D_SHADER_CFLAGS
2744 C compiler flags for libvkd3d-shader, overriding pkg-config
2745 VKD3D_SHADER_LIBS
2746 Linker flags for libvkd3d-shader, overriding pkg-config
2747 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2748 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2750 Use these variables to override the choices made by `configure' or to help
2751 it to find libraries and programs with nonstandard names/locations.
2753 Report bugs to <wine-devel@winehq.org>.
2754 Wine home page: <https://www.winehq.org>.
2755 _ACEOF
2756 ac_status=$?
2759 if test "$ac_init_help" = "recursive"; then
2760 # If there are subdirs, report their specific --help.
2761 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2762 test -d "$ac_dir" ||
2763 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2764 continue
2765 ac_builddir=.
2767 case "$ac_dir" in
2768 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2770 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2771 # A ".." for each directory in $ac_dir_suffix.
2772 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2773 case $ac_top_builddir_sub in
2774 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2775 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2776 esac ;;
2777 esac
2778 ac_abs_top_builddir=$ac_pwd
2779 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2780 # for backward compatibility:
2781 ac_top_builddir=$ac_top_build_prefix
2783 case $srcdir in
2784 .) # We are building in place.
2785 ac_srcdir=.
2786 ac_top_srcdir=$ac_top_builddir_sub
2787 ac_abs_top_srcdir=$ac_pwd ;;
2788 [\\/]* | ?:[\\/]* ) # Absolute name.
2789 ac_srcdir=$srcdir$ac_dir_suffix;
2790 ac_top_srcdir=$srcdir
2791 ac_abs_top_srcdir=$srcdir ;;
2792 *) # Relative name.
2793 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2794 ac_top_srcdir=$ac_top_build_prefix$srcdir
2795 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2796 esac
2797 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2799 cd "$ac_dir" || { ac_status=$?; continue; }
2800 # Check for guested configure.
2801 if test -f "$ac_srcdir/configure.gnu"; then
2802 echo &&
2803 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2804 elif test -f "$ac_srcdir/configure"; then
2805 echo &&
2806 $SHELL "$ac_srcdir/configure" --help=recursive
2807 else
2808 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2809 fi || ac_status=$?
2810 cd "$ac_pwd" || { ac_status=$?; break; }
2811 done
2814 test -n "$ac_init_help" && exit $ac_status
2815 if $ac_init_version; then
2816 cat <<\_ACEOF
2817 Wine configure 5.22
2818 generated by GNU Autoconf 2.69
2820 Copyright (C) 2012 Free Software Foundation, Inc.
2821 This configure script is free software; the Free Software Foundation
2822 gives unlimited permission to copy, distribute and modify it.
2823 _ACEOF
2824 exit
2827 ## ------------------------ ##
2828 ## Autoconf initialization. ##
2829 ## ------------------------ ##
2831 # ac_fn_c_try_compile LINENO
2832 # --------------------------
2833 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2834 ac_fn_c_try_compile ()
2836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2837 rm -f conftest.$ac_objext
2838 if { { ac_try="$ac_compile"
2839 case "(($ac_try" in
2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2842 esac
2843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2844 $as_echo "$ac_try_echo"; } >&5
2845 (eval "$ac_compile") 2>conftest.err
2846 ac_status=$?
2847 if test -s conftest.err; then
2848 grep -v '^ *+' conftest.err >conftest.er1
2849 cat conftest.er1 >&5
2850 mv -f conftest.er1 conftest.err
2852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2853 test $ac_status = 0; } && {
2854 test -z "$ac_c_werror_flag" ||
2855 test ! -s conftest.err
2856 } && test -s conftest.$ac_objext; then :
2857 ac_retval=0
2858 else
2859 $as_echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2862 ac_retval=1
2864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2865 as_fn_set_status $ac_retval
2867 } # ac_fn_c_try_compile
2869 # ac_fn_cxx_try_compile LINENO
2870 # ----------------------------
2871 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2872 ac_fn_cxx_try_compile ()
2874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2875 rm -f conftest.$ac_objext
2876 if { { ac_try="$ac_compile"
2877 case "(($ac_try" in
2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879 *) ac_try_echo=$ac_try;;
2880 esac
2881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2882 $as_echo "$ac_try_echo"; } >&5
2883 (eval "$ac_compile") 2>conftest.err
2884 ac_status=$?
2885 if test -s conftest.err; then
2886 grep -v '^ *+' conftest.err >conftest.er1
2887 cat conftest.er1 >&5
2888 mv -f conftest.er1 conftest.err
2890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2891 test $ac_status = 0; } && {
2892 test -z "$ac_cxx_werror_flag" ||
2893 test ! -s conftest.err
2894 } && test -s conftest.$ac_objext; then :
2895 ac_retval=0
2896 else
2897 $as_echo "$as_me: failed program was:" >&5
2898 sed 's/^/| /' conftest.$ac_ext >&5
2900 ac_retval=1
2902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2903 as_fn_set_status $ac_retval
2905 } # ac_fn_cxx_try_compile
2907 # ac_fn_c_try_link LINENO
2908 # -----------------------
2909 # Try to link conftest.$ac_ext, and return whether this succeeded.
2910 ac_fn_c_try_link ()
2912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2913 rm -f conftest.$ac_objext conftest$ac_exeext
2914 if { { ac_try="$ac_link"
2915 case "(($ac_try" in
2916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2917 *) ac_try_echo=$ac_try;;
2918 esac
2919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2920 $as_echo "$ac_try_echo"; } >&5
2921 (eval "$ac_link") 2>conftest.err
2922 ac_status=$?
2923 if test -s conftest.err; then
2924 grep -v '^ *+' conftest.err >conftest.er1
2925 cat conftest.er1 >&5
2926 mv -f conftest.er1 conftest.err
2928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2929 test $ac_status = 0; } && {
2930 test -z "$ac_c_werror_flag" ||
2931 test ! -s conftest.err
2932 } && test -s conftest$ac_exeext && {
2933 test "$cross_compiling" = yes ||
2934 test -x conftest$ac_exeext
2935 }; then :
2936 ac_retval=0
2937 else
2938 $as_echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.$ac_ext >&5
2941 ac_retval=1
2943 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2944 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2945 # interfere with the next link command; also delete a directory that is
2946 # left behind by Apple's compiler. We do this before executing the actions.
2947 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2949 as_fn_set_status $ac_retval
2951 } # ac_fn_c_try_link
2953 # ac_fn_c_try_cpp LINENO
2954 # ----------------------
2955 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2956 ac_fn_c_try_cpp ()
2958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2959 if { { ac_try="$ac_cpp conftest.$ac_ext"
2960 case "(($ac_try" in
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2963 esac
2964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2965 $as_echo "$ac_try_echo"; } >&5
2966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2967 ac_status=$?
2968 if test -s conftest.err; then
2969 grep -v '^ *+' conftest.err >conftest.er1
2970 cat conftest.er1 >&5
2971 mv -f conftest.er1 conftest.err
2973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2974 test $ac_status = 0; } > conftest.i && {
2975 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2976 test ! -s conftest.err
2977 }; then :
2978 ac_retval=0
2979 else
2980 $as_echo "$as_me: failed program was:" >&5
2981 sed 's/^/| /' conftest.$ac_ext >&5
2983 ac_retval=1
2985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2986 as_fn_set_status $ac_retval
2988 } # ac_fn_c_try_cpp
2990 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2991 # -------------------------------------------------------
2992 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2993 # the include files in INCLUDES and setting the cache variable VAR
2994 # accordingly.
2995 ac_fn_c_check_header_mongrel ()
2997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2998 if eval \${$3+:} false; then :
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3000 $as_echo_n "checking for $2... " >&6; }
3001 if eval \${$3+:} false; then :
3002 $as_echo_n "(cached) " >&6
3004 eval ac_res=\$$3
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3006 $as_echo "$ac_res" >&6; }
3007 else
3008 # Is the header compilable?
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3010 $as_echo_n "checking $2 usability... " >&6; }
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3014 #include <$2>
3015 _ACEOF
3016 if ac_fn_c_try_compile "$LINENO"; then :
3017 ac_header_compiler=yes
3018 else
3019 ac_header_compiler=no
3021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3023 $as_echo "$ac_header_compiler" >&6; }
3025 # Is the header present?
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3027 $as_echo_n "checking $2 presence... " >&6; }
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3030 #include <$2>
3031 _ACEOF
3032 if ac_fn_c_try_cpp "$LINENO"; then :
3033 ac_header_preproc=yes
3034 else
3035 ac_header_preproc=no
3037 rm -f conftest.err conftest.i conftest.$ac_ext
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3039 $as_echo "$ac_header_preproc" >&6; }
3041 # So? What about this header?
3042 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3043 yes:no: )
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3045 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3047 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3049 no:yes:* )
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3051 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3053 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3055 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3057 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3059 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3060 ( $as_echo "## ------------------------------------ ##
3061 ## Report this to wine-devel@winehq.org ##
3062 ## ------------------------------------ ##"
3063 ) | sed "s/^/$as_me: WARNING: /" >&2
3065 esac
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3067 $as_echo_n "checking for $2... " >&6; }
3068 if eval \${$3+:} false; then :
3069 $as_echo_n "(cached) " >&6
3070 else
3071 eval "$3=\$ac_header_compiler"
3073 eval ac_res=\$$3
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3075 $as_echo "$ac_res" >&6; }
3077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3079 } # ac_fn_c_check_header_mongrel
3081 # ac_fn_c_try_run LINENO
3082 # ----------------------
3083 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3084 # that executables *can* be run.
3085 ac_fn_c_try_run ()
3087 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3088 if { { ac_try="$ac_link"
3089 case "(($ac_try" in
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3092 esac
3093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3094 $as_echo "$ac_try_echo"; } >&5
3095 (eval "$ac_link") 2>&5
3096 ac_status=$?
3097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3098 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3099 { { case "(($ac_try" in
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3102 esac
3103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3104 $as_echo "$ac_try_echo"; } >&5
3105 (eval "$ac_try") 2>&5
3106 ac_status=$?
3107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3108 test $ac_status = 0; }; }; then :
3109 ac_retval=0
3110 else
3111 $as_echo "$as_me: program exited with status $ac_status" >&5
3112 $as_echo "$as_me: failed program was:" >&5
3113 sed 's/^/| /' conftest.$ac_ext >&5
3115 ac_retval=$ac_status
3117 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3118 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3119 as_fn_set_status $ac_retval
3121 } # ac_fn_c_try_run
3123 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3124 # -------------------------------------------------------
3125 # Tests whether HEADER exists and can be compiled using the include files in
3126 # INCLUDES, setting the cache variable VAR accordingly.
3127 ac_fn_c_check_header_compile ()
3129 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3131 $as_echo_n "checking for $2... " >&6; }
3132 if eval \${$3+:} false; then :
3133 $as_echo_n "(cached) " >&6
3134 else
3135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3136 /* end confdefs.h. */
3138 #include <$2>
3139 _ACEOF
3140 if ac_fn_c_try_compile "$LINENO"; then :
3141 eval "$3=yes"
3142 else
3143 eval "$3=no"
3145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3147 eval ac_res=\$$3
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3149 $as_echo "$ac_res" >&6; }
3150 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3152 } # ac_fn_c_check_header_compile
3154 # ac_fn_objc_try_compile LINENO
3155 # -----------------------------
3156 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3157 ac_fn_objc_try_compile ()
3159 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3160 rm -f conftest.$ac_objext
3161 if { { ac_try="$ac_compile"
3162 case "(($ac_try" in
3163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3165 esac
3166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3167 $as_echo "$ac_try_echo"; } >&5
3168 (eval "$ac_compile") 2>conftest.err
3169 ac_status=$?
3170 if test -s conftest.err; then
3171 grep -v '^ *+' conftest.err >conftest.er1
3172 cat conftest.er1 >&5
3173 mv -f conftest.er1 conftest.err
3175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3176 test $ac_status = 0; } && {
3177 test -z "$ac_objc_werror_flag" ||
3178 test ! -s conftest.err
3179 } && test -s conftest.$ac_objext; then :
3180 ac_retval=0
3181 else
3182 $as_echo "$as_me: failed program was:" >&5
3183 sed 's/^/| /' conftest.$ac_ext >&5
3185 ac_retval=1
3187 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3188 as_fn_set_status $ac_retval
3190 } # ac_fn_objc_try_compile
3192 # ac_fn_objc_try_cpp LINENO
3193 # -------------------------
3194 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3195 ac_fn_objc_try_cpp ()
3197 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3198 if { { ac_try="$ac_cpp conftest.$ac_ext"
3199 case "(($ac_try" in
3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3202 esac
3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3204 $as_echo "$ac_try_echo"; } >&5
3205 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3206 ac_status=$?
3207 if test -s conftest.err; then
3208 grep -v '^ *+' conftest.err >conftest.er1
3209 cat conftest.er1 >&5
3210 mv -f conftest.er1 conftest.err
3212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3213 test $ac_status = 0; } > conftest.i && {
3214 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3215 test ! -s conftest.err
3216 }; then :
3217 ac_retval=0
3218 else
3219 $as_echo "$as_me: failed program was:" >&5
3220 sed 's/^/| /' conftest.$ac_ext >&5
3222 ac_retval=1
3224 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3225 as_fn_set_status $ac_retval
3227 } # ac_fn_objc_try_cpp
3229 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3230 # ----------------------------------------------------------
3231 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3232 # the include files in INCLUDES and setting the cache variable VAR
3233 # accordingly.
3234 ac_fn_objc_check_header_mongrel ()
3236 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3237 if eval \${$3+:} false; then :
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3239 $as_echo_n "checking for $2... " >&6; }
3240 if eval \${$3+:} false; then :
3241 $as_echo_n "(cached) " >&6
3243 eval ac_res=\$$3
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3245 $as_echo "$ac_res" >&6; }
3246 else
3247 # Is the header compilable?
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3249 $as_echo_n "checking $2 usability... " >&6; }
3250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3251 /* end confdefs.h. */
3253 #include <$2>
3254 _ACEOF
3255 if ac_fn_objc_try_compile "$LINENO"; then :
3256 ac_header_compiler=yes
3257 else
3258 ac_header_compiler=no
3260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3262 $as_echo "$ac_header_compiler" >&6; }
3264 # Is the header present?
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3266 $as_echo_n "checking $2 presence... " >&6; }
3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268 /* end confdefs.h. */
3269 #include <$2>
3270 _ACEOF
3271 if ac_fn_objc_try_cpp "$LINENO"; then :
3272 ac_header_preproc=yes
3273 else
3274 ac_header_preproc=no
3276 rm -f conftest.err conftest.i conftest.$ac_ext
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3278 $as_echo "$ac_header_preproc" >&6; }
3280 # So? What about this header?
3281 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3282 yes:no: )
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3284 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3286 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3288 no:yes:* )
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3290 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3292 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3294 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3296 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3298 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3299 ( $as_echo "## ------------------------------------ ##
3300 ## Report this to wine-devel@winehq.org ##
3301 ## ------------------------------------ ##"
3302 ) | sed "s/^/$as_me: WARNING: /" >&2
3304 esac
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3306 $as_echo_n "checking for $2... " >&6; }
3307 if eval \${$3+:} false; then :
3308 $as_echo_n "(cached) " >&6
3309 else
3310 eval "$3=\$ac_header_compiler"
3312 eval ac_res=\$$3
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3314 $as_echo "$ac_res" >&6; }
3316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3318 } # ac_fn_objc_check_header_mongrel
3320 # ac_fn_c_check_func LINENO FUNC VAR
3321 # ----------------------------------
3322 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3323 ac_fn_c_check_func ()
3325 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3327 $as_echo_n "checking for $2... " >&6; }
3328 if eval \${$3+:} false; then :
3329 $as_echo_n "(cached) " >&6
3330 else
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3333 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3335 #define $2 innocuous_$2
3337 /* System header to define __stub macros and hopefully few prototypes,
3338 which can conflict with char $2 (); below.
3339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3340 <limits.h> exists even on freestanding compilers. */
3342 #ifdef __STDC__
3343 # include <limits.h>
3344 #else
3345 # include <assert.h>
3346 #endif
3348 #undef $2
3350 /* Override any GCC internal prototype to avoid an error.
3351 Use char because int might match the return type of a GCC
3352 builtin and then its argument prototype would still apply. */
3353 #ifdef __cplusplus
3354 extern "C"
3355 #endif
3356 char $2 ();
3357 /* The GNU C library defines this for functions which it implements
3358 to always fail with ENOSYS. Some functions are actually named
3359 something starting with __ and the normal name is an alias. */
3360 #if defined __stub_$2 || defined __stub___$2
3361 choke me
3362 #endif
3365 main ()
3367 return $2 ();
3369 return 0;
3371 _ACEOF
3372 if ac_fn_c_try_link "$LINENO"; then :
3373 eval "$3=yes"
3374 else
3375 eval "$3=no"
3377 rm -f core conftest.err conftest.$ac_objext \
3378 conftest$ac_exeext conftest.$ac_ext
3380 eval ac_res=\$$3
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3382 $as_echo "$ac_res" >&6; }
3383 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3385 } # ac_fn_c_check_func
3387 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3388 # ----------------------------------------------------
3389 # Tries to find if the field MEMBER exists in type AGGR, after including
3390 # INCLUDES, setting cache variable VAR accordingly.
3391 ac_fn_c_check_member ()
3393 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3395 $as_echo_n "checking for $2.$3... " >&6; }
3396 if eval \${$4+:} false; then :
3397 $as_echo_n "(cached) " >&6
3398 else
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3403 main ()
3405 static $2 ac_aggr;
3406 if (ac_aggr.$3)
3407 return 0;
3409 return 0;
3411 _ACEOF
3412 if ac_fn_c_try_compile "$LINENO"; then :
3413 eval "$4=yes"
3414 else
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3419 main ()
3421 static $2 ac_aggr;
3422 if (sizeof ac_aggr.$3)
3423 return 0;
3425 return 0;
3427 _ACEOF
3428 if ac_fn_c_try_compile "$LINENO"; then :
3429 eval "$4=yes"
3430 else
3431 eval "$4=no"
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3437 eval ac_res=\$$4
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3439 $as_echo "$ac_res" >&6; }
3440 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3442 } # ac_fn_c_check_member
3444 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3445 # -------------------------------------------
3446 # Tests whether TYPE exists after having included INCLUDES, setting cache
3447 # variable VAR accordingly.
3448 ac_fn_c_check_type ()
3450 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3452 $as_echo_n "checking for $2... " >&6; }
3453 if eval \${$3+:} false; then :
3454 $as_echo_n "(cached) " >&6
3455 else
3456 eval "$3=no"
3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3461 main ()
3463 if (sizeof ($2))
3464 return 0;
3466 return 0;
3468 _ACEOF
3469 if ac_fn_c_try_compile "$LINENO"; then :
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3474 main ()
3476 if (sizeof (($2)))
3477 return 0;
3479 return 0;
3481 _ACEOF
3482 if ac_fn_c_try_compile "$LINENO"; then :
3484 else
3485 eval "$3=yes"
3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3491 eval ac_res=\$$3
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3493 $as_echo "$ac_res" >&6; }
3494 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3496 } # ac_fn_c_check_type
3497 cat >config.log <<_ACEOF
3498 This file contains any messages produced by compilers while
3499 running configure, to aid debugging if configure makes a mistake.
3501 It was created by Wine $as_me 5.22, which was
3502 generated by GNU Autoconf 2.69. Invocation command line was
3504 $ $0 $@
3506 _ACEOF
3507 exec 5>>config.log
3509 cat <<_ASUNAME
3510 ## --------- ##
3511 ## Platform. ##
3512 ## --------- ##
3514 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3515 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3516 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3517 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3518 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3520 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3521 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3523 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3524 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3525 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3526 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3527 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3528 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3529 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3531 _ASUNAME
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3534 for as_dir in $PATH
3536 IFS=$as_save_IFS
3537 test -z "$as_dir" && as_dir=.
3538 $as_echo "PATH: $as_dir"
3539 done
3540 IFS=$as_save_IFS
3542 } >&5
3544 cat >&5 <<_ACEOF
3547 ## ----------- ##
3548 ## Core tests. ##
3549 ## ----------- ##
3551 _ACEOF
3554 # Keep a trace of the command line.
3555 # Strip out --no-create and --no-recursion so they do not pile up.
3556 # Strip out --silent because we don't want to record it for future runs.
3557 # Also quote any args containing shell meta-characters.
3558 # Make two passes to allow for proper duplicate-argument suppression.
3559 ac_configure_args=
3560 ac_configure_args0=
3561 ac_configure_args1=
3562 ac_must_keep_next=false
3563 for ac_pass in 1 2
3565 for ac_arg
3567 case $ac_arg in
3568 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3569 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3570 | -silent | --silent | --silen | --sile | --sil)
3571 continue ;;
3572 *\'*)
3573 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3574 esac
3575 case $ac_pass in
3576 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3578 as_fn_append ac_configure_args1 " '$ac_arg'"
3579 if test $ac_must_keep_next = true; then
3580 ac_must_keep_next=false # Got value, back to normal.
3581 else
3582 case $ac_arg in
3583 *=* | --config-cache | -C | -disable-* | --disable-* \
3584 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3585 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3586 | -with-* | --with-* | -without-* | --without-* | --x)
3587 case "$ac_configure_args0 " in
3588 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3589 esac
3591 -* ) ac_must_keep_next=true ;;
3592 esac
3594 as_fn_append ac_configure_args " '$ac_arg'"
3596 esac
3597 done
3598 done
3599 { ac_configure_args0=; unset ac_configure_args0;}
3600 { ac_configure_args1=; unset ac_configure_args1;}
3602 # When interrupted or exit'd, cleanup temporary files, and complete
3603 # config.log. We remove comments because anyway the quotes in there
3604 # would cause problems or look ugly.
3605 # WARNING: Use '\'' to represent an apostrophe within the trap.
3606 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3607 trap 'exit_status=$?
3608 # Save into config.log some information that might help in debugging.
3610 echo
3612 $as_echo "## ---------------- ##
3613 ## Cache variables. ##
3614 ## ---------------- ##"
3615 echo
3616 # The following way of writing the cache mishandles newlines in values,
3618 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3619 eval ac_val=\$$ac_var
3620 case $ac_val in #(
3621 *${as_nl}*)
3622 case $ac_var in #(
3623 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3624 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3625 esac
3626 case $ac_var in #(
3627 _ | IFS | as_nl) ;; #(
3628 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3629 *) { eval $ac_var=; unset $ac_var;} ;;
3630 esac ;;
3631 esac
3632 done
3633 (set) 2>&1 |
3634 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3635 *${as_nl}ac_space=\ *)
3636 sed -n \
3637 "s/'\''/'\''\\\\'\'''\''/g;
3638 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3639 ;; #(
3641 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3643 esac |
3644 sort
3646 echo
3648 $as_echo "## ----------------- ##
3649 ## Output variables. ##
3650 ## ----------------- ##"
3651 echo
3652 for ac_var in $ac_subst_vars
3654 eval ac_val=\$$ac_var
3655 case $ac_val in
3656 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3657 esac
3658 $as_echo "$ac_var='\''$ac_val'\''"
3659 done | sort
3660 echo
3662 if test -n "$ac_subst_files"; then
3663 $as_echo "## ------------------- ##
3664 ## File substitutions. ##
3665 ## ------------------- ##"
3666 echo
3667 for ac_var in $ac_subst_files
3669 eval ac_val=\$$ac_var
3670 case $ac_val in
3671 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3672 esac
3673 $as_echo "$ac_var='\''$ac_val'\''"
3674 done | sort
3675 echo
3678 if test -s confdefs.h; then
3679 $as_echo "## ----------- ##
3680 ## confdefs.h. ##
3681 ## ----------- ##"
3682 echo
3683 cat confdefs.h
3684 echo
3686 test "$ac_signal" != 0 &&
3687 $as_echo "$as_me: caught signal $ac_signal"
3688 $as_echo "$as_me: exit $exit_status"
3689 } >&5
3690 rm -f core *.core core.conftest.* &&
3691 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3692 exit $exit_status
3694 for ac_signal in 1 2 13 15; do
3695 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3696 done
3697 ac_signal=0
3699 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3700 rm -f -r conftest* confdefs.h
3702 $as_echo "/* confdefs.h */" > confdefs.h
3704 # Predefined preprocessor variables.
3706 cat >>confdefs.h <<_ACEOF
3707 #define PACKAGE_NAME "$PACKAGE_NAME"
3708 _ACEOF
3710 cat >>confdefs.h <<_ACEOF
3711 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3712 _ACEOF
3714 cat >>confdefs.h <<_ACEOF
3715 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3716 _ACEOF
3718 cat >>confdefs.h <<_ACEOF
3719 #define PACKAGE_STRING "$PACKAGE_STRING"
3720 _ACEOF
3722 cat >>confdefs.h <<_ACEOF
3723 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3724 _ACEOF
3726 cat >>confdefs.h <<_ACEOF
3727 #define PACKAGE_URL "$PACKAGE_URL"
3728 _ACEOF
3731 # Let the site file select an alternate cache file if it wants to.
3732 # Prefer an explicitly selected file to automatically selected ones.
3733 ac_site_file1=NONE
3734 ac_site_file2=NONE
3735 if test -n "$CONFIG_SITE"; then
3736 # We do not want a PATH search for config.site.
3737 case $CONFIG_SITE in #((
3738 -*) ac_site_file1=./$CONFIG_SITE;;
3739 */*) ac_site_file1=$CONFIG_SITE;;
3740 *) ac_site_file1=./$CONFIG_SITE;;
3741 esac
3742 elif test "x$prefix" != xNONE; then
3743 ac_site_file1=$prefix/share/config.site
3744 ac_site_file2=$prefix/etc/config.site
3745 else
3746 ac_site_file1=$ac_default_prefix/share/config.site
3747 ac_site_file2=$ac_default_prefix/etc/config.site
3749 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3751 test "x$ac_site_file" = xNONE && continue
3752 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3754 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3755 sed 's/^/| /' "$ac_site_file" >&5
3756 . "$ac_site_file" \
3757 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3759 as_fn_error $? "failed to load site script $ac_site_file
3760 See \`config.log' for more details" "$LINENO" 5; }
3762 done
3764 if test -r "$cache_file"; then
3765 # Some versions of bash will fail to source /dev/null (special files
3766 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3767 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3769 $as_echo "$as_me: loading cache $cache_file" >&6;}
3770 case $cache_file in
3771 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3772 *) . "./$cache_file";;
3773 esac
3775 else
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3777 $as_echo "$as_me: creating cache $cache_file" >&6;}
3778 >$cache_file
3781 # Check that the precious variables saved in the cache have kept the same
3782 # value.
3783 ac_cache_corrupted=false
3784 for ac_var in $ac_precious_vars; do
3785 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3786 eval ac_new_set=\$ac_env_${ac_var}_set
3787 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3788 eval ac_new_val=\$ac_env_${ac_var}_value
3789 case $ac_old_set,$ac_new_set in
3790 set,)
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3792 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3793 ac_cache_corrupted=: ;;
3794 ,set)
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3796 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3797 ac_cache_corrupted=: ;;
3798 ,);;
3800 if test "x$ac_old_val" != "x$ac_new_val"; then
3801 # differences in whitespace do not lead to failure.
3802 ac_old_val_w=`echo x $ac_old_val`
3803 ac_new_val_w=`echo x $ac_new_val`
3804 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3806 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3807 ac_cache_corrupted=:
3808 else
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3810 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3811 eval $ac_var=\$ac_old_val
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3814 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3816 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3817 fi;;
3818 esac
3819 # Pass precious variables to config.status.
3820 if test "$ac_new_set" = set; then
3821 case $ac_new_val in
3822 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3823 *) ac_arg=$ac_var=$ac_new_val ;;
3824 esac
3825 case " $ac_configure_args " in
3826 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3827 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3828 esac
3830 done
3831 if $ac_cache_corrupted; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3835 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3836 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3838 ## -------------------- ##
3839 ## Main body of script. ##
3840 ## -------------------- ##
3842 ac_ext=c
3843 ac_cpp='$CPP $CPPFLAGS'
3844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3850 ac_config_headers="$ac_config_headers include/config.h"
3852 ac_aux_dir=
3853 for ac_dir in tools "$srcdir"/tools; do
3854 if test -f "$ac_dir/install-sh"; then
3855 ac_aux_dir=$ac_dir
3856 ac_install_sh="$ac_aux_dir/install-sh -c"
3857 break
3858 elif test -f "$ac_dir/install.sh"; then
3859 ac_aux_dir=$ac_dir
3860 ac_install_sh="$ac_aux_dir/install.sh -c"
3861 break
3862 elif test -f "$ac_dir/shtool"; then
3863 ac_aux_dir=$ac_dir
3864 ac_install_sh="$ac_aux_dir/shtool install -c"
3865 break
3867 done
3868 if test -z "$ac_aux_dir"; then
3869 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3872 # These three variables are undocumented and unsupported,
3873 # and are intended to be withdrawn in a future Autoconf release.
3874 # They can cause serious problems if a builder's source tree is in a directory
3875 # whose full name contains unusual characters.
3876 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3877 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3878 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3882 libwine_version="1.0"
3886 # Check whether --enable-win16 was given.
3887 if test "${enable_win16+set}" = set; then :
3888 enableval=$enable_win16;
3891 # Check whether --enable-win64 was given.
3892 if test "${enable_win64+set}" = set; then :
3893 enableval=$enable_win64;
3896 # Check whether --enable-tests was given.
3897 if test "${enable_tests+set}" = set; then :
3898 enableval=$enable_tests;
3901 # Check whether --enable-maintainer-mode was given.
3902 if test "${enable_maintainer_mode+set}" = set; then :
3903 enableval=$enable_maintainer_mode;
3906 # Check whether --enable-werror was given.
3907 if test "${enable_werror+set}" = set; then :
3908 enableval=$enable_werror;
3913 # Check whether --with-alsa was given.
3914 if test "${with_alsa+set}" = set; then :
3915 withval=$with_alsa;
3919 # Check whether --with-capi was given.
3920 if test "${with_capi+set}" = set; then :
3921 withval=$with_capi;
3925 # Check whether --with-cms was given.
3926 if test "${with_cms+set}" = set; then :
3927 withval=$with_cms;
3931 # Check whether --with-coreaudio was given.
3932 if test "${with_coreaudio+set}" = set; then :
3933 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3937 # Check whether --with-cups was given.
3938 if test "${with_cups+set}" = set; then :
3939 withval=$with_cups;
3943 # Check whether --with-dbus was given.
3944 if test "${with_dbus+set}" = set; then :
3945 withval=$with_dbus;
3949 # Check whether --with-faudio was given.
3950 if test "${with_faudio+set}" = set; then :
3951 withval=$with_faudio;
3955 # Check whether --with-float-abi was given.
3956 if test "${with_float_abi+set}" = set; then :
3957 withval=$with_float_abi;
3961 # Check whether --with-fontconfig was given.
3962 if test "${with_fontconfig+set}" = set; then :
3963 withval=$with_fontconfig;
3967 # Check whether --with-freetype was given.
3968 if test "${with_freetype+set}" = set; then :
3969 withval=$with_freetype;
3973 # Check whether --with-gettext was given.
3974 if test "${with_gettext+set}" = set; then :
3975 withval=$with_gettext;
3979 # Check whether --with-gettextpo was given.
3980 if test "${with_gettextpo+set}" = set; then :
3981 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3985 # Check whether --with-gphoto was given.
3986 if test "${with_gphoto+set}" = set; then :
3987 withval=$with_gphoto;
3991 # Check whether --with-gnutls was given.
3992 if test "${with_gnutls+set}" = set; then :
3993 withval=$with_gnutls;
3997 # Check whether --with-gsm was given.
3998 if test "${with_gsm+set}" = set; then :
3999 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4003 # Check whether --with-gssapi was given.
4004 if test "${with_gssapi+set}" = set; then :
4005 withval=$with_gssapi;
4009 # Check whether --with-gstreamer was given.
4010 if test "${with_gstreamer+set}" = set; then :
4011 withval=$with_gstreamer;
4015 # Check whether --with-hal was given.
4016 if test "${with_hal+set}" = set; then :
4017 withval=$with_hal;
4021 # Check whether --with-inotify was given.
4022 if test "${with_inotify+set}" = set; then :
4023 withval=$with_inotify;
4027 # Check whether --with-jpeg was given.
4028 if test "${with_jpeg+set}" = set; then :
4029 withval=$with_jpeg;
4033 # Check whether --with-krb5 was given.
4034 if test "${with_krb5+set}" = set; then :
4035 withval=$with_krb5;
4039 # Check whether --with-ldap was given.
4040 if test "${with_ldap+set}" = set; then :
4041 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4045 # Check whether --with-mingw was given.
4046 if test "${with_mingw+set}" = set; then :
4047 withval=$with_mingw;
4051 # Check whether --with-mpg123 was given.
4052 if test "${with_mpg123+set}" = set; then :
4053 withval=$with_mpg123;
4057 # Check whether --with-netapi was given.
4058 if test "${with_netapi+set}" = set; then :
4059 withval=$with_netapi;
4063 # Check whether --with-openal was given.
4064 if test "${with_openal+set}" = set; then :
4065 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4069 # Check whether --with-opencl was given.
4070 if test "${with_opencl+set}" = set; then :
4071 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4075 # Check whether --with-opengl was given.
4076 if test "${with_opengl+set}" = set; then :
4077 withval=$with_opengl;
4081 # Check whether --with-osmesa was given.
4082 if test "${with_osmesa+set}" = set; then :
4083 withval=$with_osmesa;
4087 # Check whether --with-oss was given.
4088 if test "${with_oss+set}" = set; then :
4089 withval=$with_oss;
4093 # Check whether --with-pcap was given.
4094 if test "${with_pcap+set}" = set; then :
4095 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4099 # Check whether --with-png was given.
4100 if test "${with_png+set}" = set; then :
4101 withval=$with_png;
4105 # Check whether --with-pthread was given.
4106 if test "${with_pthread+set}" = set; then :
4107 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4111 # Check whether --with-pulse was given.
4112 if test "${with_pulse+set}" = set; then :
4113 withval=$with_pulse;
4117 # Check whether --with-quicktime was given.
4118 if test "${with_quicktime+set}" = set; then :
4119 withval=$with_quicktime;
4123 # Check whether --with-sane was given.
4124 if test "${with_sane+set}" = set; then :
4125 withval=$with_sane;
4129 # Check whether --with-sdl was given.
4130 if test "${with_sdl+set}" = set; then :
4131 withval=$with_sdl;
4135 # Check whether --with-tiff was given.
4136 if test "${with_tiff+set}" = set; then :
4137 withval=$with_tiff;
4141 # Check whether --with-udev was given.
4142 if test "${with_udev+set}" = set; then :
4143 withval=$with_udev;
4147 # Check whether --with-unwind was given.
4148 if test "${with_unwind+set}" = set; then :
4149 withval=$with_unwind;
4153 # Check whether --with-usb was given.
4154 if test "${with_usb+set}" = set; then :
4155 withval=$with_usb;
4159 # Check whether --with-v4l2 was given.
4160 if test "${with_v4l2+set}" = set; then :
4161 withval=$with_v4l2;
4165 # Check whether --with-vkd3d was given.
4166 if test "${with_vkd3d+set}" = set; then :
4167 withval=$with_vkd3d;
4171 # Check whether --with-vulkan was given.
4172 if test "${with_vulkan+set}" = set; then :
4173 withval=$with_vulkan;
4177 # Check whether --with-xcomposite was given.
4178 if test "${with_xcomposite+set}" = set; then :
4179 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4183 # Check whether --with-xcursor was given.
4184 if test "${with_xcursor+set}" = set; then :
4185 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4189 # Check whether --with-xfixes was given.
4190 if test "${with_xfixes+set}" = set; then :
4191 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4195 # Check whether --with-xinerama was given.
4196 if test "${with_xinerama+set}" = set; then :
4197 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4201 # Check whether --with-xinput was given.
4202 if test "${with_xinput+set}" = set; then :
4203 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4207 # Check whether --with-xinput2 was given.
4208 if test "${with_xinput2+set}" = set; then :
4209 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4213 # Check whether --with-xml was given.
4214 if test "${with_xml+set}" = set; then :
4215 withval=$with_xml;
4219 # Check whether --with-xrandr was given.
4220 if test "${with_xrandr+set}" = set; then :
4221 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4225 # Check whether --with-xrender was given.
4226 if test "${with_xrender+set}" = set; then :
4227 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4231 # Check whether --with-xshape was given.
4232 if test "${with_xshape+set}" = set; then :
4233 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4237 # Check whether --with-xshm was given.
4238 if test "${with_xshm+set}" = set; then :
4239 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4243 # Check whether --with-xslt was given.
4244 if test "${with_xslt+set}" = set; then :
4245 withval=$with_xslt;
4249 # Check whether --with-xxf86vm was given.
4250 if test "${with_xxf86vm+set}" = set; then :
4251 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4256 # Check whether --with-wine-tools was given.
4257 if test "${with_wine_tools+set}" = set; then :
4258 withval=$with_wine_tools;
4262 # Check whether --with-wine64 was given.
4263 if test "${with_wine64+set}" = set; then :
4264 withval=$with_wine64;
4268 # Make sure we can run config.sub.
4269 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4270 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4273 $as_echo_n "checking build system type... " >&6; }
4274 if ${ac_cv_build+:} false; then :
4275 $as_echo_n "(cached) " >&6
4276 else
4277 ac_build_alias=$build_alias
4278 test "x$ac_build_alias" = x &&
4279 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4280 test "x$ac_build_alias" = x &&
4281 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4282 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4283 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4287 $as_echo "$ac_cv_build" >&6; }
4288 case $ac_cv_build in
4289 *-*-*) ;;
4290 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4291 esac
4292 build=$ac_cv_build
4293 ac_save_IFS=$IFS; IFS='-'
4294 set x $ac_cv_build
4295 shift
4296 build_cpu=$1
4297 build_vendor=$2
4298 shift; shift
4299 # Remember, the first character of IFS is used to create $*,
4300 # except with old shells:
4301 build_os=$*
4302 IFS=$ac_save_IFS
4303 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4307 $as_echo_n "checking host system type... " >&6; }
4308 if ${ac_cv_host+:} false; then :
4309 $as_echo_n "(cached) " >&6
4310 else
4311 if test "x$host_alias" = x; then
4312 ac_cv_host=$ac_cv_build
4313 else
4314 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4315 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4320 $as_echo "$ac_cv_host" >&6; }
4321 case $ac_cv_host in
4322 *-*-*) ;;
4323 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4324 esac
4325 host=$ac_cv_host
4326 ac_save_IFS=$IFS; IFS='-'
4327 set x $ac_cv_host
4328 shift
4329 host_cpu=$1
4330 host_vendor=$2
4331 shift; shift
4332 # Remember, the first character of IFS is used to create $*,
4333 # except with old shells:
4334 host_os=$*
4335 IFS=$ac_save_IFS
4336 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4342 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4343 set x ${MAKE-make}
4344 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4345 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4346 $as_echo_n "(cached) " >&6
4347 else
4348 cat >conftest.make <<\_ACEOF
4349 SHELL = /bin/sh
4350 all:
4351 @echo '@@@%%%=$(MAKE)=@@@%%%'
4352 _ACEOF
4353 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4354 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4355 *@@@%%%=?*=@@@%%%*)
4356 eval ac_cv_prog_make_${ac_make}_set=yes;;
4358 eval ac_cv_prog_make_${ac_make}_set=no;;
4359 esac
4360 rm -f conftest.make
4362 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4364 $as_echo "yes" >&6; }
4365 SET_MAKE=
4366 else
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4369 SET_MAKE="MAKE=${MAKE-make}"
4372 ac_ext=c
4373 ac_cpp='$CPP $CPPFLAGS'
4374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4377 if test -n "$ac_tool_prefix"; then
4378 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4379 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4381 $as_echo_n "checking for $ac_word... " >&6; }
4382 if ${ac_cv_prog_CC+:} false; then :
4383 $as_echo_n "(cached) " >&6
4384 else
4385 if test -n "$CC"; then
4386 ac_cv_prog_CC="$CC" # Let the user override the test.
4387 else
4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 for as_dir in $PATH
4391 IFS=$as_save_IFS
4392 test -z "$as_dir" && as_dir=.
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4395 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 break 2
4399 done
4400 done
4401 IFS=$as_save_IFS
4405 CC=$ac_cv_prog_CC
4406 if test -n "$CC"; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4408 $as_echo "$CC" >&6; }
4409 else
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4411 $as_echo "no" >&6; }
4416 if test -z "$ac_cv_prog_CC"; then
4417 ac_ct_CC=$CC
4418 # Extract the first word of "gcc", so it can be a program name with args.
4419 set dummy gcc; ac_word=$2
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4421 $as_echo_n "checking for $ac_word... " >&6; }
4422 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424 else
4425 if test -n "$ac_ct_CC"; then
4426 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4427 else
4428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429 for as_dir in $PATH
4431 IFS=$as_save_IFS
4432 test -z "$as_dir" && as_dir=.
4433 for ac_exec_ext in '' $ac_executable_extensions; do
4434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4435 ac_cv_prog_ac_ct_CC="gcc"
4436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4437 break 2
4439 done
4440 done
4441 IFS=$as_save_IFS
4445 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4446 if test -n "$ac_ct_CC"; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4448 $as_echo "$ac_ct_CC" >&6; }
4449 else
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451 $as_echo "no" >&6; }
4454 if test "x$ac_ct_CC" = x; then
4455 CC=""
4456 else
4457 case $cross_compiling:$ac_tool_warned in
4458 yes:)
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4461 ac_tool_warned=yes ;;
4462 esac
4463 CC=$ac_ct_CC
4465 else
4466 CC="$ac_cv_prog_CC"
4469 if test -z "$CC"; then
4470 if test -n "$ac_tool_prefix"; then
4471 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4472 set dummy ${ac_tool_prefix}cc; ac_word=$2
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4474 $as_echo_n "checking for $ac_word... " >&6; }
4475 if ${ac_cv_prog_CC+:} false; then :
4476 $as_echo_n "(cached) " >&6
4477 else
4478 if test -n "$CC"; then
4479 ac_cv_prog_CC="$CC" # Let the user override the test.
4480 else
4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482 for as_dir in $PATH
4484 IFS=$as_save_IFS
4485 test -z "$as_dir" && as_dir=.
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4488 ac_cv_prog_CC="${ac_tool_prefix}cc"
4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 break 2
4492 done
4493 done
4494 IFS=$as_save_IFS
4498 CC=$ac_cv_prog_CC
4499 if test -n "$CC"; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4501 $as_echo "$CC" >&6; }
4502 else
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4504 $as_echo "no" >&6; }
4510 if test -z "$CC"; then
4511 # Extract the first word of "cc", so it can be a program name with args.
4512 set dummy cc; ac_word=$2
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4514 $as_echo_n "checking for $ac_word... " >&6; }
4515 if ${ac_cv_prog_CC+:} false; then :
4516 $as_echo_n "(cached) " >&6
4517 else
4518 if test -n "$CC"; then
4519 ac_cv_prog_CC="$CC" # Let the user override the test.
4520 else
4521 ac_prog_rejected=no
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 for as_dir in $PATH
4525 IFS=$as_save_IFS
4526 test -z "$as_dir" && as_dir=.
4527 for ac_exec_ext in '' $ac_executable_extensions; do
4528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4529 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4530 ac_prog_rejected=yes
4531 continue
4533 ac_cv_prog_CC="cc"
4534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4535 break 2
4537 done
4538 done
4539 IFS=$as_save_IFS
4541 if test $ac_prog_rejected = yes; then
4542 # We found a bogon in the path, so make sure we never use it.
4543 set dummy $ac_cv_prog_CC
4544 shift
4545 if test $# != 0; then
4546 # We chose a different compiler from the bogus one.
4547 # However, it has the same basename, so the bogon will be chosen
4548 # first if we set CC to just the basename; use the full file name.
4549 shift
4550 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4555 CC=$ac_cv_prog_CC
4556 if test -n "$CC"; then
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4558 $as_echo "$CC" >&6; }
4559 else
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561 $as_echo "no" >&6; }
4566 if test -z "$CC"; then
4567 if test -n "$ac_tool_prefix"; then
4568 for ac_prog in cl.exe
4570 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4571 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if ${ac_cv_prog_CC+:} false; then :
4575 $as_echo_n "(cached) " >&6
4576 else
4577 if test -n "$CC"; then
4578 ac_cv_prog_CC="$CC" # Let the user override the test.
4579 else
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 for as_dir in $PATH
4583 IFS=$as_save_IFS
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4587 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 break 2
4591 done
4592 done
4593 IFS=$as_save_IFS
4597 CC=$ac_cv_prog_CC
4598 if test -n "$CC"; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4600 $as_echo "$CC" >&6; }
4601 else
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4607 test -n "$CC" && break
4608 done
4610 if test -z "$CC"; then
4611 ac_ct_CC=$CC
4612 for ac_prog in cl.exe
4614 # Extract the first word of "$ac_prog", so it can be a program name with args.
4615 set dummy $ac_prog; ac_word=$2
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4619 $as_echo_n "(cached) " >&6
4620 else
4621 if test -n "$ac_ct_CC"; then
4622 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4623 else
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH
4627 IFS=$as_save_IFS
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4631 ac_cv_prog_ac_ct_CC="$ac_prog"
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 break 2
4635 done
4636 done
4637 IFS=$as_save_IFS
4641 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4642 if test -n "$ac_ct_CC"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4644 $as_echo "$ac_ct_CC" >&6; }
4645 else
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4651 test -n "$ac_ct_CC" && break
4652 done
4654 if test "x$ac_ct_CC" = x; then
4655 CC=""
4656 else
4657 case $cross_compiling:$ac_tool_warned in
4658 yes:)
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4661 ac_tool_warned=yes ;;
4662 esac
4663 CC=$ac_ct_CC
4670 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4672 as_fn_error $? "no acceptable C compiler found in \$PATH
4673 See \`config.log' for more details" "$LINENO" 5; }
4675 # Provide some information about the compiler.
4676 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4677 set X $ac_compile
4678 ac_compiler=$2
4679 for ac_option in --version -v -V -qversion; do
4680 { { ac_try="$ac_compiler $ac_option >&5"
4681 case "(($ac_try" in
4682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4683 *) ac_try_echo=$ac_try;;
4684 esac
4685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4686 $as_echo "$ac_try_echo"; } >&5
4687 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4688 ac_status=$?
4689 if test -s conftest.err; then
4690 sed '10a\
4691 ... rest of stderr output deleted ...
4692 10q' conftest.err >conftest.er1
4693 cat conftest.er1 >&5
4695 rm -f conftest.er1 conftest.err
4696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4697 test $ac_status = 0; }
4698 done
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4704 main ()
4708 return 0;
4710 _ACEOF
4711 ac_clean_files_save=$ac_clean_files
4712 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4713 # Try to create an executable without -o first, disregard a.out.
4714 # It will help us diagnose broken compilers, and finding out an intuition
4715 # of exeext.
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4717 $as_echo_n "checking whether the C compiler works... " >&6; }
4718 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4720 # The possible output files:
4721 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4723 ac_rmfiles=
4724 for ac_file in $ac_files
4726 case $ac_file in
4727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4728 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4729 esac
4730 done
4731 rm -f $ac_rmfiles
4733 if { { ac_try="$ac_link_default"
4734 case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4737 esac
4738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4739 $as_echo "$ac_try_echo"; } >&5
4740 (eval "$ac_link_default") 2>&5
4741 ac_status=$?
4742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4743 test $ac_status = 0; }; then :
4744 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4745 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4746 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4747 # so that the user can short-circuit this test for compilers unknown to
4748 # Autoconf.
4749 for ac_file in $ac_files ''
4751 test -f "$ac_file" || continue
4752 case $ac_file in
4753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4755 [ab].out )
4756 # We found the default executable, but exeext='' is most
4757 # certainly right.
4758 break;;
4759 *.* )
4760 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4761 then :; else
4762 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4764 # We set ac_cv_exeext here because the later test for it is not
4765 # safe: cross compilers may not add the suffix if given an `-o'
4766 # argument, so we may need to know it at that point already.
4767 # Even if this section looks crufty: it has the advantage of
4768 # actually working.
4769 break;;
4771 break;;
4772 esac
4773 done
4774 test "$ac_cv_exeext" = no && ac_cv_exeext=
4776 else
4777 ac_file=''
4779 if test -z "$ac_file"; then :
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4782 $as_echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.$ac_ext >&5
4785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4787 as_fn_error 77 "C compiler cannot create executables
4788 See \`config.log' for more details" "$LINENO" 5; }
4789 else
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4791 $as_echo "yes" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4794 $as_echo_n "checking for C compiler default output file name... " >&6; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4796 $as_echo "$ac_file" >&6; }
4797 ac_exeext=$ac_cv_exeext
4799 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4800 ac_clean_files=$ac_clean_files_save
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4802 $as_echo_n "checking for suffix of executables... " >&6; }
4803 if { { ac_try="$ac_link"
4804 case "(($ac_try" in
4805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4806 *) ac_try_echo=$ac_try;;
4807 esac
4808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4809 $as_echo "$ac_try_echo"; } >&5
4810 (eval "$ac_link") 2>&5
4811 ac_status=$?
4812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4813 test $ac_status = 0; }; then :
4814 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4815 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4816 # work properly (i.e., refer to `conftest.exe'), while it won't with
4817 # `rm'.
4818 for ac_file in conftest.exe conftest conftest.*; do
4819 test -f "$ac_file" || continue
4820 case $ac_file in
4821 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4822 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4823 break;;
4824 * ) break;;
4825 esac
4826 done
4827 else
4828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4830 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4831 See \`config.log' for more details" "$LINENO" 5; }
4833 rm -f conftest conftest$ac_cv_exeext
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4835 $as_echo "$ac_cv_exeext" >&6; }
4837 rm -f conftest.$ac_ext
4838 EXEEXT=$ac_cv_exeext
4839 ac_exeext=$EXEEXT
4840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4841 /* end confdefs.h. */
4842 #include <stdio.h>
4844 main ()
4846 FILE *f = fopen ("conftest.out", "w");
4847 return ferror (f) || fclose (f) != 0;
4850 return 0;
4852 _ACEOF
4853 ac_clean_files="$ac_clean_files conftest.out"
4854 # Check that the compiler produces executables we can run. If not, either
4855 # the compiler is broken, or we cross compile.
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4857 $as_echo_n "checking whether we are cross compiling... " >&6; }
4858 if test "$cross_compiling" != yes; then
4859 { { ac_try="$ac_link"
4860 case "(($ac_try" in
4861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862 *) ac_try_echo=$ac_try;;
4863 esac
4864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4865 $as_echo "$ac_try_echo"; } >&5
4866 (eval "$ac_link") 2>&5
4867 ac_status=$?
4868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4869 test $ac_status = 0; }
4870 if { ac_try='./conftest$ac_cv_exeext'
4871 { { case "(($ac_try" in
4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4873 *) ac_try_echo=$ac_try;;
4874 esac
4875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4876 $as_echo "$ac_try_echo"; } >&5
4877 (eval "$ac_try") 2>&5
4878 ac_status=$?
4879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4880 test $ac_status = 0; }; }; then
4881 cross_compiling=no
4882 else
4883 if test "$cross_compiling" = maybe; then
4884 cross_compiling=yes
4885 else
4886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4888 as_fn_error $? "cannot run C compiled programs.
4889 If you meant to cross compile, use \`--host'.
4890 See \`config.log' for more details" "$LINENO" 5; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4895 $as_echo "$cross_compiling" >&6; }
4897 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4898 ac_clean_files=$ac_clean_files_save
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4900 $as_echo_n "checking for suffix of object files... " >&6; }
4901 if ${ac_cv_objext+:} false; then :
4902 $as_echo_n "(cached) " >&6
4903 else
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4908 main ()
4912 return 0;
4914 _ACEOF
4915 rm -f conftest.o conftest.obj
4916 if { { ac_try="$ac_compile"
4917 case "(($ac_try" in
4918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919 *) ac_try_echo=$ac_try;;
4920 esac
4921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4922 $as_echo "$ac_try_echo"; } >&5
4923 (eval "$ac_compile") 2>&5
4924 ac_status=$?
4925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4926 test $ac_status = 0; }; then :
4927 for ac_file in conftest.o conftest.obj conftest.*; do
4928 test -f "$ac_file" || continue;
4929 case $ac_file in
4930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4931 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4932 break;;
4933 esac
4934 done
4935 else
4936 $as_echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.$ac_ext >&5
4939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4941 as_fn_error $? "cannot compute suffix of object files: cannot compile
4942 See \`config.log' for more details" "$LINENO" 5; }
4944 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4947 $as_echo "$ac_cv_objext" >&6; }
4948 OBJEXT=$ac_cv_objext
4949 ac_objext=$OBJEXT
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4951 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4952 if ${ac_cv_c_compiler_gnu+:} false; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4959 main ()
4961 #ifndef __GNUC__
4962 choke me
4963 #endif
4966 return 0;
4968 _ACEOF
4969 if ac_fn_c_try_compile "$LINENO"; then :
4970 ac_compiler_gnu=yes
4971 else
4972 ac_compiler_gnu=no
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4979 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4980 if test $ac_compiler_gnu = yes; then
4981 GCC=yes
4982 else
4983 GCC=
4985 ac_test_CFLAGS=${CFLAGS+set}
4986 ac_save_CFLAGS=$CFLAGS
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4988 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4989 if ${ac_cv_prog_cc_g+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 ac_save_c_werror_flag=$ac_c_werror_flag
4993 ac_c_werror_flag=yes
4994 ac_cv_prog_cc_g=no
4995 CFLAGS="-g"
4996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4997 /* end confdefs.h. */
5000 main ()
5004 return 0;
5006 _ACEOF
5007 if ac_fn_c_try_compile "$LINENO"; then :
5008 ac_cv_prog_cc_g=yes
5009 else
5010 CFLAGS=""
5011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5015 main ()
5019 return 0;
5021 _ACEOF
5022 if ac_fn_c_try_compile "$LINENO"; then :
5024 else
5025 ac_c_werror_flag=$ac_save_c_werror_flag
5026 CFLAGS="-g"
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5031 main ()
5035 return 0;
5037 _ACEOF
5038 if ac_fn_c_try_compile "$LINENO"; then :
5039 ac_cv_prog_cc_g=yes
5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 ac_c_werror_flag=$ac_save_c_werror_flag
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5049 $as_echo "$ac_cv_prog_cc_g" >&6; }
5050 if test "$ac_test_CFLAGS" = set; then
5051 CFLAGS=$ac_save_CFLAGS
5052 elif test $ac_cv_prog_cc_g = yes; then
5053 if test "$GCC" = yes; then
5054 CFLAGS="-g -O2"
5055 else
5056 CFLAGS="-g"
5058 else
5059 if test "$GCC" = yes; then
5060 CFLAGS="-O2"
5061 else
5062 CFLAGS=
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5066 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5067 if ${ac_cv_prog_cc_c89+:} false; then :
5068 $as_echo_n "(cached) " >&6
5069 else
5070 ac_cv_prog_cc_c89=no
5071 ac_save_CC=$CC
5072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* end confdefs.h. */
5074 #include <stdarg.h>
5075 #include <stdio.h>
5076 struct stat;
5077 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5078 struct buf { int x; };
5079 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5080 static char *e (p, i)
5081 char **p;
5082 int i;
5084 return p[i];
5086 static char *f (char * (*g) (char **, int), char **p, ...)
5088 char *s;
5089 va_list v;
5090 va_start (v,p);
5091 s = g (p, va_arg (v,int));
5092 va_end (v);
5093 return s;
5096 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5097 function prototypes and stuff, but not '\xHH' hex character constants.
5098 These don't provoke an error unfortunately, instead are silently treated
5099 as 'x'. The following induces an error, until -std is added to get
5100 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5101 array size at least. It's necessary to write '\x00'==0 to get something
5102 that's true only with -std. */
5103 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5105 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5106 inside strings and character constants. */
5107 #define FOO(x) 'x'
5108 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5110 int test (int i, double x);
5111 struct s1 {int (*f) (int a);};
5112 struct s2 {int (*f) (double a);};
5113 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5114 int argc;
5115 char **argv;
5117 main ()
5119 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5121 return 0;
5123 _ACEOF
5124 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5125 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5127 CC="$ac_save_CC $ac_arg"
5128 if ac_fn_c_try_compile "$LINENO"; then :
5129 ac_cv_prog_cc_c89=$ac_arg
5131 rm -f core conftest.err conftest.$ac_objext
5132 test "x$ac_cv_prog_cc_c89" != "xno" && break
5133 done
5134 rm -f conftest.$ac_ext
5135 CC=$ac_save_CC
5138 # AC_CACHE_VAL
5139 case "x$ac_cv_prog_cc_c89" in
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5142 $as_echo "none needed" >&6; } ;;
5143 xno)
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5145 $as_echo "unsupported" >&6; } ;;
5147 CC="$CC $ac_cv_prog_cc_c89"
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5149 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5150 esac
5151 if test "x$ac_cv_prog_cc_c89" != xno; then :
5155 ac_ext=c
5156 ac_cpp='$CPP $CPPFLAGS'
5157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5161 ac_ext=cpp
5162 ac_cpp='$CXXCPP $CPPFLAGS'
5163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5166 if test -z "$CXX"; then
5167 if test -n "$CCC"; then
5168 CXX=$CCC
5169 else
5170 if test -n "$ac_tool_prefix"; then
5171 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5173 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5174 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_CXX+:} false; then :
5178 $as_echo_n "(cached) " >&6
5179 else
5180 if test -n "$CXX"; then
5181 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5182 else
5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 for as_dir in $PATH
5186 IFS=$as_save_IFS
5187 test -z "$as_dir" && as_dir=.
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 break 2
5194 done
5195 done
5196 IFS=$as_save_IFS
5200 CXX=$ac_cv_prog_CXX
5201 if test -n "$CXX"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5203 $as_echo "$CXX" >&6; }
5204 else
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5210 test -n "$CXX" && break
5211 done
5213 if test -z "$CXX"; then
5214 ac_ct_CXX=$CXX
5215 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5217 # Extract the first word of "$ac_prog", so it can be a program name with args.
5218 set dummy $ac_prog; ac_word=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5222 $as_echo_n "(cached) " >&6
5223 else
5224 if test -n "$ac_ct_CXX"; then
5225 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5226 else
5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 for as_dir in $PATH
5230 IFS=$as_save_IFS
5231 test -z "$as_dir" && as_dir=.
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_ac_ct_CXX="$ac_prog"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 break 2
5238 done
5239 done
5240 IFS=$as_save_IFS
5244 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5245 if test -n "$ac_ct_CXX"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5247 $as_echo "$ac_ct_CXX" >&6; }
5248 else
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5254 test -n "$ac_ct_CXX" && break
5255 done
5257 if test "x$ac_ct_CXX" = x; then
5258 CXX="g++"
5259 else
5260 case $cross_compiling:$ac_tool_warned in
5261 yes:)
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5264 ac_tool_warned=yes ;;
5265 esac
5266 CXX=$ac_ct_CXX
5272 # Provide some information about the compiler.
5273 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5274 set X $ac_compile
5275 ac_compiler=$2
5276 for ac_option in --version -v -V -qversion; do
5277 { { ac_try="$ac_compiler $ac_option >&5"
5278 case "(($ac_try" in
5279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5280 *) ac_try_echo=$ac_try;;
5281 esac
5282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5283 $as_echo "$ac_try_echo"; } >&5
5284 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5285 ac_status=$?
5286 if test -s conftest.err; then
5287 sed '10a\
5288 ... rest of stderr output deleted ...
5289 10q' conftest.err >conftest.er1
5290 cat conftest.er1 >&5
5292 rm -f conftest.er1 conftest.err
5293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5294 test $ac_status = 0; }
5295 done
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5298 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5299 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5300 $as_echo_n "(cached) " >&6
5301 else
5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5306 main ()
5308 #ifndef __GNUC__
5309 choke me
5310 #endif
5313 return 0;
5315 _ACEOF
5316 if ac_fn_cxx_try_compile "$LINENO"; then :
5317 ac_compiler_gnu=yes
5318 else
5319 ac_compiler_gnu=no
5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5322 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5326 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5327 if test $ac_compiler_gnu = yes; then
5328 GXX=yes
5329 else
5330 GXX=
5332 ac_test_CXXFLAGS=${CXXFLAGS+set}
5333 ac_save_CXXFLAGS=$CXXFLAGS
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5335 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5336 if ${ac_cv_prog_cxx_g+:} false; then :
5337 $as_echo_n "(cached) " >&6
5338 else
5339 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5340 ac_cxx_werror_flag=yes
5341 ac_cv_prog_cxx_g=no
5342 CXXFLAGS="-g"
5343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5344 /* end confdefs.h. */
5347 main ()
5351 return 0;
5353 _ACEOF
5354 if ac_fn_cxx_try_compile "$LINENO"; then :
5355 ac_cv_prog_cxx_g=yes
5356 else
5357 CXXFLAGS=""
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5362 main ()
5366 return 0;
5368 _ACEOF
5369 if ac_fn_cxx_try_compile "$LINENO"; then :
5371 else
5372 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5373 CXXFLAGS="-g"
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5378 main ()
5382 return 0;
5384 _ACEOF
5385 if ac_fn_cxx_try_compile "$LINENO"; then :
5386 ac_cv_prog_cxx_g=yes
5388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5393 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5396 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5397 if test "$ac_test_CXXFLAGS" = set; then
5398 CXXFLAGS=$ac_save_CXXFLAGS
5399 elif test $ac_cv_prog_cxx_g = yes; then
5400 if test "$GXX" = yes; then
5401 CXXFLAGS="-g -O2"
5402 else
5403 CXXFLAGS="-g"
5405 else
5406 if test "$GXX" = yes; then
5407 CXXFLAGS="-O2"
5408 else
5409 CXXFLAGS=
5412 ac_ext=c
5413 ac_cpp='$CPP $CPPFLAGS'
5414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5418 if test -n "$ac_tool_prefix"; then
5419 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5420 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if ${ac_cv_prog_CPPBIN+:} false; then :
5424 $as_echo_n "(cached) " >&6
5425 else
5426 if test -n "$CPPBIN"; then
5427 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5428 else
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5446 CPPBIN=$ac_cv_prog_CPPBIN
5447 if test -n "$CPPBIN"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5449 $as_echo "$CPPBIN" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5457 if test -z "$ac_cv_prog_CPPBIN"; then
5458 ac_ct_CPPBIN=$CPPBIN
5459 # Extract the first word of "cpp", so it can be a program name with args.
5460 set dummy cpp; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 if test -n "$ac_ct_CPPBIN"; then
5467 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5468 else
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH
5472 IFS=$as_save_IFS
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_ac_ct_CPPBIN="cpp"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 break 2
5480 done
5481 done
5482 IFS=$as_save_IFS
5486 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5487 if test -n "$ac_ct_CPPBIN"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5489 $as_echo "$ac_ct_CPPBIN" >&6; }
5490 else
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5495 if test "x$ac_ct_CPPBIN" = x; then
5496 CPPBIN="cpp"
5497 else
5498 case $cross_compiling:$ac_tool_warned in
5499 yes:)
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502 ac_tool_warned=yes ;;
5503 esac
5504 CPPBIN=$ac_ct_CPPBIN
5506 else
5507 CPPBIN="$ac_cv_prog_CPPBIN"
5511 cat >>confdefs.h <<_ACEOF
5512 #define EXEEXT "$ac_exeext"
5513 _ACEOF
5515 if test -n "$ac_tool_prefix"; then
5516 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5517 set dummy ${ac_tool_prefix}ld; ac_word=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if ${ac_cv_prog_LD+:} false; then :
5521 $as_echo_n "(cached) " >&6
5522 else
5523 if test -n "$LD"; then
5524 ac_cv_prog_LD="$LD" # Let the user override the test.
5525 else
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 for as_dir in $PATH
5529 IFS=$as_save_IFS
5530 test -z "$as_dir" && as_dir=.
5531 for ac_exec_ext in '' $ac_executable_extensions; do
5532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5533 ac_cv_prog_LD="${ac_tool_prefix}ld"
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 break 2
5537 done
5538 done
5539 IFS=$as_save_IFS
5543 LD=$ac_cv_prog_LD
5544 if test -n "$LD"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5546 $as_echo "$LD" >&6; }
5547 else
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5554 if test -z "$ac_cv_prog_LD"; then
5555 ac_ct_LD=$LD
5556 # Extract the first word of "ld", so it can be a program name with args.
5557 set dummy ld; ac_word=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5561 $as_echo_n "(cached) " >&6
5562 else
5563 if test -n "$ac_ct_LD"; then
5564 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5565 else
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 for as_dir in $PATH
5569 IFS=$as_save_IFS
5570 test -z "$as_dir" && as_dir=.
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_prog_ac_ct_LD="ld"
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 break 2
5577 done
5578 done
5579 IFS=$as_save_IFS
5583 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5584 if test -n "$ac_ct_LD"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5586 $as_echo "$ac_ct_LD" >&6; }
5587 else
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5592 if test "x$ac_ct_LD" = x; then
5593 LD=""
5594 else
5595 case $cross_compiling:$ac_tool_warned in
5596 yes:)
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5599 ac_tool_warned=yes ;;
5600 esac
5601 LD=$ac_ct_LD
5603 else
5604 LD="$ac_cv_prog_LD"
5608 case $host in
5609 *-darwin*)
5610 with_fontconfig=${with_fontconfig:-no}
5612 *-mingw32*|*-cygwin*)
5613 enable_win16=${enable_win16:-no}
5614 with_mingw=${with_mingw:-no}
5615 CFLAGS="$CFLAGS -D_WIN32"
5617 esac
5619 case $host in
5620 x86_64*|amd64*)
5621 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5622 then
5623 CC="$CC -m32"
5624 CXX="$CXX -m32"
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5627 $as_echo_n "checking whether $CC works... " >&6; }
5628 if ${wine_cv_cc_m32+:} false; then :
5629 $as_echo_n "(cached) " >&6
5630 else
5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5635 main ()
5639 return 0;
5641 _ACEOF
5642 if ac_fn_c_try_link "$LINENO"; then :
5643 wine_cv_cc_m32=yes
5644 else
5645 wine_cv_cc_m32=no
5647 rm -f core conftest.err conftest.$ac_objext \
5648 conftest$ac_exeext conftest.$ac_ext
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5651 $as_echo "$wine_cv_cc_m32" >&6; }
5652 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5653 host_cpu="i386"
5654 notice_platform="32-bit "
5655 TARGETFLAGS="-m32"
5657 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5658 export PKG_CONFIG_PATH
5659 enable_win16=${enable_win16:-yes}
5660 with_unwind=${with_unwind:-no}
5661 else
5662 if test "x${GCC}" = "xyes"
5663 then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5665 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5666 if ${wine_cv_builtin_ms_va_list+:} false; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5671 #include <stdarg.h>
5673 main ()
5675 void func(__builtin_ms_va_list *args);
5677 return 0;
5679 _ACEOF
5680 if ac_fn_c_try_compile "$LINENO"; then :
5681 wine_cv_builtin_ms_va_list=yes
5682 else
5683 wine_cv_builtin_ms_va_list=no
5685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5688 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5689 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5691 CC="$CC -m64"
5692 CXX="$CXX -m64"
5693 host_cpu="x86_64"
5694 notice_platform="64-bit "
5695 TARGETFLAGS="-m64"
5699 arm*)
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5701 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5702 if ${wine_cv_thumb+:} false; then :
5703 $as_echo_n "(cached) " >&6
5704 else
5705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5706 /* end confdefs.h. */
5707 int ac_test(int i) { return i; }
5709 main ()
5711 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5713 return 0;
5715 _ACEOF
5716 if ac_fn_c_try_link "$LINENO"; then :
5717 wine_cv_thumb=yes
5718 else
5719 wine_cv_thumb=no
5721 rm -f core conftest.err conftest.$ac_objext \
5722 conftest$ac_exeext conftest.$ac_ext
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5725 $as_echo "$wine_cv_thumb" >&6; }
5726 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5727 case $with_float_abi in
5728 soft|softfp|hard)
5729 float_abi=$with_float_abi ;;
5731 case $host_os in
5732 *eabihf)
5733 float_abi=hard ;;
5735 float_abi=softfp
5736 saved_CFLAGS=$CFLAGS
5737 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5739 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5740 if ${wine_cv_float_abi+:} false; then :
5741 $as_echo_n "(cached) " >&6
5742 else
5743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5744 /* end confdefs.h. */
5747 main ()
5749 asm("vmrs r2,fpscr");
5751 return 0;
5753 _ACEOF
5754 if ac_fn_c_try_link "$LINENO"; then :
5755 wine_cv_float_abi=yes
5756 else
5757 wine_cv_float_abi=no
5759 rm -f core conftest.err conftest.$ac_objext \
5760 conftest$ac_exeext conftest.$ac_ext
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5763 $as_echo "$wine_cv_float_abi" >&6; }
5764 if test $wine_cv_float_abi = no
5765 then
5766 float_abi=soft
5767 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5769 CFLAGS=$saved_CFLAGS
5770 esac
5772 esac
5773 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5774 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5777 aarch64*)
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5779 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5780 if ${wine_cv_builtin_ms_va_list+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5784 /* end confdefs.h. */
5785 #include <stdarg.h>
5787 main ()
5789 void func(__builtin_ms_va_list *args);
5791 return 0;
5793 _ACEOF
5794 if ac_fn_c_try_compile "$LINENO"; then :
5795 wine_cv_builtin_ms_va_list=yes
5796 else
5797 wine_cv_builtin_ms_va_list=no
5799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5802 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5803 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5805 i[3456789]86*)
5806 enable_win16=${enable_win16:-yes}
5807 with_unwind=${with_unwind:-no}
5809 esac
5811 enable_win16=${enable_win16:-no}
5812 enable_win64=${enable_win64:-no}
5814 enable_winetest=${enable_winetest:-$enable_tests}
5816 if test "x$enable_win64" = "xyes"
5817 then
5818 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5819 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5820 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5824 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5825 if ${wine_cv_toolsdir+:} false; then :
5826 $as_echo_n "(cached) " >&6
5827 else
5828 wine_cv_toolsdir="$with_wine_tools"
5829 if test -z "$with_wine_tools"; then
5830 if test "$cross_compiling" = "yes"; then
5831 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5832 elif test -n "$with_wine64"; then
5833 wine_cv_toolsdir="$with_wine64"
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5838 $as_echo "$wine_cv_toolsdir" >&6; }
5839 if test -z "$wine_cv_toolsdir"; then
5840 wine_makedep=tools/makedep
5841 TOOLSDIR="."
5843 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5844 wine_makedep=$wine_cv_toolsdir/tools/makedep
5845 TOOLSDIR=$wine_cv_toolsdir
5847 enable_tools=${enable_tools:-no}
5848 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5849 else
5850 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5852 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5853 then
5854 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5858 for ac_prog in flex
5860 # Extract the first word of "$ac_prog", so it can be a program name with args.
5861 set dummy $ac_prog; ac_word=$2
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863 $as_echo_n "checking for $ac_word... " >&6; }
5864 if ${ac_cv_prog_FLEX+:} false; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 if test -n "$FLEX"; then
5868 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5869 else
5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5871 for as_dir in $PATH
5873 IFS=$as_save_IFS
5874 test -z "$as_dir" && as_dir=.
5875 for ac_exec_ext in '' $ac_executable_extensions; do
5876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5877 ac_cv_prog_FLEX="$ac_prog"
5878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 break 2
5881 done
5882 done
5883 IFS=$as_save_IFS
5887 FLEX=$ac_cv_prog_FLEX
5888 if test -n "$FLEX"; then
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5890 $as_echo "$FLEX" >&6; }
5891 else
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893 $as_echo "no" >&6; }
5897 test -n "$FLEX" && break
5898 done
5899 test -n "$FLEX" || FLEX="none"
5901 if test "$FLEX" = "none"
5902 then
5903 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5906 $as_echo_n "checking whether flex is recent enough... " >&6; }
5907 if ${wine_cv_recent_flex+:} false; then :
5908 $as_echo_n "(cached) " >&6
5909 else
5910 cat >conftest.l <<EOF
5911 %top{
5912 #include "prediluvian.h"
5916 if $FLEX -t conftest.l >/dev/null 2>&5
5917 then
5918 wine_cv_recent_flex=yes
5919 else
5920 wine_cv_recent_flex=no
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5924 $as_echo "$wine_cv_recent_flex" >&6; }
5925 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5927 for ac_prog in bison
5929 # Extract the first word of "$ac_prog", so it can be a program name with args.
5930 set dummy $ac_prog; ac_word=$2
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5932 $as_echo_n "checking for $ac_word... " >&6; }
5933 if ${ac_cv_prog_BISON+:} false; then :
5934 $as_echo_n "(cached) " >&6
5935 else
5936 if test -n "$BISON"; then
5937 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5938 else
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 for as_dir in $PATH
5942 IFS=$as_save_IFS
5943 test -z "$as_dir" && as_dir=.
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5946 ac_cv_prog_BISON="$ac_prog"
5947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5948 break 2
5950 done
5951 done
5952 IFS=$as_save_IFS
5956 BISON=$ac_cv_prog_BISON
5957 if test -n "$BISON"; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5959 $as_echo "$BISON" >&6; }
5960 else
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5962 $as_echo "no" >&6; }
5966 test -n "$BISON" && break
5967 done
5968 test -n "$BISON" || BISON="none"
5970 if test "$BISON" = "none"
5971 then
5972 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5975 $as_echo_n "checking whether bison is recent enough... " >&6; }
5976 if ${wine_cv_recent_bison+:} false; then :
5977 $as_echo_n "(cached) " >&6
5978 else
5979 cat >conftest.y <<EOF
5980 %define parse.error verbose
5982 empty: ;
5984 if $BISON conftest.y >/dev/null 2>&5
5985 then
5986 wine_cv_recent_bison=yes
5987 else
5988 wine_cv_recent_bison=no
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5992 $as_echo "$wine_cv_recent_bison" >&6; }
5993 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
5995 if test -n "$ac_tool_prefix"; then
5996 for ac_prog in ar gar
5998 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5999 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 $as_echo_n "checking for $ac_word... " >&6; }
6002 if ${ac_cv_prog_AR+:} false; then :
6003 $as_echo_n "(cached) " >&6
6004 else
6005 if test -n "$AR"; then
6006 ac_cv_prog_AR="$AR" # Let the user override the test.
6007 else
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH
6011 IFS=$as_save_IFS
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6015 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 break 2
6019 done
6020 done
6021 IFS=$as_save_IFS
6025 AR=$ac_cv_prog_AR
6026 if test -n "$AR"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6028 $as_echo "$AR" >&6; }
6029 else
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6035 test -n "$AR" && break
6036 done
6038 if test -z "$AR"; then
6039 ac_ct_AR=$AR
6040 for ac_prog in ar gar
6042 # Extract the first word of "$ac_prog", so it can be a program name with args.
6043 set dummy $ac_prog; ac_word=$2
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6045 $as_echo_n "checking for $ac_word... " >&6; }
6046 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6047 $as_echo_n "(cached) " >&6
6048 else
6049 if test -n "$ac_ct_AR"; then
6050 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6051 else
6052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053 for as_dir in $PATH
6055 IFS=$as_save_IFS
6056 test -z "$as_dir" && as_dir=.
6057 for ac_exec_ext in '' $ac_executable_extensions; do
6058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6059 ac_cv_prog_ac_ct_AR="$ac_prog"
6060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061 break 2
6063 done
6064 done
6065 IFS=$as_save_IFS
6069 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6070 if test -n "$ac_ct_AR"; then
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6072 $as_echo "$ac_ct_AR" >&6; }
6073 else
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6075 $as_echo "no" >&6; }
6079 test -n "$ac_ct_AR" && break
6080 done
6082 if test "x$ac_ct_AR" = x; then
6083 AR="ar"
6084 else
6085 case $cross_compiling:$ac_tool_warned in
6086 yes:)
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6089 ac_tool_warned=yes ;;
6090 esac
6091 AR=$ac_ct_AR
6095 if test -n "$ac_tool_prefix"; then
6096 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6097 set dummy ${ac_tool_prefix}strip; ac_word=$2
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 $as_echo_n "checking for $ac_word... " >&6; }
6100 if ${ac_cv_prog_STRIP+:} false; then :
6101 $as_echo_n "(cached) " >&6
6102 else
6103 if test -n "$STRIP"; then
6104 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6105 else
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 for as_dir in $PATH
6109 IFS=$as_save_IFS
6110 test -z "$as_dir" && as_dir=.
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 break 2
6117 done
6118 done
6119 IFS=$as_save_IFS
6123 STRIP=$ac_cv_prog_STRIP
6124 if test -n "$STRIP"; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6126 $as_echo "$STRIP" >&6; }
6127 else
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 $as_echo "no" >&6; }
6134 if test -z "$ac_cv_prog_STRIP"; then
6135 ac_ct_STRIP=$STRIP
6136 # Extract the first word of "strip", so it can be a program name with args.
6137 set dummy strip; ac_word=$2
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6139 $as_echo_n "checking for $ac_word... " >&6; }
6140 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6141 $as_echo_n "(cached) " >&6
6142 else
6143 if test -n "$ac_ct_STRIP"; then
6144 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6145 else
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 for as_dir in $PATH
6149 IFS=$as_save_IFS
6150 test -z "$as_dir" && as_dir=.
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6153 ac_cv_prog_ac_ct_STRIP="strip"
6154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6155 break 2
6157 done
6158 done
6159 IFS=$as_save_IFS
6163 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6164 if test -n "$ac_ct_STRIP"; then
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6166 $as_echo "$ac_ct_STRIP" >&6; }
6167 else
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6169 $as_echo "no" >&6; }
6172 if test "x$ac_ct_STRIP" = x; then
6173 STRIP="strip"
6174 else
6175 case $cross_compiling:$ac_tool_warned in
6176 yes:)
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6179 ac_tool_warned=yes ;;
6180 esac
6181 STRIP=$ac_ct_STRIP
6183 else
6184 STRIP="$ac_cv_prog_STRIP"
6187 if test -n "$ac_tool_prefix"; then
6188 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6189 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6191 $as_echo_n "checking for $ac_word... " >&6; }
6192 if ${ac_cv_prog_RANLIB+:} false; then :
6193 $as_echo_n "(cached) " >&6
6194 else
6195 if test -n "$RANLIB"; then
6196 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6197 else
6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6199 for as_dir in $PATH
6201 IFS=$as_save_IFS
6202 test -z "$as_dir" && as_dir=.
6203 for ac_exec_ext in '' $ac_executable_extensions; do
6204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6205 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6207 break 2
6209 done
6210 done
6211 IFS=$as_save_IFS
6215 RANLIB=$ac_cv_prog_RANLIB
6216 if test -n "$RANLIB"; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6218 $as_echo "$RANLIB" >&6; }
6219 else
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6221 $as_echo "no" >&6; }
6226 if test -z "$ac_cv_prog_RANLIB"; then
6227 ac_ct_RANLIB=$RANLIB
6228 # Extract the first word of "ranlib", so it can be a program name with args.
6229 set dummy ranlib; ac_word=$2
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6231 $as_echo_n "checking for $ac_word... " >&6; }
6232 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6233 $as_echo_n "(cached) " >&6
6234 else
6235 if test -n "$ac_ct_RANLIB"; then
6236 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6237 else
6238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6239 for as_dir in $PATH
6241 IFS=$as_save_IFS
6242 test -z "$as_dir" && as_dir=.
6243 for ac_exec_ext in '' $ac_executable_extensions; do
6244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6245 ac_cv_prog_ac_ct_RANLIB="ranlib"
6246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6247 break 2
6249 done
6250 done
6251 IFS=$as_save_IFS
6255 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6256 if test -n "$ac_ct_RANLIB"; then
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6258 $as_echo "$ac_ct_RANLIB" >&6; }
6259 else
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6261 $as_echo "no" >&6; }
6264 if test "x$ac_ct_RANLIB" = x; then
6265 RANLIB=":"
6266 else
6267 case $cross_compiling:$ac_tool_warned in
6268 yes:)
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6271 ac_tool_warned=yes ;;
6272 esac
6273 RANLIB=$ac_ct_RANLIB
6275 else
6276 RANLIB="$ac_cv_prog_RANLIB"
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6280 $as_echo_n "checking whether ln -s works... " >&6; }
6281 LN_S=$as_ln_s
6282 if test "$LN_S" = "ln -s"; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6284 $as_echo "yes" >&6; }
6285 else
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6287 $as_echo "no, using $LN_S" >&6; }
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6291 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6292 if ${ac_cv_path_GREP+:} false; then :
6293 $as_echo_n "(cached) " >&6
6294 else
6295 if test -z "$GREP"; then
6296 ac_path_GREP_found=false
6297 # Loop through the user's path and test for each of PROGNAME-LIST
6298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6301 IFS=$as_save_IFS
6302 test -z "$as_dir" && as_dir=.
6303 for ac_prog in grep ggrep; do
6304 for ac_exec_ext in '' $ac_executable_extensions; do
6305 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6306 as_fn_executable_p "$ac_path_GREP" || continue
6307 # Check for GNU ac_path_GREP and select it if it is found.
6308 # Check for GNU $ac_path_GREP
6309 case `"$ac_path_GREP" --version 2>&1` in
6310 *GNU*)
6311 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6313 ac_count=0
6314 $as_echo_n 0123456789 >"conftest.in"
6315 while :
6317 cat "conftest.in" "conftest.in" >"conftest.tmp"
6318 mv "conftest.tmp" "conftest.in"
6319 cp "conftest.in" "conftest.nl"
6320 $as_echo 'GREP' >> "conftest.nl"
6321 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6322 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6323 as_fn_arith $ac_count + 1 && ac_count=$as_val
6324 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6325 # Best one so far, save it but keep looking for a better one
6326 ac_cv_path_GREP="$ac_path_GREP"
6327 ac_path_GREP_max=$ac_count
6329 # 10*(2^10) chars as input seems more than enough
6330 test $ac_count -gt 10 && break
6331 done
6332 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6333 esac
6335 $ac_path_GREP_found && break 3
6336 done
6337 done
6338 done
6339 IFS=$as_save_IFS
6340 if test -z "$ac_cv_path_GREP"; then
6341 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6343 else
6344 ac_cv_path_GREP=$GREP
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6349 $as_echo "$ac_cv_path_GREP" >&6; }
6350 GREP="$ac_cv_path_GREP"
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6354 $as_echo_n "checking for egrep... " >&6; }
6355 if ${ac_cv_path_EGREP+:} false; then :
6356 $as_echo_n "(cached) " >&6
6357 else
6358 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6359 then ac_cv_path_EGREP="$GREP -E"
6360 else
6361 if test -z "$EGREP"; then
6362 ac_path_EGREP_found=false
6363 # Loop through the user's path and test for each of PROGNAME-LIST
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6367 IFS=$as_save_IFS
6368 test -z "$as_dir" && as_dir=.
6369 for ac_prog in egrep; do
6370 for ac_exec_ext in '' $ac_executable_extensions; do
6371 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6372 as_fn_executable_p "$ac_path_EGREP" || continue
6373 # Check for GNU ac_path_EGREP and select it if it is found.
6374 # Check for GNU $ac_path_EGREP
6375 case `"$ac_path_EGREP" --version 2>&1` in
6376 *GNU*)
6377 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6379 ac_count=0
6380 $as_echo_n 0123456789 >"conftest.in"
6381 while :
6383 cat "conftest.in" "conftest.in" >"conftest.tmp"
6384 mv "conftest.tmp" "conftest.in"
6385 cp "conftest.in" "conftest.nl"
6386 $as_echo 'EGREP' >> "conftest.nl"
6387 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6388 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6389 as_fn_arith $ac_count + 1 && ac_count=$as_val
6390 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6391 # Best one so far, save it but keep looking for a better one
6392 ac_cv_path_EGREP="$ac_path_EGREP"
6393 ac_path_EGREP_max=$ac_count
6395 # 10*(2^10) chars as input seems more than enough
6396 test $ac_count -gt 10 && break
6397 done
6398 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6399 esac
6401 $ac_path_EGREP_found && break 3
6402 done
6403 done
6404 done
6405 IFS=$as_save_IFS
6406 if test -z "$ac_cv_path_EGREP"; then
6407 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6409 else
6410 ac_cv_path_EGREP=$EGREP
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6416 $as_echo "$ac_cv_path_EGREP" >&6; }
6417 EGREP="$ac_cv_path_EGREP"
6420 # Extract the first word of "ldconfig", so it can be a program name with args.
6421 set dummy ldconfig; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if ${ac_cv_path_LDCONFIG+:} false; then :
6425 $as_echo_n "(cached) " >&6
6426 else
6427 case $LDCONFIG in
6428 [\\/]* | ?:[\\/]*)
6429 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 for as_dir in /sbin /usr/sbin $PATH
6435 IFS=$as_save_IFS
6436 test -z "$as_dir" && as_dir=.
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6439 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6441 break 2
6443 done
6444 done
6445 IFS=$as_save_IFS
6447 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6449 esac
6451 LDCONFIG=$ac_cv_path_LDCONFIG
6452 if test -n "$LDCONFIG"; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6454 $as_echo "$LDCONFIG" >&6; }
6455 else
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 $as_echo "no" >&6; }
6461 for ac_prog in msgfmt
6463 # Extract the first word of "$ac_prog", so it can be a program name with args.
6464 set dummy $ac_prog; ac_word=$2
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 $as_echo_n "checking for $ac_word... " >&6; }
6467 if ${ac_cv_prog_MSGFMT+:} false; then :
6468 $as_echo_n "(cached) " >&6
6469 else
6470 if test -n "$MSGFMT"; then
6471 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6472 else
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474 for as_dir in $PATH
6476 IFS=$as_save_IFS
6477 test -z "$as_dir" && as_dir=.
6478 for ac_exec_ext in '' $ac_executable_extensions; do
6479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6480 ac_cv_prog_MSGFMT="$ac_prog"
6481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6482 break 2
6484 done
6485 done
6486 IFS=$as_save_IFS
6490 MSGFMT=$ac_cv_prog_MSGFMT
6491 if test -n "$MSGFMT"; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6493 $as_echo "$MSGFMT" >&6; }
6494 else
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6496 $as_echo "no" >&6; }
6500 test -n "$MSGFMT" && break
6501 done
6502 test -n "$MSGFMT" || MSGFMT="false"
6504 if ${ac_tool_prefix+:} false; then :
6505 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6506 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6508 $as_echo_n "checking for $ac_word... " >&6; }
6509 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6510 $as_echo_n "(cached) " >&6
6511 else
6512 if test -n "$PKG_CONFIG"; then
6513 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6514 else
6515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6516 for as_dir in $PATH
6518 IFS=$as_save_IFS
6519 test -z "$as_dir" && as_dir=.
6520 for ac_exec_ext in '' $ac_executable_extensions; do
6521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6522 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6524 break 2
6526 done
6527 done
6528 IFS=$as_save_IFS
6532 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6533 if test -n "$PKG_CONFIG"; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6535 $as_echo "$PKG_CONFIG" >&6; }
6536 else
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 $as_echo "no" >&6; }
6543 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6544 if test "x$cross_compiling" = xyes; then :
6546 else
6547 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6548 # Extract the first word of "pkg-config", so it can be a program name with args.
6549 set dummy pkg-config; ac_word=$2
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 $as_echo_n "checking for $ac_word... " >&6; }
6552 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6553 $as_echo_n "(cached) " >&6
6554 else
6555 if test -n "$PKG_CONFIG"; then
6556 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6557 else
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 for as_dir in $PATH
6561 IFS=$as_save_IFS
6562 test -z "$as_dir" && as_dir=.
6563 for ac_exec_ext in '' $ac_executable_extensions; do
6564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6565 ac_cv_prog_PKG_CONFIG="pkg-config"
6566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 break 2
6569 done
6570 done
6571 IFS=$as_save_IFS
6575 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6576 if test -n "$PKG_CONFIG"; then
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6578 $as_echo "$PKG_CONFIG" >&6; }
6579 else
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6581 $as_echo "no" >&6; }
6586 else
6587 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6590 if test "x$enable_maintainer_mode" != "xyes"
6591 then
6592 FONTFORGE=""
6593 RSVG=""
6594 CONVERT=""
6595 ICOTOOL=""
6596 else
6597 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6598 for ac_prog in fontforge
6600 # Extract the first word of "$ac_prog", so it can be a program name with args.
6601 set dummy $ac_prog; ac_word=$2
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603 $as_echo_n "checking for $ac_word... " >&6; }
6604 if ${ac_cv_prog_FONTFORGE+:} false; then :
6605 $as_echo_n "(cached) " >&6
6606 else
6607 if test -n "$FONTFORGE"; then
6608 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6609 else
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 for as_dir in $PATH
6613 IFS=$as_save_IFS
6614 test -z "$as_dir" && as_dir=.
6615 for ac_exec_ext in '' $ac_executable_extensions; do
6616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6617 ac_cv_prog_FONTFORGE="$ac_prog"
6618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6619 break 2
6621 done
6622 done
6623 IFS=$as_save_IFS
6627 FONTFORGE=$ac_cv_prog_FONTFORGE
6628 if test -n "$FONTFORGE"; then
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6630 $as_echo "$FONTFORGE" >&6; }
6631 else
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633 $as_echo "no" >&6; }
6637 test -n "$FONTFORGE" && break
6638 done
6639 test -n "$FONTFORGE" || FONTFORGE="false"
6641 for ac_prog in rsvg-convert rsvg
6643 # Extract the first word of "$ac_prog", so it can be a program name with args.
6644 set dummy $ac_prog; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if ${ac_cv_prog_RSVG+:} false; then :
6648 $as_echo_n "(cached) " >&6
6649 else
6650 if test -n "$RSVG"; then
6651 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6652 else
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 for as_dir in $PATH
6656 IFS=$as_save_IFS
6657 test -z "$as_dir" && as_dir=.
6658 for ac_exec_ext in '' $ac_executable_extensions; do
6659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6660 ac_cv_prog_RSVG="$ac_prog"
6661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662 break 2
6664 done
6665 done
6666 IFS=$as_save_IFS
6670 RSVG=$ac_cv_prog_RSVG
6671 if test -n "$RSVG"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6673 $as_echo "$RSVG" >&6; }
6674 else
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6680 test -n "$RSVG" && break
6681 done
6682 test -n "$RSVG" || RSVG="false"
6684 for ac_prog in convert
6686 # Extract the first word of "$ac_prog", so it can be a program name with args.
6687 set dummy $ac_prog; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 $as_echo_n "checking for $ac_word... " >&6; }
6690 if ${ac_cv_prog_CONVERT+:} false; then :
6691 $as_echo_n "(cached) " >&6
6692 else
6693 if test -n "$CONVERT"; then
6694 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6695 else
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 for as_dir in $PATH
6699 IFS=$as_save_IFS
6700 test -z "$as_dir" && as_dir=.
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_CONVERT="$ac_prog"
6704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 break 2
6707 done
6708 done
6709 IFS=$as_save_IFS
6713 CONVERT=$ac_cv_prog_CONVERT
6714 if test -n "$CONVERT"; then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6716 $as_echo "$CONVERT" >&6; }
6717 else
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6723 test -n "$CONVERT" && break
6724 done
6725 test -n "$CONVERT" || CONVERT="false"
6727 for ac_prog in icotool
6729 # Extract the first word of "$ac_prog", so it can be a program name with args.
6730 set dummy $ac_prog; ac_word=$2
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 $as_echo_n "checking for $ac_word... " >&6; }
6733 if ${ac_cv_prog_ICOTOOL+:} false; then :
6734 $as_echo_n "(cached) " >&6
6735 else
6736 if test -n "$ICOTOOL"; then
6737 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6738 else
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740 for as_dir in $PATH
6742 IFS=$as_save_IFS
6743 test -z "$as_dir" && as_dir=.
6744 for ac_exec_ext in '' $ac_executable_extensions; do
6745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6746 ac_cv_prog_ICOTOOL="$ac_prog"
6747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6748 break 2
6750 done
6751 done
6752 IFS=$as_save_IFS
6756 ICOTOOL=$ac_cv_prog_ICOTOOL
6757 if test -n "$ICOTOOL"; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6759 $as_echo "$ICOTOOL" >&6; }
6760 else
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 $as_echo "no" >&6; }
6766 test -n "$ICOTOOL" && break
6767 done
6768 test -n "$ICOTOOL" || ICOTOOL="false"
6770 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6771 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6773 if test "$CONVERT" = false
6774 then
6775 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6776 else
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6778 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6779 convert_version=`convert --version | head -n1`
6780 if test "x$convert_version" != "x"
6781 then
6782 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6783 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6784 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6785 then
6786 CONVERT=false
6789 if test "$CONVERT" = false
6790 then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6792 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6793 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6794 else
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6796 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6800 if test "$ICOTOOL" = false
6801 then
6802 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6803 else
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6805 $as_echo_n "checking for recent enough icotool... " >&6; }
6806 icotool_version=`icotool --version | head -n1`
6807 if test "x$icotool_version" != "x"
6808 then
6809 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6810 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6811 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6812 then
6813 ICOTOOL=false
6814 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6817 if test "$ICOTOOL" = false
6818 then
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6820 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6821 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6822 else
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6824 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6828 with_gettext=yes
6829 with_gettextpo=yes
6831 enable_werror=yes
6834 test "x$with_gettext" != xno || MSGFMT=false
6835 if test "$MSGFMT" != "false"
6836 then
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6838 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6839 if ${wine_cv_msgfmt_contexts+:} false; then :
6840 $as_echo_n "(cached) " >&6
6841 else
6842 cat >conftest.po <<EOF
6843 # comment
6844 msgctxt "ctxt"
6845 msgid "id"
6846 msgstr "str"
6848 if $MSGFMT -o /dev/null conftest.po 2>&5
6849 then
6850 wine_cv_msgfmt_contexts=yes
6851 else
6852 wine_cv_msgfmt_contexts=no
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6856 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6857 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6859 if test "$MSGFMT" = false; then :
6860 case "x$with_gettext" in
6861 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6862 xno) ;;
6863 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6864 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6865 esac
6866 enable_po=${enable_po:-no}
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6871 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6872 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6873 $as_echo_n "(cached) " >&6
6874 else
6875 ac_check_lib_save_LIBS=$LIBS
6876 LIBS="-li386 $LIBS"
6877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6878 /* end confdefs.h. */
6880 /* Override any GCC internal prototype to avoid an error.
6881 Use char because int might match the return type of a GCC
6882 builtin and then its argument prototype would still apply. */
6883 #ifdef __cplusplus
6884 extern "C"
6885 #endif
6886 char i386_set_ldt ();
6888 main ()
6890 return i386_set_ldt ();
6892 return 0;
6894 _ACEOF
6895 if ac_fn_c_try_link "$LINENO"; then :
6896 ac_cv_lib_i386_i386_set_ldt=yes
6897 else
6898 ac_cv_lib_i386_i386_set_ldt=no
6900 rm -f core conftest.err conftest.$ac_objext \
6901 conftest$ac_exeext conftest.$ac_ext
6902 LIBS=$ac_check_lib_save_LIBS
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6905 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6906 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6907 I386_LIBS="-li386"
6912 OPENGL_LIBS=""
6916 # Check whether --enable-largefile was given.
6917 if test "${enable_largefile+set}" = set; then :
6918 enableval=$enable_largefile;
6921 if test "$enable_largefile" != no; then
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6924 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6925 if ${ac_cv_sys_largefile_CC+:} false; then :
6926 $as_echo_n "(cached) " >&6
6927 else
6928 ac_cv_sys_largefile_CC=no
6929 if test "$GCC" != yes; then
6930 ac_save_CC=$CC
6931 while :; do
6932 # IRIX 6.2 and later do not support large files by default,
6933 # so use the C compiler's -n32 option if that helps.
6934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6935 /* end confdefs.h. */
6936 #include <sys/types.h>
6937 /* Check that off_t can represent 2**63 - 1 correctly.
6938 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6939 since some C++ compilers masquerading as C compilers
6940 incorrectly reject 9223372036854775807. */
6941 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6942 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6943 && LARGE_OFF_T % 2147483647 == 1)
6944 ? 1 : -1];
6946 main ()
6950 return 0;
6952 _ACEOF
6953 if ac_fn_c_try_compile "$LINENO"; then :
6954 break
6956 rm -f core conftest.err conftest.$ac_objext
6957 CC="$CC -n32"
6958 if ac_fn_c_try_compile "$LINENO"; then :
6959 ac_cv_sys_largefile_CC=' -n32'; break
6961 rm -f core conftest.err conftest.$ac_objext
6962 break
6963 done
6964 CC=$ac_save_CC
6965 rm -f conftest.$ac_ext
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6969 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6970 if test "$ac_cv_sys_largefile_CC" != no; then
6971 CC=$CC$ac_cv_sys_largefile_CC
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6975 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6976 if ${ac_cv_sys_file_offset_bits+:} false; then :
6977 $as_echo_n "(cached) " >&6
6978 else
6979 while :; do
6980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6981 /* end confdefs.h. */
6982 #include <sys/types.h>
6983 /* Check that off_t can represent 2**63 - 1 correctly.
6984 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6985 since some C++ compilers masquerading as C compilers
6986 incorrectly reject 9223372036854775807. */
6987 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6988 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6989 && LARGE_OFF_T % 2147483647 == 1)
6990 ? 1 : -1];
6992 main ()
6996 return 0;
6998 _ACEOF
6999 if ac_fn_c_try_compile "$LINENO"; then :
7000 ac_cv_sys_file_offset_bits=no; break
7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7004 /* end confdefs.h. */
7005 #define _FILE_OFFSET_BITS 64
7006 #include <sys/types.h>
7007 /* Check that off_t can represent 2**63 - 1 correctly.
7008 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7009 since some C++ compilers masquerading as C compilers
7010 incorrectly reject 9223372036854775807. */
7011 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7012 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7013 && LARGE_OFF_T % 2147483647 == 1)
7014 ? 1 : -1];
7016 main ()
7020 return 0;
7022 _ACEOF
7023 if ac_fn_c_try_compile "$LINENO"; then :
7024 ac_cv_sys_file_offset_bits=64; break
7026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7027 ac_cv_sys_file_offset_bits=unknown
7028 break
7029 done
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7032 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7033 case $ac_cv_sys_file_offset_bits in #(
7034 no | unknown) ;;
7036 cat >>confdefs.h <<_ACEOF
7037 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7038 _ACEOF
7040 esac
7041 rm -rf conftest*
7042 if test $ac_cv_sys_file_offset_bits = unknown; then
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7044 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7045 if ${ac_cv_sys_large_files+:} false; then :
7046 $as_echo_n "(cached) " >&6
7047 else
7048 while :; do
7049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7050 /* end confdefs.h. */
7051 #include <sys/types.h>
7052 /* Check that off_t can represent 2**63 - 1 correctly.
7053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7054 since some C++ compilers masquerading as C compilers
7055 incorrectly reject 9223372036854775807. */
7056 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7058 && LARGE_OFF_T % 2147483647 == 1)
7059 ? 1 : -1];
7061 main ()
7065 return 0;
7067 _ACEOF
7068 if ac_fn_c_try_compile "$LINENO"; then :
7069 ac_cv_sys_large_files=no; break
7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7073 /* end confdefs.h. */
7074 #define _LARGE_FILES 1
7075 #include <sys/types.h>
7076 /* Check that off_t can represent 2**63 - 1 correctly.
7077 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7078 since some C++ compilers masquerading as C compilers
7079 incorrectly reject 9223372036854775807. */
7080 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7081 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7082 && LARGE_OFF_T % 2147483647 == 1)
7083 ? 1 : -1];
7085 main ()
7089 return 0;
7091 _ACEOF
7092 if ac_fn_c_try_compile "$LINENO"; then :
7093 ac_cv_sys_large_files=1; break
7095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7096 ac_cv_sys_large_files=unknown
7097 break
7098 done
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7101 $as_echo "$ac_cv_sys_large_files" >&6; }
7102 case $ac_cv_sys_large_files in #(
7103 no | unknown) ;;
7105 cat >>confdefs.h <<_ACEOF
7106 #define _LARGE_FILES $ac_cv_sys_large_files
7107 _ACEOF
7109 esac
7110 rm -rf conftest*
7117 ac_ext=c
7118 ac_cpp='$CPP $CPPFLAGS'
7119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7123 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7124 # On Suns, sometimes $CPP names a directory.
7125 if test -n "$CPP" && test -d "$CPP"; then
7126 CPP=
7128 if test -z "$CPP"; then
7129 if ${ac_cv_prog_CPP+:} false; then :
7130 $as_echo_n "(cached) " >&6
7131 else
7132 # Double quotes because CPP needs to be expanded
7133 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7135 ac_preproc_ok=false
7136 for ac_c_preproc_warn_flag in '' yes
7138 # Use a header file that comes with gcc, so configuring glibc
7139 # with a fresh cross-compiler works.
7140 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7141 # <limits.h> exists even on freestanding compilers.
7142 # On the NeXT, cc -E runs the code through the compiler's parser,
7143 # not just through cpp. "Syntax error" is here to catch this case.
7144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7145 /* end confdefs.h. */
7146 #ifdef __STDC__
7147 # include <limits.h>
7148 #else
7149 # include <assert.h>
7150 #endif
7151 Syntax error
7152 _ACEOF
7153 if ac_fn_c_try_cpp "$LINENO"; then :
7155 else
7156 # Broken: fails on valid input.
7157 continue
7159 rm -f conftest.err conftest.i conftest.$ac_ext
7161 # OK, works on sane cases. Now check whether nonexistent headers
7162 # can be detected and how.
7163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7164 /* end confdefs.h. */
7165 #include <ac_nonexistent.h>
7166 _ACEOF
7167 if ac_fn_c_try_cpp "$LINENO"; then :
7168 # Broken: success on invalid input.
7169 continue
7170 else
7171 # Passes both tests.
7172 ac_preproc_ok=:
7173 break
7175 rm -f conftest.err conftest.i conftest.$ac_ext
7177 done
7178 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7179 rm -f conftest.i conftest.err conftest.$ac_ext
7180 if $ac_preproc_ok; then :
7181 break
7184 done
7185 ac_cv_prog_CPP=$CPP
7188 CPP=$ac_cv_prog_CPP
7189 else
7190 ac_cv_prog_CPP=$CPP
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7193 $as_echo "$CPP" >&6; }
7194 ac_preproc_ok=false
7195 for ac_c_preproc_warn_flag in '' yes
7197 # Use a header file that comes with gcc, so configuring glibc
7198 # with a fresh cross-compiler works.
7199 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7200 # <limits.h> exists even on freestanding compilers.
7201 # On the NeXT, cc -E runs the code through the compiler's parser,
7202 # not just through cpp. "Syntax error" is here to catch this case.
7203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7204 /* end confdefs.h. */
7205 #ifdef __STDC__
7206 # include <limits.h>
7207 #else
7208 # include <assert.h>
7209 #endif
7210 Syntax error
7211 _ACEOF
7212 if ac_fn_c_try_cpp "$LINENO"; then :
7214 else
7215 # Broken: fails on valid input.
7216 continue
7218 rm -f conftest.err conftest.i conftest.$ac_ext
7220 # OK, works on sane cases. Now check whether nonexistent headers
7221 # can be detected and how.
7222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223 /* end confdefs.h. */
7224 #include <ac_nonexistent.h>
7225 _ACEOF
7226 if ac_fn_c_try_cpp "$LINENO"; then :
7227 # Broken: success on invalid input.
7228 continue
7229 else
7230 # Passes both tests.
7231 ac_preproc_ok=:
7232 break
7234 rm -f conftest.err conftest.i conftest.$ac_ext
7236 done
7237 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7238 rm -f conftest.i conftest.err conftest.$ac_ext
7239 if $ac_preproc_ok; then :
7241 else
7242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7244 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7245 See \`config.log' for more details" "$LINENO" 5; }
7248 ac_ext=c
7249 ac_cpp='$CPP $CPPFLAGS'
7250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7256 $as_echo_n "checking for ANSI C header files... " >&6; }
7257 if ${ac_cv_header_stdc+:} false; then :
7258 $as_echo_n "(cached) " >&6
7259 else
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7262 #include <stdlib.h>
7263 #include <stdarg.h>
7264 #include <string.h>
7265 #include <float.h>
7268 main ()
7272 return 0;
7274 _ACEOF
7275 if ac_fn_c_try_compile "$LINENO"; then :
7276 ac_cv_header_stdc=yes
7277 else
7278 ac_cv_header_stdc=no
7280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7282 if test $ac_cv_header_stdc = yes; then
7283 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285 /* end confdefs.h. */
7286 #include <string.h>
7288 _ACEOF
7289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7290 $EGREP "memchr" >/dev/null 2>&1; then :
7292 else
7293 ac_cv_header_stdc=no
7295 rm -f conftest*
7299 if test $ac_cv_header_stdc = yes; then
7300 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7302 /* end confdefs.h. */
7303 #include <stdlib.h>
7305 _ACEOF
7306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7307 $EGREP "free" >/dev/null 2>&1; then :
7309 else
7310 ac_cv_header_stdc=no
7312 rm -f conftest*
7316 if test $ac_cv_header_stdc = yes; then
7317 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7318 if test "$cross_compiling" = yes; then :
7320 else
7321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7322 /* end confdefs.h. */
7323 #include <ctype.h>
7324 #include <stdlib.h>
7325 #if ((' ' & 0x0FF) == 0x020)
7326 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7327 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7328 #else
7329 # define ISLOWER(c) \
7330 (('a' <= (c) && (c) <= 'i') \
7331 || ('j' <= (c) && (c) <= 'r') \
7332 || ('s' <= (c) && (c) <= 'z'))
7333 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7334 #endif
7336 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7338 main ()
7340 int i;
7341 for (i = 0; i < 256; i++)
7342 if (XOR (islower (i), ISLOWER (i))
7343 || toupper (i) != TOUPPER (i))
7344 return 2;
7345 return 0;
7347 _ACEOF
7348 if ac_fn_c_try_run "$LINENO"; then :
7350 else
7351 ac_cv_header_stdc=no
7353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7354 conftest.$ac_objext conftest.beam conftest.$ac_ext
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7360 $as_echo "$ac_cv_header_stdc" >&6; }
7361 if test $ac_cv_header_stdc = yes; then
7363 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7367 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7368 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7369 inttypes.h stdint.h unistd.h
7370 do :
7371 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7372 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7374 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7375 cat >>confdefs.h <<_ACEOF
7376 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7377 _ACEOF
7381 done
7384 for ac_header in \
7385 AL/al.h \
7386 ApplicationServices/ApplicationServices.h \
7387 AudioToolbox/AudioConverter.h \
7388 AudioUnit/AudioUnit.h \
7389 AudioUnit/AudioComponent.h \
7390 CL/cl.h \
7391 Carbon/Carbon.h \
7392 CommonCrypto/CommonCryptor.h \
7393 CoreAudio/CoreAudio.h \
7394 DiskArbitration/DiskArbitration.h \
7395 EGL/egl.h \
7396 IOKit/IOKitLib.h \
7397 IOKit/hid/IOHIDLib.h \
7398 OpenAL/al.h \
7399 OpenCL/opencl.h \
7400 QuickTime/ImageCompression.h \
7401 Security/Security.h \
7402 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7403 SystemConfiguration/SCNetworkConfiguration.h \
7404 alias.h \
7405 arpa/inet.h \
7406 arpa/nameser.h \
7407 asm/types.h \
7408 asm/user.h \
7409 dirent.h \
7410 dlfcn.h \
7411 elf.h \
7412 float.h \
7413 fnmatch.h \
7414 getopt.h \
7415 gettext-po.h \
7416 grp.h \
7417 gsm.h \
7418 gsm/gsm.h \
7419 ieeefp.h \
7420 inet/mib2.h \
7421 kstat.h \
7422 libproc.h \
7423 link.h \
7424 linux/cdrom.h \
7425 linux/filter.h \
7426 linux/hdreg.h \
7427 linux/hidraw.h \
7428 linux/input.h \
7429 linux/ioctl.h \
7430 linux/joystick.h \
7431 linux/major.h \
7432 linux/param.h \
7433 linux/serial.h \
7434 linux/types.h \
7435 linux/ucdrom.h \
7436 lwp.h \
7437 mach-o/loader.h \
7438 mach/mach.h \
7439 machine/cpu.h \
7440 machine/sysarch.h \
7441 mntent.h \
7442 netdb.h \
7443 netinet/in.h \
7444 netinet/in_systm.h \
7445 netinet/tcp.h \
7446 netinet/tcp_fsm.h \
7447 pcap/pcap.h \
7448 poll.h \
7449 port.h \
7450 pthread.h \
7451 pwd.h \
7452 sasl/sasl.h \
7453 sched.h \
7454 scsi/scsi.h \
7455 scsi/scsi_ioctl.h \
7456 scsi/sg.h \
7457 stdint.h \
7458 stropts.h \
7459 sys/attr.h \
7460 sys/auxv.h \
7461 sys/cdio.h \
7462 sys/epoll.h \
7463 sys/event.h \
7464 sys/filio.h \
7465 sys/ioctl.h \
7466 sys/ipc.h \
7467 sys/link.h \
7468 sys/mman.h \
7469 sys/modem.h \
7470 sys/msg.h \
7471 sys/mtio.h \
7472 sys/param.h \
7473 sys/poll.h \
7474 sys/prctl.h \
7475 sys/protosw.h \
7476 sys/ptrace.h \
7477 sys/queue.h \
7478 sys/random.h \
7479 sys/resource.h \
7480 sys/scsiio.h \
7481 sys/shm.h \
7482 sys/signal.h \
7483 sys/socket.h \
7484 sys/socketvar.h \
7485 sys/sockio.h \
7486 sys/statvfs.h \
7487 sys/strtio.h \
7488 sys/syscall.h \
7489 sys/sysinfo.h \
7490 sys/tihdr.h \
7491 sys/time.h \
7492 sys/timeout.h \
7493 sys/times.h \
7494 sys/uio.h \
7495 sys/user.h \
7496 sys/utsname.h \
7497 sys/vnode.h \
7498 sys/wait.h \
7499 syscall.h \
7500 termios.h \
7501 unistd.h \
7502 utime.h \
7503 valgrind/memcheck.h \
7504 valgrind/valgrind.h
7506 do :
7507 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7508 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7509 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7510 cat >>confdefs.h <<_ACEOF
7511 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7512 _ACEOF
7516 done
7518 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7519 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7521 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7526 if test $ac_cv_header_sys_mkdev_h = no; then
7527 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7528 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7530 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7537 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7538 if ${ac_cv_header_stat_broken+:} false; then :
7539 $as_echo_n "(cached) " >&6
7540 else
7541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7543 #include <sys/types.h>
7544 #include <sys/stat.h>
7546 #if defined S_ISBLK && defined S_IFDIR
7547 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7548 #endif
7550 #if defined S_ISBLK && defined S_IFCHR
7551 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7552 #endif
7554 #if defined S_ISLNK && defined S_IFREG
7555 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7556 #endif
7558 #if defined S_ISSOCK && defined S_IFREG
7559 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7560 #endif
7562 _ACEOF
7563 if ac_fn_c_try_compile "$LINENO"; then :
7564 ac_cv_header_stat_broken=no
7565 else
7566 ac_cv_header_stat_broken=yes
7568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7571 $as_echo "$ac_cv_header_stat_broken" >&6; }
7572 if test $ac_cv_header_stat_broken = yes; then
7574 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7580 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7581 do :
7582 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7583 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7584 #ifdef HAVE_SYS_PARAM_H
7585 # include <sys/param.h>
7586 #endif
7588 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7589 cat >>confdefs.h <<_ACEOF
7590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7591 _ACEOF
7595 done
7598 saved_sysctl_h_CFLAGS=$CFLAGS
7599 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7600 for ac_header in sys/sysctl.h
7601 do :
7602 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7603 #ifdef HAVE_SYS_PARAM_H
7604 # include <sys/param.h>
7605 #endif
7607 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7608 cat >>confdefs.h <<_ACEOF
7609 #define HAVE_SYS_SYSCTL_H 1
7610 _ACEOF
7614 done
7616 CFLAGS=$saved_sysctl_h_CFLAGS
7618 for ac_header in \
7619 netinet/ip.h \
7620 net/if.h \
7621 net/if_arp.h \
7622 net/if_dl.h \
7623 net/if_types.h \
7624 net/route.h \
7625 netinet/if_ether.h \
7626 netinet/if_inarp.h \
7627 netinet/in_pcb.h \
7628 netinet/ip_icmp.h \
7629 netinet/ip_var.h \
7630 netinet/udp.h \
7631 netipx/ipx.h \
7632 sys/un.h \
7634 do :
7635 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7636 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7637 #ifdef HAVE_SYS_SOCKET_H
7638 # include <sys/socket.h>
7639 #endif
7640 #ifdef HAVE_SYS_SOCKETVAR_H
7641 # include <sys/socketvar.h>
7642 #endif
7643 #ifdef HAVE_NET_ROUTE_H
7644 # include <net/route.h>
7645 #endif
7646 #ifdef HAVE_NETINET_IN_H
7647 # include <netinet/in.h>
7648 #endif
7649 #ifdef HAVE_NETINET_IN_SYSTM_H
7650 # include <netinet/in_systm.h>
7651 #endif
7652 #ifdef HAVE_NET_IF_H
7653 # include <net/if.h>
7654 #endif
7655 #ifdef HAVE_NETINET_IP_H
7656 # include <netinet/ip.h>
7657 #endif
7659 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7660 cat >>confdefs.h <<_ACEOF
7661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7662 _ACEOF
7666 done
7669 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7670 do :
7671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7673 #ifdef HAVE_ALIAS_H
7674 # include <alias.h>
7675 #endif
7676 #ifdef HAVE_SYS_SOCKET_H
7677 # include <sys/socket.h>
7678 #endif
7679 #ifdef HAVE_SYS_SOCKETVAR_H
7680 # include <sys/socketvar.h>
7681 #endif
7682 #ifdef HAVE_SYS_TIMEOUT_H
7683 # include <sys/timeout.h>
7684 #endif
7685 #ifdef HAVE_NETINET_IN_H
7686 # include <netinet/in.h>
7687 #endif
7688 #ifdef HAVE_NETINET_IN_SYSTM_H
7689 # include <netinet/in_systm.h>
7690 #endif
7691 #ifdef HAVE_NETINET_IP_H
7692 # include <netinet/ip.h>
7693 #endif
7694 #ifdef HAVE_NETINET_IP_VAR_H
7695 # include <netinet/ip_var.h>
7696 #endif
7697 #ifdef HAVE_NETINET_IP_ICMP_H
7698 # include <netinet/ip_icmp.h>
7699 #endif
7700 #ifdef HAVE_NETINET_UDP_H
7701 # include <netinet/udp.h>
7702 #endif
7703 #ifdef HAVE_NETINET_TCP_H
7704 # include <netinet/tcp.h>
7705 #endif
7706 #ifdef HAVE_NETINET_TCP_TIMER_H
7707 #include <netinet/tcp_timer.h>
7708 #endif
7710 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7711 cat >>confdefs.h <<_ACEOF
7712 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7713 _ACEOF
7717 done
7720 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7721 do :
7722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7723 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7724 #ifdef HAVE_ASM_TYPES_H
7725 # include <asm/types.h>
7726 #endif
7727 #ifdef HAVE_SYS_SOCKET_H
7728 # include <sys/socket.h>
7729 #endif
7730 #ifdef HAVE_LINUX_TYPES_H
7731 # include <linux/types.h>
7732 #endif
7734 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7735 cat >>confdefs.h <<_ACEOF
7736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7737 _ACEOF
7741 done
7744 for ac_header in resolv.h
7745 do :
7746 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7747 #ifdef HAVE_SYS_SOCKET_H
7748 # include <sys/socket.h>
7749 #endif
7750 #ifdef HAVE_NETINET_IN_H
7751 # include <netinet/in.h>
7752 #endif
7753 #ifdef HAVE_ARPA_NAMESER_H
7754 # include <arpa/nameser.h>
7755 #endif
7757 if test "x$ac_cv_header_resolv_h" = xyes; then :
7758 cat >>confdefs.h <<_ACEOF
7759 #define HAVE_RESOLV_H 1
7760 _ACEOF
7764 done
7767 for ac_header in ifaddrs.h
7768 do :
7769 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7771 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7772 cat >>confdefs.h <<_ACEOF
7773 #define HAVE_IFADDRS_H 1
7774 _ACEOF
7778 done
7781 for ac_header in sys/ucontext.h
7782 do :
7783 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7785 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7786 cat >>confdefs.h <<_ACEOF
7787 #define HAVE_SYS_UCONTEXT_H 1
7788 _ACEOF
7792 done
7795 for ac_header in sys/thr.h
7796 do :
7797 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7798 #ifdef HAVE_SYS_UCONTEXT_H
7799 #include <sys/ucontext.h>
7800 #endif
7802 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7803 cat >>confdefs.h <<_ACEOF
7804 #define HAVE_SYS_THR_H 1
7805 _ACEOF
7809 done
7812 for ac_header in pthread_np.h
7813 do :
7814 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7815 #include <pthread.h>
7816 #endif
7818 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7819 cat >>confdefs.h <<_ACEOF
7820 #define HAVE_PTHREAD_NP_H 1
7821 _ACEOF
7825 done
7828 for ac_header in linux/videodev2.h
7829 do :
7830 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7831 #include <sys/time.h>
7832 #endif
7833 #include <sys/types.h>
7834 #ifdef HAVE_ASM_TYPES_H
7835 #include <asm/types.h>
7836 #endif
7838 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7839 cat >>confdefs.h <<_ACEOF
7840 #define HAVE_LINUX_VIDEODEV2_H 1
7841 _ACEOF
7845 done
7848 for ac_header in libprocstat.h
7849 do :
7850 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7851 #include <sys/param.h>
7852 #endif
7853 #ifdef HAVE_SYS_QUEUE_H
7854 #include <sys/queue.h>
7855 #endif
7856 #ifdef HAVE_SYS_SOCKET_H
7857 #include <sys/socket.h>
7858 #endif
7860 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7861 cat >>confdefs.h <<_ACEOF
7862 #define HAVE_LIBPROCSTAT_H 1
7863 _ACEOF
7867 done
7871 DLLFLAGS="-D_REENTRANT"
7873 LDDLLFLAGS=""
7875 LDEXECFLAGS=""
7877 TOP_INSTALL_LIB=""
7879 TOP_INSTALL_DEV=""
7881 WINELOADER_LDFLAGS=""
7883 WINEPRELOADER_LDFLAGS=""
7885 LIBEXT="so"
7886 DLLEXT=".so"
7887 # Extract the first word of "ldd", so it can be a program name with args.
7888 set dummy ldd; ac_word=$2
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7890 $as_echo_n "checking for $ac_word... " >&6; }
7891 if ${ac_cv_path_LDD+:} false; then :
7892 $as_echo_n "(cached) " >&6
7893 else
7894 case $LDD in
7895 [\\/]* | ?:[\\/]*)
7896 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7900 as_dummy="/sbin:/usr/sbin:$PATH"
7901 for as_dir in $as_dummy
7903 IFS=$as_save_IFS
7904 test -z "$as_dir" && as_dir=.
7905 for ac_exec_ext in '' $ac_executable_extensions; do
7906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7907 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7909 break 2
7911 done
7912 done
7913 IFS=$as_save_IFS
7915 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7917 esac
7919 LDD=$ac_cv_path_LDD
7920 if test -n "$LDD"; then
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7922 $as_echo "$LDD" >&6; }
7923 else
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7925 $as_echo "no" >&6; }
7929 if test -n "$ac_tool_prefix"; then
7930 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7931 set dummy ${ac_tool_prefix}otool; ac_word=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7933 $as_echo_n "checking for $ac_word... " >&6; }
7934 if ${ac_cv_prog_OTOOL+:} false; then :
7935 $as_echo_n "(cached) " >&6
7936 else
7937 if test -n "$OTOOL"; then
7938 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7939 else
7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7941 for as_dir in $PATH
7943 IFS=$as_save_IFS
7944 test -z "$as_dir" && as_dir=.
7945 for ac_exec_ext in '' $ac_executable_extensions; do
7946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7947 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7949 break 2
7951 done
7952 done
7953 IFS=$as_save_IFS
7957 OTOOL=$ac_cv_prog_OTOOL
7958 if test -n "$OTOOL"; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7960 $as_echo "$OTOOL" >&6; }
7961 else
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7963 $as_echo "no" >&6; }
7968 if test -z "$ac_cv_prog_OTOOL"; then
7969 ac_ct_OTOOL=$OTOOL
7970 # Extract the first word of "otool", so it can be a program name with args.
7971 set dummy otool; ac_word=$2
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7973 $as_echo_n "checking for $ac_word... " >&6; }
7974 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7975 $as_echo_n "(cached) " >&6
7976 else
7977 if test -n "$ac_ct_OTOOL"; then
7978 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7979 else
7980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7981 for as_dir in $PATH
7983 IFS=$as_save_IFS
7984 test -z "$as_dir" && as_dir=.
7985 for ac_exec_ext in '' $ac_executable_extensions; do
7986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7987 ac_cv_prog_ac_ct_OTOOL="otool"
7988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7989 break 2
7991 done
7992 done
7993 IFS=$as_save_IFS
7997 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7998 if test -n "$ac_ct_OTOOL"; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8000 $as_echo "$ac_ct_OTOOL" >&6; }
8001 else
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003 $as_echo "no" >&6; }
8006 if test "x$ac_ct_OTOOL" = x; then
8007 OTOOL="otool"
8008 else
8009 case $cross_compiling:$ac_tool_warned in
8010 yes:)
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8013 ac_tool_warned=yes ;;
8014 esac
8015 OTOOL=$ac_ct_OTOOL
8017 else
8018 OTOOL="$ac_cv_prog_OTOOL"
8021 if test -n "$ac_tool_prefix"; then
8022 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8023 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8025 $as_echo_n "checking for $ac_word... " >&6; }
8026 if ${ac_cv_prog_READELF+:} false; then :
8027 $as_echo_n "(cached) " >&6
8028 else
8029 if test -n "$READELF"; then
8030 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8031 else
8032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8033 for as_dir in $PATH
8035 IFS=$as_save_IFS
8036 test -z "$as_dir" && as_dir=.
8037 for ac_exec_ext in '' $ac_executable_extensions; do
8038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8039 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8041 break 2
8043 done
8044 done
8045 IFS=$as_save_IFS
8049 READELF=$ac_cv_prog_READELF
8050 if test -n "$READELF"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8052 $as_echo "$READELF" >&6; }
8053 else
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8055 $as_echo "no" >&6; }
8060 if test -z "$ac_cv_prog_READELF"; then
8061 ac_ct_READELF=$READELF
8062 # Extract the first word of "readelf", so it can be a program name with args.
8063 set dummy readelf; ac_word=$2
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8065 $as_echo_n "checking for $ac_word... " >&6; }
8066 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8067 $as_echo_n "(cached) " >&6
8068 else
8069 if test -n "$ac_ct_READELF"; then
8070 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8071 else
8072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8073 for as_dir in $PATH
8075 IFS=$as_save_IFS
8076 test -z "$as_dir" && as_dir=.
8077 for ac_exec_ext in '' $ac_executable_extensions; do
8078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8079 ac_cv_prog_ac_ct_READELF="readelf"
8080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8081 break 2
8083 done
8084 done
8085 IFS=$as_save_IFS
8089 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8090 if test -n "$ac_ct_READELF"; then
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8092 $as_echo "$ac_ct_READELF" >&6; }
8093 else
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8095 $as_echo "no" >&6; }
8098 if test "x$ac_ct_READELF" = x; then
8099 READELF="true"
8100 else
8101 case $cross_compiling:$ac_tool_warned in
8102 yes:)
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8105 ac_tool_warned=yes ;;
8106 esac
8107 READELF=$ac_ct_READELF
8109 else
8110 READELF="$ac_cv_prog_READELF"
8113 wine_rules_file=conf$$rules.make
8114 rm -f $wine_rules_file
8115 SUBDIRS=""
8117 DISABLED_SUBDIRS=""
8119 CONFIGURE_TARGETS=""
8122 wine_fn_append_file ()
8124 as_fn_append $1 " \\$as_nl $2"
8127 wine_fn_append_rule ()
8129 $as_echo "$1" >>$wine_rules_file
8132 wine_fn_config_makefile ()
8134 wine_fn_append_file SUBDIRS $1
8135 if eval test \"x\$"$2"\" = x"no"; then :
8136 wine_fn_append_file DISABLED_SUBDIRS $1
8140 wine_fn_config_symlink ()
8142 ac_links=$@
8143 wine_fn_append_rule \
8144 "$ac_links:
8145 @./config.status \$@"
8146 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8149 wine_binary="wine"
8150 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8151 WINELOADER_PROGRAMS="$wine_binary"
8153 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8155 case $host_os in
8156 cygwin*|mingw32*)
8157 if test -n "$ac_tool_prefix"; then
8158 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8159 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8161 $as_echo_n "checking for $ac_word... " >&6; }
8162 if ${ac_cv_prog_DLLTOOL+:} false; then :
8163 $as_echo_n "(cached) " >&6
8164 else
8165 if test -n "$DLLTOOL"; then
8166 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8167 else
8168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8169 for as_dir in $PATH
8171 IFS=$as_save_IFS
8172 test -z "$as_dir" && as_dir=.
8173 for ac_exec_ext in '' $ac_executable_extensions; do
8174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8175 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8177 break 2
8179 done
8180 done
8181 IFS=$as_save_IFS
8185 DLLTOOL=$ac_cv_prog_DLLTOOL
8186 if test -n "$DLLTOOL"; then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8188 $as_echo "$DLLTOOL" >&6; }
8189 else
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8191 $as_echo "no" >&6; }
8196 if test -z "$ac_cv_prog_DLLTOOL"; then
8197 ac_ct_DLLTOOL=$DLLTOOL
8198 # Extract the first word of "dlltool", so it can be a program name with args.
8199 set dummy dlltool; ac_word=$2
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8201 $as_echo_n "checking for $ac_word... " >&6; }
8202 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8203 $as_echo_n "(cached) " >&6
8204 else
8205 if test -n "$ac_ct_DLLTOOL"; then
8206 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8207 else
8208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209 for as_dir in $PATH
8211 IFS=$as_save_IFS
8212 test -z "$as_dir" && as_dir=.
8213 for ac_exec_ext in '' $ac_executable_extensions; do
8214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8215 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8217 break 2
8219 done
8220 done
8221 IFS=$as_save_IFS
8225 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8226 if test -n "$ac_ct_DLLTOOL"; then
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8228 $as_echo "$ac_ct_DLLTOOL" >&6; }
8229 else
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8231 $as_echo "no" >&6; }
8234 if test "x$ac_ct_DLLTOOL" = x; then
8235 DLLTOOL="false"
8236 else
8237 case $cross_compiling:$ac_tool_warned in
8238 yes:)
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8241 ac_tool_warned=yes ;;
8242 esac
8243 DLLTOOL=$ac_ct_DLLTOOL
8245 else
8246 DLLTOOL="$ac_cv_prog_DLLTOOL"
8249 LIBEXT="dll"
8250 DLLEXT=""
8251 case $host_cpu in
8252 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8253 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8254 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8255 $as_echo_n "(cached) " >&6
8256 else
8257 ac_wine_try_cflags_saved=$CFLAGS
8258 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8260 /* end confdefs.h. */
8261 int main(int argc, char **argv) { return 0; }
8262 _ACEOF
8263 if ac_fn_c_try_link "$LINENO"; then :
8264 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8265 else
8266 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8268 rm -f core conftest.err conftest.$ac_objext \
8269 conftest$ac_exeext conftest.$ac_ext
8270 CFLAGS=$ac_wine_try_cflags_saved
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8273 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8274 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8275 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8276 fi ;;
8277 esac
8278 enable_iphlpapi=${enable_iphlpapi:-no}
8279 enable_ws2_32=${enable_ws2_32:-no}
8280 enable_loader=${enable_loader:-no}
8281 enable_server=${enable_server:-no}
8282 with_x=${with_x:-no}
8283 with_pthread=${with_pthread:-no}
8286 darwin*|macosx*)
8287 ac_ext=m
8288 ac_cpp='$OBJCPP $CPPFLAGS'
8289 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8290 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8291 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8293 ac_ext=m
8294 ac_cpp='$OBJCPP $CPPFLAGS'
8295 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8296 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8297 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8298 if test -n "$ac_tool_prefix"; then
8299 for ac_prog in gcc objcc objc cc CC
8301 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8302 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8304 $as_echo_n "checking for $ac_word... " >&6; }
8305 if ${ac_cv_prog_OBJC+:} false; then :
8306 $as_echo_n "(cached) " >&6
8307 else
8308 if test -n "$OBJC"; then
8309 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8310 else
8311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8312 for as_dir in $PATH
8314 IFS=$as_save_IFS
8315 test -z "$as_dir" && as_dir=.
8316 for ac_exec_ext in '' $ac_executable_extensions; do
8317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8318 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8320 break 2
8322 done
8323 done
8324 IFS=$as_save_IFS
8328 OBJC=$ac_cv_prog_OBJC
8329 if test -n "$OBJC"; then
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8331 $as_echo "$OBJC" >&6; }
8332 else
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8334 $as_echo "no" >&6; }
8338 test -n "$OBJC" && break
8339 done
8341 if test -z "$OBJC"; then
8342 ac_ct_OBJC=$OBJC
8343 for ac_prog in gcc objcc objc cc CC
8345 # Extract the first word of "$ac_prog", so it can be a program name with args.
8346 set dummy $ac_prog; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 if test -n "$ac_ct_OBJC"; then
8353 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8354 else
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8356 for as_dir in $PATH
8358 IFS=$as_save_IFS
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364 break 2
8366 done
8367 done
8368 IFS=$as_save_IFS
8372 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8373 if test -n "$ac_ct_OBJC"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8375 $as_echo "$ac_ct_OBJC" >&6; }
8376 else
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8382 test -n "$ac_ct_OBJC" && break
8383 done
8385 if test "x$ac_ct_OBJC" = x; then
8386 OBJC="gcc"
8387 else
8388 case $cross_compiling:$ac_tool_warned in
8389 yes:)
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8392 ac_tool_warned=yes ;;
8393 esac
8394 OBJC=$ac_ct_OBJC
8398 # Provide some information about the compiler.
8399 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8400 set X $ac_compile
8401 ac_compiler=$2
8402 for ac_option in --version -v -V -qversion; do
8403 { { ac_try="$ac_compiler $ac_option >&5"
8404 case "(($ac_try" in
8405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8406 *) ac_try_echo=$ac_try;;
8407 esac
8408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8409 $as_echo "$ac_try_echo"; } >&5
8410 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8411 ac_status=$?
8412 if test -s conftest.err; then
8413 sed '10a\
8414 ... rest of stderr output deleted ...
8415 10q' conftest.err >conftest.er1
8416 cat conftest.er1 >&5
8418 rm -f conftest.er1 conftest.err
8419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8420 test $ac_status = 0; }
8421 done
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8424 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8425 if ${ac_cv_objc_compiler_gnu+:} false; then :
8426 $as_echo_n "(cached) " >&6
8427 else
8428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8432 main ()
8434 #ifndef __GNUC__
8435 choke me
8436 #endif
8439 return 0;
8441 _ACEOF
8442 if ac_fn_objc_try_compile "$LINENO"; then :
8443 ac_compiler_gnu=yes
8444 else
8445 ac_compiler_gnu=no
8447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8448 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8452 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8453 if test $ac_compiler_gnu = yes; then
8454 GOBJC=yes
8455 else
8456 GOBJC=
8458 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8459 ac_save_OBJCFLAGS=$OBJCFLAGS
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8461 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8462 if ${ac_cv_prog_objc_g+:} false; then :
8463 $as_echo_n "(cached) " >&6
8464 else
8465 ac_save_objc_werror_flag=$ac_objc_werror_flag
8466 ac_objc_werror_flag=yes
8467 ac_cv_prog_objc_g=no
8468 OBJCFLAGS="-g"
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8473 main ()
8477 return 0;
8479 _ACEOF
8480 if ac_fn_objc_try_compile "$LINENO"; then :
8481 ac_cv_prog_objc_g=yes
8482 else
8483 OBJCFLAGS=""
8484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8485 /* end confdefs.h. */
8488 main ()
8492 return 0;
8494 _ACEOF
8495 if ac_fn_objc_try_compile "$LINENO"; then :
8497 else
8498 ac_objc_werror_flag=$ac_save_objc_werror_flag
8499 OBJCFLAGS="-g"
8500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8504 main ()
8508 return 0;
8510 _ACEOF
8511 if ac_fn_objc_try_compile "$LINENO"; then :
8512 ac_cv_prog_objc_g=yes
8514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8519 ac_objc_werror_flag=$ac_save_objc_werror_flag
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8522 $as_echo "$ac_cv_prog_objc_g" >&6; }
8523 if test "$ac_test_OBJCFLAGS" = set; then
8524 OBJCFLAGS=$ac_save_OBJCFLAGS
8525 elif test $ac_cv_prog_objc_g = yes; then
8526 if test "$GOBJC" = yes; then
8527 OBJCFLAGS="-g -O2"
8528 else
8529 OBJCFLAGS="-g"
8531 else
8532 if test "$GOBJC" = yes; then
8533 OBJCFLAGS="-O2"
8534 else
8535 OBJCFLAGS=
8538 ac_ext=m
8539 ac_cpp='$OBJCPP $CPPFLAGS'
8540 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8541 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8542 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8545 ac_ext=m
8546 ac_cpp='$OBJCPP $CPPFLAGS'
8547 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8548 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8549 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8551 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8552 if test -z "$OBJCPP"; then
8553 if ${ac_cv_prog_OBJCPP+:} false; then :
8554 $as_echo_n "(cached) " >&6
8555 else
8556 # Double quotes because OBJCPP needs to be expanded
8557 for OBJCPP in "$OBJC -E" "/lib/cpp"
8559 ac_preproc_ok=false
8560 for ac_objc_preproc_warn_flag in '' yes
8562 # Use a header file that comes with gcc, so configuring glibc
8563 # with a fresh cross-compiler works.
8564 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8565 # <limits.h> exists even on freestanding compilers.
8566 # On the NeXT, cc -E runs the code through the compiler's parser,
8567 # not just through cpp. "Syntax error" is here to catch this case.
8568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8569 /* end confdefs.h. */
8570 #ifdef __STDC__
8571 # include <limits.h>
8572 #else
8573 # include <assert.h>
8574 #endif
8575 Syntax error
8576 _ACEOF
8577 if ac_fn_objc_try_cpp "$LINENO"; then :
8579 else
8580 # Broken: fails on valid input.
8581 continue
8583 rm -f conftest.err conftest.i conftest.$ac_ext
8585 # OK, works on sane cases. Now check whether nonexistent headers
8586 # can be detected and how.
8587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8588 /* end confdefs.h. */
8589 #include <ac_nonexistent.h>
8590 _ACEOF
8591 if ac_fn_objc_try_cpp "$LINENO"; then :
8592 # Broken: success on invalid input.
8593 continue
8594 else
8595 # Passes both tests.
8596 ac_preproc_ok=:
8597 break
8599 rm -f conftest.err conftest.i conftest.$ac_ext
8601 done
8602 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8603 rm -f conftest.i conftest.err conftest.$ac_ext
8604 if $ac_preproc_ok; then :
8605 break
8608 done
8609 ac_cv_prog_OBJCPP=$OBJCPP
8612 OBJCPP=$ac_cv_prog_OBJCPP
8613 else
8614 ac_cv_prog_OBJCPP=$OBJCPP
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8617 $as_echo "$OBJCPP" >&6; }
8618 ac_preproc_ok=false
8619 for ac_objc_preproc_warn_flag in '' yes
8621 # Use a header file that comes with gcc, so configuring glibc
8622 # with a fresh cross-compiler works.
8623 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8624 # <limits.h> exists even on freestanding compilers.
8625 # On the NeXT, cc -E runs the code through the compiler's parser,
8626 # not just through cpp. "Syntax error" is here to catch this case.
8627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8628 /* end confdefs.h. */
8629 #ifdef __STDC__
8630 # include <limits.h>
8631 #else
8632 # include <assert.h>
8633 #endif
8634 Syntax error
8635 _ACEOF
8636 if ac_fn_objc_try_cpp "$LINENO"; then :
8638 else
8639 # Broken: fails on valid input.
8640 continue
8642 rm -f conftest.err conftest.i conftest.$ac_ext
8644 # OK, works on sane cases. Now check whether nonexistent headers
8645 # can be detected and how.
8646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8647 /* end confdefs.h. */
8648 #include <ac_nonexistent.h>
8649 _ACEOF
8650 if ac_fn_objc_try_cpp "$LINENO"; then :
8651 # Broken: success on invalid input.
8652 continue
8653 else
8654 # Passes both tests.
8655 ac_preproc_ok=:
8656 break
8658 rm -f conftest.err conftest.i conftest.$ac_ext
8660 done
8661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8662 rm -f conftest.i conftest.err conftest.$ac_ext
8663 if $ac_preproc_ok; then :
8665 else
8666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8668 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8669 See \`config.log' for more details" "$LINENO" 5; }
8672 ac_ext=m
8673 ac_cpp='$OBJCPP $CPPFLAGS'
8674 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8675 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8676 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8679 for ac_header in Metal/Metal.h
8680 do :
8681 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8682 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8683 cat >>confdefs.h <<_ACEOF
8684 #define HAVE_METAL_METAL_H 1
8685 _ACEOF
8689 done
8691 ac_ext=c
8692 ac_cpp='$CPP $CPPFLAGS'
8693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8697 LIBEXT="dylib"
8698 DLLFLAGS="$DLLFLAGS -fPIC"
8699 LDDLLFLAGS="-fPIC"
8700 COREFOUNDATION_LIBS="-framework CoreFoundation"
8702 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8704 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8706 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8708 CORESERVICES_LIBS="-framework CoreServices"
8710 APPKIT_LIBS="-framework AppKit"
8712 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8715 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8717 wine_can_build_preloader=yes
8718 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8720 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8721 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8722 $as_echo_n "(cached) " >&6
8723 else
8724 ac_wine_try_cflags_saved=$CFLAGS
8725 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8728 int main(int argc, char **argv) { return 0; }
8729 _ACEOF
8730 if ac_fn_c_try_link "$LINENO"; then :
8731 ac_cv_cflags__Wl__no_new_main__e__main=yes
8732 else
8733 ac_cv_cflags__Wl__no_new_main__e__main=no
8735 rm -f core conftest.err conftest.$ac_objext \
8736 conftest$ac_exeext conftest.$ac_ext
8737 CFLAGS=$ac_wine_try_cflags_saved
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8740 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8741 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8742 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8744 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8745 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8746 $as_echo_n "(cached) " >&6
8747 else
8748 ac_wine_try_cflags_saved=$CFLAGS
8749 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8751 /* end confdefs.h. */
8752 int main(int argc, char **argv) { return 0; }
8753 _ACEOF
8754 if ac_fn_c_try_link "$LINENO"; then :
8755 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8756 else
8757 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8759 rm -f core conftest.err conftest.$ac_objext \
8760 conftest$ac_exeext conftest.$ac_ext
8761 CFLAGS=$ac_wine_try_cflags_saved
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8764 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8765 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8766 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8767 else
8768 { $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
8769 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8770 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8771 $as_echo_n "(cached) " >&6
8772 else
8773 ac_wine_try_cflags_saved=$CFLAGS
8774 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776 /* end confdefs.h. */
8777 int main(int argc, char **argv) { return 0; }
8778 _ACEOF
8779 if ac_fn_c_try_link "$LINENO"; then :
8780 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8781 else
8782 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8784 rm -f core conftest.err conftest.$ac_objext \
8785 conftest$ac_exeext conftest.$ac_ext
8786 CFLAGS=$ac_wine_try_cflags_saved
8788 { $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
8789 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8790 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8791 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8792 else
8793 wine_can_build_preloader=no
8796 else
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8798 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8799 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8800 $as_echo_n "(cached) " >&6
8801 else
8802 ac_wine_try_cflags_saved=$CFLAGS
8803 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8806 int main(int argc, char **argv) { return 0; }
8807 _ACEOF
8808 if ac_fn_c_try_link "$LINENO"; then :
8809 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8810 else
8811 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8813 rm -f core conftest.err conftest.$ac_objext \
8814 conftest$ac_exeext conftest.$ac_ext
8815 CFLAGS=$ac_wine_try_cflags_saved
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8818 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8819 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8820 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8821 else
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8823 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8824 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8825 $as_echo_n "(cached) " >&6
8826 else
8827 ac_wine_try_cflags_saved=$CFLAGS
8828 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8831 int main(int argc, char **argv) { return 0; }
8832 _ACEOF
8833 if ac_fn_c_try_link "$LINENO"; then :
8834 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8835 else
8836 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8838 rm -f core conftest.err conftest.$ac_objext \
8839 conftest$ac_exeext conftest.$ac_ext
8840 CFLAGS=$ac_wine_try_cflags_saved
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8843 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8844 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8845 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8846 else
8847 wine_can_build_preloader=no
8851 if test "$wine_can_build_preloader" = "yes"
8852 then
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8854 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8855 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8856 $as_echo_n "(cached) " >&6
8857 else
8858 ac_wine_try_cflags_saved=$CFLAGS
8859 CFLAGS="$CFLAGS -Wl,-no_pie"
8860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8861 /* end confdefs.h. */
8862 int main(int argc, char **argv) { return 0; }
8863 _ACEOF
8864 if ac_fn_c_try_link "$LINENO"; then :
8865 ac_cv_cflags__Wl__no_pie=yes
8866 else
8867 ac_cv_cflags__Wl__no_pie=no
8869 rm -f core conftest.err conftest.$ac_objext \
8870 conftest$ac_exeext conftest.$ac_ext
8871 CFLAGS=$ac_wine_try_cflags_saved
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8874 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8875 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8876 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8878 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8879 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8880 else
8881 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8884 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8885 then
8886 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8889 if test "$ac_cv_header_Security_Security_h" = "yes"
8890 then
8891 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8893 ac_save_LIBS="$LIBS"
8894 LIBS="$LIBS $SECURITY_LIBS"
8895 for ac_func in SSLCopyPeerCertificates
8896 do :
8897 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8898 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8899 cat >>confdefs.h <<_ACEOF
8900 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8901 _ACEOF
8904 done
8906 LIBS="$ac_save_LIBS"
8908 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8909 then
8910 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8911 then
8912 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8914 else
8915 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8918 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8919 ac_save_LIBS="$LIBS"
8920 LIBS="$LIBS $COREAUDIO_LIBS"
8921 for ac_func in AUGraphAddNode
8922 do :
8923 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8924 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8925 cat >>confdefs.h <<_ACEOF
8926 #define HAVE_AUGRAPHADDNODE 1
8927 _ACEOF
8930 done
8932 LIBS="$ac_save_LIBS"
8934 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8935 then
8936 OPENAL_LIBS="-framework OpenAL"
8939 cat >>confdefs.h <<_ACEOF
8940 #define HAVE_OPENAL 1
8941 _ACEOF
8943 ac_cv_lib_openal=yes
8945 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8946 then
8947 OPENCL_LIBS="-framework OpenCL"
8949 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8951 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8952 then
8953 ac_save_LIBS="$LIBS"
8954 LIBS="$LIBS $IOKIT_LIBS"
8955 for ac_func in IOHIDManagerCreate
8956 do :
8957 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8958 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8959 cat >>confdefs.h <<_ACEOF
8960 #define HAVE_IOHIDMANAGERCREATE 1
8961 _ACEOF
8964 done
8966 LIBS="$ac_save_LIBS"
8969 if test "x$with_quicktime" != "xno"
8970 then
8971 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8972 then
8973 ac_save_LIBS="$LIBS"
8974 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8976 $as_echo_n "checking for the QuickTime framework... " >&6; }
8977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8978 /* end confdefs.h. */
8979 #include <QuickTime/ImageCompression.h>
8981 main ()
8983 CodecManagerVersion(NULL);
8985 return 0;
8987 _ACEOF
8988 if ac_fn_c_try_link "$LINENO"; then :
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8990 $as_echo "yes" >&6; }
8991 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8993 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8994 else
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8996 $as_echo "no" >&6; }
8997 ac_cv_header_QuickTime_ImageCompression_h=no
8999 rm -f core conftest.err conftest.$ac_objext \
9000 conftest$ac_exeext conftest.$ac_ext
9001 LIBS="$ac_save_LIBS"
9004 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9005 case "x$with_quicktime" in
9006 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9007 xno) ;;
9008 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9009 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9010 esac
9014 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9015 then
9016 CARBON_LIBS="-framework Carbon"
9019 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9020 then
9021 METAL_LIBS="-framework Metal -framework QuartzCore"
9025 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9026 then
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9028 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9029 ac_ext=m
9030 ac_cpp='$OBJCPP $CPPFLAGS'
9031 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9032 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9033 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9036 /* end confdefs.h. */
9037 #include <Metal/Metal.h>
9039 main ()
9041 id<MTLDevice> device; device.registryID;
9043 return 0;
9045 _ACEOF
9046 if ac_fn_objc_try_compile "$LINENO"; then :
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9048 $as_echo "yes" >&6; }
9050 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9052 else
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9054 $as_echo "no" >&6; }
9056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9057 ac_ext=c
9058 ac_cpp='$CPP $CPPFLAGS'
9059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9065 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9066 then
9067 ac_save_LIBS="$LIBS"
9068 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9069 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9070 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9071 enable_winemac_drv=${enable_winemac_drv:-yes}
9074 LIBS="$ac_save_LIBS"
9077 if test "x$enable_win16" = "xyes"
9078 then
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9080 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9081 if test "$cross_compiling" = yes; then :
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9083 $as_echo "cross-compiling, assuming yes" >&6; }
9084 else
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9087 asm(".text\n"
9088 "bad:\tnop;nop\n"
9089 "good:\tnop;nop\n\t"
9090 ".globl _testfunc\n"
9091 "_testfunc:\tcallw good");
9092 extern void testfunc();
9094 main ()
9096 unsigned short *p = (unsigned short *)testfunc;
9097 return p[0] != 0xe866 || p[1] != 0xfffa
9099 return 0;
9101 _ACEOF
9102 if ac_fn_c_try_run "$LINENO"; then :
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9104 $as_echo "yes" >&6; }
9105 else
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9107 $as_echo "no" >&6; }
9108 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
9110 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9111 conftest.$ac_objext conftest.beam conftest.$ac_ext
9116 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9118 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9120 WINELOADER_DEPENDS="wine_info.plist"
9122 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9123 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9126 linux-android*)
9127 DLLFLAGS="$DLLFLAGS -fPIC"
9128 LDDLLFLAGS="-fPIC"
9129 LDEXECFLAGS="-Wl,-pie"
9130 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9132 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9133 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9134 $as_echo_n "(cached) " >&6
9135 else
9136 ac_wine_try_cflags_saved=$CFLAGS
9137 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9140 int main(int argc, char **argv) { return 0; }
9141 _ACEOF
9142 if ac_fn_c_try_link "$LINENO"; then :
9143 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9144 else
9145 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9147 rm -f core conftest.err conftest.$ac_objext \
9148 conftest$ac_exeext conftest.$ac_ext
9149 CFLAGS=$ac_wine_try_cflags_saved
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9152 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9153 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9154 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9156 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9158 LIBWINE_SHAREDLIB="libwine.so"
9160 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9162 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9165 $as_echo_n "checking for -lEGL... " >&6; }
9166 if ${ac_cv_lib_soname_EGL+:} false; then :
9167 $as_echo_n "(cached) " >&6
9168 else
9169 ac_check_soname_save_LIBS=$LIBS
9170 LIBS="-lEGL $LIBS"
9171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9172 /* end confdefs.h. */
9174 /* Override any GCC internal prototype to avoid an error.
9175 Use char because int might match the return type of a GCC
9176 builtin and then its argument prototype would still apply. */
9177 #ifdef __cplusplus
9178 extern "C"
9179 #endif
9180 char eglGetProcAddress ();
9182 main ()
9184 return eglGetProcAddress ();
9186 return 0;
9188 _ACEOF
9189 if ac_fn_c_try_link "$LINENO"; then :
9190 case "$LIBEXT" in
9191 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9192 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'` ;;
9193 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9194 if ${ac_cv_lib_soname_EGL:+false} :; then :
9195 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9196 fi ;;
9197 esac
9198 else
9199 ac_cv_lib_soname_EGL=
9201 rm -f core conftest.err conftest.$ac_objext \
9202 conftest$ac_exeext conftest.$ac_ext
9203 LIBS=$ac_check_soname_save_LIBS
9205 if ${ac_cv_lib_soname_EGL:+false} :; then :
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9207 $as_echo "not found" >&6; }
9209 else
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9211 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9213 cat >>confdefs.h <<_ACEOF
9214 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9215 _ACEOF
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9220 $as_echo_n "checking for -lGLESv2... " >&6; }
9221 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9222 $as_echo_n "(cached) " >&6
9223 else
9224 ac_check_soname_save_LIBS=$LIBS
9225 LIBS="-lGLESv2 $LIBS"
9226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9229 /* Override any GCC internal prototype to avoid an error.
9230 Use char because int might match the return type of a GCC
9231 builtin and then its argument prototype would still apply. */
9232 #ifdef __cplusplus
9233 extern "C"
9234 #endif
9235 char glFlush ();
9237 main ()
9239 return glFlush ();
9241 return 0;
9243 _ACEOF
9244 if ac_fn_c_try_link "$LINENO"; then :
9245 case "$LIBEXT" in
9246 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9247 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'` ;;
9248 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9249 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9250 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9251 fi ;;
9252 esac
9253 else
9254 ac_cv_lib_soname_GLESv2=
9256 rm -f core conftest.err conftest.$ac_objext \
9257 conftest$ac_exeext conftest.$ac_ext
9258 LIBS=$ac_check_soname_save_LIBS
9260 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9262 $as_echo "not found" >&6; }
9264 else
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9266 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9268 cat >>confdefs.h <<_ACEOF
9269 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9270 _ACEOF
9275 if test "x$exec_prefix" = xNONE
9276 then
9277 case $host_cpu in
9278 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9279 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9280 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9281 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9282 esac
9287 case $host_cpu in
9288 *i[3456789]86*)
9289 DLLFLAGS="$DLLFLAGS -fno-PIC"
9290 LDDLLFLAGS="-fno-PIC" ;;
9292 DLLFLAGS="$DLLFLAGS -fPIC"
9293 LDDLLFLAGS="-fPIC" ;;
9294 esac
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9296 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9297 if ${ac_cv_c_dll_gnuelf+:} false; then :
9298 $as_echo_n "(cached) " >&6
9299 else
9300 ac_wine_try_cflags_saved=$CFLAGS
9301 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9303 /* end confdefs.h. */
9304 void myfunc() {}
9305 _ACEOF
9306 if ac_fn_c_try_link "$LINENO"; then :
9307 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9308 else
9309 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9311 rm -f core conftest.err conftest.$ac_objext \
9312 conftest$ac_exeext conftest.$ac_ext
9313 CFLAGS=$ac_wine_try_cflags_saved
9314 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9315 ac_cv_c_dll_gnuelf="yes"
9316 else
9317 ac_cv_c_dll_gnuelf="no"
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9321 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9322 if test "$ac_cv_c_dll_gnuelf" = "yes"
9323 then
9324 LIBWINE_LDFLAGS="-shared"
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9326 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9327 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9328 $as_echo_n "(cached) " >&6
9329 else
9330 ac_wine_try_cflags_saved=$CFLAGS
9331 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9333 /* end confdefs.h. */
9334 int main(int argc, char **argv) { return 0; }
9335 _ACEOF
9336 if ac_fn_c_try_link "$LINENO"; then :
9337 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9338 else
9339 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9341 rm -f core conftest.err conftest.$ac_objext \
9342 conftest$ac_exeext conftest.$ac_ext
9343 CFLAGS=$ac_wine_try_cflags_saved
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9346 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9347 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9348 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9349 else
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9351 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9352 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9353 $as_echo_n "(cached) " >&6
9354 else
9355 ac_wine_try_cflags_saved=$CFLAGS
9356 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9358 /* end confdefs.h. */
9359 int main(int argc, char **argv) { return 0; }
9360 _ACEOF
9361 if ac_fn_c_try_link "$LINENO"; then :
9362 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9363 else
9364 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9366 rm -f core conftest.err conftest.$ac_objext \
9367 conftest$ac_exeext conftest.$ac_ext
9368 CFLAGS=$ac_wine_try_cflags_saved
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9371 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9372 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9373 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9377 echo '{ global: *; };' >conftest.map
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9379 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9380 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9381 $as_echo_n "(cached) " >&6
9382 else
9383 ac_wine_try_cflags_saved=$CFLAGS
9384 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9387 int main(int argc, char **argv) { return 0; }
9388 _ACEOF
9389 if ac_fn_c_try_link "$LINENO"; then :
9390 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9391 else
9392 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9394 rm -f core conftest.err conftest.$ac_objext \
9395 conftest$ac_exeext conftest.$ac_ext
9396 CFLAGS=$ac_wine_try_cflags_saved
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9399 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9400 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9401 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9403 rm -f conftest.map
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9406 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9407 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9408 $as_echo_n "(cached) " >&6
9409 else
9410 ac_wine_try_cflags_saved=$CFLAGS
9411 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9413 /* end confdefs.h. */
9414 int main(int argc, char **argv) { return 0; }
9415 _ACEOF
9416 if ac_fn_c_try_link "$LINENO"; then :
9417 ac_cv_cflags__Wl___export_dynamic=yes
9418 else
9419 ac_cv_cflags__Wl___export_dynamic=no
9421 rm -f core conftest.err conftest.$ac_objext \
9422 conftest$ac_exeext conftest.$ac_ext
9423 CFLAGS=$ac_wine_try_cflags_saved
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9426 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9427 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9428 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9430 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9432 case $host_cpu in
9433 *i[3456789]86* | x86_64 | *aarch64*)
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9435 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9436 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9437 $as_echo_n "(cached) " >&6
9438 else
9439 ac_wine_try_cflags_saved=$CFLAGS
9440 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9443 int main(int argc, char **argv) { return 0; }
9444 _ACEOF
9445 if ac_fn_c_try_link "$LINENO"; then :
9446 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9447 else
9448 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9450 rm -f core conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9452 CFLAGS=$ac_wine_try_cflags_saved
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9455 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9456 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9457 case $host_os in
9458 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9459 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9460 esac
9461 else
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9463 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9464 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9465 $as_echo_n "(cached) " >&6
9466 else
9467 ac_wine_try_cflags_saved=$CFLAGS
9468 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9471 int main(int argc, char **argv) { return 0; }
9472 _ACEOF
9473 if ac_fn_c_try_link "$LINENO"; then :
9474 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9475 else
9476 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9478 rm -f core conftest.err conftest.$ac_objext \
9479 conftest$ac_exeext conftest.$ac_ext
9480 CFLAGS=$ac_wine_try_cflags_saved
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9483 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9484 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9485 case $host_os in
9486 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9487 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9488 esac
9490 # Extract the first word of "prelink", so it can be a program name with args.
9491 set dummy prelink; ac_word=$2
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9493 $as_echo_n "checking for $ac_word... " >&6; }
9494 if ${ac_cv_path_PRELINK+:} false; then :
9495 $as_echo_n "(cached) " >&6
9496 else
9497 case $PRELINK in
9498 [\\/]* | ?:[\\/]*)
9499 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9503 for as_dir in /sbin /usr/sbin $PATH
9505 IFS=$as_save_IFS
9506 test -z "$as_dir" && as_dir=.
9507 for ac_exec_ext in '' $ac_executable_extensions; do
9508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9509 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9511 break 2
9513 done
9514 done
9515 IFS=$as_save_IFS
9517 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9519 esac
9521 PRELINK=$ac_cv_path_PRELINK
9522 if test -n "$PRELINK"; then
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9524 $as_echo "$PRELINK" >&6; }
9525 else
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9527 $as_echo "no" >&6; }
9531 if test "x$PRELINK" = xfalse
9532 then
9533 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9537 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9538 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9539 $as_echo_n "(cached) " >&6
9540 else
9541 ac_wine_try_cflags_saved=$CFLAGS
9542 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9544 /* end confdefs.h. */
9545 int main(int argc, char **argv) { return 0; }
9546 _ACEOF
9547 if ac_fn_c_try_link "$LINENO"; then :
9548 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9549 else
9550 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9552 rm -f core conftest.err conftest.$ac_objext \
9553 conftest$ac_exeext conftest.$ac_ext
9554 CFLAGS=$ac_wine_try_cflags_saved
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9557 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9558 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9559 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9562 esac
9564 else
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9566 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9567 if ${ac_cv_c_dll_unixware+:} false; then :
9568 $as_echo_n "(cached) " >&6
9569 else
9570 ac_wine_try_cflags_saved=$CFLAGS
9571 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9573 /* end confdefs.h. */
9574 void myfunc() {}
9575 _ACEOF
9576 if ac_fn_c_try_link "$LINENO"; then :
9577 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9578 else
9579 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9581 rm -f core conftest.err conftest.$ac_objext \
9582 conftest$ac_exeext conftest.$ac_ext
9583 CFLAGS=$ac_wine_try_cflags_saved
9584 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9585 ac_cv_c_dll_unixware="yes"
9586 else
9587 ac_cv_c_dll_unixware="no"
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9591 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9592 if test "$ac_cv_c_dll_unixware" = "yes"
9593 then
9594 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9597 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9599 LIBWINE_DEPENDS="wine.map"
9601 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9602 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9604 esac
9606 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9607 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9608 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9609 enable_winemac_drv=${enable_winemac_drv:-no}
9610 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9613 if test "x$with_mingw" != xno
9614 then
9615 case "x$with_mingw" in
9616 x|xyes) case "$host_cpu" in
9617 aarch64*)
9618 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9619 arm*)
9620 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9621 i[3456789]86*)
9622 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
9623 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9624 mingw32-gcc" ;;
9625 x86_64)
9626 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
9627 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9629 ac_prefix_list="" ;;
9630 esac
9631 for ac_prog in $ac_prefix_list
9633 # Extract the first word of "$ac_prog", so it can be a program name with args.
9634 set dummy $ac_prog; ac_word=$2
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9636 $as_echo_n "checking for $ac_word... " >&6; }
9637 if ${ac_cv_prog_CROSSCC+:} false; then :
9638 $as_echo_n "(cached) " >&6
9639 else
9640 if test -n "$CROSSCC"; then
9641 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9642 else
9643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9644 for as_dir in $PATH
9646 IFS=$as_save_IFS
9647 test -z "$as_dir" && as_dir=.
9648 for ac_exec_ext in '' $ac_executable_extensions; do
9649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9650 ac_cv_prog_CROSSCC="$ac_prog"
9651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9652 break 2
9654 done
9655 done
9656 IFS=$as_save_IFS
9660 CROSSCC=$ac_cv_prog_CROSSCC
9661 if test -n "$CROSSCC"; then
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9663 $as_echo "$CROSSCC" >&6; }
9664 else
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9666 $as_echo "no" >&6; }
9670 test -n "$CROSSCC" && break
9671 done
9672 test -n "$CROSSCC" || CROSSCC="false"
9674 *) CROSSCC=$with_mingw ;;
9675 esac
9676 if test "$CROSSCC" != "false"
9677 then
9678 ac_save_CC="$CC"
9679 saved_CFLAGS=$CFLAGS
9680 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9682 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9686 CC="$CROSSCC"
9687 CFLAGS=$CROSSCFLAGS
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9689 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9690 if ${wine_cv_crosscc+:} false; then :
9691 $as_echo_n "(cached) " >&6
9692 else
9693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9694 /* end confdefs.h. */
9697 main ()
9701 return 0;
9703 _ACEOF
9704 if ac_fn_c_try_compile "$LINENO"; then :
9705 wine_cv_crosscc=yes
9706 else
9707 wine_cv_crosscc=no
9709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9712 $as_echo "$wine_cv_crosscc" >&6; }
9713 if test $wine_cv_crosscc = yes
9714 then
9715 set x $CROSSCC
9716 shift
9717 while test $# -ge 1
9719 case "$1" in
9720 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9721 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9722 esac
9723 shift
9724 done
9726 llvm_target=$CROSSTARGET
9727 llvm_cflags="-fuse-ld=lld"
9728 if test -z "$llvm_target"
9729 then
9730 case $host_cpu in
9731 *i[3456789]86*) llvm_target=i686-windows ;;
9732 *) llvm_target=$host_cpu-windows ;;
9733 esac
9735 case $llvm_target in
9736 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9737 esac
9738 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9740 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9741 if eval \${$as_ac_var+:} false; then :
9742 $as_echo_n "(cached) " >&6
9743 else
9744 ac_wine_try_cflags_saved=$CFLAGS
9745 ac_wine_try_cflags_saved_cc=$CC
9746 ac_wine_try_cflags_saved_exeext=$ac_exeext
9747 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9748 CC="$CROSSCC"
9749 ac_exeext=".exe"
9750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9751 /* end confdefs.h. */
9752 int __cdecl mainCRTStartup(void) { return 0; }
9753 _ACEOF
9754 if ac_fn_c_try_link "$LINENO"; then :
9755 eval "$as_ac_var=yes"
9756 else
9757 eval "$as_ac_var=no"
9759 rm -f core conftest.err conftest.$ac_objext \
9760 conftest$ac_exeext conftest.$ac_ext
9761 CFLAGS=$ac_wine_try_cflags_saved
9762 CC=$ac_wine_try_cflags_saved_cc
9763 ac_exeext=$ac_wine_try_cflags_saved_exeext
9765 eval ac_res=\$$as_ac_var
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9767 $as_echo "$ac_res" >&6; }
9768 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9769 CROSSTARGET=$llvm_target
9770 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9771 DELAYLOADFLAG="-Wl,-delayload,"
9773 CFLAGS="$CFLAGS $llvm_cflags"
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9777 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9778 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9779 $as_echo_n "(cached) " >&6
9780 else
9781 ac_wine_try_cflags_saved=$CFLAGS
9782 ac_wine_try_cflags_saved_cc=$CC
9783 ac_wine_try_cflags_saved_exeext=$ac_exeext
9784 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9785 CC="$CROSSCC"
9786 ac_exeext=".exe"
9787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9788 /* end confdefs.h. */
9789 int __cdecl mainCRTStartup(void) { return 0; }
9790 _ACEOF
9791 if ac_fn_c_try_link "$LINENO"; then :
9792 ac_cv_crosscflags__fno_strict_aliasing=yes
9793 else
9794 ac_cv_crosscflags__fno_strict_aliasing=no
9796 rm -f core conftest.err conftest.$ac_objext \
9797 conftest$ac_exeext conftest.$ac_ext
9798 CFLAGS=$ac_wine_try_cflags_saved
9799 CC=$ac_wine_try_cflags_saved_cc
9800 ac_exeext=$ac_wine_try_cflags_saved_exeext
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9803 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9804 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9805 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9808 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9809 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9810 $as_echo_n "(cached) " >&6
9811 else
9812 ac_wine_try_cflags_saved=$CFLAGS
9813 ac_wine_try_cflags_saved_cc=$CC
9814 ac_wine_try_cflags_saved_exeext=$ac_exeext
9815 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9816 CC="$CROSSCC"
9817 ac_exeext=".exe"
9818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h. */
9820 int __cdecl mainCRTStartup(void) { return 0; }
9821 _ACEOF
9822 if ac_fn_c_try_link "$LINENO"; then :
9823 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9824 else
9825 ac_cv_crosscflags__Werror_unknown_warning_option=no
9827 rm -f core conftest.err conftest.$ac_objext \
9828 conftest$ac_exeext conftest.$ac_ext
9829 CFLAGS=$ac_wine_try_cflags_saved
9830 CC=$ac_wine_try_cflags_saved_cc
9831 ac_exeext=$ac_wine_try_cflags_saved_exeext
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9834 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9835 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9836 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9839 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9840 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9841 $as_echo_n "(cached) " >&6
9842 else
9843 ac_wine_try_cflags_saved=$CFLAGS
9844 ac_wine_try_cflags_saved_cc=$CC
9845 ac_wine_try_cflags_saved_exeext=$ac_exeext
9846 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9847 CC="$CROSSCC"
9848 ac_exeext=".exe"
9849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9850 /* end confdefs.h. */
9851 int __cdecl mainCRTStartup(void) { return 0; }
9852 _ACEOF
9853 if ac_fn_c_try_link "$LINENO"; then :
9854 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9855 else
9856 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9858 rm -f core conftest.err conftest.$ac_objext \
9859 conftest$ac_exeext conftest.$ac_ext
9860 CFLAGS=$ac_wine_try_cflags_saved
9861 CC=$ac_wine_try_cflags_saved_cc
9862 ac_exeext=$ac_wine_try_cflags_saved_exeext
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9865 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9866 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9867 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9870 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9871 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9872 $as_echo_n "(cached) " >&6
9873 else
9874 ac_wine_try_cflags_saved=$CFLAGS
9875 ac_wine_try_cflags_saved_cc=$CC
9876 ac_wine_try_cflags_saved_exeext=$ac_exeext
9877 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9878 CC="$CROSSCC"
9879 ac_exeext=".exe"
9880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9882 int __cdecl mainCRTStartup(void) { return 0; }
9883 _ACEOF
9884 if ac_fn_c_try_link "$LINENO"; then :
9885 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9886 else
9887 ac_cv_crosscflags__Wdeclaration_after_statement=no
9889 rm -f core conftest.err conftest.$ac_objext \
9890 conftest$ac_exeext conftest.$ac_ext
9891 CFLAGS=$ac_wine_try_cflags_saved
9892 CC=$ac_wine_try_cflags_saved_cc
9893 ac_exeext=$ac_wine_try_cflags_saved_exeext
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9896 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9897 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9898 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9901 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9902 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9903 $as_echo_n "(cached) " >&6
9904 else
9905 ac_wine_try_cflags_saved=$CFLAGS
9906 ac_wine_try_cflags_saved_cc=$CC
9907 ac_wine_try_cflags_saved_exeext=$ac_exeext
9908 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9909 CC="$CROSSCC"
9910 ac_exeext=".exe"
9911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9912 /* end confdefs.h. */
9913 int __cdecl mainCRTStartup(void) { return 0; }
9914 _ACEOF
9915 if ac_fn_c_try_link "$LINENO"; then :
9916 ac_cv_crosscflags__Wempty_body=yes
9917 else
9918 ac_cv_crosscflags__Wempty_body=no
9920 rm -f core conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 CFLAGS=$ac_wine_try_cflags_saved
9923 CC=$ac_wine_try_cflags_saved_cc
9924 ac_exeext=$ac_wine_try_cflags_saved_exeext
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9927 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9928 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9929 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9932 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9933 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9934 $as_echo_n "(cached) " >&6
9935 else
9936 ac_wine_try_cflags_saved=$CFLAGS
9937 ac_wine_try_cflags_saved_cc=$CC
9938 ac_wine_try_cflags_saved_exeext=$ac_exeext
9939 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9940 CC="$CROSSCC"
9941 ac_exeext=".exe"
9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9944 int __cdecl mainCRTStartup(void) { return 0; }
9945 _ACEOF
9946 if ac_fn_c_try_link "$LINENO"; then :
9947 ac_cv_crosscflags__Wignored_qualifiers=yes
9948 else
9949 ac_cv_crosscflags__Wignored_qualifiers=no
9951 rm -f core conftest.err conftest.$ac_objext \
9952 conftest$ac_exeext conftest.$ac_ext
9953 CFLAGS=$ac_wine_try_cflags_saved
9954 CC=$ac_wine_try_cflags_saved_cc
9955 ac_exeext=$ac_wine_try_cflags_saved_exeext
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9958 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9959 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9960 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9963 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9964 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9965 $as_echo_n "(cached) " >&6
9966 else
9967 ac_wine_try_cflags_saved=$CFLAGS
9968 ac_wine_try_cflags_saved_cc=$CC
9969 ac_wine_try_cflags_saved_exeext=$ac_exeext
9970 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9971 CC="$CROSSCC"
9972 ac_exeext=".exe"
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9975 int __cdecl mainCRTStartup(void) { return 0; }
9976 _ACEOF
9977 if ac_fn_c_try_link "$LINENO"; then :
9978 ac_cv_crosscflags__Wpacked_not_aligned=yes
9979 else
9980 ac_cv_crosscflags__Wpacked_not_aligned=no
9982 rm -f core conftest.err conftest.$ac_objext \
9983 conftest$ac_exeext conftest.$ac_ext
9984 CFLAGS=$ac_wine_try_cflags_saved
9985 CC=$ac_wine_try_cflags_saved_cc
9986 ac_exeext=$ac_wine_try_cflags_saved_exeext
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9989 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9990 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9991 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9994 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9995 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9996 $as_echo_n "(cached) " >&6
9997 else
9998 ac_wine_try_cflags_saved=$CFLAGS
9999 ac_wine_try_cflags_saved_cc=$CC
10000 ac_wine_try_cflags_saved_exeext=$ac_exeext
10001 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10002 CC="$CROSSCC"
10003 ac_exeext=".exe"
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10006 int __cdecl mainCRTStartup(void) { return 0; }
10007 _ACEOF
10008 if ac_fn_c_try_link "$LINENO"; then :
10009 ac_cv_crosscflags__Wpragma_pack=yes
10010 else
10011 ac_cv_crosscflags__Wpragma_pack=no
10013 rm -f core conftest.err conftest.$ac_objext \
10014 conftest$ac_exeext conftest.$ac_ext
10015 CFLAGS=$ac_wine_try_cflags_saved
10016 CC=$ac_wine_try_cflags_saved_cc
10017 ac_exeext=$ac_wine_try_cflags_saved_exeext
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10020 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10021 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10022 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10025 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10026 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10027 $as_echo_n "(cached) " >&6
10028 else
10029 ac_wine_try_cflags_saved=$CFLAGS
10030 ac_wine_try_cflags_saved_cc=$CC
10031 ac_wine_try_cflags_saved_exeext=$ac_exeext
10032 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10033 CC="$CROSSCC"
10034 ac_exeext=".exe"
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10037 int __cdecl mainCRTStartup(void) { return 0; }
10038 _ACEOF
10039 if ac_fn_c_try_link "$LINENO"; then :
10040 ac_cv_crosscflags__Wshift_overflow_2=yes
10041 else
10042 ac_cv_crosscflags__Wshift_overflow_2=no
10044 rm -f core conftest.err conftest.$ac_objext \
10045 conftest$ac_exeext conftest.$ac_ext
10046 CFLAGS=$ac_wine_try_cflags_saved
10047 CC=$ac_wine_try_cflags_saved_cc
10048 ac_exeext=$ac_wine_try_cflags_saved_exeext
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10051 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10052 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10053 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10056 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10057 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10058 $as_echo_n "(cached) " >&6
10059 else
10060 ac_wine_try_cflags_saved=$CFLAGS
10061 ac_wine_try_cflags_saved_cc=$CC
10062 ac_wine_try_cflags_saved_exeext=$ac_exeext
10063 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10064 CC="$CROSSCC"
10065 ac_exeext=".exe"
10066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10068 int __cdecl mainCRTStartup(void) { return 0; }
10069 _ACEOF
10070 if ac_fn_c_try_link "$LINENO"; then :
10071 ac_cv_crosscflags__Wstrict_prototypes=yes
10072 else
10073 ac_cv_crosscflags__Wstrict_prototypes=no
10075 rm -f core conftest.err conftest.$ac_objext \
10076 conftest$ac_exeext conftest.$ac_ext
10077 CFLAGS=$ac_wine_try_cflags_saved
10078 CC=$ac_wine_try_cflags_saved_cc
10079 ac_exeext=$ac_wine_try_cflags_saved_exeext
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10082 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10083 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10084 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10087 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10088 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10089 $as_echo_n "(cached) " >&6
10090 else
10091 ac_wine_try_cflags_saved=$CFLAGS
10092 ac_wine_try_cflags_saved_cc=$CC
10093 ac_wine_try_cflags_saved_exeext=$ac_exeext
10094 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10095 CC="$CROSSCC"
10096 ac_exeext=".exe"
10097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10098 /* end confdefs.h. */
10099 int __cdecl mainCRTStartup(void) { return 0; }
10100 _ACEOF
10101 if ac_fn_c_try_link "$LINENO"; then :
10102 ac_cv_crosscflags__Wtype_limits=yes
10103 else
10104 ac_cv_crosscflags__Wtype_limits=no
10106 rm -f core conftest.err conftest.$ac_objext \
10107 conftest$ac_exeext conftest.$ac_ext
10108 CFLAGS=$ac_wine_try_cflags_saved
10109 CC=$ac_wine_try_cflags_saved_cc
10110 ac_exeext=$ac_wine_try_cflags_saved_exeext
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10113 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10114 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10115 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10118 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10119 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10120 $as_echo_n "(cached) " >&6
10121 else
10122 ac_wine_try_cflags_saved=$CFLAGS
10123 ac_wine_try_cflags_saved_cc=$CC
10124 ac_wine_try_cflags_saved_exeext=$ac_exeext
10125 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10126 CC="$CROSSCC"
10127 ac_exeext=".exe"
10128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10130 int __cdecl mainCRTStartup(void) { return 0; }
10131 _ACEOF
10132 if ac_fn_c_try_link "$LINENO"; then :
10133 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10134 else
10135 ac_cv_crosscflags__Wunused_but_set_parameter=no
10137 rm -f core conftest.err conftest.$ac_objext \
10138 conftest$ac_exeext conftest.$ac_ext
10139 CFLAGS=$ac_wine_try_cflags_saved
10140 CC=$ac_wine_try_cflags_saved_cc
10141 ac_exeext=$ac_wine_try_cflags_saved_exeext
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10144 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10145 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10146 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10149 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10150 if ${ac_cv_crosscflags__Wvla+:} false; then :
10151 $as_echo_n "(cached) " >&6
10152 else
10153 ac_wine_try_cflags_saved=$CFLAGS
10154 ac_wine_try_cflags_saved_cc=$CC
10155 ac_wine_try_cflags_saved_exeext=$ac_exeext
10156 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10157 CC="$CROSSCC"
10158 ac_exeext=".exe"
10159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10161 int __cdecl mainCRTStartup(void) { return 0; }
10162 _ACEOF
10163 if ac_fn_c_try_link "$LINENO"; then :
10164 ac_cv_crosscflags__Wvla=yes
10165 else
10166 ac_cv_crosscflags__Wvla=no
10168 rm -f core conftest.err conftest.$ac_objext \
10169 conftest$ac_exeext conftest.$ac_ext
10170 CFLAGS=$ac_wine_try_cflags_saved
10171 CC=$ac_wine_try_cflags_saved_cc
10172 ac_exeext=$ac_wine_try_cflags_saved_exeext
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10175 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10176 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10177 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10180 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10181 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10182 $as_echo_n "(cached) " >&6
10183 else
10184 ac_wine_try_cflags_saved=$CFLAGS
10185 ac_wine_try_cflags_saved_cc=$CC
10186 ac_wine_try_cflags_saved_exeext=$ac_exeext
10187 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10188 CC="$CROSSCC"
10189 ac_exeext=".exe"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10192 int __cdecl mainCRTStartup(void) { return 0; }
10193 _ACEOF
10194 if ac_fn_c_try_link "$LINENO"; then :
10195 ac_cv_crosscflags__Wwrite_strings=yes
10196 else
10197 ac_cv_crosscflags__Wwrite_strings=no
10199 rm -f core conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 CFLAGS=$ac_wine_try_cflags_saved
10202 CC=$ac_wine_try_cflags_saved_cc
10203 ac_exeext=$ac_wine_try_cflags_saved_exeext
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10206 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10207 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10208 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10211 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10212 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10213 $as_echo_n "(cached) " >&6
10214 else
10215 ac_wine_try_cflags_saved=$CFLAGS
10216 ac_wine_try_cflags_saved_cc=$CC
10217 ac_wine_try_cflags_saved_exeext=$ac_exeext
10218 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10219 CC="$CROSSCC"
10220 ac_exeext=".exe"
10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10223 int __cdecl mainCRTStartup(void) { return 0; }
10224 _ACEOF
10225 if ac_fn_c_try_link "$LINENO"; then :
10226 ac_cv_crosscflags__Wpointer_arith=yes
10227 else
10228 ac_cv_crosscflags__Wpointer_arith=no
10230 rm -f core conftest.err conftest.$ac_objext \
10231 conftest$ac_exeext conftest.$ac_ext
10232 CFLAGS=$ac_wine_try_cflags_saved
10233 CC=$ac_wine_try_cflags_saved_cc
10234 ac_exeext=$ac_wine_try_cflags_saved_exeext
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10237 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10238 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10239 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10242 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10243 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10244 $as_echo_n "(cached) " >&6
10245 else
10246 ac_wine_try_cflags_saved=$CFLAGS
10247 ac_wine_try_cflags_saved_cc=$CC
10248 ac_wine_try_cflags_saved_exeext=$ac_exeext
10249 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10250 CC="$CROSSCC"
10251 ac_exeext=".exe"
10252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10254 int __cdecl mainCRTStartup(void) { return 0; }
10255 _ACEOF
10256 if ac_fn_c_try_link "$LINENO"; then :
10257 ac_cv_crosscflags__Wlogical_op=yes
10258 else
10259 ac_cv_crosscflags__Wlogical_op=no
10261 rm -f core conftest.err conftest.$ac_objext \
10262 conftest$ac_exeext conftest.$ac_ext
10263 CFLAGS=$ac_wine_try_cflags_saved
10264 CC=$ac_wine_try_cflags_saved_cc
10265 ac_exeext=$ac_wine_try_cflags_saved_exeext
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10268 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10269 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10270 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10273 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10274 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10275 $as_echo_n "(cached) " >&6
10276 else
10277 ac_wine_try_cflags_saved=$CFLAGS
10278 ac_wine_try_cflags_saved_cc=$CC
10279 ac_wine_try_cflags_saved_exeext=$ac_exeext
10280 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10281 CC="$CROSSCC"
10282 ac_exeext=".exe"
10283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10284 /* end confdefs.h. */
10285 int __cdecl mainCRTStartup(void) { return 0; }
10286 _ACEOF
10287 if ac_fn_c_try_link "$LINENO"; then :
10288 ac_cv_crosscflags__Wabsolute_value=yes
10289 else
10290 ac_cv_crosscflags__Wabsolute_value=no
10292 rm -f core conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 CFLAGS=$ac_wine_try_cflags_saved
10295 CC=$ac_wine_try_cflags_saved_cc
10296 ac_exeext=$ac_wine_try_cflags_saved_exeext
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10299 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10300 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10301 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10304 case $host_cpu in
10305 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10306 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10307 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10308 $as_echo_n "(cached) " >&6
10309 else
10310 ac_wine_try_cflags_saved=$CFLAGS
10311 ac_wine_try_cflags_saved_cc=$CC
10312 ac_wine_try_cflags_saved_exeext=$ac_exeext
10313 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10314 CC="$CROSSCC"
10315 ac_exeext=".exe"
10316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10317 /* end confdefs.h. */
10318 int __cdecl mainCRTStartup(void) { return 0; }
10319 _ACEOF
10320 if ac_fn_c_try_link "$LINENO"; then :
10321 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10322 else
10323 ac_cv_crosscflags__fno_omit_frame_pointer=no
10325 rm -f core conftest.err conftest.$ac_objext \
10326 conftest$ac_exeext conftest.$ac_ext
10327 CFLAGS=$ac_wine_try_cflags_saved
10328 CC=$ac_wine_try_cflags_saved_cc
10329 ac_exeext=$ac_wine_try_cflags_saved_exeext
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10332 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10333 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10334 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10335 fi ;;
10336 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10337 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10338 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10339 $as_echo_n "(cached) " >&6
10340 else
10341 ac_wine_try_cflags_saved=$CFLAGS
10342 ac_wine_try_cflags_saved_cc=$CC
10343 ac_wine_try_cflags_saved_exeext=$ac_exeext
10344 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10345 CC="$CROSSCC"
10346 ac_exeext=".exe"
10347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10348 /* end confdefs.h. */
10349 int __cdecl mainCRTStartup(void) { return 0; }
10350 _ACEOF
10351 if ac_fn_c_try_link "$LINENO"; then :
10352 ac_cv_crosscflags__Wno_format=yes
10353 else
10354 ac_cv_crosscflags__Wno_format=no
10356 rm -f core conftest.err conftest.$ac_objext \
10357 conftest$ac_exeext conftest.$ac_ext
10358 CFLAGS=$ac_wine_try_cflags_saved
10359 CC=$ac_wine_try_cflags_saved_cc
10360 ac_exeext=$ac_wine_try_cflags_saved_exeext
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10363 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10364 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10365 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10368 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10369 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10370 $as_echo_n "(cached) " >&6
10371 else
10372 ac_wine_try_cflags_saved=$CFLAGS
10373 ac_wine_try_cflags_saved_cc=$CC
10374 ac_wine_try_cflags_saved_exeext=$ac_exeext
10375 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10376 CC="$CROSSCC"
10377 ac_exeext=".exe"
10378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10380 int __cdecl mainCRTStartup(void) { return 0; }
10381 _ACEOF
10382 if ac_fn_c_try_link "$LINENO"; then :
10383 ac_cv_crosscflags__Wformat_overflow=yes
10384 else
10385 ac_cv_crosscflags__Wformat_overflow=no
10387 rm -f core conftest.err conftest.$ac_objext \
10388 conftest$ac_exeext conftest.$ac_ext
10389 CFLAGS=$ac_wine_try_cflags_saved
10390 CC=$ac_wine_try_cflags_saved_cc
10391 ac_exeext=$ac_wine_try_cflags_saved_exeext
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10394 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10395 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10396 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10399 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10400 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10401 $as_echo_n "(cached) " >&6
10402 else
10403 ac_wine_try_cflags_saved=$CFLAGS
10404 ac_wine_try_cflags_saved_cc=$CC
10405 ac_wine_try_cflags_saved_exeext=$ac_exeext
10406 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10407 CC="$CROSSCC"
10408 ac_exeext=".exe"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10411 int __cdecl mainCRTStartup(void) { return 0; }
10412 _ACEOF
10413 if ac_fn_c_try_link "$LINENO"; then :
10414 ac_cv_crosscflags__Wnonnull=yes
10415 else
10416 ac_cv_crosscflags__Wnonnull=no
10418 rm -f core conftest.err conftest.$ac_objext \
10419 conftest$ac_exeext conftest.$ac_ext
10420 CFLAGS=$ac_wine_try_cflags_saved
10421 CC=$ac_wine_try_cflags_saved_cc
10422 ac_exeext=$ac_wine_try_cflags_saved_exeext
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10425 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10426 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10427 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10430 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10431 if ${ac_cv_crosscflags__mcx16+:} false; then :
10432 $as_echo_n "(cached) " >&6
10433 else
10434 ac_wine_try_cflags_saved=$CFLAGS
10435 ac_wine_try_cflags_saved_cc=$CC
10436 ac_wine_try_cflags_saved_exeext=$ac_exeext
10437 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10438 CC="$CROSSCC"
10439 ac_exeext=".exe"
10440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10441 /* end confdefs.h. */
10442 int __cdecl mainCRTStartup(void) { return 0; }
10443 _ACEOF
10444 if ac_fn_c_try_link "$LINENO"; then :
10445 ac_cv_crosscflags__mcx16=yes
10446 else
10447 ac_cv_crosscflags__mcx16=no
10449 rm -f core conftest.err conftest.$ac_objext \
10450 conftest$ac_exeext conftest.$ac_ext
10451 CFLAGS=$ac_wine_try_cflags_saved
10452 CC=$ac_wine_try_cflags_saved_cc
10453 ac_exeext=$ac_wine_try_cflags_saved_exeext
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10456 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10457 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10458 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10459 fi ;;
10460 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10461 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10462 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10463 $as_echo_n "(cached) " >&6
10464 else
10465 ac_wine_try_cflags_saved=$CFLAGS
10466 ac_wine_try_cflags_saved_cc=$CC
10467 ac_wine_try_cflags_saved_exeext=$ac_exeext
10468 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10469 CC="$CROSSCC"
10470 ac_exeext=".exe"
10471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10472 /* end confdefs.h. */
10473 int __cdecl mainCRTStartup(void) { return 0; }
10474 _ACEOF
10475 if ac_fn_c_try_link "$LINENO"; then :
10476 ac_cv_crosscflags__Wno_format=yes
10477 else
10478 ac_cv_crosscflags__Wno_format=no
10480 rm -f core conftest.err conftest.$ac_objext \
10481 conftest$ac_exeext conftest.$ac_ext
10482 CFLAGS=$ac_wine_try_cflags_saved
10483 CC=$ac_wine_try_cflags_saved_cc
10484 ac_exeext=$ac_wine_try_cflags_saved_exeext
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10487 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10488 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10489 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10490 fi ;;
10491 esac
10494 if test -z "$CROSSDEBUG"
10495 then
10496 for ac_flag in $CROSSCFLAGS; do
10497 case $ac_flag in
10498 -gdwarf*) CROSSDEBUG=dwarf ;;
10499 -gcodeview) CROSSDEBUG=pdb ;;
10500 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10501 esac
10502 done
10504 case $CROSSDEBUG in
10505 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10506 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10507 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10508 $as_echo_n "(cached) " >&6
10509 else
10510 ac_wine_try_cflags_saved=$CFLAGS
10511 ac_wine_try_cflags_saved_cc=$CC
10512 ac_wine_try_cflags_saved_exeext=$ac_exeext
10513 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10514 CC="$CROSSCC"
10515 ac_exeext=".exe"
10516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10517 /* end confdefs.h. */
10518 int __cdecl mainCRTStartup(void) { return 0; }
10519 _ACEOF
10520 if ac_fn_c_try_link "$LINENO"; then :
10521 ac_cv_crosscflags__gdwarf_2=yes
10522 else
10523 ac_cv_crosscflags__gdwarf_2=no
10525 rm -f core conftest.err conftest.$ac_objext \
10526 conftest$ac_exeext conftest.$ac_ext
10527 CFLAGS=$ac_wine_try_cflags_saved
10528 CC=$ac_wine_try_cflags_saved_cc
10529 ac_exeext=$ac_wine_try_cflags_saved_exeext
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10532 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10533 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10534 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10537 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10538 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10539 $as_echo_n "(cached) " >&6
10540 else
10541 ac_wine_try_cflags_saved=$CFLAGS
10542 ac_wine_try_cflags_saved_cc=$CC
10543 ac_wine_try_cflags_saved_exeext=$ac_exeext
10544 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10545 CC="$CROSSCC"
10546 ac_exeext=".exe"
10547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10548 /* end confdefs.h. */
10549 int __cdecl mainCRTStartup(void) { return 0; }
10550 _ACEOF
10551 if ac_fn_c_try_link "$LINENO"; then :
10552 ac_cv_crosscflags__gstrict_dwarf=yes
10553 else
10554 ac_cv_crosscflags__gstrict_dwarf=no
10556 rm -f core conftest.err conftest.$ac_objext \
10557 conftest$ac_exeext conftest.$ac_ext
10558 CFLAGS=$ac_wine_try_cflags_saved
10559 CC=$ac_wine_try_cflags_saved_cc
10560 ac_exeext=$ac_wine_try_cflags_saved_exeext
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10563 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10564 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10565 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10566 fi ;;
10567 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10568 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10569 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10570 $as_echo_n "(cached) " >&6
10571 else
10572 ac_wine_try_cflags_saved=$CFLAGS
10573 ac_wine_try_cflags_saved_cc=$CC
10574 ac_wine_try_cflags_saved_exeext=$ac_exeext
10575 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10576 CC="$CROSSCC"
10577 ac_exeext=".exe"
10578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10579 /* end confdefs.h. */
10580 int __cdecl mainCRTStartup(void) { return 0; }
10581 _ACEOF
10582 if ac_fn_c_try_link "$LINENO"; then :
10583 ac_cv_crosscflags__gcodeview=yes
10584 else
10585 ac_cv_crosscflags__gcodeview=no
10587 rm -f core conftest.err conftest.$ac_objext \
10588 conftest$ac_exeext conftest.$ac_ext
10589 CFLAGS=$ac_wine_try_cflags_saved
10590 CC=$ac_wine_try_cflags_saved_cc
10591 ac_exeext=$ac_wine_try_cflags_saved_exeext
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10594 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10595 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10596 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10597 fi ;;
10598 esac
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10601 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10602 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10603 $as_echo_n "(cached) " >&6
10604 else
10605 ac_wine_try_cflags_saved=$CFLAGS
10606 ac_wine_try_cflags_saved_cc=$CC
10607 ac_wine_try_cflags_saved_exeext=$ac_exeext
10608 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10609 CC="$CROSSCC"
10610 ac_exeext=".exe"
10611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10612 /* end confdefs.h. */
10613 int __cdecl mainCRTStartup(void) { return 0; }
10614 _ACEOF
10615 if ac_fn_c_try_link "$LINENO"; then :
10616 ac_cv_crosscflags__fexcess_precision_standard=yes
10617 else
10618 ac_cv_crosscflags__fexcess_precision_standard=no
10620 rm -f core conftest.err conftest.$ac_objext \
10621 conftest$ac_exeext conftest.$ac_ext
10622 CFLAGS=$ac_wine_try_cflags_saved
10623 CC=$ac_wine_try_cflags_saved_cc
10624 ac_exeext=$ac_wine_try_cflags_saved_exeext
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10627 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10628 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10629 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10633 if test "x$enable_werror" = "xyes"
10634 then
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10636 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10637 if ${ac_cv_crosscflags__Werror+:} false; then :
10638 $as_echo_n "(cached) " >&6
10639 else
10640 ac_wine_try_cflags_saved=$CFLAGS
10641 ac_wine_try_cflags_saved_cc=$CC
10642 ac_wine_try_cflags_saved_exeext=$ac_exeext
10643 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10644 CC="$CROSSCC"
10645 ac_exeext=".exe"
10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10648 int __cdecl mainCRTStartup(void) { return 0; }
10649 _ACEOF
10650 if ac_fn_c_try_link "$LINENO"; then :
10651 ac_cv_crosscflags__Werror=yes
10652 else
10653 ac_cv_crosscflags__Werror=no
10655 rm -f core conftest.err conftest.$ac_objext \
10656 conftest$ac_exeext conftest.$ac_ext
10657 CFLAGS=$ac_wine_try_cflags_saved
10658 CC=$ac_wine_try_cflags_saved_cc
10659 ac_exeext=$ac_wine_try_cflags_saved_exeext
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10662 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10663 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10664 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10668 CFLAGS=$saved_CFLAGS
10669 CC="$ac_save_CC"
10672 if test "x$CROSSTARGET" = "x"; then :
10673 case "x$with_mingw" in
10674 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10675 xno) ;;
10676 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10677 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10678 esac
10683 if test "$ac_cv_header_pthread_h" = "yes"
10684 then
10685 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10686 if test "x$ac_cv_func_pthread_create" = xyes; then :
10688 else
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10690 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10691 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10692 $as_echo_n "(cached) " >&6
10693 else
10694 ac_check_lib_save_LIBS=$LIBS
10695 LIBS="-lpthread $LIBS"
10696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10699 /* Override any GCC internal prototype to avoid an error.
10700 Use char because int might match the return type of a GCC
10701 builtin and then its argument prototype would still apply. */
10702 #ifdef __cplusplus
10703 extern "C"
10704 #endif
10705 char pthread_create ();
10707 main ()
10709 return pthread_create ();
10711 return 0;
10713 _ACEOF
10714 if ac_fn_c_try_link "$LINENO"; then :
10715 ac_cv_lib_pthread_pthread_create=yes
10716 else
10717 ac_cv_lib_pthread_pthread_create=no
10719 rm -f core conftest.err conftest.$ac_objext \
10720 conftest$ac_exeext conftest.$ac_ext
10721 LIBS=$ac_check_lib_save_LIBS
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10724 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10725 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10726 PTHREAD_LIBS="-lpthread"
10733 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10734 case "x$with_pthread" in
10735 xno) ;;
10736 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10737 Wine cannot support threads without libpthread.
10738 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10739 esac
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10745 $as_echo_n "checking for X... " >&6; }
10748 # Check whether --with-x was given.
10749 if test "${with_x+set}" = set; then :
10750 withval=$with_x;
10753 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10754 if test "x$with_x" = xno; then
10755 # The user explicitly disabled X.
10756 have_x=disabled
10757 else
10758 case $x_includes,$x_libraries in #(
10759 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10760 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10761 $as_echo_n "(cached) " >&6
10762 else
10763 # One or both of the vars are not set, and there is no cached value.
10764 ac_x_includes=no ac_x_libraries=no
10765 rm -f -r conftest.dir
10766 if mkdir conftest.dir; then
10767 cd conftest.dir
10768 cat >Imakefile <<'_ACEOF'
10769 incroot:
10770 @echo incroot='${INCROOT}'
10771 usrlibdir:
10772 @echo usrlibdir='${USRLIBDIR}'
10773 libdir:
10774 @echo libdir='${LIBDIR}'
10775 _ACEOF
10776 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10777 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10778 for ac_var in incroot usrlibdir libdir; do
10779 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10780 done
10781 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10782 for ac_extension in a so sl dylib la dll; do
10783 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10784 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10785 ac_im_usrlibdir=$ac_im_libdir; break
10787 done
10788 # Screen out bogus values from the imake configuration. They are
10789 # bogus both because they are the default anyway, and because
10790 # using them would break gcc on systems where it needs fixed includes.
10791 case $ac_im_incroot in
10792 /usr/include) ac_x_includes= ;;
10793 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10794 esac
10795 case $ac_im_usrlibdir in
10796 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10797 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10798 esac
10800 cd ..
10801 rm -f -r conftest.dir
10804 # Standard set of common directories for X headers.
10805 # Check X11 before X11Rn because it is often a symlink to the current release.
10806 ac_x_header_dirs='
10807 /usr/X11/include
10808 /usr/X11R7/include
10809 /usr/X11R6/include
10810 /usr/X11R5/include
10811 /usr/X11R4/include
10813 /usr/include/X11
10814 /usr/include/X11R7
10815 /usr/include/X11R6
10816 /usr/include/X11R5
10817 /usr/include/X11R4
10819 /usr/local/X11/include
10820 /usr/local/X11R7/include
10821 /usr/local/X11R6/include
10822 /usr/local/X11R5/include
10823 /usr/local/X11R4/include
10825 /usr/local/include/X11
10826 /usr/local/include/X11R7
10827 /usr/local/include/X11R6
10828 /usr/local/include/X11R5
10829 /usr/local/include/X11R4
10831 /usr/X386/include
10832 /usr/x386/include
10833 /usr/XFree86/include/X11
10835 /usr/include
10836 /usr/local/include
10837 /usr/unsupported/include
10838 /usr/athena/include
10839 /usr/local/x11r5/include
10840 /usr/lpp/Xamples/include
10842 /usr/openwin/include
10843 /usr/openwin/share/include'
10845 if test "$ac_x_includes" = no; then
10846 # Guess where to find include files, by looking for Xlib.h.
10847 # First, try using that file with no special directory specified.
10848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10849 /* end confdefs.h. */
10850 #include <X11/Xlib.h>
10851 _ACEOF
10852 if ac_fn_c_try_cpp "$LINENO"; then :
10853 # We can compile using X headers with no special include directory.
10854 ac_x_includes=
10855 else
10856 for ac_dir in $ac_x_header_dirs; do
10857 if test -r "$ac_dir/X11/Xlib.h"; then
10858 ac_x_includes=$ac_dir
10859 break
10861 done
10863 rm -f conftest.err conftest.i conftest.$ac_ext
10864 fi # $ac_x_includes = no
10866 if test "$ac_x_libraries" = no; then
10867 # Check for the libraries.
10868 # See if we find them without any special options.
10869 # Don't add to $LIBS permanently.
10870 ac_save_LIBS=$LIBS
10871 LIBS="-lX11 $LIBS"
10872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10873 /* end confdefs.h. */
10874 #include <X11/Xlib.h>
10876 main ()
10878 XrmInitialize ()
10880 return 0;
10882 _ACEOF
10883 if ac_fn_c_try_link "$LINENO"; then :
10884 LIBS=$ac_save_LIBS
10885 # We can link X programs with no special library path.
10886 ac_x_libraries=
10887 else
10888 LIBS=$ac_save_LIBS
10889 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10891 # Don't even attempt the hair of trying to link an X program!
10892 for ac_extension in a so sl dylib la dll; do
10893 if test -r "$ac_dir/libX11.$ac_extension"; then
10894 ac_x_libraries=$ac_dir
10895 break 2
10897 done
10898 done
10900 rm -f core conftest.err conftest.$ac_objext \
10901 conftest$ac_exeext conftest.$ac_ext
10902 fi # $ac_x_libraries = no
10904 case $ac_x_includes,$ac_x_libraries in #(
10905 no,* | *,no | *\'*)
10906 # Didn't find X, or a directory has "'" in its name.
10907 ac_cv_have_x="have_x=no";; #(
10909 # Record where we found X for the cache.
10910 ac_cv_have_x="have_x=yes\
10911 ac_x_includes='$ac_x_includes'\
10912 ac_x_libraries='$ac_x_libraries'"
10913 esac
10915 ;; #(
10916 *) have_x=yes;;
10917 esac
10918 eval "$ac_cv_have_x"
10919 fi # $with_x != no
10921 if test "$have_x" != yes; then
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10923 $as_echo "$have_x" >&6; }
10924 no_x=yes
10925 else
10926 # If each of the values was on the command line, it overrides each guess.
10927 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10928 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10929 # Update the cache value to reflect the command line values.
10930 ac_cv_have_x="have_x=yes\
10931 ac_x_includes='$x_includes'\
10932 ac_x_libraries='$x_libraries'"
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10934 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10937 if test "$no_x" = yes; then
10938 # Not all programs may use this symbol, but it does not hurt to define it.
10940 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10942 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10943 else
10944 if test -n "$x_includes"; then
10945 X_CFLAGS="$X_CFLAGS -I$x_includes"
10948 # It would also be nice to do this for all -L options, not just this one.
10949 if test -n "$x_libraries"; then
10950 X_LIBS="$X_LIBS -L$x_libraries"
10951 # For Solaris; some versions of Sun CC require a space after -R and
10952 # others require no space. Words are not sufficient . . . .
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10954 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10955 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10956 ac_xsave_c_werror_flag=$ac_c_werror_flag
10957 ac_c_werror_flag=yes
10958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10959 /* end confdefs.h. */
10962 main ()
10966 return 0;
10968 _ACEOF
10969 if ac_fn_c_try_link "$LINENO"; then :
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10971 $as_echo "no" >&6; }
10972 X_LIBS="$X_LIBS -R$x_libraries"
10973 else
10974 LIBS="$ac_xsave_LIBS -R $x_libraries"
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10979 main ()
10983 return 0;
10985 _ACEOF
10986 if ac_fn_c_try_link "$LINENO"; then :
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10988 $as_echo "yes" >&6; }
10989 X_LIBS="$X_LIBS -R $x_libraries"
10990 else
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10992 $as_echo "neither works" >&6; }
10994 rm -f core conftest.err conftest.$ac_objext \
10995 conftest$ac_exeext conftest.$ac_ext
10997 rm -f core conftest.err conftest.$ac_objext \
10998 conftest$ac_exeext conftest.$ac_ext
10999 ac_c_werror_flag=$ac_xsave_c_werror_flag
11000 LIBS=$ac_xsave_LIBS
11003 # Check for system-dependent libraries X programs must link with.
11004 # Do this before checking for the system-independent R6 libraries
11005 # (-lICE), since we may need -lsocket or whatever for X linking.
11007 if test "$ISC" = yes; then
11008 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11009 else
11010 # Martyn Johnson says this is needed for Ultrix, if the X
11011 # libraries were built with DECnet support. And Karl Berry says
11012 # the Alpha needs dnet_stub (dnet does not exist).
11013 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11015 /* end confdefs.h. */
11017 /* Override any GCC internal prototype to avoid an error.
11018 Use char because int might match the return type of a GCC
11019 builtin and then its argument prototype would still apply. */
11020 #ifdef __cplusplus
11021 extern "C"
11022 #endif
11023 char XOpenDisplay ();
11025 main ()
11027 return XOpenDisplay ();
11029 return 0;
11031 _ACEOF
11032 if ac_fn_c_try_link "$LINENO"; then :
11034 else
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11036 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11037 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11038 $as_echo_n "(cached) " >&6
11039 else
11040 ac_check_lib_save_LIBS=$LIBS
11041 LIBS="-ldnet $LIBS"
11042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11043 /* end confdefs.h. */
11045 /* Override any GCC internal prototype to avoid an error.
11046 Use char because int might match the return type of a GCC
11047 builtin and then its argument prototype would still apply. */
11048 #ifdef __cplusplus
11049 extern "C"
11050 #endif
11051 char dnet_ntoa ();
11053 main ()
11055 return dnet_ntoa ();
11057 return 0;
11059 _ACEOF
11060 if ac_fn_c_try_link "$LINENO"; then :
11061 ac_cv_lib_dnet_dnet_ntoa=yes
11062 else
11063 ac_cv_lib_dnet_dnet_ntoa=no
11065 rm -f core conftest.err conftest.$ac_objext \
11066 conftest$ac_exeext conftest.$ac_ext
11067 LIBS=$ac_check_lib_save_LIBS
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11070 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11071 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11072 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11075 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11077 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11078 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11079 $as_echo_n "(cached) " >&6
11080 else
11081 ac_check_lib_save_LIBS=$LIBS
11082 LIBS="-ldnet_stub $LIBS"
11083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11086 /* Override any GCC internal prototype to avoid an error.
11087 Use char because int might match the return type of a GCC
11088 builtin and then its argument prototype would still apply. */
11089 #ifdef __cplusplus
11090 extern "C"
11091 #endif
11092 char dnet_ntoa ();
11094 main ()
11096 return dnet_ntoa ();
11098 return 0;
11100 _ACEOF
11101 if ac_fn_c_try_link "$LINENO"; then :
11102 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11103 else
11104 ac_cv_lib_dnet_stub_dnet_ntoa=no
11106 rm -f core conftest.err conftest.$ac_objext \
11107 conftest$ac_exeext conftest.$ac_ext
11108 LIBS=$ac_check_lib_save_LIBS
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11111 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11112 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11113 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11118 rm -f core conftest.err conftest.$ac_objext \
11119 conftest$ac_exeext conftest.$ac_ext
11120 LIBS="$ac_xsave_LIBS"
11122 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11123 # to get the SysV transport functions.
11124 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11125 # needs -lnsl.
11126 # The nsl library prevents programs from opening the X display
11127 # on Irix 5.2, according to T.E. Dickey.
11128 # The functions gethostbyname, getservbyname, and inet_addr are
11129 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11130 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11131 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11135 if test $ac_cv_func_gethostbyname = no; then
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11137 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11138 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11139 $as_echo_n "(cached) " >&6
11140 else
11141 ac_check_lib_save_LIBS=$LIBS
11142 LIBS="-lnsl $LIBS"
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11149 #ifdef __cplusplus
11150 extern "C"
11151 #endif
11152 char gethostbyname ();
11154 main ()
11156 return gethostbyname ();
11158 return 0;
11160 _ACEOF
11161 if ac_fn_c_try_link "$LINENO"; then :
11162 ac_cv_lib_nsl_gethostbyname=yes
11163 else
11164 ac_cv_lib_nsl_gethostbyname=no
11166 rm -f core conftest.err conftest.$ac_objext \
11167 conftest$ac_exeext conftest.$ac_ext
11168 LIBS=$ac_check_lib_save_LIBS
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11171 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11172 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11173 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11176 if test $ac_cv_lib_nsl_gethostbyname = no; then
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11178 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11179 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11180 $as_echo_n "(cached) " >&6
11181 else
11182 ac_check_lib_save_LIBS=$LIBS
11183 LIBS="-lbsd $LIBS"
11184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h. */
11187 /* Override any GCC internal prototype to avoid an error.
11188 Use char because int might match the return type of a GCC
11189 builtin and then its argument prototype would still apply. */
11190 #ifdef __cplusplus
11191 extern "C"
11192 #endif
11193 char gethostbyname ();
11195 main ()
11197 return gethostbyname ();
11199 return 0;
11201 _ACEOF
11202 if ac_fn_c_try_link "$LINENO"; then :
11203 ac_cv_lib_bsd_gethostbyname=yes
11204 else
11205 ac_cv_lib_bsd_gethostbyname=no
11207 rm -f core conftest.err conftest.$ac_objext \
11208 conftest$ac_exeext conftest.$ac_ext
11209 LIBS=$ac_check_lib_save_LIBS
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11212 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11213 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11214 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11220 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11221 # socket/setsockopt and other routines are undefined under SCO ODT
11222 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11223 # on later versions), says Simon Leinen: it contains gethostby*
11224 # variants that don't use the name server (or something). -lsocket
11225 # must be given before -lnsl if both are needed. We assume that
11226 # if connect needs -lnsl, so does gethostbyname.
11227 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11228 if test "x$ac_cv_func_connect" = xyes; then :
11232 if test $ac_cv_func_connect = no; then
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11234 $as_echo_n "checking for connect in -lsocket... " >&6; }
11235 if ${ac_cv_lib_socket_connect+:} false; then :
11236 $as_echo_n "(cached) " >&6
11237 else
11238 ac_check_lib_save_LIBS=$LIBS
11239 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11246 #ifdef __cplusplus
11247 extern "C"
11248 #endif
11249 char connect ();
11251 main ()
11253 return connect ();
11255 return 0;
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"; then :
11259 ac_cv_lib_socket_connect=yes
11260 else
11261 ac_cv_lib_socket_connect=no
11263 rm -f core conftest.err conftest.$ac_objext \
11264 conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_lib_save_LIBS
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11268 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11269 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11270 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11275 # Guillermo Gomez says -lposix is necessary on A/UX.
11276 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11277 if test "x$ac_cv_func_remove" = xyes; then :
11281 if test $ac_cv_func_remove = no; then
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11283 $as_echo_n "checking for remove in -lposix... " >&6; }
11284 if ${ac_cv_lib_posix_remove+:} false; then :
11285 $as_echo_n "(cached) " >&6
11286 else
11287 ac_check_lib_save_LIBS=$LIBS
11288 LIBS="-lposix $LIBS"
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11295 #ifdef __cplusplus
11296 extern "C"
11297 #endif
11298 char remove ();
11300 main ()
11302 return remove ();
11304 return 0;
11306 _ACEOF
11307 if ac_fn_c_try_link "$LINENO"; then :
11308 ac_cv_lib_posix_remove=yes
11309 else
11310 ac_cv_lib_posix_remove=no
11312 rm -f core conftest.err conftest.$ac_objext \
11313 conftest$ac_exeext conftest.$ac_ext
11314 LIBS=$ac_check_lib_save_LIBS
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11317 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11318 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11319 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11324 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11325 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11326 if test "x$ac_cv_func_shmat" = xyes; then :
11330 if test $ac_cv_func_shmat = no; then
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11332 $as_echo_n "checking for shmat in -lipc... " >&6; }
11333 if ${ac_cv_lib_ipc_shmat+:} false; then :
11334 $as_echo_n "(cached) " >&6
11335 else
11336 ac_check_lib_save_LIBS=$LIBS
11337 LIBS="-lipc $LIBS"
11338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11339 /* end confdefs.h. */
11341 /* Override any GCC internal prototype to avoid an error.
11342 Use char because int might match the return type of a GCC
11343 builtin and then its argument prototype would still apply. */
11344 #ifdef __cplusplus
11345 extern "C"
11346 #endif
11347 char shmat ();
11349 main ()
11351 return shmat ();
11353 return 0;
11355 _ACEOF
11356 if ac_fn_c_try_link "$LINENO"; then :
11357 ac_cv_lib_ipc_shmat=yes
11358 else
11359 ac_cv_lib_ipc_shmat=no
11361 rm -f core conftest.err conftest.$ac_objext \
11362 conftest$ac_exeext conftest.$ac_ext
11363 LIBS=$ac_check_lib_save_LIBS
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11366 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11367 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11368 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11374 # Check for libraries that X11R6 Xt/Xaw programs need.
11375 ac_save_LDFLAGS=$LDFLAGS
11376 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11377 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11378 # check for ICE first), but we must link in the order -lSM -lICE or
11379 # we get undefined symbols. So assume we have SM if we have ICE.
11380 # These have to be linked with before -lX11, unlike the other
11381 # libraries we check for below, so use a different variable.
11382 # John Interrante, Karl Berry
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11384 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11385 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11386 $as_echo_n "(cached) " >&6
11387 else
11388 ac_check_lib_save_LIBS=$LIBS
11389 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char IceConnectionNumber ();
11401 main ()
11403 return IceConnectionNumber ();
11405 return 0;
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 ac_cv_lib_ICE_IceConnectionNumber=yes
11410 else
11411 ac_cv_lib_ICE_IceConnectionNumber=no
11413 rm -f core conftest.err conftest.$ac_objext \
11414 conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_lib_save_LIBS
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11418 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11419 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11420 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11423 LDFLAGS=$ac_save_LDFLAGS
11428 if test "$have_x" = "yes"
11429 then
11430 ac_save_CPPFLAGS="$CPPFLAGS"
11431 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11434 $as_echo_n "checking for -lX11... " >&6; }
11435 if ${ac_cv_lib_soname_X11+:} false; then :
11436 $as_echo_n "(cached) " >&6
11437 else
11438 ac_check_soname_save_LIBS=$LIBS
11439 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11441 /* end confdefs.h. */
11443 /* Override any GCC internal prototype to avoid an error.
11444 Use char because int might match the return type of a GCC
11445 builtin and then its argument prototype would still apply. */
11446 #ifdef __cplusplus
11447 extern "C"
11448 #endif
11449 char XCreateWindow ();
11451 main ()
11453 return XCreateWindow ();
11455 return 0;
11457 _ACEOF
11458 if ac_fn_c_try_link "$LINENO"; then :
11459 case "$LIBEXT" in
11460 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11461 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'` ;;
11462 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11463 if ${ac_cv_lib_soname_X11:+false} :; then :
11464 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11465 fi ;;
11466 esac
11467 else
11468 ac_cv_lib_soname_X11=
11470 rm -f core conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_soname_save_LIBS
11474 if ${ac_cv_lib_soname_X11:+false} :; then :
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11476 $as_echo "not found" >&6; }
11478 else
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11480 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11482 cat >>confdefs.h <<_ACEOF
11483 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11484 _ACEOF
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11489 $as_echo_n "checking for -lXext... " >&6; }
11490 if ${ac_cv_lib_soname_Xext+:} false; then :
11491 $as_echo_n "(cached) " >&6
11492 else
11493 ac_check_soname_save_LIBS=$LIBS
11494 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11501 #ifdef __cplusplus
11502 extern "C"
11503 #endif
11504 char XextCreateExtension ();
11506 main ()
11508 return XextCreateExtension ();
11510 return 0;
11512 _ACEOF
11513 if ac_fn_c_try_link "$LINENO"; then :
11514 case "$LIBEXT" in
11515 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11516 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'` ;;
11517 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11518 if ${ac_cv_lib_soname_Xext:+false} :; then :
11519 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11520 fi ;;
11521 esac
11522 else
11523 ac_cv_lib_soname_Xext=
11525 rm -f core conftest.err conftest.$ac_objext \
11526 conftest$ac_exeext conftest.$ac_ext
11527 LIBS=$ac_check_soname_save_LIBS
11529 if ${ac_cv_lib_soname_Xext:+false} :; then :
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11531 $as_echo "not found" >&6; }
11533 else
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11535 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11537 cat >>confdefs.h <<_ACEOF
11538 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11539 _ACEOF
11541 X_LIBS="$X_LIBS -lXext"
11543 X_LIBS="$X_LIBS -lX11"
11545 for ac_header in X11/Xlib.h \
11546 X11/XKBlib.h \
11547 X11/Xutil.h \
11548 X11/Xcursor/Xcursor.h \
11549 X11/extensions/shape.h \
11550 X11/extensions/XInput.h \
11551 X11/extensions/XInput2.h \
11552 X11/extensions/XShm.h \
11553 X11/extensions/Xcomposite.h \
11554 X11/extensions/Xfixes.h \
11555 X11/extensions/Xinerama.h \
11556 X11/extensions/Xrandr.h \
11557 X11/extensions/Xrender.h \
11558 X11/extensions/xf86vmode.h \
11559 X11/extensions/xf86vmproto.h
11560 do :
11561 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11562 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11563 # include <X11/Xlib.h>
11564 #endif
11565 #ifdef HAVE_X11_XUTIL_H
11566 # include <X11/Xutil.h>
11567 #endif
11569 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11570 cat >>confdefs.h <<_ACEOF
11571 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11572 _ACEOF
11576 done
11579 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11580 then
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11582 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11583 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11584 $as_echo_n "(cached) " >&6
11585 else
11586 ac_check_lib_save_LIBS=$LIBS
11587 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589 /* end confdefs.h. */
11591 /* Override any GCC internal prototype to avoid an error.
11592 Use char because int might match the return type of a GCC
11593 builtin and then its argument prototype would still apply. */
11594 #ifdef __cplusplus
11595 extern "C"
11596 #endif
11597 char XkbQueryExtension ();
11599 main ()
11601 return XkbQueryExtension ();
11603 return 0;
11605 _ACEOF
11606 if ac_fn_c_try_link "$LINENO"; then :
11607 ac_cv_lib_X11_XkbQueryExtension=yes
11608 else
11609 ac_cv_lib_X11_XkbQueryExtension=no
11611 rm -f core conftest.err conftest.$ac_objext \
11612 conftest$ac_exeext conftest.$ac_ext
11613 LIBS=$ac_check_lib_save_LIBS
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11616 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11617 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11619 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11625 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11626 then
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11628 $as_echo_n "checking for -lXcursor... " >&6; }
11629 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11630 $as_echo_n "(cached) " >&6
11631 else
11632 ac_check_soname_save_LIBS=$LIBS
11633 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11635 /* end confdefs.h. */
11637 /* Override any GCC internal prototype to avoid an error.
11638 Use char because int might match the return type of a GCC
11639 builtin and then its argument prototype would still apply. */
11640 #ifdef __cplusplus
11641 extern "C"
11642 #endif
11643 char XcursorImageLoadCursor ();
11645 main ()
11647 return XcursorImageLoadCursor ();
11649 return 0;
11651 _ACEOF
11652 if ac_fn_c_try_link "$LINENO"; then :
11653 case "$LIBEXT" in
11654 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11655 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'` ;;
11656 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11657 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11658 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11659 fi ;;
11660 esac
11661 else
11662 ac_cv_lib_soname_Xcursor=
11664 rm -f core conftest.err conftest.$ac_objext \
11665 conftest$ac_exeext conftest.$ac_ext
11666 LIBS=$ac_check_soname_save_LIBS
11668 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11670 $as_echo "not found" >&6; }
11672 else
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11674 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11676 cat >>confdefs.h <<_ACEOF
11677 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11678 _ACEOF
11683 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11684 case "x$with_xcursor" in
11685 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11686 xno) ;;
11687 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11688 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11689 esac
11693 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11694 then
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11696 $as_echo_n "checking for -lXi... " >&6; }
11697 if ${ac_cv_lib_soname_Xi+:} false; then :
11698 $as_echo_n "(cached) " >&6
11699 else
11700 ac_check_soname_save_LIBS=$LIBS
11701 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11705 /* Override any GCC internal prototype to avoid an error.
11706 Use char because int might match the return type of a GCC
11707 builtin and then its argument prototype would still apply. */
11708 #ifdef __cplusplus
11709 extern "C"
11710 #endif
11711 char XOpenDevice ();
11713 main ()
11715 return XOpenDevice ();
11717 return 0;
11719 _ACEOF
11720 if ac_fn_c_try_link "$LINENO"; then :
11721 case "$LIBEXT" in
11722 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11723 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'` ;;
11724 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11725 if ${ac_cv_lib_soname_Xi:+false} :; then :
11726 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11727 fi ;;
11728 esac
11729 else
11730 ac_cv_lib_soname_Xi=
11732 rm -f core conftest.err conftest.$ac_objext \
11733 conftest$ac_exeext conftest.$ac_ext
11734 LIBS=$ac_check_soname_save_LIBS
11736 if ${ac_cv_lib_soname_Xi:+false} :; then :
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11738 $as_echo "not found" >&6; }
11740 else
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11742 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11744 cat >>confdefs.h <<_ACEOF
11745 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11746 _ACEOF
11751 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11752 case "x$with_xinput" in
11753 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11754 xno) ;;
11755 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11756 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11757 esac
11761 if test "x$ac_cv_lib_soname_Xi" != x
11762 then
11763 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11764 case "x$with_xinput2" in
11765 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11766 xno) ;;
11767 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11768 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11769 esac
11774 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11775 then
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11777 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11778 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11779 $as_echo_n "(cached) " >&6
11780 else
11781 ac_check_lib_save_LIBS=$LIBS
11782 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11784 /* end confdefs.h. */
11786 /* Override any GCC internal prototype to avoid an error.
11787 Use char because int might match the return type of a GCC
11788 builtin and then its argument prototype would still apply. */
11789 #ifdef __cplusplus
11790 extern "C"
11791 #endif
11792 char XShmQueryExtension ();
11794 main ()
11796 return XShmQueryExtension ();
11798 return 0;
11800 _ACEOF
11801 if ac_fn_c_try_link "$LINENO"; then :
11802 ac_cv_lib_Xext_XShmQueryExtension=yes
11803 else
11804 ac_cv_lib_Xext_XShmQueryExtension=no
11806 rm -f core conftest.err conftest.$ac_objext \
11807 conftest$ac_exeext conftest.$ac_ext
11808 LIBS=$ac_check_lib_save_LIBS
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11811 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11812 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11814 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11819 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11820 case "x$with_xshm" in
11821 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11822 xno) ;;
11823 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11824 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11825 esac
11829 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11830 then
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11832 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11833 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11834 $as_echo_n "(cached) " >&6
11835 else
11836 ac_check_lib_save_LIBS=$LIBS
11837 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11841 /* Override any GCC internal prototype to avoid an error.
11842 Use char because int might match the return type of a GCC
11843 builtin and then its argument prototype would still apply. */
11844 #ifdef __cplusplus
11845 extern "C"
11846 #endif
11847 char XShapeQueryExtension ();
11849 main ()
11851 return XShapeQueryExtension ();
11853 return 0;
11855 _ACEOF
11856 if ac_fn_c_try_link "$LINENO"; then :
11857 ac_cv_lib_Xext_XShapeQueryExtension=yes
11858 else
11859 ac_cv_lib_Xext_XShapeQueryExtension=no
11861 rm -f core conftest.err conftest.$ac_objext \
11862 conftest$ac_exeext conftest.$ac_ext
11863 LIBS=$ac_check_lib_save_LIBS
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11866 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11867 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11869 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11874 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11875 case "x$with_xshape" in
11876 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11877 xno) ;;
11878 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11879 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11880 esac
11884 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11885 then
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11887 $as_echo_n "checking for -lXxf86vm... " >&6; }
11888 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11889 $as_echo_n "(cached) " >&6
11890 else
11891 ac_check_soname_save_LIBS=$LIBS
11892 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11896 /* Override any GCC internal prototype to avoid an error.
11897 Use char because int might match the return type of a GCC
11898 builtin and then its argument prototype would still apply. */
11899 #ifdef __cplusplus
11900 extern "C"
11901 #endif
11902 char XF86VidModeQueryExtension ();
11904 main ()
11906 return XF86VidModeQueryExtension ();
11908 return 0;
11910 _ACEOF
11911 if ac_fn_c_try_link "$LINENO"; then :
11912 case "$LIBEXT" in
11913 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11914 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'` ;;
11915 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11916 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11917 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11918 fi ;;
11919 esac
11920 else
11921 ac_cv_lib_soname_Xxf86vm=
11923 rm -f core conftest.err conftest.$ac_objext \
11924 conftest$ac_exeext conftest.$ac_ext
11925 LIBS=$ac_check_soname_save_LIBS
11927 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11929 $as_echo "not found" >&6; }
11931 else
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11933 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11935 cat >>confdefs.h <<_ACEOF
11936 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11937 _ACEOF
11942 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11943 case "x$with_xxf86vm" in
11944 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11945 xno) ;;
11946 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11947 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11948 esac
11952 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11953 then
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11955 $as_echo_n "checking for -lXrender... " >&6; }
11956 if ${ac_cv_lib_soname_Xrender+:} false; then :
11957 $as_echo_n "(cached) " >&6
11958 else
11959 ac_check_soname_save_LIBS=$LIBS
11960 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11964 /* Override any GCC internal prototype to avoid an error.
11965 Use char because int might match the return type of a GCC
11966 builtin and then its argument prototype would still apply. */
11967 #ifdef __cplusplus
11968 extern "C"
11969 #endif
11970 char XRenderQueryExtension ();
11972 main ()
11974 return XRenderQueryExtension ();
11976 return 0;
11978 _ACEOF
11979 if ac_fn_c_try_link "$LINENO"; then :
11980 case "$LIBEXT" in
11981 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11982 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'` ;;
11983 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11984 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11985 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11986 fi ;;
11987 esac
11988 else
11989 ac_cv_lib_soname_Xrender=
11991 rm -f core conftest.err conftest.$ac_objext \
11992 conftest$ac_exeext conftest.$ac_ext
11993 LIBS=$ac_check_soname_save_LIBS
11995 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11997 $as_echo "not found" >&6; }
11999 else
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12001 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12003 cat >>confdefs.h <<_ACEOF
12004 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12005 _ACEOF
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12008 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12009 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12010 $as_echo_n "(cached) " >&6
12011 else
12012 ac_check_lib_save_LIBS=$LIBS
12013 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12015 /* end confdefs.h. */
12017 /* Override any GCC internal prototype to avoid an error.
12018 Use char because int might match the return type of a GCC
12019 builtin and then its argument prototype would still apply. */
12020 #ifdef __cplusplus
12021 extern "C"
12022 #endif
12023 char XRenderSetPictureTransform ();
12025 main ()
12027 return XRenderSetPictureTransform ();
12029 return 0;
12031 _ACEOF
12032 if ac_fn_c_try_link "$LINENO"; then :
12033 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12034 else
12035 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12037 rm -f core conftest.err conftest.$ac_objext \
12038 conftest$ac_exeext conftest.$ac_ext
12039 LIBS=$ac_check_lib_save_LIBS
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12042 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12043 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12045 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12050 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12051 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12052 $as_echo_n "(cached) " >&6
12053 else
12054 ac_check_lib_save_LIBS=$LIBS
12055 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12059 /* Override any GCC internal prototype to avoid an error.
12060 Use char because int might match the return type of a GCC
12061 builtin and then its argument prototype would still apply. */
12062 #ifdef __cplusplus
12063 extern "C"
12064 #endif
12065 char XRenderCreateLinearGradient ();
12067 main ()
12069 return XRenderCreateLinearGradient ();
12071 return 0;
12073 _ACEOF
12074 if ac_fn_c_try_link "$LINENO"; then :
12075 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12076 else
12077 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12079 rm -f core conftest.err conftest.$ac_objext \
12080 conftest$ac_exeext conftest.$ac_ext
12081 LIBS=$ac_check_lib_save_LIBS
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12084 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12085 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12087 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12094 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12095 case "x$with_xrender" in
12096 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12097 xno) ;;
12098 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12099 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12100 esac
12104 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12105 then
12106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12107 /* end confdefs.h. */
12108 #include <X11/Xlib.h>
12109 #include <X11/extensions/Xrandr.h>
12111 main ()
12113 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12115 return 0;
12117 _ACEOF
12118 if ac_fn_c_try_compile "$LINENO"; then :
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12120 $as_echo_n "checking for -lXrandr... " >&6; }
12121 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12122 $as_echo_n "(cached) " >&6
12123 else
12124 ac_check_soname_save_LIBS=$LIBS
12125 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12127 /* end confdefs.h. */
12129 /* Override any GCC internal prototype to avoid an error.
12130 Use char because int might match the return type of a GCC
12131 builtin and then its argument prototype would still apply. */
12132 #ifdef __cplusplus
12133 extern "C"
12134 #endif
12135 char XRRQueryExtension ();
12137 main ()
12139 return XRRQueryExtension ();
12141 return 0;
12143 _ACEOF
12144 if ac_fn_c_try_link "$LINENO"; then :
12145 case "$LIBEXT" in
12146 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12147 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'` ;;
12148 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12149 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12150 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12151 fi ;;
12152 esac
12153 else
12154 ac_cv_lib_soname_Xrandr=
12156 rm -f core conftest.err conftest.$ac_objext \
12157 conftest$ac_exeext conftest.$ac_ext
12158 LIBS=$ac_check_soname_save_LIBS
12160 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12162 $as_echo "not found" >&6; }
12164 else
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12166 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12168 cat >>confdefs.h <<_ACEOF
12169 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12170 _ACEOF
12172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12173 /* end confdefs.h. */
12174 #include <X11/Xlib.h>
12175 #include <X11/extensions/Xrandr.h>
12177 main ()
12179 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12181 return 0;
12183 _ACEOF
12184 if ac_fn_c_try_compile "$LINENO"; then :
12186 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12188 else
12189 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12196 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12197 case "x$with_xrandr" in
12198 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12199 xno) ;;
12200 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12201 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12202 esac
12206 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12207 then
12208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12209 /* end confdefs.h. */
12210 #include <X11/Xlib.h>
12211 #include <X11/extensions/Xfixes.h>
12213 main ()
12215 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12217 return 0;
12219 _ACEOF
12220 if ac_fn_c_try_compile "$LINENO"; then :
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12222 $as_echo_n "checking for -lXfixes... " >&6; }
12223 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12224 $as_echo_n "(cached) " >&6
12225 else
12226 ac_check_soname_save_LIBS=$LIBS
12227 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12234 #ifdef __cplusplus
12235 extern "C"
12236 #endif
12237 char XFixesQueryVersion ();
12239 main ()
12241 return XFixesQueryVersion ();
12243 return 0;
12245 _ACEOF
12246 if ac_fn_c_try_link "$LINENO"; then :
12247 case "$LIBEXT" in
12248 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12249 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'` ;;
12250 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12251 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12252 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12253 fi ;;
12254 esac
12255 else
12256 ac_cv_lib_soname_Xfixes=
12258 rm -f core conftest.err conftest.$ac_objext \
12259 conftest$ac_exeext conftest.$ac_ext
12260 LIBS=$ac_check_soname_save_LIBS
12262 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12264 $as_echo "not found" >&6; }
12266 else
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12268 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12270 cat >>confdefs.h <<_ACEOF
12271 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12272 _ACEOF
12277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12279 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12280 case "x$with_xfixes" in
12281 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12282 xno) ;;
12283 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12284 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12285 esac
12289 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12290 then
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12293 #include <X11/Xlib.h>
12294 #include <X11/extensions/Xinerama.h>
12296 main ()
12298 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12300 return 0;
12302 _ACEOF
12303 if ac_fn_c_try_compile "$LINENO"; then :
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12305 $as_echo_n "checking for -lXinerama... " >&6; }
12306 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12307 $as_echo_n "(cached) " >&6
12308 else
12309 ac_check_soname_save_LIBS=$LIBS
12310 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12312 /* end confdefs.h. */
12314 /* Override any GCC internal prototype to avoid an error.
12315 Use char because int might match the return type of a GCC
12316 builtin and then its argument prototype would still apply. */
12317 #ifdef __cplusplus
12318 extern "C"
12319 #endif
12320 char XineramaQueryScreens ();
12322 main ()
12324 return XineramaQueryScreens ();
12326 return 0;
12328 _ACEOF
12329 if ac_fn_c_try_link "$LINENO"; then :
12330 case "$LIBEXT" in
12331 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12332 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'` ;;
12333 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12334 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12335 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12336 fi ;;
12337 esac
12338 else
12339 ac_cv_lib_soname_Xinerama=
12341 rm -f core conftest.err conftest.$ac_objext \
12342 conftest$ac_exeext conftest.$ac_ext
12343 LIBS=$ac_check_soname_save_LIBS
12345 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12347 $as_echo "not found" >&6; }
12349 else
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12351 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12353 cat >>confdefs.h <<_ACEOF
12354 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12355 _ACEOF
12360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12362 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12363 case "x$with_xinerama" in
12364 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12365 xno) ;;
12366 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12367 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12368 esac
12372 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12373 then
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12375 $as_echo_n "checking for -lXcomposite... " >&6; }
12376 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12377 $as_echo_n "(cached) " >&6
12378 else
12379 ac_check_soname_save_LIBS=$LIBS
12380 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h. */
12384 /* Override any GCC internal prototype to avoid an error.
12385 Use char because int might match the return type of a GCC
12386 builtin and then its argument prototype would still apply. */
12387 #ifdef __cplusplus
12388 extern "C"
12389 #endif
12390 char XCompositeRedirectWindow ();
12392 main ()
12394 return XCompositeRedirectWindow ();
12396 return 0;
12398 _ACEOF
12399 if ac_fn_c_try_link "$LINENO"; then :
12400 case "$LIBEXT" in
12401 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12402 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'` ;;
12403 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12404 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12405 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12406 fi ;;
12407 esac
12408 else
12409 ac_cv_lib_soname_Xcomposite=
12411 rm -f core conftest.err conftest.$ac_objext \
12412 conftest$ac_exeext conftest.$ac_ext
12413 LIBS=$ac_check_soname_save_LIBS
12415 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12417 $as_echo "not found" >&6; }
12419 else
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12421 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12423 cat >>confdefs.h <<_ACEOF
12424 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12425 _ACEOF
12430 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12431 case "x$with_xcomposite" in
12432 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12433 xno) ;;
12434 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12435 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12436 esac
12440 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12441 #include <X11/Xlib.h>
12442 #endif
12444 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12446 cat >>confdefs.h <<_ACEOF
12447 #define HAVE_XICCALLBACK_CALLBACK 1
12448 _ACEOF
12452 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12453 #include <X11/Xlib.h>
12454 #endif
12456 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12458 cat >>confdefs.h <<_ACEOF
12459 #define HAVE_XEVENT_XCOOKIE 1
12460 _ACEOF
12467 opengl_msg=""
12468 if test "x$with_opengl" != "xno"
12469 then
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12471 $as_echo_n "checking for -lGL... " >&6; }
12472 if ${ac_cv_lib_soname_GL+:} false; then :
12473 $as_echo_n "(cached) " >&6
12474 else
12475 ac_check_soname_save_LIBS=$LIBS
12476 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12480 /* Override any GCC internal prototype to avoid an error.
12481 Use char because int might match the return type of a GCC
12482 builtin and then its argument prototype would still apply. */
12483 #ifdef __cplusplus
12484 extern "C"
12485 #endif
12486 char glXCreateContext ();
12488 main ()
12490 return glXCreateContext ();
12492 return 0;
12494 _ACEOF
12495 if ac_fn_c_try_link "$LINENO"; then :
12496 case "$LIBEXT" in
12497 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12498 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'` ;;
12499 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12500 if ${ac_cv_lib_soname_GL:+false} :; then :
12501 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12502 fi ;;
12503 esac
12504 else
12505 ac_cv_lib_soname_GL=
12507 rm -f core conftest.err conftest.$ac_objext \
12508 conftest$ac_exeext conftest.$ac_ext
12509 LIBS=$ac_check_soname_save_LIBS
12511 if ${ac_cv_lib_soname_GL:+false} :; then :
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12513 $as_echo "not found" >&6; }
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12515 $as_echo_n "checking for -lGL... " >&6; }
12516 if ${ac_cv_lib_soname_GL+:} false; then :
12517 $as_echo_n "(cached) " >&6
12518 else
12519 ac_check_soname_save_LIBS=$LIBS
12520 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"
12521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12522 /* end confdefs.h. */
12524 /* Override any GCC internal prototype to avoid an error.
12525 Use char because int might match the return type of a GCC
12526 builtin and then its argument prototype would still apply. */
12527 #ifdef __cplusplus
12528 extern "C"
12529 #endif
12530 char glXCreateContext ();
12532 main ()
12534 return glXCreateContext ();
12536 return 0;
12538 _ACEOF
12539 if ac_fn_c_try_link "$LINENO"; then :
12540 case "$LIBEXT" in
12541 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12542 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'` ;;
12543 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12544 if ${ac_cv_lib_soname_GL:+false} :; then :
12545 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12546 fi ;;
12547 esac
12548 else
12549 ac_cv_lib_soname_GL=
12551 rm -f core conftest.err conftest.$ac_objext \
12552 conftest$ac_exeext conftest.$ac_ext
12553 LIBS=$ac_check_soname_save_LIBS
12555 if ${ac_cv_lib_soname_GL:+false} :; then :
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12557 $as_echo "not found" >&6; }
12558 if test -f /usr/X11R6/lib/libGL.a
12559 then
12560 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12561 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12562 else
12563 opengl_msg="No OpenGL library found on this system."
12565 else
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12567 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12569 cat >>confdefs.h <<_ACEOF
12570 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12571 _ACEOF
12573 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"
12575 else
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12577 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12579 cat >>confdefs.h <<_ACEOF
12580 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12581 _ACEOF
12583 OPENGL_LIBS="-lGL"
12585 if test "x$with_osmesa" != "xno"
12586 then
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12588 $as_echo_n "checking for -lOSMesa... " >&6; }
12589 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12590 $as_echo_n "(cached) " >&6
12591 else
12592 ac_check_soname_save_LIBS=$LIBS
12593 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 /* Override any GCC internal prototype to avoid an error.
12598 Use char because int might match the return type of a GCC
12599 builtin and then its argument prototype would still apply. */
12600 #ifdef __cplusplus
12601 extern "C"
12602 #endif
12603 char OSMesaGetProcAddress ();
12605 main ()
12607 return OSMesaGetProcAddress ();
12609 return 0;
12611 _ACEOF
12612 if ac_fn_c_try_link "$LINENO"; then :
12613 case "$LIBEXT" in
12614 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12615 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'` ;;
12616 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12617 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12618 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12619 fi ;;
12620 esac
12621 else
12622 ac_cv_lib_soname_OSMesa=
12624 rm -f core conftest.err conftest.$ac_objext \
12625 conftest$ac_exeext conftest.$ac_ext
12626 LIBS=$ac_check_soname_save_LIBS
12628 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12630 $as_echo "not found" >&6; }
12632 else
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12634 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12636 cat >>confdefs.h <<_ACEOF
12637 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12638 _ACEOF
12642 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12643 case "x$with_osmesa" in
12644 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12645 xno) ;;
12646 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12647 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12648 esac
12653 if test -n "$opengl_msg"; then :
12654 case "x$with_opengl" in
12655 x) as_fn_append wine_warnings "|$opengl_msg
12656 OpenGL and Direct3D won't be supported." ;;
12657 xno) ;;
12658 *) as_fn_error $? "$opengl_msg
12659 OpenGL and Direct3D won't be supported.
12660 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12661 esac
12665 CPPFLAGS="$ac_save_CPPFLAGS"
12666 else
12667 X_CFLAGS=""
12668 X_LIBS=""
12671 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12672 then
12673 if test "x$X_LIBS" = "x"; then :
12674 case "x$with_x" in
12675 xno) ;;
12676 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12677 without X support, which probably isn't what you want. You will need
12678 to install ${notice_platform}development packages of Xlib at the very least.
12679 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12680 esac
12681 enable_winex11_drv=${enable_winex11_drv:-no}
12683 else
12684 if test "x$X_LIBS" = "x"; then :
12685 case "x$with_x" in
12686 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12687 xno) ;;
12688 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12689 This is an error since --with-x was requested." "$LINENO" 5 ;;
12690 esac
12691 enable_winex11_drv=${enable_winex11_drv:-no}
12695 if test "$ac_cv_header_CL_cl_h" = "yes"
12696 then
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12698 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12699 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12700 $as_echo_n "(cached) " >&6
12701 else
12702 ac_check_lib_save_LIBS=$LIBS
12703 LIBS="-lOpenCL $LIBS"
12704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12705 /* end confdefs.h. */
12707 /* Override any GCC internal prototype to avoid an error.
12708 Use char because int might match the return type of a GCC
12709 builtin and then its argument prototype would still apply. */
12710 #ifdef __cplusplus
12711 extern "C"
12712 #endif
12713 char clGetPlatformInfo ();
12715 main ()
12717 return clGetPlatformInfo ();
12719 return 0;
12721 _ACEOF
12722 if ac_fn_c_try_link "$LINENO"; then :
12723 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12724 else
12725 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12727 rm -f core conftest.err conftest.$ac_objext \
12728 conftest$ac_exeext conftest.$ac_ext
12729 LIBS=$ac_check_lib_save_LIBS
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12732 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12733 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12734 OPENCL_LIBS="-lOpenCL"
12739 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12740 case "x$with_opencl" in
12741 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12742 xno) ;;
12743 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12744 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12745 esac
12746 enable_opencl=${enable_opencl:-no}
12749 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12750 then
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12752 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12753 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12754 $as_echo_n "(cached) " >&6
12755 else
12756 ac_check_lib_save_LIBS=$LIBS
12757 LIBS="-lpcap $LIBS"
12758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h. */
12761 /* Override any GCC internal prototype to avoid an error.
12762 Use char because int might match the return type of a GCC
12763 builtin and then its argument prototype would still apply. */
12764 #ifdef __cplusplus
12765 extern "C"
12766 #endif
12767 char pcap_create ();
12769 main ()
12771 return pcap_create ();
12773 return 0;
12775 _ACEOF
12776 if ac_fn_c_try_link "$LINENO"; then :
12777 ac_cv_lib_pcap_pcap_create=yes
12778 else
12779 ac_cv_lib_pcap_pcap_create=no
12781 rm -f core conftest.err conftest.$ac_objext \
12782 conftest$ac_exeext conftest.$ac_ext
12783 LIBS=$ac_check_lib_save_LIBS
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12786 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12787 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12788 PCAP_LIBS="-lpcap"
12793 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12794 case "x$with_pcap" in
12795 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12796 xno) ;;
12797 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12798 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12799 esac
12800 enable_wpcap=${enable_wpcap:-no}
12804 if test "x$with_xml" != "xno"
12805 then
12806 if ${XML2_CFLAGS:+false} :; then :
12807 if ${PKG_CONFIG+:} false; then :
12808 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12811 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12812 if ${XML2_LIBS:+false} :; then :
12813 if ${PKG_CONFIG+:} false; then :
12814 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12817 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12818 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12819 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12820 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12821 ac_save_CPPFLAGS=$CPPFLAGS
12822 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12823 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12824 do :
12825 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12826 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12827 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12828 cat >>confdefs.h <<_ACEOF
12829 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12830 _ACEOF
12834 done
12836 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"
12837 then
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12839 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12840 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12841 $as_echo_n "(cached) " >&6
12842 else
12843 ac_check_lib_save_LIBS=$LIBS
12844 LIBS="-lxml2 $XML2_LIBS $LIBS"
12845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12848 /* Override any GCC internal prototype to avoid an error.
12849 Use char because int might match the return type of a GCC
12850 builtin and then its argument prototype would still apply. */
12851 #ifdef __cplusplus
12852 extern "C"
12853 #endif
12854 char xmlParseMemory ();
12856 main ()
12858 return xmlParseMemory ();
12860 return 0;
12862 _ACEOF
12863 if ac_fn_c_try_link "$LINENO"; then :
12864 ac_cv_lib_xml2_xmlParseMemory=yes
12865 else
12866 ac_cv_lib_xml2_xmlParseMemory=no
12868 rm -f core conftest.err conftest.$ac_objext \
12869 conftest$ac_exeext conftest.$ac_ext
12870 LIBS=$ac_check_lib_save_LIBS
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12873 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12874 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12876 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12878 else
12879 XML2_LIBS=""
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12883 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12884 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12885 $as_echo_n "(cached) " >&6
12886 else
12887 ac_check_lib_save_LIBS=$LIBS
12888 LIBS="-lxml2 $XML2_LIBS $LIBS"
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12892 /* Override any GCC internal prototype to avoid an error.
12893 Use char because int might match the return type of a GCC
12894 builtin and then its argument prototype would still apply. */
12895 #ifdef __cplusplus
12896 extern "C"
12897 #endif
12898 char xmlReadMemory ();
12900 main ()
12902 return xmlReadMemory ();
12904 return 0;
12906 _ACEOF
12907 if ac_fn_c_try_link "$LINENO"; then :
12908 ac_cv_lib_xml2_xmlReadMemory=yes
12909 else
12910 ac_cv_lib_xml2_xmlReadMemory=no
12912 rm -f core conftest.err conftest.$ac_objext \
12913 conftest$ac_exeext conftest.$ac_ext
12914 LIBS=$ac_check_lib_save_LIBS
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12917 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12918 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12920 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12925 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12926 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12927 $as_echo_n "(cached) " >&6
12928 else
12929 ac_check_lib_save_LIBS=$LIBS
12930 LIBS="-lxml2 $XML2_LIBS $LIBS"
12931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12932 /* end confdefs.h. */
12934 /* Override any GCC internal prototype to avoid an error.
12935 Use char because int might match the return type of a GCC
12936 builtin and then its argument prototype would still apply. */
12937 #ifdef __cplusplus
12938 extern "C"
12939 #endif
12940 char xmlNewDocPI ();
12942 main ()
12944 return xmlNewDocPI ();
12946 return 0;
12948 _ACEOF
12949 if ac_fn_c_try_link "$LINENO"; then :
12950 ac_cv_lib_xml2_xmlNewDocPI=yes
12951 else
12952 ac_cv_lib_xml2_xmlNewDocPI=no
12954 rm -f core conftest.err conftest.$ac_objext \
12955 conftest$ac_exeext conftest.$ac_ext
12956 LIBS=$ac_check_lib_save_LIBS
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12959 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12960 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12962 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12967 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12968 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12969 $as_echo_n "(cached) " >&6
12970 else
12971 ac_check_lib_save_LIBS=$LIBS
12972 LIBS="-lxml2 $XML2_LIBS $LIBS"
12973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12974 /* end confdefs.h. */
12976 /* Override any GCC internal prototype to avoid an error.
12977 Use char because int might match the return type of a GCC
12978 builtin and then its argument prototype would still apply. */
12979 #ifdef __cplusplus
12980 extern "C"
12981 #endif
12982 char xmlSchemaSetParserStructuredErrors ();
12984 main ()
12986 return xmlSchemaSetParserStructuredErrors ();
12988 return 0;
12990 _ACEOF
12991 if ac_fn_c_try_link "$LINENO"; then :
12992 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12993 else
12994 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12996 rm -f core conftest.err conftest.$ac_objext \
12997 conftest$ac_exeext conftest.$ac_ext
12998 LIBS=$ac_check_lib_save_LIBS
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13001 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13002 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13004 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13009 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13010 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13011 $as_echo_n "(cached) " >&6
13012 else
13013 ac_check_lib_save_LIBS=$LIBS
13014 LIBS="-lxml2 $XML2_LIBS $LIBS"
13015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13016 /* end confdefs.h. */
13018 /* Override any GCC internal prototype to avoid an error.
13019 Use char because int might match the return type of a GCC
13020 builtin and then its argument prototype would still apply. */
13021 #ifdef __cplusplus
13022 extern "C"
13023 #endif
13024 char xmlSchemaSetValidStructuredErrors ();
13026 main ()
13028 return xmlSchemaSetValidStructuredErrors ();
13030 return 0;
13032 _ACEOF
13033 if ac_fn_c_try_link "$LINENO"; then :
13034 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13035 else
13036 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13038 rm -f core conftest.err conftest.$ac_objext \
13039 conftest$ac_exeext conftest.$ac_ext
13040 LIBS=$ac_check_lib_save_LIBS
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13043 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13044 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13046 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13051 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13052 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13053 $as_echo_n "(cached) " >&6
13054 else
13055 ac_check_lib_save_LIBS=$LIBS
13056 LIBS="-lxml2 $XML2_LIBS $LIBS"
13057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13060 /* Override any GCC internal prototype to avoid an error.
13061 Use char because int might match the return type of a GCC
13062 builtin and then its argument prototype would still apply. */
13063 #ifdef __cplusplus
13064 extern "C"
13065 #endif
13066 char xmlFirstElementChild ();
13068 main ()
13070 return xmlFirstElementChild ();
13072 return 0;
13074 _ACEOF
13075 if ac_fn_c_try_link "$LINENO"; then :
13076 ac_cv_lib_xml2_xmlFirstElementChild=yes
13077 else
13078 ac_cv_lib_xml2_xmlFirstElementChild=no
13080 rm -f core conftest.err conftest.$ac_objext \
13081 conftest$ac_exeext conftest.$ac_ext
13082 LIBS=$ac_check_lib_save_LIBS
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13085 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13086 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13088 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13092 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13094 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13096 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13100 else
13101 XML2_CFLAGS=""
13102 XML2_LIBS=""
13104 CPPFLAGS=$ac_save_CPPFLAGS
13107 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13108 case "x$with_xml" in
13109 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13110 xno) ;;
13111 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13112 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13113 esac
13117 if test "x$with_xslt" != "xno"
13118 then
13119 if ${XSLT_CFLAGS:+false} :; then :
13120 if ${PKG_CONFIG+:} false; then :
13121 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13124 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13125 if ${XSLT_LIBS:+false} :; then :
13126 if ${PKG_CONFIG+:} false; then :
13127 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13130 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13131 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13132 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13133 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13134 ac_save_CPPFLAGS=$CPPFLAGS
13135 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13136 for ac_header in libxslt/pattern.h libxslt/transform.h
13137 do :
13138 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13139 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13140 # include <libxslt/pattern.h>
13141 #endif
13143 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13144 cat >>confdefs.h <<_ACEOF
13145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13146 _ACEOF
13150 done
13152 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13153 then
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13155 $as_echo_n "checking for -lxslt... " >&6; }
13156 if ${ac_cv_lib_soname_xslt+:} false; then :
13157 $as_echo_n "(cached) " >&6
13158 else
13159 ac_check_soname_save_LIBS=$LIBS
13160 LIBS="-lxslt $XSLT_LIBS $LIBS"
13161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13164 /* Override any GCC internal prototype to avoid an error.
13165 Use char because int might match the return type of a GCC
13166 builtin and then its argument prototype would still apply. */
13167 #ifdef __cplusplus
13168 extern "C"
13169 #endif
13170 char xsltCompilePattern ();
13172 main ()
13174 return xsltCompilePattern ();
13176 return 0;
13178 _ACEOF
13179 if ac_fn_c_try_link "$LINENO"; then :
13180 case "$LIBEXT" in
13181 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13182 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'` ;;
13183 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13184 if ${ac_cv_lib_soname_xslt:+false} :; then :
13185 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13186 fi ;;
13187 esac
13188 else
13189 ac_cv_lib_soname_xslt=
13191 rm -f core conftest.err conftest.$ac_objext \
13192 conftest$ac_exeext conftest.$ac_ext
13193 LIBS=$ac_check_soname_save_LIBS
13195 if ${ac_cv_lib_soname_xslt:+false} :; then :
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13197 $as_echo "not found" >&6; }
13199 else
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13201 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13203 cat >>confdefs.h <<_ACEOF
13204 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13205 _ACEOF
13209 else
13210 XSLT_CFLAGS=""
13212 CPPFLAGS=$ac_save_CPPFLAGS
13215 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13216 case "x$with_xslt" in
13217 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13218 xno) ;;
13219 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13220 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13221 esac
13225 if test "x$with_inotify" != "xno"
13226 then
13227 if ${INOTIFY_CFLAGS:+false} :; then :
13228 if ${PKG_CONFIG+:} false; then :
13229 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13233 if ${INOTIFY_LIBS:+false} :; then :
13234 if ${PKG_CONFIG+:} false; then :
13235 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13240 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13241 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13242 ac_save_CPPFLAGS=$CPPFLAGS
13243 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13244 for ac_header in sys/inotify.h
13245 do :
13246 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13247 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13248 cat >>confdefs.h <<_ACEOF
13249 #define HAVE_SYS_INOTIFY_H 1
13250 _ACEOF
13254 done
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13257 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13258 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13259 $as_echo_n "(cached) " >&6
13260 else
13261 ac_check_lib_save_LIBS=$LIBS
13262 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13264 /* end confdefs.h. */
13266 /* Override any GCC internal prototype to avoid an error.
13267 Use char because int might match the return type of a GCC
13268 builtin and then its argument prototype would still apply. */
13269 #ifdef __cplusplus
13270 extern "C"
13271 #endif
13272 char inotify_add_watch ();
13274 main ()
13276 return inotify_add_watch ();
13278 return 0;
13280 _ACEOF
13281 if ac_fn_c_try_link "$LINENO"; then :
13282 ac_cv_lib_inotify_inotify_add_watch=yes
13283 else
13284 ac_cv_lib_inotify_inotify_add_watch=no
13286 rm -f core conftest.err conftest.$ac_objext \
13287 conftest$ac_exeext conftest.$ac_ext
13288 LIBS=$ac_check_lib_save_LIBS
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13291 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13292 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13294 else
13295 INOTIFY_LIBS=""
13298 CPPFLAGS=$ac_save_CPPFLAGS
13301 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13302 case "x$with_inotify" in
13303 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13304 xno) ;;
13305 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13306 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13307 esac
13311 if test "x$with_dbus" != "xno"
13312 then
13313 if ${DBUS_CFLAGS:+false} :; then :
13314 if ${PKG_CONFIG+:} false; then :
13315 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13319 if ${DBUS_LIBS:+false} :; then :
13320 if ${PKG_CONFIG+:} false; then :
13321 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13326 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13327 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13328 ac_save_CPPFLAGS=$CPPFLAGS
13329 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13330 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13331 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13333 $as_echo_n "checking for -ldbus-1... " >&6; }
13334 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13335 $as_echo_n "(cached) " >&6
13336 else
13337 ac_check_soname_save_LIBS=$LIBS
13338 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13340 /* end confdefs.h. */
13342 /* Override any GCC internal prototype to avoid an error.
13343 Use char because int might match the return type of a GCC
13344 builtin and then its argument prototype would still apply. */
13345 #ifdef __cplusplus
13346 extern "C"
13347 #endif
13348 char dbus_connection_close ();
13350 main ()
13352 return dbus_connection_close ();
13354 return 0;
13356 _ACEOF
13357 if ac_fn_c_try_link "$LINENO"; then :
13358 case "$LIBEXT" in
13359 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13360 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'` ;;
13361 *) 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'`
13362 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13363 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13364 fi ;;
13365 esac
13366 else
13367 ac_cv_lib_soname_dbus_1=
13369 rm -f core conftest.err conftest.$ac_objext \
13370 conftest$ac_exeext conftest.$ac_ext
13371 LIBS=$ac_check_soname_save_LIBS
13373 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13375 $as_echo "not found" >&6; }
13376 DBUS_CFLAGS=""
13377 else
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13379 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13381 cat >>confdefs.h <<_ACEOF
13382 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13383 _ACEOF
13387 else
13388 DBUS_CFLAGS=""
13392 CPPFLAGS=$ac_save_CPPFLAGS
13395 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13396 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13397 case "x$with_dbus" in
13398 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13399 xno) ;;
13400 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13401 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13402 esac
13406 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13407 then
13408 if ${HAL_CFLAGS:+false} :; then :
13409 if ${PKG_CONFIG+:} false; then :
13410 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13414 if ${HAL_LIBS:+false} :; then :
13415 if ${PKG_CONFIG+:} false; then :
13416 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13420 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13421 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13422 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13423 ac_save_CPPFLAGS=$CPPFLAGS
13424 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13425 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13426 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13428 $as_echo_n "checking for -lhal... " >&6; }
13429 if ${ac_cv_lib_soname_hal+:} false; then :
13430 $as_echo_n "(cached) " >&6
13431 else
13432 ac_check_soname_save_LIBS=$LIBS
13433 LIBS="-lhal $HAL_LIBS $LIBS"
13434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435 /* end confdefs.h. */
13437 /* Override any GCC internal prototype to avoid an error.
13438 Use char because int might match the return type of a GCC
13439 builtin and then its argument prototype would still apply. */
13440 #ifdef __cplusplus
13441 extern "C"
13442 #endif
13443 char libhal_ctx_new ();
13445 main ()
13447 return libhal_ctx_new ();
13449 return 0;
13451 _ACEOF
13452 if ac_fn_c_try_link "$LINENO"; then :
13453 case "$LIBEXT" in
13454 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13455 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'` ;;
13456 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13457 if ${ac_cv_lib_soname_hal:+false} :; then :
13458 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13459 fi ;;
13460 esac
13461 else
13462 ac_cv_lib_soname_hal=
13464 rm -f core conftest.err conftest.$ac_objext \
13465 conftest$ac_exeext conftest.$ac_ext
13466 LIBS=$ac_check_soname_save_LIBS
13468 if ${ac_cv_lib_soname_hal:+false} :; then :
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13470 $as_echo "not found" >&6; }
13471 HAL_CFLAGS=""
13472 else
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13474 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13476 cat >>confdefs.h <<_ACEOF
13477 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13478 _ACEOF
13482 else
13483 HAL_CFLAGS=""
13487 CPPFLAGS=$ac_save_CPPFLAGS
13489 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13490 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13491 case "x$with_hal" in
13492 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13493 xno) ;;
13494 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13495 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13496 esac
13501 if test "x$with_gnutls" != "xno"
13502 then
13503 if ${GNUTLS_CFLAGS:+false} :; then :
13504 if ${PKG_CONFIG+:} false; then :
13505 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13509 if ${GNUTLS_LIBS:+false} :; then :
13510 if ${PKG_CONFIG+:} false; then :
13511 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13515 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13516 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13517 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13518 ac_save_CPPFLAGS=$CPPFLAGS
13519 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13520 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13521 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13523 /* end confdefs.h. */
13524 #include <gnutls/gnutls.h>
13525 #include <gnutls/crypto.h>
13527 main ()
13529 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13531 return 0;
13533 _ACEOF
13534 if ac_fn_c_try_compile "$LINENO"; then :
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13536 $as_echo_n "checking for -lgnutls... " >&6; }
13537 if ${ac_cv_lib_soname_gnutls+:} false; then :
13538 $as_echo_n "(cached) " >&6
13539 else
13540 ac_check_soname_save_LIBS=$LIBS
13541 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13543 /* end confdefs.h. */
13545 /* Override any GCC internal prototype to avoid an error.
13546 Use char because int might match the return type of a GCC
13547 builtin and then its argument prototype would still apply. */
13548 #ifdef __cplusplus
13549 extern "C"
13550 #endif
13551 char gnutls_global_init ();
13553 main ()
13555 return gnutls_global_init ();
13557 return 0;
13559 _ACEOF
13560 if ac_fn_c_try_link "$LINENO"; then :
13561 case "$LIBEXT" in
13562 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13563 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'` ;;
13564 *) 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'`
13565 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13566 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'`
13567 fi ;;
13568 esac
13569 else
13570 ac_cv_lib_soname_gnutls=
13572 rm -f core conftest.err conftest.$ac_objext \
13573 conftest$ac_exeext conftest.$ac_ext
13574 LIBS=$ac_check_soname_save_LIBS
13576 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13578 $as_echo "not found" >&6; }
13579 GNUTLS_CFLAGS=""
13580 else
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13582 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13584 cat >>confdefs.h <<_ACEOF
13585 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13586 _ACEOF
13590 ac_wine_check_funcs_save_LIBS="$LIBS"
13591 LIBS="$LIBS $GNUTLS_LIBS"
13592 for ac_func in gnutls_cipher_init
13593 do :
13594 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13595 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13596 cat >>confdefs.h <<_ACEOF
13597 #define HAVE_GNUTLS_CIPHER_INIT 1
13598 _ACEOF
13600 else
13601 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13603 done
13605 LIBS="$ac_wine_check_funcs_save_LIBS"
13607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13608 else
13609 GNUTLS_CFLAGS=""
13613 CPPFLAGS=$ac_save_CPPFLAGS
13616 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13617 case "x$with_gnutls" in
13618 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13619 xno) ;;
13620 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13621 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13622 esac
13626 if test "x$with_sane" != "xno"
13627 then
13628 if ${SANE_CFLAGS:+false} :; then :
13629 if ${PKG_CONFIG+:} false; then :
13630 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13633 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13634 if ${SANE_LIBS:+false} :; then :
13635 if ${PKG_CONFIG+:} false; then :
13636 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13639 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13641 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13642 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13643 ac_save_CPPFLAGS=$CPPFLAGS
13644 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13645 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13646 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13648 $as_echo_n "checking for -lsane... " >&6; }
13649 if ${ac_cv_lib_soname_sane+:} false; then :
13650 $as_echo_n "(cached) " >&6
13651 else
13652 ac_check_soname_save_LIBS=$LIBS
13653 LIBS="-lsane $SANE_LIBS $LIBS"
13654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13657 /* Override any GCC internal prototype to avoid an error.
13658 Use char because int might match the return type of a GCC
13659 builtin and then its argument prototype would still apply. */
13660 #ifdef __cplusplus
13661 extern "C"
13662 #endif
13663 char sane_init ();
13665 main ()
13667 return sane_init ();
13669 return 0;
13671 _ACEOF
13672 if ac_fn_c_try_link "$LINENO"; then :
13673 case "$LIBEXT" in
13674 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13675 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'` ;;
13676 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13677 if ${ac_cv_lib_soname_sane:+false} :; then :
13678 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13679 fi ;;
13680 esac
13681 else
13682 ac_cv_lib_soname_sane=
13684 rm -f core conftest.err conftest.$ac_objext \
13685 conftest$ac_exeext conftest.$ac_ext
13686 LIBS=$ac_check_soname_save_LIBS
13688 if ${ac_cv_lib_soname_sane:+false} :; then :
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13690 $as_echo "not found" >&6; }
13691 SANE_CFLAGS=""
13692 else
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13694 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13696 cat >>confdefs.h <<_ACEOF
13697 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13698 _ACEOF
13702 else
13703 SANE_CFLAGS=""
13707 CPPFLAGS=$ac_save_CPPFLAGS
13710 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13711 case "x$with_sane" in
13712 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13713 xno) ;;
13714 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13715 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13716 esac
13720 if test "x$with_usb" != "xno"
13721 then
13722 if ${USB_CFLAGS:+false} :; then :
13723 if ${PKG_CONFIG+:} false; then :
13724 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13728 if ${USB_LIBS:+false} :; then :
13729 if ${PKG_CONFIG+:} false; then :
13730 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13734 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13735 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13736 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13737 ac_save_CPPFLAGS=$CPPFLAGS
13738 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13739 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13740 if test "x$ac_cv_header_libusb_h" = xyes; then :
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13742 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13743 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13744 $as_echo_n "(cached) " >&6
13745 else
13746 ac_check_lib_save_LIBS=$LIBS
13747 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13751 /* Override any GCC internal prototype to avoid an error.
13752 Use char because int might match the return type of a GCC
13753 builtin and then its argument prototype would still apply. */
13754 #ifdef __cplusplus
13755 extern "C"
13756 #endif
13757 char libusb_interrupt_event_handler ();
13759 main ()
13761 return libusb_interrupt_event_handler ();
13763 return 0;
13765 _ACEOF
13766 if ac_fn_c_try_link "$LINENO"; then :
13767 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13768 else
13769 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13771 rm -f core conftest.err conftest.$ac_objext \
13772 conftest$ac_exeext conftest.$ac_ext
13773 LIBS=$ac_check_lib_save_LIBS
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13776 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13777 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13779 else
13780 USB_LIBS=""
13783 else
13784 USB_LIBS=""
13788 CPPFLAGS=$ac_save_CPPFLAGS
13791 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13792 case "x$with_usb" in
13793 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13794 xno) ;;
13795 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13796 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13797 esac
13798 enable_wineusb_sys=${enable_wineusb_sys:-no}
13801 if test "x$with_v4l2" != "xno"
13802 then
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13804 $as_echo_n "checking for -lv4l2... " >&6; }
13805 if ${ac_cv_lib_soname_v4l2+:} false; then :
13806 $as_echo_n "(cached) " >&6
13807 else
13808 ac_check_soname_save_LIBS=$LIBS
13809 LIBS="-lv4l2 $LIBS"
13810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13811 /* end confdefs.h. */
13813 /* Override any GCC internal prototype to avoid an error.
13814 Use char because int might match the return type of a GCC
13815 builtin and then its argument prototype would still apply. */
13816 #ifdef __cplusplus
13817 extern "C"
13818 #endif
13819 char v4l2_open ();
13821 main ()
13823 return v4l2_open ();
13825 return 0;
13827 _ACEOF
13828 if ac_fn_c_try_link "$LINENO"; then :
13829 case "$LIBEXT" in
13830 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13831 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'` ;;
13832 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13833 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13834 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13835 fi ;;
13836 esac
13837 else
13838 ac_cv_lib_soname_v4l2=
13840 rm -f core conftest.err conftest.$ac_objext \
13841 conftest$ac_exeext conftest.$ac_ext
13842 LIBS=$ac_check_soname_save_LIBS
13844 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13846 $as_echo "not found" >&6; }
13848 else
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13850 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13852 cat >>confdefs.h <<_ACEOF
13853 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13854 _ACEOF
13859 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13860 case "x$with_v4l2" in
13861 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13862 xno) ;;
13863 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13864 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13865 esac
13869 if test "x$with_gphoto" != "xno"
13870 then
13871 if ${GPHOTO2_CFLAGS:+false} :; then :
13872 if ${PKG_CONFIG+:} false; then :
13873 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13876 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13877 if ${GPHOTO2_LIBS:+false} :; then :
13878 if ${PKG_CONFIG+:} false; then :
13879 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13882 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13883 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13884 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13885 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13886 ac_save_CPPFLAGS=$CPPFLAGS
13887 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13888 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13889 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13891 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13892 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 ac_check_lib_save_LIBS=$LIBS
13896 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13900 /* Override any GCC internal prototype to avoid an error.
13901 Use char because int might match the return type of a GCC
13902 builtin and then its argument prototype would still apply. */
13903 #ifdef __cplusplus
13904 extern "C"
13905 #endif
13906 char gp_camera_new ();
13908 main ()
13910 return gp_camera_new ();
13912 return 0;
13914 _ACEOF
13915 if ac_fn_c_try_link "$LINENO"; then :
13916 ac_cv_lib_gphoto2_gp_camera_new=yes
13917 else
13918 ac_cv_lib_gphoto2_gp_camera_new=no
13920 rm -f core conftest.err conftest.$ac_objext \
13921 conftest$ac_exeext conftest.$ac_ext
13922 LIBS=$ac_check_lib_save_LIBS
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13925 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13926 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13928 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13930 else
13931 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13934 else
13935 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13939 CPPFLAGS=$ac_save_CPPFLAGS
13941 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13942 if ${PKG_CONFIG+:} false; then :
13943 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13946 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13947 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13948 if ${PKG_CONFIG+:} false; then :
13949 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13952 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13953 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13954 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13955 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13956 ac_save_CPPFLAGS=$CPPFLAGS
13957 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13958 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13959 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13961 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13962 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13963 $as_echo_n "(cached) " >&6
13964 else
13965 ac_check_lib_save_LIBS=$LIBS
13966 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13968 /* end confdefs.h. */
13970 /* Override any GCC internal prototype to avoid an error.
13971 Use char because int might match the return type of a GCC
13972 builtin and then its argument prototype would still apply. */
13973 #ifdef __cplusplus
13974 extern "C"
13975 #endif
13976 char gp_port_info_list_new ();
13978 main ()
13980 return gp_port_info_list_new ();
13982 return 0;
13984 _ACEOF
13985 if ac_fn_c_try_link "$LINENO"; then :
13986 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13987 else
13988 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13990 rm -f core conftest.err conftest.$ac_objext \
13991 conftest$ac_exeext conftest.$ac_ext
13992 LIBS=$ac_check_lib_save_LIBS
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13995 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13996 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13998 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14000 else
14001 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14004 else
14005 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14009 CPPFLAGS=$ac_save_CPPFLAGS
14012 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14013 case "x$with_gphoto" in
14014 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14015 xno) ;;
14016 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14017 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14018 esac
14021 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14022 case "x$with_gphoto" in
14023 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14024 xno) ;;
14025 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14026 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14027 esac
14032 if test "$ac_cv_header_resolv_h" = "yes"
14033 then
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14035 $as_echo_n "checking for resolver library... " >&6; }
14036 if ${ac_cv_have_resolv+:} false; then :
14037 $as_echo_n "(cached) " >&6
14038 else
14039 ac_save_LIBS="$LIBS"
14040 for lib in '' -lresolv
14042 LIBS="$lib $ac_save_LIBS"
14043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14045 #ifdef HAVE_NETINET_IN_H
14046 #include <netinet/in.h>
14047 #endif
14048 #include <resolv.h>
14050 main ()
14052 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14054 return 0;
14056 _ACEOF
14057 if ac_fn_c_try_link "$LINENO"; then :
14058 ac_cv_have_resolv=${lib:-"none required"}
14059 else
14060 ac_cv_have_resolv="not found"
14062 rm -f core conftest.err conftest.$ac_objext \
14063 conftest$ac_exeext conftest.$ac_ext
14064 test "x$ac_cv_have_resolv" = "xnot found" || break
14065 done
14066 LIBS="$ac_save_LIBS"
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14069 $as_echo "$ac_cv_have_resolv" >&6; }
14071 case "$ac_cv_have_resolv" in
14072 "not found") ;;
14073 "none required")
14075 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14078 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14080 RESOLV_LIBS=$ac_cv_have_resolv
14082 esac
14084 if test "x$ac_cv_have_resolv" != "xnot found"
14085 then
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14087 $as_echo_n "checking for res_getservers... " >&6; }
14088 if ${ac_cv_have_res_getservers+:} false; then :
14089 $as_echo_n "(cached) " >&6
14090 else
14091 ac_save_LIBS="$LIBS"
14092 LIBS="$RESOLV_LIBS $LIBS"
14093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14095 #include <resolv.h>
14097 main ()
14099 res_getservers(NULL, NULL, 0);
14101 return 0;
14103 _ACEOF
14104 if ac_fn_c_try_link "$LINENO"; then :
14105 ac_cv_have_res_getservers=yes
14106 else
14107 ac_cv_have_res_getservers=no
14109 rm -f core conftest.err conftest.$ac_objext \
14110 conftest$ac_exeext conftest.$ac_ext
14111 LIBS="$ac_save_LIBS"
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14114 $as_echo "$ac_cv_have_res_getservers" >&6; }
14115 if test "$ac_cv_have_res_getservers" = "yes"
14116 then
14118 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14124 if test "x$with_cms" != "xno"
14125 then
14126 if ${LCMS2_CFLAGS:+false} :; then :
14127 if ${PKG_CONFIG+:} false; then :
14128 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14132 if ${LCMS2_LIBS:+false} :; then :
14133 if ${PKG_CONFIG+:} false; then :
14134 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14138 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14139 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14140 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14141 ac_save_CPPFLAGS=$CPPFLAGS
14142 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14143 for ac_header in lcms2.h
14144 do :
14145 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14146 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14147 cat >>confdefs.h <<_ACEOF
14148 #define HAVE_LCMS2_H 1
14149 _ACEOF
14153 done
14155 if test "$ac_cv_header_lcms2_h" = "yes"
14156 then
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14158 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14159 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14160 $as_echo_n "(cached) " >&6
14161 else
14162 ac_check_lib_save_LIBS=$LIBS
14163 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14165 /* end confdefs.h. */
14167 /* Override any GCC internal prototype to avoid an error.
14168 Use char because int might match the return type of a GCC
14169 builtin and then its argument prototype would still apply. */
14170 #ifdef __cplusplus
14171 extern "C"
14172 #endif
14173 char cmsOpenProfileFromFile ();
14175 main ()
14177 return cmsOpenProfileFromFile ();
14179 return 0;
14181 _ACEOF
14182 if ac_fn_c_try_link "$LINENO"; then :
14183 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14184 else
14185 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14187 rm -f core conftest.err conftest.$ac_objext \
14188 conftest$ac_exeext conftest.$ac_ext
14189 LIBS=$ac_check_lib_save_LIBS
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14192 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14193 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14195 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14197 else
14198 LCMS2_LIBS=""
14201 else
14202 LCMS2_CFLAGS=""
14203 LCMS2_LIBS=""
14205 CPPFLAGS=$ac_save_CPPFLAGS
14208 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14209 case "x$with_cms" in
14210 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14211 xno) ;;
14212 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14213 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14214 esac
14218 if test "x$with_freetype" != "xno"
14219 then
14220 if ${FREETYPE_CFLAGS:+false} :; then :
14221 if ${PKG_CONFIG+:} false; then :
14222 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14225 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14226 if ${FREETYPE_LIBS:+false} :; then :
14227 if ${PKG_CONFIG+:} false; then :
14228 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14231 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14232 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14233 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14234 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14235 ac_save_CPPFLAGS=$CPPFLAGS
14236 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14237 for ac_header in ft2build.h
14238 do :
14239 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14240 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14241 cat >>confdefs.h <<_ACEOF
14242 #define HAVE_FT2BUILD_H 1
14243 _ACEOF
14247 done
14249 if test "$ac_cv_header_ft2build_h" = "yes"
14250 then
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14252 $as_echo_n "checking for -lfreetype... " >&6; }
14253 if ${ac_cv_lib_soname_freetype+:} false; then :
14254 $as_echo_n "(cached) " >&6
14255 else
14256 ac_check_soname_save_LIBS=$LIBS
14257 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14264 #ifdef __cplusplus
14265 extern "C"
14266 #endif
14267 char FT_Init_FreeType ();
14269 main ()
14271 return FT_Init_FreeType ();
14273 return 0;
14275 _ACEOF
14276 if ac_fn_c_try_link "$LINENO"; then :
14277 case "$LIBEXT" in
14278 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14279 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'` ;;
14280 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14281 if ${ac_cv_lib_soname_freetype:+false} :; then :
14282 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14283 fi ;;
14284 esac
14285 else
14286 ac_cv_lib_soname_freetype=
14288 rm -f core conftest.err conftest.$ac_objext \
14289 conftest$ac_exeext conftest.$ac_ext
14290 LIBS=$ac_check_soname_save_LIBS
14292 if ${ac_cv_lib_soname_freetype:+false} :; then :
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14294 $as_echo "not found" >&6; }
14295 FREETYPE_LIBS=""
14296 else
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14298 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14300 cat >>confdefs.h <<_ACEOF
14301 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14302 _ACEOF
14305 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14307 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14308 #include FT_MODULE_H
14310 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14312 cat >>confdefs.h <<_ACEOF
14313 #define HAVE_FT_TRUETYPEENGINETYPE 1
14314 _ACEOF
14320 else
14321 FREETYPE_CFLAGS=""
14322 FREETYPE_LIBS=""
14324 CPPFLAGS=$ac_save_CPPFLAGS
14327 if test "x$ac_cv_lib_soname_freetype" = x; then :
14328 case "x$with_freetype" in
14329 xno) ;;
14330 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14331 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14332 esac
14333 enable_fonts=${enable_fonts:-no}
14336 ac_wine_check_funcs_save_LIBS="$LIBS"
14337 LIBS="$LIBS $PTHREAD_LIBS"
14338 for ac_func in \
14339 pthread_getthreadid_np
14340 do :
14341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14343 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14344 cat >>confdefs.h <<_ACEOF
14345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14346 _ACEOF
14349 done
14351 LIBS="$ac_wine_check_funcs_save_LIBS"
14353 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14354 then
14355 if test "$ac_cv_header_gettext_po_h" = "yes"
14356 then
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14358 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14359 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14360 $as_echo_n "(cached) " >&6
14361 else
14362 ac_check_lib_save_LIBS=$LIBS
14363 LIBS="-lgettextpo $LIBS"
14364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14367 /* Override any GCC internal prototype to avoid an error.
14368 Use char because int might match the return type of a GCC
14369 builtin and then its argument prototype would still apply. */
14370 #ifdef __cplusplus
14371 extern "C"
14372 #endif
14373 char po_message_msgctxt ();
14375 main ()
14377 return po_message_msgctxt ();
14379 return 0;
14381 _ACEOF
14382 if ac_fn_c_try_link "$LINENO"; then :
14383 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14384 else
14385 ac_cv_lib_gettextpo_po_message_msgctxt=no
14387 rm -f core conftest.err conftest.$ac_objext \
14388 conftest$ac_exeext conftest.$ac_ext
14389 LIBS=$ac_check_lib_save_LIBS
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14392 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14393 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14395 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14397 GETTEXTPO_LIBS="-lgettextpo"
14402 if test "x$GETTEXTPO_LIBS" = "x"; then :
14403 case "x$with_gettextpo" in
14404 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14405 xno) ;;
14406 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14407 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14408 esac
14411 if test "$srcdir" != .; then :
14412 case "x$with_gettextpo" in
14413 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14414 xno) ;;
14415 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14416 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14417 esac
14422 if test "x$with_pulse" != "xno";
14423 then
14424 if ${PULSE_CFLAGS:+false} :; then :
14425 if ${PKG_CONFIG+:} false; then :
14426 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14430 if ${PULSE_LIBS:+false} :; then :
14431 if ${PKG_CONFIG+:} false; then :
14432 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14437 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14438 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14439 ac_save_CPPFLAGS=$CPPFLAGS
14440 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14441 for ac_header in pulse/pulseaudio.h
14442 do :
14443 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14444 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14445 cat >>confdefs.h <<_ACEOF
14446 #define HAVE_PULSE_PULSEAUDIO_H 1
14447 _ACEOF
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14449 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14450 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14451 $as_echo_n "(cached) " >&6
14452 else
14453 ac_check_lib_save_LIBS=$LIBS
14454 LIBS="-lpulse $PULSE_LIBS $LIBS"
14455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14456 /* end confdefs.h. */
14458 /* Override any GCC internal prototype to avoid an error.
14459 Use char because int might match the return type of a GCC
14460 builtin and then its argument prototype would still apply. */
14461 #ifdef __cplusplus
14462 extern "C"
14463 #endif
14464 char pa_stream_is_corked ();
14466 main ()
14468 return pa_stream_is_corked ();
14470 return 0;
14472 _ACEOF
14473 if ac_fn_c_try_link "$LINENO"; then :
14474 ac_cv_lib_pulse_pa_stream_is_corked=yes
14475 else
14476 ac_cv_lib_pulse_pa_stream_is_corked=no
14478 rm -f core conftest.err conftest.$ac_objext \
14479 conftest$ac_exeext conftest.$ac_ext
14480 LIBS=$ac_check_lib_save_LIBS
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14483 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14484 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14486 else
14487 PULSE_LIBS=""
14490 else
14491 PULSE_LIBS=""
14494 done
14496 CPPFLAGS=$ac_save_CPPFLAGS
14499 if test -z "$PULSE_LIBS"; then :
14500 case "x$with_pulse" in
14501 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14502 xno) ;;
14503 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14504 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14505 esac
14506 enable_winepulse_drv=${enable_winepulse_drv:-no}
14509 if test "x$with_gstreamer" != "xno"
14510 then
14511 if ${GSTREAMER_CFLAGS:+false} :; then :
14512 if ${PKG_CONFIG+:} false; then :
14513 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14517 if ${GSTREAMER_LIBS:+false} :; then :
14518 if ${PKG_CONFIG+:} false; then :
14519 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14524 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14525 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14526 ac_save_CPPFLAGS=$CPPFLAGS
14527 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14528 ac_gst_incl=""
14529 for i in $GSTREAMER_CFLAGS
14531 case "$i" in
14532 -I*) ac_gst_incl="$ac_gst_incl $i";;
14533 esac
14534 done
14535 GSTREAMER_CFLAGS=$ac_gst_incl
14536 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14537 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14538 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14540 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14543 #include <gst/gst.h>
14545 main ()
14547 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14549 return 0;
14551 _ACEOF
14552 if ac_fn_c_try_compile "$LINENO"; then :
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14554 $as_echo "yes" >&6; }
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14556 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14557 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14558 $as_echo_n "(cached) " >&6
14559 else
14560 ac_check_lib_save_LIBS=$LIBS
14561 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14563 /* end confdefs.h. */
14565 /* Override any GCC internal prototype to avoid an error.
14566 Use char because int might match the return type of a GCC
14567 builtin and then its argument prototype would still apply. */
14568 #ifdef __cplusplus
14569 extern "C"
14570 #endif
14571 char gst_pad_new ();
14573 main ()
14575 return gst_pad_new ();
14577 return 0;
14579 _ACEOF
14580 if ac_fn_c_try_link "$LINENO"; then :
14581 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14582 else
14583 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14585 rm -f core conftest.err conftest.$ac_objext \
14586 conftest$ac_exeext conftest.$ac_ext
14587 LIBS=$ac_check_lib_save_LIBS
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14590 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14591 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14595 else
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14597 $as_echo "no" >&6; }
14598 ac_glib2_broken=yes
14599 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14605 CPPFLAGS=$ac_save_CPPFLAGS
14608 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 :
14609 case "x$with_gstreamer" in
14610 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14611 xno) ;;
14612 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14613 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14614 esac
14617 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14619 ALSA_LIBS=""
14621 if test "x$with_alsa" != "xno"
14622 then
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14624 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14625 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14626 $as_echo_n "(cached) " >&6
14627 else
14628 ac_check_lib_save_LIBS=$LIBS
14629 LIBS="-lasound $LIBS"
14630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14631 /* end confdefs.h. */
14633 /* Override any GCC internal prototype to avoid an error.
14634 Use char because int might match the return type of a GCC
14635 builtin and then its argument prototype would still apply. */
14636 #ifdef __cplusplus
14637 extern "C"
14638 #endif
14639 char snd_pcm_hw_params_get_access_mask ();
14641 main ()
14643 return snd_pcm_hw_params_get_access_mask ();
14645 return 0;
14647 _ACEOF
14648 if ac_fn_c_try_link "$LINENO"; then :
14649 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14650 else
14651 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14653 rm -f core conftest.err conftest.$ac_objext \
14654 conftest$ac_exeext conftest.$ac_ext
14655 LIBS=$ac_check_lib_save_LIBS
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14658 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14659 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14661 /* end confdefs.h. */
14662 #include <alsa/asoundlib.h>
14664 main ()
14666 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14668 return 0;
14670 _ACEOF
14671 if ac_fn_c_try_compile "$LINENO"; then :
14672 ALSA_LIBS="-lasound"
14674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14678 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14680 if test "x$with_oss" != xno
14681 then
14682 ac_save_CPPFLAGS="$CPPFLAGS"
14683 if test -f /etc/oss.conf
14684 then
14685 . /etc/oss.conf
14687 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14688 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14689 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14690 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14691 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14693 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14695 cat >>confdefs.h <<_ACEOF
14696 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14697 _ACEOF
14699 OSS4_CFLAGS="$ac_oss_incl"
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14702 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14703 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14704 $as_echo_n "(cached) " >&6
14705 else
14706 ac_check_lib_save_LIBS=$LIBS
14707 LIBS="-lossaudio $LIBS"
14708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14711 /* Override any GCC internal prototype to avoid an error.
14712 Use char because int might match the return type of a GCC
14713 builtin and then its argument prototype would still apply. */
14714 #ifdef __cplusplus
14715 extern "C"
14716 #endif
14717 char _oss_ioctl ();
14719 main ()
14721 return _oss_ioctl ();
14723 return 0;
14725 _ACEOF
14726 if ac_fn_c_try_link "$LINENO"; then :
14727 ac_cv_lib_ossaudio__oss_ioctl=yes
14728 else
14729 ac_cv_lib_ossaudio__oss_ioctl=no
14731 rm -f core conftest.err conftest.$ac_objext \
14732 conftest$ac_exeext conftest.$ac_ext
14733 LIBS=$ac_check_lib_save_LIBS
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14736 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14737 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14738 OSS4_LIBS="-lossaudio"
14747 CPPFLAGS="$ac_save_CPPFLAGS"
14749 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14750 case "x$with_oss" in
14751 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14752 xno) ;;
14753 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14754 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14755 esac
14756 enable_wineoss_drv=${enable_wineoss_drv:-no}
14759 if test "x$with_udev" != "xno"
14760 then
14761 if ${UDEV_CFLAGS:+false} :; then :
14762 if ${PKG_CONFIG+:} false; then :
14763 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14767 if ${UDEV_LIBS:+false} :; then :
14768 if ${PKG_CONFIG+:} false; then :
14769 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14773 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14774 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14775 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14776 ac_save_CPPFLAGS=$CPPFLAGS
14777 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14778 for ac_header in libudev.h
14779 do :
14780 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14781 if test "x$ac_cv_header_libudev_h" = xyes; then :
14782 cat >>confdefs.h <<_ACEOF
14783 #define HAVE_LIBUDEV_H 1
14784 _ACEOF
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14786 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14787 if ${ac_cv_lib_udev_udev_new+:} false; then :
14788 $as_echo_n "(cached) " >&6
14789 else
14790 ac_check_lib_save_LIBS=$LIBS
14791 LIBS="-ludev $UDEV_LIBS $LIBS"
14792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14793 /* end confdefs.h. */
14795 /* Override any GCC internal prototype to avoid an error.
14796 Use char because int might match the return type of a GCC
14797 builtin and then its argument prototype would still apply. */
14798 #ifdef __cplusplus
14799 extern "C"
14800 #endif
14801 char udev_new ();
14803 main ()
14805 return udev_new ();
14807 return 0;
14809 _ACEOF
14810 if ac_fn_c_try_link "$LINENO"; then :
14811 ac_cv_lib_udev_udev_new=yes
14812 else
14813 ac_cv_lib_udev_udev_new=no
14815 rm -f core conftest.err conftest.$ac_objext \
14816 conftest$ac_exeext conftest.$ac_ext
14817 LIBS=$ac_check_lib_save_LIBS
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14820 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14821 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14823 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14825 else
14826 UDEV_LIBS=""
14829 else
14830 UDEV_LIBS=""
14833 done
14835 CPPFLAGS=$ac_save_CPPFLAGS
14838 if test "x$UDEV_LIBS" = "x"; then :
14839 case "x$with_udev" in
14840 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14841 xno) ;;
14842 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14843 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14844 esac
14848 if test "x$with_unwind" != xno
14849 then
14850 if ${UNWIND_CFLAGS:+false} :; then :
14851 if ${PKG_CONFIG+:} false; then :
14852 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14856 if ${UNWIND_LIBS:+false} :; then :
14857 if ${PKG_CONFIG+:} false; then :
14858 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14862 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14863 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14864 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14865 ac_save_CPPFLAGS=$CPPFLAGS
14866 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14868 $as_echo_n "checking for unw_step... " >&6; }
14869 if ${wine_cv_have_unw_step+:} false; then :
14870 $as_echo_n "(cached) " >&6
14871 else
14872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14873 /* end confdefs.h. */
14874 #define UNW_LOCAL_ONLY
14875 #include <libunwind.h>
14877 main ()
14879 unw_cursor_t cursor; unw_step( &cursor );
14881 return 0;
14883 _ACEOF
14884 if ac_fn_c_try_link "$LINENO"; then :
14885 wine_cv_have_unw_step="yes"
14886 else
14887 wine_cv_have_unw_step="no"
14889 rm -f core conftest.err conftest.$ac_objext \
14890 conftest$ac_exeext conftest.$ac_ext
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14893 $as_echo "$wine_cv_have_unw_step" >&6; }
14894 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14895 then
14896 save_libs=$LIBS
14897 LIBS="$UNWIND_LIBS $LIBS"
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14899 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14900 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14901 $as_echo_n "(cached) " >&6
14902 else
14903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14904 /* end confdefs.h. */
14905 #define UNW_LOCAL_ONLY
14906 #include <libunwind.h>
14908 main ()
14910 unw_cursor_t cursor; unw_step( &cursor );
14912 return 0;
14914 _ACEOF
14915 if ac_fn_c_try_link "$LINENO"; then :
14916 wine_cv_have_libunwind_unw_step="yes"
14917 else
14918 wine_cv_have_libunwind_unw_step="no"
14920 rm -f core conftest.err conftest.$ac_objext \
14921 conftest$ac_exeext conftest.$ac_ext
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14924 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14925 LIBS=$save_libs
14927 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14928 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14929 then
14931 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14934 CPPFLAGS=$ac_save_CPPFLAGS
14937 case $host in
14938 aarch64*|*-darwin*)
14939 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14940 case "x$with_unwind" in
14941 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14942 xno) ;;
14943 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14944 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14945 esac
14947 fi ;;
14948 esac
14950 if test "x$with_sdl" != "xno"
14951 then
14952 if ${SDL2_CFLAGS:+false} :; then :
14953 if ${PKG_CONFIG+:} false; then :
14954 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14958 if ${SDL2_LIBS:+false} :; then :
14959 if ${PKG_CONFIG+:} false; then :
14960 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14964 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14965 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14966 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14967 ac_save_CPPFLAGS=$CPPFLAGS
14968 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14969 for ac_header in SDL2/SDL.h
14970 do :
14971 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14972 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14973 cat >>confdefs.h <<_ACEOF
14974 #define HAVE_SDL2_SDL_H 1
14975 _ACEOF
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14977 $as_echo_n "checking for -lSDL2... " >&6; }
14978 if ${ac_cv_lib_soname_SDL2+:} false; then :
14979 $as_echo_n "(cached) " >&6
14980 else
14981 ac_check_soname_save_LIBS=$LIBS
14982 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14984 /* end confdefs.h. */
14986 /* Override any GCC internal prototype to avoid an error.
14987 Use char because int might match the return type of a GCC
14988 builtin and then its argument prototype would still apply. */
14989 #ifdef __cplusplus
14990 extern "C"
14991 #endif
14992 char SDL_Init ();
14994 main ()
14996 return SDL_Init ();
14998 return 0;
15000 _ACEOF
15001 if ac_fn_c_try_link "$LINENO"; then :
15002 case "$LIBEXT" in
15003 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15004 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'` ;;
15005 *) 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'`
15006 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15007 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15008 fi ;;
15009 esac
15010 else
15011 ac_cv_lib_soname_SDL2=
15013 rm -f core conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
15015 LIBS=$ac_check_soname_save_LIBS
15017 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15019 $as_echo "not found" >&6; }
15021 else
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15023 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15025 cat >>confdefs.h <<_ACEOF
15026 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15027 _ACEOF
15033 done
15035 CPPFLAGS=$ac_save_CPPFLAGS
15038 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15039 case "x$with_sdl" in
15040 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15041 xno) ;;
15042 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15043 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15044 esac
15048 if test "x$with_faudio" != "xno"
15049 then
15050 if ${FAUDIO_CFLAGS:+false} :; then :
15051 if ${PKG_CONFIG+:} false; then :
15052 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15056 if ${FAUDIO_LIBS:+false} :; then :
15057 if ${PKG_CONFIG+:} false; then :
15058 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15062 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15063 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15064 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15065 ac_save_CPPFLAGS=$CPPFLAGS
15066 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15067 for ac_header in FAudio.h
15068 do :
15069 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15070 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15071 cat >>confdefs.h <<_ACEOF
15072 #define HAVE_FAUDIO_H 1
15073 _ACEOF
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15075 $as_echo_n "checking for -lFAudio... " >&6; }
15076 if ${ac_cv_lib_soname_FAudio+:} false; then :
15077 $as_echo_n "(cached) " >&6
15078 else
15079 ac_check_soname_save_LIBS=$LIBS
15080 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15084 /* Override any GCC internal prototype to avoid an error.
15085 Use char because int might match the return type of a GCC
15086 builtin and then its argument prototype would still apply. */
15087 #ifdef __cplusplus
15088 extern "C"
15089 #endif
15090 char FAudioCreate ();
15092 main ()
15094 return FAudioCreate ();
15096 return 0;
15098 _ACEOF
15099 if ac_fn_c_try_link "$LINENO"; then :
15100 case "$LIBEXT" in
15101 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15102 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'` ;;
15103 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15104 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15105 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15106 fi ;;
15107 esac
15108 else
15109 ac_cv_lib_soname_FAudio=
15111 rm -f core conftest.err conftest.$ac_objext \
15112 conftest$ac_exeext conftest.$ac_ext
15113 LIBS=$ac_check_soname_save_LIBS
15115 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15117 $as_echo "not found" >&6; }
15119 else
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15121 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15123 cat >>confdefs.h <<_ACEOF
15124 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15125 _ACEOF
15131 done
15133 ac_wine_check_funcs_save_LIBS="$LIBS"
15134 LIBS="$LIBS $FAUDIO_LIBS"
15135 for ac_func in FAudio_CommitOperationSet \
15136 F3DAudioInitialize8 \
15137 FAudioLinkedVersion \
15138 FAudioCreateReverb9WithCustomAllocatorEXT
15139 do :
15140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15142 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15143 cat >>confdefs.h <<_ACEOF
15144 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15145 _ACEOF
15148 done
15150 LIBS="$ac_wine_check_funcs_save_LIBS"
15152 CPPFLAGS=$ac_save_CPPFLAGS
15155 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15156 case "x$with_faudio" in
15157 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15158 xno) ;;
15159 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15160 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15161 esac
15165 if test "x$with_capi" != "xno"
15166 then
15167 if ${CAPI20_CFLAGS:+false} :; then :
15168 if ${PKG_CONFIG+:} false; then :
15169 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15173 if ${CAPI20_LIBS:+false} :; then :
15174 if ${PKG_CONFIG+:} false; then :
15175 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15180 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15181 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15182 ac_save_CPPFLAGS=$CPPFLAGS
15183 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15184 for ac_header in capi20.h linux/capi.h
15185 do :
15186 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15187 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15189 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15190 cat >>confdefs.h <<_ACEOF
15191 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15192 _ACEOF
15196 done
15198 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15199 then
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15201 $as_echo_n "checking for -lcapi20... " >&6; }
15202 if ${ac_cv_lib_soname_capi20+:} false; then :
15203 $as_echo_n "(cached) " >&6
15204 else
15205 ac_check_soname_save_LIBS=$LIBS
15206 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h. */
15210 /* Override any GCC internal prototype to avoid an error.
15211 Use char because int might match the return type of a GCC
15212 builtin and then its argument prototype would still apply. */
15213 #ifdef __cplusplus
15214 extern "C"
15215 #endif
15216 char capi20_register ();
15218 main ()
15220 return capi20_register ();
15222 return 0;
15224 _ACEOF
15225 if ac_fn_c_try_link "$LINENO"; then :
15226 case "$LIBEXT" in
15227 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15228 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'` ;;
15229 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15230 if ${ac_cv_lib_soname_capi20:+false} :; then :
15231 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15232 fi ;;
15233 esac
15234 else
15235 ac_cv_lib_soname_capi20=
15237 rm -f core conftest.err conftest.$ac_objext \
15238 conftest$ac_exeext conftest.$ac_ext
15239 LIBS=$ac_check_soname_save_LIBS
15241 if ${ac_cv_lib_soname_capi20:+false} :; then :
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15243 $as_echo "not found" >&6; }
15245 else
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15247 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15249 cat >>confdefs.h <<_ACEOF
15250 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15251 _ACEOF
15256 CPPFLAGS=$ac_save_CPPFLAGS
15259 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15260 case "x$with_capi" in
15261 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15262 xno) ;;
15263 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15264 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15265 esac
15269 if test "x$with_cups" != "xno"
15270 then
15271 if ${CUPS_CFLAGS:+false} :; then :
15272 if ${PKG_CONFIG+:} false; then :
15273 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15276 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15277 if ${CUPS_LIBS:+false} :; then :
15278 if ${PKG_CONFIG+:} false; then :
15279 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15282 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15283 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15284 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15285 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15286 ac_save_CPPFLAGS=$CPPFLAGS
15287 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15288 for ac_header in cups/cups.h cups/ppd.h
15289 do :
15290 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15291 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15292 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15293 cat >>confdefs.h <<_ACEOF
15294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15295 _ACEOF
15299 done
15301 if test "$ac_cv_header_cups_cups_h" = "yes"
15302 then
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15304 $as_echo_n "checking for -lcups... " >&6; }
15305 if ${ac_cv_lib_soname_cups+:} false; then :
15306 $as_echo_n "(cached) " >&6
15307 else
15308 ac_check_soname_save_LIBS=$LIBS
15309 LIBS="-lcups $CUPS_LIBS $LIBS"
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15313 /* Override any GCC internal prototype to avoid an error.
15314 Use char because int might match the return type of a GCC
15315 builtin and then its argument prototype would still apply. */
15316 #ifdef __cplusplus
15317 extern "C"
15318 #endif
15319 char cupsGetDefault ();
15321 main ()
15323 return cupsGetDefault ();
15325 return 0;
15327 _ACEOF
15328 if ac_fn_c_try_link "$LINENO"; then :
15329 case "$LIBEXT" in
15330 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15331 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'` ;;
15332 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15333 if ${ac_cv_lib_soname_cups:+false} :; then :
15334 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15335 fi ;;
15336 esac
15337 else
15338 ac_cv_lib_soname_cups=
15340 rm -f core conftest.err conftest.$ac_objext \
15341 conftest$ac_exeext conftest.$ac_ext
15342 LIBS=$ac_check_soname_save_LIBS
15344 if ${ac_cv_lib_soname_cups:+false} :; then :
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15346 $as_echo "not found" >&6; }
15347 CUPS_LIBS=""
15348 else
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15350 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15352 cat >>confdefs.h <<_ACEOF
15353 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15354 _ACEOF
15358 else
15359 CUPS_CFLAGS=""
15360 CUPS_LIBS=""
15362 CPPFLAGS=$ac_save_CPPFLAGS
15365 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15366 case "x$with_cups" in
15367 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15368 xno) ;;
15369 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15370 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15371 esac
15375 if test "x$with_fontconfig" != "xno"
15376 then
15377 if ${FONTCONFIG_CFLAGS:+false} :; then :
15378 if ${PKG_CONFIG+:} false; then :
15379 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15382 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15383 if ${FONTCONFIG_LIBS:+false} :; then :
15384 if ${PKG_CONFIG+:} false; then :
15385 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15388 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15390 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15391 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15392 ac_save_CPPFLAGS=$CPPFLAGS
15393 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15394 for ac_header in fontconfig/fontconfig.h
15395 do :
15396 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15397 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15398 cat >>confdefs.h <<_ACEOF
15399 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15400 _ACEOF
15404 done
15406 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15407 then
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15409 $as_echo_n "checking for -lfontconfig... " >&6; }
15410 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15411 $as_echo_n "(cached) " >&6
15412 else
15413 ac_check_soname_save_LIBS=$LIBS
15414 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15416 /* end confdefs.h. */
15418 /* Override any GCC internal prototype to avoid an error.
15419 Use char because int might match the return type of a GCC
15420 builtin and then its argument prototype would still apply. */
15421 #ifdef __cplusplus
15422 extern "C"
15423 #endif
15424 char FcInit ();
15426 main ()
15428 return FcInit ();
15430 return 0;
15432 _ACEOF
15433 if ac_fn_c_try_link "$LINENO"; then :
15434 case "$LIBEXT" in
15435 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15436 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'` ;;
15437 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15438 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15439 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15440 fi ;;
15441 esac
15442 else
15443 ac_cv_lib_soname_fontconfig=
15445 rm -f core conftest.err conftest.$ac_objext \
15446 conftest$ac_exeext conftest.$ac_ext
15447 LIBS=$ac_check_soname_save_LIBS
15449 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15451 $as_echo "not found" >&6; }
15452 FONTCONFIG_CFLAGS=""
15453 else
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15455 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15457 cat >>confdefs.h <<_ACEOF
15458 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15459 _ACEOF
15463 else
15464 FONTCONFIG_CFLAGS=""
15466 CPPFLAGS=$ac_save_CPPFLAGS
15469 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15470 case "x$with_fontconfig" in
15471 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15472 xno) ;;
15473 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15474 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15475 esac
15479 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15480 then
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15482 $as_echo_n "checking for -lgsm... " >&6; }
15483 if ${ac_cv_lib_soname_gsm+:} false; then :
15484 $as_echo_n "(cached) " >&6
15485 else
15486 ac_check_soname_save_LIBS=$LIBS
15487 LIBS="-lgsm $LIBS"
15488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15489 /* end confdefs.h. */
15491 /* Override any GCC internal prototype to avoid an error.
15492 Use char because int might match the return type of a GCC
15493 builtin and then its argument prototype would still apply. */
15494 #ifdef __cplusplus
15495 extern "C"
15496 #endif
15497 char gsm_create ();
15499 main ()
15501 return gsm_create ();
15503 return 0;
15505 _ACEOF
15506 if ac_fn_c_try_link "$LINENO"; then :
15507 case "$LIBEXT" in
15508 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15509 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'` ;;
15510 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15511 if ${ac_cv_lib_soname_gsm:+false} :; then :
15512 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15513 fi ;;
15514 esac
15515 else
15516 ac_cv_lib_soname_gsm=
15518 rm -f core conftest.err conftest.$ac_objext \
15519 conftest$ac_exeext conftest.$ac_ext
15520 LIBS=$ac_check_soname_save_LIBS
15522 if ${ac_cv_lib_soname_gsm:+false} :; then :
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15524 $as_echo "not found" >&6; }
15526 else
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15528 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15530 cat >>confdefs.h <<_ACEOF
15531 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15532 _ACEOF
15537 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15538 case "x$with_gsm" in
15539 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15540 xno) ;;
15541 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15542 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15543 esac
15547 if test "x$with_krb5" != "xno"
15548 then
15549 if ${KRB5_CFLAGS:+false} :; then :
15550 if ${PKG_CONFIG+:} false; then :
15551 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15554 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15555 if ${KRB5_LIBS:+false} :; then :
15556 if ${PKG_CONFIG+:} false; then :
15557 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15560 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15562 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15563 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15564 ac_save_CPPFLAGS=$CPPFLAGS
15565 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15566 for ac_header in krb5/krb5.h
15567 do :
15568 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15569 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15570 cat >>confdefs.h <<_ACEOF
15571 #define HAVE_KRB5_KRB5_H 1
15572 _ACEOF
15576 done
15578 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15579 then
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15581 $as_echo_n "checking for -lkrb5... " >&6; }
15582 if ${ac_cv_lib_soname_krb5+:} false; then :
15583 $as_echo_n "(cached) " >&6
15584 else
15585 ac_check_soname_save_LIBS=$LIBS
15586 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15590 /* Override any GCC internal prototype to avoid an error.
15591 Use char because int might match the return type of a GCC
15592 builtin and then its argument prototype would still apply. */
15593 #ifdef __cplusplus
15594 extern "C"
15595 #endif
15596 char krb5_is_config_principal ();
15598 main ()
15600 return krb5_is_config_principal ();
15602 return 0;
15604 _ACEOF
15605 if ac_fn_c_try_link "$LINENO"; then :
15606 case "$LIBEXT" in
15607 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15608 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'` ;;
15609 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15610 if ${ac_cv_lib_soname_krb5:+false} :; then :
15611 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15612 fi ;;
15613 esac
15614 else
15615 ac_cv_lib_soname_krb5=
15617 rm -f core conftest.err conftest.$ac_objext \
15618 conftest$ac_exeext conftest.$ac_ext
15619 LIBS=$ac_check_soname_save_LIBS
15621 if ${ac_cv_lib_soname_krb5:+false} :; then :
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15623 $as_echo "not found" >&6; }
15624 KRB5_CFLAGS=""
15625 else
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15627 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15629 cat >>confdefs.h <<_ACEOF
15630 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15631 _ACEOF
15635 else
15636 KRB5_CFLAGS=""
15638 CPPFLAGS=$ac_save_CPPFLAGS
15641 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15642 case "x$with_krb5" in
15643 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15644 xno) ;;
15645 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15646 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15647 esac
15650 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15652 if test "x$with_gssapi" != "xno"
15653 then
15654 if ${GSSAPI_CFLAGS:+false} :; then :
15655 if ${PKG_CONFIG+:} false; then :
15656 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15659 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15660 if ${GSSAPI_LIBS:+false} :; then :
15661 if ${PKG_CONFIG+:} false; then :
15662 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15665 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15667 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15668 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15669 ac_save_CPPFLAGS=$CPPFLAGS
15670 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15671 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15672 do :
15673 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15674 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15675 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15676 cat >>confdefs.h <<_ACEOF
15677 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15678 _ACEOF
15682 done
15684 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15685 then
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15687 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15688 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15689 $as_echo_n "(cached) " >&6
15690 else
15691 ac_check_soname_save_LIBS=$LIBS
15692 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15694 /* end confdefs.h. */
15696 /* Override any GCC internal prototype to avoid an error.
15697 Use char because int might match the return type of a GCC
15698 builtin and then its argument prototype would still apply. */
15699 #ifdef __cplusplus
15700 extern "C"
15701 #endif
15702 char gss_init_sec_context ();
15704 main ()
15706 return gss_init_sec_context ();
15708 return 0;
15710 _ACEOF
15711 if ac_fn_c_try_link "$LINENO"; then :
15712 case "$LIBEXT" in
15713 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15714 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'` ;;
15715 *) 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'`
15716 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15717 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15718 fi ;;
15719 esac
15720 else
15721 ac_cv_lib_soname_gssapi_krb5=
15723 rm -f core conftest.err conftest.$ac_objext \
15724 conftest$ac_exeext conftest.$ac_ext
15725 LIBS=$ac_check_soname_save_LIBS
15727 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15729 $as_echo "not found" >&6; }
15730 GSSAPI_CFLAGS=""
15731 else
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15733 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15735 cat >>confdefs.h <<_ACEOF
15736 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15737 _ACEOF
15741 else
15742 GSSAPI_CFLAGS=""
15744 CPPFLAGS=$ac_save_CPPFLAGS
15747 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15748 case "x$with_gssapi" in
15749 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15750 xno) ;;
15751 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15752 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15753 esac
15757 if test "x$with_jpeg" != "xno"
15758 then
15759 if ${JPEG_CFLAGS:+false} :; then :
15760 if ${PKG_CONFIG+:} false; then :
15761 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15765 if ${JPEG_LIBS:+false} :; then :
15766 if ${PKG_CONFIG+:} false; then :
15767 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15772 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15773 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15774 ac_save_CPPFLAGS=$CPPFLAGS
15775 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15776 for ac_header in jpeglib.h
15777 do :
15778 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15779 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15780 cat >>confdefs.h <<_ACEOF
15781 #define HAVE_JPEGLIB_H 1
15782 _ACEOF
15786 done
15788 if test "$ac_cv_header_jpeglib_h" = "yes"
15789 then
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15791 $as_echo_n "checking for -ljpeg... " >&6; }
15792 if ${ac_cv_lib_soname_jpeg+:} false; then :
15793 $as_echo_n "(cached) " >&6
15794 else
15795 ac_check_soname_save_LIBS=$LIBS
15796 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15798 /* end confdefs.h. */
15800 /* Override any GCC internal prototype to avoid an error.
15801 Use char because int might match the return type of a GCC
15802 builtin and then its argument prototype would still apply. */
15803 #ifdef __cplusplus
15804 extern "C"
15805 #endif
15806 char jpeg_start_decompress ();
15808 main ()
15810 return jpeg_start_decompress ();
15812 return 0;
15814 _ACEOF
15815 if ac_fn_c_try_link "$LINENO"; then :
15816 case "$LIBEXT" in
15817 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15818 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'` ;;
15819 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15820 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15821 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15822 fi ;;
15823 esac
15824 else
15825 ac_cv_lib_soname_jpeg=
15827 rm -f core conftest.err conftest.$ac_objext \
15828 conftest$ac_exeext conftest.$ac_ext
15829 LIBS=$ac_check_soname_save_LIBS
15831 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15833 $as_echo "not found" >&6; }
15834 JPEG_CFLAGS=""
15835 else
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15837 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15839 cat >>confdefs.h <<_ACEOF
15840 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15841 _ACEOF
15845 else
15846 JPEG_CFLAGS=""
15848 CPPFLAGS=$ac_save_CPPFLAGS
15851 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15852 case "x$with_jpeg" in
15853 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15854 xno) ;;
15855 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15856 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15857 esac
15861 if test "x$with_png" != "xno"
15862 then
15863 if ${PNG_CFLAGS:+false} :; then :
15864 if ${PKG_CONFIG+:} false; then :
15865 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15868 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15869 if ${PNG_LIBS:+false} :; then :
15870 if ${PKG_CONFIG+:} false; then :
15871 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15874 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15876 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15877 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15878 ac_save_CPPFLAGS=$CPPFLAGS
15879 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15880 for ac_header in png.h
15881 do :
15882 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15883 if test "x$ac_cv_header_png_h" = xyes; then :
15884 cat >>confdefs.h <<_ACEOF
15885 #define HAVE_PNG_H 1
15886 _ACEOF
15890 done
15892 if test "$ac_cv_header_png_h" = "yes"
15893 then
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15895 $as_echo_n "checking for -lpng... " >&6; }
15896 if ${ac_cv_lib_soname_png+:} false; then :
15897 $as_echo_n "(cached) " >&6
15898 else
15899 ac_check_soname_save_LIBS=$LIBS
15900 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15904 /* Override any GCC internal prototype to avoid an error.
15905 Use char because int might match the return type of a GCC
15906 builtin and then its argument prototype would still apply. */
15907 #ifdef __cplusplus
15908 extern "C"
15909 #endif
15910 char png_create_read_struct ();
15912 main ()
15914 return png_create_read_struct ();
15916 return 0;
15918 _ACEOF
15919 if ac_fn_c_try_link "$LINENO"; then :
15920 case "$LIBEXT" in
15921 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15922 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'` ;;
15923 *) 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'`
15924 if ${ac_cv_lib_soname_png:+false} :; then :
15925 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15926 fi ;;
15927 esac
15928 else
15929 ac_cv_lib_soname_png=
15931 rm -f core conftest.err conftest.$ac_objext \
15932 conftest$ac_exeext conftest.$ac_ext
15933 LIBS=$ac_check_soname_save_LIBS
15935 if ${ac_cv_lib_soname_png:+false} :; then :
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15937 $as_echo "not found" >&6; }
15938 PNG_CFLAGS=""
15939 else
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15941 $as_echo "$ac_cv_lib_soname_png" >&6; }
15943 cat >>confdefs.h <<_ACEOF
15944 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15945 _ACEOF
15949 else
15950 PNG_CFLAGS=""
15952 CPPFLAGS=$ac_save_CPPFLAGS
15955 if test "x$ac_cv_lib_soname_png" = "x"; then :
15956 case "x$with_png" in
15957 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15958 xno) ;;
15959 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15960 This is an error since --with-png was requested." "$LINENO" 5 ;;
15961 esac
15965 if test "x$with_tiff" != "xno"
15966 then
15967 if ${TIFF_CFLAGS:+false} :; then :
15968 if ${PKG_CONFIG+:} false; then :
15969 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15973 if ${TIFF_LIBS:+false} :; then :
15974 if ${PKG_CONFIG+:} false; then :
15975 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15980 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15981 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15982 ac_save_CPPFLAGS=$CPPFLAGS
15983 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15984 for ac_header in tiffio.h
15985 do :
15986 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15987 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15988 cat >>confdefs.h <<_ACEOF
15989 #define HAVE_TIFFIO_H 1
15990 _ACEOF
15994 done
15996 if test "$ac_cv_header_tiffio_h" = "yes"
15997 then
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15999 $as_echo_n "checking for -ltiff... " >&6; }
16000 if ${ac_cv_lib_soname_tiff+:} false; then :
16001 $as_echo_n "(cached) " >&6
16002 else
16003 ac_check_soname_save_LIBS=$LIBS
16004 LIBS="-ltiff $TIFF_LIBS $LIBS"
16005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16011 #ifdef __cplusplus
16012 extern "C"
16013 #endif
16014 char TIFFClientOpen ();
16016 main ()
16018 return TIFFClientOpen ();
16020 return 0;
16022 _ACEOF
16023 if ac_fn_c_try_link "$LINENO"; then :
16024 case "$LIBEXT" in
16025 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16026 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'` ;;
16027 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16028 if ${ac_cv_lib_soname_tiff:+false} :; then :
16029 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16030 fi ;;
16031 esac
16032 else
16033 ac_cv_lib_soname_tiff=
16035 rm -f core conftest.err conftest.$ac_objext \
16036 conftest$ac_exeext conftest.$ac_ext
16037 LIBS=$ac_check_soname_save_LIBS
16039 if ${ac_cv_lib_soname_tiff:+false} :; then :
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16041 $as_echo "not found" >&6; }
16043 else
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16045 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16047 cat >>confdefs.h <<_ACEOF
16048 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16049 _ACEOF
16054 CPPFLAGS=$ac_save_CPPFLAGS
16057 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16058 case "x$with_tiff" in
16059 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16060 xno) ;;
16061 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16062 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16063 esac
16067 if test "x$with_mpg123" != "xno"
16068 then
16069 if ${MPG123_CFLAGS:+false} :; then :
16070 if ${PKG_CONFIG+:} false; then :
16071 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16075 if ${MPG123_LIBS:+false} :; then :
16076 if ${PKG_CONFIG+:} false; then :
16077 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16081 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16082 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16083 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16084 ac_save_CPPFLAGS=$CPPFLAGS
16085 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16086 for ac_header in mpg123.h
16087 do :
16088 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16089 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16090 cat >>confdefs.h <<_ACEOF
16091 #define HAVE_MPG123_H 1
16092 _ACEOF
16096 done
16098 if test "$ac_cv_header_mpg123_h" = "yes"
16099 then
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16101 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16102 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16103 $as_echo_n "(cached) " >&6
16104 else
16105 ac_check_lib_save_LIBS=$LIBS
16106 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16108 /* end confdefs.h. */
16110 /* Override any GCC internal prototype to avoid an error.
16111 Use char because int might match the return type of a GCC
16112 builtin and then its argument prototype would still apply. */
16113 #ifdef __cplusplus
16114 extern "C"
16115 #endif
16116 char mpg123_feed ();
16118 main ()
16120 return mpg123_feed ();
16122 return 0;
16124 _ACEOF
16125 if ac_fn_c_try_link "$LINENO"; then :
16126 ac_cv_lib_mpg123_mpg123_feed=yes
16127 else
16128 ac_cv_lib_mpg123_mpg123_feed=no
16130 rm -f core conftest.err conftest.$ac_objext \
16131 conftest$ac_exeext conftest.$ac_ext
16132 LIBS=$ac_check_lib_save_LIBS
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16135 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16136 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16138 else
16139 MPG123_LIBS=""
16142 else
16143 MPG123_CFLAGS=""
16144 MPG123_LIBS=""
16146 CPPFLAGS=$ac_save_CPPFLAGS
16149 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16150 case "x$with_mpg123" in
16151 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16152 xno) ;;
16153 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16154 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16155 esac
16156 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16158 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16160 if test "$ac_cv_header_AL_al_h" = "yes"
16161 then
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16163 $as_echo_n "checking for -lopenal... " >&6; }
16164 if ${ac_cv_lib_soname_openal+:} false; then :
16165 $as_echo_n "(cached) " >&6
16166 else
16167 ac_check_soname_save_LIBS=$LIBS
16168 LIBS="-lopenal $LIBS"
16169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16170 /* end confdefs.h. */
16172 /* Override any GCC internal prototype to avoid an error.
16173 Use char because int might match the return type of a GCC
16174 builtin and then its argument prototype would still apply. */
16175 #ifdef __cplusplus
16176 extern "C"
16177 #endif
16178 char alGetSource3i ();
16180 main ()
16182 return alGetSource3i ();
16184 return 0;
16186 _ACEOF
16187 if ac_fn_c_try_link "$LINENO"; then :
16188 case "$LIBEXT" in
16189 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16190 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'` ;;
16191 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16192 if ${ac_cv_lib_soname_openal:+false} :; then :
16193 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16194 fi ;;
16195 esac
16196 else
16197 ac_cv_lib_soname_openal=
16199 rm -f core conftest.err conftest.$ac_objext \
16200 conftest$ac_exeext conftest.$ac_ext
16201 LIBS=$ac_check_soname_save_LIBS
16203 if ${ac_cv_lib_soname_openal:+false} :; then :
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16205 $as_echo "not found" >&6; }
16207 else
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16209 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16211 cat >>confdefs.h <<_ACEOF
16212 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16213 _ACEOF
16215 OPENAL_LIBS="-lopenal"
16217 ac_cv_lib_openal=yes
16219 cat >>confdefs.h <<_ACEOF
16220 #define HAVE_OPENAL 1
16221 _ACEOF
16225 if test "x$ac_cv_lib_openal" != xyes; then :
16226 case "x$with_openal" in
16227 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16228 xno) ;;
16229 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16230 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16231 esac
16232 enable_openal32=${enable_openal32:-no}
16235 if test "x$ac_cv_lib_soname_FAudio" = "x"
16236 then
16237 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16238 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16239 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16240 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16241 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16242 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16243 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16244 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16245 enable_xactengine3_0=${enable_xactengine3_0:-no}
16246 enable_xactengine3_1=${enable_xactengine3_1:-no}
16247 enable_xactengine3_2=${enable_xactengine3_2:-no}
16248 enable_xactengine3_3=${enable_xactengine3_3:-no}
16249 enable_xactengine3_4=${enable_xactengine3_4:-no}
16250 enable_xactengine3_5=${enable_xactengine3_5:-no}
16251 enable_xactengine3_6=${enable_xactengine3_6:-no}
16252 enable_xactengine3_7=${enable_xactengine3_7:-no}
16253 enable_xapofx1_1=${enable_xapofx1_1:-no}
16254 enable_xapofx1_2=${enable_xapofx1_2:-no}
16255 enable_xapofx1_3=${enable_xapofx1_3:-no}
16256 enable_xapofx1_4=${enable_xapofx1_4:-no}
16257 enable_xapofx1_5=${enable_xapofx1_5:-no}
16258 enable_xaudio2_0=${enable_xaudio2_0:-no}
16259 enable_xaudio2_1=${enable_xaudio2_1:-no}
16260 enable_xaudio2_2=${enable_xaudio2_2:-no}
16261 enable_xaudio2_3=${enable_xaudio2_3:-no}
16262 enable_xaudio2_4=${enable_xaudio2_4:-no}
16263 enable_xaudio2_5=${enable_xaudio2_5:-no}
16264 enable_xaudio2_6=${enable_xaudio2_6:-no}
16265 enable_xaudio2_7=${enable_xaudio2_7:-no}
16266 enable_xaudio2_8=${enable_xaudio2_8:-no}
16267 enable_xaudio2_9=${enable_xaudio2_9:-no}
16270 if test "$ac_cv_header_kstat_h" = "yes"
16271 then
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16273 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16274 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16275 $as_echo_n "(cached) " >&6
16276 else
16277 ac_check_lib_save_LIBS=$LIBS
16278 LIBS="-lkstat $LIBS"
16279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16280 /* end confdefs.h. */
16282 /* Override any GCC internal prototype to avoid an error.
16283 Use char because int might match the return type of a GCC
16284 builtin and then its argument prototype would still apply. */
16285 #ifdef __cplusplus
16286 extern "C"
16287 #endif
16288 char kstat_open ();
16290 main ()
16292 return kstat_open ();
16294 return 0;
16296 _ACEOF
16297 if ac_fn_c_try_link "$LINENO"; then :
16298 ac_cv_lib_kstat_kstat_open=yes
16299 else
16300 ac_cv_lib_kstat_kstat_open=no
16302 rm -f core conftest.err conftest.$ac_objext \
16303 conftest$ac_exeext conftest.$ac_ext
16304 LIBS=$ac_check_lib_save_LIBS
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16307 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16308 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16310 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16312 KSTAT_LIBS="-lkstat"
16318 if test "$ac_cv_header_libprocstat_h" = "yes"
16319 then
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16321 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16322 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16323 $as_echo_n "(cached) " >&6
16324 else
16325 ac_check_lib_save_LIBS=$LIBS
16326 LIBS="-lprocstat $LIBS"
16327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16328 /* end confdefs.h. */
16330 /* Override any GCC internal prototype to avoid an error.
16331 Use char because int might match the return type of a GCC
16332 builtin and then its argument prototype would still apply. */
16333 #ifdef __cplusplus
16334 extern "C"
16335 #endif
16336 char procstat_open_sysctl ();
16338 main ()
16340 return procstat_open_sysctl ();
16342 return 0;
16344 _ACEOF
16345 if ac_fn_c_try_link "$LINENO"; then :
16346 ac_cv_lib_procstat_procstat_open_sysctl=yes
16347 else
16348 ac_cv_lib_procstat_procstat_open_sysctl=no
16350 rm -f core conftest.err conftest.$ac_objext \
16351 conftest$ac_exeext conftest.$ac_ext
16352 LIBS=$ac_check_lib_save_LIBS
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16355 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16356 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16358 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16360 PROCSTAT_LIBS="-lprocstat"
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16367 $as_echo_n "checking for -lodbc... " >&6; }
16368 if ${ac_cv_lib_soname_odbc+:} false; then :
16369 $as_echo_n "(cached) " >&6
16370 else
16371 ac_check_soname_save_LIBS=$LIBS
16372 LIBS="-lodbc $LIBS"
16373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h. */
16376 /* Override any GCC internal prototype to avoid an error.
16377 Use char because int might match the return type of a GCC
16378 builtin and then its argument prototype would still apply. */
16379 #ifdef __cplusplus
16380 extern "C"
16381 #endif
16382 char SQLConnect ();
16384 main ()
16386 return SQLConnect ();
16388 return 0;
16390 _ACEOF
16391 if ac_fn_c_try_link "$LINENO"; then :
16392 case "$LIBEXT" in
16393 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16394 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'` ;;
16395 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16396 if ${ac_cv_lib_soname_odbc:+false} :; then :
16397 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16398 fi ;;
16399 esac
16400 else
16401 ac_cv_lib_soname_odbc=
16403 rm -f core conftest.err conftest.$ac_objext \
16404 conftest$ac_exeext conftest.$ac_ext
16405 LIBS=$ac_check_soname_save_LIBS
16407 if ${ac_cv_lib_soname_odbc:+false} :; then :
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16409 $as_echo "not found" >&6; }
16410 cat >>confdefs.h <<_ACEOF
16411 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16412 _ACEOF
16414 else
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16416 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16418 cat >>confdefs.h <<_ACEOF
16419 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16420 _ACEOF
16425 if test "x$with_netapi" != "xno"
16426 then
16427 if ${NETAPI_CFLAGS:+false} :; then :
16428 if ${PKG_CONFIG+:} false; then :
16429 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16433 if ${NETAPI_LIBS:+false} :; then :
16434 if ${PKG_CONFIG+:} false; then :
16435 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16440 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16441 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16442 ac_save_CPPFLAGS=$CPPFLAGS
16443 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16445 $as_echo_n "checking for -lnetapi... " >&6; }
16446 if ${ac_cv_lib_soname_netapi+:} false; then :
16447 $as_echo_n "(cached) " >&6
16448 else
16449 ac_check_soname_save_LIBS=$LIBS
16450 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16452 /* end confdefs.h. */
16454 /* Override any GCC internal prototype to avoid an error.
16455 Use char because int might match the return type of a GCC
16456 builtin and then its argument prototype would still apply. */
16457 #ifdef __cplusplus
16458 extern "C"
16459 #endif
16460 char libnetapi_init ();
16462 main ()
16464 return libnetapi_init ();
16466 return 0;
16468 _ACEOF
16469 if ac_fn_c_try_link "$LINENO"; then :
16470 case "$LIBEXT" in
16471 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16472 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'` ;;
16473 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16474 if ${ac_cv_lib_soname_netapi:+false} :; then :
16475 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16476 fi ;;
16477 esac
16478 else
16479 ac_cv_lib_soname_netapi=
16481 rm -f core conftest.err conftest.$ac_objext \
16482 conftest$ac_exeext conftest.$ac_ext
16483 LIBS=$ac_check_soname_save_LIBS
16485 if ${ac_cv_lib_soname_netapi:+false} :; then :
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16487 $as_echo "not found" >&6; }
16488 cat >>confdefs.h <<_ACEOF
16489 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16490 _ACEOF
16492 else
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16494 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16496 cat >>confdefs.h <<_ACEOF
16497 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16498 _ACEOF
16502 CPPFLAGS=$ac_save_CPPFLAGS
16506 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16507 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16508 then
16509 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16512 if test "x$with_vulkan" != "xno"
16513 then
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16515 $as_echo_n "checking for -lvulkan... " >&6; }
16516 if ${ac_cv_lib_soname_vulkan+:} false; then :
16517 $as_echo_n "(cached) " >&6
16518 else
16519 ac_check_soname_save_LIBS=$LIBS
16520 LIBS="-lvulkan $LIBS"
16521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16522 /* end confdefs.h. */
16524 /* Override any GCC internal prototype to avoid an error.
16525 Use char because int might match the return type of a GCC
16526 builtin and then its argument prototype would still apply. */
16527 #ifdef __cplusplus
16528 extern "C"
16529 #endif
16530 char vkGetInstanceProcAddr ();
16532 main ()
16534 return vkGetInstanceProcAddr ();
16536 return 0;
16538 _ACEOF
16539 if ac_fn_c_try_link "$LINENO"; then :
16540 case "$LIBEXT" in
16541 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16542 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'` ;;
16543 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16544 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16545 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16546 fi ;;
16547 esac
16548 else
16549 ac_cv_lib_soname_vulkan=
16551 rm -f core conftest.err conftest.$ac_objext \
16552 conftest$ac_exeext conftest.$ac_ext
16553 LIBS=$ac_check_soname_save_LIBS
16555 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16557 $as_echo "not found" >&6; }
16559 else
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16561 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16563 cat >>confdefs.h <<_ACEOF
16564 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16565 _ACEOF
16569 if test "x$ac_cv_lib_soname_vulkan" = "x"
16570 then
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16572 $as_echo_n "checking for -lMoltenVK... " >&6; }
16573 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16574 $as_echo_n "(cached) " >&6
16575 else
16576 ac_check_soname_save_LIBS=$LIBS
16577 LIBS="-lMoltenVK $LIBS"
16578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16579 /* end confdefs.h. */
16581 /* Override any GCC internal prototype to avoid an error.
16582 Use char because int might match the return type of a GCC
16583 builtin and then its argument prototype would still apply. */
16584 #ifdef __cplusplus
16585 extern "C"
16586 #endif
16587 char vkGetInstanceProcAddr ();
16589 main ()
16591 return vkGetInstanceProcAddr ();
16593 return 0;
16595 _ACEOF
16596 if ac_fn_c_try_link "$LINENO"; then :
16597 case "$LIBEXT" in
16598 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16599 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'` ;;
16600 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16601 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16602 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16603 fi ;;
16604 esac
16605 else
16606 ac_cv_lib_soname_MoltenVK=
16608 rm -f core conftest.err conftest.$ac_objext \
16609 conftest$ac_exeext conftest.$ac_ext
16610 LIBS=$ac_check_soname_save_LIBS
16612 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16614 $as_echo "not found" >&6; }
16616 else
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16618 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16620 cat >>confdefs.h <<_ACEOF
16621 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16622 _ACEOF
16628 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16629 case "x$with_vulkan" in
16630 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16631 xno) ;;
16632 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16633 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16634 esac
16638 if test "x$with_vkd3d" != "xno"
16639 then
16640 if ${VKD3D_CFLAGS:+false} :; then :
16641 if ${PKG_CONFIG+:} false; then :
16642 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16646 if ${VKD3D_LIBS:+false} :; then :
16647 if ${PKG_CONFIG+:} false; then :
16648 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16653 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16654 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16655 ac_save_CPPFLAGS=$CPPFLAGS
16656 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16658 $as_echo_n "checking for -lvkd3d... " >&6; }
16659 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16660 $as_echo_n "(cached) " >&6
16661 else
16662 ac_check_soname_save_LIBS=$LIBS
16663 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16667 /* Override any GCC internal prototype to avoid an error.
16668 Use char because int might match the return type of a GCC
16669 builtin and then its argument prototype would still apply. */
16670 #ifdef __cplusplus
16671 extern "C"
16672 #endif
16673 char vkd3d_get_dxgi_format ();
16675 main ()
16677 return vkd3d_get_dxgi_format ();
16679 return 0;
16681 _ACEOF
16682 if ac_fn_c_try_link "$LINENO"; then :
16683 case "$LIBEXT" in
16684 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16685 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'` ;;
16686 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16687 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16688 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16689 fi ;;
16690 esac
16691 else
16692 ac_cv_lib_soname_vkd3d=
16694 rm -f core conftest.err conftest.$ac_objext \
16695 conftest$ac_exeext conftest.$ac_ext
16696 LIBS=$ac_check_soname_save_LIBS
16698 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16700 $as_echo "not found" >&6; }
16702 else
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16704 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16706 cat >>confdefs.h <<_ACEOF
16707 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16708 _ACEOF
16712 CPPFLAGS=$ac_save_CPPFLAGS
16714 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16715 if ${PKG_CONFIG+:} false; then :
16716 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16720 if ${VKD3D_SHADER_LIBS:+false} :; then :
16721 if ${PKG_CONFIG+:} false; then :
16722 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16727 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16728 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16729 ac_save_CPPFLAGS=$CPPFLAGS
16730 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16732 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16733 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16734 $as_echo_n "(cached) " >&6
16735 else
16736 ac_check_soname_save_LIBS=$LIBS
16737 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16739 /* end confdefs.h. */
16741 /* Override any GCC internal prototype to avoid an error.
16742 Use char because int might match the return type of a GCC
16743 builtin and then its argument prototype would still apply. */
16744 #ifdef __cplusplus
16745 extern "C"
16746 #endif
16747 char vkd3d_shader_compile ();
16749 main ()
16751 return vkd3d_shader_compile ();
16753 return 0;
16755 _ACEOF
16756 if ac_fn_c_try_link "$LINENO"; then :
16757 case "$LIBEXT" in
16758 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16759 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'` ;;
16760 *) 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'`
16761 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16762 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16763 fi ;;
16764 esac
16765 else
16766 ac_cv_lib_soname_vkd3d_shader=
16768 rm -f core conftest.err conftest.$ac_objext \
16769 conftest$ac_exeext conftest.$ac_ext
16770 LIBS=$ac_check_soname_save_LIBS
16772 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16774 $as_echo "not found" >&6; }
16776 else
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16778 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16780 cat >>confdefs.h <<_ACEOF
16781 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16782 _ACEOF
16786 CPPFLAGS=$ac_save_CPPFLAGS
16789 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16790 case "x$with_vkd3d" in
16791 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16792 xno) ;;
16793 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16794 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16795 esac
16798 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16801 EXTRACFLAGS=""
16803 if test "x${GCC}" = "xyes"
16804 then
16805 EXTRACFLAGS="-Wall -pipe"
16807 saved_CFLAGS=$CFLAGS
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16809 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16810 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16811 $as_echo_n "(cached) " >&6
16812 else
16813 ac_wine_try_cflags_saved=$CFLAGS
16814 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16817 int main(int argc, char **argv) { return 0; }
16818 _ACEOF
16819 if ac_fn_c_try_link "$LINENO"; then :
16820 ac_cv_cflags__Werror_unknown_warning_option=yes
16821 else
16822 ac_cv_cflags__Werror_unknown_warning_option=no
16824 rm -f core conftest.err conftest.$ac_objext \
16825 conftest$ac_exeext conftest.$ac_ext
16826 CFLAGS=$ac_wine_try_cflags_saved
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16829 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16830 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16831 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16834 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16835 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16836 $as_echo_n "(cached) " >&6
16837 else
16838 ac_wine_try_cflags_saved=$CFLAGS
16839 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16841 /* end confdefs.h. */
16842 int main(int argc, char **argv) { return 0; }
16843 _ACEOF
16844 if ac_fn_c_try_link "$LINENO"; then :
16845 ac_cv_cflags__Werror_unused_command_line_argument=yes
16846 else
16847 ac_cv_cflags__Werror_unused_command_line_argument=no
16849 rm -f core conftest.err conftest.$ac_objext \
16850 conftest$ac_exeext conftest.$ac_ext
16851 CFLAGS=$ac_wine_try_cflags_saved
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16854 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16855 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16856 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16859 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16860 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16861 $as_echo_n "(cached) " >&6
16862 else
16863 ac_wine_try_cflags_saved=$CFLAGS
16864 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h. */
16867 int main(int argc, char **argv) { return 0; }
16868 _ACEOF
16869 if ac_fn_c_try_link "$LINENO"; then :
16870 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16871 else
16872 ac_cv_cflags__Werror_ignored_optimization_argument=no
16874 rm -f core conftest.err conftest.$ac_objext \
16875 conftest$ac_exeext conftest.$ac_ext
16876 CFLAGS=$ac_wine_try_cflags_saved
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16879 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16880 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16881 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16884 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16885 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16886 $as_echo_n "(cached) " >&6
16887 else
16888 ac_wine_try_cflags_saved=$CFLAGS
16889 CFLAGS="$CFLAGS -fcf-protection=none"
16890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16891 /* end confdefs.h. */
16892 int main(int argc, char **argv) { return 0; }
16893 _ACEOF
16894 if ac_fn_c_try_link "$LINENO"; then :
16895 ac_cv_cflags__fcf_protection_none=yes
16896 else
16897 ac_cv_cflags__fcf_protection_none=no
16899 rm -f core conftest.err conftest.$ac_objext \
16900 conftest$ac_exeext conftest.$ac_ext
16901 CFLAGS=$ac_wine_try_cflags_saved
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16904 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16905 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16906 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16909 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16910 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16911 $as_echo_n "(cached) " >&6
16912 else
16913 ac_wine_try_cflags_saved=$CFLAGS
16914 CFLAGS="$CFLAGS -fno-stack-protector"
16915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16916 /* end confdefs.h. */
16917 int main(int argc, char **argv) { return 0; }
16918 _ACEOF
16919 if ac_fn_c_try_link "$LINENO"; then :
16920 ac_cv_cflags__fno_stack_protector=yes
16921 else
16922 ac_cv_cflags__fno_stack_protector=no
16924 rm -f core conftest.err conftest.$ac_objext \
16925 conftest$ac_exeext conftest.$ac_ext
16926 CFLAGS=$ac_wine_try_cflags_saved
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16929 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16930 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16931 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16934 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16935 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16936 $as_echo_n "(cached) " >&6
16937 else
16938 ac_wine_try_cflags_saved=$CFLAGS
16939 CFLAGS="$CFLAGS -fno-strict-aliasing"
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16942 int main(int argc, char **argv) { return 0; }
16943 _ACEOF
16944 if ac_fn_c_try_link "$LINENO"; then :
16945 ac_cv_cflags__fno_strict_aliasing=yes
16946 else
16947 ac_cv_cflags__fno_strict_aliasing=no
16949 rm -f core conftest.err conftest.$ac_objext \
16950 conftest$ac_exeext conftest.$ac_ext
16951 CFLAGS=$ac_wine_try_cflags_saved
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16954 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16955 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16956 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16959 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16960 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16961 $as_echo_n "(cached) " >&6
16962 else
16963 ac_wine_try_cflags_saved=$CFLAGS
16964 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16966 /* end confdefs.h. */
16967 int main(int argc, char **argv) { return 0; }
16968 _ACEOF
16969 if ac_fn_c_try_link "$LINENO"; then :
16970 ac_cv_cflags__Wdeclaration_after_statement=yes
16971 else
16972 ac_cv_cflags__Wdeclaration_after_statement=no
16974 rm -f core conftest.err conftest.$ac_objext \
16975 conftest$ac_exeext conftest.$ac_ext
16976 CFLAGS=$ac_wine_try_cflags_saved
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16979 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16980 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16981 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16984 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16985 if ${ac_cv_cflags__Wempty_body+:} false; then :
16986 $as_echo_n "(cached) " >&6
16987 else
16988 ac_wine_try_cflags_saved=$CFLAGS
16989 CFLAGS="$CFLAGS -Wempty-body"
16990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16991 /* end confdefs.h. */
16992 int main(int argc, char **argv) { return 0; }
16993 _ACEOF
16994 if ac_fn_c_try_link "$LINENO"; then :
16995 ac_cv_cflags__Wempty_body=yes
16996 else
16997 ac_cv_cflags__Wempty_body=no
16999 rm -f core conftest.err conftest.$ac_objext \
17000 conftest$ac_exeext conftest.$ac_ext
17001 CFLAGS=$ac_wine_try_cflags_saved
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17004 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17005 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17006 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17009 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17010 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17011 $as_echo_n "(cached) " >&6
17012 else
17013 ac_wine_try_cflags_saved=$CFLAGS
17014 CFLAGS="$CFLAGS -Wignored-qualifiers"
17015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17016 /* end confdefs.h. */
17017 int main(int argc, char **argv) { return 0; }
17018 _ACEOF
17019 if ac_fn_c_try_link "$LINENO"; then :
17020 ac_cv_cflags__Wignored_qualifiers=yes
17021 else
17022 ac_cv_cflags__Wignored_qualifiers=no
17024 rm -f core conftest.err conftest.$ac_objext \
17025 conftest$ac_exeext conftest.$ac_ext
17026 CFLAGS=$ac_wine_try_cflags_saved
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17029 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17030 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17031 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17034 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17035 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17036 $as_echo_n "(cached) " >&6
17037 else
17038 ac_wine_try_cflags_saved=$CFLAGS
17039 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17042 int main(int argc, char **argv) { return 0; }
17043 _ACEOF
17044 if ac_fn_c_try_link "$LINENO"; then :
17045 ac_cv_cflags__Wpacked_not_aligned=yes
17046 else
17047 ac_cv_cflags__Wpacked_not_aligned=no
17049 rm -f core conftest.err conftest.$ac_objext \
17050 conftest$ac_exeext conftest.$ac_ext
17051 CFLAGS=$ac_wine_try_cflags_saved
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17054 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17055 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17056 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17059 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17060 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17061 $as_echo_n "(cached) " >&6
17062 else
17063 ac_wine_try_cflags_saved=$CFLAGS
17064 CFLAGS="$CFLAGS -Wpragma-pack"
17065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17066 /* end confdefs.h. */
17067 int main(int argc, char **argv) { return 0; }
17068 _ACEOF
17069 if ac_fn_c_try_link "$LINENO"; then :
17070 ac_cv_cflags__Wpragma_pack=yes
17071 else
17072 ac_cv_cflags__Wpragma_pack=no
17074 rm -f core conftest.err conftest.$ac_objext \
17075 conftest$ac_exeext conftest.$ac_ext
17076 CFLAGS=$ac_wine_try_cflags_saved
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17079 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17080 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17081 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17084 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17085 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17086 $as_echo_n "(cached) " >&6
17087 else
17088 ac_wine_try_cflags_saved=$CFLAGS
17089 CFLAGS="$CFLAGS -Wshift-overflow=2"
17090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17091 /* end confdefs.h. */
17092 int main(int argc, char **argv) { return 0; }
17093 _ACEOF
17094 if ac_fn_c_try_link "$LINENO"; then :
17095 ac_cv_cflags__Wshift_overflow_2=yes
17096 else
17097 ac_cv_cflags__Wshift_overflow_2=no
17099 rm -f core conftest.err conftest.$ac_objext \
17100 conftest$ac_exeext conftest.$ac_ext
17101 CFLAGS=$ac_wine_try_cflags_saved
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17104 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17105 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17106 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17109 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17110 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17111 $as_echo_n "(cached) " >&6
17112 else
17113 ac_wine_try_cflags_saved=$CFLAGS
17114 CFLAGS="$CFLAGS -Wstrict-prototypes"
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17117 int main(int argc, char **argv) { return 0; }
17118 _ACEOF
17119 if ac_fn_c_try_link "$LINENO"; then :
17120 ac_cv_cflags__Wstrict_prototypes=yes
17121 else
17122 ac_cv_cflags__Wstrict_prototypes=no
17124 rm -f core conftest.err conftest.$ac_objext \
17125 conftest$ac_exeext conftest.$ac_ext
17126 CFLAGS=$ac_wine_try_cflags_saved
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17129 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17130 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17131 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17134 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17135 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17136 $as_echo_n "(cached) " >&6
17137 else
17138 ac_wine_try_cflags_saved=$CFLAGS
17139 CFLAGS="$CFLAGS -Wtype-limits"
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17142 int main(int argc, char **argv) { return 0; }
17143 _ACEOF
17144 if ac_fn_c_try_link "$LINENO"; then :
17145 ac_cv_cflags__Wtype_limits=yes
17146 else
17147 ac_cv_cflags__Wtype_limits=no
17149 rm -f core conftest.err conftest.$ac_objext \
17150 conftest$ac_exeext conftest.$ac_ext
17151 CFLAGS=$ac_wine_try_cflags_saved
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17154 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17155 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17156 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17159 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17160 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17161 $as_echo_n "(cached) " >&6
17162 else
17163 ac_wine_try_cflags_saved=$CFLAGS
17164 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17166 /* end confdefs.h. */
17167 int main(int argc, char **argv) { return 0; }
17168 _ACEOF
17169 if ac_fn_c_try_link "$LINENO"; then :
17170 ac_cv_cflags__Wunused_but_set_parameter=yes
17171 else
17172 ac_cv_cflags__Wunused_but_set_parameter=no
17174 rm -f core conftest.err conftest.$ac_objext \
17175 conftest$ac_exeext conftest.$ac_ext
17176 CFLAGS=$ac_wine_try_cflags_saved
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17179 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17180 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17181 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17184 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17185 if ${ac_cv_cflags__Wvla+:} false; then :
17186 $as_echo_n "(cached) " >&6
17187 else
17188 ac_wine_try_cflags_saved=$CFLAGS
17189 CFLAGS="$CFLAGS -Wvla"
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17192 int main(int argc, char **argv) { return 0; }
17193 _ACEOF
17194 if ac_fn_c_try_link "$LINENO"; then :
17195 ac_cv_cflags__Wvla=yes
17196 else
17197 ac_cv_cflags__Wvla=no
17199 rm -f core conftest.err conftest.$ac_objext \
17200 conftest$ac_exeext conftest.$ac_ext
17201 CFLAGS=$ac_wine_try_cflags_saved
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17204 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17205 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17206 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17209 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17210 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17211 $as_echo_n "(cached) " >&6
17212 else
17213 ac_wine_try_cflags_saved=$CFLAGS
17214 CFLAGS="$CFLAGS -Wwrite-strings"
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17217 int main(int argc, char **argv) { return 0; }
17218 _ACEOF
17219 if ac_fn_c_try_link "$LINENO"; then :
17220 ac_cv_cflags__Wwrite_strings=yes
17221 else
17222 ac_cv_cflags__Wwrite_strings=no
17224 rm -f core conftest.err conftest.$ac_objext \
17225 conftest$ac_exeext conftest.$ac_ext
17226 CFLAGS=$ac_wine_try_cflags_saved
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17229 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17230 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17231 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17234 if test -z "$CROSSTARGET"
17235 then
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17237 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17238 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17239 $as_echo_n "(cached) " >&6
17240 else
17241 ac_wine_try_cflags_saved=$CFLAGS
17242 CFLAGS="$CFLAGS -fexcess-precision=standard"
17243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17244 /* end confdefs.h. */
17245 int main(int argc, char **argv) { return 0; }
17246 _ACEOF
17247 if ac_fn_c_try_link "$LINENO"; then :
17248 ac_cv_cflags__fexcess_precision_standard=yes
17249 else
17250 ac_cv_cflags__fexcess_precision_standard=no
17252 rm -f core conftest.err conftest.$ac_objext \
17253 conftest$ac_exeext conftest.$ac_ext
17254 CFLAGS=$ac_wine_try_cflags_saved
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17257 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17258 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17259 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17265 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17266 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17267 $as_echo_n "(cached) " >&6
17268 else
17269 ac_wine_try_cflags_saved=$CFLAGS
17270 CFLAGS="$CFLAGS -Wpointer-arith"
17271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h. */
17273 int main(int argc, char **argv) { return 0; }
17274 _ACEOF
17275 if ac_fn_c_try_link "$LINENO"; then :
17276 ac_cv_cflags__Wpointer_arith=yes
17277 else
17278 ac_cv_cflags__Wpointer_arith=no
17280 rm -f core conftest.err conftest.$ac_objext \
17281 conftest$ac_exeext conftest.$ac_ext
17282 CFLAGS=$ac_wine_try_cflags_saved
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17285 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17286 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17287 saved_string_h_CFLAGS=$CFLAGS
17288 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17290 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17291 if ${ac_cv_c_string_h_warnings+:} false; then :
17292 $as_echo_n "(cached) " >&6
17293 else
17294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17295 /* end confdefs.h. */
17296 #include <string.h>
17298 main ()
17302 return 0;
17304 _ACEOF
17305 if ac_fn_c_try_compile "$LINENO"; then :
17306 ac_cv_c_string_h_warnings=no
17307 else
17308 ac_cv_c_string_h_warnings=yes
17310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17313 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17314 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17315 CFLAGS=$saved_string_h_CFLAGS
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17319 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17320 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17321 $as_echo_n "(cached) " >&6
17322 else
17323 ac_wine_try_cflags_saved=$CFLAGS
17324 CFLAGS="$CFLAGS -Wlogical-op"
17325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17326 /* end confdefs.h. */
17327 int main(int argc, char **argv) { return 0; }
17328 _ACEOF
17329 if ac_fn_c_try_link "$LINENO"; then :
17330 ac_cv_cflags__Wlogical_op=yes
17331 else
17332 ac_cv_cflags__Wlogical_op=no
17334 rm -f core conftest.err conftest.$ac_objext \
17335 conftest$ac_exeext conftest.$ac_ext
17336 CFLAGS=$ac_wine_try_cflags_saved
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17339 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17340 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17341 saved_string_h_CFLAGS=$CFLAGS
17342 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17344 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17345 if ${ac_cv_c_logicalop_noisy+:} false; then :
17346 $as_echo_n "(cached) " >&6
17347 else
17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 #include <string.h>
17351 char*f(const char *h,char n) {return strchr(h,n);}
17353 main ()
17357 return 0;
17359 _ACEOF
17360 if ac_fn_c_try_compile "$LINENO"; then :
17361 ac_cv_c_logicalop_noisy=no
17362 else
17363 ac_cv_c_logicalop_noisy=yes
17365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17368 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17369 CFLAGS=$saved_string_h_CFLAGS
17370 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17374 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17375 if ${wine_cv_64bit_compare_swap+:} false; then :
17376 $as_echo_n "(cached) " >&6
17377 else
17378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17379 /* end confdefs.h. */
17380 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17381 #error no
17382 #endif
17384 main ()
17388 return 0;
17390 _ACEOF
17391 if ac_fn_c_try_compile "$LINENO"; then :
17392 wine_cv_64bit_compare_swap="none needed"
17393 else
17394 case $host_cpu in
17395 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17396 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17397 *) wine_cv_64bit_compare_swap="unknown" ;;
17398 esac
17399 if test "x$wine_cv_64bit_compare_swap" != xunknown
17400 then
17401 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17404 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17405 #error no
17406 #endif
17408 main ()
17412 return 0;
17414 _ACEOF
17415 if ac_fn_c_try_compile "$LINENO"; then :
17417 else
17418 wine_cv_64bit_compare_swap="unknown"
17420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17421 CFLAGS=$saved_CFLAGS
17424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17427 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17428 case "$wine_cv_64bit_compare_swap" in
17429 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17430 "none needed") ;;
17431 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17432 esac
17434 for ac_flag in $CFLAGS; do
17435 case $ac_flag in
17436 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17437 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17438 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17439 $as_echo_n "(cached) " >&6
17440 else
17441 ac_wine_try_cflags_saved=$CFLAGS
17442 CFLAGS="$CFLAGS -gdwarf-2"
17443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17444 /* end confdefs.h. */
17445 int main(int argc, char **argv) { return 0; }
17446 _ACEOF
17447 if ac_fn_c_try_link "$LINENO"; then :
17448 ac_cv_cflags__gdwarf_2=yes
17449 else
17450 ac_cv_cflags__gdwarf_2=no
17452 rm -f core conftest.err conftest.$ac_objext \
17453 conftest$ac_exeext conftest.$ac_ext
17454 CFLAGS=$ac_wine_try_cflags_saved
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17457 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17458 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17459 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17462 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17463 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17464 $as_echo_n "(cached) " >&6
17465 else
17466 ac_wine_try_cflags_saved=$CFLAGS
17467 CFLAGS="$CFLAGS -gstrict-dwarf"
17468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h. */
17470 int main(int argc, char **argv) { return 0; }
17471 _ACEOF
17472 if ac_fn_c_try_link "$LINENO"; then :
17473 ac_cv_cflags__gstrict_dwarf=yes
17474 else
17475 ac_cv_cflags__gstrict_dwarf=no
17477 rm -f core conftest.err conftest.$ac_objext \
17478 conftest$ac_exeext conftest.$ac_ext
17479 CFLAGS=$ac_wine_try_cflags_saved
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17482 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17483 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17484 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17485 fi ;;
17486 esac
17487 done
17489 MSVCRTFLAGS=""
17491 case $host_os in
17492 mingw32*) ;;
17493 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17494 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17495 if ${ac_cv_cflags__fno_builtin+:} false; then :
17496 $as_echo_n "(cached) " >&6
17497 else
17498 ac_wine_try_cflags_saved=$CFLAGS
17499 CFLAGS="$CFLAGS -fno-builtin"
17500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17501 /* end confdefs.h. */
17502 int main(int argc, char **argv) { return 0; }
17503 _ACEOF
17504 if ac_fn_c_try_link "$LINENO"; then :
17505 ac_cv_cflags__fno_builtin=yes
17506 else
17507 ac_cv_cflags__fno_builtin=no
17509 rm -f core conftest.err conftest.$ac_objext \
17510 conftest$ac_exeext conftest.$ac_ext
17511 CFLAGS=$ac_wine_try_cflags_saved
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17514 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17515 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17516 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17519 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17520 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17521 $as_echo_n "(cached) " >&6
17522 else
17523 ac_wine_try_cflags_saved=$CFLAGS
17524 CFLAGS="$CFLAGS -fshort-wchar"
17525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17526 /* end confdefs.h. */
17527 int main(int argc, char **argv) { return 0; }
17528 _ACEOF
17529 if ac_fn_c_try_link "$LINENO"; then :
17530 ac_cv_cflags__fshort_wchar=yes
17531 else
17532 ac_cv_cflags__fshort_wchar=no
17534 rm -f core conftest.err conftest.$ac_objext \
17535 conftest$ac_exeext conftest.$ac_ext
17536 CFLAGS=$ac_wine_try_cflags_saved
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17539 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17540 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17541 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17542 fi ;;
17543 esac
17545 case $host_cpu in
17546 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17547 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17548 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17549 $as_echo_n "(cached) " >&6
17550 else
17551 ac_wine_try_cflags_saved=$CFLAGS
17552 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h. */
17555 int main(int argc, char **argv) { return 0; }
17556 _ACEOF
17557 if ac_fn_c_try_link "$LINENO"; then :
17558 ac_cv_cflags__fno_omit_frame_pointer=yes
17559 else
17560 ac_cv_cflags__fno_omit_frame_pointer=no
17562 rm -f core conftest.err conftest.$ac_objext \
17563 conftest$ac_exeext conftest.$ac_ext
17564 CFLAGS=$ac_wine_try_cflags_saved
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17567 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17568 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17569 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17570 fi ;;
17571 *x86_64*)
17572 case $host_os in
17573 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17574 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17575 if ${ac_cv_cflags__Wno_format+:} false; then :
17576 $as_echo_n "(cached) " >&6
17577 else
17578 ac_wine_try_cflags_saved=$CFLAGS
17579 CFLAGS="$CFLAGS -Wno-format"
17580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17581 /* end confdefs.h. */
17582 int main(int argc, char **argv) { return 0; }
17583 _ACEOF
17584 if ac_fn_c_try_link "$LINENO"; then :
17585 ac_cv_cflags__Wno_format=yes
17586 else
17587 ac_cv_cflags__Wno_format=no
17589 rm -f core conftest.err conftest.$ac_objext \
17590 conftest$ac_exeext conftest.$ac_ext
17591 CFLAGS=$ac_wine_try_cflags_saved
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17594 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17595 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17596 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17597 fi ;;
17598 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17599 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17600 if ${ac_cv_cflags__mabi_ms+:} false; then :
17601 $as_echo_n "(cached) " >&6
17602 else
17603 ac_wine_try_cflags_saved=$CFLAGS
17604 CFLAGS="$CFLAGS -mabi=ms"
17605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17606 /* end confdefs.h. */
17607 int main(int argc, char **argv) { return 0; }
17608 _ACEOF
17609 if ac_fn_c_try_link "$LINENO"; then :
17610 ac_cv_cflags__mabi_ms=yes
17611 else
17612 ac_cv_cflags__mabi_ms=no
17614 rm -f core conftest.err conftest.$ac_objext \
17615 conftest$ac_exeext conftest.$ac_ext
17616 CFLAGS=$ac_wine_try_cflags_saved
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17619 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17620 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17621 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17622 fi ;;
17623 esac ;;
17624 esac
17626 CFLAGS=$saved_CFLAGS
17628 if test "x$enable_werror" = "xyes"
17629 then
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17631 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17632 if ${ac_cv_cflags__Werror+:} false; then :
17633 $as_echo_n "(cached) " >&6
17634 else
17635 ac_wine_try_cflags_saved=$CFLAGS
17636 CFLAGS="$CFLAGS -Werror"
17637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17639 int main(int argc, char **argv) { return 0; }
17640 _ACEOF
17641 if ac_fn_c_try_link "$LINENO"; then :
17642 ac_cv_cflags__Werror=yes
17643 else
17644 ac_cv_cflags__Werror=no
17646 rm -f core conftest.err conftest.$ac_objext \
17647 conftest$ac_exeext conftest.$ac_ext
17648 CFLAGS=$ac_wine_try_cflags_saved
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17651 $as_echo "$ac_cv_cflags__Werror" >&6; }
17652 if test "x$ac_cv_cflags__Werror" = xyes; then :
17653 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17660 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17661 if ${ac_cv_c_fortify_enabled+:} false; then :
17662 $as_echo_n "(cached) " >&6
17663 else
17664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17666 #include <string.h>
17668 main ()
17670 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17671 #error Fortify enabled
17672 #endif
17674 return 0;
17676 _ACEOF
17677 if ac_fn_c_try_compile "$LINENO"; then :
17678 ac_cv_c_fortify_enabled=no
17679 else
17680 ac_cv_c_fortify_enabled=yes
17682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17685 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17686 if test "$ac_cv_c_fortify_enabled" = yes
17687 then
17688 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17693 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17694 if ${ac_cv_c_cfi_support+:} false; then :
17695 $as_echo_n "(cached) " >&6
17696 else
17697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h. */
17699 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17701 main ()
17705 return 0;
17707 _ACEOF
17708 if ac_fn_c_try_compile "$LINENO"; then :
17709 ac_cv_c_cfi_support="yes"
17710 else
17711 ac_cv_c_cfi_support="no"
17713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17716 $as_echo "$ac_cv_c_cfi_support" >&6; }
17717 if test "$ac_cv_c_cfi_support" = "yes"
17718 then
17719 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17720 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17721 else
17722 if test "x$enable_win64" = "xyes"
17723 then
17724 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17729 case $build_os in
17730 cygwin*|mingw32*) TOOLSEXT=".exe"
17732 esac
17734 case $host_os in
17735 linux*)
17736 case $host_cpu in
17737 *i[3456789]86*|x86_64*|*aarch64*)
17738 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17739 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17741 esac
17743 esac
17746 ac_save_CFLAGS="$CFLAGS"
17747 CFLAGS="$CFLAGS $BUILTINFLAG"
17748 for ac_func in \
17749 __res_get_state \
17750 __res_getservers \
17751 _spawnvp \
17752 epoll_create \
17753 fnmatch \
17754 fork \
17755 fstatfs \
17756 futimens \
17757 futimes \
17758 futimesat \
17759 getattrlist \
17760 getauxval \
17761 getifaddrs \
17762 getopt_long_only \
17763 getrandom \
17764 kqueue \
17765 lstat \
17766 mach_continuous_time \
17767 pipe2 \
17768 poll \
17769 port_create \
17770 prctl \
17771 pread \
17772 proc_pidinfo \
17773 pwrite \
17774 readlink \
17775 sched_yield \
17776 setproctitle \
17777 setprogname \
17778 sigprocmask \
17779 symlink \
17780 tcdrain \
17781 thr_kill2
17783 do :
17784 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17785 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17786 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17787 cat >>confdefs.h <<_ACEOF
17788 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17789 _ACEOF
17792 done
17794 CFLAGS="$ac_save_CFLAGS"
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17797 $as_echo_n "checking for library containing dlopen... " >&6; }
17798 if ${ac_cv_search_dlopen+:} false; then :
17799 $as_echo_n "(cached) " >&6
17800 else
17801 ac_func_search_save_LIBS=$LIBS
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17805 /* Override any GCC internal prototype to avoid an error.
17806 Use char because int might match the return type of a GCC
17807 builtin and then its argument prototype would still apply. */
17808 #ifdef __cplusplus
17809 extern "C"
17810 #endif
17811 char dlopen ();
17813 main ()
17815 return dlopen ();
17817 return 0;
17819 _ACEOF
17820 for ac_lib in '' dl; do
17821 if test -z "$ac_lib"; then
17822 ac_res="none required"
17823 else
17824 ac_res=-l$ac_lib
17825 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17827 if ac_fn_c_try_link "$LINENO"; then :
17828 ac_cv_search_dlopen=$ac_res
17830 rm -f core conftest.err conftest.$ac_objext \
17831 conftest$ac_exeext
17832 if ${ac_cv_search_dlopen+:} false; then :
17833 break
17835 done
17836 if ${ac_cv_search_dlopen+:} false; then :
17838 else
17839 ac_cv_search_dlopen=no
17841 rm conftest.$ac_ext
17842 LIBS=$ac_func_search_save_LIBS
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17845 $as_echo "$ac_cv_search_dlopen" >&6; }
17846 ac_res=$ac_cv_search_dlopen
17847 if test "$ac_res" != no; then :
17848 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17852 ac_wine_check_funcs_save_LIBS="$LIBS"
17853 LIBS="$LIBS $DL_LIBS"
17854 for ac_func in dladdr dlinfo
17855 do :
17856 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17857 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17858 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17859 cat >>confdefs.h <<_ACEOF
17860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17861 _ACEOF
17864 done
17866 LIBS="$ac_wine_check_funcs_save_LIBS"
17868 if test "$ac_cv_func_poll" = no
17869 then
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17871 $as_echo_n "checking for poll in -lpoll... " >&6; }
17872 if ${ac_cv_lib_poll_poll+:} false; then :
17873 $as_echo_n "(cached) " >&6
17874 else
17875 ac_check_lib_save_LIBS=$LIBS
17876 LIBS="-lpoll $LIBS"
17877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17880 /* Override any GCC internal prototype to avoid an error.
17881 Use char because int might match the return type of a GCC
17882 builtin and then its argument prototype would still apply. */
17883 #ifdef __cplusplus
17884 extern "C"
17885 #endif
17886 char poll ();
17888 main ()
17890 return poll ();
17892 return 0;
17894 _ACEOF
17895 if ac_fn_c_try_link "$LINENO"; then :
17896 ac_cv_lib_poll_poll=yes
17897 else
17898 ac_cv_lib_poll_poll=no
17900 rm -f core conftest.err conftest.$ac_objext \
17901 conftest$ac_exeext conftest.$ac_ext
17902 LIBS=$ac_check_lib_save_LIBS
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17905 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17906 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17907 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17908 POLL_LIBS="-lpoll"
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17915 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17916 if ${ac_cv_search_gethostbyname+:} false; then :
17917 $as_echo_n "(cached) " >&6
17918 else
17919 ac_func_search_save_LIBS=$LIBS
17920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17921 /* end confdefs.h. */
17923 /* Override any GCC internal prototype to avoid an error.
17924 Use char because int might match the return type of a GCC
17925 builtin and then its argument prototype would still apply. */
17926 #ifdef __cplusplus
17927 extern "C"
17928 #endif
17929 char gethostbyname ();
17931 main ()
17933 return gethostbyname ();
17935 return 0;
17937 _ACEOF
17938 for ac_lib in '' nsl; do
17939 if test -z "$ac_lib"; then
17940 ac_res="none required"
17941 else
17942 ac_res=-l$ac_lib
17943 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17945 if ac_fn_c_try_link "$LINENO"; then :
17946 ac_cv_search_gethostbyname=$ac_res
17948 rm -f core conftest.err conftest.$ac_objext \
17949 conftest$ac_exeext
17950 if ${ac_cv_search_gethostbyname+:} false; then :
17951 break
17953 done
17954 if ${ac_cv_search_gethostbyname+:} false; then :
17956 else
17957 ac_cv_search_gethostbyname=no
17959 rm conftest.$ac_ext
17960 LIBS=$ac_func_search_save_LIBS
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17963 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17964 ac_res=$ac_cv_search_gethostbyname
17965 if test "$ac_res" != no; then :
17966 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17972 $as_echo_n "checking for library containing connect... " >&6; }
17973 if ${ac_cv_search_connect+:} false; then :
17974 $as_echo_n "(cached) " >&6
17975 else
17976 ac_func_search_save_LIBS=$LIBS
17977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17978 /* end confdefs.h. */
17980 /* Override any GCC internal prototype to avoid an error.
17981 Use char because int might match the return type of a GCC
17982 builtin and then its argument prototype would still apply. */
17983 #ifdef __cplusplus
17984 extern "C"
17985 #endif
17986 char connect ();
17988 main ()
17990 return connect ();
17992 return 0;
17994 _ACEOF
17995 for ac_lib in '' socket; do
17996 if test -z "$ac_lib"; then
17997 ac_res="none required"
17998 else
17999 ac_res=-l$ac_lib
18000 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18002 if ac_fn_c_try_link "$LINENO"; then :
18003 ac_cv_search_connect=$ac_res
18005 rm -f core conftest.err conftest.$ac_objext \
18006 conftest$ac_exeext
18007 if ${ac_cv_search_connect+:} false; then :
18008 break
18010 done
18011 if ${ac_cv_search_connect+:} false; then :
18013 else
18014 ac_cv_search_connect=no
18016 rm conftest.$ac_ext
18017 LIBS=$ac_func_search_save_LIBS
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18020 $as_echo "$ac_cv_search_connect" >&6; }
18021 ac_res=$ac_cv_search_connect
18022 if test "$ac_res" != no; then :
18023 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18029 $as_echo_n "checking for library containing inet_aton... " >&6; }
18030 if ${ac_cv_search_inet_aton+:} false; then :
18031 $as_echo_n "(cached) " >&6
18032 else
18033 ac_func_search_save_LIBS=$LIBS
18034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18035 /* end confdefs.h. */
18037 /* Override any GCC internal prototype to avoid an error.
18038 Use char because int might match the return type of a GCC
18039 builtin and then its argument prototype would still apply. */
18040 #ifdef __cplusplus
18041 extern "C"
18042 #endif
18043 char inet_aton ();
18045 main ()
18047 return inet_aton ();
18049 return 0;
18051 _ACEOF
18052 for ac_lib in '' resolv; do
18053 if test -z "$ac_lib"; then
18054 ac_res="none required"
18055 else
18056 ac_res=-l$ac_lib
18057 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18059 if ac_fn_c_try_link "$LINENO"; then :
18060 ac_cv_search_inet_aton=$ac_res
18062 rm -f core conftest.err conftest.$ac_objext \
18063 conftest$ac_exeext
18064 if ${ac_cv_search_inet_aton+:} false; then :
18065 break
18067 done
18068 if ${ac_cv_search_inet_aton+:} false; then :
18070 else
18071 ac_cv_search_inet_aton=no
18073 rm conftest.$ac_ext
18074 LIBS=$ac_func_search_save_LIBS
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18077 $as_echo "$ac_cv_search_inet_aton" >&6; }
18078 ac_res=$ac_cv_search_inet_aton
18079 if test "$ac_res" != no; then :
18080 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18085 for ac_func in \
18086 getaddrinfo \
18087 getnameinfo \
18088 getservbyport \
18090 do :
18091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18093 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18094 cat >>confdefs.h <<_ACEOF
18095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18096 _ACEOF
18099 done
18102 case $host_os in
18103 darwin*|macosx*) ;;
18104 *) ac_save_LIBS=$LIBS
18105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18106 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18107 if ${ac_cv_search_clock_gettime+:} false; then :
18108 $as_echo_n "(cached) " >&6
18109 else
18110 ac_func_search_save_LIBS=$LIBS
18111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18112 /* end confdefs.h. */
18114 /* Override any GCC internal prototype to avoid an error.
18115 Use char because int might match the return type of a GCC
18116 builtin and then its argument prototype would still apply. */
18117 #ifdef __cplusplus
18118 extern "C"
18119 #endif
18120 char clock_gettime ();
18122 main ()
18124 return clock_gettime ();
18126 return 0;
18128 _ACEOF
18129 for ac_lib in '' rt; do
18130 if test -z "$ac_lib"; then
18131 ac_res="none required"
18132 else
18133 ac_res=-l$ac_lib
18134 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18136 if ac_fn_c_try_link "$LINENO"; then :
18137 ac_cv_search_clock_gettime=$ac_res
18139 rm -f core conftest.err conftest.$ac_objext \
18140 conftest$ac_exeext
18141 if ${ac_cv_search_clock_gettime+:} false; then :
18142 break
18144 done
18145 if ${ac_cv_search_clock_gettime+:} false; then :
18147 else
18148 ac_cv_search_clock_gettime=no
18150 rm conftest.$ac_ext
18151 LIBS=$ac_func_search_save_LIBS
18153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18154 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18155 ac_res=$ac_cv_search_clock_gettime
18156 if test "$ac_res" != no; then :
18157 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18159 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18161 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18165 LIBS=$ac_save_LIBS
18167 esac
18169 if test "x$with_ldap" != "xno"
18170 then
18171 if ${LDAP_CFLAGS:+false} :; then :
18172 if ${PKG_CONFIG+:} false; then :
18173 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18177 if ${LDAP_LIBS:+false} :; then :
18178 if ${PKG_CONFIG+:} false; then :
18179 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18183 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18184 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18185 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18186 ac_save_CPPFLAGS=$CPPFLAGS
18187 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18188 for ac_header in ldap.h lber.h
18189 do :
18190 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18191 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18192 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18193 cat >>confdefs.h <<_ACEOF
18194 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18195 _ACEOF
18199 done
18201 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18202 then
18203 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18205 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18207 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18208 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18209 $as_echo_n "(cached) " >&6
18210 else
18211 ac_check_lib_save_LIBS=$LIBS
18212 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18216 /* Override any GCC internal prototype to avoid an error.
18217 Use char because int might match the return type of a GCC
18218 builtin and then its argument prototype would still apply. */
18219 #ifdef __cplusplus
18220 extern "C"
18221 #endif
18222 char ldap_initialize ();
18224 main ()
18226 return ldap_initialize ();
18228 return 0;
18230 _ACEOF
18231 if ac_fn_c_try_link "$LINENO"; then :
18232 ac_cv_lib_ldap_r_ldap_initialize=yes
18233 else
18234 ac_cv_lib_ldap_r_ldap_initialize=no
18236 rm -f core conftest.err conftest.$ac_objext \
18237 conftest$ac_exeext conftest.$ac_ext
18238 LIBS=$ac_check_lib_save_LIBS
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18241 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18242 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18244 $as_echo_n "checking for ber_init in -llber... " >&6; }
18245 if ${ac_cv_lib_lber_ber_init+:} false; then :
18246 $as_echo_n "(cached) " >&6
18247 else
18248 ac_check_lib_save_LIBS=$LIBS
18249 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18251 /* end confdefs.h. */
18253 /* Override any GCC internal prototype to avoid an error.
18254 Use char because int might match the return type of a GCC
18255 builtin and then its argument prototype would still apply. */
18256 #ifdef __cplusplus
18257 extern "C"
18258 #endif
18259 char ber_init ();
18261 main ()
18263 return ber_init ();
18265 return 0;
18267 _ACEOF
18268 if ac_fn_c_try_link "$LINENO"; then :
18269 ac_cv_lib_lber_ber_init=yes
18270 else
18271 ac_cv_lib_lber_ber_init=no
18273 rm -f core conftest.err conftest.$ac_objext \
18274 conftest$ac_exeext conftest.$ac_ext
18275 LIBS=$ac_check_lib_save_LIBS
18277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18278 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18279 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18281 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18283 else
18284 LDAP_LIBS=""
18287 else
18288 LDAP_LIBS=""
18291 else
18292 LDAP_LIBS=""
18295 ac_wine_check_funcs_save_LIBS="$LIBS"
18296 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18297 for ac_func in \
18298 ldap_count_references \
18299 ldap_first_reference \
18300 ldap_next_reference \
18301 ldap_parse_reference \
18302 ldap_parse_sort_control \
18303 ldap_parse_sortresponse_control \
18304 ldap_parse_vlv_control \
18305 ldap_parse_vlvresponse_control
18306 do :
18307 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18309 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18310 cat >>confdefs.h <<_ACEOF
18311 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18312 _ACEOF
18315 done
18317 LIBS="$ac_wine_check_funcs_save_LIBS"
18318 else
18319 LDAP_LIBS=""
18321 CPPFLAGS=$ac_save_CPPFLAGS
18324 if test "x$LDAP_LIBS" = "x"; then :
18325 case "x$with_ldap" in
18326 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18327 xno) ;;
18328 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18329 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18330 esac
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18335 $as_echo_n "checking for sched_setaffinity... " >&6; }
18336 if ${wine_cv_have_sched_setaffinity+:} false; then :
18337 $as_echo_n "(cached) " >&6
18338 else
18339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18340 /* end confdefs.h. */
18341 #define _GNU_SOURCE
18342 #include <sched.h>
18344 main ()
18346 sched_setaffinity(0, 0, 0);
18348 return 0;
18350 _ACEOF
18351 if ac_fn_c_try_link "$LINENO"; then :
18352 wine_cv_have_sched_setaffinity=yes
18353 else
18354 wine_cv_have_sched_setaffinity=no
18356 rm -f core conftest.err conftest.$ac_objext \
18357 conftest$ac_exeext conftest.$ac_ext
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18360 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18361 if test "$wine_cv_have_sched_setaffinity" = "yes"
18362 then
18364 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18369 $as_echo_n "checking for fallocate... " >&6; }
18370 if ${wine_cv_have_fallocate+:} false; then :
18371 $as_echo_n "(cached) " >&6
18372 else
18373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18375 #define _GNU_SOURCE
18376 #include <fcntl.h>
18378 main ()
18380 fallocate(-1, 0, 0, 0);
18382 return 0;
18384 _ACEOF
18385 if ac_fn_c_try_link "$LINENO"; then :
18386 wine_cv_have_fallocate=yes
18387 else
18388 wine_cv_have_fallocate=no
18390 rm -f core conftest.err conftest.$ac_objext \
18391 conftest$ac_exeext conftest.$ac_ext
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18394 $as_echo "$wine_cv_have_fallocate" >&6; }
18395 if test "$wine_cv_have_fallocate" = "yes"
18396 then
18398 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18404 $as_echo_n "checking for inline... " >&6; }
18405 if ${ac_cv_c_inline+:} false; then :
18406 $as_echo_n "(cached) " >&6
18407 else
18408 ac_cv_c_inline=no
18409 for ac_kw in inline __inline__ __inline; do
18410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18411 /* end confdefs.h. */
18412 #ifndef __cplusplus
18413 typedef int foo_t;
18414 static $ac_kw foo_t static_foo () {return 0; }
18415 $ac_kw foo_t foo () {return 0; }
18416 #endif
18418 _ACEOF
18419 if ac_fn_c_try_compile "$LINENO"; then :
18420 ac_cv_c_inline=$ac_kw
18422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18423 test "$ac_cv_c_inline" != no && break
18424 done
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18428 $as_echo "$ac_cv_c_inline" >&6; }
18430 case $ac_cv_c_inline in
18431 inline | yes) ;;
18433 case $ac_cv_c_inline in
18434 no) ac_val=;;
18435 *) ac_val=$ac_cv_c_inline;;
18436 esac
18437 cat >>confdefs.h <<_ACEOF
18438 #ifndef __cplusplus
18439 #define inline $ac_val
18440 #endif
18441 _ACEOF
18443 esac
18445 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18446 #include <signal.h>
18448 if test "x$ac_cv_type_sigset_t" = xyes; then :
18450 cat >>confdefs.h <<_ACEOF
18451 #define HAVE_SIGSET_T 1
18452 _ACEOF
18457 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18459 if test "x$ac_cv_type_request_sense" = xyes; then :
18461 cat >>confdefs.h <<_ACEOF
18462 #define HAVE_REQUEST_SENSE 1
18463 _ACEOF
18469 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18470 #ifdef HAVE_SYS_SOCKET_H
18471 #include <sys/socket.h>
18472 #endif
18473 #ifdef HAVE_SYS_SOCKETVAR_H
18474 #include <sys/socketvar.h>
18475 #endif
18476 #ifdef HAVE_NET_ROUTE_H
18477 #include <net/route.h>
18478 #endif
18479 #ifdef HAVE_NETINET_IN_H
18480 #include <netinet/in.h>
18481 #endif
18482 #ifdef HAVE_NETINET_IN_SYSTM_H
18483 #include <netinet/in_systm.h>
18484 #endif
18485 #ifdef HAVE_NETINET_IP_H
18486 #include <netinet/ip.h>
18487 #endif
18488 #ifdef HAVE_NETINET_IN_PCB_H
18489 #include <netinet/in_pcb.h>
18490 #endif
18492 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18494 cat >>confdefs.h <<_ACEOF
18495 #define HAVE_STRUCT_XINPGEN 1
18496 _ACEOF
18502 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18503 #include <linux/input.h>
18504 #endif
18506 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18508 cat >>confdefs.h <<_ACEOF
18509 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18510 _ACEOF
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18517 $as_echo_n "checking for if_nameindex... " >&6; }
18518 if ${wine_cv_have_if_nameindex+:} false; then :
18519 $as_echo_n "(cached) " >&6
18520 else
18521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18522 /* end confdefs.h. */
18523 #ifdef HAVE_SYS_TYPES_H
18524 #include <sys/types.h>
18525 #endif
18526 #ifdef HAVE_SYS_SOCKET_H
18527 #include <sys/socket.h>
18528 #endif
18529 #ifdef HAVE_NET_IF_H
18530 # include <net/if.h>
18531 #endif
18533 main ()
18535 struct if_nameindex *p = if_nameindex(); return p->if_index;
18537 return 0;
18539 _ACEOF
18540 if ac_fn_c_try_link "$LINENO"; then :
18541 wine_cv_have_if_nameindex=yes
18542 else
18543 wine_cv_have_if_nameindex=no
18545 rm -f core conftest.err conftest.$ac_objext \
18546 conftest$ac_exeext conftest.$ac_ext
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18549 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18550 if test "$wine_cv_have_if_nameindex" = "yes"
18551 then
18553 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18558 $as_echo_n "checking for sigaddset... " >&6; }
18559 if ${wine_cv_have_sigaddset+:} false; then :
18560 $as_echo_n "(cached) " >&6
18561 else
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18564 #include <signal.h>
18566 main ()
18568 sigset_t set; sigaddset(&set,SIGTERM);
18570 return 0;
18572 _ACEOF
18573 if ac_fn_c_try_link "$LINENO"; then :
18574 wine_cv_have_sigaddset=yes
18575 else
18576 wine_cv_have_sigaddset=no
18578 rm -f core conftest.err conftest.$ac_objext \
18579 conftest$ac_exeext conftest.$ac_ext
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18582 $as_echo "$wine_cv_have_sigaddset" >&6; }
18583 if test "$wine_cv_have_sigaddset" = "yes"
18584 then
18586 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18592 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18593 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18594 $as_echo_n "(cached) " >&6
18595 else
18596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18597 /* end confdefs.h. */
18598 #include <netdb.h>
18600 main ()
18603 char *name=0;
18604 struct hostent he;
18605 struct hostent *result;
18606 char *buf=0;
18607 int bufsize=0;
18608 int errnr;
18609 char *addr=0;
18610 int addrlen=0;
18611 int addrtype=0;
18612 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18613 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18616 return 0;
18618 _ACEOF
18619 if ac_fn_c_try_link "$LINENO"; then :
18620 wine_cv_linux_gethostbyname_r_6=yes
18621 else
18622 wine_cv_linux_gethostbyname_r_6=no
18625 rm -f core conftest.err conftest.$ac_objext \
18626 conftest$ac_exeext conftest.$ac_ext
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18630 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18631 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18632 then
18634 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18638 if test "$ac_cv_header_linux_joystick_h" = "yes"
18639 then
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18641 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18642 if ${wine_cv_linux_joystick_22_api+:} false; then :
18643 $as_echo_n "(cached) " >&6
18644 else
18645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18648 #include <sys/ioctl.h>
18649 #include <sys/types.h>
18650 #include <linux/joystick.h>
18652 struct js_event blub;
18653 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18654 #error "no 2.2 header"
18655 #endif
18658 main ()
18660 /*empty*/
18662 return 0;
18664 _ACEOF
18665 if ac_fn_c_try_compile "$LINENO"; then :
18666 wine_cv_linux_joystick_22_api=yes
18667 else
18668 wine_cv_linux_joystick_22_api=no
18670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18674 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18675 if test "$wine_cv_linux_joystick_22_api" = "yes"
18676 then
18678 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18683 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18684 #ifdef HAVE_SYS_SOCKET_H
18685 # include <sys/socket.h>
18686 #endif
18687 #ifdef HAVE_SYS_UN_H
18688 # include <sys/un.h>
18689 #endif
18691 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18693 cat >>confdefs.h <<_ACEOF
18694 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18695 _ACEOF
18699 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18700 #ifdef HAVE_SYS_SOCKET_H
18701 # include <sys/socket.h>
18702 #endif
18703 #ifdef HAVE_SYS_UN_H
18704 # include <sys/un.h>
18705 #endif
18707 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18709 cat >>confdefs.h <<_ACEOF
18710 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18711 _ACEOF
18715 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18716 #ifdef HAVE_SYS_SOCKET_H
18717 # include <sys/socket.h>
18718 #endif
18719 #ifdef HAVE_SYS_UN_H
18720 # include <sys/un.h>
18721 #endif
18723 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18725 cat >>confdefs.h <<_ACEOF
18726 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18727 _ACEOF
18733 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18734 #ifdef HAVE_SCSI_SG_H
18735 #include <scsi/sg.h>
18736 #endif
18738 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18740 cat >>confdefs.h <<_ACEOF
18741 #define HAVE_SCSIREQ_T_CMD 1
18742 _ACEOF
18746 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>
18747 #ifdef HAVE_SCSI_SG_H
18748 #include <scsi/sg.h>
18749 #endif
18751 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18753 cat >>confdefs.h <<_ACEOF
18754 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18755 _ACEOF
18761 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18763 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18765 cat >>confdefs.h <<_ACEOF
18766 #define HAVE_SIGINFO_T_SI_FD 1
18767 _ACEOF
18773 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18774 #ifdef HAVE_SYS_MTIO_H
18775 #include <sys/mtio.h>
18776 #endif
18778 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18780 cat >>confdefs.h <<_ACEOF
18781 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18782 _ACEOF
18786 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18787 #ifdef HAVE_SYS_MTIO_H
18788 #include <sys/mtio.h>
18789 #endif
18791 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18793 cat >>confdefs.h <<_ACEOF
18794 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18795 _ACEOF
18799 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18800 #ifdef HAVE_SYS_MTIO_H
18801 #include <sys/mtio.h>
18802 #endif
18804 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18806 cat >>confdefs.h <<_ACEOF
18807 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18808 _ACEOF
18814 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18815 #include <getopt.h>
18816 #endif
18818 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18820 cat >>confdefs.h <<_ACEOF
18821 #define HAVE_STRUCT_OPTION_NAME 1
18822 _ACEOF
18828 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18829 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18831 cat >>confdefs.h <<_ACEOF
18832 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18833 _ACEOF
18837 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18838 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18840 cat >>confdefs.h <<_ACEOF
18841 #define HAVE_STRUCT_STAT_ST_MTIM 1
18842 _ACEOF
18846 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18847 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18849 cat >>confdefs.h <<_ACEOF
18850 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18851 _ACEOF
18855 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18856 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18858 cat >>confdefs.h <<_ACEOF
18859 #define HAVE_STRUCT_STAT_ST_CTIM 1
18860 _ACEOF
18864 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18865 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18867 cat >>confdefs.h <<_ACEOF
18868 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18869 _ACEOF
18873 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18874 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18876 cat >>confdefs.h <<_ACEOF
18877 #define HAVE_STRUCT_STAT_ST_ATIM 1
18878 _ACEOF
18882 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18883 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18885 cat >>confdefs.h <<_ACEOF
18886 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18887 _ACEOF
18891 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18892 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18894 cat >>confdefs.h <<_ACEOF
18895 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18896 _ACEOF
18900 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18901 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18903 cat >>confdefs.h <<_ACEOF
18904 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18905 _ACEOF
18909 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18910 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18912 cat >>confdefs.h <<_ACEOF
18913 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18914 _ACEOF
18918 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18919 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18921 cat >>confdefs.h <<_ACEOF
18922 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18923 _ACEOF
18927 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18928 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18930 cat >>confdefs.h <<_ACEOF
18931 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18932 _ACEOF
18938 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
18939 #include <sys/types.h>
18940 #endif
18941 #ifdef HAVE_NETINET_IN_H
18942 #include <netinet/in.h>
18943 #endif
18945 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18947 cat >>confdefs.h <<_ACEOF
18948 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18949 _ACEOF
18955 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18956 #include <sys/types.h>
18957 #endif
18958 #ifdef HAVE_NETINET_IN_H
18959 #include <netinet/in.h>
18960 #endif
18961 #ifdef HAVE_RESOLV_H
18962 #include <resolv.h>
18963 #endif
18965 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18967 cat >>confdefs.h <<_ACEOF
18968 #define HAVE_STRUCT___RES_STATE 1
18969 _ACEOF
18975 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
18976 #include <resolv.h>
18977 #endif
18979 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18981 cat >>confdefs.h <<_ACEOF
18982 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18983 _ACEOF
18989 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18990 #include <sys/types.h>
18991 #endif
18992 #ifdef HAVE_NETINET_IN_H
18993 # include <netinet/in.h>
18994 #endif
18995 #ifdef HAVE_ARPA_NAMESER_H
18996 # include <arpa/nameser.h>
18997 #endif
18999 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19001 cat >>confdefs.h <<_ACEOF
19002 #define HAVE_NS_MSG__MSG_PTR 1
19003 _ACEOF
19009 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19010 #include <sys/types.h>
19011 #endif
19012 #ifdef HAVE_NETINET_IN_H
19013 #include <netinet/in.h>
19014 #endif
19015 #ifdef HAVE_NETINET_IP_H
19016 #include <netinet/ip.h>
19017 #endif
19018 #ifdef HAVE_NETINET_IP_ICMP_H
19019 #include <netinet/ip_icmp.h>
19020 #endif
19021 #ifdef HAVE_NETINET_ICMP_VAR_H
19022 #include <netinet/icmp_var.h>
19023 #endif
19025 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19027 cat >>confdefs.h <<_ACEOF
19028 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19029 _ACEOF
19035 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19036 #include <sys/types.h>
19037 #endif
19038 #ifdef HAVE_ALIAS_H
19039 #include <alias.h>
19040 #endif
19041 #ifdef HAVE_SYS_SOCKET_H
19042 #include <sys/socket.h>
19043 #endif
19044 #ifdef HAVE_SYS_SOCKETVAR_H
19045 #include <sys/socketvar.h>
19046 #endif
19047 #ifdef HAVE_SYS_TIMEOUT_H
19048 #include <sys/timeout.h>
19049 #endif
19050 #ifdef HAVE_NETINET_IN_H
19051 #include <netinet/in.h>
19052 #endif
19053 #ifdef HAVE_NETINET_IN_SYSTM_H
19054 #include <netinet/in_systm.h>
19055 #endif
19056 #ifdef HAVE_NETINET_IP_H
19057 #include <netinet/ip.h>
19058 #endif
19059 #ifdef HAVE_NETINET_IP_VAR_H
19060 #include <netinet/ip_var.h>
19061 #endif
19062 #ifdef HAVE_NETINET_IP_ICMP_H
19063 #include <netinet/ip_icmp.h>
19064 #endif
19065 #ifdef HAVE_NETINET_ICMP_VAR_H
19066 #include <netinet/icmp_var.h>
19067 #endif
19069 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19071 cat >>confdefs.h <<_ACEOF
19072 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19073 _ACEOF
19079 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19080 #include <sys/types.h>
19081 #endif
19082 #ifdef HAVE_SYS_SOCKETVAR_H
19083 #include <sys/socketvar.h>
19084 #endif
19085 #ifdef HAVE_NETINET_IN_H
19086 #include <netinet/in.h>
19087 #endif
19088 #ifdef HAVE_NETINET_IP_VAR_H
19089 #include <netinet/ip_var.h>
19090 #endif
19092 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19094 cat >>confdefs.h <<_ACEOF
19095 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19096 _ACEOF
19102 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
19103 #include <netinet/ip_var.h>
19104 #endif
19106 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19108 cat >>confdefs.h <<_ACEOF
19109 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19110 _ACEOF
19116 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19117 #include <sys/types.h>
19118 #endif
19119 #ifdef HAVE_SYS_SOCKETVAR_H
19120 #include <sys/socketvar.h>
19121 #endif
19122 #ifdef HAVE_NETINET_IN_H
19123 #include <netinet/in.h>
19124 #endif
19125 #ifdef HAVE_NETINET_TCP_H
19126 #include <netinet/tcp.h>
19127 #endif
19128 #ifdef HAVE_NETINET_TCP_VAR_H
19129 #include <netinet/tcp_var.h>
19130 #endif
19132 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19134 cat >>confdefs.h <<_ACEOF
19135 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19136 _ACEOF
19142 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
19143 #include <netinet/tcp_var.h>
19144 #endif
19146 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19150 _ACEOF
19156 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19157 #include <sys/types.h>
19158 #endif
19159 #ifdef HAVE_NETINET_IN_H
19160 #include <netinet/in.h>
19161 #endif
19162 #ifdef HAVE_NETINET_IP_VAR_H
19163 #include <netinet/ip_var.h>
19164 #endif
19165 #ifdef HAVE_NETINET_UDP_H
19166 #include <netinet/udp.h>
19167 #endif
19168 #ifdef HAVE_NETINET_UDP_VAR_H
19169 #include <netinet/udp_var.h>
19170 #endif
19172 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19174 cat >>confdefs.h <<_ACEOF
19175 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19176 _ACEOF
19182 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19183 #include <sys/types.h>
19184 #endif
19185 #ifdef HAVE_NET_IF_H
19186 # include <net/if.h>
19187 #endif
19189 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19191 cat >>confdefs.h <<_ACEOF
19192 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19193 _ACEOF
19199 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19200 # include <sys/sysinfo.h>
19201 #endif
19203 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19205 cat >>confdefs.h <<_ACEOF
19206 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19207 _ACEOF
19211 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19212 # include <sys/sysinfo.h>
19213 #endif
19215 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19217 cat >>confdefs.h <<_ACEOF
19218 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19219 _ACEOF
19225 ac_save_LIBS="$LIBS"
19226 LIBS="$LIBS -lm"
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19228 $as_echo_n "checking for isfinite... " >&6; }
19229 if ${ac_cv_have_isfinite+:} false; then :
19230 $as_echo_n "(cached) " >&6
19231 else
19232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19233 /* end confdefs.h. */
19234 #define _GNU_SOURCE
19235 #include <math.h>
19237 main ()
19239 float f = 0.0; return isfinite(f)
19241 return 0;
19243 _ACEOF
19244 if ac_fn_c_try_link "$LINENO"; then :
19245 ac_cv_have_isfinite="yes"
19246 else
19247 ac_cv_have_isfinite="no"
19249 rm -f core conftest.err conftest.$ac_objext \
19250 conftest$ac_exeext conftest.$ac_ext
19252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19253 $as_echo "$ac_cv_have_isfinite" >&6; }
19254 if test "$ac_cv_have_isfinite" = "yes"
19255 then
19257 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19262 $as_echo_n "checking for isinf... " >&6; }
19263 if ${ac_cv_have_isinf+:} false; then :
19264 $as_echo_n "(cached) " >&6
19265 else
19266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19267 /* end confdefs.h. */
19268 #include <math.h>
19270 main ()
19272 float f = 0.0; return isinf(f)
19274 return 0;
19276 _ACEOF
19277 if ac_fn_c_try_link "$LINENO"; then :
19278 ac_cv_have_isinf="yes"
19279 else
19280 ac_cv_have_isinf="no"
19282 rm -f core conftest.err conftest.$ac_objext \
19283 conftest$ac_exeext conftest.$ac_ext
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19286 $as_echo "$ac_cv_have_isinf" >&6; }
19287 if test "$ac_cv_have_isinf" = "yes"
19288 then
19290 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19295 $as_echo_n "checking for isnan... " >&6; }
19296 if ${ac_cv_have_isnan+:} false; then :
19297 $as_echo_n "(cached) " >&6
19298 else
19299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19300 /* end confdefs.h. */
19301 #include <math.h>
19303 main ()
19305 float f = 0.0; return isnan(f)
19307 return 0;
19309 _ACEOF
19310 if ac_fn_c_try_link "$LINENO"; then :
19311 ac_cv_have_isnan="yes"
19312 else
19313 ac_cv_have_isnan="no"
19315 rm -f core conftest.err conftest.$ac_objext \
19316 conftest$ac_exeext conftest.$ac_ext
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19319 $as_echo "$ac_cv_have_isnan" >&6; }
19320 if test "$ac_cv_have_isnan" = "yes"
19321 then
19323 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19327 for ac_func in \
19328 acosh \
19329 acoshf \
19330 asinh \
19331 asinhf \
19332 atanh \
19333 atanhf \
19334 cbrt \
19335 cbrtf \
19336 erf \
19337 erfc \
19338 erfcf \
19339 erff \
19340 exp2 \
19341 exp2f \
19342 expm1 \
19343 expm1f \
19344 fma \
19345 fmaf \
19346 j0 \
19347 j1 \
19348 jn \
19349 lgamma \
19350 lgammaf \
19351 llrint \
19352 llrintf \
19353 llround \
19354 llroundf \
19355 log1p \
19356 log1pf \
19357 log2 \
19358 log2f \
19359 lrint \
19360 lrintf \
19361 lround \
19362 lroundf \
19363 nearbyint \
19364 nearbyintf \
19365 nexttoward \
19366 nexttowardf \
19367 remainder \
19368 remainderf \
19369 remquo \
19370 remquof \
19371 rint \
19372 rintf \
19373 round \
19374 roundf \
19375 tgamma \
19376 tgammaf \
19377 trunc \
19378 truncf \
19379 y0 \
19380 y1 \
19383 do :
19384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19386 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19387 cat >>confdefs.h <<_ACEOF
19388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19389 _ACEOF
19392 done
19394 LIBS="$ac_save_LIBS"
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19397 $as_echo_n "checking for __builtin_popcount... " >&6; }
19398 if ${ac_cv_have___builtin_popcount+:} false; then :
19399 $as_echo_n "(cached) " >&6
19400 else
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19405 main ()
19407 return __builtin_popcount(1)
19409 return 0;
19411 _ACEOF
19412 if ac_fn_c_try_link "$LINENO"; then :
19413 ac_cv_have___builtin_popcount="yes"
19414 else
19415 ac_cv_have___builtin_popcount="no"
19417 rm -f core conftest.err conftest.$ac_objext \
19418 conftest$ac_exeext conftest.$ac_ext
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19421 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19422 if test "$ac_cv_have___builtin_popcount" = "yes"
19423 then
19425 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19430 $as_echo_n "checking for __clear_cache... " >&6; }
19431 if ${ac_cv_have___clear_cache+:} false; then :
19432 $as_echo_n "(cached) " >&6
19433 else
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19438 main ()
19440 __clear_cache((void*)0, (void*)0); return 0;
19442 return 0;
19444 _ACEOF
19445 if ac_fn_c_try_link "$LINENO"; then :
19446 ac_cv_have___clear_cache="yes"
19447 else
19448 ac_cv_have___clear_cache="no"
19450 rm -f core conftest.err conftest.$ac_objext \
19451 conftest$ac_exeext conftest.$ac_ext
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19454 $as_echo "$ac_cv_have___clear_cache" >&6; }
19455 if test "$ac_cv_have___clear_cache" = "yes"
19456 then
19458 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19463 case $host_cpu in
19464 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19465 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19466 if ${ac_cv_cpp_def___i386__+:} false; then :
19467 $as_echo_n "(cached) " >&6
19468 else
19469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19470 /* end confdefs.h. */
19471 #ifndef __i386__
19473 #endif
19474 _ACEOF
19475 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19476 $EGREP "yes" >/dev/null 2>&1; then :
19477 ac_cv_cpp_def___i386__=yes
19478 else
19479 ac_cv_cpp_def___i386__=no
19481 rm -f conftest*
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19485 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19486 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19487 CFLAGS="$CFLAGS -D__i386__"
19488 LINTFLAGS="$LINTFLAGS -D__i386__"
19489 fi ;;
19490 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19491 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19492 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19493 $as_echo_n "(cached) " >&6
19494 else
19495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19496 /* end confdefs.h. */
19497 #ifndef __x86_64__
19499 #endif
19500 _ACEOF
19501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19502 $EGREP "yes" >/dev/null 2>&1; then :
19503 ac_cv_cpp_def___x86_64__=yes
19504 else
19505 ac_cv_cpp_def___x86_64__=no
19507 rm -f conftest*
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19511 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19512 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19513 CFLAGS="$CFLAGS -D__x86_64__"
19514 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19515 fi ;;
19516 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19517 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19518 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19519 $as_echo_n "(cached) " >&6
19520 else
19521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19522 /* end confdefs.h. */
19523 #ifndef __sparc64__
19525 #endif
19526 _ACEOF
19527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19528 $EGREP "yes" >/dev/null 2>&1; then :
19529 ac_cv_cpp_def___sparc64__=yes
19530 else
19531 ac_cv_cpp_def___sparc64__=no
19533 rm -f conftest*
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19537 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19538 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19539 CFLAGS="$CFLAGS -D__sparc64__"
19540 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19541 fi ;;
19542 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19543 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19544 if ${ac_cv_cpp_def___sparc__+:} false; then :
19545 $as_echo_n "(cached) " >&6
19546 else
19547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19549 #ifndef __sparc__
19551 #endif
19552 _ACEOF
19553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19554 $EGREP "yes" >/dev/null 2>&1; then :
19555 ac_cv_cpp_def___sparc__=yes
19556 else
19557 ac_cv_cpp_def___sparc__=no
19559 rm -f conftest*
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19563 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19564 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19565 CFLAGS="$CFLAGS -D__sparc__"
19566 LINTFLAGS="$LINTFLAGS -D__sparc__"
19567 fi ;;
19568 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19569 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19570 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19571 $as_echo_n "(cached) " >&6
19572 else
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575 #ifndef __powerpc64__
19577 #endif
19578 _ACEOF
19579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19580 $EGREP "yes" >/dev/null 2>&1; then :
19581 ac_cv_cpp_def___powerpc64__=yes
19582 else
19583 ac_cv_cpp_def___powerpc64__=no
19585 rm -f conftest*
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19589 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19590 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19591 CFLAGS="$CFLAGS -D__powerpc64__"
19592 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19593 fi ;;
19594 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19595 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19596 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19597 $as_echo_n "(cached) " >&6
19598 else
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19601 #ifndef __powerpc__
19603 #endif
19604 _ACEOF
19605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19606 $EGREP "yes" >/dev/null 2>&1; then :
19607 ac_cv_cpp_def___powerpc__=yes
19608 else
19609 ac_cv_cpp_def___powerpc__=no
19611 rm -f conftest*
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19615 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19616 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19617 CFLAGS="$CFLAGS -D__powerpc__"
19618 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19619 fi ;;
19620 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19621 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19622 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19623 $as_echo_n "(cached) " >&6
19624 else
19625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19626 /* end confdefs.h. */
19627 #ifndef __aarch64__
19629 #endif
19630 _ACEOF
19631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19632 $EGREP "yes" >/dev/null 2>&1; then :
19633 ac_cv_cpp_def___aarch64__=yes
19634 else
19635 ac_cv_cpp_def___aarch64__=no
19637 rm -f conftest*
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19641 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19642 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19643 CFLAGS="$CFLAGS -D__aarch64__"
19644 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19645 fi ;;
19646 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19647 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19648 if ${ac_cv_cpp_def___arm__+:} false; then :
19649 $as_echo_n "(cached) " >&6
19650 else
19651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h. */
19653 #ifndef __arm__
19655 #endif
19656 _ACEOF
19657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19658 $EGREP "yes" >/dev/null 2>&1; then :
19659 ac_cv_cpp_def___arm__=yes
19660 else
19661 ac_cv_cpp_def___arm__=no
19663 rm -f conftest*
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19667 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19668 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19669 CFLAGS="$CFLAGS -D__arm__"
19670 LINTFLAGS="$LINTFLAGS -D__arm__"
19671 fi ;;
19672 esac
19674 case $host_vendor in
19675 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19676 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19677 if ${ac_cv_cpp_def___sun__+:} false; then :
19678 $as_echo_n "(cached) " >&6
19679 else
19680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19681 /* end confdefs.h. */
19682 #ifndef __sun__
19684 #endif
19685 _ACEOF
19686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19687 $EGREP "yes" >/dev/null 2>&1; then :
19688 ac_cv_cpp_def___sun__=yes
19689 else
19690 ac_cv_cpp_def___sun__=no
19692 rm -f conftest*
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19696 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19697 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19698 CFLAGS="$CFLAGS -D__sun__"
19699 LINTFLAGS="$LINTFLAGS -D__sun__"
19700 fi ;;
19701 esac
19707 ac_config_commands="$ac_config_commands include/stamp-h"
19709 $as_echo_n "creating Makefile rules..." >&6
19711 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19712 OPENGL_LIBS = $OPENGL_LIBS
19713 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19714 IOKIT_LIBS = $IOKIT_LIBS
19715 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19716 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19717 CORESERVICES_LIBS = $CORESERVICES_LIBS
19718 APPKIT_LIBS = $APPKIT_LIBS
19719 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19720 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19721 SECURITY_LIBS = $SECURITY_LIBS
19722 COREAUDIO_LIBS = $COREAUDIO_LIBS
19723 OPENAL_LIBS = $OPENAL_LIBS
19724 OPENCL_LIBS = $OPENCL_LIBS
19725 QUICKTIME_LIBS = $QUICKTIME_LIBS
19726 CARBON_LIBS = $CARBON_LIBS
19727 METAL_LIBS = $METAL_LIBS
19728 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19729 PTHREAD_LIBS = $PTHREAD_LIBS
19730 X_CFLAGS = $X_CFLAGS
19731 X_PRE_LIBS = $X_PRE_LIBS
19732 X_LIBS = $X_LIBS
19733 X_EXTRA_LIBS = $X_EXTRA_LIBS
19734 PCAP_LIBS = $PCAP_LIBS
19735 XML2_CFLAGS = $XML2_CFLAGS
19736 XML2_LIBS = $XML2_LIBS
19737 XSLT_CFLAGS = $XSLT_CFLAGS
19738 XSLT_LIBS = $XSLT_LIBS
19739 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19740 INOTIFY_LIBS = $INOTIFY_LIBS
19741 DBUS_CFLAGS = $DBUS_CFLAGS
19742 DBUS_LIBS = $DBUS_LIBS
19743 HAL_CFLAGS = $HAL_CFLAGS
19744 HAL_LIBS = $HAL_LIBS
19745 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19746 GNUTLS_LIBS = $GNUTLS_LIBS
19747 SANE_CFLAGS = $SANE_CFLAGS
19748 SANE_LIBS = $SANE_LIBS
19749 USB_CFLAGS = $USB_CFLAGS
19750 USB_LIBS = $USB_LIBS
19751 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19752 GPHOTO2_LIBS = $GPHOTO2_LIBS
19753 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19754 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19755 RESOLV_LIBS = $RESOLV_LIBS
19756 LCMS2_CFLAGS = $LCMS2_CFLAGS
19757 LCMS2_LIBS = $LCMS2_LIBS
19758 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19759 FREETYPE_LIBS = $FREETYPE_LIBS
19760 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19761 PULSE_CFLAGS = $PULSE_CFLAGS
19762 PULSE_LIBS = $PULSE_LIBS
19763 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19764 GSTREAMER_LIBS = $GSTREAMER_LIBS
19765 ALSA_LIBS = $ALSA_LIBS
19766 OSS4_CFLAGS = $OSS4_CFLAGS
19767 OSS4_LIBS = $OSS4_LIBS
19768 UDEV_CFLAGS = $UDEV_CFLAGS
19769 UDEV_LIBS = $UDEV_LIBS
19770 UNWIND_CFLAGS = $UNWIND_CFLAGS
19771 UNWIND_LIBS = $UNWIND_LIBS
19772 SDL2_CFLAGS = $SDL2_CFLAGS
19773 SDL2_LIBS = $SDL2_LIBS
19774 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19775 FAUDIO_LIBS = $FAUDIO_LIBS
19776 CAPI20_CFLAGS = $CAPI20_CFLAGS
19777 CAPI20_LIBS = $CAPI20_LIBS
19778 CUPS_CFLAGS = $CUPS_CFLAGS
19779 CUPS_LIBS = $CUPS_LIBS
19780 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19781 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19782 KRB5_CFLAGS = $KRB5_CFLAGS
19783 KRB5_LIBS = $KRB5_LIBS
19784 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19785 GSSAPI_LIBS = $GSSAPI_LIBS
19786 JPEG_CFLAGS = $JPEG_CFLAGS
19787 JPEG_LIBS = $JPEG_LIBS
19788 PNG_CFLAGS = $PNG_CFLAGS
19789 PNG_LIBS = $PNG_LIBS
19790 TIFF_CFLAGS = $TIFF_CFLAGS
19791 TIFF_LIBS = $TIFF_LIBS
19792 MPG123_CFLAGS = $MPG123_CFLAGS
19793 MPG123_LIBS = $MPG123_LIBS
19794 KSTAT_LIBS = $KSTAT_LIBS
19795 PROCSTAT_LIBS = $PROCSTAT_LIBS
19796 NETAPI_CFLAGS = $NETAPI_CFLAGS
19797 NETAPI_LIBS = $NETAPI_LIBS
19798 VKD3D_CFLAGS = $VKD3D_CFLAGS
19799 VKD3D_LIBS = $VKD3D_LIBS
19800 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19801 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19802 POLL_LIBS = $POLL_LIBS
19803 RT_LIBS = $RT_LIBS
19804 LDAP_CFLAGS = $LDAP_CFLAGS
19805 LDAP_LIBS = $LDAP_LIBS
19810 wine_fn_append_rule "
19811 # Rules automatically generated by configure
19813 .INIT: Makefile
19814 .MAKEFILEDEPS:
19815 all: Makefile
19816 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19817 @./config.status Make.tmp Makefile
19818 depend: \$(MAKEDEP)
19819 \$(MAKEDEP)
19820 dummy:
19821 .PHONY: depend dummy"
19823 ac_config_links="$ac_config_links wine:tools/winewrapper"
19824 wine_fn_config_symlink wine
19825 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19826 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19827 wine_fn_config_symlink wine64
19830 wine_fn_config_makefile dlls/acledit enable_acledit
19831 wine_fn_config_makefile dlls/aclui enable_aclui
19832 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19833 wine_fn_config_makefile dlls/activeds enable_activeds
19834 wine_fn_config_makefile dlls/activeds/tests enable_tests
19835 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19836 wine_fn_config_makefile dlls/adsiid enable_adsiid
19837 wine_fn_config_makefile dlls/adsldp enable_adsldp
19838 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19839 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19840 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19841 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19842 wine_fn_config_makefile dlls/advpack enable_advpack
19843 wine_fn_config_makefile dlls/advpack/tests enable_tests
19844 wine_fn_config_makefile dlls/amsi enable_amsi
19845 wine_fn_config_makefile dlls/amstream enable_amstream
19846 wine_fn_config_makefile dlls/amstream/tests enable_tests
19847 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19848 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19849 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19850 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19851 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19852 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19853 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19854 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19855 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19856 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19857 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19858 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19860 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19861 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19864 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19865 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19866 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19867 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19868 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19869 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19870 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19871 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19872 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19873 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19874 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19875 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
19876 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
19877 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19878 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19879 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19880 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19881 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19882 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19883 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19884 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19886 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19887 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19888 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19889 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19890 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19891 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19892 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19893 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19894 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19895 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19896 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19897 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19898 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19899 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19900 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19901 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19902 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19903 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19904 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
19905 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19906 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19907 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19908 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
19909 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19910 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19911 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19912 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19913 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19914 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19915 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19916 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19917 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19918 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
19919 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
19920 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19921 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
19922 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19923 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19924 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19925 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19926 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19927 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19928 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19929 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19930 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19931 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19932 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19933 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19934 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19936 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19937 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19939 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19940 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19941 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19942 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19943 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
19944 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19945 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19946 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19947 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19948 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19949 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19950 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19951 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19952 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19953 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19954 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19955 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19956 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19957 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19959 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19960 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19961 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19963 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19964 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
19965 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19966 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19967 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19968 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19969 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19970 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19972 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19974 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19975 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19976 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19978 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19980 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19981 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19984 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19985 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19986 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19988 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19990 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20007 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20008 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20028 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20039 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20043 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20045 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20047 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20048 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20050 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20053 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20055 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20061 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20064 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20066 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20068 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20072 wine_fn_config_makefile dlls/apphelp enable_apphelp
20073 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20074 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20075 wine_fn_config_makefile dlls/atl enable_atl
20076 wine_fn_config_makefile dlls/atl/tests enable_tests
20077 wine_fn_config_makefile dlls/atl100 enable_atl100
20078 wine_fn_config_makefile dlls/atl100/tests enable_tests
20079 wine_fn_config_makefile dlls/atl110 enable_atl110
20080 wine_fn_config_makefile dlls/atl80 enable_atl80
20081 wine_fn_config_makefile dlls/atl80/tests enable_tests
20082 wine_fn_config_makefile dlls/atl90 enable_atl90
20083 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20084 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20085 wine_fn_config_makefile dlls/atmlib enable_atmlib
20086 wine_fn_config_makefile dlls/authz enable_authz
20087 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20088 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20089 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20090 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20091 wine_fn_config_makefile dlls/avrt enable_avrt
20092 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20093 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20094 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20095 wine_fn_config_makefile dlls/browseui enable_browseui
20096 wine_fn_config_makefile dlls/browseui/tests enable_tests
20097 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20098 wine_fn_config_makefile dlls/cabinet enable_cabinet
20099 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20100 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20101 wine_fn_config_makefile dlls/cards enable_cards
20102 wine_fn_config_makefile dlls/cdosys enable_cdosys
20103 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20104 wine_fn_config_makefile dlls/clusapi enable_clusapi
20105 wine_fn_config_makefile dlls/combase enable_combase
20106 wine_fn_config_makefile dlls/combase/tests enable_tests
20107 wine_fn_config_makefile dlls/comcat enable_comcat
20108 wine_fn_config_makefile dlls/comcat/tests enable_tests
20109 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20110 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20111 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20112 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20113 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20114 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20115 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20116 wine_fn_config_makefile dlls/compstui enable_compstui
20117 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20118 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20119 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20120 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20121 wine_fn_config_makefile dlls/connect enable_connect
20122 wine_fn_config_makefile dlls/credui enable_credui
20123 wine_fn_config_makefile dlls/credui/tests enable_tests
20124 wine_fn_config_makefile dlls/crtdll enable_crtdll
20125 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20126 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20127 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20128 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20129 wine_fn_config_makefile dlls/cryptext enable_cryptext
20130 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20131 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20132 wine_fn_config_makefile dlls/cryptui enable_cryptui
20133 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20134 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20135 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20136 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20137 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20138 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20139 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20140 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20141 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20142 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20143 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20144 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20145 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20146 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20147 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20148 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20149 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20150 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20151 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20152 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20153 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20154 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20155 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20156 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20157 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20158 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20159 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20160 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20161 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20162 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20163 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20164 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20165 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20166 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20167 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20168 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20169 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20170 wine_fn_config_makefile dlls/d3dim enable_d3dim
20171 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20172 wine_fn_config_makefile dlls/d3drm enable_d3drm
20173 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20174 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20175 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20176 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20177 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20178 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20179 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20180 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20181 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20182 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20183 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20184 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20185 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20186 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20187 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20188 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20189 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20190 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20191 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20192 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20193 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20194 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20195 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20196 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20197 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20198 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20199 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20200 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20201 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20202 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20203 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20204 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20205 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20206 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20207 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20208 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20209 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20210 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20211 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20212 wine_fn_config_makefile dlls/davclnt enable_davclnt
20213 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20214 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20215 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20216 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20217 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20218 wine_fn_config_makefile dlls/dcomp enable_dcomp
20219 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20220 wine_fn_config_makefile dlls/ddraw enable_ddraw
20221 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20222 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20223 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20224 wine_fn_config_makefile dlls/devenum enable_devenum
20225 wine_fn_config_makefile dlls/devenum/tests enable_tests
20226 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20227 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20228 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20229 wine_fn_config_makefile dlls/difxapi enable_difxapi
20230 wine_fn_config_makefile dlls/dinput enable_dinput
20231 wine_fn_config_makefile dlls/dinput/tests enable_tests
20232 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20233 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20234 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20235 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20236 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20237 wine_fn_config_makefile dlls/dispex enable_dispex
20238 wine_fn_config_makefile dlls/dispex/tests enable_tests
20239 wine_fn_config_makefile dlls/display.drv16 enable_win16
20240 wine_fn_config_makefile dlls/dmband enable_dmband
20241 wine_fn_config_makefile dlls/dmband/tests enable_tests
20242 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20243 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20244 wine_fn_config_makefile dlls/dmime enable_dmime
20245 wine_fn_config_makefile dlls/dmime/tests enable_tests
20246 wine_fn_config_makefile dlls/dmloader enable_dmloader
20247 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20248 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20249 wine_fn_config_makefile dlls/dmscript enable_dmscript
20250 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20251 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20252 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20253 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20254 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20255 wine_fn_config_makefile dlls/dmusic enable_dmusic
20256 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20257 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20258 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20259 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20260 wine_fn_config_makefile dlls/dplay enable_dplay
20261 wine_fn_config_makefile dlls/dplayx enable_dplayx
20262 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20263 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20264 wine_fn_config_makefile dlls/dpnet enable_dpnet
20265 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20266 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20267 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20268 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20269 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20270 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20271 wine_fn_config_makefile dlls/drmclien enable_drmclien
20272 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20273 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20274 wine_fn_config_makefile dlls/dsound enable_dsound
20275 wine_fn_config_makefile dlls/dsound/tests enable_tests
20276 wine_fn_config_makefile dlls/dsquery enable_dsquery
20277 wine_fn_config_makefile dlls/dssenh enable_dssenh
20278 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20279 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20280 wine_fn_config_makefile dlls/dswave enable_dswave
20281 wine_fn_config_makefile dlls/dswave/tests enable_tests
20282 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20283 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20284 wine_fn_config_makefile dlls/dwrite enable_dwrite
20285 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20286 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20287 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20288 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20289 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20290 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20291 wine_fn_config_makefile dlls/dxgi enable_dxgi
20292 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20293 wine_fn_config_makefile dlls/dxguid enable_dxguid
20294 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20295 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20296 wine_fn_config_makefile dlls/esent enable_esent
20297 wine_fn_config_makefile dlls/evr enable_evr
20298 wine_fn_config_makefile dlls/evr/tests enable_tests
20299 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20300 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20301 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20302 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20303 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20304 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20305 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20306 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20307 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20308 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20309 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20310 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20311 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20312 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20313 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20314 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20315 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20316 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20317 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20318 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20319 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20320 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20321 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20322 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20323 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20324 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20325 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20326 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20327 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20328 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20329 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20330 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20331 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20332 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20333 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20334 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20335 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20336 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20337 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20338 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20339 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20340 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20341 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
20342 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20343 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20344 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20345 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20346 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20347 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20348 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20349 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20350 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20351 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20352 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20353 wine_fn_config_makefile dlls/faultrep enable_faultrep
20354 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20355 wine_fn_config_makefile dlls/feclient enable_feclient
20356 wine_fn_config_makefile dlls/fltlib enable_fltlib
20357 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20358 wine_fn_config_makefile dlls/fntcache enable_fntcache
20359 wine_fn_config_makefile dlls/fontsub enable_fontsub
20360 wine_fn_config_makefile dlls/fusion enable_fusion
20361 wine_fn_config_makefile dlls/fusion/tests enable_tests
20362 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20363 wine_fn_config_makefile dlls/gameux enable_gameux
20364 wine_fn_config_makefile dlls/gameux/tests enable_tests
20365 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20366 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20367 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20368 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20369 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20370 wine_fn_config_makefile dlls/glu32 enable_glu32
20371 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20372 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20373 wine_fn_config_makefile dlls/hal enable_hal
20374 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20375 wine_fn_config_makefile dlls/hid enable_hid
20376 wine_fn_config_makefile dlls/hid/tests enable_tests
20377 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20378 wine_fn_config_makefile dlls/hlink enable_hlink
20379 wine_fn_config_makefile dlls/hlink/tests enable_tests
20380 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20381 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20382 wine_fn_config_makefile dlls/http.sys enable_http_sys
20383 wine_fn_config_makefile dlls/httpapi enable_httpapi
20384 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20385 wine_fn_config_makefile dlls/iccvid enable_iccvid
20386 wine_fn_config_makefile dlls/icmp enable_icmp
20387 wine_fn_config_makefile dlls/ieframe enable_ieframe
20388 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20389 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20390 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20391 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20392 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20393 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20394 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20395 wine_fn_config_makefile dlls/imm32 enable_imm32
20396 wine_fn_config_makefile dlls/imm32/tests enable_tests
20397 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20398 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20399 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20400 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20401 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20402 wine_fn_config_makefile dlls/infosoft enable_infosoft
20403 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20404 wine_fn_config_makefile dlls/initpki enable_initpki
20405 wine_fn_config_makefile dlls/inkobj enable_inkobj
20406 wine_fn_config_makefile dlls/inseng enable_inseng
20407 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20408 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20409 wine_fn_config_makefile dlls/iprop enable_iprop
20410 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20411 wine_fn_config_makefile dlls/itircl enable_itircl
20412 wine_fn_config_makefile dlls/itss enable_itss
20413 wine_fn_config_makefile dlls/itss/tests enable_tests
20414 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20415 wine_fn_config_makefile dlls/jscript enable_jscript
20416 wine_fn_config_makefile dlls/jscript/tests enable_tests
20417 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20418 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20419 wine_fn_config_makefile dlls/kerberos enable_kerberos
20420 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20421 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20422 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20423 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20424 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20425 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20426 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20427 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20428 wine_fn_config_makefile dlls/ksuser enable_ksuser
20429 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20430 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20431 wine_fn_config_makefile dlls/loadperf enable_loadperf
20432 wine_fn_config_makefile dlls/localspl enable_localspl
20433 wine_fn_config_makefile dlls/localspl/tests enable_tests
20434 wine_fn_config_makefile dlls/localui enable_localui
20435 wine_fn_config_makefile dlls/localui/tests enable_tests
20436 wine_fn_config_makefile dlls/lz32 enable_lz32
20437 wine_fn_config_makefile dlls/lz32/tests enable_tests
20438 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20439 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20440 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20441 wine_fn_config_makefile dlls/mapistub enable_mapistub
20442 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20443 wine_fn_config_makefile dlls/mcicda enable_mcicda
20444 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20445 wine_fn_config_makefile dlls/mciseq enable_mciseq
20446 wine_fn_config_makefile dlls/mciwave enable_mciwave
20447 wine_fn_config_makefile dlls/mf enable_mf
20448 wine_fn_config_makefile dlls/mf/tests enable_tests
20449 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20450 wine_fn_config_makefile dlls/mferror enable_mferror
20451 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20452 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20453 wine_fn_config_makefile dlls/mfplat enable_mfplat
20454 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20455 wine_fn_config_makefile dlls/mfplay enable_mfplay
20456 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20457 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20458 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20459 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20460 wine_fn_config_makefile dlls/midimap enable_midimap
20461 wine_fn_config_makefile dlls/mlang enable_mlang
20462 wine_fn_config_makefile dlls/mlang/tests enable_tests
20463 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20464 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20465 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20466 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20467 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20468 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20469 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20470 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20471 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20472 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20473 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20474 wine_fn_config_makefile dlls/mpr enable_mpr
20475 wine_fn_config_makefile dlls/mpr/tests enable_tests
20476 wine_fn_config_makefile dlls/mprapi enable_mprapi
20477 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20478 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20479 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20480 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20481 wine_fn_config_makefile dlls/msado15 enable_msado15
20482 wine_fn_config_makefile dlls/msado15/tests enable_tests
20483 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20484 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20485 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20486 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20487 wine_fn_config_makefile dlls/mscms enable_mscms
20488 wine_fn_config_makefile dlls/mscms/tests enable_tests
20489 wine_fn_config_makefile dlls/mscoree enable_mscoree
20490 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20491 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20492 wine_fn_config_makefile dlls/msctf enable_msctf
20493 wine_fn_config_makefile dlls/msctf/tests enable_tests
20494 wine_fn_config_makefile dlls/msctfp enable_msctfp
20495 wine_fn_config_makefile dlls/msdaps enable_msdaps
20496 wine_fn_config_makefile dlls/msdelta enable_msdelta
20497 wine_fn_config_makefile dlls/msdmo enable_msdmo
20498 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20499 wine_fn_config_makefile dlls/msdrm enable_msdrm
20500 wine_fn_config_makefile dlls/msftedit enable_msftedit
20501 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20502 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20503 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20504 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20505 wine_fn_config_makefile dlls/mshtml enable_mshtml
20506 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20507 wine_fn_config_makefile dlls/msi enable_msi
20508 wine_fn_config_makefile dlls/msi/tests enable_tests
20509 wine_fn_config_makefile dlls/msident enable_msident
20510 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20511 wine_fn_config_makefile dlls/msimsg enable_msimsg
20512 wine_fn_config_makefile dlls/msimtf enable_msimtf
20513 wine_fn_config_makefile dlls/msisip enable_msisip
20514 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20515 wine_fn_config_makefile dlls/msls31 enable_msls31
20516 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20517 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20518 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20519 wine_fn_config_makefile dlls/msports enable_msports
20520 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20521 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20522 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20523 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20524 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20525 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20526 wine_fn_config_makefile dlls/mstask enable_mstask
20527 wine_fn_config_makefile dlls/mstask/tests enable_tests
20528 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20529 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20530 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20531 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20532 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20533 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20534 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20535 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20536 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20537 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20538 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20539 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20540 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20541 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20542 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20543 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20544 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20545 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20546 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20547 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20548 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20549 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20550 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20551 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20552 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20553 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20554 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20555 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20556 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20557 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20558 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20559 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20560 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20561 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20562 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20563 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20564 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20565 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20566 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20567 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20568 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20569 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20570 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20571 wine_fn_config_makefile dlls/mswsock enable_mswsock
20572 wine_fn_config_makefile dlls/msxml enable_msxml
20573 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20574 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20575 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20576 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20577 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20578 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20579 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20580 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20581 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20582 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20583 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20584 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20585 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20586 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20587 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20588 wine_fn_config_makefile dlls/netprofm enable_netprofm
20589 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20590 wine_fn_config_makefile dlls/netutils enable_netutils
20591 wine_fn_config_makefile dlls/newdev enable_newdev
20592 wine_fn_config_makefile dlls/ninput enable_ninput
20593 wine_fn_config_makefile dlls/ninput/tests enable_tests
20594 wine_fn_config_makefile dlls/normaliz enable_normaliz
20595 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20596 wine_fn_config_makefile dlls/npptools enable_npptools
20597 wine_fn_config_makefile dlls/ntdll enable_ntdll
20598 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20599 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20600 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20601 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20602 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20603 wine_fn_config_makefile dlls/ntprint enable_ntprint
20604 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20605 wine_fn_config_makefile dlls/objsel enable_objsel
20606 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20607 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20608 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20609 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20610 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20611 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20612 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20613 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20614 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20615 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20616 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20617 wine_fn_config_makefile dlls/ole32 enable_ole32
20618 wine_fn_config_makefile dlls/ole32/tests enable_tests
20619 wine_fn_config_makefile dlls/oleacc enable_oleacc
20620 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20621 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20622 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20623 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20624 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20625 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20626 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20627 wine_fn_config_makefile dlls/oledlg enable_oledlg
20628 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20629 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20630 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20631 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20632 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20633 wine_fn_config_makefile dlls/opcservices enable_opcservices
20634 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20635 wine_fn_config_makefile dlls/openal32 enable_openal32
20636 wine_fn_config_makefile dlls/opencl enable_opencl
20637 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20638 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20639 wine_fn_config_makefile dlls/packager enable_packager
20640 wine_fn_config_makefile dlls/packager/tests enable_tests
20641 wine_fn_config_makefile dlls/pdh enable_pdh
20642 wine_fn_config_makefile dlls/pdh/tests enable_tests
20643 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20644 wine_fn_config_makefile dlls/pidgen enable_pidgen
20645 wine_fn_config_makefile dlls/powrprof enable_powrprof
20646 wine_fn_config_makefile dlls/printui enable_printui
20647 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20648 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20649 wine_fn_config_makefile dlls/propsys enable_propsys
20650 wine_fn_config_makefile dlls/propsys/tests enable_tests
20651 wine_fn_config_makefile dlls/psapi enable_psapi
20652 wine_fn_config_makefile dlls/psapi/tests enable_tests
20653 wine_fn_config_makefile dlls/pstorec enable_pstorec
20654 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20655 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20656 wine_fn_config_makefile dlls/qasf enable_qasf
20657 wine_fn_config_makefile dlls/qasf/tests enable_tests
20658 wine_fn_config_makefile dlls/qcap enable_qcap
20659 wine_fn_config_makefile dlls/qcap/tests enable_tests
20660 wine_fn_config_makefile dlls/qdvd enable_qdvd
20661 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20662 wine_fn_config_makefile dlls/qedit enable_qedit
20663 wine_fn_config_makefile dlls/qedit/tests enable_tests
20664 wine_fn_config_makefile dlls/qmgr enable_qmgr
20665 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20666 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20667 wine_fn_config_makefile dlls/quartz enable_quartz
20668 wine_fn_config_makefile dlls/quartz/tests enable_tests
20669 wine_fn_config_makefile dlls/query enable_query
20670 wine_fn_config_makefile dlls/qwave enable_qwave
20671 wine_fn_config_makefile dlls/qwave/tests enable_tests
20672 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20673 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20674 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20675 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20676 wine_fn_config_makefile dlls/regapi enable_regapi
20677 wine_fn_config_makefile dlls/resutils enable_resutils
20678 wine_fn_config_makefile dlls/riched20 enable_riched20
20679 wine_fn_config_makefile dlls/riched20/tests enable_tests
20680 wine_fn_config_makefile dlls/riched32 enable_riched32
20681 wine_fn_config_makefile dlls/riched32/tests enable_tests
20682 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20683 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20684 wine_fn_config_makefile dlls/rsabase enable_rsabase
20685 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20686 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20687 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20688 wine_fn_config_makefile dlls/rtutils enable_rtutils
20689 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20690 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20691 wine_fn_config_makefile dlls/samlib enable_samlib
20692 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20693 wine_fn_config_makefile dlls/sapi enable_sapi
20694 wine_fn_config_makefile dlls/sapi/tests enable_tests
20695 wine_fn_config_makefile dlls/sas enable_sas
20696 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20697 wine_fn_config_makefile dlls/sccbase enable_sccbase
20698 wine_fn_config_makefile dlls/schannel enable_schannel
20699 wine_fn_config_makefile dlls/schannel/tests enable_tests
20700 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20701 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20702 wine_fn_config_makefile dlls/scrobj enable_scrobj
20703 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20704 wine_fn_config_makefile dlls/scrrun enable_scrrun
20705 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20706 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20707 wine_fn_config_makefile dlls/sechost enable_sechost
20708 wine_fn_config_makefile dlls/secur32 enable_secur32
20709 wine_fn_config_makefile dlls/secur32/tests enable_tests
20710 wine_fn_config_makefile dlls/security enable_security
20711 wine_fn_config_makefile dlls/sensapi enable_sensapi
20712 wine_fn_config_makefile dlls/serialui enable_serialui
20713 wine_fn_config_makefile dlls/serialui/tests enable_tests
20714 wine_fn_config_makefile dlls/setupapi enable_setupapi
20715 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20716 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20717 wine_fn_config_makefile dlls/sfc enable_sfc
20718 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20719 wine_fn_config_makefile dlls/shcore enable_shcore
20720 wine_fn_config_makefile dlls/shcore/tests enable_tests
20721 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20722 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20723 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20724 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20725 wine_fn_config_makefile dlls/shell32 enable_shell32
20726 wine_fn_config_makefile dlls/shell32/tests enable_tests
20727 wine_fn_config_makefile dlls/shfolder enable_shfolder
20728 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20729 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20730 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20731 wine_fn_config_makefile dlls/slc enable_slc
20732 wine_fn_config_makefile dlls/slc/tests enable_tests
20733 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20734 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20735 wine_fn_config_makefile dlls/softpub enable_softpub
20736 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20737 wine_fn_config_makefile dlls/spoolss enable_spoolss
20738 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20739 wine_fn_config_makefile dlls/srclient enable_srclient
20740 wine_fn_config_makefile dlls/srvcli enable_srvcli
20741 wine_fn_config_makefile dlls/sspicli enable_sspicli
20742 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20743 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20744 wine_fn_config_makefile dlls/sti enable_sti
20745 wine_fn_config_makefile dlls/sti/tests enable_tests
20746 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20747 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20748 wine_fn_config_makefile dlls/strmbase enable_strmbase
20749 wine_fn_config_makefile dlls/strmdll enable_strmdll
20750 wine_fn_config_makefile dlls/strmiids enable_strmiids
20751 wine_fn_config_makefile dlls/svrapi enable_svrapi
20752 wine_fn_config_makefile dlls/sxs enable_sxs
20753 wine_fn_config_makefile dlls/sxs/tests enable_tests
20754 wine_fn_config_makefile dlls/system.drv16 enable_win16
20755 wine_fn_config_makefile dlls/t2embed enable_t2embed
20756 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20757 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20758 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20759 wine_fn_config_makefile dlls/taskschd enable_taskschd
20760 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20761 wine_fn_config_makefile dlls/tdh enable_tdh
20762 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20763 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20764 wine_fn_config_makefile dlls/traffic enable_traffic
20765 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20766 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20767 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20768 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20769 wine_fn_config_makefile dlls/tzres enable_tzres
20770 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20771 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20772 wine_fn_config_makefile dlls/uianimation enable_uianimation
20773 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20774 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20775 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20776 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20777 wine_fn_config_makefile dlls/unicows enable_unicows
20778 wine_fn_config_makefile dlls/updspapi enable_updspapi
20779 wine_fn_config_makefile dlls/url enable_url
20780 wine_fn_config_makefile dlls/urlmon enable_urlmon
20781 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20782 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20783 wine_fn_config_makefile dlls/user.exe16 enable_win16
20784 wine_fn_config_makefile dlls/user32 enable_user32
20785 wine_fn_config_makefile dlls/user32/tests enable_tests
20786 wine_fn_config_makefile dlls/userenv enable_userenv
20787 wine_fn_config_makefile dlls/userenv/tests enable_tests
20788 wine_fn_config_makefile dlls/usp10 enable_usp10
20789 wine_fn_config_makefile dlls/usp10/tests enable_tests
20790 wine_fn_config_makefile dlls/utildll enable_utildll
20791 wine_fn_config_makefile dlls/uuid enable_uuid
20792 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20793 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20794 wine_fn_config_makefile dlls/vbscript enable_vbscript
20795 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20796 wine_fn_config_makefile dlls/vcomp enable_vcomp
20797 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20798 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20799 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20800 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20801 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20802 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20803 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20804 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20805 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20806 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20807 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20808 wine_fn_config_makefile dlls/version enable_version
20809 wine_fn_config_makefile dlls/version/tests enable_tests
20810 wine_fn_config_makefile dlls/vga enable_vga
20811 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20812 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20813 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20814 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20815 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20816 wine_fn_config_makefile dlls/vssapi enable_vssapi
20817 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20818 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20819 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20820 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20821 wine_fn_config_makefile dlls/w32skrnl enable_win16
20822 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20823 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20824 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20825 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20826 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20827 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20828 wine_fn_config_makefile dlls/wdscore enable_wdscore
20829 wine_fn_config_makefile dlls/webservices enable_webservices
20830 wine_fn_config_makefile dlls/webservices/tests enable_tests
20831 wine_fn_config_makefile dlls/wer enable_wer
20832 wine_fn_config_makefile dlls/wer/tests enable_tests
20833 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20834 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
20835 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20836 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20837 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20838 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20839 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20840 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20841 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20842 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20843 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20844 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20845 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20846 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20847 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20848 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20849 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20850 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20851 wine_fn_config_makefile dlls/wined3d enable_wined3d
20852 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20853 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20854 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20855 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20856 wine_fn_config_makefile dlls/winemapi enable_winemapi
20857 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20858 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20859 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20860 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20861 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20862 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
20863 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20864 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20865 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20866 wine_fn_config_makefile dlls/wing32 enable_wing32
20867 wine_fn_config_makefile dlls/winhttp enable_winhttp
20868 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20869 wine_fn_config_makefile dlls/wininet enable_wininet
20870 wine_fn_config_makefile dlls/wininet/tests enable_tests
20871 wine_fn_config_makefile dlls/winmm enable_winmm
20872 wine_fn_config_makefile dlls/winmm/tests enable_tests
20873 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20874 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20875 wine_fn_config_makefile dlls/winscard enable_winscard
20876 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20877 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20878 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20879 wine_fn_config_makefile dlls/winsta enable_winsta
20880 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20881 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20882 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20883 wine_fn_config_makefile dlls/wintrust enable_wintrust
20884 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20885 wine_fn_config_makefile dlls/winusb enable_winusb
20886 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20887 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20888 wine_fn_config_makefile dlls/wlanui enable_wlanui
20889 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20890 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20891 wine_fn_config_makefile dlls/wmasf enable_wmasf
20892 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20893 wine_fn_config_makefile dlls/wmi enable_wmi
20894 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20895 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20896 wine_fn_config_makefile dlls/wmp enable_wmp
20897 wine_fn_config_makefile dlls/wmp/tests enable_tests
20898 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20899 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20900 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20901 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20902 wine_fn_config_makefile dlls/wow32 enable_win16
20903 wine_fn_config_makefile dlls/wpc enable_wpc
20904 wine_fn_config_makefile dlls/wpc/tests enable_tests
20905 wine_fn_config_makefile dlls/wpcap enable_wpcap
20906 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20907 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20908 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20909 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20910 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20911 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20912 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20913 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20914 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20915 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20916 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20917 wine_fn_config_makefile dlls/wuapi enable_wuapi
20918 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20919 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20920 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20921 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20922 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20923 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20924 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20925 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20926 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20927 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
20928 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
20929 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
20930 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
20931 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
20932 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
20933 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
20934 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
20935 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
20936 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20937 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20938 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20939 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20940 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20941 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20942 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20943 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20944 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20945 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20946 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20947 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20948 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20949 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20950 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20951 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20952 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20953 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20954 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20955 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20956 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20957 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20958 wine_fn_config_makefile dlls/xmllite enable_xmllite
20959 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20960 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20961 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20962 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20963 wine_fn_config_makefile fonts enable_fonts
20964 wine_fn_config_makefile include enable_include
20965 wine_fn_config_makefile libs/port enable_port
20966 wine_fn_config_makefile libs/wine enable_wine
20967 wine_fn_config_makefile libs/wpp enable_wpp
20968 wine_fn_config_makefile loader enable_loader
20969 wine_fn_config_makefile nls enable_nls
20970 wine_fn_config_makefile po enable_po
20971 wine_fn_config_makefile programs/arp enable_arp
20972 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20973 wine_fn_config_makefile programs/attrib enable_attrib
20974 wine_fn_config_makefile programs/cabarc enable_cabarc
20975 wine_fn_config_makefile programs/cacls enable_cacls
20976 wine_fn_config_makefile programs/chcp.com enable_chcp_com
20977 wine_fn_config_makefile programs/clock enable_clock
20978 wine_fn_config_makefile programs/cmd enable_cmd
20979 wine_fn_config_makefile programs/cmd/tests enable_tests
20980 wine_fn_config_makefile programs/conhost enable_conhost
20981 wine_fn_config_makefile programs/conhost/tests enable_tests
20982 wine_fn_config_makefile programs/control enable_control
20983 wine_fn_config_makefile programs/cscript enable_cscript
20984 wine_fn_config_makefile programs/dism enable_dism
20985 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
20986 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20987 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
20988 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20989 wine_fn_config_makefile programs/eject enable_eject
20990 wine_fn_config_makefile programs/expand enable_expand
20991 wine_fn_config_makefile programs/explorer enable_explorer
20992 wine_fn_config_makefile programs/extrac32 enable_extrac32
20993 wine_fn_config_makefile programs/fc enable_fc
20994 wine_fn_config_makefile programs/find enable_find
20995 wine_fn_config_makefile programs/find/tests enable_tests
20996 wine_fn_config_makefile programs/findstr enable_findstr
20997 wine_fn_config_makefile programs/fsutil enable_fsutil
20998 wine_fn_config_makefile programs/fsutil/tests enable_tests
20999 wine_fn_config_makefile programs/hh enable_hh
21000 wine_fn_config_makefile programs/hostname enable_hostname
21001 wine_fn_config_makefile programs/icacls enable_icacls
21002 wine_fn_config_makefile programs/icinfo enable_icinfo
21003 wine_fn_config_makefile programs/iexplore enable_iexplore
21004 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21005 wine_fn_config_makefile programs/lodctr enable_lodctr
21006 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21007 wine_fn_config_makefile programs/mshta enable_mshta
21008 wine_fn_config_makefile programs/msidb enable_msidb
21009 wine_fn_config_makefile programs/msiexec enable_msiexec
21010 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21011 wine_fn_config_makefile programs/net enable_net
21012 wine_fn_config_makefile programs/netsh enable_netsh
21013 wine_fn_config_makefile programs/netstat enable_netstat
21014 wine_fn_config_makefile programs/ngen enable_ngen
21015 wine_fn_config_makefile programs/notepad enable_notepad
21016 wine_fn_config_makefile programs/oleview enable_oleview
21017 wine_fn_config_makefile programs/ping enable_ping
21018 wine_fn_config_makefile programs/plugplay enable_plugplay
21019 wine_fn_config_makefile programs/powershell enable_powershell
21020 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21021 wine_fn_config_makefile programs/progman enable_progman
21022 wine_fn_config_makefile programs/reg enable_reg
21023 wine_fn_config_makefile programs/reg/tests enable_tests
21024 wine_fn_config_makefile programs/regasm enable_regasm
21025 wine_fn_config_makefile programs/regedit enable_regedit
21026 wine_fn_config_makefile programs/regedit/tests enable_tests
21027 wine_fn_config_makefile programs/regini enable_regini
21028 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21029 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21030 wine_fn_config_makefile programs/rpcss enable_rpcss
21031 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21032 wine_fn_config_makefile programs/rundll32 enable_rundll32
21033 wine_fn_config_makefile programs/sc enable_sc
21034 wine_fn_config_makefile programs/schtasks enable_schtasks
21035 wine_fn_config_makefile programs/schtasks/tests enable_tests
21036 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21037 wine_fn_config_makefile programs/secedit enable_secedit
21038 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21039 wine_fn_config_makefile programs/services enable_services
21040 wine_fn_config_makefile programs/services/tests enable_tests
21041 wine_fn_config_makefile programs/shutdown enable_shutdown
21042 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21043 wine_fn_config_makefile programs/start enable_start
21044 wine_fn_config_makefile programs/subst enable_subst
21045 wine_fn_config_makefile programs/svchost enable_svchost
21046 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21047 wine_fn_config_makefile programs/taskkill enable_taskkill
21048 wine_fn_config_makefile programs/tasklist enable_tasklist
21049 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21050 wine_fn_config_makefile programs/termsv enable_termsv
21051 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21052 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21053 wine_fn_config_makefile programs/view enable_view
21054 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21055 wine_fn_config_makefile programs/where enable_where
21056 wine_fn_config_makefile programs/whoami enable_whoami
21057 wine_fn_config_makefile programs/wineboot enable_wineboot
21058 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21059 wine_fn_config_makefile programs/winecfg enable_winecfg
21060 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21061 wine_fn_config_makefile programs/winedbg enable_winedbg
21062 wine_fn_config_makefile programs/winedevice enable_winedevice
21063 wine_fn_config_makefile programs/winefile enable_winefile
21064 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21065 wine_fn_config_makefile programs/winemine enable_winemine
21066 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21067 wine_fn_config_makefile programs/winepath enable_winepath
21068 wine_fn_config_makefile programs/winetest enable_winetest
21069 wine_fn_config_makefile programs/winevdm enable_win16
21070 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21071 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21072 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21073 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21074 wine_fn_config_makefile programs/winver enable_winver
21075 wine_fn_config_makefile programs/wmic enable_wmic
21076 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21077 wine_fn_config_makefile programs/wordpad enable_wordpad
21078 wine_fn_config_makefile programs/write enable_write
21079 wine_fn_config_makefile programs/wscript enable_wscript
21080 wine_fn_config_makefile programs/wscript/tests enable_tests
21081 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21082 wine_fn_config_makefile programs/wusa enable_wusa
21083 wine_fn_config_makefile programs/xcopy enable_xcopy
21084 wine_fn_config_makefile programs/xcopy/tests enable_tests
21085 wine_fn_config_makefile server enable_server
21086 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21087 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21088 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21089 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21090 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21091 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21092 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21093 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21094 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21097 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21098 wine_fn_append_file CONFIGURE_TARGETS "tags"
21099 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21100 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21101 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21102 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21103 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21104 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21106 if test "x$enable_tools" != xno
21107 then
21108 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21109 ac_config_commands="$ac_config_commands tools/makedep"
21113 ac_config_commands="$ac_config_commands Makefile"
21116 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21120 if test "x$enable_maintainer_mode" = xyes
21121 then
21122 wine_fn_append_rule "configure: configure.ac aclocal.m4
21123 autoconf --warnings=all
21124 include/config.h.in: include/stamp-h.in
21125 include/stamp-h.in: configure.ac aclocal.m4
21126 autoheader --warnings=all
21127 @echo timestamp > \$@"
21130 if test "x$enable_tools" != xno
21131 then
21132 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21133 @./config.status tools/makedep
21134 Makefile: tools/makedep$ac_exeext"
21135 else
21136 wine_fn_append_rule "\$(MAKEDEP):
21137 @echo \"You need to run make in $TOOLSDIR first\" && false"
21140 if test -n "$with_wine64"
21141 then
21142 case "$with_wine64" in
21143 /*) reldir="" ;;
21144 *) reldir="../" ;;
21145 esac
21146 rm -f fonts server 2>/dev/null
21147 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21148 loader/wine64 loader/wine64-preloader:
21149 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21150 $with_wine64/loader/wine:
21151 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21152 $with_wine64/loader/wine-preloader:
21153 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21154 clean::
21155 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21156 else
21157 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21158 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21159 fonts \
21160 loader/wine.inf \
21161 loader/winebus.inf \
21162 loader/winehid.inf \
21163 loader/wineusb.inf \
21164 nls \
21165 programs/msidb/msidb \
21166 programs/msiexec/msiexec \
21167 programs/notepad/notepad \
21168 programs/regedit/regedit \
21169 programs/regsvr32/regsvr32 \
21170 programs/wineboot/wineboot \
21171 programs/winecfg/winecfg \
21172 programs/wineconsole/wineconsole \
21173 programs/winedbg/winedbg \
21174 programs/winefile/winefile \
21175 programs/winemine/winemine \
21176 programs/winepath/winepath \
21177 server/wineserver"
21179 case $host_os in
21180 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21181 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21182 esac
21185 $as_echo " done" >&6
21186 cat >confcache <<\_ACEOF
21187 # This file is a shell script that caches the results of configure
21188 # tests run on this system so they can be shared between configure
21189 # scripts and configure runs, see configure's option --config-cache.
21190 # It is not useful on other systems. If it contains results you don't
21191 # want to keep, you may remove or edit it.
21193 # config.status only pays attention to the cache file if you give it
21194 # the --recheck option to rerun configure.
21196 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21197 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21198 # following values.
21200 _ACEOF
21202 # The following way of writing the cache mishandles newlines in values,
21203 # but we know of no workaround that is simple, portable, and efficient.
21204 # So, we kill variables containing newlines.
21205 # Ultrix sh set writes to stderr and can't be redirected directly,
21206 # and sets the high bit in the cache file unless we assign to the vars.
21208 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21209 eval ac_val=\$$ac_var
21210 case $ac_val in #(
21211 *${as_nl}*)
21212 case $ac_var in #(
21213 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21214 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21215 esac
21216 case $ac_var in #(
21217 _ | IFS | as_nl) ;; #(
21218 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21219 *) { eval $ac_var=; unset $ac_var;} ;;
21220 esac ;;
21221 esac
21222 done
21224 (set) 2>&1 |
21225 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21226 *${as_nl}ac_space=\ *)
21227 # `set' does not quote correctly, so add quotes: double-quote
21228 # substitution turns \\\\ into \\, and sed turns \\ into \.
21229 sed -n \
21230 "s/'/'\\\\''/g;
21231 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21232 ;; #(
21234 # `set' quotes correctly as required by POSIX, so do not add quotes.
21235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21237 esac |
21238 sort
21240 sed '
21241 /^ac_cv_env_/b end
21242 t clear
21243 :clear
21244 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21245 t end
21246 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21247 :end' >>confcache
21248 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21249 if test -w "$cache_file"; then
21250 if test "x$cache_file" != "x/dev/null"; then
21251 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21252 $as_echo "$as_me: updating cache $cache_file" >&6;}
21253 if test ! -f "$cache_file" || test -h "$cache_file"; then
21254 cat confcache >"$cache_file"
21255 else
21256 case $cache_file in #(
21257 */* | ?:*)
21258 mv -f confcache "$cache_file"$$ &&
21259 mv -f "$cache_file"$$ "$cache_file" ;; #(
21261 mv -f confcache "$cache_file" ;;
21262 esac
21265 else
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21267 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21270 rm -f confcache
21272 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21273 # Let make expand exec_prefix.
21274 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21276 DEFS=-DHAVE_CONFIG_H
21278 ac_libobjs=
21279 ac_ltlibobjs=
21281 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21282 # 1. Remove the extension, and $U if already installed.
21283 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21284 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21285 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21286 # will be set to the directory where LIBOBJS objects are built.
21287 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21288 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21289 done
21290 LIBOBJS=$ac_libobjs
21292 LTLIBOBJS=$ac_ltlibobjs
21296 : "${CONFIG_STATUS=./config.status}"
21297 ac_write_fail=0
21298 ac_clean_files_save=$ac_clean_files
21299 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21301 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21302 as_write_fail=0
21303 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21304 #! $SHELL
21305 # Generated by $as_me.
21306 # Run this file to recreate the current configuration.
21307 # Compiler output produced by configure, useful for debugging
21308 # configure, is in config.log if it exists.
21310 debug=false
21311 ac_cs_recheck=false
21312 ac_cs_silent=false
21314 SHELL=\${CONFIG_SHELL-$SHELL}
21315 export SHELL
21316 _ASEOF
21317 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21318 ## -------------------- ##
21319 ## M4sh Initialization. ##
21320 ## -------------------- ##
21322 # Be more Bourne compatible
21323 DUALCASE=1; export DUALCASE # for MKS sh
21324 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21325 emulate sh
21326 NULLCMD=:
21327 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21328 # is contrary to our usage. Disable this feature.
21329 alias -g '${1+"$@"}'='"$@"'
21330 setopt NO_GLOB_SUBST
21331 else
21332 case `(set -o) 2>/dev/null` in #(
21333 *posix*) :
21334 set -o posix ;; #(
21335 *) :
21337 esac
21341 as_nl='
21343 export as_nl
21344 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21345 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21346 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21347 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21348 # Prefer a ksh shell builtin over an external printf program on Solaris,
21349 # but without wasting forks for bash or zsh.
21350 if test -z "$BASH_VERSION$ZSH_VERSION" \
21351 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21352 as_echo='print -r --'
21353 as_echo_n='print -rn --'
21354 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21355 as_echo='printf %s\n'
21356 as_echo_n='printf %s'
21357 else
21358 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21359 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21360 as_echo_n='/usr/ucb/echo -n'
21361 else
21362 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21363 as_echo_n_body='eval
21364 arg=$1;
21365 case $arg in #(
21366 *"$as_nl"*)
21367 expr "X$arg" : "X\\(.*\\)$as_nl";
21368 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21369 esac;
21370 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21372 export as_echo_n_body
21373 as_echo_n='sh -c $as_echo_n_body as_echo'
21375 export as_echo_body
21376 as_echo='sh -c $as_echo_body as_echo'
21379 # The user is always right.
21380 if test "${PATH_SEPARATOR+set}" != set; then
21381 PATH_SEPARATOR=:
21382 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21383 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21384 PATH_SEPARATOR=';'
21389 # IFS
21390 # We need space, tab and new line, in precisely that order. Quoting is
21391 # there to prevent editors from complaining about space-tab.
21392 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21393 # splitting by setting IFS to empty value.)
21394 IFS=" "" $as_nl"
21396 # Find who we are. Look in the path if we contain no directory separator.
21397 as_myself=
21398 case $0 in #((
21399 *[\\/]* ) as_myself=$0 ;;
21400 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21401 for as_dir in $PATH
21403 IFS=$as_save_IFS
21404 test -z "$as_dir" && as_dir=.
21405 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21406 done
21407 IFS=$as_save_IFS
21410 esac
21411 # We did not find ourselves, most probably we were run as `sh COMMAND'
21412 # in which case we are not to be found in the path.
21413 if test "x$as_myself" = x; then
21414 as_myself=$0
21416 if test ! -f "$as_myself"; then
21417 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21418 exit 1
21421 # Unset variables that we do not need and which cause bugs (e.g. in
21422 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21423 # suppresses any "Segmentation fault" message there. '((' could
21424 # trigger a bug in pdksh 5.2.14.
21425 for as_var in BASH_ENV ENV MAIL MAILPATH
21426 do eval test x\${$as_var+set} = xset \
21427 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21428 done
21429 PS1='$ '
21430 PS2='> '
21431 PS4='+ '
21433 # NLS nuisances.
21434 LC_ALL=C
21435 export LC_ALL
21436 LANGUAGE=C
21437 export LANGUAGE
21439 # CDPATH.
21440 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21443 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21444 # ----------------------------------------
21445 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21446 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21447 # script with STATUS, using 1 if that was 0.
21448 as_fn_error ()
21450 as_status=$1; test $as_status -eq 0 && as_status=1
21451 if test "$4"; then
21452 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21453 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21455 $as_echo "$as_me: error: $2" >&2
21456 as_fn_exit $as_status
21457 } # as_fn_error
21460 # as_fn_set_status STATUS
21461 # -----------------------
21462 # Set $? to STATUS, without forking.
21463 as_fn_set_status ()
21465 return $1
21466 } # as_fn_set_status
21468 # as_fn_exit STATUS
21469 # -----------------
21470 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21471 as_fn_exit ()
21473 set +e
21474 as_fn_set_status $1
21475 exit $1
21476 } # as_fn_exit
21478 # as_fn_unset VAR
21479 # ---------------
21480 # Portably unset VAR.
21481 as_fn_unset ()
21483 { eval $1=; unset $1;}
21485 as_unset=as_fn_unset
21486 # as_fn_append VAR VALUE
21487 # ----------------------
21488 # Append the text in VALUE to the end of the definition contained in VAR. Take
21489 # advantage of any shell optimizations that allow amortized linear growth over
21490 # repeated appends, instead of the typical quadratic growth present in naive
21491 # implementations.
21492 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21493 eval 'as_fn_append ()
21495 eval $1+=\$2
21497 else
21498 as_fn_append ()
21500 eval $1=\$$1\$2
21502 fi # as_fn_append
21504 # as_fn_arith ARG...
21505 # ------------------
21506 # Perform arithmetic evaluation on the ARGs, and store the result in the
21507 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21508 # must be portable across $(()) and expr.
21509 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21510 eval 'as_fn_arith ()
21512 as_val=$(( $* ))
21514 else
21515 as_fn_arith ()
21517 as_val=`expr "$@" || test $? -eq 1`
21519 fi # as_fn_arith
21522 if expr a : '\(a\)' >/dev/null 2>&1 &&
21523 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21524 as_expr=expr
21525 else
21526 as_expr=false
21529 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21530 as_basename=basename
21531 else
21532 as_basename=false
21535 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21536 as_dirname=dirname
21537 else
21538 as_dirname=false
21541 as_me=`$as_basename -- "$0" ||
21542 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21543 X"$0" : 'X\(//\)$' \| \
21544 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21545 $as_echo X/"$0" |
21546 sed '/^.*\/\([^/][^/]*\)\/*$/{
21547 s//\1/
21550 /^X\/\(\/\/\)$/{
21551 s//\1/
21554 /^X\/\(\/\).*/{
21555 s//\1/
21558 s/.*/./; q'`
21560 # Avoid depending upon Character Ranges.
21561 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21562 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21563 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21564 as_cr_digits='0123456789'
21565 as_cr_alnum=$as_cr_Letters$as_cr_digits
21567 ECHO_C= ECHO_N= ECHO_T=
21568 case `echo -n x` in #(((((
21569 -n*)
21570 case `echo 'xy\c'` in
21571 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21572 xy) ECHO_C='\c';;
21573 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21574 ECHO_T=' ';;
21575 esac;;
21577 ECHO_N='-n';;
21578 esac
21580 rm -f conf$$ conf$$.exe conf$$.file
21581 if test -d conf$$.dir; then
21582 rm -f conf$$.dir/conf$$.file
21583 else
21584 rm -f conf$$.dir
21585 mkdir conf$$.dir 2>/dev/null
21587 if (echo >conf$$.file) 2>/dev/null; then
21588 if ln -s conf$$.file conf$$ 2>/dev/null; then
21589 as_ln_s='ln -s'
21590 # ... but there are two gotchas:
21591 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21592 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21593 # In both cases, we have to default to `cp -pR'.
21594 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21595 as_ln_s='cp -pR'
21596 elif ln conf$$.file conf$$ 2>/dev/null; then
21597 as_ln_s=ln
21598 else
21599 as_ln_s='cp -pR'
21601 else
21602 as_ln_s='cp -pR'
21604 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21605 rmdir conf$$.dir 2>/dev/null
21608 # as_fn_mkdir_p
21609 # -------------
21610 # Create "$as_dir" as a directory, including parents if necessary.
21611 as_fn_mkdir_p ()
21614 case $as_dir in #(
21615 -*) as_dir=./$as_dir;;
21616 esac
21617 test -d "$as_dir" || eval $as_mkdir_p || {
21618 as_dirs=
21619 while :; do
21620 case $as_dir in #(
21621 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21622 *) as_qdir=$as_dir;;
21623 esac
21624 as_dirs="'$as_qdir' $as_dirs"
21625 as_dir=`$as_dirname -- "$as_dir" ||
21626 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21627 X"$as_dir" : 'X\(//\)[^/]' \| \
21628 X"$as_dir" : 'X\(//\)$' \| \
21629 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21630 $as_echo X"$as_dir" |
21631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21632 s//\1/
21635 /^X\(\/\/\)[^/].*/{
21636 s//\1/
21639 /^X\(\/\/\)$/{
21640 s//\1/
21643 /^X\(\/\).*/{
21644 s//\1/
21647 s/.*/./; q'`
21648 test -d "$as_dir" && break
21649 done
21650 test -z "$as_dirs" || eval "mkdir $as_dirs"
21651 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21654 } # as_fn_mkdir_p
21655 if mkdir -p . 2>/dev/null; then
21656 as_mkdir_p='mkdir -p "$as_dir"'
21657 else
21658 test -d ./-p && rmdir ./-p
21659 as_mkdir_p=false
21663 # as_fn_executable_p FILE
21664 # -----------------------
21665 # Test if FILE is an executable regular file.
21666 as_fn_executable_p ()
21668 test -f "$1" && test -x "$1"
21669 } # as_fn_executable_p
21670 as_test_x='test -x'
21671 as_executable_p=as_fn_executable_p
21673 # Sed expression to map a string onto a valid CPP name.
21674 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21676 # Sed expression to map a string onto a valid variable name.
21677 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21680 exec 6>&1
21681 ## ----------------------------------- ##
21682 ## Main body of $CONFIG_STATUS script. ##
21683 ## ----------------------------------- ##
21684 _ASEOF
21685 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21688 # Save the log message, to keep $0 and so on meaningful, and to
21689 # report actual input values of CONFIG_FILES etc. instead of their
21690 # values after options handling.
21691 ac_log="
21692 This file was extended by Wine $as_me 5.22, which was
21693 generated by GNU Autoconf 2.69. Invocation command line was
21695 CONFIG_FILES = $CONFIG_FILES
21696 CONFIG_HEADERS = $CONFIG_HEADERS
21697 CONFIG_LINKS = $CONFIG_LINKS
21698 CONFIG_COMMANDS = $CONFIG_COMMANDS
21699 $ $0 $@
21701 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21704 _ACEOF
21706 case $ac_config_files in *"
21707 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21708 esac
21710 case $ac_config_headers in *"
21711 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21712 esac
21715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21716 # Files that config.status was made for.
21717 config_files="$ac_config_files"
21718 config_headers="$ac_config_headers"
21719 config_links="$ac_config_links"
21720 config_commands="$ac_config_commands"
21722 _ACEOF
21724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21725 ac_cs_usage="\
21726 \`$as_me' instantiates files and other configuration actions
21727 from templates according to the current configuration. Unless the files
21728 and actions are specified as TAGs, all are instantiated by default.
21730 Usage: $0 [OPTION]... [TAG]...
21732 -h, --help print this help, then exit
21733 -V, --version print version number and configuration settings, then exit
21734 --config print configuration, then exit
21735 -q, --quiet, --silent
21736 do not print progress messages
21737 -d, --debug don't remove temporary files
21738 --recheck update $as_me by reconfiguring in the same conditions
21739 --file=FILE[:TEMPLATE]
21740 instantiate the configuration file FILE
21741 --header=FILE[:TEMPLATE]
21742 instantiate the configuration header FILE
21744 Configuration files:
21745 $config_files
21747 Configuration headers:
21748 $config_headers
21750 Configuration links:
21751 $config_links
21753 Configuration commands:
21754 $config_commands
21756 Report bugs to <wine-devel@winehq.org>.
21757 Wine home page: <https://www.winehq.org>."
21759 _ACEOF
21760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21761 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21762 ac_cs_version="\\
21763 Wine config.status 5.22
21764 configured by $0, generated by GNU Autoconf 2.69,
21765 with options \\"\$ac_cs_config\\"
21767 Copyright (C) 2012 Free Software Foundation, Inc.
21768 This config.status script is free software; the Free Software Foundation
21769 gives unlimited permission to copy, distribute and modify it."
21771 ac_pwd='$ac_pwd'
21772 srcdir='$srcdir'
21773 test -n "\$AWK" || AWK=awk
21774 _ACEOF
21776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21777 # The default lists apply if the user does not specify any file.
21778 ac_need_defaults=:
21779 while test $# != 0
21781 case $1 in
21782 --*=?*)
21783 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21784 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21785 ac_shift=:
21787 --*=)
21788 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21789 ac_optarg=
21790 ac_shift=:
21793 ac_option=$1
21794 ac_optarg=$2
21795 ac_shift=shift
21797 esac
21799 case $ac_option in
21800 # Handling of the options.
21801 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21802 ac_cs_recheck=: ;;
21803 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21804 $as_echo "$ac_cs_version"; exit ;;
21805 --config | --confi | --conf | --con | --co | --c )
21806 $as_echo "$ac_cs_config"; exit ;;
21807 --debug | --debu | --deb | --de | --d | -d )
21808 debug=: ;;
21809 --file | --fil | --fi | --f )
21810 $ac_shift
21811 case $ac_optarg in
21812 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21813 '') as_fn_error $? "missing file argument" ;;
21814 esac
21815 as_fn_append CONFIG_FILES " '$ac_optarg'"
21816 ac_need_defaults=false;;
21817 --header | --heade | --head | --hea )
21818 $ac_shift
21819 case $ac_optarg in
21820 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21821 esac
21822 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21823 ac_need_defaults=false;;
21824 --he | --h)
21825 # Conflict between --help and --header
21826 as_fn_error $? "ambiguous option: \`$1'
21827 Try \`$0 --help' for more information.";;
21828 --help | --hel | -h )
21829 $as_echo "$ac_cs_usage"; exit ;;
21830 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21831 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21832 ac_cs_silent=: ;;
21834 # This is an error.
21835 -*) as_fn_error $? "unrecognized option: \`$1'
21836 Try \`$0 --help' for more information." ;;
21838 *) as_fn_append ac_config_targets " $1"
21839 ac_need_defaults=false ;;
21841 esac
21842 shift
21843 done
21845 ac_configure_extra_args=
21847 if $ac_cs_silent; then
21848 exec 6>/dev/null
21849 ac_configure_extra_args="$ac_configure_extra_args --silent"
21852 _ACEOF
21853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21854 if \$ac_cs_recheck; then
21855 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21856 shift
21857 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21858 CONFIG_SHELL='$SHELL'
21859 export CONFIG_SHELL
21860 exec "\$@"
21863 _ACEOF
21864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21865 exec 5>>config.log
21867 echo
21868 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21869 ## Running $as_me. ##
21870 _ASBOX
21871 $as_echo "$ac_log"
21872 } >&5
21874 _ACEOF
21875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21877 # INIT-COMMANDS
21879 wine_fn_output_makedep ()
21881 as_dir=tools; as_fn_mkdir_p
21882 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21884 wine_fn_output_makefile ()
21886 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21887 `cat $wine_rules_file`
21888 _WINE_EOF
21889 as_fn_error $? "could not create Makefile" "$LINENO" 5
21892 _ACEOF
21894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21896 # Handling of arguments.
21897 for ac_config_target in $ac_config_targets
21899 case $ac_config_target in
21900 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21901 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21902 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21903 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21904 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21905 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21906 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21908 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21909 esac
21910 done
21913 # If the user did not use the arguments to specify the items to instantiate,
21914 # then the envvar interface is used. Set only those that are not.
21915 # We use the long form for the default assignment because of an extremely
21916 # bizarre bug on SunOS 4.1.3.
21917 if $ac_need_defaults; then
21918 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21919 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21920 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21921 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21924 # Have a temporary directory for convenience. Make it in the build tree
21925 # simply because there is no reason against having it here, and in addition,
21926 # creating and moving files from /tmp can sometimes cause problems.
21927 # Hook for its removal unless debugging.
21928 # Note that there is a small window in which the directory will not be cleaned:
21929 # after its creation but before its name has been assigned to `$tmp'.
21930 $debug ||
21932 tmp= ac_tmp=
21933 trap 'exit_status=$?
21934 : "${ac_tmp:=$tmp}"
21935 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21937 trap 'as_fn_exit 1' 1 2 13 15
21939 # Create a (secure) tmp directory for tmp files.
21942 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21943 test -d "$tmp"
21944 } ||
21946 tmp=./conf$$-$RANDOM
21947 (umask 077 && mkdir "$tmp")
21948 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21949 ac_tmp=$tmp
21951 # Set up the scripts for CONFIG_FILES section.
21952 # No need to generate them if there are no CONFIG_FILES.
21953 # This happens for instance with `./config.status config.h'.
21954 if test -n "$CONFIG_FILES"; then
21957 ac_cr=`echo X | tr X '\015'`
21958 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21959 # But we know of no other shell where ac_cr would be empty at this
21960 # point, so we can use a bashism as a fallback.
21961 if test "x$ac_cr" = x; then
21962 eval ac_cr=\$\'\\r\'
21964 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21965 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21966 ac_cs_awk_cr='\\r'
21967 else
21968 ac_cs_awk_cr=$ac_cr
21971 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21972 _ACEOF
21976 echo "cat >conf$$subs.awk <<_ACEOF" &&
21977 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21978 echo "_ACEOF"
21979 } >conf$$subs.sh ||
21980 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21981 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21982 ac_delim='%!_!# '
21983 for ac_last_try in false false false false false :; do
21984 . ./conf$$subs.sh ||
21985 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21987 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21988 if test $ac_delim_n = $ac_delim_num; then
21989 break
21990 elif $ac_last_try; then
21991 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21992 else
21993 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21995 done
21996 rm -f conf$$subs.sh
21998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21999 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22000 _ACEOF
22001 sed -n '
22003 s/^/S["/; s/!.*/"]=/
22006 s/^[^!]*!//
22007 :repl
22008 t repl
22009 s/'"$ac_delim"'$//
22010 t delim
22013 s/\(.\{148\}\)..*/\1/
22014 t more1
22015 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22018 b repl
22019 :more1
22020 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22023 s/.\{148\}//
22024 t nl
22025 :delim
22027 s/\(.\{148\}\)..*/\1/
22028 t more2
22029 s/["\\]/\\&/g; s/^/"/; s/$/"/
22032 :more2
22033 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22036 s/.\{148\}//
22037 t delim
22038 ' <conf$$subs.awk | sed '
22039 /^[^""]/{
22041 s/\n//
22043 ' >>$CONFIG_STATUS || ac_write_fail=1
22044 rm -f conf$$subs.awk
22045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22046 _ACAWK
22047 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22048 for (key in S) S_is_set[key] = 1
22049 FS = "\a"
22053 line = $ 0
22054 nfields = split(line, field, "@")
22055 substed = 0
22056 len = length(field[1])
22057 for (i = 2; i < nfields; i++) {
22058 key = field[i]
22059 keylen = length(key)
22060 if (S_is_set[key]) {
22061 value = S[key]
22062 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22063 len += length(value) + length(field[++i])
22064 substed = 1
22065 } else
22066 len += 1 + keylen
22069 print line
22072 _ACAWK
22073 _ACEOF
22074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22075 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22076 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22077 else
22079 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22080 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22081 _ACEOF
22083 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22084 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22085 # trailing colons and then remove the whole line if VPATH becomes empty
22086 # (actually we leave an empty line to preserve line numbers).
22087 if test "x$srcdir" = x.; then
22088 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22090 s///
22091 s/^/:/
22092 s/[ ]*$/:/
22093 s/:\$(srcdir):/:/g
22094 s/:\${srcdir}:/:/g
22095 s/:@srcdir@:/:/g
22096 s/^:*//
22097 s/:*$//
22099 s/\(=[ ]*\).*/\1/
22101 s/\n//
22102 s/^[^=]*=[ ]*$//
22106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22107 fi # test -n "$CONFIG_FILES"
22109 # Set up the scripts for CONFIG_HEADERS section.
22110 # No need to generate them if there are no CONFIG_HEADERS.
22111 # This happens for instance with `./config.status Makefile'.
22112 if test -n "$CONFIG_HEADERS"; then
22113 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22114 BEGIN {
22115 _ACEOF
22117 # Transform confdefs.h into an awk script `defines.awk', embedded as
22118 # here-document in config.status, that substitutes the proper values into
22119 # config.h.in to produce config.h.
22121 # Create a delimiter string that does not exist in confdefs.h, to ease
22122 # handling of long lines.
22123 ac_delim='%!_!# '
22124 for ac_last_try in false false :; do
22125 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22126 if test -z "$ac_tt"; then
22127 break
22128 elif $ac_last_try; then
22129 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22130 else
22131 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22133 done
22135 # For the awk script, D is an array of macro values keyed by name,
22136 # likewise P contains macro parameters if any. Preserve backslash
22137 # newline sequences.
22139 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22140 sed -n '
22141 s/.\{148\}/&'"$ac_delim"'/g
22142 t rset
22143 :rset
22144 s/^[ ]*#[ ]*define[ ][ ]*/ /
22145 t def
22147 :def
22148 s/\\$//
22149 t bsnl
22150 s/["\\]/\\&/g
22151 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22152 D["\1"]=" \3"/p
22153 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22155 :bsnl
22156 s/["\\]/\\&/g
22157 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22158 D["\1"]=" \3\\\\\\n"\\/p
22159 t cont
22160 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22161 t cont
22163 :cont
22165 s/.\{148\}/&'"$ac_delim"'/g
22166 t clear
22167 :clear
22168 s/\\$//
22169 t bsnlc
22170 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22172 :bsnlc
22173 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22174 b cont
22175 ' <confdefs.h | sed '
22176 s/'"$ac_delim"'/"\\\
22177 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22180 for (key in D) D_is_set[key] = 1
22181 FS = "\a"
22183 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22184 line = \$ 0
22185 split(line, arg, " ")
22186 if (arg[1] == "#") {
22187 defundef = arg[2]
22188 mac1 = arg[3]
22189 } else {
22190 defundef = substr(arg[1], 2)
22191 mac1 = arg[2]
22193 split(mac1, mac2, "(") #)
22194 macro = mac2[1]
22195 prefix = substr(line, 1, index(line, defundef) - 1)
22196 if (D_is_set[macro]) {
22197 # Preserve the white space surrounding the "#".
22198 print prefix "define", macro P[macro] D[macro]
22199 next
22200 } else {
22201 # Replace #undef with comments. This is necessary, for example,
22202 # in the case of _POSIX_SOURCE, which is predefined and required
22203 # on some systems where configure will not decide to define it.
22204 if (defundef == "undef") {
22205 print "/*", prefix defundef, macro, "*/"
22206 next
22210 { print }
22211 _ACAWK
22212 _ACEOF
22213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22214 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22215 fi # test -n "$CONFIG_HEADERS"
22218 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22219 shift
22220 for ac_tag
22222 case $ac_tag in
22223 :[FHLC]) ac_mode=$ac_tag; continue;;
22224 esac
22225 case $ac_mode$ac_tag in
22226 :[FHL]*:*);;
22227 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22228 :[FH]-) ac_tag=-:-;;
22229 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22230 esac
22231 ac_save_IFS=$IFS
22232 IFS=:
22233 set x $ac_tag
22234 IFS=$ac_save_IFS
22235 shift
22236 ac_file=$1
22237 shift
22239 case $ac_mode in
22240 :L) ac_source=$1;;
22241 :[FH])
22242 ac_file_inputs=
22243 for ac_f
22245 case $ac_f in
22246 -) ac_f="$ac_tmp/stdin";;
22247 *) # Look for the file first in the build tree, then in the source tree
22248 # (if the path is not absolute). The absolute path cannot be DOS-style,
22249 # because $ac_f cannot contain `:'.
22250 test -f "$ac_f" ||
22251 case $ac_f in
22252 [\\/$]*) false;;
22253 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22254 esac ||
22255 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22256 esac
22257 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22258 as_fn_append ac_file_inputs " '$ac_f'"
22259 done
22261 # Let's still pretend it is `configure' which instantiates (i.e., don't
22262 # use $as_me), people would be surprised to read:
22263 # /* config.h. Generated by config.status. */
22264 configure_input='Generated from '`
22265 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22266 `' by configure.'
22267 if test x"$ac_file" != x-; then
22268 configure_input="$ac_file. $configure_input"
22269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22270 $as_echo "$as_me: creating $ac_file" >&6;}
22272 # Neutralize special characters interpreted by sed in replacement strings.
22273 case $configure_input in #(
22274 *\&* | *\|* | *\\* )
22275 ac_sed_conf_input=`$as_echo "$configure_input" |
22276 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22277 *) ac_sed_conf_input=$configure_input;;
22278 esac
22280 case $ac_tag in
22281 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22282 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22283 esac
22285 esac
22287 ac_dir=`$as_dirname -- "$ac_file" ||
22288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22289 X"$ac_file" : 'X\(//\)[^/]' \| \
22290 X"$ac_file" : 'X\(//\)$' \| \
22291 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22292 $as_echo X"$ac_file" |
22293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22294 s//\1/
22297 /^X\(\/\/\)[^/].*/{
22298 s//\1/
22301 /^X\(\/\/\)$/{
22302 s//\1/
22305 /^X\(\/\).*/{
22306 s//\1/
22309 s/.*/./; q'`
22310 as_dir="$ac_dir"; as_fn_mkdir_p
22311 ac_builddir=.
22313 case "$ac_dir" in
22314 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22316 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22317 # A ".." for each directory in $ac_dir_suffix.
22318 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22319 case $ac_top_builddir_sub in
22320 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22321 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22322 esac ;;
22323 esac
22324 ac_abs_top_builddir=$ac_pwd
22325 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22326 # for backward compatibility:
22327 ac_top_builddir=$ac_top_build_prefix
22329 case $srcdir in
22330 .) # We are building in place.
22331 ac_srcdir=.
22332 ac_top_srcdir=$ac_top_builddir_sub
22333 ac_abs_top_srcdir=$ac_pwd ;;
22334 [\\/]* | ?:[\\/]* ) # Absolute name.
22335 ac_srcdir=$srcdir$ac_dir_suffix;
22336 ac_top_srcdir=$srcdir
22337 ac_abs_top_srcdir=$srcdir ;;
22338 *) # Relative name.
22339 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22340 ac_top_srcdir=$ac_top_build_prefix$srcdir
22341 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22342 esac
22343 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22346 case $ac_mode in
22349 # CONFIG_FILE
22352 _ACEOF
22354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22355 # If the template does not know about datarootdir, expand it.
22356 # FIXME: This hack should be removed a few years after 2.60.
22357 ac_datarootdir_hack=; ac_datarootdir_seen=
22358 ac_sed_dataroot='
22359 /datarootdir/ {
22363 /@datadir@/p
22364 /@docdir@/p
22365 /@infodir@/p
22366 /@localedir@/p
22367 /@mandir@/p'
22368 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22369 *datarootdir*) ac_datarootdir_seen=yes;;
22370 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22372 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22373 _ACEOF
22374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22375 ac_datarootdir_hack='
22376 s&@datadir@&$datadir&g
22377 s&@docdir@&$docdir&g
22378 s&@infodir@&$infodir&g
22379 s&@localedir@&$localedir&g
22380 s&@mandir@&$mandir&g
22381 s&\\\${datarootdir}&$datarootdir&g' ;;
22382 esac
22383 _ACEOF
22385 # Neutralize VPATH when `$srcdir' = `.'.
22386 # Shell code in configure.ac might set extrasub.
22387 # FIXME: do we really want to maintain this feature?
22388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22389 ac_sed_extra="$ac_vpsub
22390 $extrasub
22391 _ACEOF
22392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22394 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22395 s|@configure_input@|$ac_sed_conf_input|;t t
22396 s&@top_builddir@&$ac_top_builddir_sub&;t t
22397 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22398 s&@srcdir@&$ac_srcdir&;t t
22399 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22400 s&@top_srcdir@&$ac_top_srcdir&;t t
22401 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22402 s&@builddir@&$ac_builddir&;t t
22403 s&@abs_builddir@&$ac_abs_builddir&;t t
22404 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22405 $ac_datarootdir_hack
22407 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22408 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22410 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22411 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22412 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22413 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22415 which seems to be undefined. Please make sure it is defined" >&5
22416 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22417 which seems to be undefined. Please make sure it is defined" >&2;}
22419 rm -f "$ac_tmp/stdin"
22420 case $ac_file in
22421 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22422 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22423 esac \
22424 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22428 # CONFIG_HEADER
22430 if test x"$ac_file" != x-; then
22432 $as_echo "/* $configure_input */" \
22433 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22434 } >"$ac_tmp/config.h" \
22435 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22436 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22438 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22439 else
22440 rm -f "$ac_file"
22441 mv "$ac_tmp/config.h" "$ac_file" \
22442 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22444 else
22445 $as_echo "/* $configure_input */" \
22446 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22447 || as_fn_error $? "could not create -" "$LINENO" 5
22452 # CONFIG_LINK
22455 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22457 else
22458 # Prefer the file from the source tree if names are identical.
22459 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22460 ac_source=$srcdir/$ac_source
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22464 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22466 if test ! -r "$ac_source"; then
22467 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22469 rm -f "$ac_file"
22471 # Try a relative symlink, then a hard link, then a copy.
22472 case $ac_source in
22473 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22474 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22475 esac
22476 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22477 ln "$ac_source" "$ac_file" 2>/dev/null ||
22478 cp -p "$ac_source" "$ac_file" ||
22479 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22482 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22483 $as_echo "$as_me: executing $ac_file commands" >&6;}
22485 esac
22488 case $ac_file$ac_mode in
22489 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22490 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22491 "Makefile":C) wine_fn_output_makefile Makefile ;;
22493 esac
22494 done # for ac_tag
22497 as_fn_exit 0
22498 _ACEOF
22499 ac_clean_files=$ac_clean_files_save
22501 test $ac_write_fail = 0 ||
22502 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22505 # configure is writing to config.log, and then calls config.status.
22506 # config.status does its own redirection, appending to config.log.
22507 # Unfortunately, on DOS this fails, as config.log is still kept open
22508 # by configure, so config.status won't be able to write to it; its
22509 # output is simply discarded. So we exec the FD to /dev/null,
22510 # effectively closing config.log, so it can be properly (re)opened and
22511 # appended to by config.status. When coming back to configure, we
22512 # need to make the FD available again.
22513 if test "$no_create" != yes; then
22514 ac_cs_success=:
22515 ac_config_status_args=
22516 test "$silent" = yes &&
22517 ac_config_status_args="$ac_config_status_args --quiet"
22518 exec 5>/dev/null
22519 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22520 exec 5>>config.log
22521 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22522 # would make configure fail if this is the last instruction.
22523 $ac_cs_success || as_fn_exit 1
22525 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22527 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22531 if test "$no_create" = "yes"
22532 then
22533 exit 0
22536 ac_save_IFS="$IFS"
22537 if test "x$wine_notices" != x; then
22538 echo >&6
22539 IFS="|"
22540 for msg in $wine_notices; do
22541 IFS="$ac_save_IFS"
22542 if ${msg:+false} :; then :
22544 else
22545 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22546 $as_echo "$as_me: $msg" >&6;}
22548 done
22550 IFS="|"
22551 for msg in $wine_warnings; do
22552 IFS="$ac_save_IFS"
22553 if ${msg:+false} :; then :
22555 else
22556 echo >&2
22557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22558 $as_echo "$as_me: WARNING: $msg" >&2;}
22560 done
22561 IFS="$ac_save_IFS"
22563 $as_echo "
22564 $as_me: Finished. Do '${ac_make}' to compile Wine.
22565 " >&6