po: Update Finnish translation.
[wine/zf.git] / configure
blob5672688a0d7f4af7c89653cb49a2af6e4ca6c6c6
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.19.
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.19'
584 PACKAGE_STRING='Wine 5.19'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 FREETYPE_LIBS
678 FREETYPE_CFLAGS
679 LCMS2_LIBS
680 LCMS2_CFLAGS
681 RESOLV_LIBS
682 GPHOTO2_PORT_LIBS
683 GPHOTO2_PORT_CFLAGS
684 GPHOTO2_LIBS
685 GPHOTO2_CFLAGS
686 USB_LIBS
687 USB_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 EXCESS_PRECISION_CFLAGS
710 CROSSDEBUG
711 DELAYLOADFLAG
712 CROSSLDFLAGS
713 EXTRACROSSCFLAGS
714 CROSSCFLAGS
715 CROSSCC
716 CROSSTARGET
717 LIBWINE_DEPENDS
718 PRELINK
719 WINELOADER_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_SHAREDLIB
722 METAL_LIBS
723 CARBON_LIBS
724 QUICKTIME_LIBS
725 OPENCL_LIBS
726 OPENAL_LIBS
727 COREAUDIO_LIBS
728 SECURITY_LIBS
729 DISKARBITRATION_LIBS
730 SYSTEMCONFIGURATION_LIBS
731 APPKIT_LIBS
732 CORESERVICES_LIBS
733 APPLICATIONSERVICES_LIBS
734 FORCEFEEDBACK_LIBS
735 IOKIT_LIBS
736 COREFOUNDATION_LIBS
737 OBJCPP
738 ac_ct_OBJC
739 OBJCFLAGS
740 OBJC
741 DLLTOOL
742 WINELOADER_PROGRAMS
743 CONFIGURE_TARGETS
744 DISABLED_SUBDIRS
745 SUBDIRS
746 READELF
747 OTOOL
749 WINEPRELOADER_LDFLAGS
750 WINELOADER_LDFLAGS
751 TOP_INSTALL_DEV
752 TOP_INSTALL_LIB
753 LDEXECFLAGS
754 LDDLLFLAGS
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_quicktime
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_usb
887 with_v4l2
888 with_vkd3d
889 with_vulkan
890 with_xcomposite
891 with_xcursor
892 with_xfixes
893 with_xinerama
894 with_xinput
895 with_xinput2
896 with_xml
897 with_xrandr
898 with_xrender
899 with_xshape
900 with_xshm
901 with_xslt
902 with_xxf86vm
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_ansi_l2_1_0
948 enable_api_ms_win_core_file_fromapp_l1_1_0
949 enable_api_ms_win_core_file_l1_1_0
950 enable_api_ms_win_core_file_l1_2_0
951 enable_api_ms_win_core_file_l1_2_1
952 enable_api_ms_win_core_file_l1_2_2
953 enable_api_ms_win_core_file_l2_1_0
954 enable_api_ms_win_core_file_l2_1_1
955 enable_api_ms_win_core_file_l2_1_2
956 enable_api_ms_win_core_handle_l1_1_0
957 enable_api_ms_win_core_heap_l1_1_0
958 enable_api_ms_win_core_heap_l1_2_0
959 enable_api_ms_win_core_heap_l2_1_0
960 enable_api_ms_win_core_heap_obsolete_l1_1_0
961 enable_api_ms_win_core_interlocked_l1_1_0
962 enable_api_ms_win_core_interlocked_l1_2_0
963 enable_api_ms_win_core_io_l1_1_0
964 enable_api_ms_win_core_io_l1_1_1
965 enable_api_ms_win_core_job_l1_1_0
966 enable_api_ms_win_core_job_l2_1_0
967 enable_api_ms_win_core_kernel32_legacy_l1_1_0
968 enable_api_ms_win_core_kernel32_legacy_l1_1_1
969 enable_api_ms_win_core_kernel32_private_l1_1_1
970 enable_api_ms_win_core_largeinteger_l1_1_0
971 enable_api_ms_win_core_libraryloader_l1_1_0
972 enable_api_ms_win_core_libraryloader_l1_1_1
973 enable_api_ms_win_core_libraryloader_l1_2_0
974 enable_api_ms_win_core_libraryloader_l1_2_1
975 enable_api_ms_win_core_libraryloader_l1_2_2
976 enable_api_ms_win_core_libraryloader_l2_1_0
977 enable_api_ms_win_core_localization_l1_1_0
978 enable_api_ms_win_core_localization_l1_2_0
979 enable_api_ms_win_core_localization_l1_2_1
980 enable_api_ms_win_core_localization_l1_2_2
981 enable_api_ms_win_core_localization_l2_1_0
982 enable_api_ms_win_core_localization_obsolete_l1_1_0
983 enable_api_ms_win_core_localization_obsolete_l1_2_0
984 enable_api_ms_win_core_localization_obsolete_l1_3_0
985 enable_api_ms_win_core_localization_private_l1_1_0
986 enable_api_ms_win_core_localregistry_l1_1_0
987 enable_api_ms_win_core_memory_l1_1_0
988 enable_api_ms_win_core_memory_l1_1_1
989 enable_api_ms_win_core_memory_l1_1_2
990 enable_api_ms_win_core_memory_l1_1_3
991 enable_api_ms_win_core_memory_l1_1_4
992 enable_api_ms_win_core_misc_l1_1_0
993 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
994 enable_api_ms_win_core_namedpipe_l1_1_0
995 enable_api_ms_win_core_namedpipe_l1_2_0
996 enable_api_ms_win_core_namespace_l1_1_0
997 enable_api_ms_win_core_normalization_l1_1_0
998 enable_api_ms_win_core_path_l1_1_0
999 enable_api_ms_win_core_privateprofile_l1_1_1
1000 enable_api_ms_win_core_processenvironment_l1_1_0
1001 enable_api_ms_win_core_processenvironment_l1_2_0
1002 enable_api_ms_win_core_processthreads_l1_1_0
1003 enable_api_ms_win_core_processthreads_l1_1_1
1004 enable_api_ms_win_core_processthreads_l1_1_2
1005 enable_api_ms_win_core_processthreads_l1_1_3
1006 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1007 enable_api_ms_win_core_profile_l1_1_0
1008 enable_api_ms_win_core_psapi_ansi_l1_1_0
1009 enable_api_ms_win_core_psapi_l1_1_0
1010 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1011 enable_api_ms_win_core_quirks_l1_1_0
1012 enable_api_ms_win_core_realtime_l1_1_0
1013 enable_api_ms_win_core_registry_l1_1_0
1014 enable_api_ms_win_core_registry_l2_1_0
1015 enable_api_ms_win_core_registry_l2_2_0
1016 enable_api_ms_win_core_registryuserspecific_l1_1_0
1017 enable_api_ms_win_core_rtlsupport_l1_1_0
1018 enable_api_ms_win_core_rtlsupport_l1_2_0
1019 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1020 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1021 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1022 enable_api_ms_win_core_shutdown_l1_1_0
1023 enable_api_ms_win_core_sidebyside_l1_1_0
1024 enable_api_ms_win_core_string_l1_1_0
1025 enable_api_ms_win_core_string_l2_1_0
1026 enable_api_ms_win_core_string_obsolete_l1_1_0
1027 enable_api_ms_win_core_stringansi_l1_1_0
1028 enable_api_ms_win_core_stringloader_l1_1_1
1029 enable_api_ms_win_core_synch_ansi_l1_1_0
1030 enable_api_ms_win_core_synch_l1_1_0
1031 enable_api_ms_win_core_synch_l1_2_0
1032 enable_api_ms_win_core_synch_l1_2_1
1033 enable_api_ms_win_core_sysinfo_l1_1_0
1034 enable_api_ms_win_core_sysinfo_l1_2_0
1035 enable_api_ms_win_core_sysinfo_l1_2_1
1036 enable_api_ms_win_core_systemtopology_l1_1_0
1037 enable_api_ms_win_core_threadpool_l1_1_0
1038 enable_api_ms_win_core_threadpool_l1_2_0
1039 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1040 enable_api_ms_win_core_threadpool_private_l1_1_0
1041 enable_api_ms_win_core_timezone_l1_1_0
1042 enable_api_ms_win_core_toolhelp_l1_1_0
1043 enable_api_ms_win_core_url_l1_1_0
1044 enable_api_ms_win_core_util_l1_1_0
1045 enable_api_ms_win_core_version_l1_1_0
1046 enable_api_ms_win_core_version_l1_1_1
1047 enable_api_ms_win_core_version_private_l1_1_0
1048 enable_api_ms_win_core_versionansi_l1_1_0
1049 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1050 enable_api_ms_win_core_winrt_error_l1_1_0
1051 enable_api_ms_win_core_winrt_error_l1_1_1
1052 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1053 enable_api_ms_win_core_winrt_l1_1_0
1054 enable_api_ms_win_core_winrt_registration_l1_1_0
1055 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1056 enable_api_ms_win_core_winrt_string_l1_1_0
1057 enable_api_ms_win_core_winrt_string_l1_1_1
1058 enable_api_ms_win_core_wow64_l1_1_0
1059 enable_api_ms_win_core_wow64_l1_1_1
1060 enable_api_ms_win_core_xstate_l1_1_0
1061 enable_api_ms_win_core_xstate_l2_1_0
1062 enable_api_ms_win_crt_conio_l1_1_0
1063 enable_api_ms_win_crt_convert_l1_1_0
1064 enable_api_ms_win_crt_environment_l1_1_0
1065 enable_api_ms_win_crt_filesystem_l1_1_0
1066 enable_api_ms_win_crt_heap_l1_1_0
1067 enable_api_ms_win_crt_locale_l1_1_0
1068 enable_api_ms_win_crt_math_l1_1_0
1069 enable_api_ms_win_crt_multibyte_l1_1_0
1070 enable_api_ms_win_crt_private_l1_1_0
1071 enable_api_ms_win_crt_process_l1_1_0
1072 enable_api_ms_win_crt_runtime_l1_1_0
1073 enable_api_ms_win_crt_stdio_l1_1_0
1074 enable_api_ms_win_crt_string_l1_1_0
1075 enable_api_ms_win_crt_time_l1_1_0
1076 enable_api_ms_win_crt_utility_l1_1_0
1077 enable_api_ms_win_devices_config_l1_1_0
1078 enable_api_ms_win_devices_config_l1_1_1
1079 enable_api_ms_win_devices_query_l1_1_1
1080 enable_api_ms_win_downlevel_advapi32_l1_1_0
1081 enable_api_ms_win_downlevel_advapi32_l2_1_0
1082 enable_api_ms_win_downlevel_kernel32_l2_1_0
1083 enable_api_ms_win_downlevel_normaliz_l1_1_0
1084 enable_api_ms_win_downlevel_ole32_l1_1_0
1085 enable_api_ms_win_downlevel_shell32_l1_1_0
1086 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1087 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1088 enable_api_ms_win_downlevel_user32_l1_1_0
1089 enable_api_ms_win_downlevel_version_l1_1_0
1090 enable_api_ms_win_dx_d3dkmt_l1_1_0
1091 enable_api_ms_win_eventing_classicprovider_l1_1_0
1092 enable_api_ms_win_eventing_consumer_l1_1_0
1093 enable_api_ms_win_eventing_controller_l1_1_0
1094 enable_api_ms_win_eventing_legacy_l1_1_0
1095 enable_api_ms_win_eventing_provider_l1_1_0
1096 enable_api_ms_win_eventlog_legacy_l1_1_0
1097 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1098 enable_api_ms_win_mm_joystick_l1_1_0
1099 enable_api_ms_win_mm_misc_l1_1_1
1100 enable_api_ms_win_mm_mme_l1_1_0
1101 enable_api_ms_win_mm_time_l1_1_0
1102 enable_api_ms_win_ntuser_dc_access_l1_1_0
1103 enable_api_ms_win_ntuser_rectangle_l1_1_0
1104 enable_api_ms_win_ntuser_sysparams_l1_1_0
1105 enable_api_ms_win_perf_legacy_l1_1_0
1106 enable_api_ms_win_power_base_l1_1_0
1107 enable_api_ms_win_power_setting_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1110 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1111 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1115 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1116 enable_api_ms_win_security_audit_l1_1_1
1117 enable_api_ms_win_security_base_l1_1_0
1118 enable_api_ms_win_security_base_l1_2_0
1119 enable_api_ms_win_security_base_private_l1_1_1
1120 enable_api_ms_win_security_credentials_l1_1_0
1121 enable_api_ms_win_security_cryptoapi_l1_1_0
1122 enable_api_ms_win_security_grouppolicy_l1_1_0
1123 enable_api_ms_win_security_lsalookup_l1_1_0
1124 enable_api_ms_win_security_lsalookup_l1_1_1
1125 enable_api_ms_win_security_lsalookup_l2_1_0
1126 enable_api_ms_win_security_lsalookup_l2_1_1
1127 enable_api_ms_win_security_lsapolicy_l1_1_0
1128 enable_api_ms_win_security_provider_l1_1_0
1129 enable_api_ms_win_security_sddl_l1_1_0
1130 enable_api_ms_win_security_systemfunctions_l1_1_0
1131 enable_api_ms_win_service_core_l1_1_0
1132 enable_api_ms_win_service_core_l1_1_1
1133 enable_api_ms_win_service_management_l1_1_0
1134 enable_api_ms_win_service_management_l2_1_0
1135 enable_api_ms_win_service_private_l1_1_1
1136 enable_api_ms_win_service_winsvc_l1_1_0
1137 enable_api_ms_win_service_winsvc_l1_2_0
1138 enable_api_ms_win_shcore_obsolete_l1_1_0
1139 enable_api_ms_win_shcore_scaling_l1_1_1
1140 enable_api_ms_win_shcore_stream_l1_1_0
1141 enable_api_ms_win_shcore_thread_l1_1_0
1142 enable_api_ms_win_shell_shellcom_l1_1_0
1143 enable_api_ms_win_shell_shellfolders_l1_1_0
1144 enable_apphelp
1145 enable_appwiz_cpl
1146 enable_atl
1147 enable_atl100
1148 enable_atl110
1149 enable_atl80
1150 enable_atl90
1151 enable_atlthunk
1152 enable_atmlib
1153 enable_authz
1154 enable_avicap32
1155 enable_avifil32
1156 enable_avrt
1157 enable_bcrypt
1158 enable_bluetoothapis
1159 enable_browseui
1160 enable_bthprops_cpl
1161 enable_cabinet
1162 enable_capi2032
1163 enable_cards
1164 enable_cdosys
1165 enable_cfgmgr32
1166 enable_clusapi
1167 enable_combase
1168 enable_comcat
1169 enable_comctl32
1170 enable_comdlg32
1171 enable_compstui
1172 enable_comsvcs
1173 enable_concrt140
1174 enable_connect
1175 enable_credui
1176 enable_crtdll
1177 enable_crypt32
1178 enable_cryptdlg
1179 enable_cryptdll
1180 enable_cryptext
1181 enable_cryptnet
1182 enable_cryptui
1183 enable_ctapi32
1184 enable_ctl3d32
1185 enable_d2d1
1186 enable_d3d10
1187 enable_d3d10_1
1188 enable_d3d10core
1189 enable_d3d11
1190 enable_d3d12
1191 enable_d3d8
1192 enable_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_d3drm
1208 enable_d3dx10_33
1209 enable_d3dx10_34
1210 enable_d3dx10_35
1211 enable_d3dx10_36
1212 enable_d3dx10_37
1213 enable_d3dx10_38
1214 enable_d3dx10_39
1215 enable_d3dx10_40
1216 enable_d3dx10_41
1217 enable_d3dx10_42
1218 enable_d3dx10_43
1219 enable_d3dx11_42
1220 enable_d3dx11_43
1221 enable_d3dx9_24
1222 enable_d3dx9_25
1223 enable_d3dx9_26
1224 enable_d3dx9_27
1225 enable_d3dx9_28
1226 enable_d3dx9_29
1227 enable_d3dx9_30
1228 enable_d3dx9_31
1229 enable_d3dx9_32
1230 enable_d3dx9_33
1231 enable_d3dx9_34
1232 enable_d3dx9_35
1233 enable_d3dx9_36
1234 enable_d3dx9_37
1235 enable_d3dx9_38
1236 enable_d3dx9_39
1237 enable_d3dx9_40
1238 enable_d3dx9_41
1239 enable_d3dx9_42
1240 enable_d3dx9_43
1241 enable_d3dxof
1242 enable_davclnt
1243 enable_dbgeng
1244 enable_dbghelp
1245 enable_dciman32
1246 enable_ddraw
1247 enable_ddrawex
1248 enable_devenum
1249 enable_dhcpcsvc
1250 enable_dhtmled_ocx
1251 enable_difxapi
1252 enable_dinput
1253 enable_dinput8
1254 enable_directmanipulation
1255 enable_dispex
1256 enable_dmband
1257 enable_dmcompos
1258 enable_dmime
1259 enable_dmloader
1260 enable_dmoguids
1261 enable_dmscript
1262 enable_dmstyle
1263 enable_dmsynth
1264 enable_dmusic
1265 enable_dmusic32
1266 enable_dnsapi
1267 enable_dplay
1268 enable_dplayx
1269 enable_dpnaddr
1270 enable_dpnet
1271 enable_dpnhpast
1272 enable_dpnlobby
1273 enable_dpvoice
1274 enable_dpwsockx
1275 enable_drmclien
1276 enable_dsdmo
1277 enable_dsound
1278 enable_dsquery
1279 enable_dssenh
1280 enable_dsuiext
1281 enable_dswave
1282 enable_dwmapi
1283 enable_dwrite
1284 enable_dx8vb
1285 enable_dxdiagn
1286 enable_dxerr8
1287 enable_dxerr9
1288 enable_dxgi
1289 enable_dxguid
1290 enable_dxva2
1291 enable_esent
1292 enable_evr
1293 enable_explorerframe
1294 enable_ext_ms_win_authz_context_l1_1_0
1295 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1296 enable_ext_ms_win_dwmapi_ext_l1_1_0
1297 enable_ext_ms_win_gdi_dc_create_l1_1_0
1298 enable_ext_ms_win_gdi_dc_create_l1_1_1
1299 enable_ext_ms_win_gdi_dc_l1_2_0
1300 enable_ext_ms_win_gdi_devcaps_l1_1_0
1301 enable_ext_ms_win_gdi_draw_l1_1_0
1302 enable_ext_ms_win_gdi_draw_l1_1_1
1303 enable_ext_ms_win_gdi_font_l1_1_0
1304 enable_ext_ms_win_gdi_font_l1_1_1
1305 enable_ext_ms_win_gdi_render_l1_1_0
1306 enable_ext_ms_win_kernel32_package_current_l1_1_0
1307 enable_ext_ms_win_kernel32_package_l1_1_1
1308 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1309 enable_ext_ms_win_ntuser_draw_l1_1_0
1310 enable_ext_ms_win_ntuser_gui_l1_1_0
1311 enable_ext_ms_win_ntuser_gui_l1_3_0
1312 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1313 enable_ext_ms_win_ntuser_message_l1_1_0
1314 enable_ext_ms_win_ntuser_message_l1_1_1
1315 enable_ext_ms_win_ntuser_misc_l1_1_0
1316 enable_ext_ms_win_ntuser_misc_l1_2_0
1317 enable_ext_ms_win_ntuser_misc_l1_5_1
1318 enable_ext_ms_win_ntuser_mouse_l1_1_0
1319 enable_ext_ms_win_ntuser_private_l1_1_1
1320 enable_ext_ms_win_ntuser_private_l1_3_1
1321 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1322 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1323 enable_ext_ms_win_ntuser_window_l1_1_0
1324 enable_ext_ms_win_ntuser_window_l1_1_1
1325 enable_ext_ms_win_ntuser_window_l1_1_4
1326 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1327 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1328 enable_ext_ms_win_oleacc_l1_1_0
1329 enable_ext_ms_win_ras_rasapi32_l1_1_0
1330 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1331 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1332 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1333 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1334 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1335 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1336 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1337 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1338 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1339 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1340 enable_ext_ms_win_security_credui_l1_1_0
1341 enable_ext_ms_win_security_cryptui_l1_1_0
1342 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1343 enable_ext_ms_win_shell_comdlg32_l1_1_0
1344 enable_ext_ms_win_shell_shell32_l1_2_0
1345 enable_ext_ms_win_uxtheme_themes_l1_1_0
1346 enable_faultrep
1347 enable_feclient
1348 enable_fltlib
1349 enable_fltmgr_sys
1350 enable_fntcache
1351 enable_fontsub
1352 enable_fusion
1353 enable_fwpuclnt
1354 enable_gameux
1355 enable_gdi32
1356 enable_gdiplus
1357 enable_glu32
1358 enable_gphoto2_ds
1359 enable_gpkcsp
1360 enable_hal
1361 enable_hhctrl_ocx
1362 enable_hid
1363 enable_hidclass_sys
1364 enable_hlink
1365 enable_hnetcfg
1366 enable_http_sys
1367 enable_httpapi
1368 enable_iccvid
1369 enable_icmp
1370 enable_ieframe
1371 enable_ieproxy
1372 enable_imaadp32_acm
1373 enable_imagehlp
1374 enable_imm32
1375 enable_inetcomm
1376 enable_inetcpl_cpl
1377 enable_inetmib1
1378 enable_infosoft
1379 enable_initpki
1380 enable_inkobj
1381 enable_inseng
1382 enable_iphlpapi
1383 enable_iprop
1384 enable_irprops_cpl
1385 enable_itircl
1386 enable_itss
1387 enable_joy_cpl
1388 enable_jscript
1389 enable_jsproxy
1390 enable_kerberos
1391 enable_kernel32
1392 enable_kernelbase
1393 enable_ksecdd_sys
1394 enable_ksproxy_ax
1395 enable_ksuser
1396 enable_ktmw32
1397 enable_l3codeca_acm
1398 enable_loadperf
1399 enable_localspl
1400 enable_localui
1401 enable_lz32
1402 enable_mapi32
1403 enable_mapistub
1404 enable_mciavi32
1405 enable_mcicda
1406 enable_mciqtz32
1407 enable_mciseq
1408 enable_mciwave
1409 enable_mf
1410 enable_mf3216
1411 enable_mferror
1412 enable_mfmediaengine
1413 enable_mfplat
1414 enable_mfplay
1415 enable_mfreadwrite
1416 enable_mfuuid
1417 enable_mgmtapi
1418 enable_midimap
1419 enable_mlang
1420 enable_mmcndmgr
1421 enable_mmdevapi
1422 enable_mountmgr_sys
1423 enable_mp3dmod
1424 enable_mpr
1425 enable_mprapi
1426 enable_msacm32_drv
1427 enable_msacm32
1428 enable_msado15
1429 enable_msadp32_acm
1430 enable_msasn1
1431 enable_mscat32
1432 enable_mscms
1433 enable_mscoree
1434 enable_mscorwks
1435 enable_msctf
1436 enable_msctfp
1437 enable_msdaps
1438 enable_msdelta
1439 enable_msdmo
1440 enable_msdrm
1441 enable_msftedit
1442 enable_msg711_acm
1443 enable_msgsm32_acm
1444 enable_mshtml_tlb
1445 enable_mshtml
1446 enable_msi
1447 enable_msident
1448 enable_msimg32
1449 enable_msimsg
1450 enable_msimtf
1451 enable_msisip
1452 enable_msisys_ocx
1453 enable_msls31
1454 enable_msnet32
1455 enable_mspatcha
1456 enable_msports
1457 enable_msrle32
1458 enable_msscript_ocx
1459 enable_mssign32
1460 enable_mssip32
1461 enable_mstask
1462 enable_msvcirt
1463 enable_msvcm80
1464 enable_msvcm90
1465 enable_msvcp100
1466 enable_msvcp110
1467 enable_msvcp120
1468 enable_msvcp120_app
1469 enable_msvcp140
1470 enable_msvcp140_1
1471 enable_msvcp60
1472 enable_msvcp70
1473 enable_msvcp71
1474 enable_msvcp80
1475 enable_msvcp90
1476 enable_msvcr100
1477 enable_msvcr110
1478 enable_msvcr120
1479 enable_msvcr120_app
1480 enable_msvcr70
1481 enable_msvcr71
1482 enable_msvcr80
1483 enable_msvcr90
1484 enable_msvcrt
1485 enable_msvcrt20
1486 enable_msvcrt40
1487 enable_msvcrtd
1488 enable_msvfw32
1489 enable_msvidc32
1490 enable_mswsock
1491 enable_msxml
1492 enable_msxml2
1493 enable_msxml3
1494 enable_msxml4
1495 enable_msxml6
1496 enable_mtxdm
1497 enable_ncrypt
1498 enable_nddeapi
1499 enable_ndis_sys
1500 enable_netapi32
1501 enable_netcfgx
1502 enable_netio_sys
1503 enable_netprofm
1504 enable_newdev
1505 enable_ninput
1506 enable_normaliz
1507 enable_npmshtml
1508 enable_npptools
1509 enable_ntdll
1510 enable_ntdsapi
1511 enable_ntoskrnl_exe
1512 enable_ntprint
1513 enable_objsel
1514 enable_odbc32
1515 enable_odbcbcp
1516 enable_odbccp32
1517 enable_odbccu32
1518 enable_ole32
1519 enable_oleacc
1520 enable_oleaut32
1521 enable_olecli32
1522 enable_oledb32
1523 enable_oledlg
1524 enable_olepro32
1525 enable_olesvr32
1526 enable_olethk32
1527 enable_opcservices
1528 enable_openal32
1529 enable_opencl
1530 enable_opengl32
1531 enable_packager
1532 enable_pdh
1533 enable_photometadatahandler
1534 enable_pidgen
1535 enable_powrprof
1536 enable_printui
1537 enable_prntvpt
1538 enable_propsys
1539 enable_psapi
1540 enable_pstorec
1541 enable_pwrshplugin
1542 enable_qasf
1543 enable_qcap
1544 enable_qdvd
1545 enable_qedit
1546 enable_qmgr
1547 enable_qmgrprxy
1548 enable_quartz
1549 enable_query
1550 enable_qwave
1551 enable_rasapi32
1552 enable_rasdlg
1553 enable_regapi
1554 enable_resutils
1555 enable_riched20
1556 enable_riched32
1557 enable_rpcrt4
1558 enable_rsabase
1559 enable_rsaenh
1560 enable_rstrtmgr
1561 enable_rtutils
1562 enable_rtworkq
1563 enable_samlib
1564 enable_sane_ds
1565 enable_sapi
1566 enable_sas
1567 enable_scarddlg
1568 enable_sccbase
1569 enable_schannel
1570 enable_schedsvc
1571 enable_scrobj
1572 enable_scrrun
1573 enable_scsiport_sys
1574 enable_sechost
1575 enable_secur32
1576 enable_security
1577 enable_sensapi
1578 enable_serialui
1579 enable_setupapi
1580 enable_sfc
1581 enable_sfc_os
1582 enable_shcore
1583 enable_shdoclc
1584 enable_shdocvw
1585 enable_shell32
1586 enable_shfolder
1587 enable_shlwapi
1588 enable_slbcsp
1589 enable_slc
1590 enable_snmpapi
1591 enable_softpub
1592 enable_spoolss
1593 enable_srclient
1594 enable_sspicli
1595 enable_stdole2_tlb
1596 enable_stdole32_tlb
1597 enable_sti
1598 enable_strmbase
1599 enable_strmdll
1600 enable_strmiids
1601 enable_svrapi
1602 enable_sxs
1603 enable_t2embed
1604 enable_tapi32
1605 enable_taskschd
1606 enable_tdh
1607 enable_tdi_sys
1608 enable_traffic
1609 enable_twain_32
1610 enable_tzres
1611 enable_ucrtbase
1612 enable_uianimation
1613 enable_uiautomationcore
1614 enable_uiribbon
1615 enable_unicows
1616 enable_updspapi
1617 enable_url
1618 enable_urlmon
1619 enable_usbd_sys
1620 enable_user32
1621 enable_userenv
1622 enable_usp10
1623 enable_utildll
1624 enable_uuid
1625 enable_uxtheme
1626 enable_vbscript
1627 enable_vcomp
1628 enable_vcomp100
1629 enable_vcomp110
1630 enable_vcomp120
1631 enable_vcomp140
1632 enable_vcomp90
1633 enable_vcruntime140
1634 enable_vcruntime140_1
1635 enable_vdmdbg
1636 enable_version
1637 enable_vga
1638 enable_virtdisk
1639 enable_vssapi
1640 enable_vulkan_1
1641 enable_wbemdisp
1642 enable_wbemprox
1643 enable_wbemuuid
1644 enable_wdscore
1645 enable_webservices
1646 enable_wer
1647 enable_wevtapi
1648 enable_wevtsvc
1649 enable_wiaservc
1650 enable_wimgapi
1651 enable_windowscodecs
1652 enable_windowscodecsext
1653 enable_winealsa_drv
1654 enable_wineandroid_drv
1655 enable_winebus_sys
1656 enable_winecoreaudio_drv
1657 enable_winecrt0
1658 enable_wined3d
1659 enable_winegstreamer
1660 enable_winehid_sys
1661 enable_winejoystick_drv
1662 enable_winemac_drv
1663 enable_winemapi
1664 enable_wineoss_drv
1665 enable_wineps_drv
1666 enable_winepulse_drv
1667 enable_wineqtdecoder
1668 enable_wineusb_sys
1669 enable_winevulkan
1670 enable_winex11_drv
1671 enable_wing32
1672 enable_winhttp
1673 enable_wininet
1674 enable_winmm
1675 enable_winnls32
1676 enable_winscard
1677 enable_winspool_drv
1678 enable_winsta
1679 enable_wintab32
1680 enable_wintrust
1681 enable_winusb
1682 enable_wlanapi
1683 enable_wlanui
1684 enable_wldap32
1685 enable_wmasf
1686 enable_wmcodecdspuuid
1687 enable_wmi
1688 enable_wmiutils
1689 enable_wmp
1690 enable_wmphoto
1691 enable_wmvcore
1692 enable_wnaspi32
1693 enable_wpc
1694 enable_wpcap
1695 enable_ws2_32
1696 enable_wsdapi
1697 enable_wshom_ocx
1698 enable_wsnmp32
1699 enable_wsock32
1700 enable_wtsapi32
1701 enable_wuapi
1702 enable_wuaueng
1703 enable_x3daudio1_0
1704 enable_x3daudio1_1
1705 enable_x3daudio1_2
1706 enable_x3daudio1_3
1707 enable_x3daudio1_4
1708 enable_x3daudio1_5
1709 enable_x3daudio1_6
1710 enable_x3daudio1_7
1711 enable_xactengine3_0
1712 enable_xactengine3_1
1713 enable_xactengine3_2
1714 enable_xactengine3_3
1715 enable_xactengine3_4
1716 enable_xactengine3_5
1717 enable_xactengine3_6
1718 enable_xactengine3_7
1719 enable_xapofx1_1
1720 enable_xapofx1_2
1721 enable_xapofx1_3
1722 enable_xapofx1_4
1723 enable_xapofx1_5
1724 enable_xaudio2_0
1725 enable_xaudio2_1
1726 enable_xaudio2_2
1727 enable_xaudio2_3
1728 enable_xaudio2_4
1729 enable_xaudio2_5
1730 enable_xaudio2_6
1731 enable_xaudio2_7
1732 enable_xaudio2_8
1733 enable_xaudio2_9
1734 enable_xinput1_1
1735 enable_xinput1_2
1736 enable_xinput1_3
1737 enable_xinput1_4
1738 enable_xinput9_1_0
1739 enable_xmllite
1740 enable_xolehlp
1741 enable_xpsprint
1742 enable_xpssvcs
1743 enable_fonts
1744 enable_include
1745 enable_port
1746 enable_wine
1747 enable_wpp
1748 enable_loader
1749 enable_nls
1750 enable_po
1751 enable_arp
1752 enable_aspnet_regiis
1753 enable_attrib
1754 enable_cabarc
1755 enable_cacls
1756 enable_chcp_com
1757 enable_clock
1758 enable_cmd
1759 enable_conhost
1760 enable_control
1761 enable_cscript
1762 enable_dism
1763 enable_dpnsvr
1764 enable_dxdiag
1765 enable_eject
1766 enable_expand
1767 enable_explorer
1768 enable_extrac32
1769 enable_fc
1770 enable_find
1771 enable_findstr
1772 enable_fsutil
1773 enable_hh
1774 enable_hostname
1775 enable_icacls
1776 enable_icinfo
1777 enable_iexplore
1778 enable_ipconfig
1779 enable_lodctr
1780 enable_mofcomp
1781 enable_mshta
1782 enable_msidb
1783 enable_msiexec
1784 enable_msinfo32
1785 enable_net
1786 enable_netsh
1787 enable_netstat
1788 enable_ngen
1789 enable_notepad
1790 enable_oleview
1791 enable_ping
1792 enable_plugplay
1793 enable_powershell
1794 enable_presentationfontcache
1795 enable_progman
1796 enable_reg
1797 enable_regasm
1798 enable_regedit
1799 enable_regini
1800 enable_regsvcs
1801 enable_regsvr32
1802 enable_rpcss
1803 enable_rundll32
1804 enable_sc
1805 enable_schtasks
1806 enable_sdbinst
1807 enable_secedit
1808 enable_servicemodelreg
1809 enable_services
1810 enable_shutdown
1811 enable_spoolsv
1812 enable_start
1813 enable_subst
1814 enable_svchost
1815 enable_systeminfo
1816 enable_taskkill
1817 enable_tasklist
1818 enable_taskmgr
1819 enable_termsv
1820 enable_uninstaller
1821 enable_unlodctr
1822 enable_view
1823 enable_wevtutil
1824 enable_where
1825 enable_whoami
1826 enable_wineboot
1827 enable_winebrowser
1828 enable_winecfg
1829 enable_wineconsole
1830 enable_winedbg
1831 enable_winedevice
1832 enable_winefile
1833 enable_winemenubuilder
1834 enable_winemine
1835 enable_winemsibuilder
1836 enable_winepath
1837 enable_winetest
1838 enable_winhlp32
1839 enable_winmgmt
1840 enable_winver
1841 enable_wmic
1842 enable_wmplayer
1843 enable_wordpad
1844 enable_write
1845 enable_wscript
1846 enable_wuauserv
1847 enable_wusa
1848 enable_xcopy
1849 enable_server
1850 enable_tools
1851 enable_sfnt2fon
1852 enable_widl
1853 enable_winebuild
1854 enable_winedump
1855 enable_winegcc
1856 enable_winemaker
1857 enable_wmc
1858 enable_wrc
1860 ac_precious_vars='build_alias
1861 host_alias
1862 target_alias
1864 CFLAGS
1865 LDFLAGS
1866 LIBS
1867 CPPFLAGS
1869 CXXFLAGS
1872 OBJC
1873 OBJCFLAGS
1874 OBJCPP
1875 XMKMF
1876 XML2_CFLAGS
1877 XML2_LIBS
1878 XSLT_CFLAGS
1879 XSLT_LIBS
1880 INOTIFY_CFLAGS
1881 INOTIFY_LIBS
1882 DBUS_CFLAGS
1883 DBUS_LIBS
1884 HAL_CFLAGS
1885 HAL_LIBS
1886 GNUTLS_CFLAGS
1887 GNUTLS_LIBS
1888 SANE_CFLAGS
1889 SANE_LIBS
1890 USB_CFLAGS
1891 USB_LIBS
1892 GPHOTO2_CFLAGS
1893 GPHOTO2_LIBS
1894 GPHOTO2_PORT_CFLAGS
1895 GPHOTO2_PORT_LIBS
1896 LCMS2_CFLAGS
1897 LCMS2_LIBS
1898 FREETYPE_CFLAGS
1899 FREETYPE_LIBS
1900 PULSE_CFLAGS
1901 PULSE_LIBS
1902 GSTREAMER_CFLAGS
1903 GSTREAMER_LIBS
1904 UDEV_CFLAGS
1905 UDEV_LIBS
1906 UNWIND_CFLAGS
1907 UNWIND_LIBS
1908 SDL2_CFLAGS
1909 SDL2_LIBS
1910 FAUDIO_CFLAGS
1911 FAUDIO_LIBS
1912 CAPI20_CFLAGS
1913 CAPI20_LIBS
1914 CUPS_CFLAGS
1915 CUPS_LIBS
1916 FONTCONFIG_CFLAGS
1917 FONTCONFIG_LIBS
1918 KRB5_CFLAGS
1919 KRB5_LIBS
1920 GSSAPI_CFLAGS
1921 GSSAPI_LIBS
1922 JPEG_CFLAGS
1923 JPEG_LIBS
1924 PNG_CFLAGS
1925 PNG_LIBS
1926 TIFF_CFLAGS
1927 TIFF_LIBS
1928 MPG123_CFLAGS
1929 MPG123_LIBS
1930 NETAPI_CFLAGS
1931 NETAPI_LIBS
1932 VKD3D_CFLAGS
1933 VKD3D_LIBS
1934 VKD3D_SHADER_CFLAGS
1935 VKD3D_SHADER_LIBS
1936 LDAP_CFLAGS
1937 LDAP_LIBS'
1940 # Initialize some variables set by options.
1941 ac_init_help=
1942 ac_init_version=false
1943 ac_unrecognized_opts=
1944 ac_unrecognized_sep=
1945 # The variables have the same names as the options, with
1946 # dashes changed to underlines.
1947 cache_file=/dev/null
1948 exec_prefix=NONE
1949 no_create=
1950 no_recursion=
1951 prefix=NONE
1952 program_prefix=NONE
1953 program_suffix=NONE
1954 program_transform_name=s,x,x,
1955 silent=
1956 site=
1957 srcdir=
1958 verbose=
1959 x_includes=NONE
1960 x_libraries=NONE
1962 # Installation directory options.
1963 # These are left unexpanded so users can "make install exec_prefix=/foo"
1964 # and all the variables that are supposed to be based on exec_prefix
1965 # by default will actually change.
1966 # Use braces instead of parens because sh, perl, etc. also accept them.
1967 # (The list follows the same order as the GNU Coding Standards.)
1968 bindir='${exec_prefix}/bin'
1969 sbindir='${exec_prefix}/sbin'
1970 libexecdir='${exec_prefix}/libexec'
1971 datarootdir='${prefix}/share'
1972 datadir='${datarootdir}'
1973 sysconfdir='${prefix}/etc'
1974 sharedstatedir='${prefix}/com'
1975 localstatedir='${prefix}/var'
1976 runstatedir='${localstatedir}/run'
1977 includedir='${prefix}/include'
1978 oldincludedir='/usr/include'
1979 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1980 infodir='${datarootdir}/info'
1981 htmldir='${docdir}'
1982 dvidir='${docdir}'
1983 pdfdir='${docdir}'
1984 psdir='${docdir}'
1985 libdir='${exec_prefix}/lib'
1986 localedir='${datarootdir}/locale'
1987 mandir='${datarootdir}/man'
1989 ac_prev=
1990 ac_dashdash=
1991 for ac_option
1993 # If the previous option needs an argument, assign it.
1994 if test -n "$ac_prev"; then
1995 eval $ac_prev=\$ac_option
1996 ac_prev=
1997 continue
2000 case $ac_option in
2001 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2002 *=) ac_optarg= ;;
2003 *) ac_optarg=yes ;;
2004 esac
2006 # Accept the important Cygnus configure options, so we can diagnose typos.
2008 case $ac_dashdash$ac_option in
2010 ac_dashdash=yes ;;
2012 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2013 ac_prev=bindir ;;
2014 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2015 bindir=$ac_optarg ;;
2017 -build | --build | --buil | --bui | --bu)
2018 ac_prev=build_alias ;;
2019 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2020 build_alias=$ac_optarg ;;
2022 -cache-file | --cache-file | --cache-fil | --cache-fi \
2023 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2024 ac_prev=cache_file ;;
2025 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2026 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2027 cache_file=$ac_optarg ;;
2029 --config-cache | -C)
2030 cache_file=config.cache ;;
2032 -datadir | --datadir | --datadi | --datad)
2033 ac_prev=datadir ;;
2034 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2035 datadir=$ac_optarg ;;
2037 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2038 | --dataroo | --dataro | --datar)
2039 ac_prev=datarootdir ;;
2040 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2041 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2042 datarootdir=$ac_optarg ;;
2044 -disable-* | --disable-*)
2045 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2046 # Reject names that are not valid shell variable names.
2047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2048 as_fn_error $? "invalid feature name: $ac_useropt"
2049 ac_useropt_orig=$ac_useropt
2050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2051 case $ac_user_opts in
2053 "enable_$ac_useropt"
2054 "*) ;;
2055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2056 ac_unrecognized_sep=', ';;
2057 esac
2058 eval enable_$ac_useropt=no ;;
2060 -docdir | --docdir | --docdi | --doc | --do)
2061 ac_prev=docdir ;;
2062 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2063 docdir=$ac_optarg ;;
2065 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2066 ac_prev=dvidir ;;
2067 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2068 dvidir=$ac_optarg ;;
2070 -enable-* | --enable-*)
2071 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2072 # Reject names that are not valid shell variable names.
2073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2074 as_fn_error $? "invalid feature name: $ac_useropt"
2075 ac_useropt_orig=$ac_useropt
2076 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2077 case $ac_user_opts in
2079 "enable_$ac_useropt"
2080 "*) ;;
2081 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2082 ac_unrecognized_sep=', ';;
2083 esac
2084 eval enable_$ac_useropt=\$ac_optarg ;;
2086 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2087 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2088 | --exec | --exe | --ex)
2089 ac_prev=exec_prefix ;;
2090 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2091 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2092 | --exec=* | --exe=* | --ex=*)
2093 exec_prefix=$ac_optarg ;;
2095 -gas | --gas | --ga | --g)
2096 # Obsolete; use --with-gas.
2097 with_gas=yes ;;
2099 -help | --help | --hel | --he | -h)
2100 ac_init_help=long ;;
2101 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2102 ac_init_help=recursive ;;
2103 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2104 ac_init_help=short ;;
2106 -host | --host | --hos | --ho)
2107 ac_prev=host_alias ;;
2108 -host=* | --host=* | --hos=* | --ho=*)
2109 host_alias=$ac_optarg ;;
2111 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2112 ac_prev=htmldir ;;
2113 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2114 | --ht=*)
2115 htmldir=$ac_optarg ;;
2117 -includedir | --includedir | --includedi | --included | --include \
2118 | --includ | --inclu | --incl | --inc)
2119 ac_prev=includedir ;;
2120 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2121 | --includ=* | --inclu=* | --incl=* | --inc=*)
2122 includedir=$ac_optarg ;;
2124 -infodir | --infodir | --infodi | --infod | --info | --inf)
2125 ac_prev=infodir ;;
2126 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2127 infodir=$ac_optarg ;;
2129 -libdir | --libdir | --libdi | --libd)
2130 ac_prev=libdir ;;
2131 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2132 libdir=$ac_optarg ;;
2134 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2135 | --libexe | --libex | --libe)
2136 ac_prev=libexecdir ;;
2137 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2138 | --libexe=* | --libex=* | --libe=*)
2139 libexecdir=$ac_optarg ;;
2141 -localedir | --localedir | --localedi | --localed | --locale)
2142 ac_prev=localedir ;;
2143 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2144 localedir=$ac_optarg ;;
2146 -localstatedir | --localstatedir | --localstatedi | --localstated \
2147 | --localstate | --localstat | --localsta | --localst | --locals)
2148 ac_prev=localstatedir ;;
2149 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2150 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2151 localstatedir=$ac_optarg ;;
2153 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2154 ac_prev=mandir ;;
2155 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2156 mandir=$ac_optarg ;;
2158 -nfp | --nfp | --nf)
2159 # Obsolete; use --without-fp.
2160 with_fp=no ;;
2162 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2163 | --no-cr | --no-c | -n)
2164 no_create=yes ;;
2166 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2167 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2168 no_recursion=yes ;;
2170 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2171 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2172 | --oldin | --oldi | --old | --ol | --o)
2173 ac_prev=oldincludedir ;;
2174 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2175 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2176 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2177 oldincludedir=$ac_optarg ;;
2179 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2180 ac_prev=prefix ;;
2181 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2182 prefix=$ac_optarg ;;
2184 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2185 | --program-pre | --program-pr | --program-p)
2186 ac_prev=program_prefix ;;
2187 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2188 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2189 program_prefix=$ac_optarg ;;
2191 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2192 | --program-suf | --program-su | --program-s)
2193 ac_prev=program_suffix ;;
2194 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2195 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2196 program_suffix=$ac_optarg ;;
2198 -program-transform-name | --program-transform-name \
2199 | --program-transform-nam | --program-transform-na \
2200 | --program-transform-n | --program-transform- \
2201 | --program-transform | --program-transfor \
2202 | --program-transfo | --program-transf \
2203 | --program-trans | --program-tran \
2204 | --progr-tra | --program-tr | --program-t)
2205 ac_prev=program_transform_name ;;
2206 -program-transform-name=* | --program-transform-name=* \
2207 | --program-transform-nam=* | --program-transform-na=* \
2208 | --program-transform-n=* | --program-transform-=* \
2209 | --program-transform=* | --program-transfor=* \
2210 | --program-transfo=* | --program-transf=* \
2211 | --program-trans=* | --program-tran=* \
2212 | --progr-tra=* | --program-tr=* | --program-t=*)
2213 program_transform_name=$ac_optarg ;;
2215 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2216 ac_prev=pdfdir ;;
2217 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2218 pdfdir=$ac_optarg ;;
2220 -psdir | --psdir | --psdi | --psd | --ps)
2221 ac_prev=psdir ;;
2222 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2223 psdir=$ac_optarg ;;
2225 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2226 | -silent | --silent | --silen | --sile | --sil)
2227 silent=yes ;;
2229 -runstatedir | --runstatedir | --runstatedi | --runstated \
2230 | --runstate | --runstat | --runsta | --runst | --runs \
2231 | --run | --ru | --r)
2232 ac_prev=runstatedir ;;
2233 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2234 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2235 | --run=* | --ru=* | --r=*)
2236 runstatedir=$ac_optarg ;;
2238 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2239 ac_prev=sbindir ;;
2240 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2241 | --sbi=* | --sb=*)
2242 sbindir=$ac_optarg ;;
2244 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2245 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2246 | --sharedst | --shareds | --shared | --share | --shar \
2247 | --sha | --sh)
2248 ac_prev=sharedstatedir ;;
2249 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2250 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2251 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2252 | --sha=* | --sh=*)
2253 sharedstatedir=$ac_optarg ;;
2255 -site | --site | --sit)
2256 ac_prev=site ;;
2257 -site=* | --site=* | --sit=*)
2258 site=$ac_optarg ;;
2260 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2261 ac_prev=srcdir ;;
2262 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2263 srcdir=$ac_optarg ;;
2265 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2266 | --syscon | --sysco | --sysc | --sys | --sy)
2267 ac_prev=sysconfdir ;;
2268 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2269 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2270 sysconfdir=$ac_optarg ;;
2272 -target | --target | --targe | --targ | --tar | --ta | --t)
2273 ac_prev=target_alias ;;
2274 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2275 target_alias=$ac_optarg ;;
2277 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2278 verbose=yes ;;
2280 -version | --version | --versio | --versi | --vers | -V)
2281 ac_init_version=: ;;
2283 -with-* | --with-*)
2284 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2285 # Reject names that are not valid shell variable names.
2286 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2287 as_fn_error $? "invalid package name: $ac_useropt"
2288 ac_useropt_orig=$ac_useropt
2289 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2290 case $ac_user_opts in
2292 "with_$ac_useropt"
2293 "*) ;;
2294 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2295 ac_unrecognized_sep=', ';;
2296 esac
2297 eval with_$ac_useropt=\$ac_optarg ;;
2299 -without-* | --without-*)
2300 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2301 # Reject names that are not valid shell variable names.
2302 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2303 as_fn_error $? "invalid package name: $ac_useropt"
2304 ac_useropt_orig=$ac_useropt
2305 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2306 case $ac_user_opts in
2308 "with_$ac_useropt"
2309 "*) ;;
2310 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2311 ac_unrecognized_sep=', ';;
2312 esac
2313 eval with_$ac_useropt=no ;;
2315 --x)
2316 # Obsolete; use --with-x.
2317 with_x=yes ;;
2319 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2320 | --x-incl | --x-inc | --x-in | --x-i)
2321 ac_prev=x_includes ;;
2322 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2323 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2324 x_includes=$ac_optarg ;;
2326 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2327 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2328 ac_prev=x_libraries ;;
2329 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2330 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2331 x_libraries=$ac_optarg ;;
2333 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2334 Try \`$0 --help' for more information"
2337 *=*)
2338 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2339 # Reject names that are not valid shell variable names.
2340 case $ac_envvar in #(
2341 '' | [0-9]* | *[!_$as_cr_alnum]* )
2342 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2343 esac
2344 eval $ac_envvar=\$ac_optarg
2345 export $ac_envvar ;;
2348 # FIXME: should be removed in autoconf 3.0.
2349 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2350 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2351 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2352 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2355 esac
2356 done
2358 if test -n "$ac_prev"; then
2359 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2360 as_fn_error $? "missing argument to $ac_option"
2363 if test -n "$ac_unrecognized_opts"; then
2364 case $enable_option_checking in
2365 no) ;;
2366 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2367 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2368 esac
2371 # Check all directory arguments for consistency.
2372 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2373 datadir sysconfdir sharedstatedir localstatedir includedir \
2374 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2375 libdir localedir mandir runstatedir
2377 eval ac_val=\$$ac_var
2378 # Remove trailing slashes.
2379 case $ac_val in
2380 */ )
2381 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2382 eval $ac_var=\$ac_val;;
2383 esac
2384 # Be sure to have absolute directory names.
2385 case $ac_val in
2386 [\\/$]* | ?:[\\/]* ) continue;;
2387 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2388 esac
2389 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2390 done
2392 # There might be people who depend on the old broken behavior: `$host'
2393 # used to hold the argument of --host etc.
2394 # FIXME: To remove some day.
2395 build=$build_alias
2396 host=$host_alias
2397 target=$target_alias
2399 # FIXME: To remove some day.
2400 if test "x$host_alias" != x; then
2401 if test "x$build_alias" = x; then
2402 cross_compiling=maybe
2403 elif test "x$build_alias" != "x$host_alias"; then
2404 cross_compiling=yes
2408 ac_tool_prefix=
2409 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2411 test "$silent" = yes && exec 6>/dev/null
2414 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2415 ac_ls_di=`ls -di .` &&
2416 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2417 as_fn_error $? "working directory cannot be determined"
2418 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2419 as_fn_error $? "pwd does not report name of working directory"
2422 # Find the source files, if location was not specified.
2423 if test -z "$srcdir"; then
2424 ac_srcdir_defaulted=yes
2425 # Try the directory containing this script, then the parent directory.
2426 ac_confdir=`$as_dirname -- "$as_myself" ||
2427 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2428 X"$as_myself" : 'X\(//\)[^/]' \| \
2429 X"$as_myself" : 'X\(//\)$' \| \
2430 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2431 $as_echo X"$as_myself" |
2432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2433 s//\1/
2436 /^X\(\/\/\)[^/].*/{
2437 s//\1/
2440 /^X\(\/\/\)$/{
2441 s//\1/
2444 /^X\(\/\).*/{
2445 s//\1/
2448 s/.*/./; q'`
2449 srcdir=$ac_confdir
2450 if test ! -r "$srcdir/$ac_unique_file"; then
2451 srcdir=..
2453 else
2454 ac_srcdir_defaulted=no
2456 if test ! -r "$srcdir/$ac_unique_file"; then
2457 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2458 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2460 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2461 ac_abs_confdir=`(
2462 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2463 pwd)`
2464 # When building in place, set srcdir=.
2465 if test "$ac_abs_confdir" = "$ac_pwd"; then
2466 srcdir=.
2468 # Remove unnecessary trailing slashes from srcdir.
2469 # Double slashes in file names in object file debugging info
2470 # mess up M-x gdb in Emacs.
2471 case $srcdir in
2472 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2473 esac
2474 for ac_var in $ac_precious_vars; do
2475 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2476 eval ac_env_${ac_var}_value=\$${ac_var}
2477 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2478 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2479 done
2482 # Report the --help message.
2484 if test "$ac_init_help" = "long"; then
2485 # Omit some internal or obsolete options to make the list less imposing.
2486 # This message is too long to be a string in the A/UX 3.1 sh.
2487 cat <<_ACEOF
2488 \`configure' configures Wine 5.19 to adapt to many kinds of systems.
2490 Usage: $0 [OPTION]... [VAR=VALUE]...
2492 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2493 VAR=VALUE. See below for descriptions of some of the useful variables.
2495 Defaults for the options are specified in brackets.
2497 Configuration:
2498 -h, --help display this help and exit
2499 --help=short display options specific to this package
2500 --help=recursive display the short help of all the included packages
2501 -V, --version display version information and exit
2502 -q, --quiet, --silent do not print \`checking ...' messages
2503 --cache-file=FILE cache test results in FILE [disabled]
2504 -C, --config-cache alias for \`--cache-file=config.cache'
2505 -n, --no-create do not create output files
2506 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2508 Installation directories:
2509 --prefix=PREFIX install architecture-independent files in PREFIX
2510 [$ac_default_prefix]
2511 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2512 [PREFIX]
2514 By default, \`make install' will install all the files in
2515 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2516 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2517 for instance \`--prefix=\$HOME'.
2519 For better control, use the options below.
2521 Fine tuning of the installation directories:
2522 --bindir=DIR user executables [EPREFIX/bin]
2523 --sbindir=DIR system admin executables [EPREFIX/sbin]
2524 --libexecdir=DIR program executables [EPREFIX/libexec]
2525 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2526 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2527 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2528 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2529 --libdir=DIR object code libraries [EPREFIX/lib]
2530 --includedir=DIR C header files [PREFIX/include]
2531 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2532 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2533 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2534 --infodir=DIR info documentation [DATAROOTDIR/info]
2535 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2536 --mandir=DIR man documentation [DATAROOTDIR/man]
2537 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2538 --htmldir=DIR html documentation [DOCDIR]
2539 --dvidir=DIR dvi documentation [DOCDIR]
2540 --pdfdir=DIR pdf documentation [DOCDIR]
2541 --psdir=DIR ps documentation [DOCDIR]
2542 _ACEOF
2544 cat <<\_ACEOF
2546 X features:
2547 --x-includes=DIR X include files are in DIR
2548 --x-libraries=DIR X library files are in DIR
2550 System types:
2551 --build=BUILD configure for building on BUILD [guessed]
2552 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2553 _ACEOF
2556 if test -n "$ac_init_help"; then
2557 case $ac_init_help in
2558 short | recursive ) echo "Configuration of Wine 5.19:";;
2559 esac
2560 cat <<\_ACEOF
2562 Optional Features:
2563 --disable-option-checking ignore unrecognized --enable/--with options
2564 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2565 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2566 --disable-win16 do not include Win16 support
2567 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2568 binaries)
2569 --disable-tests do not build the regression tests
2570 --enable-maintainer-mode
2571 enable maintainer-specific build rules
2572 --enable-werror treat compilation warnings as errors
2573 --disable-largefile omit support for large files
2575 Optional Packages:
2576 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2577 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2578 --without-alsa do not use the Alsa sound support
2579 --without-capi do not use CAPI (ISDN support)
2580 --without-cms do not use CMS (color management support)
2581 --without-coreaudio do not use the CoreAudio sound support
2582 --without-cups do not use CUPS
2583 --without-dbus do not use DBus (dynamic device support)
2584 --without-faudio do not use FAudio (XAudio2 support)
2585 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2586 --without-fontconfig do not use fontconfig
2587 --without-freetype do not use the FreeType library
2588 --without-gettext do not use gettext
2589 --with-gettextpo use the GetTextPO library to rebuild po files
2590 --without-gphoto do not use gphoto (Digital Camera support)
2591 --without-glu do not use the GLU library
2592 --without-gnutls do not use GnuTLS (schannel support)
2593 --without-gsm do not use libgsm (GSM 06.10 codec support)
2594 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2595 --without-gstreamer do not use GStreamer (codecs support)
2596 --without-hal do not use HAL (dynamic device support)
2597 --without-inotify do not use inotify (filesystem change notifications)
2598 --without-jpeg do not use JPEG
2599 --without-krb5 do not use krb5 (Kerberos)
2600 --without-ldap do not use LDAP
2601 --without-mingw do not use the MinGW cross-compiler
2602 --without-mpg123 do not use the mpg123 library
2603 --without-netapi do not use the Samba NetAPI library
2604 --without-openal do not use OpenAL
2605 --without-opencl do not use OpenCL
2606 --without-opengl do not use OpenGL
2607 --without-osmesa do not use the OSMesa library
2608 --without-oss do not use the OSS sound support
2609 --without-pcap do not use the Packet Capture library
2610 --without-png do not use PNG
2611 --without-pthread do not use the pthread library
2612 --without-pulse do not use PulseAudio sound support
2613 --without-quicktime do not use QuickTime support
2614 --without-sane do not use SANE (scanner support)
2615 --without-sdl do not use SDL
2616 --without-tiff do not use TIFF
2617 --without-udev do not use udev (plug and play support)
2618 --without-unwind do not use the libunwind library (exception
2619 handling)
2620 --without-usb do not use the libusb library
2621 --without-v4l2 do not use v4l2 (video capture)
2622 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2623 --without-vulkan do not use Vulkan
2624 --without-xcomposite do not use the Xcomposite extension
2625 --without-xcursor do not use the Xcursor extension
2626 --without-xfixes do not use Xfixes for clipboard change notifications
2627 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2628 --without-xinput do not use the Xinput extension
2629 --without-xinput2 do not use the Xinput 2 extension
2630 --without-xml do not use XML
2631 --without-xrandr do not use Xrandr (multi-monitor support)
2632 --without-xrender do not use the Xrender extension
2633 --without-xshape do not use the Xshape extension
2634 --without-xshm do not use XShm (shared memory extension)
2635 --without-xslt do not use XSLT
2636 --without-xxf86vm do not use XFree video mode extension
2637 --with-wine-tools=DIR use Wine tools from directory DIR
2638 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2639 --with-x use the X Window System
2641 Some influential environment variables:
2642 CC C compiler command
2643 CFLAGS C compiler flags
2644 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2645 nonstandard directory <lib dir>
2646 LIBS libraries to pass to the linker, e.g. -l<library>
2647 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2648 you have headers in a nonstandard directory <include dir>
2649 CXX C++ compiler command
2650 CXXFLAGS C++ compiler flags
2651 CPP C preprocessor
2652 OBJC Objective C compiler command
2653 OBJCFLAGS Objective C compiler flags
2654 OBJCPP Objective C preprocessor
2655 XMKMF Path to xmkmf, Makefile generator for X Window System
2656 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2657 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2658 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2659 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2660 INOTIFY_CFLAGS
2661 C compiler flags for libinotify, overriding pkg-config
2662 INOTIFY_LIBS
2663 Linker flags for libinotify, overriding pkg-config
2664 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2665 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2666 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2667 HAL_LIBS Linker flags for hal, overriding pkg-config
2668 GNUTLS_CFLAGS
2669 C compiler flags for gnutls, overriding pkg-config
2670 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2671 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2672 SANE_LIBS Linker flags for libsane, overriding pkg-config
2673 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2674 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2675 GPHOTO2_CFLAGS
2676 C compiler flags for libgphoto2, overriding pkg-config
2677 GPHOTO2_LIBS
2678 Linker flags for libgphoto2, overriding pkg-config
2679 GPHOTO2_PORT_CFLAGS
2680 C compiler flags for libgphoto2_port, overriding pkg-config
2681 GPHOTO2_PORT_LIBS
2682 Linker flags for libgphoto2_port, overriding pkg-config
2683 LCMS2_CFLAGS
2684 C compiler flags for lcms2, overriding pkg-config
2685 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2686 FREETYPE_CFLAGS
2687 C compiler flags for freetype2, overriding pkg-config
2688 FREETYPE_LIBS
2689 Linker flags for freetype2, overriding pkg-config
2690 PULSE_CFLAGS
2691 C compiler flags for libpulse, overriding pkg-config
2692 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2693 GSTREAMER_CFLAGS
2694 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2695 gstreamer-audio-1.0, overriding pkg-config
2696 GSTREAMER_LIBS
2697 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2698 gstreamer-audio-1.0, overriding pkg-config
2699 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2700 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2701 UNWIND_CFLAGS
2702 C compiler flags for libunwind, overriding pkg-config
2703 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2704 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2705 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2706 FAUDIO_CFLAGS
2707 C compiler flags for faudio, overriding pkg-config
2708 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2709 CAPI20_CFLAGS
2710 C compiler flags for capi20, overriding pkg-config
2711 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2712 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2713 CUPS_LIBS Linker flags for cups, overriding pkg-config
2714 FONTCONFIG_CFLAGS
2715 C compiler flags for fontconfig, overriding pkg-config
2716 FONTCONFIG_LIBS
2717 Linker flags for fontconfig, overriding pkg-config
2718 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2719 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2720 GSSAPI_CFLAGS
2721 C compiler flags for krb5-gssapi, overriding pkg-config
2722 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2723 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2724 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2725 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2726 PNG_LIBS Linker flags for libpng, overriding pkg-config
2727 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2728 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2729 MPG123_CFLAGS
2730 C compiler flags for libmpg123, overriding pkg-config
2731 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2732 NETAPI_CFLAGS
2733 C compiler flags for netapi, overriding pkg-config
2734 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2735 VKD3D_CFLAGS
2736 C compiler flags for libvkd3d, overriding pkg-config
2737 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2738 VKD3D_SHADER_CFLAGS
2739 C compiler flags for libvkd3d-shader, overriding pkg-config
2740 VKD3D_SHADER_LIBS
2741 Linker flags for libvkd3d-shader, overriding pkg-config
2742 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2743 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2745 Use these variables to override the choices made by `configure' or to help
2746 it to find libraries and programs with nonstandard names/locations.
2748 Report bugs to <wine-devel@winehq.org>.
2749 Wine home page: <https://www.winehq.org>.
2750 _ACEOF
2751 ac_status=$?
2754 if test "$ac_init_help" = "recursive"; then
2755 # If there are subdirs, report their specific --help.
2756 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2757 test -d "$ac_dir" ||
2758 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2759 continue
2760 ac_builddir=.
2762 case "$ac_dir" in
2763 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2765 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2766 # A ".." for each directory in $ac_dir_suffix.
2767 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2768 case $ac_top_builddir_sub in
2769 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2770 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2771 esac ;;
2772 esac
2773 ac_abs_top_builddir=$ac_pwd
2774 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2775 # for backward compatibility:
2776 ac_top_builddir=$ac_top_build_prefix
2778 case $srcdir in
2779 .) # We are building in place.
2780 ac_srcdir=.
2781 ac_top_srcdir=$ac_top_builddir_sub
2782 ac_abs_top_srcdir=$ac_pwd ;;
2783 [\\/]* | ?:[\\/]* ) # Absolute name.
2784 ac_srcdir=$srcdir$ac_dir_suffix;
2785 ac_top_srcdir=$srcdir
2786 ac_abs_top_srcdir=$srcdir ;;
2787 *) # Relative name.
2788 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2789 ac_top_srcdir=$ac_top_build_prefix$srcdir
2790 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2791 esac
2792 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2794 cd "$ac_dir" || { ac_status=$?; continue; }
2795 # Check for guested configure.
2796 if test -f "$ac_srcdir/configure.gnu"; then
2797 echo &&
2798 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2799 elif test -f "$ac_srcdir/configure"; then
2800 echo &&
2801 $SHELL "$ac_srcdir/configure" --help=recursive
2802 else
2803 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2804 fi || ac_status=$?
2805 cd "$ac_pwd" || { ac_status=$?; break; }
2806 done
2809 test -n "$ac_init_help" && exit $ac_status
2810 if $ac_init_version; then
2811 cat <<\_ACEOF
2812 Wine configure 5.19
2813 generated by GNU Autoconf 2.69
2815 Copyright (C) 2012 Free Software Foundation, Inc.
2816 This configure script is free software; the Free Software Foundation
2817 gives unlimited permission to copy, distribute and modify it.
2818 _ACEOF
2819 exit
2822 ## ------------------------ ##
2823 ## Autoconf initialization. ##
2824 ## ------------------------ ##
2826 # ac_fn_c_try_compile LINENO
2827 # --------------------------
2828 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2829 ac_fn_c_try_compile ()
2831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2832 rm -f conftest.$ac_objext
2833 if { { ac_try="$ac_compile"
2834 case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839 $as_echo "$ac_try_echo"; } >&5
2840 (eval "$ac_compile") 2>conftest.err
2841 ac_status=$?
2842 if test -s conftest.err; then
2843 grep -v '^ *+' conftest.err >conftest.er1
2844 cat conftest.er1 >&5
2845 mv -f conftest.er1 conftest.err
2847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848 test $ac_status = 0; } && {
2849 test -z "$ac_c_werror_flag" ||
2850 test ! -s conftest.err
2851 } && test -s conftest.$ac_objext; then :
2852 ac_retval=0
2853 else
2854 $as_echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.$ac_ext >&5
2857 ac_retval=1
2859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2860 as_fn_set_status $ac_retval
2862 } # ac_fn_c_try_compile
2864 # ac_fn_cxx_try_compile LINENO
2865 # ----------------------------
2866 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2867 ac_fn_cxx_try_compile ()
2869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2870 rm -f conftest.$ac_objext
2871 if { { ac_try="$ac_compile"
2872 case "(($ac_try" in
2873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2874 *) ac_try_echo=$ac_try;;
2875 esac
2876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2877 $as_echo "$ac_try_echo"; } >&5
2878 (eval "$ac_compile") 2>conftest.err
2879 ac_status=$?
2880 if test -s conftest.err; then
2881 grep -v '^ *+' conftest.err >conftest.er1
2882 cat conftest.er1 >&5
2883 mv -f conftest.er1 conftest.err
2885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2886 test $ac_status = 0; } && {
2887 test -z "$ac_cxx_werror_flag" ||
2888 test ! -s conftest.err
2889 } && test -s conftest.$ac_objext; then :
2890 ac_retval=0
2891 else
2892 $as_echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2895 ac_retval=1
2897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2898 as_fn_set_status $ac_retval
2900 } # ac_fn_cxx_try_compile
2902 # ac_fn_c_try_link LINENO
2903 # -----------------------
2904 # Try to link conftest.$ac_ext, and return whether this succeeded.
2905 ac_fn_c_try_link ()
2907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2908 rm -f conftest.$ac_objext conftest$ac_exeext
2909 if { { ac_try="$ac_link"
2910 case "(($ac_try" in
2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2913 esac
2914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2915 $as_echo "$ac_try_echo"; } >&5
2916 (eval "$ac_link") 2>conftest.err
2917 ac_status=$?
2918 if test -s conftest.err; then
2919 grep -v '^ *+' conftest.err >conftest.er1
2920 cat conftest.er1 >&5
2921 mv -f conftest.er1 conftest.err
2923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2924 test $ac_status = 0; } && {
2925 test -z "$ac_c_werror_flag" ||
2926 test ! -s conftest.err
2927 } && test -s conftest$ac_exeext && {
2928 test "$cross_compiling" = yes ||
2929 test -x conftest$ac_exeext
2930 }; then :
2931 ac_retval=0
2932 else
2933 $as_echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2936 ac_retval=1
2938 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2939 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2940 # interfere with the next link command; also delete a directory that is
2941 # left behind by Apple's compiler. We do this before executing the actions.
2942 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2944 as_fn_set_status $ac_retval
2946 } # ac_fn_c_try_link
2948 # ac_fn_c_try_cpp LINENO
2949 # ----------------------
2950 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2951 ac_fn_c_try_cpp ()
2953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2954 if { { ac_try="$ac_cpp conftest.$ac_ext"
2955 case "(($ac_try" in
2956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957 *) ac_try_echo=$ac_try;;
2958 esac
2959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2960 $as_echo "$ac_try_echo"; } >&5
2961 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2962 ac_status=$?
2963 if test -s conftest.err; then
2964 grep -v '^ *+' conftest.err >conftest.er1
2965 cat conftest.er1 >&5
2966 mv -f conftest.er1 conftest.err
2968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2969 test $ac_status = 0; } > conftest.i && {
2970 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2971 test ! -s conftest.err
2972 }; then :
2973 ac_retval=0
2974 else
2975 $as_echo "$as_me: failed program was:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2978 ac_retval=1
2980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2981 as_fn_set_status $ac_retval
2983 } # ac_fn_c_try_cpp
2985 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2986 # -------------------------------------------------------
2987 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2988 # the include files in INCLUDES and setting the cache variable VAR
2989 # accordingly.
2990 ac_fn_c_check_header_mongrel ()
2992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2993 if eval \${$3+:} false; then :
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2995 $as_echo_n "checking for $2... " >&6; }
2996 if eval \${$3+:} false; then :
2997 $as_echo_n "(cached) " >&6
2999 eval ac_res=\$$3
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3001 $as_echo "$ac_res" >&6; }
3002 else
3003 # Is the header compilable?
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3005 $as_echo_n "checking $2 usability... " >&6; }
3006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007 /* end confdefs.h. */
3009 #include <$2>
3010 _ACEOF
3011 if ac_fn_c_try_compile "$LINENO"; then :
3012 ac_header_compiler=yes
3013 else
3014 ac_header_compiler=no
3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3018 $as_echo "$ac_header_compiler" >&6; }
3020 # Is the header present?
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3022 $as_echo_n "checking $2 presence... " >&6; }
3023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024 /* end confdefs.h. */
3025 #include <$2>
3026 _ACEOF
3027 if ac_fn_c_try_cpp "$LINENO"; then :
3028 ac_header_preproc=yes
3029 else
3030 ac_header_preproc=no
3032 rm -f conftest.err conftest.i conftest.$ac_ext
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3034 $as_echo "$ac_header_preproc" >&6; }
3036 # So? What about this header?
3037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3038 yes:no: )
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3040 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3042 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3044 no:yes:* )
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3046 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3048 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3050 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3052 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3054 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3055 ( $as_echo "## ------------------------------------ ##
3056 ## Report this to wine-devel@winehq.org ##
3057 ## ------------------------------------ ##"
3058 ) | sed "s/^/$as_me: WARNING: /" >&2
3060 esac
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3062 $as_echo_n "checking for $2... " >&6; }
3063 if eval \${$3+:} false; then :
3064 $as_echo_n "(cached) " >&6
3065 else
3066 eval "$3=\$ac_header_compiler"
3068 eval ac_res=\$$3
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3070 $as_echo "$ac_res" >&6; }
3072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3074 } # ac_fn_c_check_header_mongrel
3076 # ac_fn_c_try_run LINENO
3077 # ----------------------
3078 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3079 # that executables *can* be run.
3080 ac_fn_c_try_run ()
3082 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3083 if { { ac_try="$ac_link"
3084 case "(($ac_try" in
3085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3086 *) ac_try_echo=$ac_try;;
3087 esac
3088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3089 $as_echo "$ac_try_echo"; } >&5
3090 (eval "$ac_link") 2>&5
3091 ac_status=$?
3092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3093 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3094 { { case "(($ac_try" in
3095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3096 *) ac_try_echo=$ac_try;;
3097 esac
3098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3099 $as_echo "$ac_try_echo"; } >&5
3100 (eval "$ac_try") 2>&5
3101 ac_status=$?
3102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3103 test $ac_status = 0; }; }; then :
3104 ac_retval=0
3105 else
3106 $as_echo "$as_me: program exited with status $ac_status" >&5
3107 $as_echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.$ac_ext >&5
3110 ac_retval=$ac_status
3112 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3114 as_fn_set_status $ac_retval
3116 } # ac_fn_c_try_run
3118 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3119 # -------------------------------------------------------
3120 # Tests whether HEADER exists and can be compiled using the include files in
3121 # INCLUDES, setting the cache variable VAR accordingly.
3122 ac_fn_c_check_header_compile ()
3124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3126 $as_echo_n "checking for $2... " >&6; }
3127 if eval \${$3+:} false; then :
3128 $as_echo_n "(cached) " >&6
3129 else
3130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131 /* end confdefs.h. */
3133 #include <$2>
3134 _ACEOF
3135 if ac_fn_c_try_compile "$LINENO"; then :
3136 eval "$3=yes"
3137 else
3138 eval "$3=no"
3140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3142 eval ac_res=\$$3
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3144 $as_echo "$ac_res" >&6; }
3145 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3147 } # ac_fn_c_check_header_compile
3149 # ac_fn_objc_try_compile LINENO
3150 # -----------------------------
3151 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3152 ac_fn_objc_try_compile ()
3154 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3155 rm -f conftest.$ac_objext
3156 if { { ac_try="$ac_compile"
3157 case "(($ac_try" in
3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3159 *) ac_try_echo=$ac_try;;
3160 esac
3161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3162 $as_echo "$ac_try_echo"; } >&5
3163 (eval "$ac_compile") 2>conftest.err
3164 ac_status=$?
3165 if test -s conftest.err; then
3166 grep -v '^ *+' conftest.err >conftest.er1
3167 cat conftest.er1 >&5
3168 mv -f conftest.er1 conftest.err
3170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3171 test $ac_status = 0; } && {
3172 test -z "$ac_objc_werror_flag" ||
3173 test ! -s conftest.err
3174 } && test -s conftest.$ac_objext; then :
3175 ac_retval=0
3176 else
3177 $as_echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.$ac_ext >&5
3180 ac_retval=1
3182 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3183 as_fn_set_status $ac_retval
3185 } # ac_fn_objc_try_compile
3187 # ac_fn_objc_try_cpp LINENO
3188 # -------------------------
3189 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3190 ac_fn_objc_try_cpp ()
3192 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3193 if { { ac_try="$ac_cpp conftest.$ac_ext"
3194 case "(($ac_try" in
3195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3196 *) ac_try_echo=$ac_try;;
3197 esac
3198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3199 $as_echo "$ac_try_echo"; } >&5
3200 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3201 ac_status=$?
3202 if test -s conftest.err; then
3203 grep -v '^ *+' conftest.err >conftest.er1
3204 cat conftest.er1 >&5
3205 mv -f conftest.er1 conftest.err
3207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3208 test $ac_status = 0; } > conftest.i && {
3209 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3210 test ! -s conftest.err
3211 }; then :
3212 ac_retval=0
3213 else
3214 $as_echo "$as_me: failed program was:" >&5
3215 sed 's/^/| /' conftest.$ac_ext >&5
3217 ac_retval=1
3219 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3220 as_fn_set_status $ac_retval
3222 } # ac_fn_objc_try_cpp
3224 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3225 # ----------------------------------------------------------
3226 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3227 # the include files in INCLUDES and setting the cache variable VAR
3228 # accordingly.
3229 ac_fn_objc_check_header_mongrel ()
3231 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3232 if eval \${$3+:} false; then :
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3234 $as_echo_n "checking for $2... " >&6; }
3235 if eval \${$3+:} false; then :
3236 $as_echo_n "(cached) " >&6
3238 eval ac_res=\$$3
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3240 $as_echo "$ac_res" >&6; }
3241 else
3242 # Is the header compilable?
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3244 $as_echo_n "checking $2 usability... " >&6; }
3245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3246 /* end confdefs.h. */
3248 #include <$2>
3249 _ACEOF
3250 if ac_fn_objc_try_compile "$LINENO"; then :
3251 ac_header_compiler=yes
3252 else
3253 ac_header_compiler=no
3255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3257 $as_echo "$ac_header_compiler" >&6; }
3259 # Is the header present?
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3261 $as_echo_n "checking $2 presence... " >&6; }
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3264 #include <$2>
3265 _ACEOF
3266 if ac_fn_objc_try_cpp "$LINENO"; then :
3267 ac_header_preproc=yes
3268 else
3269 ac_header_preproc=no
3271 rm -f conftest.err conftest.i conftest.$ac_ext
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3273 $as_echo "$ac_header_preproc" >&6; }
3275 # So? What about this header?
3276 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3277 yes:no: )
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3279 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3281 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3283 no:yes:* )
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3285 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3287 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3289 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3291 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3293 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3294 ( $as_echo "## ------------------------------------ ##
3295 ## Report this to wine-devel@winehq.org ##
3296 ## ------------------------------------ ##"
3297 ) | sed "s/^/$as_me: WARNING: /" >&2
3299 esac
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3301 $as_echo_n "checking for $2... " >&6; }
3302 if eval \${$3+:} false; then :
3303 $as_echo_n "(cached) " >&6
3304 else
3305 eval "$3=\$ac_header_compiler"
3307 eval ac_res=\$$3
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3309 $as_echo "$ac_res" >&6; }
3311 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3313 } # ac_fn_objc_check_header_mongrel
3315 # ac_fn_c_check_func LINENO FUNC VAR
3316 # ----------------------------------
3317 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3318 ac_fn_c_check_func ()
3320 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3322 $as_echo_n "checking for $2... " >&6; }
3323 if eval \${$3+:} false; then :
3324 $as_echo_n "(cached) " >&6
3325 else
3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3328 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3330 #define $2 innocuous_$2
3332 /* System header to define __stub macros and hopefully few prototypes,
3333 which can conflict with char $2 (); below.
3334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3335 <limits.h> exists even on freestanding compilers. */
3337 #ifdef __STDC__
3338 # include <limits.h>
3339 #else
3340 # include <assert.h>
3341 #endif
3343 #undef $2
3345 /* Override any GCC internal prototype to avoid an error.
3346 Use char because int might match the return type of a GCC
3347 builtin and then its argument prototype would still apply. */
3348 #ifdef __cplusplus
3349 extern "C"
3350 #endif
3351 char $2 ();
3352 /* The GNU C library defines this for functions which it implements
3353 to always fail with ENOSYS. Some functions are actually named
3354 something starting with __ and the normal name is an alias. */
3355 #if defined __stub_$2 || defined __stub___$2
3356 choke me
3357 #endif
3360 main ()
3362 return $2 ();
3364 return 0;
3366 _ACEOF
3367 if ac_fn_c_try_link "$LINENO"; then :
3368 eval "$3=yes"
3369 else
3370 eval "$3=no"
3372 rm -f core conftest.err conftest.$ac_objext \
3373 conftest$ac_exeext conftest.$ac_ext
3375 eval ac_res=\$$3
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3377 $as_echo "$ac_res" >&6; }
3378 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3380 } # ac_fn_c_check_func
3382 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3383 # ----------------------------------------------------
3384 # Tries to find if the field MEMBER exists in type AGGR, after including
3385 # INCLUDES, setting cache variable VAR accordingly.
3386 ac_fn_c_check_member ()
3388 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3390 $as_echo_n "checking for $2.$3... " >&6; }
3391 if eval \${$4+:} false; then :
3392 $as_echo_n "(cached) " >&6
3393 else
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3398 main ()
3400 static $2 ac_aggr;
3401 if (ac_aggr.$3)
3402 return 0;
3404 return 0;
3406 _ACEOF
3407 if ac_fn_c_try_compile "$LINENO"; then :
3408 eval "$4=yes"
3409 else
3410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3414 main ()
3416 static $2 ac_aggr;
3417 if (sizeof ac_aggr.$3)
3418 return 0;
3420 return 0;
3422 _ACEOF
3423 if ac_fn_c_try_compile "$LINENO"; then :
3424 eval "$4=yes"
3425 else
3426 eval "$4=no"
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 eval ac_res=\$$4
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3434 $as_echo "$ac_res" >&6; }
3435 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3437 } # ac_fn_c_check_member
3439 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3440 # -------------------------------------------
3441 # Tests whether TYPE exists after having included INCLUDES, setting cache
3442 # variable VAR accordingly.
3443 ac_fn_c_check_type ()
3445 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3447 $as_echo_n "checking for $2... " >&6; }
3448 if eval \${$3+:} false; then :
3449 $as_echo_n "(cached) " >&6
3450 else
3451 eval "$3=no"
3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453 /* end confdefs.h. */
3456 main ()
3458 if (sizeof ($2))
3459 return 0;
3461 return 0;
3463 _ACEOF
3464 if ac_fn_c_try_compile "$LINENO"; then :
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3469 main ()
3471 if (sizeof (($2)))
3472 return 0;
3474 return 0;
3476 _ACEOF
3477 if ac_fn_c_try_compile "$LINENO"; then :
3479 else
3480 eval "$3=yes"
3482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3486 eval ac_res=\$$3
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3488 $as_echo "$ac_res" >&6; }
3489 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3491 } # ac_fn_c_check_type
3492 cat >config.log <<_ACEOF
3493 This file contains any messages produced by compilers while
3494 running configure, to aid debugging if configure makes a mistake.
3496 It was created by Wine $as_me 5.19, which was
3497 generated by GNU Autoconf 2.69. Invocation command line was
3499 $ $0 $@
3501 _ACEOF
3502 exec 5>>config.log
3504 cat <<_ASUNAME
3505 ## --------- ##
3506 ## Platform. ##
3507 ## --------- ##
3509 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3510 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3511 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3512 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3513 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3515 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3516 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3518 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3519 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3520 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3521 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3522 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3523 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3524 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3526 _ASUNAME
3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529 for as_dir in $PATH
3531 IFS=$as_save_IFS
3532 test -z "$as_dir" && as_dir=.
3533 $as_echo "PATH: $as_dir"
3534 done
3535 IFS=$as_save_IFS
3537 } >&5
3539 cat >&5 <<_ACEOF
3542 ## ----------- ##
3543 ## Core tests. ##
3544 ## ----------- ##
3546 _ACEOF
3549 # Keep a trace of the command line.
3550 # Strip out --no-create and --no-recursion so they do not pile up.
3551 # Strip out --silent because we don't want to record it for future runs.
3552 # Also quote any args containing shell meta-characters.
3553 # Make two passes to allow for proper duplicate-argument suppression.
3554 ac_configure_args=
3555 ac_configure_args0=
3556 ac_configure_args1=
3557 ac_must_keep_next=false
3558 for ac_pass in 1 2
3560 for ac_arg
3562 case $ac_arg in
3563 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3564 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3565 | -silent | --silent | --silen | --sile | --sil)
3566 continue ;;
3567 *\'*)
3568 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3569 esac
3570 case $ac_pass in
3571 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3573 as_fn_append ac_configure_args1 " '$ac_arg'"
3574 if test $ac_must_keep_next = true; then
3575 ac_must_keep_next=false # Got value, back to normal.
3576 else
3577 case $ac_arg in
3578 *=* | --config-cache | -C | -disable-* | --disable-* \
3579 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3580 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3581 | -with-* | --with-* | -without-* | --without-* | --x)
3582 case "$ac_configure_args0 " in
3583 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3584 esac
3586 -* ) ac_must_keep_next=true ;;
3587 esac
3589 as_fn_append ac_configure_args " '$ac_arg'"
3591 esac
3592 done
3593 done
3594 { ac_configure_args0=; unset ac_configure_args0;}
3595 { ac_configure_args1=; unset ac_configure_args1;}
3597 # When interrupted or exit'd, cleanup temporary files, and complete
3598 # config.log. We remove comments because anyway the quotes in there
3599 # would cause problems or look ugly.
3600 # WARNING: Use '\'' to represent an apostrophe within the trap.
3601 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3602 trap 'exit_status=$?
3603 # Save into config.log some information that might help in debugging.
3605 echo
3607 $as_echo "## ---------------- ##
3608 ## Cache variables. ##
3609 ## ---------------- ##"
3610 echo
3611 # The following way of writing the cache mishandles newlines in values,
3613 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3614 eval ac_val=\$$ac_var
3615 case $ac_val in #(
3616 *${as_nl}*)
3617 case $ac_var in #(
3618 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3619 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3620 esac
3621 case $ac_var in #(
3622 _ | IFS | as_nl) ;; #(
3623 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3624 *) { eval $ac_var=; unset $ac_var;} ;;
3625 esac ;;
3626 esac
3627 done
3628 (set) 2>&1 |
3629 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3630 *${as_nl}ac_space=\ *)
3631 sed -n \
3632 "s/'\''/'\''\\\\'\'''\''/g;
3633 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3634 ;; #(
3636 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3638 esac |
3639 sort
3641 echo
3643 $as_echo "## ----------------- ##
3644 ## Output variables. ##
3645 ## ----------------- ##"
3646 echo
3647 for ac_var in $ac_subst_vars
3649 eval ac_val=\$$ac_var
3650 case $ac_val in
3651 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3652 esac
3653 $as_echo "$ac_var='\''$ac_val'\''"
3654 done | sort
3655 echo
3657 if test -n "$ac_subst_files"; then
3658 $as_echo "## ------------------- ##
3659 ## File substitutions. ##
3660 ## ------------------- ##"
3661 echo
3662 for ac_var in $ac_subst_files
3664 eval ac_val=\$$ac_var
3665 case $ac_val in
3666 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3667 esac
3668 $as_echo "$ac_var='\''$ac_val'\''"
3669 done | sort
3670 echo
3673 if test -s confdefs.h; then
3674 $as_echo "## ----------- ##
3675 ## confdefs.h. ##
3676 ## ----------- ##"
3677 echo
3678 cat confdefs.h
3679 echo
3681 test "$ac_signal" != 0 &&
3682 $as_echo "$as_me: caught signal $ac_signal"
3683 $as_echo "$as_me: exit $exit_status"
3684 } >&5
3685 rm -f core *.core core.conftest.* &&
3686 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3687 exit $exit_status
3689 for ac_signal in 1 2 13 15; do
3690 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3691 done
3692 ac_signal=0
3694 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3695 rm -f -r conftest* confdefs.h
3697 $as_echo "/* confdefs.h */" > confdefs.h
3699 # Predefined preprocessor variables.
3701 cat >>confdefs.h <<_ACEOF
3702 #define PACKAGE_NAME "$PACKAGE_NAME"
3703 _ACEOF
3705 cat >>confdefs.h <<_ACEOF
3706 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3707 _ACEOF
3709 cat >>confdefs.h <<_ACEOF
3710 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3711 _ACEOF
3713 cat >>confdefs.h <<_ACEOF
3714 #define PACKAGE_STRING "$PACKAGE_STRING"
3715 _ACEOF
3717 cat >>confdefs.h <<_ACEOF
3718 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3719 _ACEOF
3721 cat >>confdefs.h <<_ACEOF
3722 #define PACKAGE_URL "$PACKAGE_URL"
3723 _ACEOF
3726 # Let the site file select an alternate cache file if it wants to.
3727 # Prefer an explicitly selected file to automatically selected ones.
3728 ac_site_file1=NONE
3729 ac_site_file2=NONE
3730 if test -n "$CONFIG_SITE"; then
3731 # We do not want a PATH search for config.site.
3732 case $CONFIG_SITE in #((
3733 -*) ac_site_file1=./$CONFIG_SITE;;
3734 */*) ac_site_file1=$CONFIG_SITE;;
3735 *) ac_site_file1=./$CONFIG_SITE;;
3736 esac
3737 elif test "x$prefix" != xNONE; then
3738 ac_site_file1=$prefix/share/config.site
3739 ac_site_file2=$prefix/etc/config.site
3740 else
3741 ac_site_file1=$ac_default_prefix/share/config.site
3742 ac_site_file2=$ac_default_prefix/etc/config.site
3744 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3746 test "x$ac_site_file" = xNONE && continue
3747 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3749 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3750 sed 's/^/| /' "$ac_site_file" >&5
3751 . "$ac_site_file" \
3752 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3754 as_fn_error $? "failed to load site script $ac_site_file
3755 See \`config.log' for more details" "$LINENO" 5; }
3757 done
3759 if test -r "$cache_file"; then
3760 # Some versions of bash will fail to source /dev/null (special files
3761 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3762 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3764 $as_echo "$as_me: loading cache $cache_file" >&6;}
3765 case $cache_file in
3766 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3767 *) . "./$cache_file";;
3768 esac
3770 else
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3772 $as_echo "$as_me: creating cache $cache_file" >&6;}
3773 >$cache_file
3776 # Check that the precious variables saved in the cache have kept the same
3777 # value.
3778 ac_cache_corrupted=false
3779 for ac_var in $ac_precious_vars; do
3780 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3781 eval ac_new_set=\$ac_env_${ac_var}_set
3782 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3783 eval ac_new_val=\$ac_env_${ac_var}_value
3784 case $ac_old_set,$ac_new_set in
3785 set,)
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3787 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3788 ac_cache_corrupted=: ;;
3789 ,set)
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3791 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3792 ac_cache_corrupted=: ;;
3793 ,);;
3795 if test "x$ac_old_val" != "x$ac_new_val"; then
3796 # differences in whitespace do not lead to failure.
3797 ac_old_val_w=`echo x $ac_old_val`
3798 ac_new_val_w=`echo x $ac_new_val`
3799 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3801 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3802 ac_cache_corrupted=:
3803 else
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3805 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3806 eval $ac_var=\$ac_old_val
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3809 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3811 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3812 fi;;
3813 esac
3814 # Pass precious variables to config.status.
3815 if test "$ac_new_set" = set; then
3816 case $ac_new_val in
3817 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3818 *) ac_arg=$ac_var=$ac_new_val ;;
3819 esac
3820 case " $ac_configure_args " in
3821 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3822 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3823 esac
3825 done
3826 if $ac_cache_corrupted; then
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3830 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3831 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3833 ## -------------------- ##
3834 ## Main body of script. ##
3835 ## -------------------- ##
3837 ac_ext=c
3838 ac_cpp='$CPP $CPPFLAGS'
3839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3845 ac_config_headers="$ac_config_headers include/config.h"
3847 ac_aux_dir=
3848 for ac_dir in tools "$srcdir"/tools; do
3849 if test -f "$ac_dir/install-sh"; then
3850 ac_aux_dir=$ac_dir
3851 ac_install_sh="$ac_aux_dir/install-sh -c"
3852 break
3853 elif test -f "$ac_dir/install.sh"; then
3854 ac_aux_dir=$ac_dir
3855 ac_install_sh="$ac_aux_dir/install.sh -c"
3856 break
3857 elif test -f "$ac_dir/shtool"; then
3858 ac_aux_dir=$ac_dir
3859 ac_install_sh="$ac_aux_dir/shtool install -c"
3860 break
3862 done
3863 if test -z "$ac_aux_dir"; then
3864 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3867 # These three variables are undocumented and unsupported,
3868 # and are intended to be withdrawn in a future Autoconf release.
3869 # They can cause serious problems if a builder's source tree is in a directory
3870 # whose full name contains unusual characters.
3871 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3872 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3873 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3877 libwine_version="1.0"
3881 # Check whether --enable-win16 was given.
3882 if test "${enable_win16+set}" = set; then :
3883 enableval=$enable_win16;
3886 # Check whether --enable-win64 was given.
3887 if test "${enable_win64+set}" = set; then :
3888 enableval=$enable_win64;
3891 # Check whether --enable-tests was given.
3892 if test "${enable_tests+set}" = set; then :
3893 enableval=$enable_tests;
3896 # Check whether --enable-maintainer-mode was given.
3897 if test "${enable_maintainer_mode+set}" = set; then :
3898 enableval=$enable_maintainer_mode;
3901 # Check whether --enable-werror was given.
3902 if test "${enable_werror+set}" = set; then :
3903 enableval=$enable_werror;
3908 # Check whether --with-alsa was given.
3909 if test "${with_alsa+set}" = set; then :
3910 withval=$with_alsa;
3914 # Check whether --with-capi was given.
3915 if test "${with_capi+set}" = set; then :
3916 withval=$with_capi;
3920 # Check whether --with-cms was given.
3921 if test "${with_cms+set}" = set; then :
3922 withval=$with_cms;
3926 # Check whether --with-coreaudio was given.
3927 if test "${with_coreaudio+set}" = set; then :
3928 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3932 # Check whether --with-cups was given.
3933 if test "${with_cups+set}" = set; then :
3934 withval=$with_cups;
3938 # Check whether --with-dbus was given.
3939 if test "${with_dbus+set}" = set; then :
3940 withval=$with_dbus;
3944 # Check whether --with-faudio was given.
3945 if test "${with_faudio+set}" = set; then :
3946 withval=$with_faudio;
3950 # Check whether --with-float-abi was given.
3951 if test "${with_float_abi+set}" = set; then :
3952 withval=$with_float_abi;
3956 # Check whether --with-fontconfig was given.
3957 if test "${with_fontconfig+set}" = set; then :
3958 withval=$with_fontconfig;
3962 # Check whether --with-freetype was given.
3963 if test "${with_freetype+set}" = set; then :
3964 withval=$with_freetype;
3968 # Check whether --with-gettext was given.
3969 if test "${with_gettext+set}" = set; then :
3970 withval=$with_gettext;
3974 # Check whether --with-gettextpo was given.
3975 if test "${with_gettextpo+set}" = set; then :
3976 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3980 # Check whether --with-gphoto was given.
3981 if test "${with_gphoto+set}" = set; then :
3982 withval=$with_gphoto;
3986 # Check whether --with-glu was given.
3987 if test "${with_glu+set}" = set; then :
3988 withval=$with_glu;
3992 # Check whether --with-gnutls was given.
3993 if test "${with_gnutls+set}" = set; then :
3994 withval=$with_gnutls;
3998 # Check whether --with-gsm was given.
3999 if test "${with_gsm+set}" = set; then :
4000 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4004 # Check whether --with-gssapi was given.
4005 if test "${with_gssapi+set}" = set; then :
4006 withval=$with_gssapi;
4010 # Check whether --with-gstreamer was given.
4011 if test "${with_gstreamer+set}" = set; then :
4012 withval=$with_gstreamer;
4016 # Check whether --with-hal was given.
4017 if test "${with_hal+set}" = set; then :
4018 withval=$with_hal;
4022 # Check whether --with-inotify was given.
4023 if test "${with_inotify+set}" = set; then :
4024 withval=$with_inotify;
4028 # Check whether --with-jpeg was given.
4029 if test "${with_jpeg+set}" = set; then :
4030 withval=$with_jpeg;
4034 # Check whether --with-krb5 was given.
4035 if test "${with_krb5+set}" = set; then :
4036 withval=$with_krb5;
4040 # Check whether --with-ldap was given.
4041 if test "${with_ldap+set}" = set; then :
4042 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4046 # Check whether --with-mingw was given.
4047 if test "${with_mingw+set}" = set; then :
4048 withval=$with_mingw;
4052 # Check whether --with-mpg123 was given.
4053 if test "${with_mpg123+set}" = set; then :
4054 withval=$with_mpg123;
4058 # Check whether --with-netapi was given.
4059 if test "${with_netapi+set}" = set; then :
4060 withval=$with_netapi;
4064 # Check whether --with-openal was given.
4065 if test "${with_openal+set}" = set; then :
4066 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4070 # Check whether --with-opencl was given.
4071 if test "${with_opencl+set}" = set; then :
4072 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4076 # Check whether --with-opengl was given.
4077 if test "${with_opengl+set}" = set; then :
4078 withval=$with_opengl;
4082 # Check whether --with-osmesa was given.
4083 if test "${with_osmesa+set}" = set; then :
4084 withval=$with_osmesa;
4088 # Check whether --with-oss was given.
4089 if test "${with_oss+set}" = set; then :
4090 withval=$with_oss;
4094 # Check whether --with-pcap was given.
4095 if test "${with_pcap+set}" = set; then :
4096 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4100 # Check whether --with-png was given.
4101 if test "${with_png+set}" = set; then :
4102 withval=$with_png;
4106 # Check whether --with-pthread was given.
4107 if test "${with_pthread+set}" = set; then :
4108 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4112 # Check whether --with-pulse was given.
4113 if test "${with_pulse+set}" = set; then :
4114 withval=$with_pulse;
4118 # Check whether --with-quicktime was given.
4119 if test "${with_quicktime+set}" = set; then :
4120 withval=$with_quicktime;
4124 # Check whether --with-sane was given.
4125 if test "${with_sane+set}" = set; then :
4126 withval=$with_sane;
4130 # Check whether --with-sdl was given.
4131 if test "${with_sdl+set}" = set; then :
4132 withval=$with_sdl;
4136 # Check whether --with-tiff was given.
4137 if test "${with_tiff+set}" = set; then :
4138 withval=$with_tiff;
4142 # Check whether --with-udev was given.
4143 if test "${with_udev+set}" = set; then :
4144 withval=$with_udev;
4148 # Check whether --with-unwind was given.
4149 if test "${with_unwind+set}" = set; then :
4150 withval=$with_unwind;
4154 # Check whether --with-usb was given.
4155 if test "${with_usb+set}" = set; then :
4156 withval=$with_usb;
4160 # Check whether --with-v4l2 was given.
4161 if test "${with_v4l2+set}" = set; then :
4162 withval=$with_v4l2;
4166 # Check whether --with-vkd3d was given.
4167 if test "${with_vkd3d+set}" = set; then :
4168 withval=$with_vkd3d;
4172 # Check whether --with-vulkan was given.
4173 if test "${with_vulkan+set}" = set; then :
4174 withval=$with_vulkan;
4178 # Check whether --with-xcomposite was given.
4179 if test "${with_xcomposite+set}" = set; then :
4180 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4184 # Check whether --with-xcursor was given.
4185 if test "${with_xcursor+set}" = set; then :
4186 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4190 # Check whether --with-xfixes was given.
4191 if test "${with_xfixes+set}" = set; then :
4192 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4196 # Check whether --with-xinerama was given.
4197 if test "${with_xinerama+set}" = set; then :
4198 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4202 # Check whether --with-xinput was given.
4203 if test "${with_xinput+set}" = set; then :
4204 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4208 # Check whether --with-xinput2 was given.
4209 if test "${with_xinput2+set}" = set; then :
4210 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4214 # Check whether --with-xml was given.
4215 if test "${with_xml+set}" = set; then :
4216 withval=$with_xml;
4220 # Check whether --with-xrandr was given.
4221 if test "${with_xrandr+set}" = set; then :
4222 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4226 # Check whether --with-xrender was given.
4227 if test "${with_xrender+set}" = set; then :
4228 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4232 # Check whether --with-xshape was given.
4233 if test "${with_xshape+set}" = set; then :
4234 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4238 # Check whether --with-xshm was given.
4239 if test "${with_xshm+set}" = set; then :
4240 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4244 # Check whether --with-xslt was given.
4245 if test "${with_xslt+set}" = set; then :
4246 withval=$with_xslt;
4250 # Check whether --with-xxf86vm was given.
4251 if test "${with_xxf86vm+set}" = set; then :
4252 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
4257 # Check whether --with-wine-tools was given.
4258 if test "${with_wine_tools+set}" = set; then :
4259 withval=$with_wine_tools;
4263 # Check whether --with-wine64 was given.
4264 if test "${with_wine64+set}" = set; then :
4265 withval=$with_wine64;
4269 # Make sure we can run config.sub.
4270 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4271 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4274 $as_echo_n "checking build system type... " >&6; }
4275 if ${ac_cv_build+:} false; then :
4276 $as_echo_n "(cached) " >&6
4277 else
4278 ac_build_alias=$build_alias
4279 test "x$ac_build_alias" = x &&
4280 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4281 test "x$ac_build_alias" = x &&
4282 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4283 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4284 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4288 $as_echo "$ac_cv_build" >&6; }
4289 case $ac_cv_build in
4290 *-*-*) ;;
4291 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4292 esac
4293 build=$ac_cv_build
4294 ac_save_IFS=$IFS; IFS='-'
4295 set x $ac_cv_build
4296 shift
4297 build_cpu=$1
4298 build_vendor=$2
4299 shift; shift
4300 # Remember, the first character of IFS is used to create $*,
4301 # except with old shells:
4302 build_os=$*
4303 IFS=$ac_save_IFS
4304 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4308 $as_echo_n "checking host system type... " >&6; }
4309 if ${ac_cv_host+:} false; then :
4310 $as_echo_n "(cached) " >&6
4311 else
4312 if test "x$host_alias" = x; then
4313 ac_cv_host=$ac_cv_build
4314 else
4315 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4316 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4321 $as_echo "$ac_cv_host" >&6; }
4322 case $ac_cv_host in
4323 *-*-*) ;;
4324 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4325 esac
4326 host=$ac_cv_host
4327 ac_save_IFS=$IFS; IFS='-'
4328 set x $ac_cv_host
4329 shift
4330 host_cpu=$1
4331 host_vendor=$2
4332 shift; shift
4333 # Remember, the first character of IFS is used to create $*,
4334 # except with old shells:
4335 host_os=$*
4336 IFS=$ac_save_IFS
4337 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4343 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4344 set x ${MAKE-make}
4345 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4346 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4347 $as_echo_n "(cached) " >&6
4348 else
4349 cat >conftest.make <<\_ACEOF
4350 SHELL = /bin/sh
4351 all:
4352 @echo '@@@%%%=$(MAKE)=@@@%%%'
4353 _ACEOF
4354 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4355 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4356 *@@@%%%=?*=@@@%%%*)
4357 eval ac_cv_prog_make_${ac_make}_set=yes;;
4359 eval ac_cv_prog_make_${ac_make}_set=no;;
4360 esac
4361 rm -f conftest.make
4363 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4365 $as_echo "yes" >&6; }
4366 SET_MAKE=
4367 else
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4369 $as_echo "no" >&6; }
4370 SET_MAKE="MAKE=${MAKE-make}"
4373 ac_ext=c
4374 ac_cpp='$CPP $CPPFLAGS'
4375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4378 if test -n "$ac_tool_prefix"; then
4379 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4380 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4382 $as_echo_n "checking for $ac_word... " >&6; }
4383 if ${ac_cv_prog_CC+:} false; then :
4384 $as_echo_n "(cached) " >&6
4385 else
4386 if test -n "$CC"; then
4387 ac_cv_prog_CC="$CC" # Let the user override the test.
4388 else
4389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4390 for as_dir in $PATH
4392 IFS=$as_save_IFS
4393 test -z "$as_dir" && as_dir=.
4394 for ac_exec_ext in '' $ac_executable_extensions; do
4395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4396 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 break 2
4400 done
4401 done
4402 IFS=$as_save_IFS
4406 CC=$ac_cv_prog_CC
4407 if test -n "$CC"; then
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4409 $as_echo "$CC" >&6; }
4410 else
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4412 $as_echo "no" >&6; }
4417 if test -z "$ac_cv_prog_CC"; then
4418 ac_ct_CC=$CC
4419 # Extract the first word of "gcc", so it can be a program name with args.
4420 set dummy gcc; ac_word=$2
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4422 $as_echo_n "checking for $ac_word... " >&6; }
4423 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4424 $as_echo_n "(cached) " >&6
4425 else
4426 if test -n "$ac_ct_CC"; then
4427 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4428 else
4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4430 for as_dir in $PATH
4432 IFS=$as_save_IFS
4433 test -z "$as_dir" && as_dir=.
4434 for ac_exec_ext in '' $ac_executable_extensions; do
4435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4436 ac_cv_prog_ac_ct_CC="gcc"
4437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 break 2
4440 done
4441 done
4442 IFS=$as_save_IFS
4446 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4447 if test -n "$ac_ct_CC"; then
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4449 $as_echo "$ac_ct_CC" >&6; }
4450 else
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4452 $as_echo "no" >&6; }
4455 if test "x$ac_ct_CC" = x; then
4456 CC=""
4457 else
4458 case $cross_compiling:$ac_tool_warned in
4459 yes:)
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4462 ac_tool_warned=yes ;;
4463 esac
4464 CC=$ac_ct_CC
4466 else
4467 CC="$ac_cv_prog_CC"
4470 if test -z "$CC"; then
4471 if test -n "$ac_tool_prefix"; then
4472 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4473 set dummy ${ac_tool_prefix}cc; ac_word=$2
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4475 $as_echo_n "checking for $ac_word... " >&6; }
4476 if ${ac_cv_prog_CC+:} false; then :
4477 $as_echo_n "(cached) " >&6
4478 else
4479 if test -n "$CC"; then
4480 ac_cv_prog_CC="$CC" # Let the user override the test.
4481 else
4482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483 for as_dir in $PATH
4485 IFS=$as_save_IFS
4486 test -z "$as_dir" && as_dir=.
4487 for ac_exec_ext in '' $ac_executable_extensions; do
4488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4489 ac_cv_prog_CC="${ac_tool_prefix}cc"
4490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 break 2
4493 done
4494 done
4495 IFS=$as_save_IFS
4499 CC=$ac_cv_prog_CC
4500 if test -n "$CC"; then
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4502 $as_echo "$CC" >&6; }
4503 else
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4505 $as_echo "no" >&6; }
4511 if test -z "$CC"; then
4512 # Extract the first word of "cc", so it can be a program name with args.
4513 set dummy cc; ac_word=$2
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4515 $as_echo_n "checking for $ac_word... " >&6; }
4516 if ${ac_cv_prog_CC+:} false; then :
4517 $as_echo_n "(cached) " >&6
4518 else
4519 if test -n "$CC"; then
4520 ac_cv_prog_CC="$CC" # Let the user override the test.
4521 else
4522 ac_prog_rejected=no
4523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 for as_dir in $PATH
4526 IFS=$as_save_IFS
4527 test -z "$as_dir" && as_dir=.
4528 for ac_exec_ext in '' $ac_executable_extensions; do
4529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4530 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4531 ac_prog_rejected=yes
4532 continue
4534 ac_cv_prog_CC="cc"
4535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4536 break 2
4538 done
4539 done
4540 IFS=$as_save_IFS
4542 if test $ac_prog_rejected = yes; then
4543 # We found a bogon in the path, so make sure we never use it.
4544 set dummy $ac_cv_prog_CC
4545 shift
4546 if test $# != 0; then
4547 # We chose a different compiler from the bogus one.
4548 # However, it has the same basename, so the bogon will be chosen
4549 # first if we set CC to just the basename; use the full file name.
4550 shift
4551 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4556 CC=$ac_cv_prog_CC
4557 if test -n "$CC"; then
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4559 $as_echo "$CC" >&6; }
4560 else
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4562 $as_echo "no" >&6; }
4567 if test -z "$CC"; then
4568 if test -n "$ac_tool_prefix"; then
4569 for ac_prog in cl.exe
4571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4572 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4574 $as_echo_n "checking for $ac_word... " >&6; }
4575 if ${ac_cv_prog_CC+:} false; then :
4576 $as_echo_n "(cached) " >&6
4577 else
4578 if test -n "$CC"; then
4579 ac_cv_prog_CC="$CC" # Let the user override the test.
4580 else
4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 for as_dir in $PATH
4584 IFS=$as_save_IFS
4585 test -z "$as_dir" && as_dir=.
4586 for ac_exec_ext in '' $ac_executable_extensions; do
4587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4588 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4590 break 2
4592 done
4593 done
4594 IFS=$as_save_IFS
4598 CC=$ac_cv_prog_CC
4599 if test -n "$CC"; then
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4601 $as_echo "$CC" >&6; }
4602 else
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604 $as_echo "no" >&6; }
4608 test -n "$CC" && break
4609 done
4611 if test -z "$CC"; then
4612 ac_ct_CC=$CC
4613 for ac_prog in cl.exe
4615 # Extract the first word of "$ac_prog", so it can be a program name with args.
4616 set dummy $ac_prog; ac_word=$2
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4618 $as_echo_n "checking for $ac_word... " >&6; }
4619 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 if test -n "$ac_ct_CC"; then
4623 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4624 else
4625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4626 for as_dir in $PATH
4628 IFS=$as_save_IFS
4629 test -z "$as_dir" && as_dir=.
4630 for ac_exec_ext in '' $ac_executable_extensions; do
4631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4632 ac_cv_prog_ac_ct_CC="$ac_prog"
4633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 break 2
4636 done
4637 done
4638 IFS=$as_save_IFS
4642 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4643 if test -n "$ac_ct_CC"; then
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4645 $as_echo "$ac_ct_CC" >&6; }
4646 else
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648 $as_echo "no" >&6; }
4652 test -n "$ac_ct_CC" && break
4653 done
4655 if test "x$ac_ct_CC" = x; then
4656 CC=""
4657 else
4658 case $cross_compiling:$ac_tool_warned in
4659 yes:)
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4662 ac_tool_warned=yes ;;
4663 esac
4664 CC=$ac_ct_CC
4671 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4673 as_fn_error $? "no acceptable C compiler found in \$PATH
4674 See \`config.log' for more details" "$LINENO" 5; }
4676 # Provide some information about the compiler.
4677 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4678 set X $ac_compile
4679 ac_compiler=$2
4680 for ac_option in --version -v -V -qversion; do
4681 { { ac_try="$ac_compiler $ac_option >&5"
4682 case "(($ac_try" in
4683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4684 *) ac_try_echo=$ac_try;;
4685 esac
4686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4687 $as_echo "$ac_try_echo"; } >&5
4688 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4689 ac_status=$?
4690 if test -s conftest.err; then
4691 sed '10a\
4692 ... rest of stderr output deleted ...
4693 10q' conftest.err >conftest.er1
4694 cat conftest.er1 >&5
4696 rm -f conftest.er1 conftest.err
4697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4698 test $ac_status = 0; }
4699 done
4701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4705 main ()
4709 return 0;
4711 _ACEOF
4712 ac_clean_files_save=$ac_clean_files
4713 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4714 # Try to create an executable without -o first, disregard a.out.
4715 # It will help us diagnose broken compilers, and finding out an intuition
4716 # of exeext.
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4718 $as_echo_n "checking whether the C compiler works... " >&6; }
4719 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4721 # The possible output files:
4722 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4724 ac_rmfiles=
4725 for ac_file in $ac_files
4727 case $ac_file in
4728 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4729 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4730 esac
4731 done
4732 rm -f $ac_rmfiles
4734 if { { ac_try="$ac_link_default"
4735 case "(($ac_try" in
4736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4737 *) ac_try_echo=$ac_try;;
4738 esac
4739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4740 $as_echo "$ac_try_echo"; } >&5
4741 (eval "$ac_link_default") 2>&5
4742 ac_status=$?
4743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4744 test $ac_status = 0; }; then :
4745 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4746 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4747 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4748 # so that the user can short-circuit this test for compilers unknown to
4749 # Autoconf.
4750 for ac_file in $ac_files ''
4752 test -f "$ac_file" || continue
4753 case $ac_file in
4754 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4756 [ab].out )
4757 # We found the default executable, but exeext='' is most
4758 # certainly right.
4759 break;;
4760 *.* )
4761 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4762 then :; else
4763 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4765 # We set ac_cv_exeext here because the later test for it is not
4766 # safe: cross compilers may not add the suffix if given an `-o'
4767 # argument, so we may need to know it at that point already.
4768 # Even if this section looks crufty: it has the advantage of
4769 # actually working.
4770 break;;
4772 break;;
4773 esac
4774 done
4775 test "$ac_cv_exeext" = no && ac_cv_exeext=
4777 else
4778 ac_file=''
4780 if test -z "$ac_file"; then :
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4783 $as_echo "$as_me: failed program was:" >&5
4784 sed 's/^/| /' conftest.$ac_ext >&5
4786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4788 as_fn_error 77 "C compiler cannot create executables
4789 See \`config.log' for more details" "$LINENO" 5; }
4790 else
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4792 $as_echo "yes" >&6; }
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4795 $as_echo_n "checking for C compiler default output file name... " >&6; }
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4797 $as_echo "$ac_file" >&6; }
4798 ac_exeext=$ac_cv_exeext
4800 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4801 ac_clean_files=$ac_clean_files_save
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4803 $as_echo_n "checking for suffix of executables... " >&6; }
4804 if { { ac_try="$ac_link"
4805 case "(($ac_try" in
4806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4807 *) ac_try_echo=$ac_try;;
4808 esac
4809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4810 $as_echo "$ac_try_echo"; } >&5
4811 (eval "$ac_link") 2>&5
4812 ac_status=$?
4813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4814 test $ac_status = 0; }; then :
4815 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4816 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4817 # work properly (i.e., refer to `conftest.exe'), while it won't with
4818 # `rm'.
4819 for ac_file in conftest.exe conftest conftest.*; do
4820 test -f "$ac_file" || continue
4821 case $ac_file in
4822 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4823 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4824 break;;
4825 * ) break;;
4826 esac
4827 done
4828 else
4829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4831 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4832 See \`config.log' for more details" "$LINENO" 5; }
4834 rm -f conftest conftest$ac_cv_exeext
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4836 $as_echo "$ac_cv_exeext" >&6; }
4838 rm -f conftest.$ac_ext
4839 EXEEXT=$ac_cv_exeext
4840 ac_exeext=$EXEEXT
4841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4842 /* end confdefs.h. */
4843 #include <stdio.h>
4845 main ()
4847 FILE *f = fopen ("conftest.out", "w");
4848 return ferror (f) || fclose (f) != 0;
4851 return 0;
4853 _ACEOF
4854 ac_clean_files="$ac_clean_files conftest.out"
4855 # Check that the compiler produces executables we can run. If not, either
4856 # the compiler is broken, or we cross compile.
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4858 $as_echo_n "checking whether we are cross compiling... " >&6; }
4859 if test "$cross_compiling" != yes; then
4860 { { ac_try="$ac_link"
4861 case "(($ac_try" in
4862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4863 *) ac_try_echo=$ac_try;;
4864 esac
4865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4866 $as_echo "$ac_try_echo"; } >&5
4867 (eval "$ac_link") 2>&5
4868 ac_status=$?
4869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4870 test $ac_status = 0; }
4871 if { ac_try='./conftest$ac_cv_exeext'
4872 { { case "(($ac_try" in
4873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4874 *) ac_try_echo=$ac_try;;
4875 esac
4876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4877 $as_echo "$ac_try_echo"; } >&5
4878 (eval "$ac_try") 2>&5
4879 ac_status=$?
4880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4881 test $ac_status = 0; }; }; then
4882 cross_compiling=no
4883 else
4884 if test "$cross_compiling" = maybe; then
4885 cross_compiling=yes
4886 else
4887 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4889 as_fn_error $? "cannot run C compiled programs.
4890 If you meant to cross compile, use \`--host'.
4891 See \`config.log' for more details" "$LINENO" 5; }
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4896 $as_echo "$cross_compiling" >&6; }
4898 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4899 ac_clean_files=$ac_clean_files_save
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4901 $as_echo_n "checking for suffix of object files... " >&6; }
4902 if ${ac_cv_objext+:} false; then :
4903 $as_echo_n "(cached) " >&6
4904 else
4905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4909 main ()
4913 return 0;
4915 _ACEOF
4916 rm -f conftest.o conftest.obj
4917 if { { ac_try="$ac_compile"
4918 case "(($ac_try" in
4919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4920 *) ac_try_echo=$ac_try;;
4921 esac
4922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4923 $as_echo "$ac_try_echo"; } >&5
4924 (eval "$ac_compile") 2>&5
4925 ac_status=$?
4926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4927 test $ac_status = 0; }; then :
4928 for ac_file in conftest.o conftest.obj conftest.*; do
4929 test -f "$ac_file" || continue;
4930 case $ac_file in
4931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4932 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4933 break;;
4934 esac
4935 done
4936 else
4937 $as_echo "$as_me: failed program was:" >&5
4938 sed 's/^/| /' conftest.$ac_ext >&5
4940 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4942 as_fn_error $? "cannot compute suffix of object files: cannot compile
4943 See \`config.log' for more details" "$LINENO" 5; }
4945 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4948 $as_echo "$ac_cv_objext" >&6; }
4949 OBJEXT=$ac_cv_objext
4950 ac_objext=$OBJEXT
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4952 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4953 if ${ac_cv_c_compiler_gnu+:} false; then :
4954 $as_echo_n "(cached) " >&6
4955 else
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4960 main ()
4962 #ifndef __GNUC__
4963 choke me
4964 #endif
4967 return 0;
4969 _ACEOF
4970 if ac_fn_c_try_compile "$LINENO"; then :
4971 ac_compiler_gnu=yes
4972 else
4973 ac_compiler_gnu=no
4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4980 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4981 if test $ac_compiler_gnu = yes; then
4982 GCC=yes
4983 else
4984 GCC=
4986 ac_test_CFLAGS=${CFLAGS+set}
4987 ac_save_CFLAGS=$CFLAGS
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4989 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4990 if ${ac_cv_prog_cc_g+:} false; then :
4991 $as_echo_n "(cached) " >&6
4992 else
4993 ac_save_c_werror_flag=$ac_c_werror_flag
4994 ac_c_werror_flag=yes
4995 ac_cv_prog_cc_g=no
4996 CFLAGS="-g"
4997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
5001 main ()
5005 return 0;
5007 _ACEOF
5008 if ac_fn_c_try_compile "$LINENO"; then :
5009 ac_cv_prog_cc_g=yes
5010 else
5011 CFLAGS=""
5012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5016 main ()
5020 return 0;
5022 _ACEOF
5023 if ac_fn_c_try_compile "$LINENO"; then :
5025 else
5026 ac_c_werror_flag=$ac_save_c_werror_flag
5027 CFLAGS="-g"
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5032 main ()
5036 return 0;
5038 _ACEOF
5039 if ac_fn_c_try_compile "$LINENO"; then :
5040 ac_cv_prog_cc_g=yes
5042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5047 ac_c_werror_flag=$ac_save_c_werror_flag
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5050 $as_echo "$ac_cv_prog_cc_g" >&6; }
5051 if test "$ac_test_CFLAGS" = set; then
5052 CFLAGS=$ac_save_CFLAGS
5053 elif test $ac_cv_prog_cc_g = yes; then
5054 if test "$GCC" = yes; then
5055 CFLAGS="-g -O2"
5056 else
5057 CFLAGS="-g"
5059 else
5060 if test "$GCC" = yes; then
5061 CFLAGS="-O2"
5062 else
5063 CFLAGS=
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5067 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5068 if ${ac_cv_prog_cc_c89+:} false; then :
5069 $as_echo_n "(cached) " >&6
5070 else
5071 ac_cv_prog_cc_c89=no
5072 ac_save_CC=$CC
5073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h. */
5075 #include <stdarg.h>
5076 #include <stdio.h>
5077 struct stat;
5078 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5079 struct buf { int x; };
5080 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5081 static char *e (p, i)
5082 char **p;
5083 int i;
5085 return p[i];
5087 static char *f (char * (*g) (char **, int), char **p, ...)
5089 char *s;
5090 va_list v;
5091 va_start (v,p);
5092 s = g (p, va_arg (v,int));
5093 va_end (v);
5094 return s;
5097 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5098 function prototypes and stuff, but not '\xHH' hex character constants.
5099 These don't provoke an error unfortunately, instead are silently treated
5100 as 'x'. The following induces an error, until -std is added to get
5101 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5102 array size at least. It's necessary to write '\x00'==0 to get something
5103 that's true only with -std. */
5104 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5106 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5107 inside strings and character constants. */
5108 #define FOO(x) 'x'
5109 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5111 int test (int i, double x);
5112 struct s1 {int (*f) (int a);};
5113 struct s2 {int (*f) (double a);};
5114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5115 int argc;
5116 char **argv;
5118 main ()
5120 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5122 return 0;
5124 _ACEOF
5125 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5126 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5128 CC="$ac_save_CC $ac_arg"
5129 if ac_fn_c_try_compile "$LINENO"; then :
5130 ac_cv_prog_cc_c89=$ac_arg
5132 rm -f core conftest.err conftest.$ac_objext
5133 test "x$ac_cv_prog_cc_c89" != "xno" && break
5134 done
5135 rm -f conftest.$ac_ext
5136 CC=$ac_save_CC
5139 # AC_CACHE_VAL
5140 case "x$ac_cv_prog_cc_c89" in
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5143 $as_echo "none needed" >&6; } ;;
5144 xno)
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5146 $as_echo "unsupported" >&6; } ;;
5148 CC="$CC $ac_cv_prog_cc_c89"
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5150 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5151 esac
5152 if test "x$ac_cv_prog_cc_c89" != xno; then :
5156 ac_ext=c
5157 ac_cpp='$CPP $CPPFLAGS'
5158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5162 ac_ext=cpp
5163 ac_cpp='$CXXCPP $CPPFLAGS'
5164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5167 if test -z "$CXX"; then
5168 if test -n "$CCC"; then
5169 CXX=$CCC
5170 else
5171 if test -n "$ac_tool_prefix"; then
5172 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5174 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5175 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; }
5178 if ${ac_cv_prog_CXX+:} false; then :
5179 $as_echo_n "(cached) " >&6
5180 else
5181 if test -n "$CXX"; then
5182 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5183 else
5184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 for as_dir in $PATH
5187 IFS=$as_save_IFS
5188 test -z "$as_dir" && as_dir=.
5189 for ac_exec_ext in '' $ac_executable_extensions; do
5190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5191 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 break 2
5195 done
5196 done
5197 IFS=$as_save_IFS
5201 CXX=$ac_cv_prog_CXX
5202 if test -n "$CXX"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5204 $as_echo "$CXX" >&6; }
5205 else
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5211 test -n "$CXX" && break
5212 done
5214 if test -z "$CXX"; then
5215 ac_ct_CXX=$CXX
5216 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5218 # Extract the first word of "$ac_prog", so it can be a program name with args.
5219 set dummy $ac_prog; ac_word=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5223 $as_echo_n "(cached) " >&6
5224 else
5225 if test -n "$ac_ct_CXX"; then
5226 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5227 else
5228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5229 for as_dir in $PATH
5231 IFS=$as_save_IFS
5232 test -z "$as_dir" && as_dir=.
5233 for ac_exec_ext in '' $ac_executable_extensions; do
5234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5235 ac_cv_prog_ac_ct_CXX="$ac_prog"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 break 2
5239 done
5240 done
5241 IFS=$as_save_IFS
5245 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5246 if test -n "$ac_ct_CXX"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5248 $as_echo "$ac_ct_CXX" >&6; }
5249 else
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5255 test -n "$ac_ct_CXX" && break
5256 done
5258 if test "x$ac_ct_CXX" = x; then
5259 CXX="g++"
5260 else
5261 case $cross_compiling:$ac_tool_warned in
5262 yes:)
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5265 ac_tool_warned=yes ;;
5266 esac
5267 CXX=$ac_ct_CXX
5273 # Provide some information about the compiler.
5274 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5275 set X $ac_compile
5276 ac_compiler=$2
5277 for ac_option in --version -v -V -qversion; do
5278 { { ac_try="$ac_compiler $ac_option >&5"
5279 case "(($ac_try" in
5280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5282 esac
5283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5284 $as_echo "$ac_try_echo"; } >&5
5285 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5286 ac_status=$?
5287 if test -s conftest.err; then
5288 sed '10a\
5289 ... rest of stderr output deleted ...
5290 10q' conftest.err >conftest.er1
5291 cat conftest.er1 >&5
5293 rm -f conftest.er1 conftest.err
5294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5295 test $ac_status = 0; }
5296 done
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5299 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5300 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5301 $as_echo_n "(cached) " >&6
5302 else
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5304 /* end confdefs.h. */
5307 main ()
5309 #ifndef __GNUC__
5310 choke me
5311 #endif
5314 return 0;
5316 _ACEOF
5317 if ac_fn_cxx_try_compile "$LINENO"; then :
5318 ac_compiler_gnu=yes
5319 else
5320 ac_compiler_gnu=no
5322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5323 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5327 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5328 if test $ac_compiler_gnu = yes; then
5329 GXX=yes
5330 else
5331 GXX=
5333 ac_test_CXXFLAGS=${CXXFLAGS+set}
5334 ac_save_CXXFLAGS=$CXXFLAGS
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5336 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5337 if ${ac_cv_prog_cxx_g+:} false; then :
5338 $as_echo_n "(cached) " >&6
5339 else
5340 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5341 ac_cxx_werror_flag=yes
5342 ac_cv_prog_cxx_g=no
5343 CXXFLAGS="-g"
5344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5345 /* end confdefs.h. */
5348 main ()
5352 return 0;
5354 _ACEOF
5355 if ac_fn_cxx_try_compile "$LINENO"; then :
5356 ac_cv_prog_cxx_g=yes
5357 else
5358 CXXFLAGS=""
5359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5363 main ()
5367 return 0;
5369 _ACEOF
5370 if ac_fn_cxx_try_compile "$LINENO"; then :
5372 else
5373 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5374 CXXFLAGS="-g"
5375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5376 /* end confdefs.h. */
5379 main ()
5383 return 0;
5385 _ACEOF
5386 if ac_fn_cxx_try_compile "$LINENO"; then :
5387 ac_cv_prog_cxx_g=yes
5389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5394 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5397 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5398 if test "$ac_test_CXXFLAGS" = set; then
5399 CXXFLAGS=$ac_save_CXXFLAGS
5400 elif test $ac_cv_prog_cxx_g = yes; then
5401 if test "$GXX" = yes; then
5402 CXXFLAGS="-g -O2"
5403 else
5404 CXXFLAGS="-g"
5406 else
5407 if test "$GXX" = yes; then
5408 CXXFLAGS="-O2"
5409 else
5410 CXXFLAGS=
5413 ac_ext=c
5414 ac_cpp='$CPP $CPPFLAGS'
5415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5419 if test -n "$ac_tool_prefix"; then
5420 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5421 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5423 $as_echo_n "checking for $ac_word... " >&6; }
5424 if ${ac_cv_prog_CPPBIN+:} false; then :
5425 $as_echo_n "(cached) " >&6
5426 else
5427 if test -n "$CPPBIN"; then
5428 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5429 else
5430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5431 for as_dir in $PATH
5433 IFS=$as_save_IFS
5434 test -z "$as_dir" && as_dir=.
5435 for ac_exec_ext in '' $ac_executable_extensions; do
5436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5437 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 break 2
5441 done
5442 done
5443 IFS=$as_save_IFS
5447 CPPBIN=$ac_cv_prog_CPPBIN
5448 if test -n "$CPPBIN"; then
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5450 $as_echo "$CPPBIN" >&6; }
5451 else
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453 $as_echo "no" >&6; }
5458 if test -z "$ac_cv_prog_CPPBIN"; then
5459 ac_ct_CPPBIN=$CPPBIN
5460 # Extract the first word of "cpp", so it can be a program name with args.
5461 set dummy cpp; ac_word=$2
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463 $as_echo_n "checking for $ac_word... " >&6; }
5464 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5465 $as_echo_n "(cached) " >&6
5466 else
5467 if test -n "$ac_ct_CPPBIN"; then
5468 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5469 else
5470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5471 for as_dir in $PATH
5473 IFS=$as_save_IFS
5474 test -z "$as_dir" && as_dir=.
5475 for ac_exec_ext in '' $ac_executable_extensions; do
5476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5477 ac_cv_prog_ac_ct_CPPBIN="cpp"
5478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 break 2
5481 done
5482 done
5483 IFS=$as_save_IFS
5487 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5488 if test -n "$ac_ct_CPPBIN"; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5490 $as_echo "$ac_ct_CPPBIN" >&6; }
5491 else
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5496 if test "x$ac_ct_CPPBIN" = x; then
5497 CPPBIN="cpp"
5498 else
5499 case $cross_compiling:$ac_tool_warned in
5500 yes:)
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5503 ac_tool_warned=yes ;;
5504 esac
5505 CPPBIN=$ac_ct_CPPBIN
5507 else
5508 CPPBIN="$ac_cv_prog_CPPBIN"
5512 cat >>confdefs.h <<_ACEOF
5513 #define EXEEXT "$ac_exeext"
5514 _ACEOF
5516 if test -n "$ac_tool_prefix"; then
5517 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5518 set dummy ${ac_tool_prefix}ld; ac_word=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if ${ac_cv_prog_LD+:} false; then :
5522 $as_echo_n "(cached) " >&6
5523 else
5524 if test -n "$LD"; then
5525 ac_cv_prog_LD="$LD" # Let the user override the test.
5526 else
5527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 for as_dir in $PATH
5530 IFS=$as_save_IFS
5531 test -z "$as_dir" && as_dir=.
5532 for ac_exec_ext in '' $ac_executable_extensions; do
5533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5534 ac_cv_prog_LD="${ac_tool_prefix}ld"
5535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 break 2
5538 done
5539 done
5540 IFS=$as_save_IFS
5544 LD=$ac_cv_prog_LD
5545 if test -n "$LD"; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5547 $as_echo "$LD" >&6; }
5548 else
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550 $as_echo "no" >&6; }
5555 if test -z "$ac_cv_prog_LD"; then
5556 ac_ct_LD=$LD
5557 # Extract the first word of "ld", so it can be a program name with args.
5558 set dummy ld; ac_word=$2
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560 $as_echo_n "checking for $ac_word... " >&6; }
5561 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5562 $as_echo_n "(cached) " >&6
5563 else
5564 if test -n "$ac_ct_LD"; then
5565 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5566 else
5567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5568 for as_dir in $PATH
5570 IFS=$as_save_IFS
5571 test -z "$as_dir" && as_dir=.
5572 for ac_exec_ext in '' $ac_executable_extensions; do
5573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5574 ac_cv_prog_ac_ct_LD="ld"
5575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 break 2
5578 done
5579 done
5580 IFS=$as_save_IFS
5584 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5585 if test -n "$ac_ct_LD"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5587 $as_echo "$ac_ct_LD" >&6; }
5588 else
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590 $as_echo "no" >&6; }
5593 if test "x$ac_ct_LD" = x; then
5594 LD=""
5595 else
5596 case $cross_compiling:$ac_tool_warned in
5597 yes:)
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5600 ac_tool_warned=yes ;;
5601 esac
5602 LD=$ac_ct_LD
5604 else
5605 LD="$ac_cv_prog_LD"
5609 case $host in
5610 *-darwin*)
5611 with_fontconfig=${with_fontconfig:-no}
5613 *-mingw32*|*-cygwin*)
5614 enable_win16=${enable_win16:-no}
5615 with_mingw=${with_mingw:-no}
5616 CFLAGS="$CFLAGS -D_WIN32"
5618 esac
5620 case $host in
5621 x86_64*|amd64*)
5622 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5623 then
5624 CC="$CC -m32"
5625 CXX="$CXX -m32"
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5628 $as_echo_n "checking whether $CC works... " >&6; }
5629 if ${wine_cv_cc_m32+:} false; then :
5630 $as_echo_n "(cached) " >&6
5631 else
5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5636 main ()
5640 return 0;
5642 _ACEOF
5643 if ac_fn_c_try_link "$LINENO"; then :
5644 wine_cv_cc_m32=yes
5645 else
5646 wine_cv_cc_m32=no
5648 rm -f core conftest.err conftest.$ac_objext \
5649 conftest$ac_exeext conftest.$ac_ext
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5652 $as_echo "$wine_cv_cc_m32" >&6; }
5653 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
5654 host_cpu="i386"
5655 notice_platform="32-bit "
5656 TARGETFLAGS="-m32"
5658 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5659 export PKG_CONFIG_PATH
5660 enable_win16=${enable_win16:-yes}
5661 with_unwind=${with_unwind:-no}
5662 else
5663 if test "x${GCC}" = "xyes"
5664 then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5666 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5667 if ${wine_cv_builtin_ms_va_list+:} false; then :
5668 $as_echo_n "(cached) " >&6
5669 else
5670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5671 /* end confdefs.h. */
5672 #include <stdarg.h>
5674 main ()
5676 void func(__builtin_ms_va_list *args);
5678 return 0;
5680 _ACEOF
5681 if ac_fn_c_try_compile "$LINENO"; then :
5682 wine_cv_builtin_ms_va_list=yes
5683 else
5684 wine_cv_builtin_ms_va_list=no
5686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5689 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5690 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
5692 CC="$CC -m64"
5693 CXX="$CXX -m64"
5694 host_cpu="x86_64"
5695 notice_platform="64-bit "
5696 TARGETFLAGS="-m64"
5700 arm*)
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5702 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5703 if ${wine_cv_thumb+:} false; then :
5704 $as_echo_n "(cached) " >&6
5705 else
5706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5707 /* end confdefs.h. */
5708 int ac_test(int i) { return i; }
5710 main ()
5712 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5714 return 0;
5716 _ACEOF
5717 if ac_fn_c_try_link "$LINENO"; then :
5718 wine_cv_thumb=yes
5719 else
5720 wine_cv_thumb=no
5722 rm -f core conftest.err conftest.$ac_objext \
5723 conftest$ac_exeext conftest.$ac_ext
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5726 $as_echo "$wine_cv_thumb" >&6; }
5727 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5728 case $with_float_abi in
5729 soft|softfp|hard)
5730 float_abi=$with_float_abi ;;
5732 case $host_os in
5733 *eabihf)
5734 float_abi=hard ;;
5736 float_abi=softfp
5737 saved_CFLAGS=$CFLAGS
5738 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5740 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5741 if ${wine_cv_float_abi+:} false; then :
5742 $as_echo_n "(cached) " >&6
5743 else
5744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5745 /* end confdefs.h. */
5748 main ()
5750 asm("vmrs r2,fpscr");
5752 return 0;
5754 _ACEOF
5755 if ac_fn_c_try_link "$LINENO"; then :
5756 wine_cv_float_abi=yes
5757 else
5758 wine_cv_float_abi=no
5760 rm -f core conftest.err conftest.$ac_objext \
5761 conftest$ac_exeext conftest.$ac_ext
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5764 $as_echo "$wine_cv_float_abi" >&6; }
5765 if test $wine_cv_float_abi = no
5766 then
5767 float_abi=soft
5768 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5770 CFLAGS=$saved_CFLAGS
5771 esac
5773 esac
5774 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5775 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5778 aarch64*)
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5780 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5781 if ${wine_cv_builtin_ms_va_list+:} false; then :
5782 $as_echo_n "(cached) " >&6
5783 else
5784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5785 /* end confdefs.h. */
5786 #include <stdarg.h>
5788 main ()
5790 void func(__builtin_ms_va_list *args);
5792 return 0;
5794 _ACEOF
5795 if ac_fn_c_try_compile "$LINENO"; then :
5796 wine_cv_builtin_ms_va_list=yes
5797 else
5798 wine_cv_builtin_ms_va_list=no
5800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5803 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5804 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5806 i[3456789]86*)
5807 enable_win16=${enable_win16:-yes}
5808 with_unwind=${with_unwind:-no}
5810 esac
5812 enable_win16=${enable_win16:-no}
5813 enable_win64=${enable_win64:-no}
5815 enable_winetest=${enable_winetest:-$enable_tests}
5817 if test "x$enable_win64" = "xyes"
5818 then
5819 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5820 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5821 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5825 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5826 if ${wine_cv_toolsdir+:} false; then :
5827 $as_echo_n "(cached) " >&6
5828 else
5829 wine_cv_toolsdir="$with_wine_tools"
5830 if test -z "$with_wine_tools"; then
5831 if test "$cross_compiling" = "yes"; then
5832 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5833 elif test -n "$with_wine64"; then
5834 wine_cv_toolsdir="$with_wine64"
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5839 $as_echo "$wine_cv_toolsdir" >&6; }
5840 if test -z "$wine_cv_toolsdir"; then
5841 wine_makedep=tools/makedep
5842 TOOLSDIR="."
5844 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5845 wine_makedep=$wine_cv_toolsdir/tools/makedep
5846 TOOLSDIR=$wine_cv_toolsdir
5848 enable_tools=${enable_tools:-no}
5849 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5850 else
5851 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5853 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5854 then
5855 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5859 for ac_prog in flex
5861 # Extract the first word of "$ac_prog", so it can be a program name with args.
5862 set dummy $ac_prog; ac_word=$2
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5864 $as_echo_n "checking for $ac_word... " >&6; }
5865 if ${ac_cv_prog_FLEX+:} false; then :
5866 $as_echo_n "(cached) " >&6
5867 else
5868 if test -n "$FLEX"; then
5869 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5870 else
5871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872 for as_dir in $PATH
5874 IFS=$as_save_IFS
5875 test -z "$as_dir" && as_dir=.
5876 for ac_exec_ext in '' $ac_executable_extensions; do
5877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5878 ac_cv_prog_FLEX="$ac_prog"
5879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 break 2
5882 done
5883 done
5884 IFS=$as_save_IFS
5888 FLEX=$ac_cv_prog_FLEX
5889 if test -n "$FLEX"; then
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5891 $as_echo "$FLEX" >&6; }
5892 else
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5894 $as_echo "no" >&6; }
5898 test -n "$FLEX" && break
5899 done
5900 test -n "$FLEX" || FLEX="none"
5902 if test "$FLEX" = "none"
5903 then
5904 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5907 $as_echo_n "checking whether flex is recent enough... " >&6; }
5908 if ${wine_cv_recent_flex+:} false; then :
5909 $as_echo_n "(cached) " >&6
5910 else
5911 cat >conftest.l <<EOF
5912 %top{
5913 #include "prediluvian.h"
5917 if $FLEX -t conftest.l >/dev/null 2>&5
5918 then
5919 wine_cv_recent_flex=yes
5920 else
5921 wine_cv_recent_flex=no
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5925 $as_echo "$wine_cv_recent_flex" >&6; }
5926 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
5928 for ac_prog in bison
5930 # Extract the first word of "$ac_prog", so it can be a program name with args.
5931 set dummy $ac_prog; ac_word=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if ${ac_cv_prog_BISON+:} false; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 if test -n "$BISON"; then
5938 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5939 else
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 for as_dir in $PATH
5943 IFS=$as_save_IFS
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5947 ac_cv_prog_BISON="$ac_prog"
5948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5949 break 2
5951 done
5952 done
5953 IFS=$as_save_IFS
5957 BISON=$ac_cv_prog_BISON
5958 if test -n "$BISON"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5960 $as_echo "$BISON" >&6; }
5961 else
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5967 test -n "$BISON" && break
5968 done
5969 test -n "$BISON" || BISON="none"
5971 if test "$BISON" = "none"
5972 then
5973 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5976 $as_echo_n "checking whether bison is recent enough... " >&6; }
5977 if ${wine_cv_recent_bison+:} false; then :
5978 $as_echo_n "(cached) " >&6
5979 else
5980 cat >conftest.y <<EOF
5981 %define parse.error verbose
5983 empty: ;
5985 if $BISON conftest.y >/dev/null 2>&5
5986 then
5987 wine_cv_recent_bison=yes
5988 else
5989 wine_cv_recent_bison=no
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5993 $as_echo "$wine_cv_recent_bison" >&6; }
5994 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
5996 if test -n "$ac_tool_prefix"; then
5997 for ac_prog in ar gar
5999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002 $as_echo_n "checking for $ac_word... " >&6; }
6003 if ${ac_cv_prog_AR+:} false; then :
6004 $as_echo_n "(cached) " >&6
6005 else
6006 if test -n "$AR"; then
6007 ac_cv_prog_AR="$AR" # Let the user override the test.
6008 else
6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010 for as_dir in $PATH
6012 IFS=$as_save_IFS
6013 test -z "$as_dir" && as_dir=.
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6016 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 break 2
6020 done
6021 done
6022 IFS=$as_save_IFS
6026 AR=$ac_cv_prog_AR
6027 if test -n "$AR"; then
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6029 $as_echo "$AR" >&6; }
6030 else
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6032 $as_echo "no" >&6; }
6036 test -n "$AR" && break
6037 done
6039 if test -z "$AR"; then
6040 ac_ct_AR=$AR
6041 for ac_prog in ar gar
6043 # Extract the first word of "$ac_prog", so it can be a program name with args.
6044 set dummy $ac_prog; ac_word=$2
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 $as_echo_n "checking for $ac_word... " >&6; }
6047 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6048 $as_echo_n "(cached) " >&6
6049 else
6050 if test -n "$ac_ct_AR"; then
6051 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6052 else
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6056 IFS=$as_save_IFS
6057 test -z "$as_dir" && as_dir=.
6058 for ac_exec_ext in '' $ac_executable_extensions; do
6059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6060 ac_cv_prog_ac_ct_AR="$ac_prog"
6061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062 break 2
6064 done
6065 done
6066 IFS=$as_save_IFS
6070 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6071 if test -n "$ac_ct_AR"; then
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6073 $as_echo "$ac_ct_AR" >&6; }
6074 else
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076 $as_echo "no" >&6; }
6080 test -n "$ac_ct_AR" && break
6081 done
6083 if test "x$ac_ct_AR" = x; then
6084 AR="ar"
6085 else
6086 case $cross_compiling:$ac_tool_warned in
6087 yes:)
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6090 ac_tool_warned=yes ;;
6091 esac
6092 AR=$ac_ct_AR
6096 if test -n "$ac_tool_prefix"; then
6097 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6098 set dummy ${ac_tool_prefix}strip; ac_word=$2
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100 $as_echo_n "checking for $ac_word... " >&6; }
6101 if ${ac_cv_prog_STRIP+:} false; then :
6102 $as_echo_n "(cached) " >&6
6103 else
6104 if test -n "$STRIP"; then
6105 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6106 else
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 for as_dir in $PATH
6110 IFS=$as_save_IFS
6111 test -z "$as_dir" && as_dir=.
6112 for ac_exec_ext in '' $ac_executable_extensions; do
6113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6114 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 break 2
6118 done
6119 done
6120 IFS=$as_save_IFS
6124 STRIP=$ac_cv_prog_STRIP
6125 if test -n "$STRIP"; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6127 $as_echo "$STRIP" >&6; }
6128 else
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6130 $as_echo "no" >&6; }
6135 if test -z "$ac_cv_prog_STRIP"; then
6136 ac_ct_STRIP=$STRIP
6137 # Extract the first word of "strip", so it can be a program name with args.
6138 set dummy strip; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6142 $as_echo_n "(cached) " >&6
6143 else
6144 if test -n "$ac_ct_STRIP"; then
6145 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6146 else
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in $PATH
6150 IFS=$as_save_IFS
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6154 ac_cv_prog_ac_ct_STRIP="strip"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6156 break 2
6158 done
6159 done
6160 IFS=$as_save_IFS
6164 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6165 if test -n "$ac_ct_STRIP"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6167 $as_echo "$ac_ct_STRIP" >&6; }
6168 else
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6173 if test "x$ac_ct_STRIP" = x; then
6174 STRIP="strip"
6175 else
6176 case $cross_compiling:$ac_tool_warned in
6177 yes:)
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6180 ac_tool_warned=yes ;;
6181 esac
6182 STRIP=$ac_ct_STRIP
6184 else
6185 STRIP="$ac_cv_prog_STRIP"
6188 if test -n "$ac_tool_prefix"; then
6189 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6190 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6192 $as_echo_n "checking for $ac_word... " >&6; }
6193 if ${ac_cv_prog_RANLIB+:} false; then :
6194 $as_echo_n "(cached) " >&6
6195 else
6196 if test -n "$RANLIB"; then
6197 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6198 else
6199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6200 for as_dir in $PATH
6202 IFS=$as_save_IFS
6203 test -z "$as_dir" && as_dir=.
6204 for ac_exec_ext in '' $ac_executable_extensions; do
6205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6206 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6208 break 2
6210 done
6211 done
6212 IFS=$as_save_IFS
6216 RANLIB=$ac_cv_prog_RANLIB
6217 if test -n "$RANLIB"; then
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6219 $as_echo "$RANLIB" >&6; }
6220 else
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6222 $as_echo "no" >&6; }
6227 if test -z "$ac_cv_prog_RANLIB"; then
6228 ac_ct_RANLIB=$RANLIB
6229 # Extract the first word of "ranlib", so it can be a program name with args.
6230 set dummy ranlib; ac_word=$2
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6232 $as_echo_n "checking for $ac_word... " >&6; }
6233 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6234 $as_echo_n "(cached) " >&6
6235 else
6236 if test -n "$ac_ct_RANLIB"; then
6237 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6238 else
6239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6240 for as_dir in $PATH
6242 IFS=$as_save_IFS
6243 test -z "$as_dir" && as_dir=.
6244 for ac_exec_ext in '' $ac_executable_extensions; do
6245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6246 ac_cv_prog_ac_ct_RANLIB="ranlib"
6247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6248 break 2
6250 done
6251 done
6252 IFS=$as_save_IFS
6256 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6257 if test -n "$ac_ct_RANLIB"; then
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6259 $as_echo "$ac_ct_RANLIB" >&6; }
6260 else
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6262 $as_echo "no" >&6; }
6265 if test "x$ac_ct_RANLIB" = x; then
6266 RANLIB=":"
6267 else
6268 case $cross_compiling:$ac_tool_warned in
6269 yes:)
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6272 ac_tool_warned=yes ;;
6273 esac
6274 RANLIB=$ac_ct_RANLIB
6276 else
6277 RANLIB="$ac_cv_prog_RANLIB"
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6281 $as_echo_n "checking whether ln -s works... " >&6; }
6282 LN_S=$as_ln_s
6283 if test "$LN_S" = "ln -s"; then
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6285 $as_echo "yes" >&6; }
6286 else
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6288 $as_echo "no, using $LN_S" >&6; }
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6292 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6293 if ${ac_cv_path_GREP+:} false; then :
6294 $as_echo_n "(cached) " >&6
6295 else
6296 if test -z "$GREP"; then
6297 ac_path_GREP_found=false
6298 # Loop through the user's path and test for each of PROGNAME-LIST
6299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6300 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6302 IFS=$as_save_IFS
6303 test -z "$as_dir" && as_dir=.
6304 for ac_prog in grep ggrep; do
6305 for ac_exec_ext in '' $ac_executable_extensions; do
6306 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6307 as_fn_executable_p "$ac_path_GREP" || continue
6308 # Check for GNU ac_path_GREP and select it if it is found.
6309 # Check for GNU $ac_path_GREP
6310 case `"$ac_path_GREP" --version 2>&1` in
6311 *GNU*)
6312 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6314 ac_count=0
6315 $as_echo_n 0123456789 >"conftest.in"
6316 while :
6318 cat "conftest.in" "conftest.in" >"conftest.tmp"
6319 mv "conftest.tmp" "conftest.in"
6320 cp "conftest.in" "conftest.nl"
6321 $as_echo 'GREP' >> "conftest.nl"
6322 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6323 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6324 as_fn_arith $ac_count + 1 && ac_count=$as_val
6325 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6326 # Best one so far, save it but keep looking for a better one
6327 ac_cv_path_GREP="$ac_path_GREP"
6328 ac_path_GREP_max=$ac_count
6330 # 10*(2^10) chars as input seems more than enough
6331 test $ac_count -gt 10 && break
6332 done
6333 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6334 esac
6336 $ac_path_GREP_found && break 3
6337 done
6338 done
6339 done
6340 IFS=$as_save_IFS
6341 if test -z "$ac_cv_path_GREP"; then
6342 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6344 else
6345 ac_cv_path_GREP=$GREP
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6350 $as_echo "$ac_cv_path_GREP" >&6; }
6351 GREP="$ac_cv_path_GREP"
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6355 $as_echo_n "checking for egrep... " >&6; }
6356 if ${ac_cv_path_EGREP+:} false; then :
6357 $as_echo_n "(cached) " >&6
6358 else
6359 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6360 then ac_cv_path_EGREP="$GREP -E"
6361 else
6362 if test -z "$EGREP"; then
6363 ac_path_EGREP_found=false
6364 # Loop through the user's path and test for each of PROGNAME-LIST
6365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6368 IFS=$as_save_IFS
6369 test -z "$as_dir" && as_dir=.
6370 for ac_prog in egrep; do
6371 for ac_exec_ext in '' $ac_executable_extensions; do
6372 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6373 as_fn_executable_p "$ac_path_EGREP" || continue
6374 # Check for GNU ac_path_EGREP and select it if it is found.
6375 # Check for GNU $ac_path_EGREP
6376 case `"$ac_path_EGREP" --version 2>&1` in
6377 *GNU*)
6378 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6380 ac_count=0
6381 $as_echo_n 0123456789 >"conftest.in"
6382 while :
6384 cat "conftest.in" "conftest.in" >"conftest.tmp"
6385 mv "conftest.tmp" "conftest.in"
6386 cp "conftest.in" "conftest.nl"
6387 $as_echo 'EGREP' >> "conftest.nl"
6388 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6390 as_fn_arith $ac_count + 1 && ac_count=$as_val
6391 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6392 # Best one so far, save it but keep looking for a better one
6393 ac_cv_path_EGREP="$ac_path_EGREP"
6394 ac_path_EGREP_max=$ac_count
6396 # 10*(2^10) chars as input seems more than enough
6397 test $ac_count -gt 10 && break
6398 done
6399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6400 esac
6402 $ac_path_EGREP_found && break 3
6403 done
6404 done
6405 done
6406 IFS=$as_save_IFS
6407 if test -z "$ac_cv_path_EGREP"; then
6408 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6410 else
6411 ac_cv_path_EGREP=$EGREP
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6417 $as_echo "$ac_cv_path_EGREP" >&6; }
6418 EGREP="$ac_cv_path_EGREP"
6421 # Extract the first word of "ldconfig", so it can be a program name with args.
6422 set dummy ldconfig; ac_word=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424 $as_echo_n "checking for $ac_word... " >&6; }
6425 if ${ac_cv_path_LDCONFIG+:} false; then :
6426 $as_echo_n "(cached) " >&6
6427 else
6428 case $LDCONFIG in
6429 [\\/]* | ?:[\\/]*)
6430 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in /sbin /usr/sbin $PATH
6436 IFS=$as_save_IFS
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6440 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442 break 2
6444 done
6445 done
6446 IFS=$as_save_IFS
6448 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6450 esac
6452 LDCONFIG=$ac_cv_path_LDCONFIG
6453 if test -n "$LDCONFIG"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6455 $as_echo "$LDCONFIG" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6462 for ac_prog in msgfmt
6464 # Extract the first word of "$ac_prog", so it can be a program name with args.
6465 set dummy $ac_prog; ac_word=$2
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467 $as_echo_n "checking for $ac_word... " >&6; }
6468 if ${ac_cv_prog_MSGFMT+:} false; then :
6469 $as_echo_n "(cached) " >&6
6470 else
6471 if test -n "$MSGFMT"; then
6472 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6473 else
6474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 for as_dir in $PATH
6477 IFS=$as_save_IFS
6478 test -z "$as_dir" && as_dir=.
6479 for ac_exec_ext in '' $ac_executable_extensions; do
6480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6481 ac_cv_prog_MSGFMT="$ac_prog"
6482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 break 2
6485 done
6486 done
6487 IFS=$as_save_IFS
6491 MSGFMT=$ac_cv_prog_MSGFMT
6492 if test -n "$MSGFMT"; then
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6494 $as_echo "$MSGFMT" >&6; }
6495 else
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6497 $as_echo "no" >&6; }
6501 test -n "$MSGFMT" && break
6502 done
6503 test -n "$MSGFMT" || MSGFMT="false"
6505 if ${ac_tool_prefix+:} false; then :
6506 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6507 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6509 $as_echo_n "checking for $ac_word... " >&6; }
6510 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6511 $as_echo_n "(cached) " >&6
6512 else
6513 if test -n "$PKG_CONFIG"; then
6514 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6515 else
6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6517 for as_dir in $PATH
6519 IFS=$as_save_IFS
6520 test -z "$as_dir" && as_dir=.
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6523 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6525 break 2
6527 done
6528 done
6529 IFS=$as_save_IFS
6533 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6534 if test -n "$PKG_CONFIG"; then
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6536 $as_echo "$PKG_CONFIG" >&6; }
6537 else
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6539 $as_echo "no" >&6; }
6544 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6545 if test "x$cross_compiling" = xyes; then :
6547 else
6548 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6549 # Extract the first word of "pkg-config", so it can be a program name with args.
6550 set dummy pkg-config; ac_word=$2
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6552 $as_echo_n "checking for $ac_word... " >&6; }
6553 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6554 $as_echo_n "(cached) " >&6
6555 else
6556 if test -n "$PKG_CONFIG"; then
6557 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6558 else
6559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6560 for as_dir in $PATH
6562 IFS=$as_save_IFS
6563 test -z "$as_dir" && as_dir=.
6564 for ac_exec_ext in '' $ac_executable_extensions; do
6565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6566 ac_cv_prog_PKG_CONFIG="pkg-config"
6567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6568 break 2
6570 done
6571 done
6572 IFS=$as_save_IFS
6576 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6577 if test -n "$PKG_CONFIG"; then
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6579 $as_echo "$PKG_CONFIG" >&6; }
6580 else
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6582 $as_echo "no" >&6; }
6587 else
6588 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6591 if test "x$enable_maintainer_mode" != "xyes"
6592 then
6593 FONTFORGE=""
6594 RSVG=""
6595 CONVERT=""
6596 ICOTOOL=""
6597 else
6598 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6599 for ac_prog in fontforge
6601 # Extract the first word of "$ac_prog", so it can be a program name with args.
6602 set dummy $ac_prog; ac_word=$2
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604 $as_echo_n "checking for $ac_word... " >&6; }
6605 if ${ac_cv_prog_FONTFORGE+:} false; then :
6606 $as_echo_n "(cached) " >&6
6607 else
6608 if test -n "$FONTFORGE"; then
6609 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6610 else
6611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6612 for as_dir in $PATH
6614 IFS=$as_save_IFS
6615 test -z "$as_dir" && as_dir=.
6616 for ac_exec_ext in '' $ac_executable_extensions; do
6617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6618 ac_cv_prog_FONTFORGE="$ac_prog"
6619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6620 break 2
6622 done
6623 done
6624 IFS=$as_save_IFS
6628 FONTFORGE=$ac_cv_prog_FONTFORGE
6629 if test -n "$FONTFORGE"; then
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6631 $as_echo "$FONTFORGE" >&6; }
6632 else
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6634 $as_echo "no" >&6; }
6638 test -n "$FONTFORGE" && break
6639 done
6640 test -n "$FONTFORGE" || FONTFORGE="false"
6642 for ac_prog in rsvg-convert rsvg
6644 # Extract the first word of "$ac_prog", so it can be a program name with args.
6645 set dummy $ac_prog; ac_word=$2
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6647 $as_echo_n "checking for $ac_word... " >&6; }
6648 if ${ac_cv_prog_RSVG+:} false; then :
6649 $as_echo_n "(cached) " >&6
6650 else
6651 if test -n "$RSVG"; then
6652 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6653 else
6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655 for as_dir in $PATH
6657 IFS=$as_save_IFS
6658 test -z "$as_dir" && as_dir=.
6659 for ac_exec_ext in '' $ac_executable_extensions; do
6660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6661 ac_cv_prog_RSVG="$ac_prog"
6662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6663 break 2
6665 done
6666 done
6667 IFS=$as_save_IFS
6671 RSVG=$ac_cv_prog_RSVG
6672 if test -n "$RSVG"; then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6674 $as_echo "$RSVG" >&6; }
6675 else
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 $as_echo "no" >&6; }
6681 test -n "$RSVG" && break
6682 done
6683 test -n "$RSVG" || RSVG="false"
6685 for ac_prog in convert
6687 # Extract the first word of "$ac_prog", so it can be a program name with args.
6688 set dummy $ac_prog; ac_word=$2
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6690 $as_echo_n "checking for $ac_word... " >&6; }
6691 if ${ac_cv_prog_CONVERT+:} false; then :
6692 $as_echo_n "(cached) " >&6
6693 else
6694 if test -n "$CONVERT"; then
6695 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6696 else
6697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6698 for as_dir in $PATH
6700 IFS=$as_save_IFS
6701 test -z "$as_dir" && as_dir=.
6702 for ac_exec_ext in '' $ac_executable_extensions; do
6703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6704 ac_cv_prog_CONVERT="$ac_prog"
6705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 break 2
6708 done
6709 done
6710 IFS=$as_save_IFS
6714 CONVERT=$ac_cv_prog_CONVERT
6715 if test -n "$CONVERT"; then
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6717 $as_echo "$CONVERT" >&6; }
6718 else
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 $as_echo "no" >&6; }
6724 test -n "$CONVERT" && break
6725 done
6726 test -n "$CONVERT" || CONVERT="false"
6728 for ac_prog in icotool
6730 # Extract the first word of "$ac_prog", so it can be a program name with args.
6731 set dummy $ac_prog; ac_word=$2
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733 $as_echo_n "checking for $ac_word... " >&6; }
6734 if ${ac_cv_prog_ICOTOOL+:} false; then :
6735 $as_echo_n "(cached) " >&6
6736 else
6737 if test -n "$ICOTOOL"; then
6738 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6739 else
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741 for as_dir in $PATH
6743 IFS=$as_save_IFS
6744 test -z "$as_dir" && as_dir=.
6745 for ac_exec_ext in '' $ac_executable_extensions; do
6746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6747 ac_cv_prog_ICOTOOL="$ac_prog"
6748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6749 break 2
6751 done
6752 done
6753 IFS=$as_save_IFS
6757 ICOTOOL=$ac_cv_prog_ICOTOOL
6758 if test -n "$ICOTOOL"; then
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6760 $as_echo "$ICOTOOL" >&6; }
6761 else
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6763 $as_echo "no" >&6; }
6767 test -n "$ICOTOOL" && break
6768 done
6769 test -n "$ICOTOOL" || ICOTOOL="false"
6771 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6772 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6774 if test "$CONVERT" = false
6775 then
6776 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6777 else
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6779 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6780 convert_version=`convert --version | head -n1`
6781 if test "x$convert_version" != "x"
6782 then
6783 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6784 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6785 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6786 then
6787 CONVERT=false
6790 if test "$CONVERT" = false
6791 then
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6793 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6794 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6795 else
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6797 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6801 if test "$ICOTOOL" = false
6802 then
6803 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6804 else
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6806 $as_echo_n "checking for recent enough icotool... " >&6; }
6807 icotool_version=`icotool --version | head -n1`
6808 if test "x$icotool_version" != "x"
6809 then
6810 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6811 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6812 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6813 then
6814 ICOTOOL=false
6815 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6818 if test "$ICOTOOL" = false
6819 then
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6821 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6822 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6823 else
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6825 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6829 with_gettext=yes
6830 with_gettextpo=yes
6832 enable_werror=yes
6835 test "x$with_gettext" != xno || MSGFMT=false
6836 if test "$MSGFMT" != "false"
6837 then
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6839 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6840 if ${wine_cv_msgfmt_contexts+:} false; then :
6841 $as_echo_n "(cached) " >&6
6842 else
6843 cat >conftest.po <<EOF
6844 # comment
6845 msgctxt "ctxt"
6846 msgid "id"
6847 msgstr "str"
6849 if $MSGFMT -o /dev/null conftest.po 2>&5
6850 then
6851 wine_cv_msgfmt_contexts=yes
6852 else
6853 wine_cv_msgfmt_contexts=no
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6857 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6858 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6860 if test "$MSGFMT" = false; then :
6861 case "x$with_gettext" in
6862 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6863 xno) ;;
6864 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6865 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6866 esac
6867 enable_po=${enable_po:-no}
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6872 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6873 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6874 $as_echo_n "(cached) " >&6
6875 else
6876 ac_check_lib_save_LIBS=$LIBS
6877 LIBS="-li386 $LIBS"
6878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6879 /* end confdefs.h. */
6881 /* Override any GCC internal prototype to avoid an error.
6882 Use char because int might match the return type of a GCC
6883 builtin and then its argument prototype would still apply. */
6884 #ifdef __cplusplus
6885 extern "C"
6886 #endif
6887 char i386_set_ldt ();
6889 main ()
6891 return i386_set_ldt ();
6893 return 0;
6895 _ACEOF
6896 if ac_fn_c_try_link "$LINENO"; then :
6897 ac_cv_lib_i386_i386_set_ldt=yes
6898 else
6899 ac_cv_lib_i386_i386_set_ldt=no
6901 rm -f core conftest.err conftest.$ac_objext \
6902 conftest$ac_exeext conftest.$ac_ext
6903 LIBS=$ac_check_lib_save_LIBS
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6906 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6907 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6908 I386_LIBS="-li386"
6913 OPENGL_LIBS=""
6917 # Check whether --enable-largefile was given.
6918 if test "${enable_largefile+set}" = set; then :
6919 enableval=$enable_largefile;
6922 if test "$enable_largefile" != no; then
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6925 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6926 if ${ac_cv_sys_largefile_CC+:} false; then :
6927 $as_echo_n "(cached) " >&6
6928 else
6929 ac_cv_sys_largefile_CC=no
6930 if test "$GCC" != yes; then
6931 ac_save_CC=$CC
6932 while :; do
6933 # IRIX 6.2 and later do not support large files by default,
6934 # so use the C compiler's -n32 option if that helps.
6935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6936 /* end confdefs.h. */
6937 #include <sys/types.h>
6938 /* Check that off_t can represent 2**63 - 1 correctly.
6939 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6940 since some C++ compilers masquerading as C compilers
6941 incorrectly reject 9223372036854775807. */
6942 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6943 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6944 && LARGE_OFF_T % 2147483647 == 1)
6945 ? 1 : -1];
6947 main ()
6951 return 0;
6953 _ACEOF
6954 if ac_fn_c_try_compile "$LINENO"; then :
6955 break
6957 rm -f core conftest.err conftest.$ac_objext
6958 CC="$CC -n32"
6959 if ac_fn_c_try_compile "$LINENO"; then :
6960 ac_cv_sys_largefile_CC=' -n32'; break
6962 rm -f core conftest.err conftest.$ac_objext
6963 break
6964 done
6965 CC=$ac_save_CC
6966 rm -f conftest.$ac_ext
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6970 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6971 if test "$ac_cv_sys_largefile_CC" != no; then
6972 CC=$CC$ac_cv_sys_largefile_CC
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6976 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6977 if ${ac_cv_sys_file_offset_bits+:} false; then :
6978 $as_echo_n "(cached) " >&6
6979 else
6980 while :; do
6981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6982 /* end confdefs.h. */
6983 #include <sys/types.h>
6984 /* Check that off_t can represent 2**63 - 1 correctly.
6985 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6986 since some C++ compilers masquerading as C compilers
6987 incorrectly reject 9223372036854775807. */
6988 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6989 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6990 && LARGE_OFF_T % 2147483647 == 1)
6991 ? 1 : -1];
6993 main ()
6997 return 0;
6999 _ACEOF
7000 if ac_fn_c_try_compile "$LINENO"; then :
7001 ac_cv_sys_file_offset_bits=no; break
7003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7005 /* end confdefs.h. */
7006 #define _FILE_OFFSET_BITS 64
7007 #include <sys/types.h>
7008 /* Check that off_t can represent 2**63 - 1 correctly.
7009 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7010 since some C++ compilers masquerading as C compilers
7011 incorrectly reject 9223372036854775807. */
7012 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7013 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7014 && LARGE_OFF_T % 2147483647 == 1)
7015 ? 1 : -1];
7017 main ()
7021 return 0;
7023 _ACEOF
7024 if ac_fn_c_try_compile "$LINENO"; then :
7025 ac_cv_sys_file_offset_bits=64; break
7027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7028 ac_cv_sys_file_offset_bits=unknown
7029 break
7030 done
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7033 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7034 case $ac_cv_sys_file_offset_bits in #(
7035 no | unknown) ;;
7037 cat >>confdefs.h <<_ACEOF
7038 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7039 _ACEOF
7041 esac
7042 rm -rf conftest*
7043 if test $ac_cv_sys_file_offset_bits = unknown; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7045 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7046 if ${ac_cv_sys_large_files+:} false; then :
7047 $as_echo_n "(cached) " >&6
7048 else
7049 while :; do
7050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7051 /* end confdefs.h. */
7052 #include <sys/types.h>
7053 /* Check that off_t can represent 2**63 - 1 correctly.
7054 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7055 since some C++ compilers masquerading as C compilers
7056 incorrectly reject 9223372036854775807. */
7057 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7058 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7059 && LARGE_OFF_T % 2147483647 == 1)
7060 ? 1 : -1];
7062 main ()
7066 return 0;
7068 _ACEOF
7069 if ac_fn_c_try_compile "$LINENO"; then :
7070 ac_cv_sys_large_files=no; break
7072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7074 /* end confdefs.h. */
7075 #define _LARGE_FILES 1
7076 #include <sys/types.h>
7077 /* Check that off_t can represent 2**63 - 1 correctly.
7078 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7079 since some C++ compilers masquerading as C compilers
7080 incorrectly reject 9223372036854775807. */
7081 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7082 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7083 && LARGE_OFF_T % 2147483647 == 1)
7084 ? 1 : -1];
7086 main ()
7090 return 0;
7092 _ACEOF
7093 if ac_fn_c_try_compile "$LINENO"; then :
7094 ac_cv_sys_large_files=1; break
7096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7097 ac_cv_sys_large_files=unknown
7098 break
7099 done
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7102 $as_echo "$ac_cv_sys_large_files" >&6; }
7103 case $ac_cv_sys_large_files in #(
7104 no | unknown) ;;
7106 cat >>confdefs.h <<_ACEOF
7107 #define _LARGE_FILES $ac_cv_sys_large_files
7108 _ACEOF
7110 esac
7111 rm -rf conftest*
7118 ac_ext=c
7119 ac_cpp='$CPP $CPPFLAGS'
7120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7124 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7125 # On Suns, sometimes $CPP names a directory.
7126 if test -n "$CPP" && test -d "$CPP"; then
7127 CPP=
7129 if test -z "$CPP"; then
7130 if ${ac_cv_prog_CPP+:} false; then :
7131 $as_echo_n "(cached) " >&6
7132 else
7133 # Double quotes because CPP needs to be expanded
7134 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7136 ac_preproc_ok=false
7137 for ac_c_preproc_warn_flag in '' yes
7139 # Use a header file that comes with gcc, so configuring glibc
7140 # with a fresh cross-compiler works.
7141 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7142 # <limits.h> exists even on freestanding compilers.
7143 # On the NeXT, cc -E runs the code through the compiler's parser,
7144 # not just through cpp. "Syntax error" is here to catch this case.
7145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7146 /* end confdefs.h. */
7147 #ifdef __STDC__
7148 # include <limits.h>
7149 #else
7150 # include <assert.h>
7151 #endif
7152 Syntax error
7153 _ACEOF
7154 if ac_fn_c_try_cpp "$LINENO"; then :
7156 else
7157 # Broken: fails on valid input.
7158 continue
7160 rm -f conftest.err conftest.i conftest.$ac_ext
7162 # OK, works on sane cases. Now check whether nonexistent headers
7163 # can be detected and how.
7164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7165 /* end confdefs.h. */
7166 #include <ac_nonexistent.h>
7167 _ACEOF
7168 if ac_fn_c_try_cpp "$LINENO"; then :
7169 # Broken: success on invalid input.
7170 continue
7171 else
7172 # Passes both tests.
7173 ac_preproc_ok=:
7174 break
7176 rm -f conftest.err conftest.i conftest.$ac_ext
7178 done
7179 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7180 rm -f conftest.i conftest.err conftest.$ac_ext
7181 if $ac_preproc_ok; then :
7182 break
7185 done
7186 ac_cv_prog_CPP=$CPP
7189 CPP=$ac_cv_prog_CPP
7190 else
7191 ac_cv_prog_CPP=$CPP
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7194 $as_echo "$CPP" >&6; }
7195 ac_preproc_ok=false
7196 for ac_c_preproc_warn_flag in '' yes
7198 # Use a header file that comes with gcc, so configuring glibc
7199 # with a fresh cross-compiler works.
7200 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7201 # <limits.h> exists even on freestanding compilers.
7202 # On the NeXT, cc -E runs the code through the compiler's parser,
7203 # not just through cpp. "Syntax error" is here to catch this case.
7204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7205 /* end confdefs.h. */
7206 #ifdef __STDC__
7207 # include <limits.h>
7208 #else
7209 # include <assert.h>
7210 #endif
7211 Syntax error
7212 _ACEOF
7213 if ac_fn_c_try_cpp "$LINENO"; then :
7215 else
7216 # Broken: fails on valid input.
7217 continue
7219 rm -f conftest.err conftest.i conftest.$ac_ext
7221 # OK, works on sane cases. Now check whether nonexistent headers
7222 # can be detected and how.
7223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7224 /* end confdefs.h. */
7225 #include <ac_nonexistent.h>
7226 _ACEOF
7227 if ac_fn_c_try_cpp "$LINENO"; then :
7228 # Broken: success on invalid input.
7229 continue
7230 else
7231 # Passes both tests.
7232 ac_preproc_ok=:
7233 break
7235 rm -f conftest.err conftest.i conftest.$ac_ext
7237 done
7238 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7239 rm -f conftest.i conftest.err conftest.$ac_ext
7240 if $ac_preproc_ok; then :
7242 else
7243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7245 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7246 See \`config.log' for more details" "$LINENO" 5; }
7249 ac_ext=c
7250 ac_cpp='$CPP $CPPFLAGS'
7251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7257 $as_echo_n "checking for ANSI C header files... " >&6; }
7258 if ${ac_cv_header_stdc+:} false; then :
7259 $as_echo_n "(cached) " >&6
7260 else
7261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262 /* end confdefs.h. */
7263 #include <stdlib.h>
7264 #include <stdarg.h>
7265 #include <string.h>
7266 #include <float.h>
7269 main ()
7273 return 0;
7275 _ACEOF
7276 if ac_fn_c_try_compile "$LINENO"; then :
7277 ac_cv_header_stdc=yes
7278 else
7279 ac_cv_header_stdc=no
7281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7283 if test $ac_cv_header_stdc = yes; then
7284 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7286 /* end confdefs.h. */
7287 #include <string.h>
7289 _ACEOF
7290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7291 $EGREP "memchr" >/dev/null 2>&1; then :
7293 else
7294 ac_cv_header_stdc=no
7296 rm -f conftest*
7300 if test $ac_cv_header_stdc = yes; then
7301 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7303 /* end confdefs.h. */
7304 #include <stdlib.h>
7306 _ACEOF
7307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7308 $EGREP "free" >/dev/null 2>&1; then :
7310 else
7311 ac_cv_header_stdc=no
7313 rm -f conftest*
7317 if test $ac_cv_header_stdc = yes; then
7318 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7319 if test "$cross_compiling" = yes; then :
7321 else
7322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7323 /* end confdefs.h. */
7324 #include <ctype.h>
7325 #include <stdlib.h>
7326 #if ((' ' & 0x0FF) == 0x020)
7327 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7328 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7329 #else
7330 # define ISLOWER(c) \
7331 (('a' <= (c) && (c) <= 'i') \
7332 || ('j' <= (c) && (c) <= 'r') \
7333 || ('s' <= (c) && (c) <= 'z'))
7334 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7335 #endif
7337 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7339 main ()
7341 int i;
7342 for (i = 0; i < 256; i++)
7343 if (XOR (islower (i), ISLOWER (i))
7344 || toupper (i) != TOUPPER (i))
7345 return 2;
7346 return 0;
7348 _ACEOF
7349 if ac_fn_c_try_run "$LINENO"; then :
7351 else
7352 ac_cv_header_stdc=no
7354 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7355 conftest.$ac_objext conftest.beam conftest.$ac_ext
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7361 $as_echo "$ac_cv_header_stdc" >&6; }
7362 if test $ac_cv_header_stdc = yes; then
7364 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7368 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7369 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7370 inttypes.h stdint.h unistd.h
7371 do :
7372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7373 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7375 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7376 cat >>confdefs.h <<_ACEOF
7377 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7378 _ACEOF
7382 done
7385 for ac_header in \
7386 AL/al.h \
7387 ApplicationServices/ApplicationServices.h \
7388 AudioToolbox/AudioConverter.h \
7389 AudioUnit/AudioUnit.h \
7390 AudioUnit/AudioComponent.h \
7391 CL/cl.h \
7392 Carbon/Carbon.h \
7393 CommonCrypto/CommonCryptor.h \
7394 CoreAudio/CoreAudio.h \
7395 CoreServices/CoreServices.h \
7396 DiskArbitration/DiskArbitration.h \
7397 EGL/egl.h \
7398 IOKit/IOKitLib.h \
7399 IOKit/hid/IOHIDLib.h \
7400 OpenAL/al.h \
7401 OpenCL/opencl.h \
7402 QuickTime/ImageCompression.h \
7403 Security/Security.h \
7404 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7405 SystemConfiguration/SCNetworkConfiguration.h \
7406 alias.h \
7407 arpa/inet.h \
7408 arpa/nameser.h \
7409 asm/types.h \
7410 asm/user.h \
7411 dirent.h \
7412 dlfcn.h \
7413 elf.h \
7414 float.h \
7415 fnmatch.h \
7416 getopt.h \
7417 gettext-po.h \
7418 grp.h \
7419 gsm.h \
7420 gsm/gsm.h \
7421 ieeefp.h \
7422 inet/mib2.h \
7423 kstat.h \
7424 libproc.h \
7425 link.h \
7426 linux/cdrom.h \
7427 linux/compiler.h \
7428 linux/filter.h \
7429 linux/hdreg.h \
7430 linux/hidraw.h \
7431 linux/input.h \
7432 linux/ioctl.h \
7433 linux/joystick.h \
7434 linux/major.h \
7435 linux/param.h \
7436 linux/serial.h \
7437 linux/types.h \
7438 linux/ucdrom.h \
7439 lwp.h \
7440 mach-o/nlist.h \
7441 mach-o/loader.h \
7442 mach/mach.h \
7443 mach/machine.h \
7444 machine/cpu.h \
7445 machine/sysarch.h \
7446 mntent.h \
7447 netdb.h \
7448 netinet/in.h \
7449 netinet/in_systm.h \
7450 netinet/tcp.h \
7451 netinet/tcp_fsm.h \
7452 pcap/pcap.h \
7453 poll.h \
7454 port.h \
7455 pthread.h \
7456 pwd.h \
7457 sasl/sasl.h \
7458 sched.h \
7459 scsi/scsi.h \
7460 scsi/scsi_ioctl.h \
7461 scsi/sg.h \
7462 stdbool.h \
7463 stdint.h \
7464 stropts.h \
7465 sys/attr.h \
7466 sys/auxv.h \
7467 sys/cdio.h \
7468 sys/epoll.h \
7469 sys/event.h \
7470 sys/filio.h \
7471 sys/ioctl.h \
7472 sys/ipc.h \
7473 sys/link.h \
7474 sys/mman.h \
7475 sys/modem.h \
7476 sys/msg.h \
7477 sys/mtio.h \
7478 sys/param.h \
7479 sys/poll.h \
7480 sys/prctl.h \
7481 sys/protosw.h \
7482 sys/ptrace.h \
7483 sys/queue.h \
7484 sys/random.h \
7485 sys/resource.h \
7486 sys/scsiio.h \
7487 sys/shm.h \
7488 sys/signal.h \
7489 sys/socket.h \
7490 sys/socketvar.h \
7491 sys/sockio.h \
7492 sys/statvfs.h \
7493 sys/strtio.h \
7494 sys/syscall.h \
7495 sys/sysinfo.h \
7496 sys/tihdr.h \
7497 sys/time.h \
7498 sys/timeout.h \
7499 sys/times.h \
7500 sys/uio.h \
7501 sys/user.h \
7502 sys/utsname.h \
7503 sys/vnode.h \
7504 sys/wait.h \
7505 syscall.h \
7506 termios.h \
7507 unistd.h \
7508 utime.h \
7509 valgrind/memcheck.h \
7510 valgrind/valgrind.h
7512 do :
7513 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7514 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7515 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7516 cat >>confdefs.h <<_ACEOF
7517 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7518 _ACEOF
7522 done
7524 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7525 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7527 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7532 if test $ac_cv_header_sys_mkdev_h = no; then
7533 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7534 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7536 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7543 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7544 if ${ac_cv_header_stat_broken+:} false; then :
7545 $as_echo_n "(cached) " >&6
7546 else
7547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7548 /* end confdefs.h. */
7549 #include <sys/types.h>
7550 #include <sys/stat.h>
7552 #if defined S_ISBLK && defined S_IFDIR
7553 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7554 #endif
7556 #if defined S_ISBLK && defined S_IFCHR
7557 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7558 #endif
7560 #if defined S_ISLNK && defined S_IFREG
7561 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7562 #endif
7564 #if defined S_ISSOCK && defined S_IFREG
7565 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7566 #endif
7568 _ACEOF
7569 if ac_fn_c_try_compile "$LINENO"; then :
7570 ac_cv_header_stat_broken=no
7571 else
7572 ac_cv_header_stat_broken=yes
7574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7577 $as_echo "$ac_cv_header_stat_broken" >&6; }
7578 if test $ac_cv_header_stat_broken = yes; then
7580 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7586 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7587 do :
7588 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7589 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7590 #ifdef HAVE_SYS_PARAM_H
7591 # include <sys/param.h>
7592 #endif
7594 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7595 cat >>confdefs.h <<_ACEOF
7596 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7597 _ACEOF
7601 done
7604 saved_sysctl_h_CFLAGS=$CFLAGS
7605 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7606 for ac_header in sys/sysctl.h
7607 do :
7608 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7609 #ifdef HAVE_SYS_PARAM_H
7610 # include <sys/param.h>
7611 #endif
7613 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7614 cat >>confdefs.h <<_ACEOF
7615 #define HAVE_SYS_SYSCTL_H 1
7616 _ACEOF
7620 done
7622 CFLAGS=$saved_sysctl_h_CFLAGS
7624 for ac_header in \
7625 netinet/ip.h \
7626 net/if.h \
7627 net/if_arp.h \
7628 net/if_dl.h \
7629 net/if_types.h \
7630 net/route.h \
7631 netinet/if_ether.h \
7632 netinet/if_inarp.h \
7633 netinet/in_pcb.h \
7634 netinet/ip_icmp.h \
7635 netinet/ip_var.h \
7636 netinet/udp.h \
7637 netipx/ipx.h \
7638 sys/un.h \
7640 do :
7641 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7642 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7643 #ifdef HAVE_SYS_SOCKET_H
7644 # include <sys/socket.h>
7645 #endif
7646 #ifdef HAVE_SYS_SOCKETVAR_H
7647 # include <sys/socketvar.h>
7648 #endif
7649 #ifdef HAVE_NET_ROUTE_H
7650 # include <net/route.h>
7651 #endif
7652 #ifdef HAVE_NETINET_IN_H
7653 # include <netinet/in.h>
7654 #endif
7655 #ifdef HAVE_NETINET_IN_SYSTM_H
7656 # include <netinet/in_systm.h>
7657 #endif
7658 #ifdef HAVE_NET_IF_H
7659 # include <net/if.h>
7660 #endif
7661 #ifdef HAVE_NETINET_IP_H
7662 # include <netinet/ip.h>
7663 #endif
7665 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7666 cat >>confdefs.h <<_ACEOF
7667 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7668 _ACEOF
7672 done
7675 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7676 do :
7677 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7678 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7679 #ifdef HAVE_ALIAS_H
7680 # include <alias.h>
7681 #endif
7682 #ifdef HAVE_SYS_SOCKET_H
7683 # include <sys/socket.h>
7684 #endif
7685 #ifdef HAVE_SYS_SOCKETVAR_H
7686 # include <sys/socketvar.h>
7687 #endif
7688 #ifdef HAVE_SYS_TIMEOUT_H
7689 # include <sys/timeout.h>
7690 #endif
7691 #ifdef HAVE_NETINET_IN_H
7692 # include <netinet/in.h>
7693 #endif
7694 #ifdef HAVE_NETINET_IN_SYSTM_H
7695 # include <netinet/in_systm.h>
7696 #endif
7697 #ifdef HAVE_NETINET_IP_H
7698 # include <netinet/ip.h>
7699 #endif
7700 #ifdef HAVE_NETINET_IP_VAR_H
7701 # include <netinet/ip_var.h>
7702 #endif
7703 #ifdef HAVE_NETINET_IP_ICMP_H
7704 # include <netinet/ip_icmp.h>
7705 #endif
7706 #ifdef HAVE_NETINET_UDP_H
7707 # include <netinet/udp.h>
7708 #endif
7709 #ifdef HAVE_NETINET_TCP_H
7710 # include <netinet/tcp.h>
7711 #endif
7712 #ifdef HAVE_NETINET_TCP_TIMER_H
7713 #include <netinet/tcp_timer.h>
7714 #endif
7716 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7717 cat >>confdefs.h <<_ACEOF
7718 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7719 _ACEOF
7723 done
7726 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7727 do :
7728 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7729 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7730 #ifdef HAVE_ASM_TYPES_H
7731 # include <asm/types.h>
7732 #endif
7733 #ifdef HAVE_SYS_SOCKET_H
7734 # include <sys/socket.h>
7735 #endif
7736 #ifdef HAVE_LINUX_TYPES_H
7737 # include <linux/types.h>
7738 #endif
7740 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7741 cat >>confdefs.h <<_ACEOF
7742 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7743 _ACEOF
7747 done
7750 for ac_header in resolv.h
7751 do :
7752 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7753 #ifdef HAVE_SYS_SOCKET_H
7754 # include <sys/socket.h>
7755 #endif
7756 #ifdef HAVE_NETINET_IN_H
7757 # include <netinet/in.h>
7758 #endif
7759 #ifdef HAVE_ARPA_NAMESER_H
7760 # include <arpa/nameser.h>
7761 #endif
7763 if test "x$ac_cv_header_resolv_h" = xyes; then :
7764 cat >>confdefs.h <<_ACEOF
7765 #define HAVE_RESOLV_H 1
7766 _ACEOF
7770 done
7773 for ac_header in ifaddrs.h
7774 do :
7775 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7777 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7778 cat >>confdefs.h <<_ACEOF
7779 #define HAVE_IFADDRS_H 1
7780 _ACEOF
7784 done
7787 for ac_header in sys/ucontext.h
7788 do :
7789 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7791 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7792 cat >>confdefs.h <<_ACEOF
7793 #define HAVE_SYS_UCONTEXT_H 1
7794 _ACEOF
7798 done
7801 for ac_header in sys/thr.h
7802 do :
7803 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7804 #ifdef HAVE_SYS_UCONTEXT_H
7805 #include <sys/ucontext.h>
7806 #endif
7808 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7809 cat >>confdefs.h <<_ACEOF
7810 #define HAVE_SYS_THR_H 1
7811 _ACEOF
7815 done
7818 for ac_header in pthread_np.h
7819 do :
7820 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7821 #include <pthread.h>
7822 #endif
7824 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7825 cat >>confdefs.h <<_ACEOF
7826 #define HAVE_PTHREAD_NP_H 1
7827 _ACEOF
7831 done
7834 for ac_header in linux/videodev2.h
7835 do :
7836 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7837 #include <sys/time.h>
7838 #endif
7839 #include <sys/types.h>
7840 #ifdef HAVE_ASM_TYPES_H
7841 #include <asm/types.h>
7842 #endif
7844 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7845 cat >>confdefs.h <<_ACEOF
7846 #define HAVE_LINUX_VIDEODEV2_H 1
7847 _ACEOF
7851 done
7854 for ac_header in libprocstat.h
7855 do :
7856 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7857 #include <sys/param.h>
7858 #endif
7859 #ifdef HAVE_SYS_QUEUE_H
7860 #include <sys/queue.h>
7861 #endif
7862 #ifdef HAVE_SYS_SOCKET_H
7863 #include <sys/socket.h>
7864 #endif
7866 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7867 cat >>confdefs.h <<_ACEOF
7868 #define HAVE_LIBPROCSTAT_H 1
7869 _ACEOF
7873 done
7877 DLLFLAGS="-D_REENTRANT"
7879 LDDLLFLAGS=""
7881 LDEXECFLAGS=""
7883 TOP_INSTALL_LIB=""
7885 TOP_INSTALL_DEV=""
7887 WINELOADER_LDFLAGS=""
7889 WINEPRELOADER_LDFLAGS=""
7891 LIBEXT="so"
7892 DLLEXT=".so"
7893 # Extract the first word of "ldd", so it can be a program name with args.
7894 set dummy ldd; ac_word=$2
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7896 $as_echo_n "checking for $ac_word... " >&6; }
7897 if ${ac_cv_path_LDD+:} false; then :
7898 $as_echo_n "(cached) " >&6
7899 else
7900 case $LDD in
7901 [\\/]* | ?:[\\/]*)
7902 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7906 as_dummy="/sbin:/usr/sbin:$PATH"
7907 for as_dir in $as_dummy
7909 IFS=$as_save_IFS
7910 test -z "$as_dir" && as_dir=.
7911 for ac_exec_ext in '' $ac_executable_extensions; do
7912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7913 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7915 break 2
7917 done
7918 done
7919 IFS=$as_save_IFS
7921 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7923 esac
7925 LDD=$ac_cv_path_LDD
7926 if test -n "$LDD"; then
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7928 $as_echo "$LDD" >&6; }
7929 else
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7931 $as_echo "no" >&6; }
7935 if test -n "$ac_tool_prefix"; then
7936 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7937 set dummy ${ac_tool_prefix}otool; ac_word=$2
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7939 $as_echo_n "checking for $ac_word... " >&6; }
7940 if ${ac_cv_prog_OTOOL+:} false; then :
7941 $as_echo_n "(cached) " >&6
7942 else
7943 if test -n "$OTOOL"; then
7944 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7945 else
7946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7947 for as_dir in $PATH
7949 IFS=$as_save_IFS
7950 test -z "$as_dir" && as_dir=.
7951 for ac_exec_ext in '' $ac_executable_extensions; do
7952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7953 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7955 break 2
7957 done
7958 done
7959 IFS=$as_save_IFS
7963 OTOOL=$ac_cv_prog_OTOOL
7964 if test -n "$OTOOL"; then
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7966 $as_echo "$OTOOL" >&6; }
7967 else
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7969 $as_echo "no" >&6; }
7974 if test -z "$ac_cv_prog_OTOOL"; then
7975 ac_ct_OTOOL=$OTOOL
7976 # Extract the first word of "otool", so it can be a program name with args.
7977 set dummy otool; ac_word=$2
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7979 $as_echo_n "checking for $ac_word... " >&6; }
7980 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7981 $as_echo_n "(cached) " >&6
7982 else
7983 if test -n "$ac_ct_OTOOL"; then
7984 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7985 else
7986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987 for as_dir in $PATH
7989 IFS=$as_save_IFS
7990 test -z "$as_dir" && as_dir=.
7991 for ac_exec_ext in '' $ac_executable_extensions; do
7992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7993 ac_cv_prog_ac_ct_OTOOL="otool"
7994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7995 break 2
7997 done
7998 done
7999 IFS=$as_save_IFS
8003 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8004 if test -n "$ac_ct_OTOOL"; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8006 $as_echo "$ac_ct_OTOOL" >&6; }
8007 else
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8009 $as_echo "no" >&6; }
8012 if test "x$ac_ct_OTOOL" = x; then
8013 OTOOL="otool"
8014 else
8015 case $cross_compiling:$ac_tool_warned in
8016 yes:)
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8019 ac_tool_warned=yes ;;
8020 esac
8021 OTOOL=$ac_ct_OTOOL
8023 else
8024 OTOOL="$ac_cv_prog_OTOOL"
8027 if test -n "$ac_tool_prefix"; then
8028 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8029 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8031 $as_echo_n "checking for $ac_word... " >&6; }
8032 if ${ac_cv_prog_READELF+:} false; then :
8033 $as_echo_n "(cached) " >&6
8034 else
8035 if test -n "$READELF"; then
8036 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8037 else
8038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8039 for as_dir in $PATH
8041 IFS=$as_save_IFS
8042 test -z "$as_dir" && as_dir=.
8043 for ac_exec_ext in '' $ac_executable_extensions; do
8044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8045 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8047 break 2
8049 done
8050 done
8051 IFS=$as_save_IFS
8055 READELF=$ac_cv_prog_READELF
8056 if test -n "$READELF"; then
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8058 $as_echo "$READELF" >&6; }
8059 else
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8061 $as_echo "no" >&6; }
8066 if test -z "$ac_cv_prog_READELF"; then
8067 ac_ct_READELF=$READELF
8068 # Extract the first word of "readelf", so it can be a program name with args.
8069 set dummy readelf; ac_word=$2
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8071 $as_echo_n "checking for $ac_word... " >&6; }
8072 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8073 $as_echo_n "(cached) " >&6
8074 else
8075 if test -n "$ac_ct_READELF"; then
8076 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8077 else
8078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8079 for as_dir in $PATH
8081 IFS=$as_save_IFS
8082 test -z "$as_dir" && as_dir=.
8083 for ac_exec_ext in '' $ac_executable_extensions; do
8084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8085 ac_cv_prog_ac_ct_READELF="readelf"
8086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8087 break 2
8089 done
8090 done
8091 IFS=$as_save_IFS
8095 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8096 if test -n "$ac_ct_READELF"; then
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8098 $as_echo "$ac_ct_READELF" >&6; }
8099 else
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8101 $as_echo "no" >&6; }
8104 if test "x$ac_ct_READELF" = x; then
8105 READELF="true"
8106 else
8107 case $cross_compiling:$ac_tool_warned in
8108 yes:)
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8111 ac_tool_warned=yes ;;
8112 esac
8113 READELF=$ac_ct_READELF
8115 else
8116 READELF="$ac_cv_prog_READELF"
8119 wine_rules_file=conf$$rules.make
8120 rm -f $wine_rules_file
8121 SUBDIRS=""
8123 DISABLED_SUBDIRS=""
8125 CONFIGURE_TARGETS=""
8128 wine_fn_append_file ()
8130 as_fn_append $1 " \\$as_nl $2"
8133 wine_fn_append_rule ()
8135 $as_echo "$1" >>$wine_rules_file
8138 wine_fn_config_makefile ()
8140 wine_fn_append_file SUBDIRS $1
8141 if eval test \"x\$"$2"\" = x"no"; then :
8142 wine_fn_append_file DISABLED_SUBDIRS $1
8146 wine_fn_config_symlink ()
8148 ac_links=$@
8149 wine_fn_append_rule \
8150 "$ac_links:
8151 @./config.status \$@"
8152 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8155 wine_binary="wine"
8156 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8157 WINELOADER_PROGRAMS="$wine_binary"
8159 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8161 case $host_os in
8162 cygwin*|mingw32*)
8163 if test -n "$ac_tool_prefix"; then
8164 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8165 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8167 $as_echo_n "checking for $ac_word... " >&6; }
8168 if ${ac_cv_prog_DLLTOOL+:} false; then :
8169 $as_echo_n "(cached) " >&6
8170 else
8171 if test -n "$DLLTOOL"; then
8172 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8173 else
8174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8175 for as_dir in $PATH
8177 IFS=$as_save_IFS
8178 test -z "$as_dir" && as_dir=.
8179 for ac_exec_ext in '' $ac_executable_extensions; do
8180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8181 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8183 break 2
8185 done
8186 done
8187 IFS=$as_save_IFS
8191 DLLTOOL=$ac_cv_prog_DLLTOOL
8192 if test -n "$DLLTOOL"; then
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8194 $as_echo "$DLLTOOL" >&6; }
8195 else
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8197 $as_echo "no" >&6; }
8202 if test -z "$ac_cv_prog_DLLTOOL"; then
8203 ac_ct_DLLTOOL=$DLLTOOL
8204 # Extract the first word of "dlltool", so it can be a program name with args.
8205 set dummy dlltool; ac_word=$2
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8207 $as_echo_n "checking for $ac_word... " >&6; }
8208 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8209 $as_echo_n "(cached) " >&6
8210 else
8211 if test -n "$ac_ct_DLLTOOL"; then
8212 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8213 else
8214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8215 for as_dir in $PATH
8217 IFS=$as_save_IFS
8218 test -z "$as_dir" && as_dir=.
8219 for ac_exec_ext in '' $ac_executable_extensions; do
8220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8221 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8223 break 2
8225 done
8226 done
8227 IFS=$as_save_IFS
8231 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8232 if test -n "$ac_ct_DLLTOOL"; then
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8234 $as_echo "$ac_ct_DLLTOOL" >&6; }
8235 else
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8237 $as_echo "no" >&6; }
8240 if test "x$ac_ct_DLLTOOL" = x; then
8241 DLLTOOL="false"
8242 else
8243 case $cross_compiling:$ac_tool_warned in
8244 yes:)
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8247 ac_tool_warned=yes ;;
8248 esac
8249 DLLTOOL=$ac_ct_DLLTOOL
8251 else
8252 DLLTOOL="$ac_cv_prog_DLLTOOL"
8255 LIBEXT="dll"
8256 DLLEXT=""
8257 case $host_cpu in
8258 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8259 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8260 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8261 $as_echo_n "(cached) " >&6
8262 else
8263 ac_wine_try_cflags_saved=$CFLAGS
8264 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8266 /* end confdefs.h. */
8267 int main(int argc, char **argv) { return 0; }
8268 _ACEOF
8269 if ac_fn_c_try_link "$LINENO"; then :
8270 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8271 else
8272 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8274 rm -f core conftest.err conftest.$ac_objext \
8275 conftest$ac_exeext conftest.$ac_ext
8276 CFLAGS=$ac_wine_try_cflags_saved
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8279 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8280 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8281 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8282 fi ;;
8283 esac
8284 enable_iphlpapi=${enable_iphlpapi:-no}
8285 enable_ws2_32=${enable_ws2_32:-no}
8286 enable_loader=${enable_loader:-no}
8287 enable_server=${enable_server:-no}
8288 with_x=${with_x:-no}
8289 with_pthread=${with_pthread:-no}
8292 darwin*|macosx*)
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
8299 ac_ext=m
8300 ac_cpp='$OBJCPP $CPPFLAGS'
8301 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8302 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8303 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8304 if test -n "$ac_tool_prefix"; then
8305 for ac_prog in gcc objcc objc cc CC
8307 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8308 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8310 $as_echo_n "checking for $ac_word... " >&6; }
8311 if ${ac_cv_prog_OBJC+:} false; then :
8312 $as_echo_n "(cached) " >&6
8313 else
8314 if test -n "$OBJC"; then
8315 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8316 else
8317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8318 for as_dir in $PATH
8320 IFS=$as_save_IFS
8321 test -z "$as_dir" && as_dir=.
8322 for ac_exec_ext in '' $ac_executable_extensions; do
8323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8324 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8326 break 2
8328 done
8329 done
8330 IFS=$as_save_IFS
8334 OBJC=$ac_cv_prog_OBJC
8335 if test -n "$OBJC"; then
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8337 $as_echo "$OBJC" >&6; }
8338 else
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8340 $as_echo "no" >&6; }
8344 test -n "$OBJC" && break
8345 done
8347 if test -z "$OBJC"; then
8348 ac_ct_OBJC=$OBJC
8349 for ac_prog in gcc objcc objc cc CC
8351 # Extract the first word of "$ac_prog", so it can be a program name with args.
8352 set dummy $ac_prog; ac_word=$2
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8354 $as_echo_n "checking for $ac_word... " >&6; }
8355 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8356 $as_echo_n "(cached) " >&6
8357 else
8358 if test -n "$ac_ct_OBJC"; then
8359 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8360 else
8361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8362 for as_dir in $PATH
8364 IFS=$as_save_IFS
8365 test -z "$as_dir" && as_dir=.
8366 for ac_exec_ext in '' $ac_executable_extensions; do
8367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8368 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8370 break 2
8372 done
8373 done
8374 IFS=$as_save_IFS
8378 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8379 if test -n "$ac_ct_OBJC"; then
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8381 $as_echo "$ac_ct_OBJC" >&6; }
8382 else
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8384 $as_echo "no" >&6; }
8388 test -n "$ac_ct_OBJC" && break
8389 done
8391 if test "x$ac_ct_OBJC" = x; then
8392 OBJC="gcc"
8393 else
8394 case $cross_compiling:$ac_tool_warned in
8395 yes:)
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8398 ac_tool_warned=yes ;;
8399 esac
8400 OBJC=$ac_ct_OBJC
8404 # Provide some information about the compiler.
8405 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8406 set X $ac_compile
8407 ac_compiler=$2
8408 for ac_option in --version -v -V -qversion; do
8409 { { ac_try="$ac_compiler $ac_option >&5"
8410 case "(($ac_try" in
8411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8412 *) ac_try_echo=$ac_try;;
8413 esac
8414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8415 $as_echo "$ac_try_echo"; } >&5
8416 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8417 ac_status=$?
8418 if test -s conftest.err; then
8419 sed '10a\
8420 ... rest of stderr output deleted ...
8421 10q' conftest.err >conftest.er1
8422 cat conftest.er1 >&5
8424 rm -f conftest.er1 conftest.err
8425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8426 test $ac_status = 0; }
8427 done
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8430 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8431 if ${ac_cv_objc_compiler_gnu+:} false; then :
8432 $as_echo_n "(cached) " >&6
8433 else
8434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8435 /* end confdefs.h. */
8438 main ()
8440 #ifndef __GNUC__
8441 choke me
8442 #endif
8445 return 0;
8447 _ACEOF
8448 if ac_fn_objc_try_compile "$LINENO"; then :
8449 ac_compiler_gnu=yes
8450 else
8451 ac_compiler_gnu=no
8453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8454 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8458 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8459 if test $ac_compiler_gnu = yes; then
8460 GOBJC=yes
8461 else
8462 GOBJC=
8464 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8465 ac_save_OBJCFLAGS=$OBJCFLAGS
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8467 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8468 if ${ac_cv_prog_objc_g+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 ac_save_objc_werror_flag=$ac_objc_werror_flag
8472 ac_objc_werror_flag=yes
8473 ac_cv_prog_objc_g=no
8474 OBJCFLAGS="-g"
8475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8476 /* end confdefs.h. */
8479 main ()
8483 return 0;
8485 _ACEOF
8486 if ac_fn_objc_try_compile "$LINENO"; then :
8487 ac_cv_prog_objc_g=yes
8488 else
8489 OBJCFLAGS=""
8490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8494 main ()
8498 return 0;
8500 _ACEOF
8501 if ac_fn_objc_try_compile "$LINENO"; then :
8503 else
8504 ac_objc_werror_flag=$ac_save_objc_werror_flag
8505 OBJCFLAGS="-g"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8510 main ()
8514 return 0;
8516 _ACEOF
8517 if ac_fn_objc_try_compile "$LINENO"; then :
8518 ac_cv_prog_objc_g=yes
8520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8525 ac_objc_werror_flag=$ac_save_objc_werror_flag
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8528 $as_echo "$ac_cv_prog_objc_g" >&6; }
8529 if test "$ac_test_OBJCFLAGS" = set; then
8530 OBJCFLAGS=$ac_save_OBJCFLAGS
8531 elif test $ac_cv_prog_objc_g = yes; then
8532 if test "$GOBJC" = yes; then
8533 OBJCFLAGS="-g -O2"
8534 else
8535 OBJCFLAGS="-g"
8537 else
8538 if test "$GOBJC" = yes; then
8539 OBJCFLAGS="-O2"
8540 else
8541 OBJCFLAGS=
8544 ac_ext=m
8545 ac_cpp='$OBJCPP $CPPFLAGS'
8546 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8547 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8548 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8551 ac_ext=m
8552 ac_cpp='$OBJCPP $CPPFLAGS'
8553 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8554 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8555 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8557 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8558 if test -z "$OBJCPP"; then
8559 if ${ac_cv_prog_OBJCPP+:} false; then :
8560 $as_echo_n "(cached) " >&6
8561 else
8562 # Double quotes because OBJCPP needs to be expanded
8563 for OBJCPP in "$OBJC -E" "/lib/cpp"
8565 ac_preproc_ok=false
8566 for ac_objc_preproc_warn_flag in '' yes
8568 # Use a header file that comes with gcc, so configuring glibc
8569 # with a fresh cross-compiler works.
8570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8571 # <limits.h> exists even on freestanding compilers.
8572 # On the NeXT, cc -E runs the code through the compiler's parser,
8573 # not just through cpp. "Syntax error" is here to catch this case.
8574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575 /* end confdefs.h. */
8576 #ifdef __STDC__
8577 # include <limits.h>
8578 #else
8579 # include <assert.h>
8580 #endif
8581 Syntax error
8582 _ACEOF
8583 if ac_fn_objc_try_cpp "$LINENO"; then :
8585 else
8586 # Broken: fails on valid input.
8587 continue
8589 rm -f conftest.err conftest.i conftest.$ac_ext
8591 # OK, works on sane cases. Now check whether nonexistent headers
8592 # can be detected and how.
8593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8594 /* end confdefs.h. */
8595 #include <ac_nonexistent.h>
8596 _ACEOF
8597 if ac_fn_objc_try_cpp "$LINENO"; then :
8598 # Broken: success on invalid input.
8599 continue
8600 else
8601 # Passes both tests.
8602 ac_preproc_ok=:
8603 break
8605 rm -f conftest.err conftest.i conftest.$ac_ext
8607 done
8608 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8609 rm -f conftest.i conftest.err conftest.$ac_ext
8610 if $ac_preproc_ok; then :
8611 break
8614 done
8615 ac_cv_prog_OBJCPP=$OBJCPP
8618 OBJCPP=$ac_cv_prog_OBJCPP
8619 else
8620 ac_cv_prog_OBJCPP=$OBJCPP
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8623 $as_echo "$OBJCPP" >&6; }
8624 ac_preproc_ok=false
8625 for ac_objc_preproc_warn_flag in '' yes
8627 # Use a header file that comes with gcc, so configuring glibc
8628 # with a fresh cross-compiler works.
8629 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8630 # <limits.h> exists even on freestanding compilers.
8631 # On the NeXT, cc -E runs the code through the compiler's parser,
8632 # not just through cpp. "Syntax error" is here to catch this case.
8633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8634 /* end confdefs.h. */
8635 #ifdef __STDC__
8636 # include <limits.h>
8637 #else
8638 # include <assert.h>
8639 #endif
8640 Syntax error
8641 _ACEOF
8642 if ac_fn_objc_try_cpp "$LINENO"; then :
8644 else
8645 # Broken: fails on valid input.
8646 continue
8648 rm -f conftest.err conftest.i conftest.$ac_ext
8650 # OK, works on sane cases. Now check whether nonexistent headers
8651 # can be detected and how.
8652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8653 /* end confdefs.h. */
8654 #include <ac_nonexistent.h>
8655 _ACEOF
8656 if ac_fn_objc_try_cpp "$LINENO"; then :
8657 # Broken: success on invalid input.
8658 continue
8659 else
8660 # Passes both tests.
8661 ac_preproc_ok=:
8662 break
8664 rm -f conftest.err conftest.i conftest.$ac_ext
8666 done
8667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8668 rm -f conftest.i conftest.err conftest.$ac_ext
8669 if $ac_preproc_ok; then :
8671 else
8672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8674 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8675 See \`config.log' for more details" "$LINENO" 5; }
8678 ac_ext=m
8679 ac_cpp='$OBJCPP $CPPFLAGS'
8680 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8681 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8682 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8685 for ac_header in Metal/Metal.h
8686 do :
8687 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8688 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8689 cat >>confdefs.h <<_ACEOF
8690 #define HAVE_METAL_METAL_H 1
8691 _ACEOF
8695 done
8697 ac_ext=c
8698 ac_cpp='$CPP $CPPFLAGS'
8699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8703 LIBEXT="dylib"
8704 DLLFLAGS="$DLLFLAGS -fPIC"
8705 LDDLLFLAGS="-fPIC"
8706 COREFOUNDATION_LIBS="-framework CoreFoundation"
8708 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8710 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8712 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8714 CORESERVICES_LIBS="-framework CoreServices"
8716 APPKIT_LIBS="-framework AppKit"
8718 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8721 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8723 wine_can_build_preloader=yes
8724 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8726 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8727 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8728 $as_echo_n "(cached) " >&6
8729 else
8730 ac_wine_try_cflags_saved=$CFLAGS
8731 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h. */
8734 int main(int argc, char **argv) { return 0; }
8735 _ACEOF
8736 if ac_fn_c_try_link "$LINENO"; then :
8737 ac_cv_cflags__Wl__no_new_main__e__main=yes
8738 else
8739 ac_cv_cflags__Wl__no_new_main__e__main=no
8741 rm -f core conftest.err conftest.$ac_objext \
8742 conftest$ac_exeext conftest.$ac_ext
8743 CFLAGS=$ac_wine_try_cflags_saved
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8746 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8747 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8748 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8750 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8751 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8752 $as_echo_n "(cached) " >&6
8753 else
8754 ac_wine_try_cflags_saved=$CFLAGS
8755 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8758 int main(int argc, char **argv) { return 0; }
8759 _ACEOF
8760 if ac_fn_c_try_link "$LINENO"; then :
8761 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8762 else
8763 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8765 rm -f core conftest.err conftest.$ac_objext \
8766 conftest$ac_exeext conftest.$ac_ext
8767 CFLAGS=$ac_wine_try_cflags_saved
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8770 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8771 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8772 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8773 else
8774 { $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
8775 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8776 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8777 $as_echo_n "(cached) " >&6
8778 else
8779 ac_wine_try_cflags_saved=$CFLAGS
8780 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8782 /* end confdefs.h. */
8783 int main(int argc, char **argv) { return 0; }
8784 _ACEOF
8785 if ac_fn_c_try_link "$LINENO"; then :
8786 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8787 else
8788 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8790 rm -f core conftest.err conftest.$ac_objext \
8791 conftest$ac_exeext conftest.$ac_ext
8792 CFLAGS=$ac_wine_try_cflags_saved
8794 { $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
8795 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8796 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8797 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8798 else
8799 wine_can_build_preloader=no
8802 else
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8804 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8805 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8806 $as_echo_n "(cached) " >&6
8807 else
8808 ac_wine_try_cflags_saved=$CFLAGS
8809 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8811 /* end confdefs.h. */
8812 int main(int argc, char **argv) { return 0; }
8813 _ACEOF
8814 if ac_fn_c_try_link "$LINENO"; then :
8815 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8816 else
8817 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8819 rm -f core conftest.err conftest.$ac_objext \
8820 conftest$ac_exeext conftest.$ac_ext
8821 CFLAGS=$ac_wine_try_cflags_saved
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8824 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8825 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8826 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8827 else
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8829 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8830 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8831 $as_echo_n "(cached) " >&6
8832 else
8833 ac_wine_try_cflags_saved=$CFLAGS
8834 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8836 /* end confdefs.h. */
8837 int main(int argc, char **argv) { return 0; }
8838 _ACEOF
8839 if ac_fn_c_try_link "$LINENO"; then :
8840 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8841 else
8842 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8844 rm -f core conftest.err conftest.$ac_objext \
8845 conftest$ac_exeext conftest.$ac_ext
8846 CFLAGS=$ac_wine_try_cflags_saved
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8849 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8850 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8851 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8852 else
8853 wine_can_build_preloader=no
8857 if test "$wine_can_build_preloader" = "yes"
8858 then
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8860 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8861 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8862 $as_echo_n "(cached) " >&6
8863 else
8864 ac_wine_try_cflags_saved=$CFLAGS
8865 CFLAGS="$CFLAGS -Wl,-no_pie"
8866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8868 int main(int argc, char **argv) { return 0; }
8869 _ACEOF
8870 if ac_fn_c_try_link "$LINENO"; then :
8871 ac_cv_cflags__Wl__no_pie=yes
8872 else
8873 ac_cv_cflags__Wl__no_pie=no
8875 rm -f core conftest.err conftest.$ac_objext \
8876 conftest$ac_exeext conftest.$ac_ext
8877 CFLAGS=$ac_wine_try_cflags_saved
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8880 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8881 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8882 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8884 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8885 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8886 else
8887 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8890 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8891 then
8892 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8895 if test "$ac_cv_header_Security_Security_h" = "yes"
8896 then
8897 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8899 ac_save_LIBS="$LIBS"
8900 LIBS="$LIBS $SECURITY_LIBS"
8901 for ac_func in SSLCopyPeerCertificates
8902 do :
8903 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8904 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8905 cat >>confdefs.h <<_ACEOF
8906 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8907 _ACEOF
8910 done
8912 LIBS="$ac_save_LIBS"
8914 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8915 then
8916 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8917 then
8918 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8920 else
8921 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8924 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8925 ac_save_LIBS="$LIBS"
8926 LIBS="$LIBS $COREAUDIO_LIBS"
8927 for ac_func in AUGraphAddNode
8928 do :
8929 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8930 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8931 cat >>confdefs.h <<_ACEOF
8932 #define HAVE_AUGRAPHADDNODE 1
8933 _ACEOF
8936 done
8938 LIBS="$ac_save_LIBS"
8940 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8941 then
8942 OPENAL_LIBS="-framework OpenAL"
8945 cat >>confdefs.h <<_ACEOF
8946 #define HAVE_OPENAL 1
8947 _ACEOF
8949 ac_cv_lib_openal=yes
8951 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8952 then
8953 OPENCL_LIBS="-framework OpenCL"
8955 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8957 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8958 then
8959 ac_save_LIBS="$LIBS"
8960 LIBS="$LIBS $IOKIT_LIBS"
8961 for ac_func in IOHIDManagerCreate
8962 do :
8963 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8964 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8965 cat >>confdefs.h <<_ACEOF
8966 #define HAVE_IOHIDMANAGERCREATE 1
8967 _ACEOF
8970 done
8972 LIBS="$ac_save_LIBS"
8975 if test "x$with_quicktime" != "xno"
8976 then
8977 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8978 then
8979 ac_save_LIBS="$LIBS"
8980 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8982 $as_echo_n "checking for the QuickTime framework... " >&6; }
8983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8984 /* end confdefs.h. */
8985 #include <QuickTime/ImageCompression.h>
8987 main ()
8989 CodecManagerVersion(NULL);
8991 return 0;
8993 _ACEOF
8994 if ac_fn_c_try_link "$LINENO"; then :
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8996 $as_echo "yes" >&6; }
8997 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8999 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9000 else
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9002 $as_echo "no" >&6; }
9003 ac_cv_header_QuickTime_ImageCompression_h=no
9005 rm -f core conftest.err conftest.$ac_objext \
9006 conftest$ac_exeext conftest.$ac_ext
9007 LIBS="$ac_save_LIBS"
9010 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9011 case "x$with_quicktime" in
9012 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9013 xno) ;;
9014 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9015 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9016 esac
9020 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9021 then
9022 CARBON_LIBS="-framework Carbon"
9025 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9026 then
9027 METAL_LIBS="-framework Metal -framework QuartzCore"
9031 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9032 then
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9034 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9035 ac_ext=m
9036 ac_cpp='$OBJCPP $CPPFLAGS'
9037 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9038 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9039 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9042 /* end confdefs.h. */
9043 #include <Metal/Metal.h>
9045 main ()
9047 id<MTLDevice> device; device.registryID;
9049 return 0;
9051 _ACEOF
9052 if ac_fn_objc_try_compile "$LINENO"; then :
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9054 $as_echo "yes" >&6; }
9056 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9058 else
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9060 $as_echo "no" >&6; }
9062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9063 ac_ext=c
9064 ac_cpp='$CPP $CPPFLAGS'
9065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9071 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9072 then
9073 ac_save_LIBS="$LIBS"
9074 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9075 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9076 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9077 enable_winemac_drv=${enable_winemac_drv:-yes}
9080 LIBS="$ac_save_LIBS"
9083 if test "x$enable_win16" = "xyes"
9084 then
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9086 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9087 if test "$cross_compiling" = yes; then :
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9089 $as_echo "cross-compiling, assuming yes" >&6; }
9090 else
9091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9092 /* end confdefs.h. */
9093 asm(".text\n"
9094 "bad:\tnop;nop\n"
9095 "good:\tnop;nop\n\t"
9096 ".globl _testfunc\n"
9097 "_testfunc:\tcallw good");
9098 extern void testfunc();
9100 main ()
9102 unsigned short *p = (unsigned short *)testfunc;
9103 return p[0] != 0xe866 || p[1] != 0xfffa
9105 return 0;
9107 _ACEOF
9108 if ac_fn_c_try_run "$LINENO"; then :
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9110 $as_echo "yes" >&6; }
9111 else
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9113 $as_echo "no" >&6; }
9114 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
9116 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9117 conftest.$ac_objext conftest.beam conftest.$ac_ext
9122 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9124 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9126 WINELOADER_DEPENDS="wine_info.plist"
9128 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9129 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9132 linux-android*)
9133 DLLFLAGS="$DLLFLAGS -fPIC"
9134 LDDLLFLAGS="-fPIC"
9135 LDEXECFLAGS="-Wl,-pie"
9136 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9138 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9139 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9140 $as_echo_n "(cached) " >&6
9141 else
9142 ac_wine_try_cflags_saved=$CFLAGS
9143 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9146 int main(int argc, char **argv) { return 0; }
9147 _ACEOF
9148 if ac_fn_c_try_link "$LINENO"; then :
9149 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9150 else
9151 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9153 rm -f core conftest.err conftest.$ac_objext \
9154 conftest$ac_exeext conftest.$ac_ext
9155 CFLAGS=$ac_wine_try_cflags_saved
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9158 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9159 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9160 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9162 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9164 LIBWINE_SHAREDLIB="libwine.so"
9166 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9168 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9171 $as_echo_n "checking for -lEGL... " >&6; }
9172 if ${ac_cv_lib_soname_EGL+:} false; then :
9173 $as_echo_n "(cached) " >&6
9174 else
9175 ac_check_soname_save_LIBS=$LIBS
9176 LIBS="-lEGL $LIBS"
9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9180 /* Override any GCC internal prototype to avoid an error.
9181 Use char because int might match the return type of a GCC
9182 builtin and then its argument prototype would still apply. */
9183 #ifdef __cplusplus
9184 extern "C"
9185 #endif
9186 char eglGetProcAddress ();
9188 main ()
9190 return eglGetProcAddress ();
9192 return 0;
9194 _ACEOF
9195 if ac_fn_c_try_link "$LINENO"; then :
9196 case "$LIBEXT" in
9197 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9198 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'` ;;
9199 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9200 if ${ac_cv_lib_soname_EGL:+false} :; then :
9201 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9202 fi ;;
9203 esac
9204 else
9205 ac_cv_lib_soname_EGL=
9207 rm -f core conftest.err conftest.$ac_objext \
9208 conftest$ac_exeext conftest.$ac_ext
9209 LIBS=$ac_check_soname_save_LIBS
9211 if ${ac_cv_lib_soname_EGL:+false} :; then :
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9213 $as_echo "not found" >&6; }
9215 else
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9217 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9219 cat >>confdefs.h <<_ACEOF
9220 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9221 _ACEOF
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9226 $as_echo_n "checking for -lGLESv2... " >&6; }
9227 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9228 $as_echo_n "(cached) " >&6
9229 else
9230 ac_check_soname_save_LIBS=$LIBS
9231 LIBS="-lGLESv2 $LIBS"
9232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9233 /* end confdefs.h. */
9235 /* Override any GCC internal prototype to avoid an error.
9236 Use char because int might match the return type of a GCC
9237 builtin and then its argument prototype would still apply. */
9238 #ifdef __cplusplus
9239 extern "C"
9240 #endif
9241 char glFlush ();
9243 main ()
9245 return glFlush ();
9247 return 0;
9249 _ACEOF
9250 if ac_fn_c_try_link "$LINENO"; then :
9251 case "$LIBEXT" in
9252 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9253 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'` ;;
9254 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9255 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9256 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9257 fi ;;
9258 esac
9259 else
9260 ac_cv_lib_soname_GLESv2=
9262 rm -f core conftest.err conftest.$ac_objext \
9263 conftest$ac_exeext conftest.$ac_ext
9264 LIBS=$ac_check_soname_save_LIBS
9266 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9268 $as_echo "not found" >&6; }
9270 else
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9272 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9274 cat >>confdefs.h <<_ACEOF
9275 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9276 _ACEOF
9281 if test "x$exec_prefix" = xNONE
9282 then
9283 case $host_cpu in
9284 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9285 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9286 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9287 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9288 esac
9293 case $host_cpu in
9294 *i[3456789]86*)
9295 DLLFLAGS="$DLLFLAGS -fno-PIC"
9296 LDDLLFLAGS="-fno-PIC" ;;
9298 DLLFLAGS="$DLLFLAGS -fPIC"
9299 LDDLLFLAGS="-fPIC" ;;
9300 esac
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9302 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9303 if ${ac_cv_c_dll_gnuelf+:} false; then :
9304 $as_echo_n "(cached) " >&6
9305 else
9306 ac_wine_try_cflags_saved=$CFLAGS
9307 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9309 /* end confdefs.h. */
9310 void myfunc() {}
9311 _ACEOF
9312 if ac_fn_c_try_link "$LINENO"; then :
9313 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9314 else
9315 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9317 rm -f core conftest.err conftest.$ac_objext \
9318 conftest$ac_exeext conftest.$ac_ext
9319 CFLAGS=$ac_wine_try_cflags_saved
9320 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9321 ac_cv_c_dll_gnuelf="yes"
9322 else
9323 ac_cv_c_dll_gnuelf="no"
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9327 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9328 if test "$ac_cv_c_dll_gnuelf" = "yes"
9329 then
9330 LIBWINE_LDFLAGS="-shared"
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9332 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9333 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9334 $as_echo_n "(cached) " >&6
9335 else
9336 ac_wine_try_cflags_saved=$CFLAGS
9337 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9340 int main(int argc, char **argv) { return 0; }
9341 _ACEOF
9342 if ac_fn_c_try_link "$LINENO"; then :
9343 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9344 else
9345 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9347 rm -f core conftest.err conftest.$ac_objext \
9348 conftest$ac_exeext conftest.$ac_ext
9349 CFLAGS=$ac_wine_try_cflags_saved
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9352 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9353 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9354 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9355 else
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9357 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9358 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9359 $as_echo_n "(cached) " >&6
9360 else
9361 ac_wine_try_cflags_saved=$CFLAGS
9362 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364 /* end confdefs.h. */
9365 int main(int argc, char **argv) { return 0; }
9366 _ACEOF
9367 if ac_fn_c_try_link "$LINENO"; then :
9368 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9369 else
9370 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 CFLAGS=$ac_wine_try_cflags_saved
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9377 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9378 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9379 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9383 echo '{ global: *; };' >conftest.map
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9385 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9386 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9387 $as_echo_n "(cached) " >&6
9388 else
9389 ac_wine_try_cflags_saved=$CFLAGS
9390 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9393 int main(int argc, char **argv) { return 0; }
9394 _ACEOF
9395 if ac_fn_c_try_link "$LINENO"; then :
9396 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9397 else
9398 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9400 rm -f core conftest.err conftest.$ac_objext \
9401 conftest$ac_exeext conftest.$ac_ext
9402 CFLAGS=$ac_wine_try_cflags_saved
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9405 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9406 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9407 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9409 rm -f conftest.map
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9412 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9413 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9414 $as_echo_n "(cached) " >&6
9415 else
9416 ac_wine_try_cflags_saved=$CFLAGS
9417 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9420 int main(int argc, char **argv) { return 0; }
9421 _ACEOF
9422 if ac_fn_c_try_link "$LINENO"; then :
9423 ac_cv_cflags__Wl___export_dynamic=yes
9424 else
9425 ac_cv_cflags__Wl___export_dynamic=no
9427 rm -f core conftest.err conftest.$ac_objext \
9428 conftest$ac_exeext conftest.$ac_ext
9429 CFLAGS=$ac_wine_try_cflags_saved
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9432 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9433 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9434 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9436 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9438 case $host_cpu in
9439 *i[3456789]86* | x86_64 | *aarch64*)
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9441 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9442 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9443 $as_echo_n "(cached) " >&6
9444 else
9445 ac_wine_try_cflags_saved=$CFLAGS
9446 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9449 int main(int argc, char **argv) { return 0; }
9450 _ACEOF
9451 if ac_fn_c_try_link "$LINENO"; then :
9452 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9453 else
9454 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9456 rm -f core conftest.err conftest.$ac_objext \
9457 conftest$ac_exeext conftest.$ac_ext
9458 CFLAGS=$ac_wine_try_cflags_saved
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9461 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9462 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9463 case $host_os in
9464 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9465 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9466 esac
9467 else
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9469 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9470 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9471 $as_echo_n "(cached) " >&6
9472 else
9473 ac_wine_try_cflags_saved=$CFLAGS
9474 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9477 int main(int argc, char **argv) { return 0; }
9478 _ACEOF
9479 if ac_fn_c_try_link "$LINENO"; then :
9480 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9481 else
9482 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9484 rm -f core conftest.err conftest.$ac_objext \
9485 conftest$ac_exeext conftest.$ac_ext
9486 CFLAGS=$ac_wine_try_cflags_saved
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9489 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9490 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9491 case $host_os in
9492 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9493 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9494 esac
9496 # Extract the first word of "prelink", so it can be a program name with args.
9497 set dummy prelink; ac_word=$2
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9499 $as_echo_n "checking for $ac_word... " >&6; }
9500 if ${ac_cv_path_PRELINK+:} false; then :
9501 $as_echo_n "(cached) " >&6
9502 else
9503 case $PRELINK in
9504 [\\/]* | ?:[\\/]*)
9505 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9509 for as_dir in /sbin /usr/sbin $PATH
9511 IFS=$as_save_IFS
9512 test -z "$as_dir" && as_dir=.
9513 for ac_exec_ext in '' $ac_executable_extensions; do
9514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9515 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9517 break 2
9519 done
9520 done
9521 IFS=$as_save_IFS
9523 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9525 esac
9527 PRELINK=$ac_cv_path_PRELINK
9528 if test -n "$PRELINK"; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9530 $as_echo "$PRELINK" >&6; }
9531 else
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9533 $as_echo "no" >&6; }
9537 if test "x$PRELINK" = xfalse
9538 then
9539 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9543 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9544 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9545 $as_echo_n "(cached) " >&6
9546 else
9547 ac_wine_try_cflags_saved=$CFLAGS
9548 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9551 int main(int argc, char **argv) { return 0; }
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"; then :
9554 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9555 else
9556 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9558 rm -f core conftest.err conftest.$ac_objext \
9559 conftest$ac_exeext conftest.$ac_ext
9560 CFLAGS=$ac_wine_try_cflags_saved
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9563 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9564 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9565 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9568 esac
9570 else
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9572 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9573 if ${ac_cv_c_dll_unixware+:} false; then :
9574 $as_echo_n "(cached) " >&6
9575 else
9576 ac_wine_try_cflags_saved=$CFLAGS
9577 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9580 void myfunc() {}
9581 _ACEOF
9582 if ac_fn_c_try_link "$LINENO"; then :
9583 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9584 else
9585 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9587 rm -f core conftest.err conftest.$ac_objext \
9588 conftest$ac_exeext conftest.$ac_ext
9589 CFLAGS=$ac_wine_try_cflags_saved
9590 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9591 ac_cv_c_dll_unixware="yes"
9592 else
9593 ac_cv_c_dll_unixware="no"
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9597 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9598 if test "$ac_cv_c_dll_unixware" = "yes"
9599 then
9600 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9603 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9605 LIBWINE_DEPENDS="wine.map"
9607 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9608 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9610 esac
9612 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9613 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9614 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9615 enable_winemac_drv=${enable_winemac_drv:-no}
9616 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9619 if test "x$with_mingw" != xno
9620 then
9621 case "x$with_mingw" in
9622 x|xyes) case "$host_cpu" in
9623 aarch64*)
9624 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9625 arm*)
9626 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9627 i[3456789]86*)
9628 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
9629 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9630 mingw32-gcc" ;;
9631 x86_64)
9632 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
9633 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9635 ac_prefix_list="" ;;
9636 esac
9637 for ac_prog in $ac_prefix_list
9639 # Extract the first word of "$ac_prog", so it can be a program name with args.
9640 set dummy $ac_prog; ac_word=$2
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9642 $as_echo_n "checking for $ac_word... " >&6; }
9643 if ${ac_cv_prog_CROSSCC+:} false; then :
9644 $as_echo_n "(cached) " >&6
9645 else
9646 if test -n "$CROSSCC"; then
9647 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9648 else
9649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9650 for as_dir in $PATH
9652 IFS=$as_save_IFS
9653 test -z "$as_dir" && as_dir=.
9654 for ac_exec_ext in '' $ac_executable_extensions; do
9655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9656 ac_cv_prog_CROSSCC="$ac_prog"
9657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9658 break 2
9660 done
9661 done
9662 IFS=$as_save_IFS
9666 CROSSCC=$ac_cv_prog_CROSSCC
9667 if test -n "$CROSSCC"; then
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9669 $as_echo "$CROSSCC" >&6; }
9670 else
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9672 $as_echo "no" >&6; }
9676 test -n "$CROSSCC" && break
9677 done
9678 test -n "$CROSSCC" || CROSSCC="false"
9680 *) CROSSCC=$with_mingw ;;
9681 esac
9682 if test "$CROSSCC" != "false"
9683 then
9684 ac_save_CC="$CC"
9685 saved_CFLAGS=$CFLAGS
9686 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9688 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9692 CC="$CROSSCC"
9693 CFLAGS=$CROSSCFLAGS
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9695 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9696 if ${wine_cv_crosscc+:} false; then :
9697 $as_echo_n "(cached) " >&6
9698 else
9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9703 main ()
9707 return 0;
9709 _ACEOF
9710 if ac_fn_c_try_compile "$LINENO"; then :
9711 wine_cv_crosscc=yes
9712 else
9713 wine_cv_crosscc=no
9715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9718 $as_echo "$wine_cv_crosscc" >&6; }
9719 if test $wine_cv_crosscc = yes
9720 then
9721 set x $CROSSCC
9722 shift
9723 while test $# -ge 1
9725 case "$1" in
9726 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9727 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9728 esac
9729 shift
9730 done
9732 llvm_target=$CROSSTARGET
9733 llvm_cflags="-fuse-ld=lld"
9734 if test -z "$llvm_target"
9735 then
9736 case $host_cpu in
9737 *i[3456789]86*) llvm_target=i686-windows ;;
9738 *) llvm_target=$host_cpu-windows ;;
9739 esac
9741 case $llvm_target in
9742 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9743 esac
9744 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9746 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9747 if eval \${$as_ac_var+:} false; then :
9748 $as_echo_n "(cached) " >&6
9749 else
9750 ac_wine_try_cflags_saved=$CFLAGS
9751 ac_wine_try_cflags_saved_cc=$CC
9752 ac_wine_try_cflags_saved_exeext=$ac_exeext
9753 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9754 CC="$CROSSCC"
9755 ac_exeext=".exe"
9756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9757 /* end confdefs.h. */
9758 int __cdecl mainCRTStartup(void) { return 0; }
9759 _ACEOF
9760 if ac_fn_c_try_link "$LINENO"; then :
9761 eval "$as_ac_var=yes"
9762 else
9763 eval "$as_ac_var=no"
9765 rm -f core conftest.err conftest.$ac_objext \
9766 conftest$ac_exeext conftest.$ac_ext
9767 CFLAGS=$ac_wine_try_cflags_saved
9768 CC=$ac_wine_try_cflags_saved_cc
9769 ac_exeext=$ac_wine_try_cflags_saved_exeext
9771 eval ac_res=\$$as_ac_var
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9773 $as_echo "$ac_res" >&6; }
9774 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9775 CROSSTARGET=$llvm_target
9776 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9777 DELAYLOADFLAG="-Wl,-delayload,"
9779 CFLAGS="$CFLAGS $llvm_cflags"
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9783 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9784 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9785 $as_echo_n "(cached) " >&6
9786 else
9787 ac_wine_try_cflags_saved=$CFLAGS
9788 ac_wine_try_cflags_saved_cc=$CC
9789 ac_wine_try_cflags_saved_exeext=$ac_exeext
9790 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9791 CC="$CROSSCC"
9792 ac_exeext=".exe"
9793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9795 int __cdecl mainCRTStartup(void) { return 0; }
9796 _ACEOF
9797 if ac_fn_c_try_link "$LINENO"; then :
9798 ac_cv_crosscflags__fno_strict_aliasing=yes
9799 else
9800 ac_cv_crosscflags__fno_strict_aliasing=no
9802 rm -f core conftest.err conftest.$ac_objext \
9803 conftest$ac_exeext conftest.$ac_ext
9804 CFLAGS=$ac_wine_try_cflags_saved
9805 CC=$ac_wine_try_cflags_saved_cc
9806 ac_exeext=$ac_wine_try_cflags_saved_exeext
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9809 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9810 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9811 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9814 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9815 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9816 $as_echo_n "(cached) " >&6
9817 else
9818 ac_wine_try_cflags_saved=$CFLAGS
9819 ac_wine_try_cflags_saved_cc=$CC
9820 ac_wine_try_cflags_saved_exeext=$ac_exeext
9821 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9822 CC="$CROSSCC"
9823 ac_exeext=".exe"
9824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9825 /* end confdefs.h. */
9826 int __cdecl mainCRTStartup(void) { return 0; }
9827 _ACEOF
9828 if ac_fn_c_try_link "$LINENO"; then :
9829 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9830 else
9831 ac_cv_crosscflags__Werror_unknown_warning_option=no
9833 rm -f core conftest.err conftest.$ac_objext \
9834 conftest$ac_exeext conftest.$ac_ext
9835 CFLAGS=$ac_wine_try_cflags_saved
9836 CC=$ac_wine_try_cflags_saved_cc
9837 ac_exeext=$ac_wine_try_cflags_saved_exeext
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9840 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9841 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9842 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9845 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9846 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9847 $as_echo_n "(cached) " >&6
9848 else
9849 ac_wine_try_cflags_saved=$CFLAGS
9850 ac_wine_try_cflags_saved_cc=$CC
9851 ac_wine_try_cflags_saved_exeext=$ac_exeext
9852 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9853 CC="$CROSSCC"
9854 ac_exeext=".exe"
9855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9856 /* end confdefs.h. */
9857 int __cdecl mainCRTStartup(void) { return 0; }
9858 _ACEOF
9859 if ac_fn_c_try_link "$LINENO"; then :
9860 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9861 else
9862 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9864 rm -f core conftest.err conftest.$ac_objext \
9865 conftest$ac_exeext conftest.$ac_ext
9866 CFLAGS=$ac_wine_try_cflags_saved
9867 CC=$ac_wine_try_cflags_saved_cc
9868 ac_exeext=$ac_wine_try_cflags_saved_exeext
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9871 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9872 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9873 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9876 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9877 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9878 $as_echo_n "(cached) " >&6
9879 else
9880 ac_wine_try_cflags_saved=$CFLAGS
9881 ac_wine_try_cflags_saved_cc=$CC
9882 ac_wine_try_cflags_saved_exeext=$ac_exeext
9883 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9884 CC="$CROSSCC"
9885 ac_exeext=".exe"
9886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9887 /* end confdefs.h. */
9888 int __cdecl mainCRTStartup(void) { return 0; }
9889 _ACEOF
9890 if ac_fn_c_try_link "$LINENO"; then :
9891 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9892 else
9893 ac_cv_crosscflags__Wdeclaration_after_statement=no
9895 rm -f core conftest.err conftest.$ac_objext \
9896 conftest$ac_exeext conftest.$ac_ext
9897 CFLAGS=$ac_wine_try_cflags_saved
9898 CC=$ac_wine_try_cflags_saved_cc
9899 ac_exeext=$ac_wine_try_cflags_saved_exeext
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9902 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9903 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9904 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9907 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9908 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9909 $as_echo_n "(cached) " >&6
9910 else
9911 ac_wine_try_cflags_saved=$CFLAGS
9912 ac_wine_try_cflags_saved_cc=$CC
9913 ac_wine_try_cflags_saved_exeext=$ac_exeext
9914 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9915 CC="$CROSSCC"
9916 ac_exeext=".exe"
9917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9918 /* end confdefs.h. */
9919 int __cdecl mainCRTStartup(void) { return 0; }
9920 _ACEOF
9921 if ac_fn_c_try_link "$LINENO"; then :
9922 ac_cv_crosscflags__Wempty_body=yes
9923 else
9924 ac_cv_crosscflags__Wempty_body=no
9926 rm -f core conftest.err conftest.$ac_objext \
9927 conftest$ac_exeext conftest.$ac_ext
9928 CFLAGS=$ac_wine_try_cflags_saved
9929 CC=$ac_wine_try_cflags_saved_cc
9930 ac_exeext=$ac_wine_try_cflags_saved_exeext
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9933 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9934 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9935 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9938 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9939 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9940 $as_echo_n "(cached) " >&6
9941 else
9942 ac_wine_try_cflags_saved=$CFLAGS
9943 ac_wine_try_cflags_saved_cc=$CC
9944 ac_wine_try_cflags_saved_exeext=$ac_exeext
9945 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9946 CC="$CROSSCC"
9947 ac_exeext=".exe"
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9950 int __cdecl mainCRTStartup(void) { return 0; }
9951 _ACEOF
9952 if ac_fn_c_try_link "$LINENO"; then :
9953 ac_cv_crosscflags__Wignored_qualifiers=yes
9954 else
9955 ac_cv_crosscflags__Wignored_qualifiers=no
9957 rm -f core conftest.err conftest.$ac_objext \
9958 conftest$ac_exeext conftest.$ac_ext
9959 CFLAGS=$ac_wine_try_cflags_saved
9960 CC=$ac_wine_try_cflags_saved_cc
9961 ac_exeext=$ac_wine_try_cflags_saved_exeext
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9964 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9965 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9966 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9969 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9970 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9971 $as_echo_n "(cached) " >&6
9972 else
9973 ac_wine_try_cflags_saved=$CFLAGS
9974 ac_wine_try_cflags_saved_cc=$CC
9975 ac_wine_try_cflags_saved_exeext=$ac_exeext
9976 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9977 CC="$CROSSCC"
9978 ac_exeext=".exe"
9979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9981 int __cdecl mainCRTStartup(void) { return 0; }
9982 _ACEOF
9983 if ac_fn_c_try_link "$LINENO"; then :
9984 ac_cv_crosscflags__Wpacked_not_aligned=yes
9985 else
9986 ac_cv_crosscflags__Wpacked_not_aligned=no
9988 rm -f core conftest.err conftest.$ac_objext \
9989 conftest$ac_exeext conftest.$ac_ext
9990 CFLAGS=$ac_wine_try_cflags_saved
9991 CC=$ac_wine_try_cflags_saved_cc
9992 ac_exeext=$ac_wine_try_cflags_saved_exeext
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9995 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9996 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9997 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10000 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10001 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10002 $as_echo_n "(cached) " >&6
10003 else
10004 ac_wine_try_cflags_saved=$CFLAGS
10005 ac_wine_try_cflags_saved_cc=$CC
10006 ac_wine_try_cflags_saved_exeext=$ac_exeext
10007 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10008 CC="$CROSSCC"
10009 ac_exeext=".exe"
10010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10012 int __cdecl mainCRTStartup(void) { return 0; }
10013 _ACEOF
10014 if ac_fn_c_try_link "$LINENO"; then :
10015 ac_cv_crosscflags__Wpragma_pack=yes
10016 else
10017 ac_cv_crosscflags__Wpragma_pack=no
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 CFLAGS=$ac_wine_try_cflags_saved
10022 CC=$ac_wine_try_cflags_saved_cc
10023 ac_exeext=$ac_wine_try_cflags_saved_exeext
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10026 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10027 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10028 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10031 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10032 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10033 $as_echo_n "(cached) " >&6
10034 else
10035 ac_wine_try_cflags_saved=$CFLAGS
10036 ac_wine_try_cflags_saved_cc=$CC
10037 ac_wine_try_cflags_saved_exeext=$ac_exeext
10038 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10039 CC="$CROSSCC"
10040 ac_exeext=".exe"
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10043 int __cdecl mainCRTStartup(void) { return 0; }
10044 _ACEOF
10045 if ac_fn_c_try_link "$LINENO"; then :
10046 ac_cv_crosscflags__Wshift_overflow_2=yes
10047 else
10048 ac_cv_crosscflags__Wshift_overflow_2=no
10050 rm -f core conftest.err conftest.$ac_objext \
10051 conftest$ac_exeext conftest.$ac_ext
10052 CFLAGS=$ac_wine_try_cflags_saved
10053 CC=$ac_wine_try_cflags_saved_cc
10054 ac_exeext=$ac_wine_try_cflags_saved_exeext
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10057 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10058 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10059 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10062 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10063 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10064 $as_echo_n "(cached) " >&6
10065 else
10066 ac_wine_try_cflags_saved=$CFLAGS
10067 ac_wine_try_cflags_saved_cc=$CC
10068 ac_wine_try_cflags_saved_exeext=$ac_exeext
10069 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10070 CC="$CROSSCC"
10071 ac_exeext=".exe"
10072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10074 int __cdecl mainCRTStartup(void) { return 0; }
10075 _ACEOF
10076 if ac_fn_c_try_link "$LINENO"; then :
10077 ac_cv_crosscflags__Wstrict_prototypes=yes
10078 else
10079 ac_cv_crosscflags__Wstrict_prototypes=no
10081 rm -f core conftest.err conftest.$ac_objext \
10082 conftest$ac_exeext conftest.$ac_ext
10083 CFLAGS=$ac_wine_try_cflags_saved
10084 CC=$ac_wine_try_cflags_saved_cc
10085 ac_exeext=$ac_wine_try_cflags_saved_exeext
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10088 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10089 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10090 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10093 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10094 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10095 $as_echo_n "(cached) " >&6
10096 else
10097 ac_wine_try_cflags_saved=$CFLAGS
10098 ac_wine_try_cflags_saved_cc=$CC
10099 ac_wine_try_cflags_saved_exeext=$ac_exeext
10100 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10101 CC="$CROSSCC"
10102 ac_exeext=".exe"
10103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10104 /* end confdefs.h. */
10105 int __cdecl mainCRTStartup(void) { return 0; }
10106 _ACEOF
10107 if ac_fn_c_try_link "$LINENO"; then :
10108 ac_cv_crosscflags__Wtype_limits=yes
10109 else
10110 ac_cv_crosscflags__Wtype_limits=no
10112 rm -f core conftest.err conftest.$ac_objext \
10113 conftest$ac_exeext conftest.$ac_ext
10114 CFLAGS=$ac_wine_try_cflags_saved
10115 CC=$ac_wine_try_cflags_saved_cc
10116 ac_exeext=$ac_wine_try_cflags_saved_exeext
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10119 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10120 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10121 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10124 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10125 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10126 $as_echo_n "(cached) " >&6
10127 else
10128 ac_wine_try_cflags_saved=$CFLAGS
10129 ac_wine_try_cflags_saved_cc=$CC
10130 ac_wine_try_cflags_saved_exeext=$ac_exeext
10131 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10132 CC="$CROSSCC"
10133 ac_exeext=".exe"
10134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10135 /* end confdefs.h. */
10136 int __cdecl mainCRTStartup(void) { return 0; }
10137 _ACEOF
10138 if ac_fn_c_try_link "$LINENO"; then :
10139 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10140 else
10141 ac_cv_crosscflags__Wunused_but_set_parameter=no
10143 rm -f core conftest.err conftest.$ac_objext \
10144 conftest$ac_exeext conftest.$ac_ext
10145 CFLAGS=$ac_wine_try_cflags_saved
10146 CC=$ac_wine_try_cflags_saved_cc
10147 ac_exeext=$ac_wine_try_cflags_saved_exeext
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10150 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10151 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10152 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10155 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10156 if ${ac_cv_crosscflags__Wvla+:} false; then :
10157 $as_echo_n "(cached) " >&6
10158 else
10159 ac_wine_try_cflags_saved=$CFLAGS
10160 ac_wine_try_cflags_saved_cc=$CC
10161 ac_wine_try_cflags_saved_exeext=$ac_exeext
10162 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10163 CC="$CROSSCC"
10164 ac_exeext=".exe"
10165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10167 int __cdecl mainCRTStartup(void) { return 0; }
10168 _ACEOF
10169 if ac_fn_c_try_link "$LINENO"; then :
10170 ac_cv_crosscflags__Wvla=yes
10171 else
10172 ac_cv_crosscflags__Wvla=no
10174 rm -f core conftest.err conftest.$ac_objext \
10175 conftest$ac_exeext conftest.$ac_ext
10176 CFLAGS=$ac_wine_try_cflags_saved
10177 CC=$ac_wine_try_cflags_saved_cc
10178 ac_exeext=$ac_wine_try_cflags_saved_exeext
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10181 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10182 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10183 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10186 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10187 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10188 $as_echo_n "(cached) " >&6
10189 else
10190 ac_wine_try_cflags_saved=$CFLAGS
10191 ac_wine_try_cflags_saved_cc=$CC
10192 ac_wine_try_cflags_saved_exeext=$ac_exeext
10193 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10194 CC="$CROSSCC"
10195 ac_exeext=".exe"
10196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10197 /* end confdefs.h. */
10198 int __cdecl mainCRTStartup(void) { return 0; }
10199 _ACEOF
10200 if ac_fn_c_try_link "$LINENO"; then :
10201 ac_cv_crosscflags__Wwrite_strings=yes
10202 else
10203 ac_cv_crosscflags__Wwrite_strings=no
10205 rm -f core conftest.err conftest.$ac_objext \
10206 conftest$ac_exeext conftest.$ac_ext
10207 CFLAGS=$ac_wine_try_cflags_saved
10208 CC=$ac_wine_try_cflags_saved_cc
10209 ac_exeext=$ac_wine_try_cflags_saved_exeext
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10212 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10213 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10214 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10217 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10218 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10219 $as_echo_n "(cached) " >&6
10220 else
10221 ac_wine_try_cflags_saved=$CFLAGS
10222 ac_wine_try_cflags_saved_cc=$CC
10223 ac_wine_try_cflags_saved_exeext=$ac_exeext
10224 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10225 CC="$CROSSCC"
10226 ac_exeext=".exe"
10227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10228 /* end confdefs.h. */
10229 int __cdecl mainCRTStartup(void) { return 0; }
10230 _ACEOF
10231 if ac_fn_c_try_link "$LINENO"; then :
10232 ac_cv_crosscflags__Wpointer_arith=yes
10233 else
10234 ac_cv_crosscflags__Wpointer_arith=no
10236 rm -f core conftest.err conftest.$ac_objext \
10237 conftest$ac_exeext conftest.$ac_ext
10238 CFLAGS=$ac_wine_try_cflags_saved
10239 CC=$ac_wine_try_cflags_saved_cc
10240 ac_exeext=$ac_wine_try_cflags_saved_exeext
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10243 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10244 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10245 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10248 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10249 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10250 $as_echo_n "(cached) " >&6
10251 else
10252 ac_wine_try_cflags_saved=$CFLAGS
10253 ac_wine_try_cflags_saved_cc=$CC
10254 ac_wine_try_cflags_saved_exeext=$ac_exeext
10255 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10256 CC="$CROSSCC"
10257 ac_exeext=".exe"
10258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10259 /* end confdefs.h. */
10260 int __cdecl mainCRTStartup(void) { return 0; }
10261 _ACEOF
10262 if ac_fn_c_try_link "$LINENO"; then :
10263 ac_cv_crosscflags__Wlogical_op=yes
10264 else
10265 ac_cv_crosscflags__Wlogical_op=no
10267 rm -f core conftest.err conftest.$ac_objext \
10268 conftest$ac_exeext conftest.$ac_ext
10269 CFLAGS=$ac_wine_try_cflags_saved
10270 CC=$ac_wine_try_cflags_saved_cc
10271 ac_exeext=$ac_wine_try_cflags_saved_exeext
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10274 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10275 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10276 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10279 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10280 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10281 $as_echo_n "(cached) " >&6
10282 else
10283 ac_wine_try_cflags_saved=$CFLAGS
10284 ac_wine_try_cflags_saved_cc=$CC
10285 ac_wine_try_cflags_saved_exeext=$ac_exeext
10286 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10287 CC="$CROSSCC"
10288 ac_exeext=".exe"
10289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10291 int __cdecl mainCRTStartup(void) { return 0; }
10292 _ACEOF
10293 if ac_fn_c_try_link "$LINENO"; then :
10294 ac_cv_crosscflags__Wabsolute_value=yes
10295 else
10296 ac_cv_crosscflags__Wabsolute_value=no
10298 rm -f core conftest.err conftest.$ac_objext \
10299 conftest$ac_exeext conftest.$ac_ext
10300 CFLAGS=$ac_wine_try_cflags_saved
10301 CC=$ac_wine_try_cflags_saved_cc
10302 ac_exeext=$ac_wine_try_cflags_saved_exeext
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10305 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10306 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10307 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10310 case $host_cpu in
10311 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10312 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10313 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10314 $as_echo_n "(cached) " >&6
10315 else
10316 ac_wine_try_cflags_saved=$CFLAGS
10317 ac_wine_try_cflags_saved_cc=$CC
10318 ac_wine_try_cflags_saved_exeext=$ac_exeext
10319 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10320 CC="$CROSSCC"
10321 ac_exeext=".exe"
10322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10324 int __cdecl mainCRTStartup(void) { return 0; }
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10328 else
10329 ac_cv_crosscflags__fno_omit_frame_pointer=no
10331 rm -f core conftest.err conftest.$ac_objext \
10332 conftest$ac_exeext conftest.$ac_ext
10333 CFLAGS=$ac_wine_try_cflags_saved
10334 CC=$ac_wine_try_cflags_saved_cc
10335 ac_exeext=$ac_wine_try_cflags_saved_exeext
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10338 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10339 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10340 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10341 fi ;;
10342 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10343 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10344 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10345 $as_echo_n "(cached) " >&6
10346 else
10347 ac_wine_try_cflags_saved=$CFLAGS
10348 ac_wine_try_cflags_saved_cc=$CC
10349 ac_wine_try_cflags_saved_exeext=$ac_exeext
10350 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10351 CC="$CROSSCC"
10352 ac_exeext=".exe"
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10355 int __cdecl mainCRTStartup(void) { return 0; }
10356 _ACEOF
10357 if ac_fn_c_try_link "$LINENO"; then :
10358 ac_cv_crosscflags__Wno_format=yes
10359 else
10360 ac_cv_crosscflags__Wno_format=no
10362 rm -f core conftest.err conftest.$ac_objext \
10363 conftest$ac_exeext conftest.$ac_ext
10364 CFLAGS=$ac_wine_try_cflags_saved
10365 CC=$ac_wine_try_cflags_saved_cc
10366 ac_exeext=$ac_wine_try_cflags_saved_exeext
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10369 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10370 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10371 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10374 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10375 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10376 $as_echo_n "(cached) " >&6
10377 else
10378 ac_wine_try_cflags_saved=$CFLAGS
10379 ac_wine_try_cflags_saved_cc=$CC
10380 ac_wine_try_cflags_saved_exeext=$ac_exeext
10381 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10382 CC="$CROSSCC"
10383 ac_exeext=".exe"
10384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10385 /* end confdefs.h. */
10386 int __cdecl mainCRTStartup(void) { return 0; }
10387 _ACEOF
10388 if ac_fn_c_try_link "$LINENO"; then :
10389 ac_cv_crosscflags__Wformat_overflow=yes
10390 else
10391 ac_cv_crosscflags__Wformat_overflow=no
10393 rm -f core conftest.err conftest.$ac_objext \
10394 conftest$ac_exeext conftest.$ac_ext
10395 CFLAGS=$ac_wine_try_cflags_saved
10396 CC=$ac_wine_try_cflags_saved_cc
10397 ac_exeext=$ac_wine_try_cflags_saved_exeext
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10400 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10401 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10402 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10405 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10406 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10407 $as_echo_n "(cached) " >&6
10408 else
10409 ac_wine_try_cflags_saved=$CFLAGS
10410 ac_wine_try_cflags_saved_cc=$CC
10411 ac_wine_try_cflags_saved_exeext=$ac_exeext
10412 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10413 CC="$CROSSCC"
10414 ac_exeext=".exe"
10415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10417 int __cdecl mainCRTStartup(void) { return 0; }
10418 _ACEOF
10419 if ac_fn_c_try_link "$LINENO"; then :
10420 ac_cv_crosscflags__Wnonnull=yes
10421 else
10422 ac_cv_crosscflags__Wnonnull=no
10424 rm -f core conftest.err conftest.$ac_objext \
10425 conftest$ac_exeext conftest.$ac_ext
10426 CFLAGS=$ac_wine_try_cflags_saved
10427 CC=$ac_wine_try_cflags_saved_cc
10428 ac_exeext=$ac_wine_try_cflags_saved_exeext
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10431 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10432 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10433 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10436 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10437 if ${ac_cv_crosscflags__mcx16+:} false; then :
10438 $as_echo_n "(cached) " >&6
10439 else
10440 ac_wine_try_cflags_saved=$CFLAGS
10441 ac_wine_try_cflags_saved_cc=$CC
10442 ac_wine_try_cflags_saved_exeext=$ac_exeext
10443 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10444 CC="$CROSSCC"
10445 ac_exeext=".exe"
10446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10447 /* end confdefs.h. */
10448 int __cdecl mainCRTStartup(void) { return 0; }
10449 _ACEOF
10450 if ac_fn_c_try_link "$LINENO"; then :
10451 ac_cv_crosscflags__mcx16=yes
10452 else
10453 ac_cv_crosscflags__mcx16=no
10455 rm -f core conftest.err conftest.$ac_objext \
10456 conftest$ac_exeext conftest.$ac_ext
10457 CFLAGS=$ac_wine_try_cflags_saved
10458 CC=$ac_wine_try_cflags_saved_cc
10459 ac_exeext=$ac_wine_try_cflags_saved_exeext
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10462 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10463 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10464 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10465 fi ;;
10466 esac
10469 if test -z "$CROSSDEBUG"
10470 then
10471 for ac_flag in $CROSSCFLAGS; do
10472 case $ac_flag in
10473 -gdwarf*) CROSSDEBUG=dwarf ;;
10474 -gcodeview) CROSSDEBUG=pdb ;;
10475 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10476 esac
10477 done
10479 case $CROSSDEBUG in
10480 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10481 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10482 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10483 $as_echo_n "(cached) " >&6
10484 else
10485 ac_wine_try_cflags_saved=$CFLAGS
10486 ac_wine_try_cflags_saved_cc=$CC
10487 ac_wine_try_cflags_saved_exeext=$ac_exeext
10488 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10489 CC="$CROSSCC"
10490 ac_exeext=".exe"
10491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10492 /* end confdefs.h. */
10493 int __cdecl mainCRTStartup(void) { return 0; }
10494 _ACEOF
10495 if ac_fn_c_try_link "$LINENO"; then :
10496 ac_cv_crosscflags__gdwarf_2=yes
10497 else
10498 ac_cv_crosscflags__gdwarf_2=no
10500 rm -f core conftest.err conftest.$ac_objext \
10501 conftest$ac_exeext conftest.$ac_ext
10502 CFLAGS=$ac_wine_try_cflags_saved
10503 CC=$ac_wine_try_cflags_saved_cc
10504 ac_exeext=$ac_wine_try_cflags_saved_exeext
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10507 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10508 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10509 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10512 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10513 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10514 $as_echo_n "(cached) " >&6
10515 else
10516 ac_wine_try_cflags_saved=$CFLAGS
10517 ac_wine_try_cflags_saved_cc=$CC
10518 ac_wine_try_cflags_saved_exeext=$ac_exeext
10519 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10520 CC="$CROSSCC"
10521 ac_exeext=".exe"
10522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10523 /* end confdefs.h. */
10524 int __cdecl mainCRTStartup(void) { return 0; }
10525 _ACEOF
10526 if ac_fn_c_try_link "$LINENO"; then :
10527 ac_cv_crosscflags__gstrict_dwarf=yes
10528 else
10529 ac_cv_crosscflags__gstrict_dwarf=no
10531 rm -f core conftest.err conftest.$ac_objext \
10532 conftest$ac_exeext conftest.$ac_ext
10533 CFLAGS=$ac_wine_try_cflags_saved
10534 CC=$ac_wine_try_cflags_saved_cc
10535 ac_exeext=$ac_wine_try_cflags_saved_exeext
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10538 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10539 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10540 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10541 fi ;;
10542 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10543 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10544 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10545 $as_echo_n "(cached) " >&6
10546 else
10547 ac_wine_try_cflags_saved=$CFLAGS
10548 ac_wine_try_cflags_saved_cc=$CC
10549 ac_wine_try_cflags_saved_exeext=$ac_exeext
10550 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10551 CC="$CROSSCC"
10552 ac_exeext=".exe"
10553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10554 /* end confdefs.h. */
10555 int __cdecl mainCRTStartup(void) { return 0; }
10556 _ACEOF
10557 if ac_fn_c_try_link "$LINENO"; then :
10558 ac_cv_crosscflags__gcodeview=yes
10559 else
10560 ac_cv_crosscflags__gcodeview=no
10562 rm -f core conftest.err conftest.$ac_objext \
10563 conftest$ac_exeext conftest.$ac_ext
10564 CFLAGS=$ac_wine_try_cflags_saved
10565 CC=$ac_wine_try_cflags_saved_cc
10566 ac_exeext=$ac_wine_try_cflags_saved_exeext
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10569 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10570 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10571 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10572 fi ;;
10573 esac
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10576 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10577 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10578 $as_echo_n "(cached) " >&6
10579 else
10580 ac_wine_try_cflags_saved=$CFLAGS
10581 ac_wine_try_cflags_saved_cc=$CC
10582 ac_wine_try_cflags_saved_exeext=$ac_exeext
10583 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10584 CC="$CROSSCC"
10585 ac_exeext=".exe"
10586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10587 /* end confdefs.h. */
10588 int __cdecl mainCRTStartup(void) { return 0; }
10589 _ACEOF
10590 if ac_fn_c_try_link "$LINENO"; then :
10591 ac_cv_crosscflags__fexcess_precision_standard=yes
10592 else
10593 ac_cv_crosscflags__fexcess_precision_standard=no
10595 rm -f core conftest.err conftest.$ac_objext \
10596 conftest$ac_exeext conftest.$ac_ext
10597 CFLAGS=$ac_wine_try_cflags_saved
10598 CC=$ac_wine_try_cflags_saved_cc
10599 ac_exeext=$ac_wine_try_cflags_saved_exeext
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10602 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10603 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10604 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10608 if test "x$enable_werror" = "xyes"
10609 then
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10611 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10612 if ${ac_cv_crosscflags__Werror+:} false; then :
10613 $as_echo_n "(cached) " >&6
10614 else
10615 ac_wine_try_cflags_saved=$CFLAGS
10616 ac_wine_try_cflags_saved_cc=$CC
10617 ac_wine_try_cflags_saved_exeext=$ac_exeext
10618 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10619 CC="$CROSSCC"
10620 ac_exeext=".exe"
10621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10622 /* end confdefs.h. */
10623 int __cdecl mainCRTStartup(void) { return 0; }
10624 _ACEOF
10625 if ac_fn_c_try_link "$LINENO"; then :
10626 ac_cv_crosscflags__Werror=yes
10627 else
10628 ac_cv_crosscflags__Werror=no
10630 rm -f core conftest.err conftest.$ac_objext \
10631 conftest$ac_exeext conftest.$ac_ext
10632 CFLAGS=$ac_wine_try_cflags_saved
10633 CC=$ac_wine_try_cflags_saved_cc
10634 ac_exeext=$ac_wine_try_cflags_saved_exeext
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10637 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10638 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10639 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10643 CFLAGS=$saved_CFLAGS
10644 CC="$ac_save_CC"
10647 if test "x$CROSSTARGET" = "x"; then :
10648 case "x$with_mingw" in
10649 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10650 xno) ;;
10651 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10652 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10653 esac
10658 if test "$ac_cv_header_pthread_h" = "yes"
10659 then
10660 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10661 if test "x$ac_cv_func_pthread_create" = xyes; then :
10663 else
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10665 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10666 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10667 $as_echo_n "(cached) " >&6
10668 else
10669 ac_check_lib_save_LIBS=$LIBS
10670 LIBS="-lpthread $LIBS"
10671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10674 /* Override any GCC internal prototype to avoid an error.
10675 Use char because int might match the return type of a GCC
10676 builtin and then its argument prototype would still apply. */
10677 #ifdef __cplusplus
10678 extern "C"
10679 #endif
10680 char pthread_create ();
10682 main ()
10684 return pthread_create ();
10686 return 0;
10688 _ACEOF
10689 if ac_fn_c_try_link "$LINENO"; then :
10690 ac_cv_lib_pthread_pthread_create=yes
10691 else
10692 ac_cv_lib_pthread_pthread_create=no
10694 rm -f core conftest.err conftest.$ac_objext \
10695 conftest$ac_exeext conftest.$ac_ext
10696 LIBS=$ac_check_lib_save_LIBS
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10699 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10700 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10701 PTHREAD_LIBS="-lpthread"
10708 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10709 case "x$with_pthread" in
10710 xno) ;;
10711 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10712 Wine cannot support threads without libpthread.
10713 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10714 esac
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10720 $as_echo_n "checking for X... " >&6; }
10723 # Check whether --with-x was given.
10724 if test "${with_x+set}" = set; then :
10725 withval=$with_x;
10728 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10729 if test "x$with_x" = xno; then
10730 # The user explicitly disabled X.
10731 have_x=disabled
10732 else
10733 case $x_includes,$x_libraries in #(
10734 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10735 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10736 $as_echo_n "(cached) " >&6
10737 else
10738 # One or both of the vars are not set, and there is no cached value.
10739 ac_x_includes=no ac_x_libraries=no
10740 rm -f -r conftest.dir
10741 if mkdir conftest.dir; then
10742 cd conftest.dir
10743 cat >Imakefile <<'_ACEOF'
10744 incroot:
10745 @echo incroot='${INCROOT}'
10746 usrlibdir:
10747 @echo usrlibdir='${USRLIBDIR}'
10748 libdir:
10749 @echo libdir='${LIBDIR}'
10750 _ACEOF
10751 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10752 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10753 for ac_var in incroot usrlibdir libdir; do
10754 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10755 done
10756 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10757 for ac_extension in a so sl dylib la dll; do
10758 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10759 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10760 ac_im_usrlibdir=$ac_im_libdir; break
10762 done
10763 # Screen out bogus values from the imake configuration. They are
10764 # bogus both because they are the default anyway, and because
10765 # using them would break gcc on systems where it needs fixed includes.
10766 case $ac_im_incroot in
10767 /usr/include) ac_x_includes= ;;
10768 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10769 esac
10770 case $ac_im_usrlibdir in
10771 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10772 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10773 esac
10775 cd ..
10776 rm -f -r conftest.dir
10779 # Standard set of common directories for X headers.
10780 # Check X11 before X11Rn because it is often a symlink to the current release.
10781 ac_x_header_dirs='
10782 /usr/X11/include
10783 /usr/X11R7/include
10784 /usr/X11R6/include
10785 /usr/X11R5/include
10786 /usr/X11R4/include
10788 /usr/include/X11
10789 /usr/include/X11R7
10790 /usr/include/X11R6
10791 /usr/include/X11R5
10792 /usr/include/X11R4
10794 /usr/local/X11/include
10795 /usr/local/X11R7/include
10796 /usr/local/X11R6/include
10797 /usr/local/X11R5/include
10798 /usr/local/X11R4/include
10800 /usr/local/include/X11
10801 /usr/local/include/X11R7
10802 /usr/local/include/X11R6
10803 /usr/local/include/X11R5
10804 /usr/local/include/X11R4
10806 /usr/X386/include
10807 /usr/x386/include
10808 /usr/XFree86/include/X11
10810 /usr/include
10811 /usr/local/include
10812 /usr/unsupported/include
10813 /usr/athena/include
10814 /usr/local/x11r5/include
10815 /usr/lpp/Xamples/include
10817 /usr/openwin/include
10818 /usr/openwin/share/include'
10820 if test "$ac_x_includes" = no; then
10821 # Guess where to find include files, by looking for Xlib.h.
10822 # First, try using that file with no special directory specified.
10823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10824 /* end confdefs.h. */
10825 #include <X11/Xlib.h>
10826 _ACEOF
10827 if ac_fn_c_try_cpp "$LINENO"; then :
10828 # We can compile using X headers with no special include directory.
10829 ac_x_includes=
10830 else
10831 for ac_dir in $ac_x_header_dirs; do
10832 if test -r "$ac_dir/X11/Xlib.h"; then
10833 ac_x_includes=$ac_dir
10834 break
10836 done
10838 rm -f conftest.err conftest.i conftest.$ac_ext
10839 fi # $ac_x_includes = no
10841 if test "$ac_x_libraries" = no; then
10842 # Check for the libraries.
10843 # See if we find them without any special options.
10844 # Don't add to $LIBS permanently.
10845 ac_save_LIBS=$LIBS
10846 LIBS="-lX11 $LIBS"
10847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10848 /* end confdefs.h. */
10849 #include <X11/Xlib.h>
10851 main ()
10853 XrmInitialize ()
10855 return 0;
10857 _ACEOF
10858 if ac_fn_c_try_link "$LINENO"; then :
10859 LIBS=$ac_save_LIBS
10860 # We can link X programs with no special library path.
10861 ac_x_libraries=
10862 else
10863 LIBS=$ac_save_LIBS
10864 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10866 # Don't even attempt the hair of trying to link an X program!
10867 for ac_extension in a so sl dylib la dll; do
10868 if test -r "$ac_dir/libX11.$ac_extension"; then
10869 ac_x_libraries=$ac_dir
10870 break 2
10872 done
10873 done
10875 rm -f core conftest.err conftest.$ac_objext \
10876 conftest$ac_exeext conftest.$ac_ext
10877 fi # $ac_x_libraries = no
10879 case $ac_x_includes,$ac_x_libraries in #(
10880 no,* | *,no | *\'*)
10881 # Didn't find X, or a directory has "'" in its name.
10882 ac_cv_have_x="have_x=no";; #(
10884 # Record where we found X for the cache.
10885 ac_cv_have_x="have_x=yes\
10886 ac_x_includes='$ac_x_includes'\
10887 ac_x_libraries='$ac_x_libraries'"
10888 esac
10890 ;; #(
10891 *) have_x=yes;;
10892 esac
10893 eval "$ac_cv_have_x"
10894 fi # $with_x != no
10896 if test "$have_x" != yes; then
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10898 $as_echo "$have_x" >&6; }
10899 no_x=yes
10900 else
10901 # If each of the values was on the command line, it overrides each guess.
10902 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10903 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10904 # Update the cache value to reflect the command line values.
10905 ac_cv_have_x="have_x=yes\
10906 ac_x_includes='$x_includes'\
10907 ac_x_libraries='$x_libraries'"
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10909 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10912 if test "$no_x" = yes; then
10913 # Not all programs may use this symbol, but it does not hurt to define it.
10915 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10917 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10918 else
10919 if test -n "$x_includes"; then
10920 X_CFLAGS="$X_CFLAGS -I$x_includes"
10923 # It would also be nice to do this for all -L options, not just this one.
10924 if test -n "$x_libraries"; then
10925 X_LIBS="$X_LIBS -L$x_libraries"
10926 # For Solaris; some versions of Sun CC require a space after -R and
10927 # others require no space. Words are not sufficient . . . .
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10929 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10930 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10931 ac_xsave_c_werror_flag=$ac_c_werror_flag
10932 ac_c_werror_flag=yes
10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10937 main ()
10941 return 0;
10943 _ACEOF
10944 if ac_fn_c_try_link "$LINENO"; then :
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10946 $as_echo "no" >&6; }
10947 X_LIBS="$X_LIBS -R$x_libraries"
10948 else
10949 LIBS="$ac_xsave_LIBS -R $x_libraries"
10950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10954 main ()
10958 return 0;
10960 _ACEOF
10961 if ac_fn_c_try_link "$LINENO"; then :
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10963 $as_echo "yes" >&6; }
10964 X_LIBS="$X_LIBS -R $x_libraries"
10965 else
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10967 $as_echo "neither works" >&6; }
10969 rm -f core conftest.err conftest.$ac_objext \
10970 conftest$ac_exeext conftest.$ac_ext
10972 rm -f core conftest.err conftest.$ac_objext \
10973 conftest$ac_exeext conftest.$ac_ext
10974 ac_c_werror_flag=$ac_xsave_c_werror_flag
10975 LIBS=$ac_xsave_LIBS
10978 # Check for system-dependent libraries X programs must link with.
10979 # Do this before checking for the system-independent R6 libraries
10980 # (-lICE), since we may need -lsocket or whatever for X linking.
10982 if test "$ISC" = yes; then
10983 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10984 else
10985 # Martyn Johnson says this is needed for Ultrix, if the X
10986 # libraries were built with DECnet support. And Karl Berry says
10987 # the Alpha needs dnet_stub (dnet does not exist).
10988 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
10992 /* Override any GCC internal prototype to avoid an error.
10993 Use char because int might match the return type of a GCC
10994 builtin and then its argument prototype would still apply. */
10995 #ifdef __cplusplus
10996 extern "C"
10997 #endif
10998 char XOpenDisplay ();
11000 main ()
11002 return XOpenDisplay ();
11004 return 0;
11006 _ACEOF
11007 if ac_fn_c_try_link "$LINENO"; then :
11009 else
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11011 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11012 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11013 $as_echo_n "(cached) " >&6
11014 else
11015 ac_check_lib_save_LIBS=$LIBS
11016 LIBS="-ldnet $LIBS"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11023 #ifdef __cplusplus
11024 extern "C"
11025 #endif
11026 char dnet_ntoa ();
11028 main ()
11030 return dnet_ntoa ();
11032 return 0;
11034 _ACEOF
11035 if ac_fn_c_try_link "$LINENO"; then :
11036 ac_cv_lib_dnet_dnet_ntoa=yes
11037 else
11038 ac_cv_lib_dnet_dnet_ntoa=no
11040 rm -f core conftest.err conftest.$ac_objext \
11041 conftest$ac_exeext conftest.$ac_ext
11042 LIBS=$ac_check_lib_save_LIBS
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11045 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11046 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11047 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11050 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11052 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11053 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11054 $as_echo_n "(cached) " >&6
11055 else
11056 ac_check_lib_save_LIBS=$LIBS
11057 LIBS="-ldnet_stub $LIBS"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11064 #ifdef __cplusplus
11065 extern "C"
11066 #endif
11067 char dnet_ntoa ();
11069 main ()
11071 return dnet_ntoa ();
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"; then :
11077 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11078 else
11079 ac_cv_lib_dnet_stub_dnet_ntoa=no
11081 rm -f core conftest.err conftest.$ac_objext \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS=$ac_check_lib_save_LIBS
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11086 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11087 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11088 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11093 rm -f core conftest.err conftest.$ac_objext \
11094 conftest$ac_exeext conftest.$ac_ext
11095 LIBS="$ac_xsave_LIBS"
11097 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11098 # to get the SysV transport functions.
11099 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11100 # needs -lnsl.
11101 # The nsl library prevents programs from opening the X display
11102 # on Irix 5.2, according to T.E. Dickey.
11103 # The functions gethostbyname, getservbyname, and inet_addr are
11104 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11105 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11106 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11110 if test $ac_cv_func_gethostbyname = no; then
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11112 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11113 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11114 $as_echo_n "(cached) " >&6
11115 else
11116 ac_check_lib_save_LIBS=$LIBS
11117 LIBS="-lnsl $LIBS"
11118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11119 /* end confdefs.h. */
11121 /* Override any GCC internal prototype to avoid an error.
11122 Use char because int might match the return type of a GCC
11123 builtin and then its argument prototype would still apply. */
11124 #ifdef __cplusplus
11125 extern "C"
11126 #endif
11127 char gethostbyname ();
11129 main ()
11131 return gethostbyname ();
11133 return 0;
11135 _ACEOF
11136 if ac_fn_c_try_link "$LINENO"; then :
11137 ac_cv_lib_nsl_gethostbyname=yes
11138 else
11139 ac_cv_lib_nsl_gethostbyname=no
11141 rm -f core conftest.err conftest.$ac_objext \
11142 conftest$ac_exeext conftest.$ac_ext
11143 LIBS=$ac_check_lib_save_LIBS
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11146 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11147 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11148 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11151 if test $ac_cv_lib_nsl_gethostbyname = no; then
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11153 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11154 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11155 $as_echo_n "(cached) " >&6
11156 else
11157 ac_check_lib_save_LIBS=$LIBS
11158 LIBS="-lbsd $LIBS"
11159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11162 /* Override any GCC internal prototype to avoid an error.
11163 Use char because int might match the return type of a GCC
11164 builtin and then its argument prototype would still apply. */
11165 #ifdef __cplusplus
11166 extern "C"
11167 #endif
11168 char gethostbyname ();
11170 main ()
11172 return gethostbyname ();
11174 return 0;
11176 _ACEOF
11177 if ac_fn_c_try_link "$LINENO"; then :
11178 ac_cv_lib_bsd_gethostbyname=yes
11179 else
11180 ac_cv_lib_bsd_gethostbyname=no
11182 rm -f core conftest.err conftest.$ac_objext \
11183 conftest$ac_exeext conftest.$ac_ext
11184 LIBS=$ac_check_lib_save_LIBS
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11187 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11188 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11189 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11195 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11196 # socket/setsockopt and other routines are undefined under SCO ODT
11197 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11198 # on later versions), says Simon Leinen: it contains gethostby*
11199 # variants that don't use the name server (or something). -lsocket
11200 # must be given before -lnsl if both are needed. We assume that
11201 # if connect needs -lnsl, so does gethostbyname.
11202 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11203 if test "x$ac_cv_func_connect" = xyes; then :
11207 if test $ac_cv_func_connect = no; then
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11209 $as_echo_n "checking for connect in -lsocket... " >&6; }
11210 if ${ac_cv_lib_socket_connect+:} false; then :
11211 $as_echo_n "(cached) " >&6
11212 else
11213 ac_check_lib_save_LIBS=$LIBS
11214 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11216 /* end confdefs.h. */
11218 /* Override any GCC internal prototype to avoid an error.
11219 Use char because int might match the return type of a GCC
11220 builtin and then its argument prototype would still apply. */
11221 #ifdef __cplusplus
11222 extern "C"
11223 #endif
11224 char connect ();
11226 main ()
11228 return connect ();
11230 return 0;
11232 _ACEOF
11233 if ac_fn_c_try_link "$LINENO"; then :
11234 ac_cv_lib_socket_connect=yes
11235 else
11236 ac_cv_lib_socket_connect=no
11238 rm -f core conftest.err conftest.$ac_objext \
11239 conftest$ac_exeext conftest.$ac_ext
11240 LIBS=$ac_check_lib_save_LIBS
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11243 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11244 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11245 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11250 # Guillermo Gomez says -lposix is necessary on A/UX.
11251 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11252 if test "x$ac_cv_func_remove" = xyes; then :
11256 if test $ac_cv_func_remove = no; then
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11258 $as_echo_n "checking for remove in -lposix... " >&6; }
11259 if ${ac_cv_lib_posix_remove+:} false; then :
11260 $as_echo_n "(cached) " >&6
11261 else
11262 ac_check_lib_save_LIBS=$LIBS
11263 LIBS="-lposix $LIBS"
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char remove ();
11275 main ()
11277 return remove ();
11279 return 0;
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_posix_remove=yes
11284 else
11285 ac_cv_lib_posix_remove=no
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11292 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11293 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11294 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11299 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11300 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11301 if test "x$ac_cv_func_shmat" = xyes; then :
11305 if test $ac_cv_func_shmat = no; then
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11307 $as_echo_n "checking for shmat in -lipc... " >&6; }
11308 if ${ac_cv_lib_ipc_shmat+:} false; then :
11309 $as_echo_n "(cached) " >&6
11310 else
11311 ac_check_lib_save_LIBS=$LIBS
11312 LIBS="-lipc $LIBS"
11313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11316 /* Override any GCC internal prototype to avoid an error.
11317 Use char because int might match the return type of a GCC
11318 builtin and then its argument prototype would still apply. */
11319 #ifdef __cplusplus
11320 extern "C"
11321 #endif
11322 char shmat ();
11324 main ()
11326 return shmat ();
11328 return 0;
11330 _ACEOF
11331 if ac_fn_c_try_link "$LINENO"; then :
11332 ac_cv_lib_ipc_shmat=yes
11333 else
11334 ac_cv_lib_ipc_shmat=no
11336 rm -f core conftest.err conftest.$ac_objext \
11337 conftest$ac_exeext conftest.$ac_ext
11338 LIBS=$ac_check_lib_save_LIBS
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11341 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11342 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11343 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11349 # Check for libraries that X11R6 Xt/Xaw programs need.
11350 ac_save_LDFLAGS=$LDFLAGS
11351 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11352 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11353 # check for ICE first), but we must link in the order -lSM -lICE or
11354 # we get undefined symbols. So assume we have SM if we have ICE.
11355 # These have to be linked with before -lX11, unlike the other
11356 # libraries we check for below, so use a different variable.
11357 # John Interrante, Karl Berry
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11359 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11360 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11361 $as_echo_n "(cached) " >&6
11362 else
11363 ac_check_lib_save_LIBS=$LIBS
11364 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h. */
11368 /* Override any GCC internal prototype to avoid an error.
11369 Use char because int might match the return type of a GCC
11370 builtin and then its argument prototype would still apply. */
11371 #ifdef __cplusplus
11372 extern "C"
11373 #endif
11374 char IceConnectionNumber ();
11376 main ()
11378 return IceConnectionNumber ();
11380 return 0;
11382 _ACEOF
11383 if ac_fn_c_try_link "$LINENO"; then :
11384 ac_cv_lib_ICE_IceConnectionNumber=yes
11385 else
11386 ac_cv_lib_ICE_IceConnectionNumber=no
11388 rm -f core conftest.err conftest.$ac_objext \
11389 conftest$ac_exeext conftest.$ac_ext
11390 LIBS=$ac_check_lib_save_LIBS
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11393 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11394 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11395 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11398 LDFLAGS=$ac_save_LDFLAGS
11403 if test "$have_x" = "yes"
11404 then
11405 ac_save_CPPFLAGS="$CPPFLAGS"
11406 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11409 $as_echo_n "checking for -lX11... " >&6; }
11410 if ${ac_cv_lib_soname_X11+:} false; then :
11411 $as_echo_n "(cached) " >&6
11412 else
11413 ac_check_soname_save_LIBS=$LIBS
11414 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11416 /* end confdefs.h. */
11418 /* Override any GCC internal prototype to avoid an error.
11419 Use char because int might match the return type of a GCC
11420 builtin and then its argument prototype would still apply. */
11421 #ifdef __cplusplus
11422 extern "C"
11423 #endif
11424 char XCreateWindow ();
11426 main ()
11428 return XCreateWindow ();
11430 return 0;
11432 _ACEOF
11433 if ac_fn_c_try_link "$LINENO"; then :
11434 case "$LIBEXT" in
11435 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11436 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'` ;;
11437 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11438 if ${ac_cv_lib_soname_X11:+false} :; then :
11439 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11440 fi ;;
11441 esac
11442 else
11443 ac_cv_lib_soname_X11=
11445 rm -f core conftest.err conftest.$ac_objext \
11446 conftest$ac_exeext conftest.$ac_ext
11447 LIBS=$ac_check_soname_save_LIBS
11449 if ${ac_cv_lib_soname_X11:+false} :; then :
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11451 $as_echo "not found" >&6; }
11453 else
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11455 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11457 cat >>confdefs.h <<_ACEOF
11458 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11459 _ACEOF
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11464 $as_echo_n "checking for -lXext... " >&6; }
11465 if ${ac_cv_lib_soname_Xext+:} false; then :
11466 $as_echo_n "(cached) " >&6
11467 else
11468 ac_check_soname_save_LIBS=$LIBS
11469 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11473 /* Override any GCC internal prototype to avoid an error.
11474 Use char because int might match the return type of a GCC
11475 builtin and then its argument prototype would still apply. */
11476 #ifdef __cplusplus
11477 extern "C"
11478 #endif
11479 char XextCreateExtension ();
11481 main ()
11483 return XextCreateExtension ();
11485 return 0;
11487 _ACEOF
11488 if ac_fn_c_try_link "$LINENO"; then :
11489 case "$LIBEXT" in
11490 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11491 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'` ;;
11492 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11493 if ${ac_cv_lib_soname_Xext:+false} :; then :
11494 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11495 fi ;;
11496 esac
11497 else
11498 ac_cv_lib_soname_Xext=
11500 rm -f core conftest.err conftest.$ac_objext \
11501 conftest$ac_exeext conftest.$ac_ext
11502 LIBS=$ac_check_soname_save_LIBS
11504 if ${ac_cv_lib_soname_Xext:+false} :; then :
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11506 $as_echo "not found" >&6; }
11508 else
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11510 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11512 cat >>confdefs.h <<_ACEOF
11513 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11514 _ACEOF
11516 X_LIBS="$X_LIBS -lXext"
11518 X_LIBS="$X_LIBS -lX11"
11520 for ac_header in X11/Xlib.h \
11521 X11/XKBlib.h \
11522 X11/Xutil.h \
11523 X11/Xcursor/Xcursor.h \
11524 X11/extensions/shape.h \
11525 X11/extensions/XInput.h \
11526 X11/extensions/XInput2.h \
11527 X11/extensions/XShm.h \
11528 X11/extensions/Xcomposite.h \
11529 X11/extensions/Xfixes.h \
11530 X11/extensions/Xinerama.h \
11531 X11/extensions/Xrandr.h \
11532 X11/extensions/Xrender.h \
11533 X11/extensions/xf86vmode.h \
11534 X11/extensions/xf86vmproto.h
11535 do :
11536 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11537 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11538 # include <X11/Xlib.h>
11539 #endif
11540 #ifdef HAVE_X11_XUTIL_H
11541 # include <X11/Xutil.h>
11542 #endif
11544 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11545 cat >>confdefs.h <<_ACEOF
11546 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11547 _ACEOF
11551 done
11554 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11555 then
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11557 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11558 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11559 $as_echo_n "(cached) " >&6
11560 else
11561 ac_check_lib_save_LIBS=$LIBS
11562 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h. */
11566 /* Override any GCC internal prototype to avoid an error.
11567 Use char because int might match the return type of a GCC
11568 builtin and then its argument prototype would still apply. */
11569 #ifdef __cplusplus
11570 extern "C"
11571 #endif
11572 char XkbQueryExtension ();
11574 main ()
11576 return XkbQueryExtension ();
11578 return 0;
11580 _ACEOF
11581 if ac_fn_c_try_link "$LINENO"; then :
11582 ac_cv_lib_X11_XkbQueryExtension=yes
11583 else
11584 ac_cv_lib_X11_XkbQueryExtension=no
11586 rm -f core conftest.err conftest.$ac_objext \
11587 conftest$ac_exeext conftest.$ac_ext
11588 LIBS=$ac_check_lib_save_LIBS
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11591 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11592 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11594 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11600 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11601 then
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11603 $as_echo_n "checking for -lXcursor... " >&6; }
11604 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11605 $as_echo_n "(cached) " >&6
11606 else
11607 ac_check_soname_save_LIBS=$LIBS
11608 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11612 /* Override any GCC internal prototype to avoid an error.
11613 Use char because int might match the return type of a GCC
11614 builtin and then its argument prototype would still apply. */
11615 #ifdef __cplusplus
11616 extern "C"
11617 #endif
11618 char XcursorImageLoadCursor ();
11620 main ()
11622 return XcursorImageLoadCursor ();
11624 return 0;
11626 _ACEOF
11627 if ac_fn_c_try_link "$LINENO"; then :
11628 case "$LIBEXT" in
11629 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11630 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'` ;;
11631 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11632 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11633 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11634 fi ;;
11635 esac
11636 else
11637 ac_cv_lib_soname_Xcursor=
11639 rm -f core conftest.err conftest.$ac_objext \
11640 conftest$ac_exeext conftest.$ac_ext
11641 LIBS=$ac_check_soname_save_LIBS
11643 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11645 $as_echo "not found" >&6; }
11647 else
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11649 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11651 cat >>confdefs.h <<_ACEOF
11652 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11653 _ACEOF
11658 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11659 case "x$with_xcursor" in
11660 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11661 xno) ;;
11662 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11663 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11664 esac
11668 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11669 then
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11671 $as_echo_n "checking for -lXi... " >&6; }
11672 if ${ac_cv_lib_soname_Xi+:} false; then :
11673 $as_echo_n "(cached) " >&6
11674 else
11675 ac_check_soname_save_LIBS=$LIBS
11676 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11680 /* Override any GCC internal prototype to avoid an error.
11681 Use char because int might match the return type of a GCC
11682 builtin and then its argument prototype would still apply. */
11683 #ifdef __cplusplus
11684 extern "C"
11685 #endif
11686 char XOpenDevice ();
11688 main ()
11690 return XOpenDevice ();
11692 return 0;
11694 _ACEOF
11695 if ac_fn_c_try_link "$LINENO"; then :
11696 case "$LIBEXT" in
11697 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11698 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'` ;;
11699 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11700 if ${ac_cv_lib_soname_Xi:+false} :; then :
11701 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11702 fi ;;
11703 esac
11704 else
11705 ac_cv_lib_soname_Xi=
11707 rm -f core conftest.err conftest.$ac_objext \
11708 conftest$ac_exeext conftest.$ac_ext
11709 LIBS=$ac_check_soname_save_LIBS
11711 if ${ac_cv_lib_soname_Xi:+false} :; then :
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11713 $as_echo "not found" >&6; }
11715 else
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11717 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11719 cat >>confdefs.h <<_ACEOF
11720 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11721 _ACEOF
11726 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11727 case "x$with_xinput" in
11728 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11729 xno) ;;
11730 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11731 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11732 esac
11736 if test "x$ac_cv_lib_soname_Xi" != x
11737 then
11738 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11739 case "x$with_xinput2" in
11740 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11741 xno) ;;
11742 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11743 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11744 esac
11749 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11750 then
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11752 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11753 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11754 $as_echo_n "(cached) " >&6
11755 else
11756 ac_check_lib_save_LIBS=$LIBS
11757 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11759 /* end confdefs.h. */
11761 /* Override any GCC internal prototype to avoid an error.
11762 Use char because int might match the return type of a GCC
11763 builtin and then its argument prototype would still apply. */
11764 #ifdef __cplusplus
11765 extern "C"
11766 #endif
11767 char XShmQueryExtension ();
11769 main ()
11771 return XShmQueryExtension ();
11773 return 0;
11775 _ACEOF
11776 if ac_fn_c_try_link "$LINENO"; then :
11777 ac_cv_lib_Xext_XShmQueryExtension=yes
11778 else
11779 ac_cv_lib_Xext_XShmQueryExtension=no
11781 rm -f core conftest.err conftest.$ac_objext \
11782 conftest$ac_exeext conftest.$ac_ext
11783 LIBS=$ac_check_lib_save_LIBS
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11786 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11787 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11789 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11794 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11795 case "x$with_xshm" in
11796 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11797 xno) ;;
11798 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11799 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11800 esac
11804 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11805 then
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11807 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11808 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11809 $as_echo_n "(cached) " >&6
11810 else
11811 ac_check_lib_save_LIBS=$LIBS
11812 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11816 /* Override any GCC internal prototype to avoid an error.
11817 Use char because int might match the return type of a GCC
11818 builtin and then its argument prototype would still apply. */
11819 #ifdef __cplusplus
11820 extern "C"
11821 #endif
11822 char XShapeQueryExtension ();
11824 main ()
11826 return XShapeQueryExtension ();
11828 return 0;
11830 _ACEOF
11831 if ac_fn_c_try_link "$LINENO"; then :
11832 ac_cv_lib_Xext_XShapeQueryExtension=yes
11833 else
11834 ac_cv_lib_Xext_XShapeQueryExtension=no
11836 rm -f core conftest.err conftest.$ac_objext \
11837 conftest$ac_exeext conftest.$ac_ext
11838 LIBS=$ac_check_lib_save_LIBS
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11841 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11842 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11844 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11849 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11850 case "x$with_xshape" in
11851 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11852 xno) ;;
11853 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11854 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11855 esac
11859 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11860 then
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11862 $as_echo_n "checking for -lXxf86vm... " >&6; }
11863 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11864 $as_echo_n "(cached) " >&6
11865 else
11866 ac_check_soname_save_LIBS=$LIBS
11867 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11871 /* Override any GCC internal prototype to avoid an error.
11872 Use char because int might match the return type of a GCC
11873 builtin and then its argument prototype would still apply. */
11874 #ifdef __cplusplus
11875 extern "C"
11876 #endif
11877 char XF86VidModeQueryExtension ();
11879 main ()
11881 return XF86VidModeQueryExtension ();
11883 return 0;
11885 _ACEOF
11886 if ac_fn_c_try_link "$LINENO"; then :
11887 case "$LIBEXT" in
11888 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11889 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'` ;;
11890 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11891 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11892 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11893 fi ;;
11894 esac
11895 else
11896 ac_cv_lib_soname_Xxf86vm=
11898 rm -f core conftest.err conftest.$ac_objext \
11899 conftest$ac_exeext conftest.$ac_ext
11900 LIBS=$ac_check_soname_save_LIBS
11902 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11904 $as_echo "not found" >&6; }
11906 else
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11908 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11910 cat >>confdefs.h <<_ACEOF
11911 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11912 _ACEOF
11917 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11918 case "x$with_xxf86vm" in
11919 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11920 xno) ;;
11921 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11922 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11923 esac
11927 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11928 then
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11930 $as_echo_n "checking for -lXrender... " >&6; }
11931 if ${ac_cv_lib_soname_Xrender+:} false; then :
11932 $as_echo_n "(cached) " >&6
11933 else
11934 ac_check_soname_save_LIBS=$LIBS
11935 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11937 /* end confdefs.h. */
11939 /* Override any GCC internal prototype to avoid an error.
11940 Use char because int might match the return type of a GCC
11941 builtin and then its argument prototype would still apply. */
11942 #ifdef __cplusplus
11943 extern "C"
11944 #endif
11945 char XRenderQueryExtension ();
11947 main ()
11949 return XRenderQueryExtension ();
11951 return 0;
11953 _ACEOF
11954 if ac_fn_c_try_link "$LINENO"; then :
11955 case "$LIBEXT" in
11956 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11957 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'` ;;
11958 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11959 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11960 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11961 fi ;;
11962 esac
11963 else
11964 ac_cv_lib_soname_Xrender=
11966 rm -f core conftest.err conftest.$ac_objext \
11967 conftest$ac_exeext conftest.$ac_ext
11968 LIBS=$ac_check_soname_save_LIBS
11970 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11972 $as_echo "not found" >&6; }
11974 else
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11976 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11978 cat >>confdefs.h <<_ACEOF
11979 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11980 _ACEOF
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11983 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11984 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11985 $as_echo_n "(cached) " >&6
11986 else
11987 ac_check_lib_save_LIBS=$LIBS
11988 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11990 /* end confdefs.h. */
11992 /* Override any GCC internal prototype to avoid an error.
11993 Use char because int might match the return type of a GCC
11994 builtin and then its argument prototype would still apply. */
11995 #ifdef __cplusplus
11996 extern "C"
11997 #endif
11998 char XRenderSetPictureTransform ();
12000 main ()
12002 return XRenderSetPictureTransform ();
12004 return 0;
12006 _ACEOF
12007 if ac_fn_c_try_link "$LINENO"; then :
12008 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12009 else
12010 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12012 rm -f core conftest.err conftest.$ac_objext \
12013 conftest$ac_exeext conftest.$ac_ext
12014 LIBS=$ac_check_lib_save_LIBS
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12017 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12018 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12020 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12025 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12026 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12027 $as_echo_n "(cached) " >&6
12028 else
12029 ac_check_lib_save_LIBS=$LIBS
12030 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12037 #ifdef __cplusplus
12038 extern "C"
12039 #endif
12040 char XRenderCreateLinearGradient ();
12042 main ()
12044 return XRenderCreateLinearGradient ();
12046 return 0;
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"; then :
12050 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12051 else
12052 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12054 rm -f core conftest.err conftest.$ac_objext \
12055 conftest$ac_exeext conftest.$ac_ext
12056 LIBS=$ac_check_lib_save_LIBS
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12059 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12060 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12062 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12069 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12070 case "x$with_xrender" in
12071 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12072 xno) ;;
12073 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12074 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12075 esac
12079 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12080 then
12081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12083 #include <X11/Xlib.h>
12084 #include <X11/extensions/Xrandr.h>
12086 main ()
12088 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12090 return 0;
12092 _ACEOF
12093 if ac_fn_c_try_compile "$LINENO"; then :
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12095 $as_echo_n "checking for -lXrandr... " >&6; }
12096 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12097 $as_echo_n "(cached) " >&6
12098 else
12099 ac_check_soname_save_LIBS=$LIBS
12100 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12102 /* end confdefs.h. */
12104 /* Override any GCC internal prototype to avoid an error.
12105 Use char because int might match the return type of a GCC
12106 builtin and then its argument prototype would still apply. */
12107 #ifdef __cplusplus
12108 extern "C"
12109 #endif
12110 char XRRQueryExtension ();
12112 main ()
12114 return XRRQueryExtension ();
12116 return 0;
12118 _ACEOF
12119 if ac_fn_c_try_link "$LINENO"; then :
12120 case "$LIBEXT" in
12121 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12122 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'` ;;
12123 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12124 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12125 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12126 fi ;;
12127 esac
12128 else
12129 ac_cv_lib_soname_Xrandr=
12131 rm -f core conftest.err conftest.$ac_objext \
12132 conftest$ac_exeext conftest.$ac_ext
12133 LIBS=$ac_check_soname_save_LIBS
12135 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12137 $as_echo "not found" >&6; }
12139 else
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12141 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12143 cat >>confdefs.h <<_ACEOF
12144 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12145 _ACEOF
12147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12149 #include <X11/Xlib.h>
12150 #include <X11/extensions/Xrandr.h>
12152 main ()
12154 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12156 return 0;
12158 _ACEOF
12159 if ac_fn_c_try_compile "$LINENO"; then :
12161 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12163 else
12164 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12171 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12172 case "x$with_xrandr" in
12173 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12174 xno) ;;
12175 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12176 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12177 esac
12181 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12182 then
12183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12184 /* end confdefs.h. */
12185 #include <X11/Xlib.h>
12186 #include <X11/extensions/Xfixes.h>
12188 main ()
12190 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12192 return 0;
12194 _ACEOF
12195 if ac_fn_c_try_compile "$LINENO"; then :
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12197 $as_echo_n "checking for -lXfixes... " >&6; }
12198 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12199 $as_echo_n "(cached) " >&6
12200 else
12201 ac_check_soname_save_LIBS=$LIBS
12202 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12204 /* end confdefs.h. */
12206 /* Override any GCC internal prototype to avoid an error.
12207 Use char because int might match the return type of a GCC
12208 builtin and then its argument prototype would still apply. */
12209 #ifdef __cplusplus
12210 extern "C"
12211 #endif
12212 char XFixesQueryVersion ();
12214 main ()
12216 return XFixesQueryVersion ();
12218 return 0;
12220 _ACEOF
12221 if ac_fn_c_try_link "$LINENO"; then :
12222 case "$LIBEXT" in
12223 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12224 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'` ;;
12225 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12226 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12227 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12228 fi ;;
12229 esac
12230 else
12231 ac_cv_lib_soname_Xfixes=
12233 rm -f core conftest.err conftest.$ac_objext \
12234 conftest$ac_exeext conftest.$ac_ext
12235 LIBS=$ac_check_soname_save_LIBS
12237 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12239 $as_echo "not found" >&6; }
12241 else
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12243 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12245 cat >>confdefs.h <<_ACEOF
12246 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12247 _ACEOF
12252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12254 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12255 case "x$with_xfixes" in
12256 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12257 xno) ;;
12258 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12259 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12260 esac
12264 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12265 then
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12268 #include <X11/Xlib.h>
12269 #include <X11/extensions/Xinerama.h>
12271 main ()
12273 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12275 return 0;
12277 _ACEOF
12278 if ac_fn_c_try_compile "$LINENO"; then :
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12280 $as_echo_n "checking for -lXinerama... " >&6; }
12281 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12282 $as_echo_n "(cached) " >&6
12283 else
12284 ac_check_soname_save_LIBS=$LIBS
12285 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12289 /* Override any GCC internal prototype to avoid an error.
12290 Use char because int might match the return type of a GCC
12291 builtin and then its argument prototype would still apply. */
12292 #ifdef __cplusplus
12293 extern "C"
12294 #endif
12295 char XineramaQueryScreens ();
12297 main ()
12299 return XineramaQueryScreens ();
12301 return 0;
12303 _ACEOF
12304 if ac_fn_c_try_link "$LINENO"; then :
12305 case "$LIBEXT" in
12306 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12307 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'` ;;
12308 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12309 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12310 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12311 fi ;;
12312 esac
12313 else
12314 ac_cv_lib_soname_Xinerama=
12316 rm -f core conftest.err conftest.$ac_objext \
12317 conftest$ac_exeext conftest.$ac_ext
12318 LIBS=$ac_check_soname_save_LIBS
12320 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12322 $as_echo "not found" >&6; }
12324 else
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12326 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12328 cat >>confdefs.h <<_ACEOF
12329 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12330 _ACEOF
12335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12337 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12338 case "x$with_xinerama" in
12339 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12340 xno) ;;
12341 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12342 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12343 esac
12347 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12348 then
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12350 $as_echo_n "checking for -lXcomposite... " >&6; }
12351 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12352 $as_echo_n "(cached) " >&6
12353 else
12354 ac_check_soname_save_LIBS=$LIBS
12355 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12357 /* end confdefs.h. */
12359 /* Override any GCC internal prototype to avoid an error.
12360 Use char because int might match the return type of a GCC
12361 builtin and then its argument prototype would still apply. */
12362 #ifdef __cplusplus
12363 extern "C"
12364 #endif
12365 char XCompositeRedirectWindow ();
12367 main ()
12369 return XCompositeRedirectWindow ();
12371 return 0;
12373 _ACEOF
12374 if ac_fn_c_try_link "$LINENO"; then :
12375 case "$LIBEXT" in
12376 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12377 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'` ;;
12378 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12379 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12380 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12381 fi ;;
12382 esac
12383 else
12384 ac_cv_lib_soname_Xcomposite=
12386 rm -f core conftest.err conftest.$ac_objext \
12387 conftest$ac_exeext conftest.$ac_ext
12388 LIBS=$ac_check_soname_save_LIBS
12390 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12392 $as_echo "not found" >&6; }
12394 else
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12396 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12398 cat >>confdefs.h <<_ACEOF
12399 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12400 _ACEOF
12405 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12406 case "x$with_xcomposite" in
12407 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12408 xno) ;;
12409 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12410 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12411 esac
12415 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12416 #include <X11/Xlib.h>
12417 #endif
12419 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12421 cat >>confdefs.h <<_ACEOF
12422 #define HAVE_XICCALLBACK_CALLBACK 1
12423 _ACEOF
12427 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12428 #include <X11/Xlib.h>
12429 #endif
12431 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12433 cat >>confdefs.h <<_ACEOF
12434 #define HAVE_XEVENT_XCOOKIE 1
12435 _ACEOF
12442 opengl_msg=""
12443 if test "x$with_opengl" != "xno"
12444 then
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12446 $as_echo_n "checking for -lGL... " >&6; }
12447 if ${ac_cv_lib_soname_GL+:} false; then :
12448 $as_echo_n "(cached) " >&6
12449 else
12450 ac_check_soname_save_LIBS=$LIBS
12451 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12453 /* end confdefs.h. */
12455 /* Override any GCC internal prototype to avoid an error.
12456 Use char because int might match the return type of a GCC
12457 builtin and then its argument prototype would still apply. */
12458 #ifdef __cplusplus
12459 extern "C"
12460 #endif
12461 char glXCreateContext ();
12463 main ()
12465 return glXCreateContext ();
12467 return 0;
12469 _ACEOF
12470 if ac_fn_c_try_link "$LINENO"; then :
12471 case "$LIBEXT" in
12472 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12473 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'` ;;
12474 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12475 if ${ac_cv_lib_soname_GL:+false} :; then :
12476 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12477 fi ;;
12478 esac
12479 else
12480 ac_cv_lib_soname_GL=
12482 rm -f core conftest.err conftest.$ac_objext \
12483 conftest$ac_exeext conftest.$ac_ext
12484 LIBS=$ac_check_soname_save_LIBS
12486 if ${ac_cv_lib_soname_GL:+false} :; then :
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12488 $as_echo "not found" >&6; }
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12490 $as_echo_n "checking for -lGL... " >&6; }
12491 if ${ac_cv_lib_soname_GL+:} false; then :
12492 $as_echo_n "(cached) " >&6
12493 else
12494 ac_check_soname_save_LIBS=$LIBS
12495 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"
12496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h. */
12499 /* Override any GCC internal prototype to avoid an error.
12500 Use char because int might match the return type of a GCC
12501 builtin and then its argument prototype would still apply. */
12502 #ifdef __cplusplus
12503 extern "C"
12504 #endif
12505 char glXCreateContext ();
12507 main ()
12509 return glXCreateContext ();
12511 return 0;
12513 _ACEOF
12514 if ac_fn_c_try_link "$LINENO"; then :
12515 case "$LIBEXT" in
12516 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12517 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'` ;;
12518 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12519 if ${ac_cv_lib_soname_GL:+false} :; then :
12520 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12521 fi ;;
12522 esac
12523 else
12524 ac_cv_lib_soname_GL=
12526 rm -f core conftest.err conftest.$ac_objext \
12527 conftest$ac_exeext conftest.$ac_ext
12528 LIBS=$ac_check_soname_save_LIBS
12530 if ${ac_cv_lib_soname_GL:+false} :; then :
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12532 $as_echo "not found" >&6; }
12533 if test -f /usr/X11R6/lib/libGL.a
12534 then
12535 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12536 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12537 else
12538 opengl_msg="No OpenGL library found on this system."
12540 else
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12542 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12544 cat >>confdefs.h <<_ACEOF
12545 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12546 _ACEOF
12548 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"
12550 else
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12552 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12554 cat >>confdefs.h <<_ACEOF
12555 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12556 _ACEOF
12558 OPENGL_LIBS="-lGL"
12560 if test "x$with_glu" != "xno"
12561 then
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12563 $as_echo_n "checking for -lGLU... " >&6; }
12564 if ${ac_cv_lib_soname_GLU+:} false; then :
12565 $as_echo_n "(cached) " >&6
12566 else
12567 ac_check_soname_save_LIBS=$LIBS
12568 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12572 /* Override any GCC internal prototype to avoid an error.
12573 Use char because int might match the return type of a GCC
12574 builtin and then its argument prototype would still apply. */
12575 #ifdef __cplusplus
12576 extern "C"
12577 #endif
12578 char gluLookAt ();
12580 main ()
12582 return gluLookAt ();
12584 return 0;
12586 _ACEOF
12587 if ac_fn_c_try_link "$LINENO"; then :
12588 case "$LIBEXT" in
12589 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12590 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12591 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12592 if ${ac_cv_lib_soname_GLU:+false} :; then :
12593 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12594 fi ;;
12595 esac
12596 else
12597 ac_cv_lib_soname_GLU=
12599 rm -f core conftest.err conftest.$ac_objext \
12600 conftest$ac_exeext conftest.$ac_ext
12601 LIBS=$ac_check_soname_save_LIBS
12603 if ${ac_cv_lib_soname_GLU:+false} :; then :
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12605 $as_echo "not found" >&6; }
12607 else
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12609 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12611 cat >>confdefs.h <<_ACEOF
12612 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12613 _ACEOF
12617 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12618 case "x$with_glu" in
12619 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12620 xno) ;;
12621 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12622 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12623 esac
12628 if test "x$with_osmesa" != "xno"
12629 then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12631 $as_echo_n "checking for -lOSMesa... " >&6; }
12632 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12633 $as_echo_n "(cached) " >&6
12634 else
12635 ac_check_soname_save_LIBS=$LIBS
12636 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12638 /* end confdefs.h. */
12640 /* Override any GCC internal prototype to avoid an error.
12641 Use char because int might match the return type of a GCC
12642 builtin and then its argument prototype would still apply. */
12643 #ifdef __cplusplus
12644 extern "C"
12645 #endif
12646 char OSMesaGetProcAddress ();
12648 main ()
12650 return OSMesaGetProcAddress ();
12652 return 0;
12654 _ACEOF
12655 if ac_fn_c_try_link "$LINENO"; then :
12656 case "$LIBEXT" in
12657 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12658 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'` ;;
12659 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12660 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12661 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12662 fi ;;
12663 esac
12664 else
12665 ac_cv_lib_soname_OSMesa=
12667 rm -f core conftest.err conftest.$ac_objext \
12668 conftest$ac_exeext conftest.$ac_ext
12669 LIBS=$ac_check_soname_save_LIBS
12671 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12673 $as_echo "not found" >&6; }
12675 else
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12677 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12679 cat >>confdefs.h <<_ACEOF
12680 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12681 _ACEOF
12685 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12686 case "x$with_osmesa" in
12687 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12688 xno) ;;
12689 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12690 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12691 esac
12696 if test -n "$opengl_msg"; then :
12697 case "x$with_opengl" in
12698 x) as_fn_append wine_warnings "|$opengl_msg
12699 OpenGL and Direct3D won't be supported." ;;
12700 xno) ;;
12701 *) as_fn_error $? "$opengl_msg
12702 OpenGL and Direct3D won't be supported.
12703 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12704 esac
12708 CPPFLAGS="$ac_save_CPPFLAGS"
12709 else
12710 X_CFLAGS=""
12711 X_LIBS=""
12714 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12715 then
12716 if test "x$X_LIBS" = "x"; then :
12717 case "x$with_x" in
12718 xno) ;;
12719 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12720 without X support, which probably isn't what you want. You will need
12721 to install ${notice_platform}development packages of Xlib at the very least.
12722 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12723 esac
12724 enable_winex11_drv=${enable_winex11_drv:-no}
12726 else
12727 if test "x$X_LIBS" = "x"; then :
12728 case "x$with_x" in
12729 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12730 xno) ;;
12731 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12732 This is an error since --with-x was requested." "$LINENO" 5 ;;
12733 esac
12734 enable_winex11_drv=${enable_winex11_drv:-no}
12738 if test "$ac_cv_header_CL_cl_h" = "yes"
12739 then
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12741 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12742 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12743 $as_echo_n "(cached) " >&6
12744 else
12745 ac_check_lib_save_LIBS=$LIBS
12746 LIBS="-lOpenCL $LIBS"
12747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12748 /* end confdefs.h. */
12750 /* Override any GCC internal prototype to avoid an error.
12751 Use char because int might match the return type of a GCC
12752 builtin and then its argument prototype would still apply. */
12753 #ifdef __cplusplus
12754 extern "C"
12755 #endif
12756 char clGetPlatformInfo ();
12758 main ()
12760 return clGetPlatformInfo ();
12762 return 0;
12764 _ACEOF
12765 if ac_fn_c_try_link "$LINENO"; then :
12766 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12767 else
12768 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12770 rm -f core conftest.err conftest.$ac_objext \
12771 conftest$ac_exeext conftest.$ac_ext
12772 LIBS=$ac_check_lib_save_LIBS
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12775 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12776 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12777 OPENCL_LIBS="-lOpenCL"
12782 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12783 case "x$with_opencl" in
12784 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12785 xno) ;;
12786 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12787 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12788 esac
12789 enable_opencl=${enable_opencl:-no}
12792 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12793 then
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12795 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12796 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12797 $as_echo_n "(cached) " >&6
12798 else
12799 ac_check_lib_save_LIBS=$LIBS
12800 LIBS="-lpcap $LIBS"
12801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12802 /* end confdefs.h. */
12804 /* Override any GCC internal prototype to avoid an error.
12805 Use char because int might match the return type of a GCC
12806 builtin and then its argument prototype would still apply. */
12807 #ifdef __cplusplus
12808 extern "C"
12809 #endif
12810 char pcap_create ();
12812 main ()
12814 return pcap_create ();
12816 return 0;
12818 _ACEOF
12819 if ac_fn_c_try_link "$LINENO"; then :
12820 ac_cv_lib_pcap_pcap_create=yes
12821 else
12822 ac_cv_lib_pcap_pcap_create=no
12824 rm -f core conftest.err conftest.$ac_objext \
12825 conftest$ac_exeext conftest.$ac_ext
12826 LIBS=$ac_check_lib_save_LIBS
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12829 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12830 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12831 PCAP_LIBS="-lpcap"
12836 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12837 case "x$with_pcap" in
12838 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12839 xno) ;;
12840 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12841 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12842 esac
12843 enable_wpcap=${enable_wpcap:-no}
12847 if test "x$with_xml" != "xno"
12848 then
12849 if ${XML2_CFLAGS:+false} :; then :
12850 if ${PKG_CONFIG+:} false; then :
12851 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12854 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12855 if ${XML2_LIBS:+false} :; then :
12856 if ${PKG_CONFIG+:} false; then :
12857 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12860 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12861 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12862 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12863 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12864 ac_save_CPPFLAGS=$CPPFLAGS
12865 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12866 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12867 do :
12868 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12869 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12870 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12871 cat >>confdefs.h <<_ACEOF
12872 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12873 _ACEOF
12877 done
12879 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"
12880 then
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12882 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12883 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12884 $as_echo_n "(cached) " >&6
12885 else
12886 ac_check_lib_save_LIBS=$LIBS
12887 LIBS="-lxml2 $XML2_LIBS $LIBS"
12888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12889 /* end confdefs.h. */
12891 /* Override any GCC internal prototype to avoid an error.
12892 Use char because int might match the return type of a GCC
12893 builtin and then its argument prototype would still apply. */
12894 #ifdef __cplusplus
12895 extern "C"
12896 #endif
12897 char xmlParseMemory ();
12899 main ()
12901 return xmlParseMemory ();
12903 return 0;
12905 _ACEOF
12906 if ac_fn_c_try_link "$LINENO"; then :
12907 ac_cv_lib_xml2_xmlParseMemory=yes
12908 else
12909 ac_cv_lib_xml2_xmlParseMemory=no
12911 rm -f core conftest.err conftest.$ac_objext \
12912 conftest$ac_exeext conftest.$ac_ext
12913 LIBS=$ac_check_lib_save_LIBS
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12916 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12917 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12919 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12921 else
12922 XML2_LIBS=""
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12926 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12927 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12928 $as_echo_n "(cached) " >&6
12929 else
12930 ac_check_lib_save_LIBS=$LIBS
12931 LIBS="-lxml2 $XML2_LIBS $LIBS"
12932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12933 /* end confdefs.h. */
12935 /* Override any GCC internal prototype to avoid an error.
12936 Use char because int might match the return type of a GCC
12937 builtin and then its argument prototype would still apply. */
12938 #ifdef __cplusplus
12939 extern "C"
12940 #endif
12941 char xmlReadMemory ();
12943 main ()
12945 return xmlReadMemory ();
12947 return 0;
12949 _ACEOF
12950 if ac_fn_c_try_link "$LINENO"; then :
12951 ac_cv_lib_xml2_xmlReadMemory=yes
12952 else
12953 ac_cv_lib_xml2_xmlReadMemory=no
12955 rm -f core conftest.err conftest.$ac_objext \
12956 conftest$ac_exeext conftest.$ac_ext
12957 LIBS=$ac_check_lib_save_LIBS
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12960 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12961 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12963 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12968 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12969 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12970 $as_echo_n "(cached) " >&6
12971 else
12972 ac_check_lib_save_LIBS=$LIBS
12973 LIBS="-lxml2 $XML2_LIBS $LIBS"
12974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12977 /* Override any GCC internal prototype to avoid an error.
12978 Use char because int might match the return type of a GCC
12979 builtin and then its argument prototype would still apply. */
12980 #ifdef __cplusplus
12981 extern "C"
12982 #endif
12983 char xmlNewDocPI ();
12985 main ()
12987 return xmlNewDocPI ();
12989 return 0;
12991 _ACEOF
12992 if ac_fn_c_try_link "$LINENO"; then :
12993 ac_cv_lib_xml2_xmlNewDocPI=yes
12994 else
12995 ac_cv_lib_xml2_xmlNewDocPI=no
12997 rm -f core conftest.err conftest.$ac_objext \
12998 conftest$ac_exeext conftest.$ac_ext
12999 LIBS=$ac_check_lib_save_LIBS
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13002 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13003 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13005 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13010 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13011 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13012 $as_echo_n "(cached) " >&6
13013 else
13014 ac_check_lib_save_LIBS=$LIBS
13015 LIBS="-lxml2 $XML2_LIBS $LIBS"
13016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13019 /* Override any GCC internal prototype to avoid an error.
13020 Use char because int might match the return type of a GCC
13021 builtin and then its argument prototype would still apply. */
13022 #ifdef __cplusplus
13023 extern "C"
13024 #endif
13025 char xmlSchemaSetParserStructuredErrors ();
13027 main ()
13029 return xmlSchemaSetParserStructuredErrors ();
13031 return 0;
13033 _ACEOF
13034 if ac_fn_c_try_link "$LINENO"; then :
13035 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13036 else
13037 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13039 rm -f core conftest.err conftest.$ac_objext \
13040 conftest$ac_exeext conftest.$ac_ext
13041 LIBS=$ac_check_lib_save_LIBS
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13044 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13045 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13047 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13052 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13053 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13054 $as_echo_n "(cached) " >&6
13055 else
13056 ac_check_lib_save_LIBS=$LIBS
13057 LIBS="-lxml2 $XML2_LIBS $LIBS"
13058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13061 /* Override any GCC internal prototype to avoid an error.
13062 Use char because int might match the return type of a GCC
13063 builtin and then its argument prototype would still apply. */
13064 #ifdef __cplusplus
13065 extern "C"
13066 #endif
13067 char xmlSchemaSetValidStructuredErrors ();
13069 main ()
13071 return xmlSchemaSetValidStructuredErrors ();
13073 return 0;
13075 _ACEOF
13076 if ac_fn_c_try_link "$LINENO"; then :
13077 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13078 else
13079 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13081 rm -f core conftest.err conftest.$ac_objext \
13082 conftest$ac_exeext conftest.$ac_ext
13083 LIBS=$ac_check_lib_save_LIBS
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13086 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13087 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13089 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13094 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13095 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13096 $as_echo_n "(cached) " >&6
13097 else
13098 ac_check_lib_save_LIBS=$LIBS
13099 LIBS="-lxml2 $XML2_LIBS $LIBS"
13100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13101 /* end confdefs.h. */
13103 /* Override any GCC internal prototype to avoid an error.
13104 Use char because int might match the return type of a GCC
13105 builtin and then its argument prototype would still apply. */
13106 #ifdef __cplusplus
13107 extern "C"
13108 #endif
13109 char xmlFirstElementChild ();
13111 main ()
13113 return xmlFirstElementChild ();
13115 return 0;
13117 _ACEOF
13118 if ac_fn_c_try_link "$LINENO"; then :
13119 ac_cv_lib_xml2_xmlFirstElementChild=yes
13120 else
13121 ac_cv_lib_xml2_xmlFirstElementChild=no
13123 rm -f core conftest.err conftest.$ac_objext \
13124 conftest$ac_exeext conftest.$ac_ext
13125 LIBS=$ac_check_lib_save_LIBS
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13128 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13129 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13131 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13135 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13137 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13139 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13143 else
13144 XML2_CFLAGS=""
13145 XML2_LIBS=""
13147 CPPFLAGS=$ac_save_CPPFLAGS
13150 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13151 case "x$with_xml" in
13152 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13153 xno) ;;
13154 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13155 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13156 esac
13160 if test "x$with_xslt" != "xno"
13161 then
13162 if ${XSLT_CFLAGS:+false} :; then :
13163 if ${PKG_CONFIG+:} false; then :
13164 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13167 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13168 if ${XSLT_LIBS:+false} :; then :
13169 if ${PKG_CONFIG+:} false; then :
13170 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13173 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13174 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13175 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13176 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13177 ac_save_CPPFLAGS=$CPPFLAGS
13178 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13179 for ac_header in libxslt/pattern.h libxslt/transform.h
13180 do :
13181 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13182 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13183 # include <libxslt/pattern.h>
13184 #endif
13186 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13187 cat >>confdefs.h <<_ACEOF
13188 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13189 _ACEOF
13193 done
13195 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13196 then
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13198 $as_echo_n "checking for -lxslt... " >&6; }
13199 if ${ac_cv_lib_soname_xslt+:} false; then :
13200 $as_echo_n "(cached) " >&6
13201 else
13202 ac_check_soname_save_LIBS=$LIBS
13203 LIBS="-lxslt $XSLT_LIBS $LIBS"
13204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13205 /* end confdefs.h. */
13207 /* Override any GCC internal prototype to avoid an error.
13208 Use char because int might match the return type of a GCC
13209 builtin and then its argument prototype would still apply. */
13210 #ifdef __cplusplus
13211 extern "C"
13212 #endif
13213 char xsltCompilePattern ();
13215 main ()
13217 return xsltCompilePattern ();
13219 return 0;
13221 _ACEOF
13222 if ac_fn_c_try_link "$LINENO"; then :
13223 case "$LIBEXT" in
13224 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13225 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'` ;;
13226 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13227 if ${ac_cv_lib_soname_xslt:+false} :; then :
13228 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13229 fi ;;
13230 esac
13231 else
13232 ac_cv_lib_soname_xslt=
13234 rm -f core conftest.err conftest.$ac_objext \
13235 conftest$ac_exeext conftest.$ac_ext
13236 LIBS=$ac_check_soname_save_LIBS
13238 if ${ac_cv_lib_soname_xslt:+false} :; then :
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13240 $as_echo "not found" >&6; }
13242 else
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13244 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13246 cat >>confdefs.h <<_ACEOF
13247 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13248 _ACEOF
13252 else
13253 XSLT_CFLAGS=""
13255 CPPFLAGS=$ac_save_CPPFLAGS
13258 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13259 case "x$with_xslt" in
13260 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13261 xno) ;;
13262 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13263 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13264 esac
13268 if test "x$with_inotify" != "xno"
13269 then
13270 if ${INOTIFY_CFLAGS:+false} :; then :
13271 if ${PKG_CONFIG+:} false; then :
13272 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13276 if ${INOTIFY_LIBS:+false} :; then :
13277 if ${PKG_CONFIG+:} false; then :
13278 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13283 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13284 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13285 ac_save_CPPFLAGS=$CPPFLAGS
13286 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13287 for ac_header in sys/inotify.h
13288 do :
13289 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13290 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13291 cat >>confdefs.h <<_ACEOF
13292 #define HAVE_SYS_INOTIFY_H 1
13293 _ACEOF
13297 done
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13300 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13301 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13302 $as_echo_n "(cached) " >&6
13303 else
13304 ac_check_lib_save_LIBS=$LIBS
13305 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307 /* end confdefs.h. */
13309 /* Override any GCC internal prototype to avoid an error.
13310 Use char because int might match the return type of a GCC
13311 builtin and then its argument prototype would still apply. */
13312 #ifdef __cplusplus
13313 extern "C"
13314 #endif
13315 char inotify_add_watch ();
13317 main ()
13319 return inotify_add_watch ();
13321 return 0;
13323 _ACEOF
13324 if ac_fn_c_try_link "$LINENO"; then :
13325 ac_cv_lib_inotify_inotify_add_watch=yes
13326 else
13327 ac_cv_lib_inotify_inotify_add_watch=no
13329 rm -f core conftest.err conftest.$ac_objext \
13330 conftest$ac_exeext conftest.$ac_ext
13331 LIBS=$ac_check_lib_save_LIBS
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13334 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13335 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13337 else
13338 INOTIFY_LIBS=""
13341 CPPFLAGS=$ac_save_CPPFLAGS
13344 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13345 case "x$with_inotify" in
13346 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13347 xno) ;;
13348 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13349 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13350 esac
13354 if test "x$with_dbus" != "xno"
13355 then
13356 if ${DBUS_CFLAGS:+false} :; then :
13357 if ${PKG_CONFIG+:} false; then :
13358 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13362 if ${DBUS_LIBS:+false} :; then :
13363 if ${PKG_CONFIG+:} false; then :
13364 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13369 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13370 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13371 ac_save_CPPFLAGS=$CPPFLAGS
13372 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13373 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13374 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13376 $as_echo_n "checking for -ldbus-1... " >&6; }
13377 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13378 $as_echo_n "(cached) " >&6
13379 else
13380 ac_check_soname_save_LIBS=$LIBS
13381 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13383 /* end confdefs.h. */
13385 /* Override any GCC internal prototype to avoid an error.
13386 Use char because int might match the return type of a GCC
13387 builtin and then its argument prototype would still apply. */
13388 #ifdef __cplusplus
13389 extern "C"
13390 #endif
13391 char dbus_connection_close ();
13393 main ()
13395 return dbus_connection_close ();
13397 return 0;
13399 _ACEOF
13400 if ac_fn_c_try_link "$LINENO"; then :
13401 case "$LIBEXT" in
13402 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13403 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'` ;;
13404 *) 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'`
13405 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13406 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13407 fi ;;
13408 esac
13409 else
13410 ac_cv_lib_soname_dbus_1=
13412 rm -f core conftest.err conftest.$ac_objext \
13413 conftest$ac_exeext conftest.$ac_ext
13414 LIBS=$ac_check_soname_save_LIBS
13416 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13418 $as_echo "not found" >&6; }
13419 DBUS_CFLAGS=""
13420 else
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13422 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13424 cat >>confdefs.h <<_ACEOF
13425 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13426 _ACEOF
13430 else
13431 DBUS_CFLAGS=""
13435 CPPFLAGS=$ac_save_CPPFLAGS
13438 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13439 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13440 case "x$with_dbus" in
13441 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13442 xno) ;;
13443 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13444 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13445 esac
13449 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13450 then
13451 if ${HAL_CFLAGS:+false} :; then :
13452 if ${PKG_CONFIG+:} false; then :
13453 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13457 if ${HAL_LIBS:+false} :; then :
13458 if ${PKG_CONFIG+:} false; then :
13459 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13463 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13464 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13465 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13466 ac_save_CPPFLAGS=$CPPFLAGS
13467 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13468 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13469 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13471 $as_echo_n "checking for -lhal... " >&6; }
13472 if ${ac_cv_lib_soname_hal+:} false; then :
13473 $as_echo_n "(cached) " >&6
13474 else
13475 ac_check_soname_save_LIBS=$LIBS
13476 LIBS="-lhal $HAL_LIBS $LIBS"
13477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13478 /* end confdefs.h. */
13480 /* Override any GCC internal prototype to avoid an error.
13481 Use char because int might match the return type of a GCC
13482 builtin and then its argument prototype would still apply. */
13483 #ifdef __cplusplus
13484 extern "C"
13485 #endif
13486 char libhal_ctx_new ();
13488 main ()
13490 return libhal_ctx_new ();
13492 return 0;
13494 _ACEOF
13495 if ac_fn_c_try_link "$LINENO"; then :
13496 case "$LIBEXT" in
13497 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13498 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'` ;;
13499 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13500 if ${ac_cv_lib_soname_hal:+false} :; then :
13501 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13502 fi ;;
13503 esac
13504 else
13505 ac_cv_lib_soname_hal=
13507 rm -f core conftest.err conftest.$ac_objext \
13508 conftest$ac_exeext conftest.$ac_ext
13509 LIBS=$ac_check_soname_save_LIBS
13511 if ${ac_cv_lib_soname_hal:+false} :; then :
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13513 $as_echo "not found" >&6; }
13514 HAL_CFLAGS=""
13515 else
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13517 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13519 cat >>confdefs.h <<_ACEOF
13520 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13521 _ACEOF
13525 else
13526 HAL_CFLAGS=""
13530 CPPFLAGS=$ac_save_CPPFLAGS
13532 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13533 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13534 case "x$with_hal" in
13535 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13536 xno) ;;
13537 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13538 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13539 esac
13544 if test "x$with_gnutls" != "xno"
13545 then
13546 if ${GNUTLS_CFLAGS:+false} :; then :
13547 if ${PKG_CONFIG+:} false; then :
13548 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13552 if ${GNUTLS_LIBS:+false} :; then :
13553 if ${PKG_CONFIG+:} false; then :
13554 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13558 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13559 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13560 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13561 ac_save_CPPFLAGS=$CPPFLAGS
13562 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13563 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13564 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13567 #include <gnutls/gnutls.h>
13568 #include <gnutls/crypto.h>
13570 main ()
13572 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13574 return 0;
13576 _ACEOF
13577 if ac_fn_c_try_compile "$LINENO"; then :
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13579 $as_echo_n "checking for -lgnutls... " >&6; }
13580 if ${ac_cv_lib_soname_gnutls+:} false; then :
13581 $as_echo_n "(cached) " >&6
13582 else
13583 ac_check_soname_save_LIBS=$LIBS
13584 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13586 /* end confdefs.h. */
13588 /* Override any GCC internal prototype to avoid an error.
13589 Use char because int might match the return type of a GCC
13590 builtin and then its argument prototype would still apply. */
13591 #ifdef __cplusplus
13592 extern "C"
13593 #endif
13594 char gnutls_global_init ();
13596 main ()
13598 return gnutls_global_init ();
13600 return 0;
13602 _ACEOF
13603 if ac_fn_c_try_link "$LINENO"; then :
13604 case "$LIBEXT" in
13605 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13606 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'` ;;
13607 *) 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'`
13608 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13609 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'`
13610 fi ;;
13611 esac
13612 else
13613 ac_cv_lib_soname_gnutls=
13615 rm -f core conftest.err conftest.$ac_objext \
13616 conftest$ac_exeext conftest.$ac_ext
13617 LIBS=$ac_check_soname_save_LIBS
13619 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13621 $as_echo "not found" >&6; }
13622 GNUTLS_CFLAGS=""
13623 else
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13625 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13627 cat >>confdefs.h <<_ACEOF
13628 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13629 _ACEOF
13633 ac_wine_check_funcs_save_LIBS="$LIBS"
13634 LIBS="$LIBS $GNUTLS_LIBS"
13635 for ac_func in gnutls_cipher_init
13636 do :
13637 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13638 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13639 cat >>confdefs.h <<_ACEOF
13640 #define HAVE_GNUTLS_CIPHER_INIT 1
13641 _ACEOF
13643 else
13644 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13646 done
13648 LIBS="$ac_wine_check_funcs_save_LIBS"
13650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13651 else
13652 GNUTLS_CFLAGS=""
13656 CPPFLAGS=$ac_save_CPPFLAGS
13659 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13660 case "x$with_gnutls" in
13661 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13662 xno) ;;
13663 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13664 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13665 esac
13669 if test "x$with_sane" != "xno"
13670 then
13671 if ${SANE_CFLAGS:+false} :; then :
13672 if ${PKG_CONFIG+:} false; then :
13673 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13676 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13677 if ${SANE_LIBS:+false} :; then :
13678 if ${PKG_CONFIG+:} false; then :
13679 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13682 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13684 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13685 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13686 ac_save_CPPFLAGS=$CPPFLAGS
13687 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13688 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13689 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13691 $as_echo_n "checking for -lsane... " >&6; }
13692 if ${ac_cv_lib_soname_sane+:} false; then :
13693 $as_echo_n "(cached) " >&6
13694 else
13695 ac_check_soname_save_LIBS=$LIBS
13696 LIBS="-lsane $SANE_LIBS $LIBS"
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13700 /* Override any GCC internal prototype to avoid an error.
13701 Use char because int might match the return type of a GCC
13702 builtin and then its argument prototype would still apply. */
13703 #ifdef __cplusplus
13704 extern "C"
13705 #endif
13706 char sane_init ();
13708 main ()
13710 return sane_init ();
13712 return 0;
13714 _ACEOF
13715 if ac_fn_c_try_link "$LINENO"; then :
13716 case "$LIBEXT" in
13717 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13718 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'` ;;
13719 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13720 if ${ac_cv_lib_soname_sane:+false} :; then :
13721 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13722 fi ;;
13723 esac
13724 else
13725 ac_cv_lib_soname_sane=
13727 rm -f core conftest.err conftest.$ac_objext \
13728 conftest$ac_exeext conftest.$ac_ext
13729 LIBS=$ac_check_soname_save_LIBS
13731 if ${ac_cv_lib_soname_sane:+false} :; then :
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13733 $as_echo "not found" >&6; }
13734 SANE_CFLAGS=""
13735 else
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13737 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13739 cat >>confdefs.h <<_ACEOF
13740 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13741 _ACEOF
13745 else
13746 SANE_CFLAGS=""
13750 CPPFLAGS=$ac_save_CPPFLAGS
13753 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13754 case "x$with_sane" in
13755 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13756 xno) ;;
13757 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13758 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13759 esac
13763 if test "x$with_usb" != "xno"
13764 then
13765 if ${USB_CFLAGS:+false} :; then :
13766 if ${PKG_CONFIG+:} false; then :
13767 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13771 if ${USB_LIBS:+false} :; then :
13772 if ${PKG_CONFIG+:} false; then :
13773 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13777 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13778 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13779 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13780 ac_save_CPPFLAGS=$CPPFLAGS
13781 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13782 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13783 if test "x$ac_cv_header_libusb_h" = xyes; then :
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13785 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13786 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13787 $as_echo_n "(cached) " >&6
13788 else
13789 ac_check_lib_save_LIBS=$LIBS
13790 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13792 /* end confdefs.h. */
13794 /* Override any GCC internal prototype to avoid an error.
13795 Use char because int might match the return type of a GCC
13796 builtin and then its argument prototype would still apply. */
13797 #ifdef __cplusplus
13798 extern "C"
13799 #endif
13800 char libusb_interrupt_event_handler ();
13802 main ()
13804 return libusb_interrupt_event_handler ();
13806 return 0;
13808 _ACEOF
13809 if ac_fn_c_try_link "$LINENO"; then :
13810 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13811 else
13812 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13814 rm -f core conftest.err conftest.$ac_objext \
13815 conftest$ac_exeext conftest.$ac_ext
13816 LIBS=$ac_check_lib_save_LIBS
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13819 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13820 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13822 else
13823 USB_LIBS=""
13826 else
13827 USB_LIBS=""
13831 CPPFLAGS=$ac_save_CPPFLAGS
13834 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13835 case "x$with_usb" in
13836 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13837 xno) ;;
13838 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13839 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13840 esac
13841 enable_wineusb_sys=${enable_wineusb_sys:-no}
13844 if test "x$with_v4l2" != "xno"
13845 then
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13847 $as_echo_n "checking for -lv4l2... " >&6; }
13848 if ${ac_cv_lib_soname_v4l2+:} false; then :
13849 $as_echo_n "(cached) " >&6
13850 else
13851 ac_check_soname_save_LIBS=$LIBS
13852 LIBS="-lv4l2 $LIBS"
13853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h. */
13856 /* Override any GCC internal prototype to avoid an error.
13857 Use char because int might match the return type of a GCC
13858 builtin and then its argument prototype would still apply. */
13859 #ifdef __cplusplus
13860 extern "C"
13861 #endif
13862 char v4l2_open ();
13864 main ()
13866 return v4l2_open ();
13868 return 0;
13870 _ACEOF
13871 if ac_fn_c_try_link "$LINENO"; then :
13872 case "$LIBEXT" in
13873 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13874 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'` ;;
13875 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13876 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13877 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13878 fi ;;
13879 esac
13880 else
13881 ac_cv_lib_soname_v4l2=
13883 rm -f core conftest.err conftest.$ac_objext \
13884 conftest$ac_exeext conftest.$ac_ext
13885 LIBS=$ac_check_soname_save_LIBS
13887 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13889 $as_echo "not found" >&6; }
13891 else
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13893 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13895 cat >>confdefs.h <<_ACEOF
13896 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13897 _ACEOF
13902 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13903 case "x$with_v4l2" in
13904 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13905 xno) ;;
13906 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13907 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13908 esac
13912 if test "x$with_gphoto" != "xno"
13913 then
13914 if ${GPHOTO2_CFLAGS:+false} :; then :
13915 if ${PKG_CONFIG+:} false; then :
13916 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13919 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13920 if ${GPHOTO2_LIBS:+false} :; then :
13921 if ${PKG_CONFIG+:} false; then :
13922 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13925 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13926 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13927 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13928 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13929 ac_save_CPPFLAGS=$CPPFLAGS
13930 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13931 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13932 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13934 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13935 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13936 $as_echo_n "(cached) " >&6
13937 else
13938 ac_check_lib_save_LIBS=$LIBS
13939 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13941 /* end confdefs.h. */
13943 /* Override any GCC internal prototype to avoid an error.
13944 Use char because int might match the return type of a GCC
13945 builtin and then its argument prototype would still apply. */
13946 #ifdef __cplusplus
13947 extern "C"
13948 #endif
13949 char gp_camera_new ();
13951 main ()
13953 return gp_camera_new ();
13955 return 0;
13957 _ACEOF
13958 if ac_fn_c_try_link "$LINENO"; then :
13959 ac_cv_lib_gphoto2_gp_camera_new=yes
13960 else
13961 ac_cv_lib_gphoto2_gp_camera_new=no
13963 rm -f core conftest.err conftest.$ac_objext \
13964 conftest$ac_exeext conftest.$ac_ext
13965 LIBS=$ac_check_lib_save_LIBS
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13968 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13969 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13971 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13973 else
13974 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13977 else
13978 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13982 CPPFLAGS=$ac_save_CPPFLAGS
13984 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13985 if ${PKG_CONFIG+:} false; then :
13986 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13989 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13990 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13991 if ${PKG_CONFIG+:} false; then :
13992 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13995 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13996 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13997 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13998 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13999 ac_save_CPPFLAGS=$CPPFLAGS
14000 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14001 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14002 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14004 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14005 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14006 $as_echo_n "(cached) " >&6
14007 else
14008 ac_check_lib_save_LIBS=$LIBS
14009 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011 /* end confdefs.h. */
14013 /* Override any GCC internal prototype to avoid an error.
14014 Use char because int might match the return type of a GCC
14015 builtin and then its argument prototype would still apply. */
14016 #ifdef __cplusplus
14017 extern "C"
14018 #endif
14019 char gp_port_info_list_new ();
14021 main ()
14023 return gp_port_info_list_new ();
14025 return 0;
14027 _ACEOF
14028 if ac_fn_c_try_link "$LINENO"; then :
14029 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14030 else
14031 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14033 rm -f core conftest.err conftest.$ac_objext \
14034 conftest$ac_exeext conftest.$ac_ext
14035 LIBS=$ac_check_lib_save_LIBS
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14038 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14039 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14041 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14043 else
14044 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14047 else
14048 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14052 CPPFLAGS=$ac_save_CPPFLAGS
14055 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14056 case "x$with_gphoto" in
14057 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14058 xno) ;;
14059 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14060 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14061 esac
14064 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14065 case "x$with_gphoto" in
14066 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14067 xno) ;;
14068 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14069 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14070 esac
14075 if test "$ac_cv_header_resolv_h" = "yes"
14076 then
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14078 $as_echo_n "checking for resolver library... " >&6; }
14079 if ${ac_cv_have_resolv+:} false; then :
14080 $as_echo_n "(cached) " >&6
14081 else
14082 ac_save_LIBS="$LIBS"
14083 for lib in '' -lresolv
14085 LIBS="$lib $ac_save_LIBS"
14086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14087 /* end confdefs.h. */
14088 #ifdef HAVE_NETINET_IN_H
14089 #include <netinet/in.h>
14090 #endif
14091 #include <resolv.h>
14093 main ()
14095 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14097 return 0;
14099 _ACEOF
14100 if ac_fn_c_try_link "$LINENO"; then :
14101 ac_cv_have_resolv=${lib:-"none required"}
14102 else
14103 ac_cv_have_resolv="not found"
14105 rm -f core conftest.err conftest.$ac_objext \
14106 conftest$ac_exeext conftest.$ac_ext
14107 test "x$ac_cv_have_resolv" = "xnot found" || break
14108 done
14109 LIBS="$ac_save_LIBS"
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14112 $as_echo "$ac_cv_have_resolv" >&6; }
14114 case "$ac_cv_have_resolv" in
14115 "not found") ;;
14116 "none required")
14118 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14121 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14123 RESOLV_LIBS=$ac_cv_have_resolv
14125 esac
14127 if test "x$ac_cv_have_resolv" != "xnot found"
14128 then
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14130 $as_echo_n "checking for res_getservers... " >&6; }
14131 if ${ac_cv_have_res_getservers+:} false; then :
14132 $as_echo_n "(cached) " >&6
14133 else
14134 ac_save_LIBS="$LIBS"
14135 LIBS="$RESOLV_LIBS $LIBS"
14136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14138 #include <resolv.h>
14140 main ()
14142 res_getservers(NULL, NULL, 0);
14144 return 0;
14146 _ACEOF
14147 if ac_fn_c_try_link "$LINENO"; then :
14148 ac_cv_have_res_getservers=yes
14149 else
14150 ac_cv_have_res_getservers=no
14152 rm -f core conftest.err conftest.$ac_objext \
14153 conftest$ac_exeext conftest.$ac_ext
14154 LIBS="$ac_save_LIBS"
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14157 $as_echo "$ac_cv_have_res_getservers" >&6; }
14158 if test "$ac_cv_have_res_getservers" = "yes"
14159 then
14161 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14167 if test "x$with_cms" != "xno"
14168 then
14169 if ${LCMS2_CFLAGS:+false} :; then :
14170 if ${PKG_CONFIG+:} false; then :
14171 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14175 if ${LCMS2_LIBS:+false} :; then :
14176 if ${PKG_CONFIG+:} false; then :
14177 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14181 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14182 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14183 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14184 ac_save_CPPFLAGS=$CPPFLAGS
14185 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14186 for ac_header in lcms2.h
14187 do :
14188 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14189 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14190 cat >>confdefs.h <<_ACEOF
14191 #define HAVE_LCMS2_H 1
14192 _ACEOF
14196 done
14198 if test "$ac_cv_header_lcms2_h" = "yes"
14199 then
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14201 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14202 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14203 $as_echo_n "(cached) " >&6
14204 else
14205 ac_check_lib_save_LIBS=$LIBS
14206 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14210 /* Override any GCC internal prototype to avoid an error.
14211 Use char because int might match the return type of a GCC
14212 builtin and then its argument prototype would still apply. */
14213 #ifdef __cplusplus
14214 extern "C"
14215 #endif
14216 char cmsOpenProfileFromFile ();
14218 main ()
14220 return cmsOpenProfileFromFile ();
14222 return 0;
14224 _ACEOF
14225 if ac_fn_c_try_link "$LINENO"; then :
14226 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14227 else
14228 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14230 rm -f core conftest.err conftest.$ac_objext \
14231 conftest$ac_exeext conftest.$ac_ext
14232 LIBS=$ac_check_lib_save_LIBS
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14235 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14236 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14238 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14240 else
14241 LCMS2_LIBS=""
14244 else
14245 LCMS2_CFLAGS=""
14246 LCMS2_LIBS=""
14248 CPPFLAGS=$ac_save_CPPFLAGS
14251 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14252 case "x$with_cms" in
14253 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14254 xno) ;;
14255 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14256 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14257 esac
14261 if test "x$with_freetype" != "xno"
14262 then
14263 if ${FREETYPE_CFLAGS:+false} :; then :
14264 if ${PKG_CONFIG+:} false; then :
14265 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14268 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14269 if ${FREETYPE_LIBS:+false} :; then :
14270 if ${PKG_CONFIG+:} false; then :
14271 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14274 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14275 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14276 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14277 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14278 ac_save_CPPFLAGS=$CPPFLAGS
14279 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14280 for ac_header in ft2build.h
14281 do :
14282 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14283 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14284 cat >>confdefs.h <<_ACEOF
14285 #define HAVE_FT2BUILD_H 1
14286 _ACEOF
14290 done
14292 if test "$ac_cv_header_ft2build_h" = "yes"
14293 then
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14295 $as_echo_n "checking for -lfreetype... " >&6; }
14296 if ${ac_cv_lib_soname_freetype+:} false; then :
14297 $as_echo_n "(cached) " >&6
14298 else
14299 ac_check_soname_save_LIBS=$LIBS
14300 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14302 /* end confdefs.h. */
14304 /* Override any GCC internal prototype to avoid an error.
14305 Use char because int might match the return type of a GCC
14306 builtin and then its argument prototype would still apply. */
14307 #ifdef __cplusplus
14308 extern "C"
14309 #endif
14310 char FT_Init_FreeType ();
14312 main ()
14314 return FT_Init_FreeType ();
14316 return 0;
14318 _ACEOF
14319 if ac_fn_c_try_link "$LINENO"; then :
14320 case "$LIBEXT" in
14321 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14322 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'` ;;
14323 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14324 if ${ac_cv_lib_soname_freetype:+false} :; then :
14325 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14326 fi ;;
14327 esac
14328 else
14329 ac_cv_lib_soname_freetype=
14331 rm -f core conftest.err conftest.$ac_objext \
14332 conftest$ac_exeext conftest.$ac_ext
14333 LIBS=$ac_check_soname_save_LIBS
14335 if ${ac_cv_lib_soname_freetype:+false} :; then :
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14337 $as_echo "not found" >&6; }
14338 FREETYPE_LIBS=""
14339 else
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14341 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14343 cat >>confdefs.h <<_ACEOF
14344 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14345 _ACEOF
14348 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14350 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14351 #include FT_MODULE_H
14353 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14355 cat >>confdefs.h <<_ACEOF
14356 #define HAVE_FT_TRUETYPEENGINETYPE 1
14357 _ACEOF
14363 else
14364 FREETYPE_CFLAGS=""
14365 FREETYPE_LIBS=""
14367 CPPFLAGS=$ac_save_CPPFLAGS
14370 if test "x$ac_cv_lib_soname_freetype" = x; then :
14371 case "x$with_freetype" in
14372 xno) ;;
14373 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14374 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14375 esac
14376 enable_fonts=${enable_fonts:-no}
14379 ac_wine_check_funcs_save_LIBS="$LIBS"
14380 LIBS="$LIBS $PTHREAD_LIBS"
14381 for ac_func in \
14382 pthread_getthreadid_np
14383 do :
14384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14386 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14387 cat >>confdefs.h <<_ACEOF
14388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14389 _ACEOF
14392 done
14394 LIBS="$ac_wine_check_funcs_save_LIBS"
14396 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14397 then
14398 if test "$ac_cv_header_gettext_po_h" = "yes"
14399 then
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14401 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14402 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14403 $as_echo_n "(cached) " >&6
14404 else
14405 ac_check_lib_save_LIBS=$LIBS
14406 LIBS="-lgettextpo $LIBS"
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14410 /* Override any GCC internal prototype to avoid an error.
14411 Use char because int might match the return type of a GCC
14412 builtin and then its argument prototype would still apply. */
14413 #ifdef __cplusplus
14414 extern "C"
14415 #endif
14416 char po_message_msgctxt ();
14418 main ()
14420 return po_message_msgctxt ();
14422 return 0;
14424 _ACEOF
14425 if ac_fn_c_try_link "$LINENO"; then :
14426 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14427 else
14428 ac_cv_lib_gettextpo_po_message_msgctxt=no
14430 rm -f core conftest.err conftest.$ac_objext \
14431 conftest$ac_exeext conftest.$ac_ext
14432 LIBS=$ac_check_lib_save_LIBS
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14435 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14436 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14438 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14440 GETTEXTPO_LIBS="-lgettextpo"
14445 if test "x$GETTEXTPO_LIBS" = "x"; then :
14446 case "x$with_gettextpo" in
14447 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14448 xno) ;;
14449 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14450 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14451 esac
14454 if test "$srcdir" != .; then :
14455 case "x$with_gettextpo" in
14456 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14457 xno) ;;
14458 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14459 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14460 esac
14465 if test "x$with_pulse" != "xno";
14466 then
14467 if ${PULSE_CFLAGS:+false} :; then :
14468 if ${PKG_CONFIG+:} false; then :
14469 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14473 if ${PULSE_LIBS:+false} :; then :
14474 if ${PKG_CONFIG+:} false; then :
14475 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14480 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14481 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14482 ac_save_CPPFLAGS=$CPPFLAGS
14483 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14484 for ac_header in pulse/pulseaudio.h
14485 do :
14486 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14487 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14488 cat >>confdefs.h <<_ACEOF
14489 #define HAVE_PULSE_PULSEAUDIO_H 1
14490 _ACEOF
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14492 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14493 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14494 $as_echo_n "(cached) " >&6
14495 else
14496 ac_check_lib_save_LIBS=$LIBS
14497 LIBS="-lpulse $PULSE_LIBS $LIBS"
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14501 /* Override any GCC internal prototype to avoid an error.
14502 Use char because int might match the return type of a GCC
14503 builtin and then its argument prototype would still apply. */
14504 #ifdef __cplusplus
14505 extern "C"
14506 #endif
14507 char pa_stream_is_corked ();
14509 main ()
14511 return pa_stream_is_corked ();
14513 return 0;
14515 _ACEOF
14516 if ac_fn_c_try_link "$LINENO"; then :
14517 ac_cv_lib_pulse_pa_stream_is_corked=yes
14518 else
14519 ac_cv_lib_pulse_pa_stream_is_corked=no
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14523 LIBS=$ac_check_lib_save_LIBS
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14526 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14527 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14529 else
14530 PULSE_LIBS=""
14533 else
14534 PULSE_LIBS=""
14537 done
14539 CPPFLAGS=$ac_save_CPPFLAGS
14542 if test -z "$PULSE_LIBS"; then :
14543 case "x$with_pulse" in
14544 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14545 xno) ;;
14546 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14547 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14548 esac
14549 enable_winepulse_drv=${enable_winepulse_drv:-no}
14552 if test "x$with_gstreamer" != "xno"
14553 then
14554 if ${GSTREAMER_CFLAGS:+false} :; then :
14555 if ${PKG_CONFIG+:} false; then :
14556 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14560 if ${GSTREAMER_LIBS:+false} :; then :
14561 if ${PKG_CONFIG+:} false; then :
14562 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14567 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14568 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14569 ac_save_CPPFLAGS=$CPPFLAGS
14570 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14571 ac_gst_incl=""
14572 for i in $GSTREAMER_CFLAGS
14574 case "$i" in
14575 -I*) ac_gst_incl="$ac_gst_incl $i";;
14576 esac
14577 done
14578 GSTREAMER_CFLAGS=$ac_gst_incl
14579 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14580 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14581 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14583 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14585 /* end confdefs.h. */
14586 #include <gst/gst.h>
14588 main ()
14590 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14592 return 0;
14594 _ACEOF
14595 if ac_fn_c_try_compile "$LINENO"; then :
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14597 $as_echo "yes" >&6; }
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14599 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14600 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14601 $as_echo_n "(cached) " >&6
14602 else
14603 ac_check_lib_save_LIBS=$LIBS
14604 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14608 /* Override any GCC internal prototype to avoid an error.
14609 Use char because int might match the return type of a GCC
14610 builtin and then its argument prototype would still apply. */
14611 #ifdef __cplusplus
14612 extern "C"
14613 #endif
14614 char gst_pad_new ();
14616 main ()
14618 return gst_pad_new ();
14620 return 0;
14622 _ACEOF
14623 if ac_fn_c_try_link "$LINENO"; then :
14624 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14625 else
14626 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14628 rm -f core conftest.err conftest.$ac_objext \
14629 conftest$ac_exeext conftest.$ac_ext
14630 LIBS=$ac_check_lib_save_LIBS
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14633 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14634 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14638 else
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14640 $as_echo "no" >&6; }
14641 ac_glib2_broken=yes
14642 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14648 CPPFLAGS=$ac_save_CPPFLAGS
14651 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 :
14652 case "x$with_gstreamer" in
14653 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14654 xno) ;;
14655 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14656 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14657 esac
14660 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14662 ALSA_LIBS=""
14664 if test "x$with_alsa" != "xno"
14665 then
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14667 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14668 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14669 $as_echo_n "(cached) " >&6
14670 else
14671 ac_check_lib_save_LIBS=$LIBS
14672 LIBS="-lasound $LIBS"
14673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14674 /* end confdefs.h. */
14676 /* Override any GCC internal prototype to avoid an error.
14677 Use char because int might match the return type of a GCC
14678 builtin and then its argument prototype would still apply. */
14679 #ifdef __cplusplus
14680 extern "C"
14681 #endif
14682 char snd_pcm_hw_params_get_access_mask ();
14684 main ()
14686 return snd_pcm_hw_params_get_access_mask ();
14688 return 0;
14690 _ACEOF
14691 if ac_fn_c_try_link "$LINENO"; then :
14692 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14693 else
14694 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14696 rm -f core conftest.err conftest.$ac_objext \
14697 conftest$ac_exeext conftest.$ac_ext
14698 LIBS=$ac_check_lib_save_LIBS
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14701 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14702 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704 /* end confdefs.h. */
14705 #include <alsa/asoundlib.h>
14707 main ()
14709 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14711 return 0;
14713 _ACEOF
14714 if ac_fn_c_try_compile "$LINENO"; then :
14715 ALSA_LIBS="-lasound"
14717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14721 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14723 if test "x$with_oss" != xno
14724 then
14725 ac_save_CPPFLAGS="$CPPFLAGS"
14726 if test -f /etc/oss.conf
14727 then
14728 . /etc/oss.conf
14730 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14731 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14732 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14733 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14734 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14736 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14738 cat >>confdefs.h <<_ACEOF
14739 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14740 _ACEOF
14742 OSS4_CFLAGS="$ac_oss_incl"
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14745 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14746 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14747 $as_echo_n "(cached) " >&6
14748 else
14749 ac_check_lib_save_LIBS=$LIBS
14750 LIBS="-lossaudio $LIBS"
14751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14754 /* Override any GCC internal prototype to avoid an error.
14755 Use char because int might match the return type of a GCC
14756 builtin and then its argument prototype would still apply. */
14757 #ifdef __cplusplus
14758 extern "C"
14759 #endif
14760 char _oss_ioctl ();
14762 main ()
14764 return _oss_ioctl ();
14766 return 0;
14768 _ACEOF
14769 if ac_fn_c_try_link "$LINENO"; then :
14770 ac_cv_lib_ossaudio__oss_ioctl=yes
14771 else
14772 ac_cv_lib_ossaudio__oss_ioctl=no
14774 rm -f core conftest.err conftest.$ac_objext \
14775 conftest$ac_exeext conftest.$ac_ext
14776 LIBS=$ac_check_lib_save_LIBS
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14779 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14780 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14781 OSS4_LIBS="-lossaudio"
14790 CPPFLAGS="$ac_save_CPPFLAGS"
14792 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14793 case "x$with_oss" in
14794 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14795 xno) ;;
14796 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14797 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14798 esac
14799 enable_wineoss_drv=${enable_wineoss_drv:-no}
14802 if test "x$with_udev" != "xno"
14803 then
14804 if ${UDEV_CFLAGS:+false} :; then :
14805 if ${PKG_CONFIG+:} false; then :
14806 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14810 if ${UDEV_LIBS:+false} :; then :
14811 if ${PKG_CONFIG+:} false; then :
14812 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14816 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14817 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14818 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14819 ac_save_CPPFLAGS=$CPPFLAGS
14820 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14821 for ac_header in libudev.h
14822 do :
14823 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14824 if test "x$ac_cv_header_libudev_h" = xyes; then :
14825 cat >>confdefs.h <<_ACEOF
14826 #define HAVE_LIBUDEV_H 1
14827 _ACEOF
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14829 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14830 if ${ac_cv_lib_udev_udev_new+:} false; then :
14831 $as_echo_n "(cached) " >&6
14832 else
14833 ac_check_lib_save_LIBS=$LIBS
14834 LIBS="-ludev $UDEV_LIBS $LIBS"
14835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14836 /* end confdefs.h. */
14838 /* Override any GCC internal prototype to avoid an error.
14839 Use char because int might match the return type of a GCC
14840 builtin and then its argument prototype would still apply. */
14841 #ifdef __cplusplus
14842 extern "C"
14843 #endif
14844 char udev_new ();
14846 main ()
14848 return udev_new ();
14850 return 0;
14852 _ACEOF
14853 if ac_fn_c_try_link "$LINENO"; then :
14854 ac_cv_lib_udev_udev_new=yes
14855 else
14856 ac_cv_lib_udev_udev_new=no
14858 rm -f core conftest.err conftest.$ac_objext \
14859 conftest$ac_exeext conftest.$ac_ext
14860 LIBS=$ac_check_lib_save_LIBS
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14863 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14864 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14866 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14868 else
14869 UDEV_LIBS=""
14872 else
14873 UDEV_LIBS=""
14876 done
14878 CPPFLAGS=$ac_save_CPPFLAGS
14881 if test "x$UDEV_LIBS" = "x"; then :
14882 case "x$with_udev" in
14883 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14884 xno) ;;
14885 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14886 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14887 esac
14891 if test "x$with_unwind" != xno
14892 then
14893 if ${UNWIND_CFLAGS:+false} :; then :
14894 if ${PKG_CONFIG+:} false; then :
14895 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14899 if ${UNWIND_LIBS:+false} :; then :
14900 if ${PKG_CONFIG+:} false; then :
14901 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14905 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14906 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14907 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14908 ac_save_CPPFLAGS=$CPPFLAGS
14909 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14911 $as_echo_n "checking for unw_step... " >&6; }
14912 if ${wine_cv_have_unw_step+:} false; then :
14913 $as_echo_n "(cached) " >&6
14914 else
14915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14916 /* end confdefs.h. */
14917 #define UNW_LOCAL_ONLY
14918 #include <libunwind.h>
14920 main ()
14922 unw_cursor_t cursor; unw_step( &cursor );
14924 return 0;
14926 _ACEOF
14927 if ac_fn_c_try_link "$LINENO"; then :
14928 wine_cv_have_unw_step="yes"
14929 else
14930 wine_cv_have_unw_step="no"
14932 rm -f core conftest.err conftest.$ac_objext \
14933 conftest$ac_exeext conftest.$ac_ext
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14936 $as_echo "$wine_cv_have_unw_step" >&6; }
14937 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14938 then
14939 save_libs=$LIBS
14940 LIBS="$UNWIND_LIBS $LIBS"
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14942 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14943 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14944 $as_echo_n "(cached) " >&6
14945 else
14946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14948 #define UNW_LOCAL_ONLY
14949 #include <libunwind.h>
14951 main ()
14953 unw_cursor_t cursor; unw_step( &cursor );
14955 return 0;
14957 _ACEOF
14958 if ac_fn_c_try_link "$LINENO"; then :
14959 wine_cv_have_libunwind_unw_step="yes"
14960 else
14961 wine_cv_have_libunwind_unw_step="no"
14963 rm -f core conftest.err conftest.$ac_objext \
14964 conftest$ac_exeext conftest.$ac_ext
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14967 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14968 LIBS=$save_libs
14970 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14971 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14972 then
14974 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14977 CPPFLAGS=$ac_save_CPPFLAGS
14980 case $host in
14981 aarch64*|*-darwin*)
14982 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14983 case "x$with_unwind" in
14984 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14985 xno) ;;
14986 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14987 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14988 esac
14990 fi ;;
14991 esac
14993 if test "x$with_sdl" != "xno"
14994 then
14995 if ${SDL2_CFLAGS:+false} :; then :
14996 if ${PKG_CONFIG+:} false; then :
14997 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15001 if ${SDL2_LIBS:+false} :; then :
15002 if ${PKG_CONFIG+:} false; then :
15003 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15007 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15008 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15009 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15010 ac_save_CPPFLAGS=$CPPFLAGS
15011 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15012 for ac_header in SDL2/SDL.h
15013 do :
15014 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15015 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15016 cat >>confdefs.h <<_ACEOF
15017 #define HAVE_SDL2_SDL_H 1
15018 _ACEOF
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15020 $as_echo_n "checking for -lSDL2... " >&6; }
15021 if ${ac_cv_lib_soname_SDL2+:} false; then :
15022 $as_echo_n "(cached) " >&6
15023 else
15024 ac_check_soname_save_LIBS=$LIBS
15025 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15029 /* Override any GCC internal prototype to avoid an error.
15030 Use char because int might match the return type of a GCC
15031 builtin and then its argument prototype would still apply. */
15032 #ifdef __cplusplus
15033 extern "C"
15034 #endif
15035 char SDL_Init ();
15037 main ()
15039 return SDL_Init ();
15041 return 0;
15043 _ACEOF
15044 if ac_fn_c_try_link "$LINENO"; then :
15045 case "$LIBEXT" in
15046 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15047 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'` ;;
15048 *) 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'`
15049 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15050 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15051 fi ;;
15052 esac
15053 else
15054 ac_cv_lib_soname_SDL2=
15056 rm -f core conftest.err conftest.$ac_objext \
15057 conftest$ac_exeext conftest.$ac_ext
15058 LIBS=$ac_check_soname_save_LIBS
15060 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15062 $as_echo "not found" >&6; }
15064 else
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15066 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15068 cat >>confdefs.h <<_ACEOF
15069 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15070 _ACEOF
15076 done
15078 CPPFLAGS=$ac_save_CPPFLAGS
15081 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15082 case "x$with_sdl" in
15083 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15084 xno) ;;
15085 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15086 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15087 esac
15091 if test "x$with_faudio" != "xno"
15092 then
15093 if ${FAUDIO_CFLAGS:+false} :; then :
15094 if ${PKG_CONFIG+:} false; then :
15095 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15099 if ${FAUDIO_LIBS:+false} :; then :
15100 if ${PKG_CONFIG+:} false; then :
15101 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15105 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15106 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15107 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15108 ac_save_CPPFLAGS=$CPPFLAGS
15109 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15110 for ac_header in FAudio.h
15111 do :
15112 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15113 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15114 cat >>confdefs.h <<_ACEOF
15115 #define HAVE_FAUDIO_H 1
15116 _ACEOF
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15118 $as_echo_n "checking for -lFAudio... " >&6; }
15119 if ${ac_cv_lib_soname_FAudio+:} false; then :
15120 $as_echo_n "(cached) " >&6
15121 else
15122 ac_check_soname_save_LIBS=$LIBS
15123 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15127 /* Override any GCC internal prototype to avoid an error.
15128 Use char because int might match the return type of a GCC
15129 builtin and then its argument prototype would still apply. */
15130 #ifdef __cplusplus
15131 extern "C"
15132 #endif
15133 char FAudioCreate ();
15135 main ()
15137 return FAudioCreate ();
15139 return 0;
15141 _ACEOF
15142 if ac_fn_c_try_link "$LINENO"; then :
15143 case "$LIBEXT" in
15144 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15145 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'` ;;
15146 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15147 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15148 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15149 fi ;;
15150 esac
15151 else
15152 ac_cv_lib_soname_FAudio=
15154 rm -f core conftest.err conftest.$ac_objext \
15155 conftest$ac_exeext conftest.$ac_ext
15156 LIBS=$ac_check_soname_save_LIBS
15158 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15160 $as_echo "not found" >&6; }
15162 else
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15164 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15166 cat >>confdefs.h <<_ACEOF
15167 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15168 _ACEOF
15174 done
15176 ac_wine_check_funcs_save_LIBS="$LIBS"
15177 LIBS="$LIBS $FAUDIO_LIBS"
15178 for ac_func in FAudio_CommitOperationSet \
15179 F3DAudioInitialize8 \
15180 FAudioLinkedVersion \
15181 FAudioCreateReverb9WithCustomAllocatorEXT
15182 do :
15183 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15184 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15185 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15186 cat >>confdefs.h <<_ACEOF
15187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15188 _ACEOF
15191 done
15193 LIBS="$ac_wine_check_funcs_save_LIBS"
15195 CPPFLAGS=$ac_save_CPPFLAGS
15198 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15199 case "x$with_faudio" in
15200 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15201 xno) ;;
15202 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15203 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15204 esac
15208 if test "x$with_capi" != "xno"
15209 then
15210 if ${CAPI20_CFLAGS:+false} :; then :
15211 if ${PKG_CONFIG+:} false; then :
15212 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15216 if ${CAPI20_LIBS:+false} :; then :
15217 if ${PKG_CONFIG+:} false; then :
15218 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15223 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15224 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15225 ac_save_CPPFLAGS=$CPPFLAGS
15226 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15227 for ac_header in capi20.h linux/capi.h
15228 do :
15229 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15230 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15232 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15233 cat >>confdefs.h <<_ACEOF
15234 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15235 _ACEOF
15239 done
15241 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15242 then
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15244 $as_echo_n "checking for -lcapi20... " >&6; }
15245 if ${ac_cv_lib_soname_capi20+:} false; then :
15246 $as_echo_n "(cached) " >&6
15247 else
15248 ac_check_soname_save_LIBS=$LIBS
15249 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15251 /* end confdefs.h. */
15253 /* Override any GCC internal prototype to avoid an error.
15254 Use char because int might match the return type of a GCC
15255 builtin and then its argument prototype would still apply. */
15256 #ifdef __cplusplus
15257 extern "C"
15258 #endif
15259 char capi20_register ();
15261 main ()
15263 return capi20_register ();
15265 return 0;
15267 _ACEOF
15268 if ac_fn_c_try_link "$LINENO"; then :
15269 case "$LIBEXT" in
15270 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15271 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'` ;;
15272 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15273 if ${ac_cv_lib_soname_capi20:+false} :; then :
15274 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15275 fi ;;
15276 esac
15277 else
15278 ac_cv_lib_soname_capi20=
15280 rm -f core conftest.err conftest.$ac_objext \
15281 conftest$ac_exeext conftest.$ac_ext
15282 LIBS=$ac_check_soname_save_LIBS
15284 if ${ac_cv_lib_soname_capi20:+false} :; then :
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15286 $as_echo "not found" >&6; }
15288 else
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15290 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15292 cat >>confdefs.h <<_ACEOF
15293 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15294 _ACEOF
15299 CPPFLAGS=$ac_save_CPPFLAGS
15302 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15303 case "x$with_capi" in
15304 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15305 xno) ;;
15306 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15307 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15308 esac
15312 if test "x$with_cups" != "xno"
15313 then
15314 if ${CUPS_CFLAGS:+false} :; then :
15315 if ${PKG_CONFIG+:} false; then :
15316 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15319 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15320 if ${CUPS_LIBS:+false} :; then :
15321 if ${PKG_CONFIG+:} false; then :
15322 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15325 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15326 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15327 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15328 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15329 ac_save_CPPFLAGS=$CPPFLAGS
15330 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15331 for ac_header in cups/cups.h cups/ppd.h
15332 do :
15333 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15334 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15335 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15336 cat >>confdefs.h <<_ACEOF
15337 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15338 _ACEOF
15342 done
15344 if test "$ac_cv_header_cups_cups_h" = "yes"
15345 then
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15347 $as_echo_n "checking for -lcups... " >&6; }
15348 if ${ac_cv_lib_soname_cups+:} false; then :
15349 $as_echo_n "(cached) " >&6
15350 else
15351 ac_check_soname_save_LIBS=$LIBS
15352 LIBS="-lcups $CUPS_LIBS $LIBS"
15353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15356 /* Override any GCC internal prototype to avoid an error.
15357 Use char because int might match the return type of a GCC
15358 builtin and then its argument prototype would still apply. */
15359 #ifdef __cplusplus
15360 extern "C"
15361 #endif
15362 char cupsGetDefault ();
15364 main ()
15366 return cupsGetDefault ();
15368 return 0;
15370 _ACEOF
15371 if ac_fn_c_try_link "$LINENO"; then :
15372 case "$LIBEXT" in
15373 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15374 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'` ;;
15375 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15376 if ${ac_cv_lib_soname_cups:+false} :; then :
15377 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15378 fi ;;
15379 esac
15380 else
15381 ac_cv_lib_soname_cups=
15383 rm -f core conftest.err conftest.$ac_objext \
15384 conftest$ac_exeext conftest.$ac_ext
15385 LIBS=$ac_check_soname_save_LIBS
15387 if ${ac_cv_lib_soname_cups:+false} :; then :
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15389 $as_echo "not found" >&6; }
15390 CUPS_LIBS=""
15391 else
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15393 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15395 cat >>confdefs.h <<_ACEOF
15396 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15397 _ACEOF
15401 else
15402 CUPS_CFLAGS=""
15403 CUPS_LIBS=""
15405 CPPFLAGS=$ac_save_CPPFLAGS
15408 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15409 case "x$with_cups" in
15410 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15411 xno) ;;
15412 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15413 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15414 esac
15418 if test "x$with_fontconfig" != "xno"
15419 then
15420 if ${FONTCONFIG_CFLAGS:+false} :; then :
15421 if ${PKG_CONFIG+:} false; then :
15422 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15425 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15426 if ${FONTCONFIG_LIBS:+false} :; then :
15427 if ${PKG_CONFIG+:} false; then :
15428 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15431 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15433 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15434 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15435 ac_save_CPPFLAGS=$CPPFLAGS
15436 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15437 for ac_header in fontconfig/fontconfig.h
15438 do :
15439 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15440 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15441 cat >>confdefs.h <<_ACEOF
15442 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15443 _ACEOF
15447 done
15449 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15450 then
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15452 $as_echo_n "checking for -lfontconfig... " >&6; }
15453 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15454 $as_echo_n "(cached) " >&6
15455 else
15456 ac_check_soname_save_LIBS=$LIBS
15457 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15459 /* end confdefs.h. */
15461 /* Override any GCC internal prototype to avoid an error.
15462 Use char because int might match the return type of a GCC
15463 builtin and then its argument prototype would still apply. */
15464 #ifdef __cplusplus
15465 extern "C"
15466 #endif
15467 char FcInit ();
15469 main ()
15471 return FcInit ();
15473 return 0;
15475 _ACEOF
15476 if ac_fn_c_try_link "$LINENO"; then :
15477 case "$LIBEXT" in
15478 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15479 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'` ;;
15480 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15481 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15482 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15483 fi ;;
15484 esac
15485 else
15486 ac_cv_lib_soname_fontconfig=
15488 rm -f core conftest.err conftest.$ac_objext \
15489 conftest$ac_exeext conftest.$ac_ext
15490 LIBS=$ac_check_soname_save_LIBS
15492 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15494 $as_echo "not found" >&6; }
15495 FONTCONFIG_CFLAGS=""
15496 else
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15498 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15500 cat >>confdefs.h <<_ACEOF
15501 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15502 _ACEOF
15506 else
15507 FONTCONFIG_CFLAGS=""
15509 CPPFLAGS=$ac_save_CPPFLAGS
15512 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15513 case "x$with_fontconfig" in
15514 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15515 xno) ;;
15516 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15517 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15518 esac
15522 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15523 then
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15525 $as_echo_n "checking for -lgsm... " >&6; }
15526 if ${ac_cv_lib_soname_gsm+:} false; then :
15527 $as_echo_n "(cached) " >&6
15528 else
15529 ac_check_soname_save_LIBS=$LIBS
15530 LIBS="-lgsm $LIBS"
15531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15532 /* end confdefs.h. */
15534 /* Override any GCC internal prototype to avoid an error.
15535 Use char because int might match the return type of a GCC
15536 builtin and then its argument prototype would still apply. */
15537 #ifdef __cplusplus
15538 extern "C"
15539 #endif
15540 char gsm_create ();
15542 main ()
15544 return gsm_create ();
15546 return 0;
15548 _ACEOF
15549 if ac_fn_c_try_link "$LINENO"; then :
15550 case "$LIBEXT" in
15551 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15552 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'` ;;
15553 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15554 if ${ac_cv_lib_soname_gsm:+false} :; then :
15555 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15556 fi ;;
15557 esac
15558 else
15559 ac_cv_lib_soname_gsm=
15561 rm -f core conftest.err conftest.$ac_objext \
15562 conftest$ac_exeext conftest.$ac_ext
15563 LIBS=$ac_check_soname_save_LIBS
15565 if ${ac_cv_lib_soname_gsm:+false} :; then :
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15567 $as_echo "not found" >&6; }
15569 else
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15571 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15573 cat >>confdefs.h <<_ACEOF
15574 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15575 _ACEOF
15580 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15581 case "x$with_gsm" in
15582 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15583 xno) ;;
15584 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15585 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15586 esac
15590 if test "x$with_krb5" != "xno"
15591 then
15592 if ${KRB5_CFLAGS:+false} :; then :
15593 if ${PKG_CONFIG+:} false; then :
15594 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15597 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15598 if ${KRB5_LIBS:+false} :; then :
15599 if ${PKG_CONFIG+:} false; then :
15600 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15603 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15605 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15606 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15607 ac_save_CPPFLAGS=$CPPFLAGS
15608 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15609 for ac_header in krb5/krb5.h
15610 do :
15611 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15612 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15613 cat >>confdefs.h <<_ACEOF
15614 #define HAVE_KRB5_KRB5_H 1
15615 _ACEOF
15619 done
15621 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15622 then
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15624 $as_echo_n "checking for -lkrb5... " >&6; }
15625 if ${ac_cv_lib_soname_krb5+:} false; then :
15626 $as_echo_n "(cached) " >&6
15627 else
15628 ac_check_soname_save_LIBS=$LIBS
15629 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15631 /* end confdefs.h. */
15633 /* Override any GCC internal prototype to avoid an error.
15634 Use char because int might match the return type of a GCC
15635 builtin and then its argument prototype would still apply. */
15636 #ifdef __cplusplus
15637 extern "C"
15638 #endif
15639 char krb5_is_config_principal ();
15641 main ()
15643 return krb5_is_config_principal ();
15645 return 0;
15647 _ACEOF
15648 if ac_fn_c_try_link "$LINENO"; then :
15649 case "$LIBEXT" in
15650 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15651 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'` ;;
15652 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15653 if ${ac_cv_lib_soname_krb5:+false} :; then :
15654 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15655 fi ;;
15656 esac
15657 else
15658 ac_cv_lib_soname_krb5=
15660 rm -f core conftest.err conftest.$ac_objext \
15661 conftest$ac_exeext conftest.$ac_ext
15662 LIBS=$ac_check_soname_save_LIBS
15664 if ${ac_cv_lib_soname_krb5:+false} :; then :
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15666 $as_echo "not found" >&6; }
15667 KRB5_CFLAGS=""
15668 else
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15670 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15672 cat >>confdefs.h <<_ACEOF
15673 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15674 _ACEOF
15678 else
15679 KRB5_CFLAGS=""
15681 CPPFLAGS=$ac_save_CPPFLAGS
15684 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15685 case "x$with_krb5" in
15686 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15687 xno) ;;
15688 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15689 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15690 esac
15693 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15695 if test "x$with_gssapi" != "xno"
15696 then
15697 if ${GSSAPI_CFLAGS:+false} :; then :
15698 if ${PKG_CONFIG+:} false; then :
15699 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15702 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15703 if ${GSSAPI_LIBS:+false} :; then :
15704 if ${PKG_CONFIG+:} false; then :
15705 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15708 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15710 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15711 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15712 ac_save_CPPFLAGS=$CPPFLAGS
15713 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15714 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15715 do :
15716 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15717 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15718 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15719 cat >>confdefs.h <<_ACEOF
15720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15721 _ACEOF
15725 done
15727 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15728 then
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15730 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15731 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15732 $as_echo_n "(cached) " >&6
15733 else
15734 ac_check_soname_save_LIBS=$LIBS
15735 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15737 /* end confdefs.h. */
15739 /* Override any GCC internal prototype to avoid an error.
15740 Use char because int might match the return type of a GCC
15741 builtin and then its argument prototype would still apply. */
15742 #ifdef __cplusplus
15743 extern "C"
15744 #endif
15745 char gss_init_sec_context ();
15747 main ()
15749 return gss_init_sec_context ();
15751 return 0;
15753 _ACEOF
15754 if ac_fn_c_try_link "$LINENO"; then :
15755 case "$LIBEXT" in
15756 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15757 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'` ;;
15758 *) 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'`
15759 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15760 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15761 fi ;;
15762 esac
15763 else
15764 ac_cv_lib_soname_gssapi_krb5=
15766 rm -f core conftest.err conftest.$ac_objext \
15767 conftest$ac_exeext conftest.$ac_ext
15768 LIBS=$ac_check_soname_save_LIBS
15770 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15772 $as_echo "not found" >&6; }
15773 GSSAPI_CFLAGS=""
15774 else
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15776 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15778 cat >>confdefs.h <<_ACEOF
15779 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15780 _ACEOF
15784 else
15785 GSSAPI_CFLAGS=""
15787 CPPFLAGS=$ac_save_CPPFLAGS
15790 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15791 case "x$with_gssapi" in
15792 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15793 xno) ;;
15794 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15795 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15796 esac
15800 if test "x$with_jpeg" != "xno"
15801 then
15802 if ${JPEG_CFLAGS:+false} :; then :
15803 if ${PKG_CONFIG+:} false; then :
15804 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15808 if ${JPEG_LIBS:+false} :; then :
15809 if ${PKG_CONFIG+:} false; then :
15810 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15815 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15816 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15817 ac_save_CPPFLAGS=$CPPFLAGS
15818 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15819 for ac_header in jpeglib.h
15820 do :
15821 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15822 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15823 cat >>confdefs.h <<_ACEOF
15824 #define HAVE_JPEGLIB_H 1
15825 _ACEOF
15829 done
15831 if test "$ac_cv_header_jpeglib_h" = "yes"
15832 then
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15834 $as_echo_n "checking for -ljpeg... " >&6; }
15835 if ${ac_cv_lib_soname_jpeg+:} false; then :
15836 $as_echo_n "(cached) " >&6
15837 else
15838 ac_check_soname_save_LIBS=$LIBS
15839 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15841 /* end confdefs.h. */
15843 /* Override any GCC internal prototype to avoid an error.
15844 Use char because int might match the return type of a GCC
15845 builtin and then its argument prototype would still apply. */
15846 #ifdef __cplusplus
15847 extern "C"
15848 #endif
15849 char jpeg_start_decompress ();
15851 main ()
15853 return jpeg_start_decompress ();
15855 return 0;
15857 _ACEOF
15858 if ac_fn_c_try_link "$LINENO"; then :
15859 case "$LIBEXT" in
15860 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15861 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'` ;;
15862 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15863 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15864 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15865 fi ;;
15866 esac
15867 else
15868 ac_cv_lib_soname_jpeg=
15870 rm -f core conftest.err conftest.$ac_objext \
15871 conftest$ac_exeext conftest.$ac_ext
15872 LIBS=$ac_check_soname_save_LIBS
15874 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15876 $as_echo "not found" >&6; }
15877 JPEG_CFLAGS=""
15878 else
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15880 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15882 cat >>confdefs.h <<_ACEOF
15883 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15884 _ACEOF
15888 else
15889 JPEG_CFLAGS=""
15891 CPPFLAGS=$ac_save_CPPFLAGS
15894 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15895 case "x$with_jpeg" in
15896 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15897 xno) ;;
15898 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15899 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15900 esac
15904 if test "x$with_png" != "xno"
15905 then
15906 if ${PNG_CFLAGS:+false} :; then :
15907 if ${PKG_CONFIG+:} false; then :
15908 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15911 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15912 if ${PNG_LIBS:+false} :; then :
15913 if ${PKG_CONFIG+:} false; then :
15914 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15917 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15919 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15920 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15921 ac_save_CPPFLAGS=$CPPFLAGS
15922 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15923 for ac_header in png.h
15924 do :
15925 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15926 if test "x$ac_cv_header_png_h" = xyes; then :
15927 cat >>confdefs.h <<_ACEOF
15928 #define HAVE_PNG_H 1
15929 _ACEOF
15933 done
15935 if test "$ac_cv_header_png_h" = "yes"
15936 then
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15938 $as_echo_n "checking for -lpng... " >&6; }
15939 if ${ac_cv_lib_soname_png+:} false; then :
15940 $as_echo_n "(cached) " >&6
15941 else
15942 ac_check_soname_save_LIBS=$LIBS
15943 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15945 /* end confdefs.h. */
15947 /* Override any GCC internal prototype to avoid an error.
15948 Use char because int might match the return type of a GCC
15949 builtin and then its argument prototype would still apply. */
15950 #ifdef __cplusplus
15951 extern "C"
15952 #endif
15953 char png_create_read_struct ();
15955 main ()
15957 return png_create_read_struct ();
15959 return 0;
15961 _ACEOF
15962 if ac_fn_c_try_link "$LINENO"; then :
15963 case "$LIBEXT" in
15964 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15965 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'` ;;
15966 *) 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'`
15967 if ${ac_cv_lib_soname_png:+false} :; then :
15968 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15969 fi ;;
15970 esac
15971 else
15972 ac_cv_lib_soname_png=
15974 rm -f core conftest.err conftest.$ac_objext \
15975 conftest$ac_exeext conftest.$ac_ext
15976 LIBS=$ac_check_soname_save_LIBS
15978 if ${ac_cv_lib_soname_png:+false} :; then :
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15980 $as_echo "not found" >&6; }
15981 PNG_CFLAGS=""
15982 else
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15984 $as_echo "$ac_cv_lib_soname_png" >&6; }
15986 cat >>confdefs.h <<_ACEOF
15987 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15988 _ACEOF
15992 else
15993 PNG_CFLAGS=""
15995 CPPFLAGS=$ac_save_CPPFLAGS
15998 if test "x$ac_cv_lib_soname_png" = "x"; then :
15999 case "x$with_png" in
16000 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16001 xno) ;;
16002 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16003 This is an error since --with-png was requested." "$LINENO" 5 ;;
16004 esac
16008 if test "x$with_tiff" != "xno"
16009 then
16010 if ${TIFF_CFLAGS:+false} :; then :
16011 if ${PKG_CONFIG+:} false; then :
16012 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16016 if ${TIFF_LIBS:+false} :; then :
16017 if ${PKG_CONFIG+:} false; then :
16018 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16023 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16024 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16025 ac_save_CPPFLAGS=$CPPFLAGS
16026 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16027 for ac_header in tiffio.h
16028 do :
16029 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16030 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16031 cat >>confdefs.h <<_ACEOF
16032 #define HAVE_TIFFIO_H 1
16033 _ACEOF
16037 done
16039 if test "$ac_cv_header_tiffio_h" = "yes"
16040 then
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16042 $as_echo_n "checking for -ltiff... " >&6; }
16043 if ${ac_cv_lib_soname_tiff+:} false; then :
16044 $as_echo_n "(cached) " >&6
16045 else
16046 ac_check_soname_save_LIBS=$LIBS
16047 LIBS="-ltiff $TIFF_LIBS $LIBS"
16048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16049 /* end confdefs.h. */
16051 /* Override any GCC internal prototype to avoid an error.
16052 Use char because int might match the return type of a GCC
16053 builtin and then its argument prototype would still apply. */
16054 #ifdef __cplusplus
16055 extern "C"
16056 #endif
16057 char TIFFClientOpen ();
16059 main ()
16061 return TIFFClientOpen ();
16063 return 0;
16065 _ACEOF
16066 if ac_fn_c_try_link "$LINENO"; then :
16067 case "$LIBEXT" in
16068 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16069 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'` ;;
16070 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16071 if ${ac_cv_lib_soname_tiff:+false} :; then :
16072 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16073 fi ;;
16074 esac
16075 else
16076 ac_cv_lib_soname_tiff=
16078 rm -f core conftest.err conftest.$ac_objext \
16079 conftest$ac_exeext conftest.$ac_ext
16080 LIBS=$ac_check_soname_save_LIBS
16082 if ${ac_cv_lib_soname_tiff:+false} :; then :
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16084 $as_echo "not found" >&6; }
16086 else
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16088 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16090 cat >>confdefs.h <<_ACEOF
16091 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16092 _ACEOF
16097 CPPFLAGS=$ac_save_CPPFLAGS
16100 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16101 case "x$with_tiff" in
16102 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16103 xno) ;;
16104 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16105 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16106 esac
16110 if test "x$with_mpg123" != "xno"
16111 then
16112 if ${MPG123_CFLAGS:+false} :; then :
16113 if ${PKG_CONFIG+:} false; then :
16114 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16118 if ${MPG123_LIBS:+false} :; then :
16119 if ${PKG_CONFIG+:} false; then :
16120 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16124 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16125 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16126 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16127 ac_save_CPPFLAGS=$CPPFLAGS
16128 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16129 for ac_header in mpg123.h
16130 do :
16131 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16132 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16133 cat >>confdefs.h <<_ACEOF
16134 #define HAVE_MPG123_H 1
16135 _ACEOF
16139 done
16141 if test "$ac_cv_header_mpg123_h" = "yes"
16142 then
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16144 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16145 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16146 $as_echo_n "(cached) " >&6
16147 else
16148 ac_check_lib_save_LIBS=$LIBS
16149 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16151 /* end confdefs.h. */
16153 /* Override any GCC internal prototype to avoid an error.
16154 Use char because int might match the return type of a GCC
16155 builtin and then its argument prototype would still apply. */
16156 #ifdef __cplusplus
16157 extern "C"
16158 #endif
16159 char mpg123_feed ();
16161 main ()
16163 return mpg123_feed ();
16165 return 0;
16167 _ACEOF
16168 if ac_fn_c_try_link "$LINENO"; then :
16169 ac_cv_lib_mpg123_mpg123_feed=yes
16170 else
16171 ac_cv_lib_mpg123_mpg123_feed=no
16173 rm -f core conftest.err conftest.$ac_objext \
16174 conftest$ac_exeext conftest.$ac_ext
16175 LIBS=$ac_check_lib_save_LIBS
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16178 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16179 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16181 else
16182 MPG123_LIBS=""
16185 else
16186 MPG123_CFLAGS=""
16187 MPG123_LIBS=""
16189 CPPFLAGS=$ac_save_CPPFLAGS
16192 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16193 case "x$with_mpg123" in
16194 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16195 xno) ;;
16196 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16197 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16198 esac
16199 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16201 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16203 if test "$ac_cv_header_AL_al_h" = "yes"
16204 then
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16206 $as_echo_n "checking for -lopenal... " >&6; }
16207 if ${ac_cv_lib_soname_openal+:} false; then :
16208 $as_echo_n "(cached) " >&6
16209 else
16210 ac_check_soname_save_LIBS=$LIBS
16211 LIBS="-lopenal $LIBS"
16212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16213 /* end confdefs.h. */
16215 /* Override any GCC internal prototype to avoid an error.
16216 Use char because int might match the return type of a GCC
16217 builtin and then its argument prototype would still apply. */
16218 #ifdef __cplusplus
16219 extern "C"
16220 #endif
16221 char alGetSource3i ();
16223 main ()
16225 return alGetSource3i ();
16227 return 0;
16229 _ACEOF
16230 if ac_fn_c_try_link "$LINENO"; then :
16231 case "$LIBEXT" in
16232 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16233 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'` ;;
16234 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16235 if ${ac_cv_lib_soname_openal:+false} :; then :
16236 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16237 fi ;;
16238 esac
16239 else
16240 ac_cv_lib_soname_openal=
16242 rm -f core conftest.err conftest.$ac_objext \
16243 conftest$ac_exeext conftest.$ac_ext
16244 LIBS=$ac_check_soname_save_LIBS
16246 if ${ac_cv_lib_soname_openal:+false} :; then :
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16248 $as_echo "not found" >&6; }
16250 else
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16252 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16254 cat >>confdefs.h <<_ACEOF
16255 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16256 _ACEOF
16258 OPENAL_LIBS="-lopenal"
16260 ac_cv_lib_openal=yes
16262 cat >>confdefs.h <<_ACEOF
16263 #define HAVE_OPENAL 1
16264 _ACEOF
16268 if test "x$ac_cv_lib_openal" != xyes; then :
16269 case "x$with_openal" in
16270 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16271 xno) ;;
16272 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16273 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16274 esac
16275 enable_openal32=${enable_openal32:-no}
16278 if test "x$ac_cv_lib_soname_FAudio" = "x"
16279 then
16280 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16281 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16282 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16283 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16284 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16285 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16286 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16287 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16288 enable_xactengine3_0=${enable_xactengine3_0:-no}
16289 enable_xactengine3_1=${enable_xactengine3_1:-no}
16290 enable_xactengine3_2=${enable_xactengine3_2:-no}
16291 enable_xactengine3_3=${enable_xactengine3_3:-no}
16292 enable_xactengine3_4=${enable_xactengine3_4:-no}
16293 enable_xactengine3_5=${enable_xactengine3_5:-no}
16294 enable_xactengine3_6=${enable_xactengine3_6:-no}
16295 enable_xactengine3_7=${enable_xactengine3_7:-no}
16296 enable_xapofx1_1=${enable_xapofx1_1:-no}
16297 enable_xapofx1_2=${enable_xapofx1_2:-no}
16298 enable_xapofx1_3=${enable_xapofx1_3:-no}
16299 enable_xapofx1_4=${enable_xapofx1_4:-no}
16300 enable_xapofx1_5=${enable_xapofx1_5:-no}
16301 enable_xaudio2_0=${enable_xaudio2_0:-no}
16302 enable_xaudio2_1=${enable_xaudio2_1:-no}
16303 enable_xaudio2_2=${enable_xaudio2_2:-no}
16304 enable_xaudio2_3=${enable_xaudio2_3:-no}
16305 enable_xaudio2_4=${enable_xaudio2_4:-no}
16306 enable_xaudio2_5=${enable_xaudio2_5:-no}
16307 enable_xaudio2_6=${enable_xaudio2_6:-no}
16308 enable_xaudio2_7=${enable_xaudio2_7:-no}
16309 enable_xaudio2_8=${enable_xaudio2_8:-no}
16310 enable_xaudio2_9=${enable_xaudio2_9:-no}
16313 if test "$ac_cv_header_kstat_h" = "yes"
16314 then
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16316 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16317 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16318 $as_echo_n "(cached) " >&6
16319 else
16320 ac_check_lib_save_LIBS=$LIBS
16321 LIBS="-lkstat $LIBS"
16322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16323 /* end confdefs.h. */
16325 /* Override any GCC internal prototype to avoid an error.
16326 Use char because int might match the return type of a GCC
16327 builtin and then its argument prototype would still apply. */
16328 #ifdef __cplusplus
16329 extern "C"
16330 #endif
16331 char kstat_open ();
16333 main ()
16335 return kstat_open ();
16337 return 0;
16339 _ACEOF
16340 if ac_fn_c_try_link "$LINENO"; then :
16341 ac_cv_lib_kstat_kstat_open=yes
16342 else
16343 ac_cv_lib_kstat_kstat_open=no
16345 rm -f core conftest.err conftest.$ac_objext \
16346 conftest$ac_exeext conftest.$ac_ext
16347 LIBS=$ac_check_lib_save_LIBS
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16350 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16351 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16353 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16355 KSTAT_LIBS="-lkstat"
16361 if test "$ac_cv_header_libprocstat_h" = "yes"
16362 then
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16364 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16365 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16366 $as_echo_n "(cached) " >&6
16367 else
16368 ac_check_lib_save_LIBS=$LIBS
16369 LIBS="-lprocstat $LIBS"
16370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16371 /* end confdefs.h. */
16373 /* Override any GCC internal prototype to avoid an error.
16374 Use char because int might match the return type of a GCC
16375 builtin and then its argument prototype would still apply. */
16376 #ifdef __cplusplus
16377 extern "C"
16378 #endif
16379 char procstat_open_sysctl ();
16381 main ()
16383 return procstat_open_sysctl ();
16385 return 0;
16387 _ACEOF
16388 if ac_fn_c_try_link "$LINENO"; then :
16389 ac_cv_lib_procstat_procstat_open_sysctl=yes
16390 else
16391 ac_cv_lib_procstat_procstat_open_sysctl=no
16393 rm -f core conftest.err conftest.$ac_objext \
16394 conftest$ac_exeext conftest.$ac_ext
16395 LIBS=$ac_check_lib_save_LIBS
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16398 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16399 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16401 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16403 PROCSTAT_LIBS="-lprocstat"
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16410 $as_echo_n "checking for -lodbc... " >&6; }
16411 if ${ac_cv_lib_soname_odbc+:} false; then :
16412 $as_echo_n "(cached) " >&6
16413 else
16414 ac_check_soname_save_LIBS=$LIBS
16415 LIBS="-lodbc $LIBS"
16416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16417 /* end confdefs.h. */
16419 /* Override any GCC internal prototype to avoid an error.
16420 Use char because int might match the return type of a GCC
16421 builtin and then its argument prototype would still apply. */
16422 #ifdef __cplusplus
16423 extern "C"
16424 #endif
16425 char SQLConnect ();
16427 main ()
16429 return SQLConnect ();
16431 return 0;
16433 _ACEOF
16434 if ac_fn_c_try_link "$LINENO"; then :
16435 case "$LIBEXT" in
16436 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16437 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'` ;;
16438 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16439 if ${ac_cv_lib_soname_odbc:+false} :; then :
16440 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16441 fi ;;
16442 esac
16443 else
16444 ac_cv_lib_soname_odbc=
16446 rm -f core conftest.err conftest.$ac_objext \
16447 conftest$ac_exeext conftest.$ac_ext
16448 LIBS=$ac_check_soname_save_LIBS
16450 if ${ac_cv_lib_soname_odbc:+false} :; then :
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16452 $as_echo "not found" >&6; }
16453 cat >>confdefs.h <<_ACEOF
16454 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16455 _ACEOF
16457 else
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16459 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16461 cat >>confdefs.h <<_ACEOF
16462 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16463 _ACEOF
16468 if test "x$with_netapi" != "xno"
16469 then
16470 if ${NETAPI_CFLAGS:+false} :; then :
16471 if ${PKG_CONFIG+:} false; then :
16472 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16476 if ${NETAPI_LIBS:+false} :; then :
16477 if ${PKG_CONFIG+:} false; then :
16478 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16483 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16484 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16485 ac_save_CPPFLAGS=$CPPFLAGS
16486 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16488 $as_echo_n "checking for -lnetapi... " >&6; }
16489 if ${ac_cv_lib_soname_netapi+:} false; then :
16490 $as_echo_n "(cached) " >&6
16491 else
16492 ac_check_soname_save_LIBS=$LIBS
16493 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16495 /* end confdefs.h. */
16497 /* Override any GCC internal prototype to avoid an error.
16498 Use char because int might match the return type of a GCC
16499 builtin and then its argument prototype would still apply. */
16500 #ifdef __cplusplus
16501 extern "C"
16502 #endif
16503 char libnetapi_init ();
16505 main ()
16507 return libnetapi_init ();
16509 return 0;
16511 _ACEOF
16512 if ac_fn_c_try_link "$LINENO"; then :
16513 case "$LIBEXT" in
16514 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16515 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'` ;;
16516 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16517 if ${ac_cv_lib_soname_netapi:+false} :; then :
16518 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16519 fi ;;
16520 esac
16521 else
16522 ac_cv_lib_soname_netapi=
16524 rm -f core conftest.err conftest.$ac_objext \
16525 conftest$ac_exeext conftest.$ac_ext
16526 LIBS=$ac_check_soname_save_LIBS
16528 if ${ac_cv_lib_soname_netapi:+false} :; then :
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16530 $as_echo "not found" >&6; }
16531 cat >>confdefs.h <<_ACEOF
16532 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16533 _ACEOF
16535 else
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16537 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16539 cat >>confdefs.h <<_ACEOF
16540 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16541 _ACEOF
16545 CPPFLAGS=$ac_save_CPPFLAGS
16549 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16550 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16551 then
16552 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16555 if test "x$with_vulkan" != "xno"
16556 then
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16558 $as_echo_n "checking for -lvulkan... " >&6; }
16559 if ${ac_cv_lib_soname_vulkan+:} false; then :
16560 $as_echo_n "(cached) " >&6
16561 else
16562 ac_check_soname_save_LIBS=$LIBS
16563 LIBS="-lvulkan $LIBS"
16564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h. */
16567 /* Override any GCC internal prototype to avoid an error.
16568 Use char because int might match the return type of a GCC
16569 builtin and then its argument prototype would still apply. */
16570 #ifdef __cplusplus
16571 extern "C"
16572 #endif
16573 char vkGetInstanceProcAddr ();
16575 main ()
16577 return vkGetInstanceProcAddr ();
16579 return 0;
16581 _ACEOF
16582 if ac_fn_c_try_link "$LINENO"; then :
16583 case "$LIBEXT" in
16584 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16585 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'` ;;
16586 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16587 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16588 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16589 fi ;;
16590 esac
16591 else
16592 ac_cv_lib_soname_vulkan=
16594 rm -f core conftest.err conftest.$ac_objext \
16595 conftest$ac_exeext conftest.$ac_ext
16596 LIBS=$ac_check_soname_save_LIBS
16598 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16600 $as_echo "not found" >&6; }
16602 else
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16604 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16606 cat >>confdefs.h <<_ACEOF
16607 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16608 _ACEOF
16612 if test "x$ac_cv_lib_soname_vulkan" = "x"
16613 then
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16615 $as_echo_n "checking for -lMoltenVK... " >&6; }
16616 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16617 $as_echo_n "(cached) " >&6
16618 else
16619 ac_check_soname_save_LIBS=$LIBS
16620 LIBS="-lMoltenVK $LIBS"
16621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16624 /* Override any GCC internal prototype to avoid an error.
16625 Use char because int might match the return type of a GCC
16626 builtin and then its argument prototype would still apply. */
16627 #ifdef __cplusplus
16628 extern "C"
16629 #endif
16630 char vkGetInstanceProcAddr ();
16632 main ()
16634 return vkGetInstanceProcAddr ();
16636 return 0;
16638 _ACEOF
16639 if ac_fn_c_try_link "$LINENO"; then :
16640 case "$LIBEXT" in
16641 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16642 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'` ;;
16643 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16644 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16645 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16646 fi ;;
16647 esac
16648 else
16649 ac_cv_lib_soname_MoltenVK=
16651 rm -f core conftest.err conftest.$ac_objext \
16652 conftest$ac_exeext conftest.$ac_ext
16653 LIBS=$ac_check_soname_save_LIBS
16655 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16657 $as_echo "not found" >&6; }
16659 else
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16661 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16663 cat >>confdefs.h <<_ACEOF
16664 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16665 _ACEOF
16671 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16672 case "x$with_vulkan" in
16673 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16674 xno) ;;
16675 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16676 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16677 esac
16681 if test "x$with_vkd3d" != "xno"
16682 then
16683 if ${VKD3D_CFLAGS:+false} :; then :
16684 if ${PKG_CONFIG+:} false; then :
16685 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16689 if ${VKD3D_LIBS:+false} :; then :
16690 if ${PKG_CONFIG+:} false; then :
16691 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16696 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16697 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16698 ac_save_CPPFLAGS=$CPPFLAGS
16699 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16701 $as_echo_n "checking for -lvkd3d... " >&6; }
16702 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16703 $as_echo_n "(cached) " >&6
16704 else
16705 ac_check_soname_save_LIBS=$LIBS
16706 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16710 /* Override any GCC internal prototype to avoid an error.
16711 Use char because int might match the return type of a GCC
16712 builtin and then its argument prototype would still apply. */
16713 #ifdef __cplusplus
16714 extern "C"
16715 #endif
16716 char vkd3d_get_dxgi_format ();
16718 main ()
16720 return vkd3d_get_dxgi_format ();
16722 return 0;
16724 _ACEOF
16725 if ac_fn_c_try_link "$LINENO"; then :
16726 case "$LIBEXT" in
16727 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16728 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'` ;;
16729 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16730 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16731 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16732 fi ;;
16733 esac
16734 else
16735 ac_cv_lib_soname_vkd3d=
16737 rm -f core conftest.err conftest.$ac_objext \
16738 conftest$ac_exeext conftest.$ac_ext
16739 LIBS=$ac_check_soname_save_LIBS
16741 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16743 $as_echo "not found" >&6; }
16745 else
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16747 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16749 cat >>confdefs.h <<_ACEOF
16750 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16751 _ACEOF
16755 CPPFLAGS=$ac_save_CPPFLAGS
16757 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16758 if ${PKG_CONFIG+:} false; then :
16759 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16763 if ${VKD3D_SHADER_LIBS:+false} :; then :
16764 if ${PKG_CONFIG+:} false; then :
16765 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16770 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16771 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16772 ac_save_CPPFLAGS=$CPPFLAGS
16773 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16775 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16776 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16777 $as_echo_n "(cached) " >&6
16778 else
16779 ac_check_soname_save_LIBS=$LIBS
16780 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16782 /* end confdefs.h. */
16784 /* Override any GCC internal prototype to avoid an error.
16785 Use char because int might match the return type of a GCC
16786 builtin and then its argument prototype would still apply. */
16787 #ifdef __cplusplus
16788 extern "C"
16789 #endif
16790 char vkd3d_shader_compile ();
16792 main ()
16794 return vkd3d_shader_compile ();
16796 return 0;
16798 _ACEOF
16799 if ac_fn_c_try_link "$LINENO"; then :
16800 case "$LIBEXT" in
16801 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16802 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'` ;;
16803 *) 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'`
16804 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16805 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16806 fi ;;
16807 esac
16808 else
16809 ac_cv_lib_soname_vkd3d_shader=
16811 rm -f core conftest.err conftest.$ac_objext \
16812 conftest$ac_exeext conftest.$ac_ext
16813 LIBS=$ac_check_soname_save_LIBS
16815 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16817 $as_echo "not found" >&6; }
16819 else
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16821 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16823 cat >>confdefs.h <<_ACEOF
16824 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16825 _ACEOF
16829 CPPFLAGS=$ac_save_CPPFLAGS
16832 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16833 case "x$with_vkd3d" in
16834 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16835 xno) ;;
16836 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16837 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16838 esac
16841 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16844 EXTRACFLAGS=""
16846 if test "x${GCC}" = "xyes"
16847 then
16848 EXTRACFLAGS="-Wall -pipe"
16850 saved_CFLAGS=$CFLAGS
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16852 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16853 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16854 $as_echo_n "(cached) " >&6
16855 else
16856 ac_wine_try_cflags_saved=$CFLAGS
16857 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16859 /* end confdefs.h. */
16860 int main(int argc, char **argv) { return 0; }
16861 _ACEOF
16862 if ac_fn_c_try_link "$LINENO"; then :
16863 ac_cv_cflags__Werror_unknown_warning_option=yes
16864 else
16865 ac_cv_cflags__Werror_unknown_warning_option=no
16867 rm -f core conftest.err conftest.$ac_objext \
16868 conftest$ac_exeext conftest.$ac_ext
16869 CFLAGS=$ac_wine_try_cflags_saved
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16872 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16873 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16874 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16877 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16878 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16879 $as_echo_n "(cached) " >&6
16880 else
16881 ac_wine_try_cflags_saved=$CFLAGS
16882 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16884 /* end confdefs.h. */
16885 int main(int argc, char **argv) { return 0; }
16886 _ACEOF
16887 if ac_fn_c_try_link "$LINENO"; then :
16888 ac_cv_cflags__Werror_unused_command_line_argument=yes
16889 else
16890 ac_cv_cflags__Werror_unused_command_line_argument=no
16892 rm -f core conftest.err conftest.$ac_objext \
16893 conftest$ac_exeext conftest.$ac_ext
16894 CFLAGS=$ac_wine_try_cflags_saved
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16897 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16898 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16899 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16902 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16903 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16904 $as_echo_n "(cached) " >&6
16905 else
16906 ac_wine_try_cflags_saved=$CFLAGS
16907 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16909 /* end confdefs.h. */
16910 int main(int argc, char **argv) { return 0; }
16911 _ACEOF
16912 if ac_fn_c_try_link "$LINENO"; then :
16913 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16914 else
16915 ac_cv_cflags__Werror_ignored_optimization_argument=no
16917 rm -f core conftest.err conftest.$ac_objext \
16918 conftest$ac_exeext conftest.$ac_ext
16919 CFLAGS=$ac_wine_try_cflags_saved
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16922 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16923 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16924 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16927 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16928 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16929 $as_echo_n "(cached) " >&6
16930 else
16931 ac_wine_try_cflags_saved=$CFLAGS
16932 CFLAGS="$CFLAGS -fcf-protection=none"
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935 int main(int argc, char **argv) { return 0; }
16936 _ACEOF
16937 if ac_fn_c_try_link "$LINENO"; then :
16938 ac_cv_cflags__fcf_protection_none=yes
16939 else
16940 ac_cv_cflags__fcf_protection_none=no
16942 rm -f core conftest.err conftest.$ac_objext \
16943 conftest$ac_exeext conftest.$ac_ext
16944 CFLAGS=$ac_wine_try_cflags_saved
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16947 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16948 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16949 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16952 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16953 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16954 $as_echo_n "(cached) " >&6
16955 else
16956 ac_wine_try_cflags_saved=$CFLAGS
16957 CFLAGS="$CFLAGS -fno-stack-protector"
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16960 int main(int argc, char **argv) { return 0; }
16961 _ACEOF
16962 if ac_fn_c_try_link "$LINENO"; then :
16963 ac_cv_cflags__fno_stack_protector=yes
16964 else
16965 ac_cv_cflags__fno_stack_protector=no
16967 rm -f core conftest.err conftest.$ac_objext \
16968 conftest$ac_exeext conftest.$ac_ext
16969 CFLAGS=$ac_wine_try_cflags_saved
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16972 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16973 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16974 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16977 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16978 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16979 $as_echo_n "(cached) " >&6
16980 else
16981 ac_wine_try_cflags_saved=$CFLAGS
16982 CFLAGS="$CFLAGS -fno-strict-aliasing"
16983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 int main(int argc, char **argv) { return 0; }
16986 _ACEOF
16987 if ac_fn_c_try_link "$LINENO"; then :
16988 ac_cv_cflags__fno_strict_aliasing=yes
16989 else
16990 ac_cv_cflags__fno_strict_aliasing=no
16992 rm -f core conftest.err conftest.$ac_objext \
16993 conftest$ac_exeext conftest.$ac_ext
16994 CFLAGS=$ac_wine_try_cflags_saved
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16997 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16998 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16999 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17002 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17003 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17004 $as_echo_n "(cached) " >&6
17005 else
17006 ac_wine_try_cflags_saved=$CFLAGS
17007 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 int main(int argc, char **argv) { return 0; }
17011 _ACEOF
17012 if ac_fn_c_try_link "$LINENO"; then :
17013 ac_cv_cflags__Wdeclaration_after_statement=yes
17014 else
17015 ac_cv_cflags__Wdeclaration_after_statement=no
17017 rm -f core conftest.err conftest.$ac_objext \
17018 conftest$ac_exeext conftest.$ac_ext
17019 CFLAGS=$ac_wine_try_cflags_saved
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17022 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17023 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17024 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17027 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17028 if ${ac_cv_cflags__Wempty_body+:} false; then :
17029 $as_echo_n "(cached) " >&6
17030 else
17031 ac_wine_try_cflags_saved=$CFLAGS
17032 CFLAGS="$CFLAGS -Wempty-body"
17033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17035 int main(int argc, char **argv) { return 0; }
17036 _ACEOF
17037 if ac_fn_c_try_link "$LINENO"; then :
17038 ac_cv_cflags__Wempty_body=yes
17039 else
17040 ac_cv_cflags__Wempty_body=no
17042 rm -f core conftest.err conftest.$ac_objext \
17043 conftest$ac_exeext conftest.$ac_ext
17044 CFLAGS=$ac_wine_try_cflags_saved
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17047 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17048 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17049 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17052 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17053 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17054 $as_echo_n "(cached) " >&6
17055 else
17056 ac_wine_try_cflags_saved=$CFLAGS
17057 CFLAGS="$CFLAGS -Wignored-qualifiers"
17058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17059 /* end confdefs.h. */
17060 int main(int argc, char **argv) { return 0; }
17061 _ACEOF
17062 if ac_fn_c_try_link "$LINENO"; then :
17063 ac_cv_cflags__Wignored_qualifiers=yes
17064 else
17065 ac_cv_cflags__Wignored_qualifiers=no
17067 rm -f core conftest.err conftest.$ac_objext \
17068 conftest$ac_exeext conftest.$ac_ext
17069 CFLAGS=$ac_wine_try_cflags_saved
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17072 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17073 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17074 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17077 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17078 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17079 $as_echo_n "(cached) " >&6
17080 else
17081 ac_wine_try_cflags_saved=$CFLAGS
17082 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 int main(int argc, char **argv) { return 0; }
17086 _ACEOF
17087 if ac_fn_c_try_link "$LINENO"; then :
17088 ac_cv_cflags__Wpacked_not_aligned=yes
17089 else
17090 ac_cv_cflags__Wpacked_not_aligned=no
17092 rm -f core conftest.err conftest.$ac_objext \
17093 conftest$ac_exeext conftest.$ac_ext
17094 CFLAGS=$ac_wine_try_cflags_saved
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17097 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17098 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17099 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17102 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17103 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17104 $as_echo_n "(cached) " >&6
17105 else
17106 ac_wine_try_cflags_saved=$CFLAGS
17107 CFLAGS="$CFLAGS -Wpragma-pack"
17108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17110 int main(int argc, char **argv) { return 0; }
17111 _ACEOF
17112 if ac_fn_c_try_link "$LINENO"; then :
17113 ac_cv_cflags__Wpragma_pack=yes
17114 else
17115 ac_cv_cflags__Wpragma_pack=no
17117 rm -f core conftest.err conftest.$ac_objext \
17118 conftest$ac_exeext conftest.$ac_ext
17119 CFLAGS=$ac_wine_try_cflags_saved
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17122 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17123 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17124 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17127 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17128 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17129 $as_echo_n "(cached) " >&6
17130 else
17131 ac_wine_try_cflags_saved=$CFLAGS
17132 CFLAGS="$CFLAGS -Wshift-overflow=2"
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 int main(int argc, char **argv) { return 0; }
17136 _ACEOF
17137 if ac_fn_c_try_link "$LINENO"; then :
17138 ac_cv_cflags__Wshift_overflow_2=yes
17139 else
17140 ac_cv_cflags__Wshift_overflow_2=no
17142 rm -f core conftest.err conftest.$ac_objext \
17143 conftest$ac_exeext conftest.$ac_ext
17144 CFLAGS=$ac_wine_try_cflags_saved
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17147 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17148 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17149 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17152 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17153 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17154 $as_echo_n "(cached) " >&6
17155 else
17156 ac_wine_try_cflags_saved=$CFLAGS
17157 CFLAGS="$CFLAGS -Wstrict-prototypes"
17158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17159 /* end confdefs.h. */
17160 int main(int argc, char **argv) { return 0; }
17161 _ACEOF
17162 if ac_fn_c_try_link "$LINENO"; then :
17163 ac_cv_cflags__Wstrict_prototypes=yes
17164 else
17165 ac_cv_cflags__Wstrict_prototypes=no
17167 rm -f core conftest.err conftest.$ac_objext \
17168 conftest$ac_exeext conftest.$ac_ext
17169 CFLAGS=$ac_wine_try_cflags_saved
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17172 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17173 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17174 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17177 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17178 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17179 $as_echo_n "(cached) " >&6
17180 else
17181 ac_wine_try_cflags_saved=$CFLAGS
17182 CFLAGS="$CFLAGS -Wtype-limits"
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17185 int main(int argc, char **argv) { return 0; }
17186 _ACEOF
17187 if ac_fn_c_try_link "$LINENO"; then :
17188 ac_cv_cflags__Wtype_limits=yes
17189 else
17190 ac_cv_cflags__Wtype_limits=no
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17194 CFLAGS=$ac_wine_try_cflags_saved
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17197 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17198 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17199 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17202 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17203 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17204 $as_echo_n "(cached) " >&6
17205 else
17206 ac_wine_try_cflags_saved=$CFLAGS
17207 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17210 int main(int argc, char **argv) { return 0; }
17211 _ACEOF
17212 if ac_fn_c_try_link "$LINENO"; then :
17213 ac_cv_cflags__Wunused_but_set_parameter=yes
17214 else
17215 ac_cv_cflags__Wunused_but_set_parameter=no
17217 rm -f core conftest.err conftest.$ac_objext \
17218 conftest$ac_exeext conftest.$ac_ext
17219 CFLAGS=$ac_wine_try_cflags_saved
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17222 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17223 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17224 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17227 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17228 if ${ac_cv_cflags__Wvla+:} false; then :
17229 $as_echo_n "(cached) " >&6
17230 else
17231 ac_wine_try_cflags_saved=$CFLAGS
17232 CFLAGS="$CFLAGS -Wvla"
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 int main(int argc, char **argv) { return 0; }
17236 _ACEOF
17237 if ac_fn_c_try_link "$LINENO"; then :
17238 ac_cv_cflags__Wvla=yes
17239 else
17240 ac_cv_cflags__Wvla=no
17242 rm -f core conftest.err conftest.$ac_objext \
17243 conftest$ac_exeext conftest.$ac_ext
17244 CFLAGS=$ac_wine_try_cflags_saved
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17247 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17248 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17249 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17252 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17253 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256 ac_wine_try_cflags_saved=$CFLAGS
17257 CFLAGS="$CFLAGS -Wwrite-strings"
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17260 int main(int argc, char **argv) { return 0; }
17261 _ACEOF
17262 if ac_fn_c_try_link "$LINENO"; then :
17263 ac_cv_cflags__Wwrite_strings=yes
17264 else
17265 ac_cv_cflags__Wwrite_strings=no
17267 rm -f core conftest.err conftest.$ac_objext \
17268 conftest$ac_exeext conftest.$ac_ext
17269 CFLAGS=$ac_wine_try_cflags_saved
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17272 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17273 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17274 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17277 if test -z "$CROSSTARGET"
17278 then
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17280 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17281 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17282 $as_echo_n "(cached) " >&6
17283 else
17284 ac_wine_try_cflags_saved=$CFLAGS
17285 CFLAGS="$CFLAGS -fexcess-precision=standard"
17286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17287 /* end confdefs.h. */
17288 int main(int argc, char **argv) { return 0; }
17289 _ACEOF
17290 if ac_fn_c_try_link "$LINENO"; then :
17291 ac_cv_cflags__fexcess_precision_standard=yes
17292 else
17293 ac_cv_cflags__fexcess_precision_standard=no
17295 rm -f core conftest.err conftest.$ac_objext \
17296 conftest$ac_exeext conftest.$ac_ext
17297 CFLAGS=$ac_wine_try_cflags_saved
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17300 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17301 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17302 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17308 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17309 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17310 $as_echo_n "(cached) " >&6
17311 else
17312 ac_wine_try_cflags_saved=$CFLAGS
17313 CFLAGS="$CFLAGS -Wpointer-arith"
17314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17315 /* end confdefs.h. */
17316 int main(int argc, char **argv) { return 0; }
17317 _ACEOF
17318 if ac_fn_c_try_link "$LINENO"; then :
17319 ac_cv_cflags__Wpointer_arith=yes
17320 else
17321 ac_cv_cflags__Wpointer_arith=no
17323 rm -f core conftest.err conftest.$ac_objext \
17324 conftest$ac_exeext conftest.$ac_ext
17325 CFLAGS=$ac_wine_try_cflags_saved
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17328 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17329 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17330 saved_string_h_CFLAGS=$CFLAGS
17331 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17333 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17334 if ${ac_cv_c_string_h_warnings+:} false; then :
17335 $as_echo_n "(cached) " >&6
17336 else
17337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17338 /* end confdefs.h. */
17339 #include <string.h>
17341 main ()
17345 return 0;
17347 _ACEOF
17348 if ac_fn_c_try_compile "$LINENO"; then :
17349 ac_cv_c_string_h_warnings=no
17350 else
17351 ac_cv_c_string_h_warnings=yes
17353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17356 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17357 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17358 CFLAGS=$saved_string_h_CFLAGS
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17362 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17363 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17364 $as_echo_n "(cached) " >&6
17365 else
17366 ac_wine_try_cflags_saved=$CFLAGS
17367 CFLAGS="$CFLAGS -Wlogical-op"
17368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17369 /* end confdefs.h. */
17370 int main(int argc, char **argv) { return 0; }
17371 _ACEOF
17372 if ac_fn_c_try_link "$LINENO"; then :
17373 ac_cv_cflags__Wlogical_op=yes
17374 else
17375 ac_cv_cflags__Wlogical_op=no
17377 rm -f core conftest.err conftest.$ac_objext \
17378 conftest$ac_exeext conftest.$ac_ext
17379 CFLAGS=$ac_wine_try_cflags_saved
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17382 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17383 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17384 saved_string_h_CFLAGS=$CFLAGS
17385 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17387 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17388 if ${ac_cv_c_logicalop_noisy+:} false; then :
17389 $as_echo_n "(cached) " >&6
17390 else
17391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17392 /* end confdefs.h. */
17393 #include <string.h>
17394 char*f(const char *h,char n) {return strchr(h,n);}
17396 main ()
17400 return 0;
17402 _ACEOF
17403 if ac_fn_c_try_compile "$LINENO"; then :
17404 ac_cv_c_logicalop_noisy=no
17405 else
17406 ac_cv_c_logicalop_noisy=yes
17408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17411 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17412 CFLAGS=$saved_string_h_CFLAGS
17413 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17417 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17418 if ${wine_cv_64bit_compare_swap+:} false; then :
17419 $as_echo_n "(cached) " >&6
17420 else
17421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17422 /* end confdefs.h. */
17423 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17424 #error no
17425 #endif
17427 main ()
17431 return 0;
17433 _ACEOF
17434 if ac_fn_c_try_compile "$LINENO"; then :
17435 wine_cv_64bit_compare_swap="none needed"
17436 else
17437 case $host_cpu in
17438 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17439 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17440 *) wine_cv_64bit_compare_swap="unknown" ;;
17441 esac
17442 if test "x$wine_cv_64bit_compare_swap" != xunknown
17443 then
17444 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17447 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17448 #error no
17449 #endif
17451 main ()
17455 return 0;
17457 _ACEOF
17458 if ac_fn_c_try_compile "$LINENO"; then :
17460 else
17461 wine_cv_64bit_compare_swap="unknown"
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17464 CFLAGS=$saved_CFLAGS
17467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17470 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17471 case "$wine_cv_64bit_compare_swap" in
17472 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17473 "none needed") ;;
17474 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17475 esac
17477 for ac_flag in $CFLAGS; do
17478 case $ac_flag in
17479 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17480 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17481 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17482 $as_echo_n "(cached) " >&6
17483 else
17484 ac_wine_try_cflags_saved=$CFLAGS
17485 CFLAGS="$CFLAGS -gdwarf-2"
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17488 int main(int argc, char **argv) { return 0; }
17489 _ACEOF
17490 if ac_fn_c_try_link "$LINENO"; then :
17491 ac_cv_cflags__gdwarf_2=yes
17492 else
17493 ac_cv_cflags__gdwarf_2=no
17495 rm -f core conftest.err conftest.$ac_objext \
17496 conftest$ac_exeext conftest.$ac_ext
17497 CFLAGS=$ac_wine_try_cflags_saved
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17500 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17501 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17502 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17505 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17506 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17507 $as_echo_n "(cached) " >&6
17508 else
17509 ac_wine_try_cflags_saved=$CFLAGS
17510 CFLAGS="$CFLAGS -gstrict-dwarf"
17511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17512 /* end confdefs.h. */
17513 int main(int argc, char **argv) { return 0; }
17514 _ACEOF
17515 if ac_fn_c_try_link "$LINENO"; then :
17516 ac_cv_cflags__gstrict_dwarf=yes
17517 else
17518 ac_cv_cflags__gstrict_dwarf=no
17520 rm -f core conftest.err conftest.$ac_objext \
17521 conftest$ac_exeext conftest.$ac_ext
17522 CFLAGS=$ac_wine_try_cflags_saved
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17525 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17526 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17527 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17528 fi ;;
17529 esac
17530 done
17532 MSVCRTFLAGS=""
17534 case $host_os in
17535 mingw32*) ;;
17536 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17537 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17538 if ${ac_cv_cflags__fno_builtin+:} false; then :
17539 $as_echo_n "(cached) " >&6
17540 else
17541 ac_wine_try_cflags_saved=$CFLAGS
17542 CFLAGS="$CFLAGS -fno-builtin"
17543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17544 /* end confdefs.h. */
17545 int main(int argc, char **argv) { return 0; }
17546 _ACEOF
17547 if ac_fn_c_try_link "$LINENO"; then :
17548 ac_cv_cflags__fno_builtin=yes
17549 else
17550 ac_cv_cflags__fno_builtin=no
17552 rm -f core conftest.err conftest.$ac_objext \
17553 conftest$ac_exeext conftest.$ac_ext
17554 CFLAGS=$ac_wine_try_cflags_saved
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17557 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17558 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17559 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17562 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17563 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17564 $as_echo_n "(cached) " >&6
17565 else
17566 ac_wine_try_cflags_saved=$CFLAGS
17567 CFLAGS="$CFLAGS -fshort-wchar"
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17570 int main(int argc, char **argv) { return 0; }
17571 _ACEOF
17572 if ac_fn_c_try_link "$LINENO"; then :
17573 ac_cv_cflags__fshort_wchar=yes
17574 else
17575 ac_cv_cflags__fshort_wchar=no
17577 rm -f core conftest.err conftest.$ac_objext \
17578 conftest$ac_exeext conftest.$ac_ext
17579 CFLAGS=$ac_wine_try_cflags_saved
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17582 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17583 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17584 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17585 fi ;;
17586 esac
17588 case $host_cpu in
17589 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17590 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17591 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17594 ac_wine_try_cflags_saved=$CFLAGS
17595 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17598 int main(int argc, char **argv) { return 0; }
17599 _ACEOF
17600 if ac_fn_c_try_link "$LINENO"; then :
17601 ac_cv_cflags__fno_omit_frame_pointer=yes
17602 else
17603 ac_cv_cflags__fno_omit_frame_pointer=no
17605 rm -f core conftest.err conftest.$ac_objext \
17606 conftest$ac_exeext conftest.$ac_ext
17607 CFLAGS=$ac_wine_try_cflags_saved
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17610 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17611 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17612 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17613 fi ;;
17614 *x86_64*)
17615 case $host_os in
17616 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17617 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17618 if ${ac_cv_cflags__Wno_format+:} false; then :
17619 $as_echo_n "(cached) " >&6
17620 else
17621 ac_wine_try_cflags_saved=$CFLAGS
17622 CFLAGS="$CFLAGS -Wno-format"
17623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h. */
17625 int main(int argc, char **argv) { return 0; }
17626 _ACEOF
17627 if ac_fn_c_try_link "$LINENO"; then :
17628 ac_cv_cflags__Wno_format=yes
17629 else
17630 ac_cv_cflags__Wno_format=no
17632 rm -f core conftest.err conftest.$ac_objext \
17633 conftest$ac_exeext conftest.$ac_ext
17634 CFLAGS=$ac_wine_try_cflags_saved
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17637 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17638 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17639 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17640 fi ;;
17641 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17642 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17643 if ${ac_cv_cflags__mabi_ms+:} false; then :
17644 $as_echo_n "(cached) " >&6
17645 else
17646 ac_wine_try_cflags_saved=$CFLAGS
17647 CFLAGS="$CFLAGS -mabi=ms"
17648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17649 /* end confdefs.h. */
17650 int main(int argc, char **argv) { return 0; }
17651 _ACEOF
17652 if ac_fn_c_try_link "$LINENO"; then :
17653 ac_cv_cflags__mabi_ms=yes
17654 else
17655 ac_cv_cflags__mabi_ms=no
17657 rm -f core conftest.err conftest.$ac_objext \
17658 conftest$ac_exeext conftest.$ac_ext
17659 CFLAGS=$ac_wine_try_cflags_saved
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17662 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17663 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17664 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17665 fi ;;
17666 esac ;;
17667 esac
17669 CFLAGS=$saved_CFLAGS
17671 if test "x$enable_werror" = "xyes"
17672 then
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17674 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17675 if ${ac_cv_cflags__Werror+:} false; then :
17676 $as_echo_n "(cached) " >&6
17677 else
17678 ac_wine_try_cflags_saved=$CFLAGS
17679 CFLAGS="$CFLAGS -Werror"
17680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17681 /* end confdefs.h. */
17682 int main(int argc, char **argv) { return 0; }
17683 _ACEOF
17684 if ac_fn_c_try_link "$LINENO"; then :
17685 ac_cv_cflags__Werror=yes
17686 else
17687 ac_cv_cflags__Werror=no
17689 rm -f core conftest.err conftest.$ac_objext \
17690 conftest$ac_exeext conftest.$ac_ext
17691 CFLAGS=$ac_wine_try_cflags_saved
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17694 $as_echo "$ac_cv_cflags__Werror" >&6; }
17695 if test "x$ac_cv_cflags__Werror" = xyes; then :
17696 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17703 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17704 if ${ac_cv_c_fortify_enabled+:} false; then :
17705 $as_echo_n "(cached) " >&6
17706 else
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17709 #include <string.h>
17711 main ()
17713 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17714 #error Fortify enabled
17715 #endif
17717 return 0;
17719 _ACEOF
17720 if ac_fn_c_try_compile "$LINENO"; then :
17721 ac_cv_c_fortify_enabled=no
17722 else
17723 ac_cv_c_fortify_enabled=yes
17725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17728 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17729 if test "$ac_cv_c_fortify_enabled" = yes
17730 then
17731 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17736 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17737 if ${ac_cv_c_cfi_support+:} false; then :
17738 $as_echo_n "(cached) " >&6
17739 else
17740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17741 /* end confdefs.h. */
17742 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17744 main ()
17748 return 0;
17750 _ACEOF
17751 if ac_fn_c_try_compile "$LINENO"; then :
17752 ac_cv_c_cfi_support="yes"
17753 else
17754 ac_cv_c_cfi_support="no"
17756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17759 $as_echo "$ac_cv_c_cfi_support" >&6; }
17760 if test "$ac_cv_c_cfi_support" = "yes"
17761 then
17762 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17763 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17764 else
17765 if test "x$enable_win64" = "xyes"
17766 then
17767 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17772 case $build_os in
17773 cygwin*|mingw32*) TOOLSEXT=".exe"
17775 esac
17777 case $host_os in
17778 linux*)
17779 case $host_cpu in
17780 *i[3456789]86*|x86_64*|*aarch64*)
17781 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17782 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17784 esac
17786 esac
17789 ac_save_CFLAGS="$CFLAGS"
17790 CFLAGS="$CFLAGS $BUILTINFLAG"
17791 for ac_func in \
17792 __res_get_state \
17793 __res_getservers \
17794 _spawnvp \
17795 epoll_create \
17796 ffs \
17797 finite \
17798 finitef \
17799 fnmatch \
17800 fork \
17801 fpclass \
17802 fstatfs \
17803 fstatvfs \
17804 futimens \
17805 futimes \
17806 futimesat \
17807 getattrlist \
17808 getauxval \
17809 getifaddrs \
17810 getopt_long_only \
17811 getrandom \
17812 kqueue \
17813 lstat \
17814 mach_continuous_time \
17815 pipe2 \
17816 poll \
17817 port_create \
17818 prctl \
17819 pread \
17820 proc_pidinfo \
17821 pwrite \
17822 readdir \
17823 readlink \
17824 sched_yield \
17825 select \
17826 setproctitle \
17827 setprogname \
17828 settimeofday \
17829 sigprocmask \
17830 statfs \
17831 statvfs \
17832 strnlen \
17833 strtold \
17834 symlink \
17835 sysinfo \
17836 tcdrain \
17837 thr_kill2 \
17838 usleep
17840 do :
17841 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17842 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17843 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17844 cat >>confdefs.h <<_ACEOF
17845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17846 _ACEOF
17849 done
17851 CFLAGS="$ac_save_CFLAGS"
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17854 $as_echo_n "checking for library containing dlopen... " >&6; }
17855 if ${ac_cv_search_dlopen+:} false; then :
17856 $as_echo_n "(cached) " >&6
17857 else
17858 ac_func_search_save_LIBS=$LIBS
17859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17860 /* end confdefs.h. */
17862 /* Override any GCC internal prototype to avoid an error.
17863 Use char because int might match the return type of a GCC
17864 builtin and then its argument prototype would still apply. */
17865 #ifdef __cplusplus
17866 extern "C"
17867 #endif
17868 char dlopen ();
17870 main ()
17872 return dlopen ();
17874 return 0;
17876 _ACEOF
17877 for ac_lib in '' dl; do
17878 if test -z "$ac_lib"; then
17879 ac_res="none required"
17880 else
17881 ac_res=-l$ac_lib
17882 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17884 if ac_fn_c_try_link "$LINENO"; then :
17885 ac_cv_search_dlopen=$ac_res
17887 rm -f core conftest.err conftest.$ac_objext \
17888 conftest$ac_exeext
17889 if ${ac_cv_search_dlopen+:} false; then :
17890 break
17892 done
17893 if ${ac_cv_search_dlopen+:} false; then :
17895 else
17896 ac_cv_search_dlopen=no
17898 rm conftest.$ac_ext
17899 LIBS=$ac_func_search_save_LIBS
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17902 $as_echo "$ac_cv_search_dlopen" >&6; }
17903 ac_res=$ac_cv_search_dlopen
17904 if test "$ac_res" != no; then :
17905 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17909 ac_wine_check_funcs_save_LIBS="$LIBS"
17910 LIBS="$LIBS $DL_LIBS"
17911 for ac_func in dladdr dlinfo
17912 do :
17913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17915 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17916 cat >>confdefs.h <<_ACEOF
17917 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17918 _ACEOF
17921 done
17923 LIBS="$ac_wine_check_funcs_save_LIBS"
17925 if test "$ac_cv_func_poll" = no
17926 then
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17928 $as_echo_n "checking for poll in -lpoll... " >&6; }
17929 if ${ac_cv_lib_poll_poll+:} false; then :
17930 $as_echo_n "(cached) " >&6
17931 else
17932 ac_check_lib_save_LIBS=$LIBS
17933 LIBS="-lpoll $LIBS"
17934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17935 /* end confdefs.h. */
17937 /* Override any GCC internal prototype to avoid an error.
17938 Use char because int might match the return type of a GCC
17939 builtin and then its argument prototype would still apply. */
17940 #ifdef __cplusplus
17941 extern "C"
17942 #endif
17943 char poll ();
17945 main ()
17947 return poll ();
17949 return 0;
17951 _ACEOF
17952 if ac_fn_c_try_link "$LINENO"; then :
17953 ac_cv_lib_poll_poll=yes
17954 else
17955 ac_cv_lib_poll_poll=no
17957 rm -f core conftest.err conftest.$ac_objext \
17958 conftest$ac_exeext conftest.$ac_ext
17959 LIBS=$ac_check_lib_save_LIBS
17961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17962 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17963 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17964 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17965 POLL_LIBS="-lpoll"
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17972 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17973 if ${ac_cv_search_gethostbyname+:} 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 gethostbyname ();
17988 main ()
17990 return gethostbyname ();
17992 return 0;
17994 _ACEOF
17995 for ac_lib in '' nsl; 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_gethostbyname=$ac_res
18005 rm -f core conftest.err conftest.$ac_objext \
18006 conftest$ac_exeext
18007 if ${ac_cv_search_gethostbyname+:} false; then :
18008 break
18010 done
18011 if ${ac_cv_search_gethostbyname+:} false; then :
18013 else
18014 ac_cv_search_gethostbyname=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_gethostbyname" >&5
18020 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18021 ac_res=$ac_cv_search_gethostbyname
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 connect" >&5
18029 $as_echo_n "checking for library containing connect... " >&6; }
18030 if ${ac_cv_search_connect+:} 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 connect ();
18045 main ()
18047 return connect ();
18049 return 0;
18051 _ACEOF
18052 for ac_lib in '' socket; 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_connect=$ac_res
18062 rm -f core conftest.err conftest.$ac_objext \
18063 conftest$ac_exeext
18064 if ${ac_cv_search_connect+:} false; then :
18065 break
18067 done
18068 if ${ac_cv_search_connect+:} false; then :
18070 else
18071 ac_cv_search_connect=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_connect" >&5
18077 $as_echo "$ac_cv_search_connect" >&6; }
18078 ac_res=$ac_cv_search_connect
18079 if test "$ac_res" != no; then :
18080 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18086 $as_echo_n "checking for library containing inet_aton... " >&6; }
18087 if ${ac_cv_search_inet_aton+:} false; then :
18088 $as_echo_n "(cached) " >&6
18089 else
18090 ac_func_search_save_LIBS=$LIBS
18091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18092 /* end confdefs.h. */
18094 /* Override any GCC internal prototype to avoid an error.
18095 Use char because int might match the return type of a GCC
18096 builtin and then its argument prototype would still apply. */
18097 #ifdef __cplusplus
18098 extern "C"
18099 #endif
18100 char inet_aton ();
18102 main ()
18104 return inet_aton ();
18106 return 0;
18108 _ACEOF
18109 for ac_lib in '' resolv; do
18110 if test -z "$ac_lib"; then
18111 ac_res="none required"
18112 else
18113 ac_res=-l$ac_lib
18114 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18116 if ac_fn_c_try_link "$LINENO"; then :
18117 ac_cv_search_inet_aton=$ac_res
18119 rm -f core conftest.err conftest.$ac_objext \
18120 conftest$ac_exeext
18121 if ${ac_cv_search_inet_aton+:} false; then :
18122 break
18124 done
18125 if ${ac_cv_search_inet_aton+:} false; then :
18127 else
18128 ac_cv_search_inet_aton=no
18130 rm conftest.$ac_ext
18131 LIBS=$ac_func_search_save_LIBS
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18134 $as_echo "$ac_cv_search_inet_aton" >&6; }
18135 ac_res=$ac_cv_search_inet_aton
18136 if test "$ac_res" != no; then :
18137 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18142 for ac_func in \
18143 getaddrinfo \
18144 getnameinfo \
18145 getnetbyname \
18146 getservbyport \
18148 do :
18149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18151 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18152 cat >>confdefs.h <<_ACEOF
18153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18154 _ACEOF
18157 done
18160 case $host_os in
18161 darwin*|macosx*) ;;
18162 *) ac_save_LIBS=$LIBS
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18164 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18165 if ${ac_cv_search_clock_gettime+:} false; then :
18166 $as_echo_n "(cached) " >&6
18167 else
18168 ac_func_search_save_LIBS=$LIBS
18169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18170 /* end confdefs.h. */
18172 /* Override any GCC internal prototype to avoid an error.
18173 Use char because int might match the return type of a GCC
18174 builtin and then its argument prototype would still apply. */
18175 #ifdef __cplusplus
18176 extern "C"
18177 #endif
18178 char clock_gettime ();
18180 main ()
18182 return clock_gettime ();
18184 return 0;
18186 _ACEOF
18187 for ac_lib in '' rt; do
18188 if test -z "$ac_lib"; then
18189 ac_res="none required"
18190 else
18191 ac_res=-l$ac_lib
18192 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18194 if ac_fn_c_try_link "$LINENO"; then :
18195 ac_cv_search_clock_gettime=$ac_res
18197 rm -f core conftest.err conftest.$ac_objext \
18198 conftest$ac_exeext
18199 if ${ac_cv_search_clock_gettime+:} false; then :
18200 break
18202 done
18203 if ${ac_cv_search_clock_gettime+:} false; then :
18205 else
18206 ac_cv_search_clock_gettime=no
18208 rm conftest.$ac_ext
18209 LIBS=$ac_func_search_save_LIBS
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18212 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18213 ac_res=$ac_cv_search_clock_gettime
18214 if test "$ac_res" != no; then :
18215 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18217 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18219 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18223 LIBS=$ac_save_LIBS
18225 esac
18227 if test "x$with_ldap" != "xno"
18228 then
18229 if ${LDAP_CFLAGS:+false} :; then :
18230 if ${PKG_CONFIG+:} false; then :
18231 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18235 if ${LDAP_LIBS:+false} :; then :
18236 if ${PKG_CONFIG+:} false; then :
18237 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18241 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18242 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18243 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18244 ac_save_CPPFLAGS=$CPPFLAGS
18245 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18246 for ac_header in ldap.h lber.h
18247 do :
18248 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18249 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18250 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18251 cat >>confdefs.h <<_ACEOF
18252 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18253 _ACEOF
18257 done
18259 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18260 then
18261 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18263 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18265 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18266 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18267 $as_echo_n "(cached) " >&6
18268 else
18269 ac_check_lib_save_LIBS=$LIBS
18270 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18272 /* end confdefs.h. */
18274 /* Override any GCC internal prototype to avoid an error.
18275 Use char because int might match the return type of a GCC
18276 builtin and then its argument prototype would still apply. */
18277 #ifdef __cplusplus
18278 extern "C"
18279 #endif
18280 char ldap_initialize ();
18282 main ()
18284 return ldap_initialize ();
18286 return 0;
18288 _ACEOF
18289 if ac_fn_c_try_link "$LINENO"; then :
18290 ac_cv_lib_ldap_r_ldap_initialize=yes
18291 else
18292 ac_cv_lib_ldap_r_ldap_initialize=no
18294 rm -f core conftest.err conftest.$ac_objext \
18295 conftest$ac_exeext conftest.$ac_ext
18296 LIBS=$ac_check_lib_save_LIBS
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18299 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18300 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18302 $as_echo_n "checking for ber_init in -llber... " >&6; }
18303 if ${ac_cv_lib_lber_ber_init+:} false; then :
18304 $as_echo_n "(cached) " >&6
18305 else
18306 ac_check_lib_save_LIBS=$LIBS
18307 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h. */
18311 /* Override any GCC internal prototype to avoid an error.
18312 Use char because int might match the return type of a GCC
18313 builtin and then its argument prototype would still apply. */
18314 #ifdef __cplusplus
18315 extern "C"
18316 #endif
18317 char ber_init ();
18319 main ()
18321 return ber_init ();
18323 return 0;
18325 _ACEOF
18326 if ac_fn_c_try_link "$LINENO"; then :
18327 ac_cv_lib_lber_ber_init=yes
18328 else
18329 ac_cv_lib_lber_ber_init=no
18331 rm -f core conftest.err conftest.$ac_objext \
18332 conftest$ac_exeext conftest.$ac_ext
18333 LIBS=$ac_check_lib_save_LIBS
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18336 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18337 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18339 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18341 else
18342 LDAP_LIBS=""
18345 else
18346 LDAP_LIBS=""
18349 else
18350 LDAP_LIBS=""
18353 ac_wine_check_funcs_save_LIBS="$LIBS"
18354 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18355 for ac_func in \
18356 ldap_count_references \
18357 ldap_first_reference \
18358 ldap_next_reference \
18359 ldap_parse_reference \
18360 ldap_parse_sort_control \
18361 ldap_parse_sortresponse_control \
18362 ldap_parse_vlv_control \
18363 ldap_parse_vlvresponse_control
18364 do :
18365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18367 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18368 cat >>confdefs.h <<_ACEOF
18369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18370 _ACEOF
18373 done
18375 LIBS="$ac_wine_check_funcs_save_LIBS"
18376 else
18377 LDAP_LIBS=""
18379 CPPFLAGS=$ac_save_CPPFLAGS
18382 if test "x$LDAP_LIBS" = "x"; then :
18383 case "x$with_ldap" in
18384 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18385 xno) ;;
18386 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18387 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18388 esac
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18393 $as_echo_n "checking for sched_setaffinity... " >&6; }
18394 if ${wine_cv_have_sched_setaffinity+:} false; then :
18395 $as_echo_n "(cached) " >&6
18396 else
18397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18398 /* end confdefs.h. */
18399 #define _GNU_SOURCE
18400 #include <sched.h>
18402 main ()
18404 sched_setaffinity(0, 0, 0);
18406 return 0;
18408 _ACEOF
18409 if ac_fn_c_try_link "$LINENO"; then :
18410 wine_cv_have_sched_setaffinity=yes
18411 else
18412 wine_cv_have_sched_setaffinity=no
18414 rm -f core conftest.err conftest.$ac_objext \
18415 conftest$ac_exeext conftest.$ac_ext
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18418 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18419 if test "$wine_cv_have_sched_setaffinity" = "yes"
18420 then
18422 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18427 $as_echo_n "checking for fallocate... " >&6; }
18428 if ${wine_cv_have_fallocate+:} false; then :
18429 $as_echo_n "(cached) " >&6
18430 else
18431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18432 /* end confdefs.h. */
18433 #define _GNU_SOURCE
18434 #include <fcntl.h>
18436 main ()
18438 fallocate(-1, 0, 0, 0);
18440 return 0;
18442 _ACEOF
18443 if ac_fn_c_try_link "$LINENO"; then :
18444 wine_cv_have_fallocate=yes
18445 else
18446 wine_cv_have_fallocate=no
18448 rm -f core conftest.err conftest.$ac_objext \
18449 conftest$ac_exeext conftest.$ac_ext
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18452 $as_echo "$wine_cv_have_fallocate" >&6; }
18453 if test "$wine_cv_have_fallocate" = "yes"
18454 then
18456 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18462 $as_echo_n "checking for inline... " >&6; }
18463 if ${ac_cv_c_inline+:} false; then :
18464 $as_echo_n "(cached) " >&6
18465 else
18466 ac_cv_c_inline=no
18467 for ac_kw in inline __inline__ __inline; do
18468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18469 /* end confdefs.h. */
18470 #ifndef __cplusplus
18471 typedef int foo_t;
18472 static $ac_kw foo_t static_foo () {return 0; }
18473 $ac_kw foo_t foo () {return 0; }
18474 #endif
18476 _ACEOF
18477 if ac_fn_c_try_compile "$LINENO"; then :
18478 ac_cv_c_inline=$ac_kw
18480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18481 test "$ac_cv_c_inline" != no && break
18482 done
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18486 $as_echo "$ac_cv_c_inline" >&6; }
18488 case $ac_cv_c_inline in
18489 inline | yes) ;;
18491 case $ac_cv_c_inline in
18492 no) ac_val=;;
18493 *) ac_val=$ac_cv_c_inline;;
18494 esac
18495 cat >>confdefs.h <<_ACEOF
18496 #ifndef __cplusplus
18497 #define inline $ac_val
18498 #endif
18499 _ACEOF
18501 esac
18503 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18504 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18506 cat >>confdefs.h <<_ACEOF
18507 #define HAVE_FSBLKCNT_T 1
18508 _ACEOF
18512 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18513 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18515 cat >>confdefs.h <<_ACEOF
18516 #define HAVE_FSFILCNT_T 1
18517 _ACEOF
18522 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18523 #include <signal.h>
18525 if test "x$ac_cv_type_sigset_t" = xyes; then :
18527 cat >>confdefs.h <<_ACEOF
18528 #define HAVE_SIGSET_T 1
18529 _ACEOF
18534 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18536 if test "x$ac_cv_type_request_sense" = xyes; then :
18538 cat >>confdefs.h <<_ACEOF
18539 #define HAVE_REQUEST_SENSE 1
18540 _ACEOF
18546 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18547 #ifdef HAVE_SYS_SOCKET_H
18548 #include <sys/socket.h>
18549 #endif
18550 #ifdef HAVE_SYS_SOCKETVAR_H
18551 #include <sys/socketvar.h>
18552 #endif
18553 #ifdef HAVE_NET_ROUTE_H
18554 #include <net/route.h>
18555 #endif
18556 #ifdef HAVE_NETINET_IN_H
18557 #include <netinet/in.h>
18558 #endif
18559 #ifdef HAVE_NETINET_IN_SYSTM_H
18560 #include <netinet/in_systm.h>
18561 #endif
18562 #ifdef HAVE_NETINET_IP_H
18563 #include <netinet/ip.h>
18564 #endif
18565 #ifdef HAVE_NETINET_IN_PCB_H
18566 #include <netinet/in_pcb.h>
18567 #endif
18569 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18571 cat >>confdefs.h <<_ACEOF
18572 #define HAVE_STRUCT_XINPGEN 1
18573 _ACEOF
18579 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18580 #include <linux/input.h>
18581 #endif
18583 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18585 cat >>confdefs.h <<_ACEOF
18586 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18587 _ACEOF
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18594 $as_echo_n "checking for if_nameindex... " >&6; }
18595 if ${wine_cv_have_if_nameindex+:} false; then :
18596 $as_echo_n "(cached) " >&6
18597 else
18598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18599 /* end confdefs.h. */
18600 #ifdef HAVE_SYS_TYPES_H
18601 #include <sys/types.h>
18602 #endif
18603 #ifdef HAVE_SYS_SOCKET_H
18604 #include <sys/socket.h>
18605 #endif
18606 #ifdef HAVE_NET_IF_H
18607 # include <net/if.h>
18608 #endif
18610 main ()
18612 struct if_nameindex *p = if_nameindex(); return p->if_index;
18614 return 0;
18616 _ACEOF
18617 if ac_fn_c_try_link "$LINENO"; then :
18618 wine_cv_have_if_nameindex=yes
18619 else
18620 wine_cv_have_if_nameindex=no
18622 rm -f core conftest.err conftest.$ac_objext \
18623 conftest$ac_exeext conftest.$ac_ext
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18626 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18627 if test "$wine_cv_have_if_nameindex" = "yes"
18628 then
18630 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18635 $as_echo_n "checking for sigaddset... " >&6; }
18636 if ${wine_cv_have_sigaddset+:} false; then :
18637 $as_echo_n "(cached) " >&6
18638 else
18639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18641 #include <signal.h>
18643 main ()
18645 sigset_t set; sigaddset(&set,SIGTERM);
18647 return 0;
18649 _ACEOF
18650 if ac_fn_c_try_link "$LINENO"; then :
18651 wine_cv_have_sigaddset=yes
18652 else
18653 wine_cv_have_sigaddset=no
18655 rm -f core conftest.err conftest.$ac_objext \
18656 conftest$ac_exeext conftest.$ac_ext
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18659 $as_echo "$wine_cv_have_sigaddset" >&6; }
18660 if test "$wine_cv_have_sigaddset" = "yes"
18661 then
18663 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18669 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18670 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18671 $as_echo_n "(cached) " >&6
18672 else
18673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18674 /* end confdefs.h. */
18675 #include <netdb.h>
18677 main ()
18680 char *name=0;
18681 struct hostent he;
18682 struct hostent *result;
18683 char *buf=0;
18684 int bufsize=0;
18685 int errnr;
18686 char *addr=0;
18687 int addrlen=0;
18688 int addrtype=0;
18689 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18690 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18693 return 0;
18695 _ACEOF
18696 if ac_fn_c_try_link "$LINENO"; then :
18697 wine_cv_linux_gethostbyname_r_6=yes
18698 else
18699 wine_cv_linux_gethostbyname_r_6=no
18702 rm -f core conftest.err conftest.$ac_objext \
18703 conftest$ac_exeext conftest.$ac_ext
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18707 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18708 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18709 then
18711 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18715 if test "$ac_cv_header_linux_joystick_h" = "yes"
18716 then
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18718 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18719 if ${wine_cv_linux_joystick_22_api+:} false; then :
18720 $as_echo_n "(cached) " >&6
18721 else
18722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18723 /* end confdefs.h. */
18725 #include <sys/ioctl.h>
18726 #include <sys/types.h>
18727 #include <linux/joystick.h>
18729 struct js_event blub;
18730 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18731 #error "no 2.2 header"
18732 #endif
18735 main ()
18737 /*empty*/
18739 return 0;
18741 _ACEOF
18742 if ac_fn_c_try_compile "$LINENO"; then :
18743 wine_cv_linux_joystick_22_api=yes
18744 else
18745 wine_cv_linux_joystick_22_api=no
18747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18751 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18752 if test "$wine_cv_linux_joystick_22_api" = "yes"
18753 then
18755 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18761 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18762 #ifdef HAVE_SYS_PARAM_H
18763 # include <sys/param.h>
18764 #endif
18765 #ifdef HAVE_SYS_MOUNT_H
18766 # include <sys/mount.h>
18767 #endif
18768 #ifdef HAVE_SYS_VFS_H
18769 # include <sys/vfs.h>
18770 #endif
18771 #ifdef HAVE_SYS_STATFS_H
18772 # include <sys/statfs.h>
18773 #endif
18775 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18777 cat >>confdefs.h <<_ACEOF
18778 #define HAVE_STRUCT_STATFS_F_BFREE 1
18779 _ACEOF
18783 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18784 #ifdef HAVE_SYS_PARAM_H
18785 # include <sys/param.h>
18786 #endif
18787 #ifdef HAVE_SYS_MOUNT_H
18788 # include <sys/mount.h>
18789 #endif
18790 #ifdef HAVE_SYS_VFS_H
18791 # include <sys/vfs.h>
18792 #endif
18793 #ifdef HAVE_SYS_STATFS_H
18794 # include <sys/statfs.h>
18795 #endif
18797 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18799 cat >>confdefs.h <<_ACEOF
18800 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18801 _ACEOF
18805 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18806 #ifdef HAVE_SYS_PARAM_H
18807 # include <sys/param.h>
18808 #endif
18809 #ifdef HAVE_SYS_MOUNT_H
18810 # include <sys/mount.h>
18811 #endif
18812 #ifdef HAVE_SYS_VFS_H
18813 # include <sys/vfs.h>
18814 #endif
18815 #ifdef HAVE_SYS_STATFS_H
18816 # include <sys/statfs.h>
18817 #endif
18819 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18821 cat >>confdefs.h <<_ACEOF
18822 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18823 _ACEOF
18827 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18828 #ifdef HAVE_SYS_PARAM_H
18829 # include <sys/param.h>
18830 #endif
18831 #ifdef HAVE_SYS_MOUNT_H
18832 # include <sys/mount.h>
18833 #endif
18834 #ifdef HAVE_SYS_VFS_H
18835 # include <sys/vfs.h>
18836 #endif
18837 #ifdef HAVE_SYS_STATFS_H
18838 # include <sys/statfs.h>
18839 #endif
18841 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18843 cat >>confdefs.h <<_ACEOF
18844 #define HAVE_STRUCT_STATFS_F_FFREE 1
18845 _ACEOF
18849 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18850 #ifdef HAVE_SYS_PARAM_H
18851 # include <sys/param.h>
18852 #endif
18853 #ifdef HAVE_SYS_MOUNT_H
18854 # include <sys/mount.h>
18855 #endif
18856 #ifdef HAVE_SYS_VFS_H
18857 # include <sys/vfs.h>
18858 #endif
18859 #ifdef HAVE_SYS_STATFS_H
18860 # include <sys/statfs.h>
18861 #endif
18863 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18865 cat >>confdefs.h <<_ACEOF
18866 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18867 _ACEOF
18871 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18872 #ifdef HAVE_SYS_PARAM_H
18873 # include <sys/param.h>
18874 #endif
18875 #ifdef HAVE_SYS_MOUNT_H
18876 # include <sys/mount.h>
18877 #endif
18878 #ifdef HAVE_SYS_VFS_H
18879 # include <sys/vfs.h>
18880 #endif
18881 #ifdef HAVE_SYS_STATFS_H
18882 # include <sys/statfs.h>
18883 #endif
18885 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18887 cat >>confdefs.h <<_ACEOF
18888 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18889 _ACEOF
18895 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18896 #include <sys/statvfs.h>
18897 #endif
18899 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18901 cat >>confdefs.h <<_ACEOF
18902 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18903 _ACEOF
18909 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18910 #include <dirent.h>
18911 #endif
18913 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18915 cat >>confdefs.h <<_ACEOF
18916 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18917 _ACEOF
18923 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18924 #ifdef HAVE_SYS_SOCKET_H
18925 # include <sys/socket.h>
18926 #endif
18927 #ifdef HAVE_SYS_UN_H
18928 # include <sys/un.h>
18929 #endif
18931 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18933 cat >>confdefs.h <<_ACEOF
18934 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18935 _ACEOF
18939 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18940 #ifdef HAVE_SYS_SOCKET_H
18941 # include <sys/socket.h>
18942 #endif
18943 #ifdef HAVE_SYS_UN_H
18944 # include <sys/un.h>
18945 #endif
18947 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18949 cat >>confdefs.h <<_ACEOF
18950 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18951 _ACEOF
18955 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18956 #ifdef HAVE_SYS_SOCKET_H
18957 # include <sys/socket.h>
18958 #endif
18959 #ifdef HAVE_SYS_UN_H
18960 # include <sys/un.h>
18961 #endif
18963 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18965 cat >>confdefs.h <<_ACEOF
18966 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18967 _ACEOF
18973 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18974 #ifdef HAVE_SCSI_SG_H
18975 #include <scsi/sg.h>
18976 #endif
18978 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18980 cat >>confdefs.h <<_ACEOF
18981 #define HAVE_SCSIREQ_T_CMD 1
18982 _ACEOF
18986 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>
18987 #ifdef HAVE_SCSI_SG_H
18988 #include <scsi/sg.h>
18989 #endif
18991 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18993 cat >>confdefs.h <<_ACEOF
18994 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18995 _ACEOF
19001 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19003 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19005 cat >>confdefs.h <<_ACEOF
19006 #define HAVE_SIGINFO_T_SI_FD 1
19007 _ACEOF
19013 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19014 #ifdef HAVE_SYS_MTIO_H
19015 #include <sys/mtio.h>
19016 #endif
19018 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19020 cat >>confdefs.h <<_ACEOF
19021 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19022 _ACEOF
19026 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19027 #ifdef HAVE_SYS_MTIO_H
19028 #include <sys/mtio.h>
19029 #endif
19031 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19033 cat >>confdefs.h <<_ACEOF
19034 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19035 _ACEOF
19039 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19040 #ifdef HAVE_SYS_MTIO_H
19041 #include <sys/mtio.h>
19042 #endif
19044 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19046 cat >>confdefs.h <<_ACEOF
19047 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19048 _ACEOF
19054 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19055 #include <getopt.h>
19056 #endif
19058 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19060 cat >>confdefs.h <<_ACEOF
19061 #define HAVE_STRUCT_OPTION_NAME 1
19062 _ACEOF
19068 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19069 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19071 cat >>confdefs.h <<_ACEOF
19072 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19073 _ACEOF
19077 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19078 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19080 cat >>confdefs.h <<_ACEOF
19081 #define HAVE_STRUCT_STAT_ST_MTIM 1
19082 _ACEOF
19086 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19087 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19089 cat >>confdefs.h <<_ACEOF
19090 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19091 _ACEOF
19095 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19096 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19098 cat >>confdefs.h <<_ACEOF
19099 #define HAVE_STRUCT_STAT_ST_CTIM 1
19100 _ACEOF
19104 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19105 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19107 cat >>confdefs.h <<_ACEOF
19108 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19109 _ACEOF
19113 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19114 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19116 cat >>confdefs.h <<_ACEOF
19117 #define HAVE_STRUCT_STAT_ST_ATIM 1
19118 _ACEOF
19122 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19123 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19125 cat >>confdefs.h <<_ACEOF
19126 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19127 _ACEOF
19131 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19132 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19134 cat >>confdefs.h <<_ACEOF
19135 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19136 _ACEOF
19140 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19141 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19143 cat >>confdefs.h <<_ACEOF
19144 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19145 _ACEOF
19149 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19150 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19152 cat >>confdefs.h <<_ACEOF
19153 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19154 _ACEOF
19158 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19159 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19161 cat >>confdefs.h <<_ACEOF
19162 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19163 _ACEOF
19167 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19168 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19170 cat >>confdefs.h <<_ACEOF
19171 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19172 _ACEOF
19178 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
19179 #include <sys/types.h>
19180 #endif
19181 #ifdef HAVE_NETINET_IN_H
19182 #include <netinet/in.h>
19183 #endif
19185 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19187 cat >>confdefs.h <<_ACEOF
19188 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19189 _ACEOF
19195 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19196 #include <sys/types.h>
19197 #endif
19198 #ifdef HAVE_NETINET_IN_H
19199 #include <netinet/in.h>
19200 #endif
19201 #ifdef HAVE_RESOLV_H
19202 #include <resolv.h>
19203 #endif
19205 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19207 cat >>confdefs.h <<_ACEOF
19208 #define HAVE_STRUCT___RES_STATE 1
19209 _ACEOF
19215 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
19216 #include <resolv.h>
19217 #endif
19219 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19221 cat >>confdefs.h <<_ACEOF
19222 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19223 _ACEOF
19229 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19230 #include <sys/types.h>
19231 #endif
19232 #ifdef HAVE_NETINET_IN_H
19233 # include <netinet/in.h>
19234 #endif
19235 #ifdef HAVE_ARPA_NAMESER_H
19236 # include <arpa/nameser.h>
19237 #endif
19239 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19241 cat >>confdefs.h <<_ACEOF
19242 #define HAVE_NS_MSG__MSG_PTR 1
19243 _ACEOF
19249 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19250 #include <sys/types.h>
19251 #endif
19252 #ifdef HAVE_NETINET_IN_H
19253 #include <netinet/in.h>
19254 #endif
19255 #ifdef HAVE_NETINET_IP_H
19256 #include <netinet/ip.h>
19257 #endif
19258 #ifdef HAVE_NETINET_IP_ICMP_H
19259 #include <netinet/ip_icmp.h>
19260 #endif
19261 #ifdef HAVE_NETINET_ICMP_VAR_H
19262 #include <netinet/icmp_var.h>
19263 #endif
19265 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19267 cat >>confdefs.h <<_ACEOF
19268 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19269 _ACEOF
19275 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19276 #include <sys/types.h>
19277 #endif
19278 #ifdef HAVE_ALIAS_H
19279 #include <alias.h>
19280 #endif
19281 #ifdef HAVE_SYS_SOCKET_H
19282 #include <sys/socket.h>
19283 #endif
19284 #ifdef HAVE_SYS_SOCKETVAR_H
19285 #include <sys/socketvar.h>
19286 #endif
19287 #ifdef HAVE_SYS_TIMEOUT_H
19288 #include <sys/timeout.h>
19289 #endif
19290 #ifdef HAVE_NETINET_IN_H
19291 #include <netinet/in.h>
19292 #endif
19293 #ifdef HAVE_NETINET_IN_SYSTM_H
19294 #include <netinet/in_systm.h>
19295 #endif
19296 #ifdef HAVE_NETINET_IP_H
19297 #include <netinet/ip.h>
19298 #endif
19299 #ifdef HAVE_NETINET_IP_VAR_H
19300 #include <netinet/ip_var.h>
19301 #endif
19302 #ifdef HAVE_NETINET_IP_ICMP_H
19303 #include <netinet/ip_icmp.h>
19304 #endif
19305 #ifdef HAVE_NETINET_ICMP_VAR_H
19306 #include <netinet/icmp_var.h>
19307 #endif
19309 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19311 cat >>confdefs.h <<_ACEOF
19312 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19313 _ACEOF
19319 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19320 #include <sys/types.h>
19321 #endif
19322 #ifdef HAVE_SYS_SOCKETVAR_H
19323 #include <sys/socketvar.h>
19324 #endif
19325 #ifdef HAVE_NETINET_IN_H
19326 #include <netinet/in.h>
19327 #endif
19328 #ifdef HAVE_NETINET_IP_VAR_H
19329 #include <netinet/ip_var.h>
19330 #endif
19332 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19334 cat >>confdefs.h <<_ACEOF
19335 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19336 _ACEOF
19342 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
19343 #include <netinet/ip_var.h>
19344 #endif
19346 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19348 cat >>confdefs.h <<_ACEOF
19349 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19350 _ACEOF
19356 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19357 #include <sys/types.h>
19358 #endif
19359 #ifdef HAVE_SYS_SOCKETVAR_H
19360 #include <sys/socketvar.h>
19361 #endif
19362 #ifdef HAVE_NETINET_IN_H
19363 #include <netinet/in.h>
19364 #endif
19365 #ifdef HAVE_NETINET_TCP_H
19366 #include <netinet/tcp.h>
19367 #endif
19368 #ifdef HAVE_NETINET_TCP_VAR_H
19369 #include <netinet/tcp_var.h>
19370 #endif
19372 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19374 cat >>confdefs.h <<_ACEOF
19375 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19376 _ACEOF
19382 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
19383 #include <netinet/tcp_var.h>
19384 #endif
19386 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19388 cat >>confdefs.h <<_ACEOF
19389 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19390 _ACEOF
19396 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19397 #include <sys/types.h>
19398 #endif
19399 #ifdef HAVE_NETINET_IN_H
19400 #include <netinet/in.h>
19401 #endif
19402 #ifdef HAVE_NETINET_IP_VAR_H
19403 #include <netinet/ip_var.h>
19404 #endif
19405 #ifdef HAVE_NETINET_UDP_H
19406 #include <netinet/udp.h>
19407 #endif
19408 #ifdef HAVE_NETINET_UDP_VAR_H
19409 #include <netinet/udp_var.h>
19410 #endif
19412 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19414 cat >>confdefs.h <<_ACEOF
19415 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19416 _ACEOF
19422 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19423 #include <sys/types.h>
19424 #endif
19425 #ifdef HAVE_NET_IF_H
19426 # include <net/if.h>
19427 #endif
19429 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19431 cat >>confdefs.h <<_ACEOF
19432 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19433 _ACEOF
19439 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19440 # include <sys/sysinfo.h>
19441 #endif
19443 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19445 cat >>confdefs.h <<_ACEOF
19446 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19447 _ACEOF
19451 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19452 # include <sys/sysinfo.h>
19453 #endif
19455 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19457 cat >>confdefs.h <<_ACEOF
19458 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19459 _ACEOF
19465 ac_save_LIBS="$LIBS"
19466 LIBS="$LIBS -lm"
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19468 $as_echo_n "checking for isfinite... " >&6; }
19469 if ${ac_cv_have_isfinite+:} false; then :
19470 $as_echo_n "(cached) " >&6
19471 else
19472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19473 /* end confdefs.h. */
19474 #define _GNU_SOURCE
19475 #include <math.h>
19477 main ()
19479 float f = 0.0; return isfinite(f)
19481 return 0;
19483 _ACEOF
19484 if ac_fn_c_try_link "$LINENO"; then :
19485 ac_cv_have_isfinite="yes"
19486 else
19487 ac_cv_have_isfinite="no"
19489 rm -f core conftest.err conftest.$ac_objext \
19490 conftest$ac_exeext conftest.$ac_ext
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19493 $as_echo "$ac_cv_have_isfinite" >&6; }
19494 if test "$ac_cv_have_isfinite" = "yes"
19495 then
19497 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19502 $as_echo_n "checking for isinf... " >&6; }
19503 if ${ac_cv_have_isinf+:} false; then :
19504 $as_echo_n "(cached) " >&6
19505 else
19506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19507 /* end confdefs.h. */
19508 #include <math.h>
19510 main ()
19512 float f = 0.0; return isinf(f)
19514 return 0;
19516 _ACEOF
19517 if ac_fn_c_try_link "$LINENO"; then :
19518 ac_cv_have_isinf="yes"
19519 else
19520 ac_cv_have_isinf="no"
19522 rm -f core conftest.err conftest.$ac_objext \
19523 conftest$ac_exeext conftest.$ac_ext
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19526 $as_echo "$ac_cv_have_isinf" >&6; }
19527 if test "$ac_cv_have_isinf" = "yes"
19528 then
19530 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19535 $as_echo_n "checking for isnan... " >&6; }
19536 if ${ac_cv_have_isnan+:} false; then :
19537 $as_echo_n "(cached) " >&6
19538 else
19539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19540 /* end confdefs.h. */
19541 #include <math.h>
19543 main ()
19545 float f = 0.0; return isnan(f)
19547 return 0;
19549 _ACEOF
19550 if ac_fn_c_try_link "$LINENO"; then :
19551 ac_cv_have_isnan="yes"
19552 else
19553 ac_cv_have_isnan="no"
19555 rm -f core conftest.err conftest.$ac_objext \
19556 conftest$ac_exeext conftest.$ac_ext
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19559 $as_echo "$ac_cv_have_isnan" >&6; }
19560 if test "$ac_cv_have_isnan" = "yes"
19561 then
19563 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19567 for ac_func in \
19568 acosh \
19569 acoshf \
19570 asinh \
19571 asinhf \
19572 atanh \
19573 atanhf \
19574 cbrt \
19575 cbrtf \
19576 erf \
19577 erfc \
19578 erfcf \
19579 erff \
19580 exp2 \
19581 exp2f \
19582 expm1 \
19583 expm1f \
19584 fma \
19585 fmaf \
19586 ilogb \
19587 ilogbf \
19588 j0 \
19589 j1 \
19590 jn \
19591 lgamma \
19592 lgammaf \
19593 llrint \
19594 llrintf \
19595 llround \
19596 llroundf \
19597 log1p \
19598 log1pf \
19599 log2 \
19600 log2f \
19601 lrint \
19602 lrintf \
19603 lround \
19604 lroundf \
19605 nearbyint \
19606 nearbyintf \
19607 nexttoward \
19608 nexttowardf \
19609 remainder \
19610 remainderf \
19611 remquo \
19612 remquof \
19613 rint \
19614 rintf \
19615 round \
19616 roundf \
19617 tgamma \
19618 tgammaf \
19619 trunc \
19620 truncf \
19621 y0 \
19622 y1 \
19625 do :
19626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19627 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19628 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19629 cat >>confdefs.h <<_ACEOF
19630 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19631 _ACEOF
19634 done
19636 LIBS="$ac_save_LIBS"
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19639 $as_echo_n "checking for __builtin_popcount... " >&6; }
19640 if ${ac_cv_have___builtin_popcount+:} false; then :
19641 $as_echo_n "(cached) " >&6
19642 else
19643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19644 /* end confdefs.h. */
19647 main ()
19649 return __builtin_popcount(1)
19651 return 0;
19653 _ACEOF
19654 if ac_fn_c_try_link "$LINENO"; then :
19655 ac_cv_have___builtin_popcount="yes"
19656 else
19657 ac_cv_have___builtin_popcount="no"
19659 rm -f core conftest.err conftest.$ac_objext \
19660 conftest$ac_exeext conftest.$ac_ext
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19663 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19664 if test "$ac_cv_have___builtin_popcount" = "yes"
19665 then
19667 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19672 $as_echo_n "checking for __clear_cache... " >&6; }
19673 if ${ac_cv_have___clear_cache+:} false; then :
19674 $as_echo_n "(cached) " >&6
19675 else
19676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19677 /* end confdefs.h. */
19680 main ()
19682 __clear_cache((void*)0, (void*)0); return 0;
19684 return 0;
19686 _ACEOF
19687 if ac_fn_c_try_link "$LINENO"; then :
19688 ac_cv_have___clear_cache="yes"
19689 else
19690 ac_cv_have___clear_cache="no"
19692 rm -f core conftest.err conftest.$ac_objext \
19693 conftest$ac_exeext conftest.$ac_ext
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19696 $as_echo "$ac_cv_have___clear_cache" >&6; }
19697 if test "$ac_cv_have___clear_cache" = "yes"
19698 then
19700 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19705 case $host_cpu in
19706 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19707 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19708 if ${ac_cv_cpp_def___i386__+:} false; then :
19709 $as_echo_n "(cached) " >&6
19710 else
19711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19712 /* end confdefs.h. */
19713 #ifndef __i386__
19715 #endif
19716 _ACEOF
19717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19718 $EGREP "yes" >/dev/null 2>&1; then :
19719 ac_cv_cpp_def___i386__=yes
19720 else
19721 ac_cv_cpp_def___i386__=no
19723 rm -f conftest*
19726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19727 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19728 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19729 CFLAGS="$CFLAGS -D__i386__"
19730 LINTFLAGS="$LINTFLAGS -D__i386__"
19731 fi ;;
19732 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19733 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19734 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19735 $as_echo_n "(cached) " >&6
19736 else
19737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19738 /* end confdefs.h. */
19739 #ifndef __x86_64__
19741 #endif
19742 _ACEOF
19743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19744 $EGREP "yes" >/dev/null 2>&1; then :
19745 ac_cv_cpp_def___x86_64__=yes
19746 else
19747 ac_cv_cpp_def___x86_64__=no
19749 rm -f conftest*
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19753 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19754 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19755 CFLAGS="$CFLAGS -D__x86_64__"
19756 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19757 fi ;;
19758 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19759 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19760 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19761 $as_echo_n "(cached) " >&6
19762 else
19763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19764 /* end confdefs.h. */
19765 #ifndef __sparc64__
19767 #endif
19768 _ACEOF
19769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19770 $EGREP "yes" >/dev/null 2>&1; then :
19771 ac_cv_cpp_def___sparc64__=yes
19772 else
19773 ac_cv_cpp_def___sparc64__=no
19775 rm -f conftest*
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19779 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19780 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19781 CFLAGS="$CFLAGS -D__sparc64__"
19782 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19783 fi ;;
19784 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19785 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19786 if ${ac_cv_cpp_def___sparc__+:} false; then :
19787 $as_echo_n "(cached) " >&6
19788 else
19789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h. */
19791 #ifndef __sparc__
19793 #endif
19794 _ACEOF
19795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19796 $EGREP "yes" >/dev/null 2>&1; then :
19797 ac_cv_cpp_def___sparc__=yes
19798 else
19799 ac_cv_cpp_def___sparc__=no
19801 rm -f conftest*
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19805 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19806 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19807 CFLAGS="$CFLAGS -D__sparc__"
19808 LINTFLAGS="$LINTFLAGS -D__sparc__"
19809 fi ;;
19810 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19811 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19812 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19813 $as_echo_n "(cached) " >&6
19814 else
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h. */
19817 #ifndef __powerpc64__
19819 #endif
19820 _ACEOF
19821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19822 $EGREP "yes" >/dev/null 2>&1; then :
19823 ac_cv_cpp_def___powerpc64__=yes
19824 else
19825 ac_cv_cpp_def___powerpc64__=no
19827 rm -f conftest*
19830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19831 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19832 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19833 CFLAGS="$CFLAGS -D__powerpc64__"
19834 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19835 fi ;;
19836 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19837 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19838 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19839 $as_echo_n "(cached) " >&6
19840 else
19841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19842 /* end confdefs.h. */
19843 #ifndef __powerpc__
19845 #endif
19846 _ACEOF
19847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19848 $EGREP "yes" >/dev/null 2>&1; then :
19849 ac_cv_cpp_def___powerpc__=yes
19850 else
19851 ac_cv_cpp_def___powerpc__=no
19853 rm -f conftest*
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19857 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19858 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19859 CFLAGS="$CFLAGS -D__powerpc__"
19860 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19861 fi ;;
19862 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19863 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19864 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19865 $as_echo_n "(cached) " >&6
19866 else
19867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19868 /* end confdefs.h. */
19869 #ifndef __aarch64__
19871 #endif
19872 _ACEOF
19873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19874 $EGREP "yes" >/dev/null 2>&1; then :
19875 ac_cv_cpp_def___aarch64__=yes
19876 else
19877 ac_cv_cpp_def___aarch64__=no
19879 rm -f conftest*
19882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19883 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19884 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19885 CFLAGS="$CFLAGS -D__aarch64__"
19886 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19887 fi ;;
19888 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19889 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19890 if ${ac_cv_cpp_def___arm__+:} false; then :
19891 $as_echo_n "(cached) " >&6
19892 else
19893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19894 /* end confdefs.h. */
19895 #ifndef __arm__
19897 #endif
19898 _ACEOF
19899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19900 $EGREP "yes" >/dev/null 2>&1; then :
19901 ac_cv_cpp_def___arm__=yes
19902 else
19903 ac_cv_cpp_def___arm__=no
19905 rm -f conftest*
19908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19909 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19910 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19911 CFLAGS="$CFLAGS -D__arm__"
19912 LINTFLAGS="$LINTFLAGS -D__arm__"
19913 fi ;;
19914 esac
19916 case $host_vendor in
19917 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19918 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19919 if ${ac_cv_cpp_def___sun__+:} false; then :
19920 $as_echo_n "(cached) " >&6
19921 else
19922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19923 /* end confdefs.h. */
19924 #ifndef __sun__
19926 #endif
19927 _ACEOF
19928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19929 $EGREP "yes" >/dev/null 2>&1; then :
19930 ac_cv_cpp_def___sun__=yes
19931 else
19932 ac_cv_cpp_def___sun__=no
19934 rm -f conftest*
19937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19938 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19939 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19940 CFLAGS="$CFLAGS -D__sun__"
19941 LINTFLAGS="$LINTFLAGS -D__sun__"
19942 fi ;;
19943 esac
19949 ac_config_commands="$ac_config_commands include/stamp-h"
19951 $as_echo_n "creating Makefile rules..." >&6
19953 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19954 OPENGL_LIBS = $OPENGL_LIBS
19955 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19956 IOKIT_LIBS = $IOKIT_LIBS
19957 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19958 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19959 CORESERVICES_LIBS = $CORESERVICES_LIBS
19960 APPKIT_LIBS = $APPKIT_LIBS
19961 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19962 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19963 SECURITY_LIBS = $SECURITY_LIBS
19964 COREAUDIO_LIBS = $COREAUDIO_LIBS
19965 OPENAL_LIBS = $OPENAL_LIBS
19966 OPENCL_LIBS = $OPENCL_LIBS
19967 QUICKTIME_LIBS = $QUICKTIME_LIBS
19968 CARBON_LIBS = $CARBON_LIBS
19969 METAL_LIBS = $METAL_LIBS
19970 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19971 PTHREAD_LIBS = $PTHREAD_LIBS
19972 X_CFLAGS = $X_CFLAGS
19973 X_PRE_LIBS = $X_PRE_LIBS
19974 X_LIBS = $X_LIBS
19975 X_EXTRA_LIBS = $X_EXTRA_LIBS
19976 PCAP_LIBS = $PCAP_LIBS
19977 XML2_CFLAGS = $XML2_CFLAGS
19978 XML2_LIBS = $XML2_LIBS
19979 XSLT_CFLAGS = $XSLT_CFLAGS
19980 XSLT_LIBS = $XSLT_LIBS
19981 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19982 INOTIFY_LIBS = $INOTIFY_LIBS
19983 DBUS_CFLAGS = $DBUS_CFLAGS
19984 DBUS_LIBS = $DBUS_LIBS
19985 HAL_CFLAGS = $HAL_CFLAGS
19986 HAL_LIBS = $HAL_LIBS
19987 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19988 GNUTLS_LIBS = $GNUTLS_LIBS
19989 SANE_CFLAGS = $SANE_CFLAGS
19990 SANE_LIBS = $SANE_LIBS
19991 USB_CFLAGS = $USB_CFLAGS
19992 USB_LIBS = $USB_LIBS
19993 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19994 GPHOTO2_LIBS = $GPHOTO2_LIBS
19995 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19996 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19997 RESOLV_LIBS = $RESOLV_LIBS
19998 LCMS2_CFLAGS = $LCMS2_CFLAGS
19999 LCMS2_LIBS = $LCMS2_LIBS
20000 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20001 FREETYPE_LIBS = $FREETYPE_LIBS
20002 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20003 PULSE_CFLAGS = $PULSE_CFLAGS
20004 PULSE_LIBS = $PULSE_LIBS
20005 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20006 GSTREAMER_LIBS = $GSTREAMER_LIBS
20007 ALSA_LIBS = $ALSA_LIBS
20008 OSS4_CFLAGS = $OSS4_CFLAGS
20009 OSS4_LIBS = $OSS4_LIBS
20010 UDEV_CFLAGS = $UDEV_CFLAGS
20011 UDEV_LIBS = $UDEV_LIBS
20012 UNWIND_CFLAGS = $UNWIND_CFLAGS
20013 UNWIND_LIBS = $UNWIND_LIBS
20014 SDL2_CFLAGS = $SDL2_CFLAGS
20015 SDL2_LIBS = $SDL2_LIBS
20016 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20017 FAUDIO_LIBS = $FAUDIO_LIBS
20018 CAPI20_CFLAGS = $CAPI20_CFLAGS
20019 CAPI20_LIBS = $CAPI20_LIBS
20020 CUPS_CFLAGS = $CUPS_CFLAGS
20021 CUPS_LIBS = $CUPS_LIBS
20022 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20023 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20024 KRB5_CFLAGS = $KRB5_CFLAGS
20025 KRB5_LIBS = $KRB5_LIBS
20026 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20027 GSSAPI_LIBS = $GSSAPI_LIBS
20028 JPEG_CFLAGS = $JPEG_CFLAGS
20029 JPEG_LIBS = $JPEG_LIBS
20030 PNG_CFLAGS = $PNG_CFLAGS
20031 PNG_LIBS = $PNG_LIBS
20032 TIFF_CFLAGS = $TIFF_CFLAGS
20033 TIFF_LIBS = $TIFF_LIBS
20034 MPG123_CFLAGS = $MPG123_CFLAGS
20035 MPG123_LIBS = $MPG123_LIBS
20036 KSTAT_LIBS = $KSTAT_LIBS
20037 PROCSTAT_LIBS = $PROCSTAT_LIBS
20038 NETAPI_CFLAGS = $NETAPI_CFLAGS
20039 NETAPI_LIBS = $NETAPI_LIBS
20040 VKD3D_CFLAGS = $VKD3D_CFLAGS
20041 VKD3D_LIBS = $VKD3D_LIBS
20042 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20043 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20044 POLL_LIBS = $POLL_LIBS
20045 RT_LIBS = $RT_LIBS
20046 LDAP_CFLAGS = $LDAP_CFLAGS
20047 LDAP_LIBS = $LDAP_LIBS
20052 wine_fn_append_rule "
20053 # Rules automatically generated by configure
20055 .INIT: Makefile
20056 .MAKEFILEDEPS:
20057 all: Makefile
20058 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20059 @./config.status Make.tmp Makefile
20060 depend: \$(MAKEDEP)
20061 \$(MAKEDEP)
20062 dummy:
20063 .PHONY: depend dummy"
20065 ac_config_links="$ac_config_links wine:tools/winewrapper"
20066 wine_fn_config_symlink wine
20067 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20068 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20069 wine_fn_config_symlink wine64
20072 wine_fn_config_makefile dlls/acledit enable_acledit
20073 wine_fn_config_makefile dlls/aclui enable_aclui
20074 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20075 wine_fn_config_makefile dlls/activeds enable_activeds
20076 wine_fn_config_makefile dlls/activeds/tests enable_tests
20077 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20078 wine_fn_config_makefile dlls/adsiid enable_adsiid
20079 wine_fn_config_makefile dlls/adsldp enable_adsldp
20080 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20081 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20082 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20083 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20084 wine_fn_config_makefile dlls/advpack enable_advpack
20085 wine_fn_config_makefile dlls/advpack/tests enable_tests
20086 wine_fn_config_makefile dlls/amsi enable_amsi
20087 wine_fn_config_makefile dlls/amstream enable_amstream
20088 wine_fn_config_makefile dlls/amstream/tests enable_tests
20089 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20091 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20092 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20094 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20099 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20107 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20109 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20111 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20114 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20115 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20122 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20123 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20125 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20126 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20135 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20139 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20140 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20143 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20145 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20146 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20150 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20151 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20159 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20160 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20161 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20162 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20170 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20174 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20175 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20176 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20199 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20203 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20206 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20217 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20222 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20223 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20228 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20230 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20249 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20250 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20270 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20281 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20285 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20287 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20289 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20290 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20295 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20297 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20303 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20306 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20308 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20310 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20314 wine_fn_config_makefile dlls/apphelp enable_apphelp
20315 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20316 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20317 wine_fn_config_makefile dlls/atl enable_atl
20318 wine_fn_config_makefile dlls/atl/tests enable_tests
20319 wine_fn_config_makefile dlls/atl100 enable_atl100
20320 wine_fn_config_makefile dlls/atl100/tests enable_tests
20321 wine_fn_config_makefile dlls/atl110 enable_atl110
20322 wine_fn_config_makefile dlls/atl80 enable_atl80
20323 wine_fn_config_makefile dlls/atl80/tests enable_tests
20324 wine_fn_config_makefile dlls/atl90 enable_atl90
20325 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20326 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20327 wine_fn_config_makefile dlls/atmlib enable_atmlib
20328 wine_fn_config_makefile dlls/authz enable_authz
20329 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20330 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20331 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20332 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20333 wine_fn_config_makefile dlls/avrt enable_avrt
20334 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20335 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20336 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20337 wine_fn_config_makefile dlls/browseui enable_browseui
20338 wine_fn_config_makefile dlls/browseui/tests enable_tests
20339 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20340 wine_fn_config_makefile dlls/cabinet enable_cabinet
20341 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20342 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20343 wine_fn_config_makefile dlls/cards enable_cards
20344 wine_fn_config_makefile dlls/cdosys enable_cdosys
20345 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20346 wine_fn_config_makefile dlls/clusapi enable_clusapi
20347 wine_fn_config_makefile dlls/combase enable_combase
20348 wine_fn_config_makefile dlls/combase/tests enable_tests
20349 wine_fn_config_makefile dlls/comcat enable_comcat
20350 wine_fn_config_makefile dlls/comcat/tests enable_tests
20351 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20352 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20353 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20354 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20355 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20356 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20357 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20358 wine_fn_config_makefile dlls/compstui enable_compstui
20359 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20360 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20361 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20362 wine_fn_config_makefile dlls/connect enable_connect
20363 wine_fn_config_makefile dlls/credui enable_credui
20364 wine_fn_config_makefile dlls/credui/tests enable_tests
20365 wine_fn_config_makefile dlls/crtdll enable_crtdll
20366 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20367 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20368 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20369 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20370 wine_fn_config_makefile dlls/cryptext enable_cryptext
20371 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20372 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20373 wine_fn_config_makefile dlls/cryptui enable_cryptui
20374 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20375 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20376 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20377 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20378 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20379 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20380 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20381 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20382 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20383 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20384 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20385 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20386 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20387 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20388 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20389 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20390 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20391 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20392 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20393 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20394 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20395 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20396 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20397 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20398 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20399 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20400 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20401 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20402 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20403 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20404 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20405 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20406 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20407 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20408 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20409 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20410 wine_fn_config_makefile dlls/d3dim enable_d3dim
20411 wine_fn_config_makefile dlls/d3drm enable_d3drm
20412 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20413 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20414 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20415 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20416 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20417 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20418 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20419 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20420 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20421 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20422 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20423 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20424 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20425 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20426 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20427 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20428 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20429 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20430 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20431 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20432 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20433 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20434 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20435 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20436 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20437 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20438 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20439 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20440 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20441 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20442 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20443 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20444 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20445 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20446 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20447 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20448 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20449 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20450 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20451 wine_fn_config_makefile dlls/davclnt enable_davclnt
20452 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20453 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20454 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20455 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20456 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20457 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20458 wine_fn_config_makefile dlls/ddraw enable_ddraw
20459 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20460 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20461 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20462 wine_fn_config_makefile dlls/devenum enable_devenum
20463 wine_fn_config_makefile dlls/devenum/tests enable_tests
20464 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20465 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20466 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20467 wine_fn_config_makefile dlls/difxapi enable_difxapi
20468 wine_fn_config_makefile dlls/dinput enable_dinput
20469 wine_fn_config_makefile dlls/dinput/tests enable_tests
20470 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20471 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20472 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20473 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20474 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20475 wine_fn_config_makefile dlls/dispex enable_dispex
20476 wine_fn_config_makefile dlls/dispex/tests enable_tests
20477 wine_fn_config_makefile dlls/display.drv16 enable_win16
20478 wine_fn_config_makefile dlls/dmband enable_dmband
20479 wine_fn_config_makefile dlls/dmband/tests enable_tests
20480 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20481 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20482 wine_fn_config_makefile dlls/dmime enable_dmime
20483 wine_fn_config_makefile dlls/dmime/tests enable_tests
20484 wine_fn_config_makefile dlls/dmloader enable_dmloader
20485 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20486 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20487 wine_fn_config_makefile dlls/dmscript enable_dmscript
20488 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20489 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20490 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20491 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20492 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20493 wine_fn_config_makefile dlls/dmusic enable_dmusic
20494 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20495 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20496 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20497 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20498 wine_fn_config_makefile dlls/dplay enable_dplay
20499 wine_fn_config_makefile dlls/dplayx enable_dplayx
20500 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20501 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20502 wine_fn_config_makefile dlls/dpnet enable_dpnet
20503 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20504 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20505 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20506 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20507 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20508 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20509 wine_fn_config_makefile dlls/drmclien enable_drmclien
20510 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20511 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20512 wine_fn_config_makefile dlls/dsound enable_dsound
20513 wine_fn_config_makefile dlls/dsound/tests enable_tests
20514 wine_fn_config_makefile dlls/dsquery enable_dsquery
20515 wine_fn_config_makefile dlls/dssenh enable_dssenh
20516 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20517 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20518 wine_fn_config_makefile dlls/dswave enable_dswave
20519 wine_fn_config_makefile dlls/dswave/tests enable_tests
20520 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20521 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20522 wine_fn_config_makefile dlls/dwrite enable_dwrite
20523 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20524 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20525 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20526 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20527 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20528 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20529 wine_fn_config_makefile dlls/dxgi enable_dxgi
20530 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20531 wine_fn_config_makefile dlls/dxguid enable_dxguid
20532 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20533 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20534 wine_fn_config_makefile dlls/esent enable_esent
20535 wine_fn_config_makefile dlls/evr enable_evr
20536 wine_fn_config_makefile dlls/evr/tests enable_tests
20537 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20538 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20539 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20540 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20541 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20542 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20543 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20544 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20545 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20547 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20548 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20550 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20551 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20552 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20553 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20554 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20556 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20558 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20560 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20562 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20563 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20566 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20570 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20573 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20574 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20575 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20576 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20577 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20578 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20579 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
20580 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20582 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20583 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20584 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20590 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20591 wine_fn_config_makefile dlls/faultrep enable_faultrep
20592 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20593 wine_fn_config_makefile dlls/feclient enable_feclient
20594 wine_fn_config_makefile dlls/fltlib enable_fltlib
20595 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20596 wine_fn_config_makefile dlls/fntcache enable_fntcache
20597 wine_fn_config_makefile dlls/fontsub enable_fontsub
20598 wine_fn_config_makefile dlls/fusion enable_fusion
20599 wine_fn_config_makefile dlls/fusion/tests enable_tests
20600 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20601 wine_fn_config_makefile dlls/gameux enable_gameux
20602 wine_fn_config_makefile dlls/gameux/tests enable_tests
20603 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20604 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20605 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20606 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20607 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20608 wine_fn_config_makefile dlls/glu32 enable_glu32
20609 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20610 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20611 wine_fn_config_makefile dlls/hal enable_hal
20612 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20613 wine_fn_config_makefile dlls/hid enable_hid
20614 wine_fn_config_makefile dlls/hid/tests enable_tests
20615 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20616 wine_fn_config_makefile dlls/hlink enable_hlink
20617 wine_fn_config_makefile dlls/hlink/tests enable_tests
20618 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20619 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20620 wine_fn_config_makefile dlls/http.sys enable_http_sys
20621 wine_fn_config_makefile dlls/httpapi enable_httpapi
20622 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20623 wine_fn_config_makefile dlls/iccvid enable_iccvid
20624 wine_fn_config_makefile dlls/icmp enable_icmp
20625 wine_fn_config_makefile dlls/ieframe enable_ieframe
20626 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20627 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20628 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20629 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20630 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20631 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20632 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20633 wine_fn_config_makefile dlls/imm32 enable_imm32
20634 wine_fn_config_makefile dlls/imm32/tests enable_tests
20635 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20636 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20637 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20638 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20639 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20640 wine_fn_config_makefile dlls/infosoft enable_infosoft
20641 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20642 wine_fn_config_makefile dlls/initpki enable_initpki
20643 wine_fn_config_makefile dlls/inkobj enable_inkobj
20644 wine_fn_config_makefile dlls/inseng enable_inseng
20645 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20646 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20647 wine_fn_config_makefile dlls/iprop enable_iprop
20648 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20649 wine_fn_config_makefile dlls/itircl enable_itircl
20650 wine_fn_config_makefile dlls/itss enable_itss
20651 wine_fn_config_makefile dlls/itss/tests enable_tests
20652 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20653 wine_fn_config_makefile dlls/jscript enable_jscript
20654 wine_fn_config_makefile dlls/jscript/tests enable_tests
20655 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20656 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20657 wine_fn_config_makefile dlls/kerberos enable_kerberos
20658 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20659 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20660 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20661 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20662 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20663 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20664 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20665 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20666 wine_fn_config_makefile dlls/ksuser enable_ksuser
20667 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20668 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20669 wine_fn_config_makefile dlls/loadperf enable_loadperf
20670 wine_fn_config_makefile dlls/localspl enable_localspl
20671 wine_fn_config_makefile dlls/localspl/tests enable_tests
20672 wine_fn_config_makefile dlls/localui enable_localui
20673 wine_fn_config_makefile dlls/localui/tests enable_tests
20674 wine_fn_config_makefile dlls/lz32 enable_lz32
20675 wine_fn_config_makefile dlls/lz32/tests enable_tests
20676 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20677 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20678 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20679 wine_fn_config_makefile dlls/mapistub enable_mapistub
20680 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20681 wine_fn_config_makefile dlls/mcicda enable_mcicda
20682 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20683 wine_fn_config_makefile dlls/mciseq enable_mciseq
20684 wine_fn_config_makefile dlls/mciwave enable_mciwave
20685 wine_fn_config_makefile dlls/mf enable_mf
20686 wine_fn_config_makefile dlls/mf/tests enable_tests
20687 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20688 wine_fn_config_makefile dlls/mferror enable_mferror
20689 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20690 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20691 wine_fn_config_makefile dlls/mfplat enable_mfplat
20692 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20693 wine_fn_config_makefile dlls/mfplay enable_mfplay
20694 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20695 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20696 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20697 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20698 wine_fn_config_makefile dlls/midimap enable_midimap
20699 wine_fn_config_makefile dlls/mlang enable_mlang
20700 wine_fn_config_makefile dlls/mlang/tests enable_tests
20701 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20702 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20703 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20704 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20705 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20706 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20707 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20708 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20709 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20710 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20711 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20712 wine_fn_config_makefile dlls/mpr enable_mpr
20713 wine_fn_config_makefile dlls/mpr/tests enable_tests
20714 wine_fn_config_makefile dlls/mprapi enable_mprapi
20715 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20716 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20717 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20718 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20719 wine_fn_config_makefile dlls/msado15 enable_msado15
20720 wine_fn_config_makefile dlls/msado15/tests enable_tests
20721 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20722 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20723 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20724 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20725 wine_fn_config_makefile dlls/mscms enable_mscms
20726 wine_fn_config_makefile dlls/mscms/tests enable_tests
20727 wine_fn_config_makefile dlls/mscoree enable_mscoree
20728 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20729 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20730 wine_fn_config_makefile dlls/msctf enable_msctf
20731 wine_fn_config_makefile dlls/msctf/tests enable_tests
20732 wine_fn_config_makefile dlls/msctfp enable_msctfp
20733 wine_fn_config_makefile dlls/msdaps enable_msdaps
20734 wine_fn_config_makefile dlls/msdelta enable_msdelta
20735 wine_fn_config_makefile dlls/msdmo enable_msdmo
20736 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20737 wine_fn_config_makefile dlls/msdrm enable_msdrm
20738 wine_fn_config_makefile dlls/msftedit enable_msftedit
20739 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20740 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20741 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20742 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20743 wine_fn_config_makefile dlls/mshtml enable_mshtml
20744 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20745 wine_fn_config_makefile dlls/msi enable_msi
20746 wine_fn_config_makefile dlls/msi/tests enable_tests
20747 wine_fn_config_makefile dlls/msident enable_msident
20748 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20749 wine_fn_config_makefile dlls/msimsg enable_msimsg
20750 wine_fn_config_makefile dlls/msimtf enable_msimtf
20751 wine_fn_config_makefile dlls/msisip enable_msisip
20752 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20753 wine_fn_config_makefile dlls/msls31 enable_msls31
20754 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20755 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20756 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20757 wine_fn_config_makefile dlls/msports enable_msports
20758 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20759 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20760 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20761 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20762 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20763 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20764 wine_fn_config_makefile dlls/mstask enable_mstask
20765 wine_fn_config_makefile dlls/mstask/tests enable_tests
20766 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20767 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20768 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20769 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20770 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20771 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20772 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20773 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20774 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20775 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20776 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20777 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20778 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20779 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20780 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20781 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20782 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20783 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20784 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20785 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20786 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20787 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20788 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20789 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20790 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20791 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20792 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20793 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20794 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20795 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20796 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20797 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20798 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20799 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20800 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20801 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20802 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20803 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20804 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20805 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20806 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20807 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20808 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20809 wine_fn_config_makefile dlls/mswsock enable_mswsock
20810 wine_fn_config_makefile dlls/msxml enable_msxml
20811 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20812 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20813 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20814 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20815 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20816 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20817 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20818 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20819 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20820 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20821 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20822 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20823 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20824 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20825 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20826 wine_fn_config_makefile dlls/netprofm enable_netprofm
20827 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20828 wine_fn_config_makefile dlls/newdev enable_newdev
20829 wine_fn_config_makefile dlls/ninput enable_ninput
20830 wine_fn_config_makefile dlls/ninput/tests enable_tests
20831 wine_fn_config_makefile dlls/normaliz enable_normaliz
20832 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20833 wine_fn_config_makefile dlls/npptools enable_npptools
20834 wine_fn_config_makefile dlls/ntdll enable_ntdll
20835 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20836 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20837 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20838 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20839 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20840 wine_fn_config_makefile dlls/ntprint enable_ntprint
20841 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20842 wine_fn_config_makefile dlls/objsel enable_objsel
20843 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20844 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20845 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20846 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20847 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20848 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20849 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20850 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20851 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20852 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20853 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20854 wine_fn_config_makefile dlls/ole32 enable_ole32
20855 wine_fn_config_makefile dlls/ole32/tests enable_tests
20856 wine_fn_config_makefile dlls/oleacc enable_oleacc
20857 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20858 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20859 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20860 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20861 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20862 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20863 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20864 wine_fn_config_makefile dlls/oledlg enable_oledlg
20865 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20866 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20867 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20868 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20869 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20870 wine_fn_config_makefile dlls/opcservices enable_opcservices
20871 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20872 wine_fn_config_makefile dlls/openal32 enable_openal32
20873 wine_fn_config_makefile dlls/opencl enable_opencl
20874 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20875 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20876 wine_fn_config_makefile dlls/packager enable_packager
20877 wine_fn_config_makefile dlls/packager/tests enable_tests
20878 wine_fn_config_makefile dlls/pdh enable_pdh
20879 wine_fn_config_makefile dlls/pdh/tests enable_tests
20880 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20881 wine_fn_config_makefile dlls/pidgen enable_pidgen
20882 wine_fn_config_makefile dlls/powrprof enable_powrprof
20883 wine_fn_config_makefile dlls/printui enable_printui
20884 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20885 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20886 wine_fn_config_makefile dlls/propsys enable_propsys
20887 wine_fn_config_makefile dlls/propsys/tests enable_tests
20888 wine_fn_config_makefile dlls/psapi enable_psapi
20889 wine_fn_config_makefile dlls/psapi/tests enable_tests
20890 wine_fn_config_makefile dlls/pstorec enable_pstorec
20891 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20892 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20893 wine_fn_config_makefile dlls/qasf enable_qasf
20894 wine_fn_config_makefile dlls/qasf/tests enable_tests
20895 wine_fn_config_makefile dlls/qcap enable_qcap
20896 wine_fn_config_makefile dlls/qcap/tests enable_tests
20897 wine_fn_config_makefile dlls/qdvd enable_qdvd
20898 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20899 wine_fn_config_makefile dlls/qedit enable_qedit
20900 wine_fn_config_makefile dlls/qedit/tests enable_tests
20901 wine_fn_config_makefile dlls/qmgr enable_qmgr
20902 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20903 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20904 wine_fn_config_makefile dlls/quartz enable_quartz
20905 wine_fn_config_makefile dlls/quartz/tests enable_tests
20906 wine_fn_config_makefile dlls/query enable_query
20907 wine_fn_config_makefile dlls/qwave enable_qwave
20908 wine_fn_config_makefile dlls/qwave/tests enable_tests
20909 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20910 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20911 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20912 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20913 wine_fn_config_makefile dlls/regapi enable_regapi
20914 wine_fn_config_makefile dlls/resutils enable_resutils
20915 wine_fn_config_makefile dlls/riched20 enable_riched20
20916 wine_fn_config_makefile dlls/riched20/tests enable_tests
20917 wine_fn_config_makefile dlls/riched32 enable_riched32
20918 wine_fn_config_makefile dlls/riched32/tests enable_tests
20919 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20920 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20921 wine_fn_config_makefile dlls/rsabase enable_rsabase
20922 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20923 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20924 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20925 wine_fn_config_makefile dlls/rtutils enable_rtutils
20926 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20927 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20928 wine_fn_config_makefile dlls/samlib enable_samlib
20929 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20930 wine_fn_config_makefile dlls/sapi enable_sapi
20931 wine_fn_config_makefile dlls/sapi/tests enable_tests
20932 wine_fn_config_makefile dlls/sas enable_sas
20933 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20934 wine_fn_config_makefile dlls/sccbase enable_sccbase
20935 wine_fn_config_makefile dlls/schannel enable_schannel
20936 wine_fn_config_makefile dlls/schannel/tests enable_tests
20937 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20938 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20939 wine_fn_config_makefile dlls/scrobj enable_scrobj
20940 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20941 wine_fn_config_makefile dlls/scrrun enable_scrrun
20942 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20943 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20944 wine_fn_config_makefile dlls/sechost enable_sechost
20945 wine_fn_config_makefile dlls/secur32 enable_secur32
20946 wine_fn_config_makefile dlls/secur32/tests enable_tests
20947 wine_fn_config_makefile dlls/security enable_security
20948 wine_fn_config_makefile dlls/sensapi enable_sensapi
20949 wine_fn_config_makefile dlls/serialui enable_serialui
20950 wine_fn_config_makefile dlls/serialui/tests enable_tests
20951 wine_fn_config_makefile dlls/setupapi enable_setupapi
20952 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20953 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20954 wine_fn_config_makefile dlls/sfc enable_sfc
20955 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20956 wine_fn_config_makefile dlls/shcore enable_shcore
20957 wine_fn_config_makefile dlls/shcore/tests enable_tests
20958 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20959 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20960 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20961 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20962 wine_fn_config_makefile dlls/shell32 enable_shell32
20963 wine_fn_config_makefile dlls/shell32/tests enable_tests
20964 wine_fn_config_makefile dlls/shfolder enable_shfolder
20965 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20966 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20967 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20968 wine_fn_config_makefile dlls/slc enable_slc
20969 wine_fn_config_makefile dlls/slc/tests enable_tests
20970 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20971 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20972 wine_fn_config_makefile dlls/softpub enable_softpub
20973 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20974 wine_fn_config_makefile dlls/spoolss enable_spoolss
20975 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20976 wine_fn_config_makefile dlls/srclient enable_srclient
20977 wine_fn_config_makefile dlls/sspicli enable_sspicli
20978 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20979 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20980 wine_fn_config_makefile dlls/sti enable_sti
20981 wine_fn_config_makefile dlls/sti/tests enable_tests
20982 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20983 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20984 wine_fn_config_makefile dlls/strmbase enable_strmbase
20985 wine_fn_config_makefile dlls/strmdll enable_strmdll
20986 wine_fn_config_makefile dlls/strmiids enable_strmiids
20987 wine_fn_config_makefile dlls/svrapi enable_svrapi
20988 wine_fn_config_makefile dlls/sxs enable_sxs
20989 wine_fn_config_makefile dlls/sxs/tests enable_tests
20990 wine_fn_config_makefile dlls/system.drv16 enable_win16
20991 wine_fn_config_makefile dlls/t2embed enable_t2embed
20992 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20993 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20994 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20995 wine_fn_config_makefile dlls/taskschd enable_taskschd
20996 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20997 wine_fn_config_makefile dlls/tdh enable_tdh
20998 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20999 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21000 wine_fn_config_makefile dlls/traffic enable_traffic
21001 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21002 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21003 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21004 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21005 wine_fn_config_makefile dlls/tzres enable_tzres
21006 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21007 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21008 wine_fn_config_makefile dlls/uianimation enable_uianimation
21009 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21010 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21011 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21012 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21013 wine_fn_config_makefile dlls/unicows enable_unicows
21014 wine_fn_config_makefile dlls/updspapi enable_updspapi
21015 wine_fn_config_makefile dlls/url enable_url
21016 wine_fn_config_makefile dlls/urlmon enable_urlmon
21017 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21018 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21019 wine_fn_config_makefile dlls/user.exe16 enable_win16
21020 wine_fn_config_makefile dlls/user32 enable_user32
21021 wine_fn_config_makefile dlls/user32/tests enable_tests
21022 wine_fn_config_makefile dlls/userenv enable_userenv
21023 wine_fn_config_makefile dlls/userenv/tests enable_tests
21024 wine_fn_config_makefile dlls/usp10 enable_usp10
21025 wine_fn_config_makefile dlls/usp10/tests enable_tests
21026 wine_fn_config_makefile dlls/utildll enable_utildll
21027 wine_fn_config_makefile dlls/uuid enable_uuid
21028 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21029 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21030 wine_fn_config_makefile dlls/vbscript enable_vbscript
21031 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21032 wine_fn_config_makefile dlls/vcomp enable_vcomp
21033 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21034 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21035 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21036 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21037 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21038 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21039 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21040 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21041 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21042 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21043 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21044 wine_fn_config_makefile dlls/version enable_version
21045 wine_fn_config_makefile dlls/version/tests enable_tests
21046 wine_fn_config_makefile dlls/vga enable_vga
21047 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21048 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21049 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21050 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21051 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21052 wine_fn_config_makefile dlls/vssapi enable_vssapi
21053 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21054 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21055 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21056 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21057 wine_fn_config_makefile dlls/w32skrnl enable_win16
21058 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21059 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21060 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21061 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21062 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21063 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21064 wine_fn_config_makefile dlls/wdscore enable_wdscore
21065 wine_fn_config_makefile dlls/webservices enable_webservices
21066 wine_fn_config_makefile dlls/webservices/tests enable_tests
21067 wine_fn_config_makefile dlls/wer enable_wer
21068 wine_fn_config_makefile dlls/wer/tests enable_tests
21069 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21070 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21071 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21072 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21073 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21074 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21075 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21076 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21077 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21078 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21079 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21080 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21081 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21082 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21083 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21084 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21085 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21086 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21087 wine_fn_config_makefile dlls/wined3d enable_wined3d
21088 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21089 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21090 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21091 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21092 wine_fn_config_makefile dlls/winemapi enable_winemapi
21093 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21094 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21095 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21096 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21097 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21098 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21099 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21100 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21101 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21102 wine_fn_config_makefile dlls/wing32 enable_wing32
21103 wine_fn_config_makefile dlls/winhttp enable_winhttp
21104 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21105 wine_fn_config_makefile dlls/wininet enable_wininet
21106 wine_fn_config_makefile dlls/wininet/tests enable_tests
21107 wine_fn_config_makefile dlls/winmm enable_winmm
21108 wine_fn_config_makefile dlls/winmm/tests enable_tests
21109 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21110 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21111 wine_fn_config_makefile dlls/winscard enable_winscard
21112 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21113 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21114 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21115 wine_fn_config_makefile dlls/winsta enable_winsta
21116 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21117 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21118 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21119 wine_fn_config_makefile dlls/wintrust enable_wintrust
21120 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21121 wine_fn_config_makefile dlls/winusb enable_winusb
21122 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21123 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21124 wine_fn_config_makefile dlls/wlanui enable_wlanui
21125 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21126 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21127 wine_fn_config_makefile dlls/wmasf enable_wmasf
21128 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21129 wine_fn_config_makefile dlls/wmi enable_wmi
21130 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21131 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21132 wine_fn_config_makefile dlls/wmp enable_wmp
21133 wine_fn_config_makefile dlls/wmp/tests enable_tests
21134 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21135 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21136 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21137 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21138 wine_fn_config_makefile dlls/wow32 enable_win16
21139 wine_fn_config_makefile dlls/wpc enable_wpc
21140 wine_fn_config_makefile dlls/wpc/tests enable_tests
21141 wine_fn_config_makefile dlls/wpcap enable_wpcap
21142 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21143 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21144 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21145 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21146 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21147 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21148 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21149 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21150 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21151 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21152 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21153 wine_fn_config_makefile dlls/wuapi enable_wuapi
21154 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21155 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21156 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21157 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21158 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21159 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21160 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21161 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21162 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21163 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21164 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21165 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21166 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21167 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21168 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21169 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21170 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21171 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21172 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21173 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21174 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21175 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21176 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21177 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21178 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21179 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21180 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21181 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21182 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21183 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21184 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21185 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21186 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21187 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21188 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21189 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21190 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21191 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21192 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21193 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21194 wine_fn_config_makefile dlls/xmllite enable_xmllite
21195 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21196 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21197 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21198 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21199 wine_fn_config_makefile fonts enable_fonts
21200 wine_fn_config_makefile include enable_include
21201 wine_fn_config_makefile libs/port enable_port
21202 wine_fn_config_makefile libs/wine enable_wine
21203 wine_fn_config_makefile libs/wpp enable_wpp
21204 wine_fn_config_makefile loader enable_loader
21205 wine_fn_config_makefile nls enable_nls
21206 wine_fn_config_makefile po enable_po
21207 wine_fn_config_makefile programs/arp enable_arp
21208 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21209 wine_fn_config_makefile programs/attrib enable_attrib
21210 wine_fn_config_makefile programs/cabarc enable_cabarc
21211 wine_fn_config_makefile programs/cacls enable_cacls
21212 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21213 wine_fn_config_makefile programs/clock enable_clock
21214 wine_fn_config_makefile programs/cmd enable_cmd
21215 wine_fn_config_makefile programs/cmd/tests enable_tests
21216 wine_fn_config_makefile programs/conhost enable_conhost
21217 wine_fn_config_makefile programs/conhost/tests enable_tests
21218 wine_fn_config_makefile programs/control enable_control
21219 wine_fn_config_makefile programs/cscript enable_cscript
21220 wine_fn_config_makefile programs/dism enable_dism
21221 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21222 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21223 wine_fn_config_makefile programs/eject enable_eject
21224 wine_fn_config_makefile programs/expand enable_expand
21225 wine_fn_config_makefile programs/explorer enable_explorer
21226 wine_fn_config_makefile programs/extrac32 enable_extrac32
21227 wine_fn_config_makefile programs/fc enable_fc
21228 wine_fn_config_makefile programs/find enable_find
21229 wine_fn_config_makefile programs/find/tests enable_tests
21230 wine_fn_config_makefile programs/findstr enable_findstr
21231 wine_fn_config_makefile programs/fsutil enable_fsutil
21232 wine_fn_config_makefile programs/fsutil/tests enable_tests
21233 wine_fn_config_makefile programs/hh enable_hh
21234 wine_fn_config_makefile programs/hostname enable_hostname
21235 wine_fn_config_makefile programs/icacls enable_icacls
21236 wine_fn_config_makefile programs/icinfo enable_icinfo
21237 wine_fn_config_makefile programs/iexplore enable_iexplore
21238 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21239 wine_fn_config_makefile programs/lodctr enable_lodctr
21240 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21241 wine_fn_config_makefile programs/mshta enable_mshta
21242 wine_fn_config_makefile programs/msidb enable_msidb
21243 wine_fn_config_makefile programs/msiexec enable_msiexec
21244 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21245 wine_fn_config_makefile programs/net enable_net
21246 wine_fn_config_makefile programs/netsh enable_netsh
21247 wine_fn_config_makefile programs/netstat enable_netstat
21248 wine_fn_config_makefile programs/ngen enable_ngen
21249 wine_fn_config_makefile programs/notepad enable_notepad
21250 wine_fn_config_makefile programs/oleview enable_oleview
21251 wine_fn_config_makefile programs/ping enable_ping
21252 wine_fn_config_makefile programs/plugplay enable_plugplay
21253 wine_fn_config_makefile programs/powershell enable_powershell
21254 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21255 wine_fn_config_makefile programs/progman enable_progman
21256 wine_fn_config_makefile programs/reg enable_reg
21257 wine_fn_config_makefile programs/reg/tests enable_tests
21258 wine_fn_config_makefile programs/regasm enable_regasm
21259 wine_fn_config_makefile programs/regedit enable_regedit
21260 wine_fn_config_makefile programs/regedit/tests enable_tests
21261 wine_fn_config_makefile programs/regini enable_regini
21262 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21263 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21264 wine_fn_config_makefile programs/rpcss enable_rpcss
21265 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21266 wine_fn_config_makefile programs/rundll32 enable_rundll32
21267 wine_fn_config_makefile programs/sc enable_sc
21268 wine_fn_config_makefile programs/schtasks enable_schtasks
21269 wine_fn_config_makefile programs/schtasks/tests enable_tests
21270 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21271 wine_fn_config_makefile programs/secedit enable_secedit
21272 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21273 wine_fn_config_makefile programs/services enable_services
21274 wine_fn_config_makefile programs/services/tests enable_tests
21275 wine_fn_config_makefile programs/shutdown enable_shutdown
21276 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21277 wine_fn_config_makefile programs/start enable_start
21278 wine_fn_config_makefile programs/subst enable_subst
21279 wine_fn_config_makefile programs/svchost enable_svchost
21280 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21281 wine_fn_config_makefile programs/taskkill enable_taskkill
21282 wine_fn_config_makefile programs/tasklist enable_tasklist
21283 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21284 wine_fn_config_makefile programs/termsv enable_termsv
21285 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21286 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21287 wine_fn_config_makefile programs/view enable_view
21288 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21289 wine_fn_config_makefile programs/where enable_where
21290 wine_fn_config_makefile programs/whoami enable_whoami
21291 wine_fn_config_makefile programs/wineboot enable_wineboot
21292 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21293 wine_fn_config_makefile programs/winecfg enable_winecfg
21294 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21295 wine_fn_config_makefile programs/winedbg enable_winedbg
21296 wine_fn_config_makefile programs/winedevice enable_winedevice
21297 wine_fn_config_makefile programs/winefile enable_winefile
21298 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21299 wine_fn_config_makefile programs/winemine enable_winemine
21300 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21301 wine_fn_config_makefile programs/winepath enable_winepath
21302 wine_fn_config_makefile programs/winetest enable_winetest
21303 wine_fn_config_makefile programs/winevdm enable_win16
21304 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21305 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21306 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21307 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21308 wine_fn_config_makefile programs/winver enable_winver
21309 wine_fn_config_makefile programs/wmic enable_wmic
21310 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21311 wine_fn_config_makefile programs/wordpad enable_wordpad
21312 wine_fn_config_makefile programs/write enable_write
21313 wine_fn_config_makefile programs/wscript enable_wscript
21314 wine_fn_config_makefile programs/wscript/tests enable_tests
21315 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21316 wine_fn_config_makefile programs/wusa enable_wusa
21317 wine_fn_config_makefile programs/xcopy enable_xcopy
21318 wine_fn_config_makefile programs/xcopy/tests enable_tests
21319 wine_fn_config_makefile server enable_server
21320 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21321 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21322 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21323 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21324 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21325 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21326 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21327 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21328 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21331 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21332 wine_fn_append_file CONFIGURE_TARGETS "tags"
21333 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21334 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21335 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21336 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21337 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21338 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21340 if test "x$enable_tools" != xno
21341 then
21342 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21343 ac_config_commands="$ac_config_commands tools/makedep"
21347 ac_config_commands="$ac_config_commands Makefile"
21350 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21354 if test "x$enable_maintainer_mode" = xyes
21355 then
21356 wine_fn_append_rule "configure: configure.ac aclocal.m4
21357 autoconf --warnings=all
21358 include/config.h.in: include/stamp-h.in
21359 include/stamp-h.in: configure.ac aclocal.m4
21360 autoheader --warnings=all
21361 @echo timestamp > \$@"
21364 if test "x$enable_tools" != xno
21365 then
21366 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21367 @./config.status tools/makedep
21368 Makefile: tools/makedep$ac_exeext"
21369 else
21370 wine_fn_append_rule "\$(MAKEDEP):
21371 @echo \"You need to run make in $TOOLSDIR first\" && false"
21374 if test -n "$with_wine64"
21375 then
21376 case "$with_wine64" in
21377 /*) reldir="" ;;
21378 *) reldir="../" ;;
21379 esac
21380 rm -f fonts server 2>/dev/null
21381 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21382 loader/wine64 loader/wine64-preloader:
21383 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21384 $with_wine64/loader/wine:
21385 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21386 $with_wine64/loader/wine-preloader:
21387 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21388 clean::
21389 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21390 else
21391 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21392 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21393 fonts \
21394 loader/wine.inf \
21395 loader/winebus.inf \
21396 loader/winehid.inf \
21397 loader/wineusb.inf \
21398 nls \
21399 programs/msidb/msidb \
21400 programs/msiexec/msiexec \
21401 programs/notepad/notepad \
21402 programs/regedit/regedit \
21403 programs/regsvr32/regsvr32 \
21404 programs/wineboot/wineboot \
21405 programs/winecfg/winecfg \
21406 programs/wineconsole/wineconsole \
21407 programs/winedbg/winedbg \
21408 programs/winefile/winefile \
21409 programs/winemine/winemine \
21410 programs/winepath/winepath \
21411 server/wineserver"
21413 case $host_os in
21414 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21415 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21416 esac
21419 $as_echo " done" >&6
21420 cat >confcache <<\_ACEOF
21421 # This file is a shell script that caches the results of configure
21422 # tests run on this system so they can be shared between configure
21423 # scripts and configure runs, see configure's option --config-cache.
21424 # It is not useful on other systems. If it contains results you don't
21425 # want to keep, you may remove or edit it.
21427 # config.status only pays attention to the cache file if you give it
21428 # the --recheck option to rerun configure.
21430 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21431 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21432 # following values.
21434 _ACEOF
21436 # The following way of writing the cache mishandles newlines in values,
21437 # but we know of no workaround that is simple, portable, and efficient.
21438 # So, we kill variables containing newlines.
21439 # Ultrix sh set writes to stderr and can't be redirected directly,
21440 # and sets the high bit in the cache file unless we assign to the vars.
21442 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21443 eval ac_val=\$$ac_var
21444 case $ac_val in #(
21445 *${as_nl}*)
21446 case $ac_var in #(
21447 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21448 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21449 esac
21450 case $ac_var in #(
21451 _ | IFS | as_nl) ;; #(
21452 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21453 *) { eval $ac_var=; unset $ac_var;} ;;
21454 esac ;;
21455 esac
21456 done
21458 (set) 2>&1 |
21459 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21460 *${as_nl}ac_space=\ *)
21461 # `set' does not quote correctly, so add quotes: double-quote
21462 # substitution turns \\\\ into \\, and sed turns \\ into \.
21463 sed -n \
21464 "s/'/'\\\\''/g;
21465 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21466 ;; #(
21468 # `set' quotes correctly as required by POSIX, so do not add quotes.
21469 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21471 esac |
21472 sort
21474 sed '
21475 /^ac_cv_env_/b end
21476 t clear
21477 :clear
21478 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21479 t end
21480 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21481 :end' >>confcache
21482 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21483 if test -w "$cache_file"; then
21484 if test "x$cache_file" != "x/dev/null"; then
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21486 $as_echo "$as_me: updating cache $cache_file" >&6;}
21487 if test ! -f "$cache_file" || test -h "$cache_file"; then
21488 cat confcache >"$cache_file"
21489 else
21490 case $cache_file in #(
21491 */* | ?:*)
21492 mv -f confcache "$cache_file"$$ &&
21493 mv -f "$cache_file"$$ "$cache_file" ;; #(
21495 mv -f confcache "$cache_file" ;;
21496 esac
21499 else
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21501 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21504 rm -f confcache
21506 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21507 # Let make expand exec_prefix.
21508 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21510 DEFS=-DHAVE_CONFIG_H
21512 ac_libobjs=
21513 ac_ltlibobjs=
21515 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21516 # 1. Remove the extension, and $U if already installed.
21517 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21518 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21519 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21520 # will be set to the directory where LIBOBJS objects are built.
21521 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21522 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21523 done
21524 LIBOBJS=$ac_libobjs
21526 LTLIBOBJS=$ac_ltlibobjs
21530 : "${CONFIG_STATUS=./config.status}"
21531 ac_write_fail=0
21532 ac_clean_files_save=$ac_clean_files
21533 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21534 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21535 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21536 as_write_fail=0
21537 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21538 #! $SHELL
21539 # Generated by $as_me.
21540 # Run this file to recreate the current configuration.
21541 # Compiler output produced by configure, useful for debugging
21542 # configure, is in config.log if it exists.
21544 debug=false
21545 ac_cs_recheck=false
21546 ac_cs_silent=false
21548 SHELL=\${CONFIG_SHELL-$SHELL}
21549 export SHELL
21550 _ASEOF
21551 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21552 ## -------------------- ##
21553 ## M4sh Initialization. ##
21554 ## -------------------- ##
21556 # Be more Bourne compatible
21557 DUALCASE=1; export DUALCASE # for MKS sh
21558 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21559 emulate sh
21560 NULLCMD=:
21561 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21562 # is contrary to our usage. Disable this feature.
21563 alias -g '${1+"$@"}'='"$@"'
21564 setopt NO_GLOB_SUBST
21565 else
21566 case `(set -o) 2>/dev/null` in #(
21567 *posix*) :
21568 set -o posix ;; #(
21569 *) :
21571 esac
21575 as_nl='
21577 export as_nl
21578 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21579 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21580 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21581 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21582 # Prefer a ksh shell builtin over an external printf program on Solaris,
21583 # but without wasting forks for bash or zsh.
21584 if test -z "$BASH_VERSION$ZSH_VERSION" \
21585 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21586 as_echo='print -r --'
21587 as_echo_n='print -rn --'
21588 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21589 as_echo='printf %s\n'
21590 as_echo_n='printf %s'
21591 else
21592 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21593 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21594 as_echo_n='/usr/ucb/echo -n'
21595 else
21596 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21597 as_echo_n_body='eval
21598 arg=$1;
21599 case $arg in #(
21600 *"$as_nl"*)
21601 expr "X$arg" : "X\\(.*\\)$as_nl";
21602 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21603 esac;
21604 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21606 export as_echo_n_body
21607 as_echo_n='sh -c $as_echo_n_body as_echo'
21609 export as_echo_body
21610 as_echo='sh -c $as_echo_body as_echo'
21613 # The user is always right.
21614 if test "${PATH_SEPARATOR+set}" != set; then
21615 PATH_SEPARATOR=:
21616 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21617 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21618 PATH_SEPARATOR=';'
21623 # IFS
21624 # We need space, tab and new line, in precisely that order. Quoting is
21625 # there to prevent editors from complaining about space-tab.
21626 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21627 # splitting by setting IFS to empty value.)
21628 IFS=" "" $as_nl"
21630 # Find who we are. Look in the path if we contain no directory separator.
21631 as_myself=
21632 case $0 in #((
21633 *[\\/]* ) as_myself=$0 ;;
21634 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21635 for as_dir in $PATH
21637 IFS=$as_save_IFS
21638 test -z "$as_dir" && as_dir=.
21639 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21640 done
21641 IFS=$as_save_IFS
21644 esac
21645 # We did not find ourselves, most probably we were run as `sh COMMAND'
21646 # in which case we are not to be found in the path.
21647 if test "x$as_myself" = x; then
21648 as_myself=$0
21650 if test ! -f "$as_myself"; then
21651 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21652 exit 1
21655 # Unset variables that we do not need and which cause bugs (e.g. in
21656 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21657 # suppresses any "Segmentation fault" message there. '((' could
21658 # trigger a bug in pdksh 5.2.14.
21659 for as_var in BASH_ENV ENV MAIL MAILPATH
21660 do eval test x\${$as_var+set} = xset \
21661 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21662 done
21663 PS1='$ '
21664 PS2='> '
21665 PS4='+ '
21667 # NLS nuisances.
21668 LC_ALL=C
21669 export LC_ALL
21670 LANGUAGE=C
21671 export LANGUAGE
21673 # CDPATH.
21674 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21677 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21678 # ----------------------------------------
21679 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21680 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21681 # script with STATUS, using 1 if that was 0.
21682 as_fn_error ()
21684 as_status=$1; test $as_status -eq 0 && as_status=1
21685 if test "$4"; then
21686 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21687 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21689 $as_echo "$as_me: error: $2" >&2
21690 as_fn_exit $as_status
21691 } # as_fn_error
21694 # as_fn_set_status STATUS
21695 # -----------------------
21696 # Set $? to STATUS, without forking.
21697 as_fn_set_status ()
21699 return $1
21700 } # as_fn_set_status
21702 # as_fn_exit STATUS
21703 # -----------------
21704 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21705 as_fn_exit ()
21707 set +e
21708 as_fn_set_status $1
21709 exit $1
21710 } # as_fn_exit
21712 # as_fn_unset VAR
21713 # ---------------
21714 # Portably unset VAR.
21715 as_fn_unset ()
21717 { eval $1=; unset $1;}
21719 as_unset=as_fn_unset
21720 # as_fn_append VAR VALUE
21721 # ----------------------
21722 # Append the text in VALUE to the end of the definition contained in VAR. Take
21723 # advantage of any shell optimizations that allow amortized linear growth over
21724 # repeated appends, instead of the typical quadratic growth present in naive
21725 # implementations.
21726 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21727 eval 'as_fn_append ()
21729 eval $1+=\$2
21731 else
21732 as_fn_append ()
21734 eval $1=\$$1\$2
21736 fi # as_fn_append
21738 # as_fn_arith ARG...
21739 # ------------------
21740 # Perform arithmetic evaluation on the ARGs, and store the result in the
21741 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21742 # must be portable across $(()) and expr.
21743 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21744 eval 'as_fn_arith ()
21746 as_val=$(( $* ))
21748 else
21749 as_fn_arith ()
21751 as_val=`expr "$@" || test $? -eq 1`
21753 fi # as_fn_arith
21756 if expr a : '\(a\)' >/dev/null 2>&1 &&
21757 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21758 as_expr=expr
21759 else
21760 as_expr=false
21763 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21764 as_basename=basename
21765 else
21766 as_basename=false
21769 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21770 as_dirname=dirname
21771 else
21772 as_dirname=false
21775 as_me=`$as_basename -- "$0" ||
21776 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21777 X"$0" : 'X\(//\)$' \| \
21778 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21779 $as_echo X/"$0" |
21780 sed '/^.*\/\([^/][^/]*\)\/*$/{
21781 s//\1/
21784 /^X\/\(\/\/\)$/{
21785 s//\1/
21788 /^X\/\(\/\).*/{
21789 s//\1/
21792 s/.*/./; q'`
21794 # Avoid depending upon Character Ranges.
21795 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21796 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21797 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21798 as_cr_digits='0123456789'
21799 as_cr_alnum=$as_cr_Letters$as_cr_digits
21801 ECHO_C= ECHO_N= ECHO_T=
21802 case `echo -n x` in #(((((
21803 -n*)
21804 case `echo 'xy\c'` in
21805 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21806 xy) ECHO_C='\c';;
21807 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21808 ECHO_T=' ';;
21809 esac;;
21811 ECHO_N='-n';;
21812 esac
21814 rm -f conf$$ conf$$.exe conf$$.file
21815 if test -d conf$$.dir; then
21816 rm -f conf$$.dir/conf$$.file
21817 else
21818 rm -f conf$$.dir
21819 mkdir conf$$.dir 2>/dev/null
21821 if (echo >conf$$.file) 2>/dev/null; then
21822 if ln -s conf$$.file conf$$ 2>/dev/null; then
21823 as_ln_s='ln -s'
21824 # ... but there are two gotchas:
21825 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21826 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21827 # In both cases, we have to default to `cp -pR'.
21828 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21829 as_ln_s='cp -pR'
21830 elif ln conf$$.file conf$$ 2>/dev/null; then
21831 as_ln_s=ln
21832 else
21833 as_ln_s='cp -pR'
21835 else
21836 as_ln_s='cp -pR'
21838 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21839 rmdir conf$$.dir 2>/dev/null
21842 # as_fn_mkdir_p
21843 # -------------
21844 # Create "$as_dir" as a directory, including parents if necessary.
21845 as_fn_mkdir_p ()
21848 case $as_dir in #(
21849 -*) as_dir=./$as_dir;;
21850 esac
21851 test -d "$as_dir" || eval $as_mkdir_p || {
21852 as_dirs=
21853 while :; do
21854 case $as_dir in #(
21855 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21856 *) as_qdir=$as_dir;;
21857 esac
21858 as_dirs="'$as_qdir' $as_dirs"
21859 as_dir=`$as_dirname -- "$as_dir" ||
21860 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21861 X"$as_dir" : 'X\(//\)[^/]' \| \
21862 X"$as_dir" : 'X\(//\)$' \| \
21863 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21864 $as_echo X"$as_dir" |
21865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21866 s//\1/
21869 /^X\(\/\/\)[^/].*/{
21870 s//\1/
21873 /^X\(\/\/\)$/{
21874 s//\1/
21877 /^X\(\/\).*/{
21878 s//\1/
21881 s/.*/./; q'`
21882 test -d "$as_dir" && break
21883 done
21884 test -z "$as_dirs" || eval "mkdir $as_dirs"
21885 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21888 } # as_fn_mkdir_p
21889 if mkdir -p . 2>/dev/null; then
21890 as_mkdir_p='mkdir -p "$as_dir"'
21891 else
21892 test -d ./-p && rmdir ./-p
21893 as_mkdir_p=false
21897 # as_fn_executable_p FILE
21898 # -----------------------
21899 # Test if FILE is an executable regular file.
21900 as_fn_executable_p ()
21902 test -f "$1" && test -x "$1"
21903 } # as_fn_executable_p
21904 as_test_x='test -x'
21905 as_executable_p=as_fn_executable_p
21907 # Sed expression to map a string onto a valid CPP name.
21908 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21910 # Sed expression to map a string onto a valid variable name.
21911 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21914 exec 6>&1
21915 ## ----------------------------------- ##
21916 ## Main body of $CONFIG_STATUS script. ##
21917 ## ----------------------------------- ##
21918 _ASEOF
21919 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21922 # Save the log message, to keep $0 and so on meaningful, and to
21923 # report actual input values of CONFIG_FILES etc. instead of their
21924 # values after options handling.
21925 ac_log="
21926 This file was extended by Wine $as_me 5.19, which was
21927 generated by GNU Autoconf 2.69. Invocation command line was
21929 CONFIG_FILES = $CONFIG_FILES
21930 CONFIG_HEADERS = $CONFIG_HEADERS
21931 CONFIG_LINKS = $CONFIG_LINKS
21932 CONFIG_COMMANDS = $CONFIG_COMMANDS
21933 $ $0 $@
21935 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21938 _ACEOF
21940 case $ac_config_files in *"
21941 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21942 esac
21944 case $ac_config_headers in *"
21945 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21946 esac
21949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21950 # Files that config.status was made for.
21951 config_files="$ac_config_files"
21952 config_headers="$ac_config_headers"
21953 config_links="$ac_config_links"
21954 config_commands="$ac_config_commands"
21956 _ACEOF
21958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21959 ac_cs_usage="\
21960 \`$as_me' instantiates files and other configuration actions
21961 from templates according to the current configuration. Unless the files
21962 and actions are specified as TAGs, all are instantiated by default.
21964 Usage: $0 [OPTION]... [TAG]...
21966 -h, --help print this help, then exit
21967 -V, --version print version number and configuration settings, then exit
21968 --config print configuration, then exit
21969 -q, --quiet, --silent
21970 do not print progress messages
21971 -d, --debug don't remove temporary files
21972 --recheck update $as_me by reconfiguring in the same conditions
21973 --file=FILE[:TEMPLATE]
21974 instantiate the configuration file FILE
21975 --header=FILE[:TEMPLATE]
21976 instantiate the configuration header FILE
21978 Configuration files:
21979 $config_files
21981 Configuration headers:
21982 $config_headers
21984 Configuration links:
21985 $config_links
21987 Configuration commands:
21988 $config_commands
21990 Report bugs to <wine-devel@winehq.org>.
21991 Wine home page: <https://www.winehq.org>."
21993 _ACEOF
21994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21995 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21996 ac_cs_version="\\
21997 Wine config.status 5.19
21998 configured by $0, generated by GNU Autoconf 2.69,
21999 with options \\"\$ac_cs_config\\"
22001 Copyright (C) 2012 Free Software Foundation, Inc.
22002 This config.status script is free software; the Free Software Foundation
22003 gives unlimited permission to copy, distribute and modify it."
22005 ac_pwd='$ac_pwd'
22006 srcdir='$srcdir'
22007 test -n "\$AWK" || AWK=awk
22008 _ACEOF
22010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22011 # The default lists apply if the user does not specify any file.
22012 ac_need_defaults=:
22013 while test $# != 0
22015 case $1 in
22016 --*=?*)
22017 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22018 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22019 ac_shift=:
22021 --*=)
22022 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22023 ac_optarg=
22024 ac_shift=:
22027 ac_option=$1
22028 ac_optarg=$2
22029 ac_shift=shift
22031 esac
22033 case $ac_option in
22034 # Handling of the options.
22035 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22036 ac_cs_recheck=: ;;
22037 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22038 $as_echo "$ac_cs_version"; exit ;;
22039 --config | --confi | --conf | --con | --co | --c )
22040 $as_echo "$ac_cs_config"; exit ;;
22041 --debug | --debu | --deb | --de | --d | -d )
22042 debug=: ;;
22043 --file | --fil | --fi | --f )
22044 $ac_shift
22045 case $ac_optarg in
22046 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22047 '') as_fn_error $? "missing file argument" ;;
22048 esac
22049 as_fn_append CONFIG_FILES " '$ac_optarg'"
22050 ac_need_defaults=false;;
22051 --header | --heade | --head | --hea )
22052 $ac_shift
22053 case $ac_optarg in
22054 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22055 esac
22056 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22057 ac_need_defaults=false;;
22058 --he | --h)
22059 # Conflict between --help and --header
22060 as_fn_error $? "ambiguous option: \`$1'
22061 Try \`$0 --help' for more information.";;
22062 --help | --hel | -h )
22063 $as_echo "$ac_cs_usage"; exit ;;
22064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22065 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22066 ac_cs_silent=: ;;
22068 # This is an error.
22069 -*) as_fn_error $? "unrecognized option: \`$1'
22070 Try \`$0 --help' for more information." ;;
22072 *) as_fn_append ac_config_targets " $1"
22073 ac_need_defaults=false ;;
22075 esac
22076 shift
22077 done
22079 ac_configure_extra_args=
22081 if $ac_cs_silent; then
22082 exec 6>/dev/null
22083 ac_configure_extra_args="$ac_configure_extra_args --silent"
22086 _ACEOF
22087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22088 if \$ac_cs_recheck; then
22089 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22090 shift
22091 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22092 CONFIG_SHELL='$SHELL'
22093 export CONFIG_SHELL
22094 exec "\$@"
22097 _ACEOF
22098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22099 exec 5>>config.log
22101 echo
22102 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22103 ## Running $as_me. ##
22104 _ASBOX
22105 $as_echo "$ac_log"
22106 } >&5
22108 _ACEOF
22109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22111 # INIT-COMMANDS
22113 wine_fn_output_makedep ()
22115 as_dir=tools; as_fn_mkdir_p
22116 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22118 wine_fn_output_makefile ()
22120 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22121 `cat $wine_rules_file`
22122 _WINE_EOF
22123 as_fn_error $? "could not create Makefile" "$LINENO" 5
22126 _ACEOF
22128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22130 # Handling of arguments.
22131 for ac_config_target in $ac_config_targets
22133 case $ac_config_target in
22134 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22135 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22136 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22137 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22138 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22139 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22140 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22142 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22143 esac
22144 done
22147 # If the user did not use the arguments to specify the items to instantiate,
22148 # then the envvar interface is used. Set only those that are not.
22149 # We use the long form for the default assignment because of an extremely
22150 # bizarre bug on SunOS 4.1.3.
22151 if $ac_need_defaults; then
22152 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22153 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22154 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22155 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22158 # Have a temporary directory for convenience. Make it in the build tree
22159 # simply because there is no reason against having it here, and in addition,
22160 # creating and moving files from /tmp can sometimes cause problems.
22161 # Hook for its removal unless debugging.
22162 # Note that there is a small window in which the directory will not be cleaned:
22163 # after its creation but before its name has been assigned to `$tmp'.
22164 $debug ||
22166 tmp= ac_tmp=
22167 trap 'exit_status=$?
22168 : "${ac_tmp:=$tmp}"
22169 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22171 trap 'as_fn_exit 1' 1 2 13 15
22173 # Create a (secure) tmp directory for tmp files.
22176 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22177 test -d "$tmp"
22178 } ||
22180 tmp=./conf$$-$RANDOM
22181 (umask 077 && mkdir "$tmp")
22182 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22183 ac_tmp=$tmp
22185 # Set up the scripts for CONFIG_FILES section.
22186 # No need to generate them if there are no CONFIG_FILES.
22187 # This happens for instance with `./config.status config.h'.
22188 if test -n "$CONFIG_FILES"; then
22191 ac_cr=`echo X | tr X '\015'`
22192 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22193 # But we know of no other shell where ac_cr would be empty at this
22194 # point, so we can use a bashism as a fallback.
22195 if test "x$ac_cr" = x; then
22196 eval ac_cr=\$\'\\r\'
22198 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22199 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22200 ac_cs_awk_cr='\\r'
22201 else
22202 ac_cs_awk_cr=$ac_cr
22205 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22206 _ACEOF
22210 echo "cat >conf$$subs.awk <<_ACEOF" &&
22211 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22212 echo "_ACEOF"
22213 } >conf$$subs.sh ||
22214 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22215 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22216 ac_delim='%!_!# '
22217 for ac_last_try in false false false false false :; do
22218 . ./conf$$subs.sh ||
22219 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22221 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22222 if test $ac_delim_n = $ac_delim_num; then
22223 break
22224 elif $ac_last_try; then
22225 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22226 else
22227 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22229 done
22230 rm -f conf$$subs.sh
22232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22233 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22234 _ACEOF
22235 sed -n '
22237 s/^/S["/; s/!.*/"]=/
22240 s/^[^!]*!//
22241 :repl
22242 t repl
22243 s/'"$ac_delim"'$//
22244 t delim
22247 s/\(.\{148\}\)..*/\1/
22248 t more1
22249 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22252 b repl
22253 :more1
22254 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22257 s/.\{148\}//
22258 t nl
22259 :delim
22261 s/\(.\{148\}\)..*/\1/
22262 t more2
22263 s/["\\]/\\&/g; s/^/"/; s/$/"/
22266 :more2
22267 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22270 s/.\{148\}//
22271 t delim
22272 ' <conf$$subs.awk | sed '
22273 /^[^""]/{
22275 s/\n//
22277 ' >>$CONFIG_STATUS || ac_write_fail=1
22278 rm -f conf$$subs.awk
22279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22280 _ACAWK
22281 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22282 for (key in S) S_is_set[key] = 1
22283 FS = "\a"
22287 line = $ 0
22288 nfields = split(line, field, "@")
22289 substed = 0
22290 len = length(field[1])
22291 for (i = 2; i < nfields; i++) {
22292 key = field[i]
22293 keylen = length(key)
22294 if (S_is_set[key]) {
22295 value = S[key]
22296 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22297 len += length(value) + length(field[++i])
22298 substed = 1
22299 } else
22300 len += 1 + keylen
22303 print line
22306 _ACAWK
22307 _ACEOF
22308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22309 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22310 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22311 else
22313 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22314 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22315 _ACEOF
22317 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22318 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22319 # trailing colons and then remove the whole line if VPATH becomes empty
22320 # (actually we leave an empty line to preserve line numbers).
22321 if test "x$srcdir" = x.; then
22322 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22324 s///
22325 s/^/:/
22326 s/[ ]*$/:/
22327 s/:\$(srcdir):/:/g
22328 s/:\${srcdir}:/:/g
22329 s/:@srcdir@:/:/g
22330 s/^:*//
22331 s/:*$//
22333 s/\(=[ ]*\).*/\1/
22335 s/\n//
22336 s/^[^=]*=[ ]*$//
22340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22341 fi # test -n "$CONFIG_FILES"
22343 # Set up the scripts for CONFIG_HEADERS section.
22344 # No need to generate them if there are no CONFIG_HEADERS.
22345 # This happens for instance with `./config.status Makefile'.
22346 if test -n "$CONFIG_HEADERS"; then
22347 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22348 BEGIN {
22349 _ACEOF
22351 # Transform confdefs.h into an awk script `defines.awk', embedded as
22352 # here-document in config.status, that substitutes the proper values into
22353 # config.h.in to produce config.h.
22355 # Create a delimiter string that does not exist in confdefs.h, to ease
22356 # handling of long lines.
22357 ac_delim='%!_!# '
22358 for ac_last_try in false false :; do
22359 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22360 if test -z "$ac_tt"; then
22361 break
22362 elif $ac_last_try; then
22363 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22364 else
22365 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22367 done
22369 # For the awk script, D is an array of macro values keyed by name,
22370 # likewise P contains macro parameters if any. Preserve backslash
22371 # newline sequences.
22373 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22374 sed -n '
22375 s/.\{148\}/&'"$ac_delim"'/g
22376 t rset
22377 :rset
22378 s/^[ ]*#[ ]*define[ ][ ]*/ /
22379 t def
22381 :def
22382 s/\\$//
22383 t bsnl
22384 s/["\\]/\\&/g
22385 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22386 D["\1"]=" \3"/p
22387 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22389 :bsnl
22390 s/["\\]/\\&/g
22391 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22392 D["\1"]=" \3\\\\\\n"\\/p
22393 t cont
22394 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22395 t cont
22397 :cont
22399 s/.\{148\}/&'"$ac_delim"'/g
22400 t clear
22401 :clear
22402 s/\\$//
22403 t bsnlc
22404 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22406 :bsnlc
22407 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22408 b cont
22409 ' <confdefs.h | sed '
22410 s/'"$ac_delim"'/"\\\
22411 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22414 for (key in D) D_is_set[key] = 1
22415 FS = "\a"
22417 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22418 line = \$ 0
22419 split(line, arg, " ")
22420 if (arg[1] == "#") {
22421 defundef = arg[2]
22422 mac1 = arg[3]
22423 } else {
22424 defundef = substr(arg[1], 2)
22425 mac1 = arg[2]
22427 split(mac1, mac2, "(") #)
22428 macro = mac2[1]
22429 prefix = substr(line, 1, index(line, defundef) - 1)
22430 if (D_is_set[macro]) {
22431 # Preserve the white space surrounding the "#".
22432 print prefix "define", macro P[macro] D[macro]
22433 next
22434 } else {
22435 # Replace #undef with comments. This is necessary, for example,
22436 # in the case of _POSIX_SOURCE, which is predefined and required
22437 # on some systems where configure will not decide to define it.
22438 if (defundef == "undef") {
22439 print "/*", prefix defundef, macro, "*/"
22440 next
22444 { print }
22445 _ACAWK
22446 _ACEOF
22447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22448 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22449 fi # test -n "$CONFIG_HEADERS"
22452 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22453 shift
22454 for ac_tag
22456 case $ac_tag in
22457 :[FHLC]) ac_mode=$ac_tag; continue;;
22458 esac
22459 case $ac_mode$ac_tag in
22460 :[FHL]*:*);;
22461 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22462 :[FH]-) ac_tag=-:-;;
22463 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22464 esac
22465 ac_save_IFS=$IFS
22466 IFS=:
22467 set x $ac_tag
22468 IFS=$ac_save_IFS
22469 shift
22470 ac_file=$1
22471 shift
22473 case $ac_mode in
22474 :L) ac_source=$1;;
22475 :[FH])
22476 ac_file_inputs=
22477 for ac_f
22479 case $ac_f in
22480 -) ac_f="$ac_tmp/stdin";;
22481 *) # Look for the file first in the build tree, then in the source tree
22482 # (if the path is not absolute). The absolute path cannot be DOS-style,
22483 # because $ac_f cannot contain `:'.
22484 test -f "$ac_f" ||
22485 case $ac_f in
22486 [\\/$]*) false;;
22487 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22488 esac ||
22489 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22490 esac
22491 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22492 as_fn_append ac_file_inputs " '$ac_f'"
22493 done
22495 # Let's still pretend it is `configure' which instantiates (i.e., don't
22496 # use $as_me), people would be surprised to read:
22497 # /* config.h. Generated by config.status. */
22498 configure_input='Generated from '`
22499 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22500 `' by configure.'
22501 if test x"$ac_file" != x-; then
22502 configure_input="$ac_file. $configure_input"
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22504 $as_echo "$as_me: creating $ac_file" >&6;}
22506 # Neutralize special characters interpreted by sed in replacement strings.
22507 case $configure_input in #(
22508 *\&* | *\|* | *\\* )
22509 ac_sed_conf_input=`$as_echo "$configure_input" |
22510 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22511 *) ac_sed_conf_input=$configure_input;;
22512 esac
22514 case $ac_tag in
22515 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22516 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22517 esac
22519 esac
22521 ac_dir=`$as_dirname -- "$ac_file" ||
22522 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22523 X"$ac_file" : 'X\(//\)[^/]' \| \
22524 X"$ac_file" : 'X\(//\)$' \| \
22525 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22526 $as_echo X"$ac_file" |
22527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22528 s//\1/
22531 /^X\(\/\/\)[^/].*/{
22532 s//\1/
22535 /^X\(\/\/\)$/{
22536 s//\1/
22539 /^X\(\/\).*/{
22540 s//\1/
22543 s/.*/./; q'`
22544 as_dir="$ac_dir"; as_fn_mkdir_p
22545 ac_builddir=.
22547 case "$ac_dir" in
22548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22550 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22551 # A ".." for each directory in $ac_dir_suffix.
22552 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22553 case $ac_top_builddir_sub in
22554 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22555 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22556 esac ;;
22557 esac
22558 ac_abs_top_builddir=$ac_pwd
22559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22560 # for backward compatibility:
22561 ac_top_builddir=$ac_top_build_prefix
22563 case $srcdir in
22564 .) # We are building in place.
22565 ac_srcdir=.
22566 ac_top_srcdir=$ac_top_builddir_sub
22567 ac_abs_top_srcdir=$ac_pwd ;;
22568 [\\/]* | ?:[\\/]* ) # Absolute name.
22569 ac_srcdir=$srcdir$ac_dir_suffix;
22570 ac_top_srcdir=$srcdir
22571 ac_abs_top_srcdir=$srcdir ;;
22572 *) # Relative name.
22573 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22574 ac_top_srcdir=$ac_top_build_prefix$srcdir
22575 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22576 esac
22577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22580 case $ac_mode in
22583 # CONFIG_FILE
22586 _ACEOF
22588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22589 # If the template does not know about datarootdir, expand it.
22590 # FIXME: This hack should be removed a few years after 2.60.
22591 ac_datarootdir_hack=; ac_datarootdir_seen=
22592 ac_sed_dataroot='
22593 /datarootdir/ {
22597 /@datadir@/p
22598 /@docdir@/p
22599 /@infodir@/p
22600 /@localedir@/p
22601 /@mandir@/p'
22602 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22603 *datarootdir*) ac_datarootdir_seen=yes;;
22604 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22606 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22607 _ACEOF
22608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22609 ac_datarootdir_hack='
22610 s&@datadir@&$datadir&g
22611 s&@docdir@&$docdir&g
22612 s&@infodir@&$infodir&g
22613 s&@localedir@&$localedir&g
22614 s&@mandir@&$mandir&g
22615 s&\\\${datarootdir}&$datarootdir&g' ;;
22616 esac
22617 _ACEOF
22619 # Neutralize VPATH when `$srcdir' = `.'.
22620 # Shell code in configure.ac might set extrasub.
22621 # FIXME: do we really want to maintain this feature?
22622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22623 ac_sed_extra="$ac_vpsub
22624 $extrasub
22625 _ACEOF
22626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22628 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22629 s|@configure_input@|$ac_sed_conf_input|;t t
22630 s&@top_builddir@&$ac_top_builddir_sub&;t t
22631 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22632 s&@srcdir@&$ac_srcdir&;t t
22633 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22634 s&@top_srcdir@&$ac_top_srcdir&;t t
22635 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22636 s&@builddir@&$ac_builddir&;t t
22637 s&@abs_builddir@&$ac_abs_builddir&;t t
22638 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22639 $ac_datarootdir_hack
22641 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22642 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22644 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22645 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22646 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22647 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22649 which seems to be undefined. Please make sure it is defined" >&5
22650 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22651 which seems to be undefined. Please make sure it is defined" >&2;}
22653 rm -f "$ac_tmp/stdin"
22654 case $ac_file in
22655 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22656 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22657 esac \
22658 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22662 # CONFIG_HEADER
22664 if test x"$ac_file" != x-; then
22666 $as_echo "/* $configure_input */" \
22667 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22668 } >"$ac_tmp/config.h" \
22669 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22670 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22671 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22672 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22673 else
22674 rm -f "$ac_file"
22675 mv "$ac_tmp/config.h" "$ac_file" \
22676 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22678 else
22679 $as_echo "/* $configure_input */" \
22680 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22681 || as_fn_error $? "could not create -" "$LINENO" 5
22686 # CONFIG_LINK
22689 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22691 else
22692 # Prefer the file from the source tree if names are identical.
22693 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22694 ac_source=$srcdir/$ac_source
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22698 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22700 if test ! -r "$ac_source"; then
22701 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22703 rm -f "$ac_file"
22705 # Try a relative symlink, then a hard link, then a copy.
22706 case $ac_source in
22707 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22708 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22709 esac
22710 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22711 ln "$ac_source" "$ac_file" 2>/dev/null ||
22712 cp -p "$ac_source" "$ac_file" ||
22713 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22716 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22717 $as_echo "$as_me: executing $ac_file commands" >&6;}
22719 esac
22722 case $ac_file$ac_mode in
22723 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22724 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22725 "Makefile":C) wine_fn_output_makefile Makefile ;;
22727 esac
22728 done # for ac_tag
22731 as_fn_exit 0
22732 _ACEOF
22733 ac_clean_files=$ac_clean_files_save
22735 test $ac_write_fail = 0 ||
22736 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22739 # configure is writing to config.log, and then calls config.status.
22740 # config.status does its own redirection, appending to config.log.
22741 # Unfortunately, on DOS this fails, as config.log is still kept open
22742 # by configure, so config.status won't be able to write to it; its
22743 # output is simply discarded. So we exec the FD to /dev/null,
22744 # effectively closing config.log, so it can be properly (re)opened and
22745 # appended to by config.status. When coming back to configure, we
22746 # need to make the FD available again.
22747 if test "$no_create" != yes; then
22748 ac_cs_success=:
22749 ac_config_status_args=
22750 test "$silent" = yes &&
22751 ac_config_status_args="$ac_config_status_args --quiet"
22752 exec 5>/dev/null
22753 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22754 exec 5>>config.log
22755 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22756 # would make configure fail if this is the last instruction.
22757 $ac_cs_success || as_fn_exit 1
22759 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22761 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22765 if test "$no_create" = "yes"
22766 then
22767 exit 0
22770 ac_save_IFS="$IFS"
22771 if test "x$wine_notices" != x; then
22772 echo >&6
22773 IFS="|"
22774 for msg in $wine_notices; do
22775 IFS="$ac_save_IFS"
22776 if ${msg:+false} :; then :
22778 else
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22780 $as_echo "$as_me: $msg" >&6;}
22782 done
22784 IFS="|"
22785 for msg in $wine_warnings; do
22786 IFS="$ac_save_IFS"
22787 if ${msg:+false} :; then :
22789 else
22790 echo >&2
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22792 $as_echo "$as_me: WARNING: $msg" >&2;}
22794 done
22795 IFS="$ac_save_IFS"
22797 $as_echo "
22798 $as_me: Finished. Do '${ac_make}' to compile Wine.
22799 " >&6