dbghelp: Remove superfluous casts to self.
[wine.git] / configure
blob5f8735b0d37e8eb2f4bdd1dfc7211987bb55dc85
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.16.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='6.16'
584 PACKAGE_STRING='Wine 6.16'
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 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JXRLIB_LIBS
649 JXRLIB_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 GSSAPI_LIBS
653 GSSAPI_CFLAGS
654 KRB5_LIBS
655 KRB5_CFLAGS
656 FONTCONFIG_LIBS
657 FONTCONFIG_CFLAGS
658 CUPS_LIBS
659 CUPS_CFLAGS
660 CAPI20_LIBS
661 CAPI20_CFLAGS
662 FAUDIO_LIBS
663 FAUDIO_CFLAGS
664 SDL2_LIBS
665 SDL2_CFLAGS
666 UNWIND_LIBS
667 UNWIND_CFLAGS
668 UDEV_LIBS
669 UDEV_CFLAGS
670 OSS4_LIBS
671 OSS4_CFLAGS
672 ALSA_LIBS
673 GSTREAMER_LIBS
674 GSTREAMER_CFLAGS
675 PULSE_LIBS
676 PULSE_CFLAGS
677 GETTEXTPO_LIBS
678 FREETYPE_LIBS
679 FREETYPE_CFLAGS
680 LCMS2_LIBS
681 LCMS2_CFLAGS
682 RESOLV_LIBS
683 GPHOTO2_PORT_LIBS
684 GPHOTO2_PORT_CFLAGS
685 GPHOTO2_LIBS
686 GPHOTO2_CFLAGS
687 USB_LIBS
688 USB_CFLAGS
689 SANE_LIBS
690 SANE_CFLAGS
691 GNUTLS_LIBS
692 GNUTLS_CFLAGS
693 HAL_LIBS
694 HAL_CFLAGS
695 DBUS_LIBS
696 DBUS_CFLAGS
697 INOTIFY_LIBS
698 INOTIFY_CFLAGS
699 XSLT_LIBS
700 XSLT_CFLAGS
701 XML2_LIBS
702 XML2_CFLAGS
703 PCAP_LIBS
704 X_EXTRA_LIBS
705 X_LIBS
706 X_PRE_LIBS
707 X_CFLAGS
708 XMKMF
709 PTHREAD_LIBS
710 EXCESS_PRECISION_CFLAGS
711 CROSSDEBUG
712 DELAYLOADFLAG
713 CROSSLDFLAGS
714 EXTRACROSSCFLAGS
715 CROSSCFLAGS
716 CROSSCC
717 CROSSTARGET
718 LIBWINE_DEPENDS
719 PRELINK
720 WINELOADER_DEPENDS
721 LIBWINE_LDFLAGS
722 LIBWINE_SHAREDLIB
723 METAL_LIBS
724 CARBON_LIBS
725 QUICKTIME_LIBS
726 OPENCL_LIBS
727 OPENAL_LIBS
728 COREAUDIO_LIBS
729 SECURITY_LIBS
730 DISKARBITRATION_LIBS
731 SYSTEMCONFIGURATION_LIBS
732 APPKIT_LIBS
733 CORESERVICES_LIBS
734 APPLICATIONSERVICES_LIBS
735 FORCEFEEDBACK_LIBS
736 IOKIT_LIBS
737 COREFOUNDATION_LIBS
738 OBJCPP
739 ac_ct_OBJC
740 OBJCFLAGS
741 OBJC
742 DLLTOOL
743 WINELOADER_PROGRAMS
744 CONFIGURE_TARGETS
745 DISABLED_SUBDIRS
746 SUBDIRS
747 READELF
748 OTOOL
750 WINEPRELOADER_LDFLAGS
751 WINELOADER_LDFLAGS
752 TOP_INSTALL_DEV
753 TOP_INSTALL_LIB
754 LDEXECFLAGS
755 LDDLLFLAGS
756 DLLFLAGS
758 OPENGL_LIBS
759 I386_LIBS
760 ICOTOOL
761 CONVERT
762 RSVG
763 FONTFORGE
764 PKG_CONFIG
765 MSGFMT
766 LDCONFIG
767 EGREP
768 GREP
769 LN_S
770 RANLIB
771 STRIP
772 ac_ct_AR
774 BISON
775 FLEX
776 TOOLSDIR
777 ARCH
778 TARGETFLAGS
780 CPPBIN
781 ac_ct_CXX
782 CXXFLAGS
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
791 SET_MAKE
792 host_os
793 host_vendor
794 host_cpu
795 host
796 build_os
797 build_vendor
798 build_cpu
799 build
800 target_alias
801 host_alias
802 build_alias
803 LIBS
804 ECHO_T
805 ECHO_N
806 ECHO_C
807 DEFS
808 mandir
809 localedir
810 libdir
811 psdir
812 pdfdir
813 dvidir
814 htmldir
815 infodir
816 docdir
817 oldincludedir
818 includedir
819 runstatedir
820 localstatedir
821 sharedstatedir
822 sysconfdir
823 datadir
824 datarootdir
825 libexecdir
826 sbindir
827 bindir
828 program_transform_name
829 prefix
830 exec_prefix
831 PACKAGE_URL
832 PACKAGE_BUGREPORT
833 PACKAGE_STRING
834 PACKAGE_VERSION
835 PACKAGE_TARNAME
836 PACKAGE_NAME
837 PATH_SEPARATOR
838 SHELL'
839 ac_subst_files=''
840 ac_user_opts='
841 enable_option_checking
842 enable_win16
843 enable_win64
844 enable_tests
845 enable_build_id
846 enable_maintainer_mode
847 enable_silent_rules
848 enable_werror
849 with_alsa
850 with_capi
851 with_cms
852 with_coreaudio
853 with_cups
854 with_dbus
855 with_faudio
856 with_float_abi
857 with_fontconfig
858 with_freetype
859 with_gettext
860 with_gettextpo
861 with_gphoto
862 with_gnutls
863 with_gsm
864 with_gssapi
865 with_gstreamer
866 with_hal
867 with_inotify
868 with_jpeg
869 with_jxrlib
870 with_krb5
871 with_ldap
872 with_mingw
873 with_mpg123
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_png
882 with_pthread
883 with_pulse
884 with_quicktime
885 with_sane
886 with_sdl
887 with_tiff
888 with_udev
889 with_unwind
890 with_usb
891 with_v4l2
892 with_vkd3d
893 with_vulkan
894 with_xcomposite
895 with_xcursor
896 with_xfixes
897 with_xinerama
898 with_xinput
899 with_xinput2
900 with_xml
901 with_xrandr
902 with_xrender
903 with_xshape
904 with_xshm
905 with_xslt
906 with_xxf86vm
907 with_wine_tools
908 with_wine64
909 enable_largefile
910 with_x
911 enable_acledit
912 enable_aclui
913 enable_activeds_tlb
914 enable_activeds
915 enable_actxprxy
916 enable_adsiid
917 enable_adsldp
918 enable_adsldpc
919 enable_advapi32
920 enable_advpack
921 enable_amsi
922 enable_amstream
923 enable_api_ms_win_appmodel_identity_l1_1_0
924 enable_api_ms_win_appmodel_runtime_l1_1_1
925 enable_api_ms_win_appmodel_runtime_l1_1_2
926 enable_api_ms_win_core_apiquery_l1_1_0
927 enable_api_ms_win_core_appcompat_l1_1_1
928 enable_api_ms_win_core_appinit_l1_1_0
929 enable_api_ms_win_core_atoms_l1_1_0
930 enable_api_ms_win_core_bem_l1_1_0
931 enable_api_ms_win_core_com_l1_1_0
932 enable_api_ms_win_core_com_l1_1_1
933 enable_api_ms_win_core_com_private_l1_1_0
934 enable_api_ms_win_core_comm_l1_1_0
935 enable_api_ms_win_core_console_l1_1_0
936 enable_api_ms_win_core_console_l1_2_0
937 enable_api_ms_win_core_console_l2_1_0
938 enable_api_ms_win_core_console_l3_2_0
939 enable_api_ms_win_core_crt_l1_1_0
940 enable_api_ms_win_core_crt_l2_1_0
941 enable_api_ms_win_core_datetime_l1_1_0
942 enable_api_ms_win_core_datetime_l1_1_1
943 enable_api_ms_win_core_debug_l1_1_0
944 enable_api_ms_win_core_debug_l1_1_1
945 enable_api_ms_win_core_delayload_l1_1_0
946 enable_api_ms_win_core_delayload_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_0
948 enable_api_ms_win_core_errorhandling_l1_1_1
949 enable_api_ms_win_core_errorhandling_l1_1_2
950 enable_api_ms_win_core_errorhandling_l1_1_3
951 enable_api_ms_win_core_featurestaging_l1_1_0
952 enable_api_ms_win_core_fibers_l1_1_0
953 enable_api_ms_win_core_fibers_l1_1_1
954 enable_api_ms_win_core_file_ansi_l2_1_0
955 enable_api_ms_win_core_file_fromapp_l1_1_0
956 enable_api_ms_win_core_file_l1_1_0
957 enable_api_ms_win_core_file_l1_2_0
958 enable_api_ms_win_core_file_l1_2_1
959 enable_api_ms_win_core_file_l1_2_2
960 enable_api_ms_win_core_file_l2_1_0
961 enable_api_ms_win_core_file_l2_1_1
962 enable_api_ms_win_core_file_l2_1_2
963 enable_api_ms_win_core_handle_l1_1_0
964 enable_api_ms_win_core_heap_l1_1_0
965 enable_api_ms_win_core_heap_l1_2_0
966 enable_api_ms_win_core_heap_l2_1_0
967 enable_api_ms_win_core_heap_obsolete_l1_1_0
968 enable_api_ms_win_core_interlocked_l1_1_0
969 enable_api_ms_win_core_interlocked_l1_2_0
970 enable_api_ms_win_core_io_l1_1_0
971 enable_api_ms_win_core_io_l1_1_1
972 enable_api_ms_win_core_job_l1_1_0
973 enable_api_ms_win_core_job_l2_1_0
974 enable_api_ms_win_core_kernel32_legacy_l1_1_0
975 enable_api_ms_win_core_kernel32_legacy_l1_1_1
976 enable_api_ms_win_core_kernel32_legacy_l1_1_2
977 enable_api_ms_win_core_kernel32_legacy_l1_1_5
978 enable_api_ms_win_core_kernel32_private_l1_1_1
979 enable_api_ms_win_core_largeinteger_l1_1_0
980 enable_api_ms_win_core_libraryloader_l1_1_0
981 enable_api_ms_win_core_libraryloader_l1_1_1
982 enable_api_ms_win_core_libraryloader_l1_2_0
983 enable_api_ms_win_core_libraryloader_l1_2_1
984 enable_api_ms_win_core_libraryloader_l1_2_2
985 enable_api_ms_win_core_libraryloader_l2_1_0
986 enable_api_ms_win_core_localization_l1_1_0
987 enable_api_ms_win_core_localization_l1_2_0
988 enable_api_ms_win_core_localization_l1_2_1
989 enable_api_ms_win_core_localization_l1_2_2
990 enable_api_ms_win_core_localization_l2_1_0
991 enable_api_ms_win_core_localization_obsolete_l1_1_0
992 enable_api_ms_win_core_localization_obsolete_l1_2_0
993 enable_api_ms_win_core_localization_obsolete_l1_3_0
994 enable_api_ms_win_core_localization_private_l1_1_0
995 enable_api_ms_win_core_localregistry_l1_1_0
996 enable_api_ms_win_core_memory_l1_1_0
997 enable_api_ms_win_core_memory_l1_1_1
998 enable_api_ms_win_core_memory_l1_1_2
999 enable_api_ms_win_core_memory_l1_1_3
1000 enable_api_ms_win_core_memory_l1_1_4
1001 enable_api_ms_win_core_misc_l1_1_0
1002 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1003 enable_api_ms_win_core_namedpipe_l1_1_0
1004 enable_api_ms_win_core_namedpipe_l1_2_0
1005 enable_api_ms_win_core_namespace_l1_1_0
1006 enable_api_ms_win_core_normalization_l1_1_0
1007 enable_api_ms_win_core_path_l1_1_0
1008 enable_api_ms_win_core_privateprofile_l1_1_1
1009 enable_api_ms_win_core_processenvironment_l1_1_0
1010 enable_api_ms_win_core_processenvironment_l1_2_0
1011 enable_api_ms_win_core_processthreads_l1_1_0
1012 enable_api_ms_win_core_processthreads_l1_1_1
1013 enable_api_ms_win_core_processthreads_l1_1_2
1014 enable_api_ms_win_core_processthreads_l1_1_3
1015 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1016 enable_api_ms_win_core_profile_l1_1_0
1017 enable_api_ms_win_core_psapi_ansi_l1_1_0
1018 enable_api_ms_win_core_psapi_l1_1_0
1019 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1020 enable_api_ms_win_core_psm_appnotify_l1_1_0
1021 enable_api_ms_win_core_quirks_l1_1_0
1022 enable_api_ms_win_core_realtime_l1_1_0
1023 enable_api_ms_win_core_registry_l1_1_0
1024 enable_api_ms_win_core_registry_l2_1_0
1025 enable_api_ms_win_core_registry_l2_2_0
1026 enable_api_ms_win_core_registryuserspecific_l1_1_0
1027 enable_api_ms_win_core_rtlsupport_l1_1_0
1028 enable_api_ms_win_core_rtlsupport_l1_2_0
1029 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1030 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1031 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1032 enable_api_ms_win_core_shutdown_l1_1_0
1033 enable_api_ms_win_core_sidebyside_l1_1_0
1034 enable_api_ms_win_core_string_l1_1_0
1035 enable_api_ms_win_core_string_l2_1_0
1036 enable_api_ms_win_core_string_obsolete_l1_1_0
1037 enable_api_ms_win_core_stringansi_l1_1_0
1038 enable_api_ms_win_core_stringloader_l1_1_1
1039 enable_api_ms_win_core_synch_ansi_l1_1_0
1040 enable_api_ms_win_core_synch_l1_1_0
1041 enable_api_ms_win_core_synch_l1_2_0
1042 enable_api_ms_win_core_synch_l1_2_1
1043 enable_api_ms_win_core_sysinfo_l1_1_0
1044 enable_api_ms_win_core_sysinfo_l1_2_0
1045 enable_api_ms_win_core_sysinfo_l1_2_1
1046 enable_api_ms_win_core_systemtopology_l1_1_0
1047 enable_api_ms_win_core_threadpool_l1_1_0
1048 enable_api_ms_win_core_threadpool_l1_2_0
1049 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1050 enable_api_ms_win_core_threadpool_private_l1_1_0
1051 enable_api_ms_win_core_timezone_l1_1_0
1052 enable_api_ms_win_core_toolhelp_l1_1_0
1053 enable_api_ms_win_core_url_l1_1_0
1054 enable_api_ms_win_core_util_l1_1_0
1055 enable_api_ms_win_core_version_l1_1_0
1056 enable_api_ms_win_core_version_l1_1_1
1057 enable_api_ms_win_core_version_private_l1_1_0
1058 enable_api_ms_win_core_versionansi_l1_1_0
1059 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1060 enable_api_ms_win_core_winrt_error_l1_1_0
1061 enable_api_ms_win_core_winrt_error_l1_1_1
1062 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1063 enable_api_ms_win_core_winrt_l1_1_0
1064 enable_api_ms_win_core_winrt_registration_l1_1_0
1065 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1066 enable_api_ms_win_core_winrt_string_l1_1_0
1067 enable_api_ms_win_core_winrt_string_l1_1_1
1068 enable_api_ms_win_core_wow64_l1_1_0
1069 enable_api_ms_win_core_wow64_l1_1_1
1070 enable_api_ms_win_core_xstate_l1_1_0
1071 enable_api_ms_win_core_xstate_l2_1_0
1072 enable_api_ms_win_crt_conio_l1_1_0
1073 enable_api_ms_win_crt_convert_l1_1_0
1074 enable_api_ms_win_crt_environment_l1_1_0
1075 enable_api_ms_win_crt_filesystem_l1_1_0
1076 enable_api_ms_win_crt_heap_l1_1_0
1077 enable_api_ms_win_crt_locale_l1_1_0
1078 enable_api_ms_win_crt_math_l1_1_0
1079 enable_api_ms_win_crt_multibyte_l1_1_0
1080 enable_api_ms_win_crt_private_l1_1_0
1081 enable_api_ms_win_crt_process_l1_1_0
1082 enable_api_ms_win_crt_runtime_l1_1_0
1083 enable_api_ms_win_crt_stdio_l1_1_0
1084 enable_api_ms_win_crt_string_l1_1_0
1085 enable_api_ms_win_crt_time_l1_1_0
1086 enable_api_ms_win_crt_utility_l1_1_0
1087 enable_api_ms_win_devices_config_l1_1_0
1088 enable_api_ms_win_devices_config_l1_1_1
1089 enable_api_ms_win_devices_query_l1_1_1
1090 enable_api_ms_win_downlevel_advapi32_l1_1_0
1091 enable_api_ms_win_downlevel_advapi32_l2_1_0
1092 enable_api_ms_win_downlevel_kernel32_l2_1_0
1093 enable_api_ms_win_downlevel_normaliz_l1_1_0
1094 enable_api_ms_win_downlevel_ole32_l1_1_0
1095 enable_api_ms_win_downlevel_shell32_l1_1_0
1096 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1097 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1098 enable_api_ms_win_downlevel_user32_l1_1_0
1099 enable_api_ms_win_downlevel_version_l1_1_0
1100 enable_api_ms_win_dx_d3dkmt_l1_1_0
1101 enable_api_ms_win_eventing_classicprovider_l1_1_0
1102 enable_api_ms_win_eventing_consumer_l1_1_0
1103 enable_api_ms_win_eventing_controller_l1_1_0
1104 enable_api_ms_win_eventing_legacy_l1_1_0
1105 enable_api_ms_win_eventing_provider_l1_1_0
1106 enable_api_ms_win_eventlog_legacy_l1_1_0
1107 enable_api_ms_win_gaming_tcui_l1_1_0
1108 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1109 enable_api_ms_win_mm_joystick_l1_1_0
1110 enable_api_ms_win_mm_misc_l1_1_1
1111 enable_api_ms_win_mm_mme_l1_1_0
1112 enable_api_ms_win_mm_time_l1_1_0
1113 enable_api_ms_win_ntuser_dc_access_l1_1_0
1114 enable_api_ms_win_ntuser_rectangle_l1_1_0
1115 enable_api_ms_win_ntuser_sysparams_l1_1_0
1116 enable_api_ms_win_perf_legacy_l1_1_0
1117 enable_api_ms_win_power_base_l1_1_0
1118 enable_api_ms_win_power_setting_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1122 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1123 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1124 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1125 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1126 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1127 enable_api_ms_win_security_audit_l1_1_1
1128 enable_api_ms_win_security_base_l1_1_0
1129 enable_api_ms_win_security_base_l1_2_0
1130 enable_api_ms_win_security_base_private_l1_1_1
1131 enable_api_ms_win_security_credentials_l1_1_0
1132 enable_api_ms_win_security_cryptoapi_l1_1_0
1133 enable_api_ms_win_security_grouppolicy_l1_1_0
1134 enable_api_ms_win_security_lsalookup_l1_1_0
1135 enable_api_ms_win_security_lsalookup_l1_1_1
1136 enable_api_ms_win_security_lsalookup_l2_1_0
1137 enable_api_ms_win_security_lsalookup_l2_1_1
1138 enable_api_ms_win_security_lsapolicy_l1_1_0
1139 enable_api_ms_win_security_provider_l1_1_0
1140 enable_api_ms_win_security_sddl_l1_1_0
1141 enable_api_ms_win_security_systemfunctions_l1_1_0
1142 enable_api_ms_win_service_core_l1_1_0
1143 enable_api_ms_win_service_core_l1_1_1
1144 enable_api_ms_win_service_management_l1_1_0
1145 enable_api_ms_win_service_management_l2_1_0
1146 enable_api_ms_win_service_private_l1_1_1
1147 enable_api_ms_win_service_winsvc_l1_1_0
1148 enable_api_ms_win_service_winsvc_l1_2_0
1149 enable_api_ms_win_shcore_obsolete_l1_1_0
1150 enable_api_ms_win_shcore_scaling_l1_1_0
1151 enable_api_ms_win_shcore_scaling_l1_1_1
1152 enable_api_ms_win_shcore_stream_l1_1_0
1153 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1154 enable_api_ms_win_shcore_thread_l1_1_0
1155 enable_api_ms_win_shell_shellcom_l1_1_0
1156 enable_api_ms_win_shell_shellfolders_l1_1_0
1157 enable_apphelp
1158 enable_appwiz_cpl
1159 enable_atl
1160 enable_atl100
1161 enable_atl110
1162 enable_atl80
1163 enable_atl90
1164 enable_atlthunk
1165 enable_atmlib
1166 enable_authz
1167 enable_avicap32
1168 enable_avifil32
1169 enable_avrt
1170 enable_bcrypt
1171 enable_bluetoothapis
1172 enable_browseui
1173 enable_bthprops_cpl
1174 enable_cabinet
1175 enable_capi2032
1176 enable_cards
1177 enable_cdosys
1178 enable_cfgmgr32
1179 enable_clusapi
1180 enable_combase
1181 enable_comcat
1182 enable_comctl32
1183 enable_comdlg32
1184 enable_compstui
1185 enable_comsvcs
1186 enable_concrt140
1187 enable_connect
1188 enable_credui
1189 enable_crtdll
1190 enable_crypt32
1191 enable_cryptdlg
1192 enable_cryptdll
1193 enable_cryptext
1194 enable_cryptnet
1195 enable_cryptsp
1196 enable_cryptui
1197 enable_ctapi32
1198 enable_ctl3d32
1199 enable_d2d1
1200 enable_d3d10
1201 enable_d3d10_1
1202 enable_d3d10core
1203 enable_d3d11
1204 enable_d3d12
1205 enable_d3d8
1206 enable_d3d8thk
1207 enable_d3d9
1208 enable_d3dcompiler_33
1209 enable_d3dcompiler_34
1210 enable_d3dcompiler_35
1211 enable_d3dcompiler_36
1212 enable_d3dcompiler_37
1213 enable_d3dcompiler_38
1214 enable_d3dcompiler_39
1215 enable_d3dcompiler_40
1216 enable_d3dcompiler_41
1217 enable_d3dcompiler_42
1218 enable_d3dcompiler_43
1219 enable_d3dcompiler_46
1220 enable_d3dcompiler_47
1221 enable_d3dim
1222 enable_d3dim700
1223 enable_d3drm
1224 enable_d3dx10_33
1225 enable_d3dx10_34
1226 enable_d3dx10_35
1227 enable_d3dx10_36
1228 enable_d3dx10_37
1229 enable_d3dx10_38
1230 enable_d3dx10_39
1231 enable_d3dx10_40
1232 enable_d3dx10_41
1233 enable_d3dx10_42
1234 enable_d3dx10_43
1235 enable_d3dx11_42
1236 enable_d3dx11_43
1237 enable_d3dx9_24
1238 enable_d3dx9_25
1239 enable_d3dx9_26
1240 enable_d3dx9_27
1241 enable_d3dx9_28
1242 enable_d3dx9_29
1243 enable_d3dx9_30
1244 enable_d3dx9_31
1245 enable_d3dx9_32
1246 enable_d3dx9_33
1247 enable_d3dx9_34
1248 enable_d3dx9_35
1249 enable_d3dx9_36
1250 enable_d3dx9_37
1251 enable_d3dx9_38
1252 enable_d3dx9_39
1253 enable_d3dx9_40
1254 enable_d3dx9_41
1255 enable_d3dx9_42
1256 enable_d3dx9_43
1257 enable_d3dxof
1258 enable_davclnt
1259 enable_dbgeng
1260 enable_dbghelp
1261 enable_dciman32
1262 enable_dcomp
1263 enable_ddraw
1264 enable_ddrawex
1265 enable_devenum
1266 enable_dhcpcsvc
1267 enable_dhtmled_ocx
1268 enable_difxapi
1269 enable_dinput
1270 enable_dinput8
1271 enable_directmanipulation
1272 enable_dispex
1273 enable_dmband
1274 enable_dmcompos
1275 enable_dmime
1276 enable_dmloader
1277 enable_dmoguids
1278 enable_dmscript
1279 enable_dmstyle
1280 enable_dmsynth
1281 enable_dmusic
1282 enable_dmusic32
1283 enable_dnsapi
1284 enable_dplay
1285 enable_dplayx
1286 enable_dpnaddr
1287 enable_dpnet
1288 enable_dpnhpast
1289 enable_dpnhupnp
1290 enable_dpnlobby
1291 enable_dpvoice
1292 enable_dpwsockx
1293 enable_drmclien
1294 enable_dsdmo
1295 enable_dsound
1296 enable_dsquery
1297 enable_dssenh
1298 enable_dsuiext
1299 enable_dswave
1300 enable_dwmapi
1301 enable_dwrite
1302 enable_dx8vb
1303 enable_dxdiagn
1304 enable_dxerr8
1305 enable_dxerr9
1306 enable_dxgi
1307 enable_dxguid
1308 enable_dxtrans
1309 enable_dxva2
1310 enable_esent
1311 enable_evr
1312 enable_explorerframe
1313 enable_ext_ms_win_authz_context_l1_1_0
1314 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1315 enable_ext_ms_win_dwmapi_ext_l1_1_0
1316 enable_ext_ms_win_gdi_dc_create_l1_1_0
1317 enable_ext_ms_win_gdi_dc_create_l1_1_1
1318 enable_ext_ms_win_gdi_dc_l1_2_0
1319 enable_ext_ms_win_gdi_devcaps_l1_1_0
1320 enable_ext_ms_win_gdi_draw_l1_1_0
1321 enable_ext_ms_win_gdi_draw_l1_1_1
1322 enable_ext_ms_win_gdi_font_l1_1_0
1323 enable_ext_ms_win_gdi_font_l1_1_1
1324 enable_ext_ms_win_gdi_render_l1_1_0
1325 enable_ext_ms_win_kernel32_package_current_l1_1_0
1326 enable_ext_ms_win_kernel32_package_l1_1_1
1327 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1328 enable_ext_ms_win_ntuser_draw_l1_1_0
1329 enable_ext_ms_win_ntuser_gui_l1_1_0
1330 enable_ext_ms_win_ntuser_gui_l1_3_0
1331 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1332 enable_ext_ms_win_ntuser_message_l1_1_0
1333 enable_ext_ms_win_ntuser_message_l1_1_1
1334 enable_ext_ms_win_ntuser_misc_l1_1_0
1335 enable_ext_ms_win_ntuser_misc_l1_2_0
1336 enable_ext_ms_win_ntuser_misc_l1_5_1
1337 enable_ext_ms_win_ntuser_mouse_l1_1_0
1338 enable_ext_ms_win_ntuser_private_l1_1_1
1339 enable_ext_ms_win_ntuser_private_l1_3_1
1340 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1341 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1342 enable_ext_ms_win_ntuser_window_l1_1_0
1343 enable_ext_ms_win_ntuser_window_l1_1_1
1344 enable_ext_ms_win_ntuser_window_l1_1_4
1345 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1346 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1347 enable_ext_ms_win_oleacc_l1_1_0
1348 enable_ext_ms_win_ras_rasapi32_l1_1_0
1349 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1350 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1351 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1352 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1354 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1355 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1356 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1357 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1358 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1359 enable_ext_ms_win_security_credui_l1_1_0
1360 enable_ext_ms_win_security_cryptui_l1_1_0
1361 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1362 enable_ext_ms_win_shell_comdlg32_l1_1_0
1363 enable_ext_ms_win_shell_shell32_l1_2_0
1364 enable_ext_ms_win_uxtheme_themes_l1_1_0
1365 enable_faultrep
1366 enable_feclient
1367 enable_fltlib
1368 enable_fltmgr_sys
1369 enable_fntcache
1370 enable_fontsub
1371 enable_fusion
1372 enable_fwpuclnt
1373 enable_gameux
1374 enable_gamingtcui
1375 enable_gdi32
1376 enable_gdiplus
1377 enable_glu32
1378 enable_gphoto2_ds
1379 enable_gpkcsp
1380 enable_hal
1381 enable_hhctrl_ocx
1382 enable_hid
1383 enable_hidclass_sys
1384 enable_hidparse_sys
1385 enable_hlink
1386 enable_hnetcfg
1387 enable_http_sys
1388 enable_httpapi
1389 enable_iccvid
1390 enable_icmp
1391 enable_ieframe
1392 enable_ieproxy
1393 enable_imaadp32_acm
1394 enable_imagehlp
1395 enable_imm32
1396 enable_inetcomm
1397 enable_inetcpl_cpl
1398 enable_inetmib1
1399 enable_infosoft
1400 enable_initpki
1401 enable_inkobj
1402 enable_inseng
1403 enable_iphlpapi
1404 enable_iprop
1405 enable_irprops_cpl
1406 enable_itircl
1407 enable_itss
1408 enable_joy_cpl
1409 enable_jscript
1410 enable_jsproxy
1411 enable_kerberos
1412 enable_kernel32
1413 enable_kernelbase
1414 enable_ksecdd_sys
1415 enable_ksproxy_ax
1416 enable_ksuser
1417 enable_ktmw32
1418 enable_l3codeca_acm
1419 enable_light_msstyles
1420 enable_loadperf
1421 enable_localspl
1422 enable_localui
1423 enable_lz32
1424 enable_mapi32
1425 enable_mapistub
1426 enable_mciavi32
1427 enable_mcicda
1428 enable_mciqtz32
1429 enable_mciseq
1430 enable_mciwave
1431 enable_mf
1432 enable_mf3216
1433 enable_mferror
1434 enable_mfmediaengine
1435 enable_mfplat
1436 enable_mfplay
1437 enable_mfreadwrite
1438 enable_mfuuid
1439 enable_mgmtapi
1440 enable_midimap
1441 enable_mlang
1442 enable_mmcndmgr
1443 enable_mmdevapi
1444 enable_mountmgr_sys
1445 enable_mp3dmod
1446 enable_mpr
1447 enable_mprapi
1448 enable_msacm32_drv
1449 enable_msacm32
1450 enable_msado15
1451 enable_msadp32_acm
1452 enable_msasn1
1453 enable_mscat32
1454 enable_mscms
1455 enable_mscoree
1456 enable_mscorwks
1457 enable_msctf
1458 enable_msctfp
1459 enable_msdaps
1460 enable_msdelta
1461 enable_msdmo
1462 enable_msdrm
1463 enable_msftedit
1464 enable_msg711_acm
1465 enable_msgsm32_acm
1466 enable_mshtml_tlb
1467 enable_mshtml
1468 enable_msi
1469 enable_msident
1470 enable_msimg32
1471 enable_msimsg
1472 enable_msimtf
1473 enable_msisip
1474 enable_msisys_ocx
1475 enable_msls31
1476 enable_msnet32
1477 enable_mspatcha
1478 enable_msports
1479 enable_msrle32
1480 enable_msscript_ocx
1481 enable_mssign32
1482 enable_mssip32
1483 enable_mstask
1484 enable_msv1_0
1485 enable_msvcirt
1486 enable_msvcm80
1487 enable_msvcm90
1488 enable_msvcp100
1489 enable_msvcp110
1490 enable_msvcp120
1491 enable_msvcp120_app
1492 enable_msvcp140
1493 enable_msvcp140_1
1494 enable_msvcp60
1495 enable_msvcp70
1496 enable_msvcp71
1497 enable_msvcp80
1498 enable_msvcp90
1499 enable_msvcr100
1500 enable_msvcr110
1501 enable_msvcr120
1502 enable_msvcr120_app
1503 enable_msvcr70
1504 enable_msvcr71
1505 enable_msvcr80
1506 enable_msvcr90
1507 enable_msvcrt
1508 enable_msvcrt20
1509 enable_msvcrt40
1510 enable_msvcrtd
1511 enable_msvfw32
1512 enable_msvidc32
1513 enable_mswsock
1514 enable_msxml
1515 enable_msxml2
1516 enable_msxml3
1517 enable_msxml4
1518 enable_msxml6
1519 enable_mtxdm
1520 enable_ncrypt
1521 enable_nddeapi
1522 enable_ndis_sys
1523 enable_netapi32
1524 enable_netcfgx
1525 enable_netio_sys
1526 enable_netprofm
1527 enable_netutils
1528 enable_newdev
1529 enable_ninput
1530 enable_normaliz
1531 enable_npmshtml
1532 enable_npptools
1533 enable_nsi
1534 enable_nsiproxy_sys
1535 enable_ntdll
1536 enable_ntdsapi
1537 enable_ntoskrnl_exe
1538 enable_ntprint
1539 enable_objsel
1540 enable_odbc32
1541 enable_odbcbcp
1542 enable_odbccp32
1543 enable_odbccu32
1544 enable_ole32
1545 enable_oleacc
1546 enable_oleaut32
1547 enable_olecli32
1548 enable_oledb32
1549 enable_oledlg
1550 enable_olepro32
1551 enable_olesvr32
1552 enable_olethk32
1553 enable_opcservices
1554 enable_openal32
1555 enable_opencl
1556 enable_opengl32
1557 enable_packager
1558 enable_pdh
1559 enable_photometadatahandler
1560 enable_pidgen
1561 enable_powrprof
1562 enable_printui
1563 enable_prntvpt
1564 enable_propsys
1565 enable_psapi
1566 enable_pstorec
1567 enable_pwrshplugin
1568 enable_qasf
1569 enable_qcap
1570 enable_qdvd
1571 enable_qedit
1572 enable_qmgr
1573 enable_qmgrprxy
1574 enable_quartz
1575 enable_query
1576 enable_qwave
1577 enable_rasapi32
1578 enable_rasdlg
1579 enable_regapi
1580 enable_resutils
1581 enable_riched20
1582 enable_riched32
1583 enable_rpcrt4
1584 enable_rsabase
1585 enable_rsaenh
1586 enable_rstrtmgr
1587 enable_rtutils
1588 enable_rtworkq
1589 enable_samlib
1590 enable_sane_ds
1591 enable_sapi
1592 enable_sas
1593 enable_scarddlg
1594 enable_sccbase
1595 enable_schannel
1596 enable_schedsvc
1597 enable_scrobj
1598 enable_scrrun
1599 enable_scsiport_sys
1600 enable_sechost
1601 enable_secur32
1602 enable_security
1603 enable_sensapi
1604 enable_serialui
1605 enable_setupapi
1606 enable_sfc
1607 enable_sfc_os
1608 enable_shcore
1609 enable_shdoclc
1610 enable_shdocvw
1611 enable_shell32
1612 enable_shfolder
1613 enable_shlwapi
1614 enable_slbcsp
1615 enable_slc
1616 enable_snmpapi
1617 enable_softpub
1618 enable_spoolss
1619 enable_sppc
1620 enable_srclient
1621 enable_srvcli
1622 enable_sspicli
1623 enable_stdole2_tlb
1624 enable_stdole32_tlb
1625 enable_sti
1626 enable_strmbase
1627 enable_strmdll
1628 enable_strmiids
1629 enable_svrapi
1630 enable_sxs
1631 enable_t2embed
1632 enable_tapi32
1633 enable_taskschd
1634 enable_tbs
1635 enable_tdh
1636 enable_tdi_sys
1637 enable_traffic
1638 enable_twain_32
1639 enable_tzres
1640 enable_ucrtbase
1641 enable_uianimation
1642 enable_uiautomationcore
1643 enable_uiribbon
1644 enable_unicows
1645 enable_updspapi
1646 enable_url
1647 enable_urlmon
1648 enable_usbd_sys
1649 enable_user32
1650 enable_userenv
1651 enable_usp10
1652 enable_utildll
1653 enable_uuid
1654 enable_uxtheme
1655 enable_vbscript
1656 enable_vcomp
1657 enable_vcomp100
1658 enable_vcomp110
1659 enable_vcomp120
1660 enable_vcomp140
1661 enable_vcomp90
1662 enable_vcruntime140
1663 enable_vcruntime140_1
1664 enable_vdmdbg
1665 enable_version
1666 enable_vga
1667 enable_virtdisk
1668 enable_vssapi
1669 enable_vulkan_1
1670 enable_wbemdisp
1671 enable_wbemprox
1672 enable_wbemuuid
1673 enable_wdscore
1674 enable_webservices
1675 enable_websocket
1676 enable_wer
1677 enable_wevtapi
1678 enable_wevtsvc
1679 enable_wiaservc
1680 enable_wimgapi
1681 enable_win32u
1682 enable_windows_gaming_input
1683 enable_windows_globalization
1684 enable_windows_media_devices
1685 enable_windows_media_speech
1686 enable_windowscodecs
1687 enable_windowscodecsext
1688 enable_winealsa_drv
1689 enable_wineandroid_drv
1690 enable_winebus_sys
1691 enable_winecoreaudio_drv
1692 enable_winecrt0
1693 enable_wined3d
1694 enable_winegstreamer
1695 enable_winehid_sys
1696 enable_winejoystick_drv
1697 enable_winemac_drv
1698 enable_winemapi
1699 enable_wineoss_drv
1700 enable_wineps_drv
1701 enable_winepulse_drv
1702 enable_wineqtdecoder
1703 enable_wineusb_sys
1704 enable_winevulkan
1705 enable_winex11_drv
1706 enable_wing32
1707 enable_winhttp
1708 enable_wininet
1709 enable_winmm
1710 enable_winnls32
1711 enable_winscard
1712 enable_winspool_drv
1713 enable_winsta
1714 enable_wintab32
1715 enable_wintrust
1716 enable_winusb
1717 enable_wlanapi
1718 enable_wlanui
1719 enable_wldap32
1720 enable_wmasf
1721 enable_wmcodecdspuuid
1722 enable_wmi
1723 enable_wmiutils
1724 enable_wmp
1725 enable_wmphoto
1726 enable_wmvcore
1727 enable_wnaspi32
1728 enable_wow64
1729 enable_wow64cpu
1730 enable_wow64win
1731 enable_wpc
1732 enable_wpcap
1733 enable_ws2_32
1734 enable_wsdapi
1735 enable_wshom_ocx
1736 enable_wsnmp32
1737 enable_wsock32
1738 enable_wtsapi32
1739 enable_wuapi
1740 enable_wuaueng
1741 enable_x3daudio1_0
1742 enable_x3daudio1_1
1743 enable_x3daudio1_2
1744 enable_x3daudio1_3
1745 enable_x3daudio1_4
1746 enable_x3daudio1_5
1747 enable_x3daudio1_6
1748 enable_x3daudio1_7
1749 enable_xactengine2_0
1750 enable_xactengine2_4
1751 enable_xactengine2_7
1752 enable_xactengine2_9
1753 enable_xactengine3_0
1754 enable_xactengine3_1
1755 enable_xactengine3_2
1756 enable_xactengine3_3
1757 enable_xactengine3_4
1758 enable_xactengine3_5
1759 enable_xactengine3_6
1760 enable_xactengine3_7
1761 enable_xapofx1_1
1762 enable_xapofx1_2
1763 enable_xapofx1_3
1764 enable_xapofx1_4
1765 enable_xapofx1_5
1766 enable_xaudio2_0
1767 enable_xaudio2_1
1768 enable_xaudio2_2
1769 enable_xaudio2_3
1770 enable_xaudio2_4
1771 enable_xaudio2_5
1772 enable_xaudio2_6
1773 enable_xaudio2_7
1774 enable_xaudio2_8
1775 enable_xaudio2_9
1776 enable_xinput1_1
1777 enable_xinput1_2
1778 enable_xinput1_3
1779 enable_xinput1_4
1780 enable_xinput9_1_0
1781 enable_xmllite
1782 enable_xolehlp
1783 enable_xpsprint
1784 enable_xpssvcs
1785 enable_fonts
1786 enable_include
1787 enable_port
1788 enable_wine
1789 enable_wpp
1790 enable_loader
1791 enable_nls
1792 enable_po
1793 enable_arp
1794 enable_aspnet_regiis
1795 enable_attrib
1796 enable_cabarc
1797 enable_cacls
1798 enable_chcp_com
1799 enable_clock
1800 enable_cmd
1801 enable_conhost
1802 enable_control
1803 enable_cscript
1804 enable_dism
1805 enable_dplaysvr
1806 enable_dpnsvr
1807 enable_dpvsetup
1808 enable_dxdiag
1809 enable_eject
1810 enable_expand
1811 enable_explorer
1812 enable_extrac32
1813 enable_fc
1814 enable_find
1815 enable_findstr
1816 enable_fsutil
1817 enable_hh
1818 enable_hostname
1819 enable_icacls
1820 enable_icinfo
1821 enable_iexplore
1822 enable_ipconfig
1823 enable_lodctr
1824 enable_mofcomp
1825 enable_mshta
1826 enable_msidb
1827 enable_msiexec
1828 enable_msinfo32
1829 enable_net
1830 enable_netsh
1831 enable_netstat
1832 enable_ngen
1833 enable_notepad
1834 enable_oleview
1835 enable_ping
1836 enable_plugplay
1837 enable_powershell
1838 enable_presentationfontcache
1839 enable_progman
1840 enable_reg
1841 enable_regasm
1842 enable_regedit
1843 enable_regini
1844 enable_regsvcs
1845 enable_regsvr32
1846 enable_rpcss
1847 enable_rundll32
1848 enable_sc
1849 enable_schtasks
1850 enable_sdbinst
1851 enable_secedit
1852 enable_servicemodelreg
1853 enable_services
1854 enable_shutdown
1855 enable_spoolsv
1856 enable_start
1857 enable_subst
1858 enable_svchost
1859 enable_systeminfo
1860 enable_taskkill
1861 enable_tasklist
1862 enable_taskmgr
1863 enable_termsv
1864 enable_uninstaller
1865 enable_unlodctr
1866 enable_view
1867 enable_wevtutil
1868 enable_where
1869 enable_whoami
1870 enable_wineboot
1871 enable_winebrowser
1872 enable_winecfg
1873 enable_wineconsole
1874 enable_winedbg
1875 enable_winedevice
1876 enable_winefile
1877 enable_winemenubuilder
1878 enable_winemine
1879 enable_winemsibuilder
1880 enable_winepath
1881 enable_winetest
1882 enable_winhlp32
1883 enable_winmgmt
1884 enable_winver
1885 enable_wmic
1886 enable_wmplayer
1887 enable_wordpad
1888 enable_write
1889 enable_wscript
1890 enable_wuauserv
1891 enable_wusa
1892 enable_xcopy
1893 enable_server
1894 enable_tools
1895 enable_sfnt2fon
1896 enable_widl
1897 enable_winebuild
1898 enable_winedump
1899 enable_winegcc
1900 enable_winemaker
1901 enable_wmc
1902 enable_wrc
1904 ac_precious_vars='build_alias
1905 host_alias
1906 target_alias
1908 CFLAGS
1909 LDFLAGS
1910 LIBS
1911 CPPFLAGS
1913 CXXFLAGS
1916 OBJC
1917 OBJCFLAGS
1918 OBJCPP
1919 XMKMF
1920 XML2_CFLAGS
1921 XML2_LIBS
1922 XSLT_CFLAGS
1923 XSLT_LIBS
1924 INOTIFY_CFLAGS
1925 INOTIFY_LIBS
1926 DBUS_CFLAGS
1927 DBUS_LIBS
1928 HAL_CFLAGS
1929 HAL_LIBS
1930 GNUTLS_CFLAGS
1931 GNUTLS_LIBS
1932 SANE_CFLAGS
1933 SANE_LIBS
1934 USB_CFLAGS
1935 USB_LIBS
1936 GPHOTO2_CFLAGS
1937 GPHOTO2_LIBS
1938 GPHOTO2_PORT_CFLAGS
1939 GPHOTO2_PORT_LIBS
1940 LCMS2_CFLAGS
1941 LCMS2_LIBS
1942 FREETYPE_CFLAGS
1943 FREETYPE_LIBS
1944 PULSE_CFLAGS
1945 PULSE_LIBS
1946 GSTREAMER_CFLAGS
1947 GSTREAMER_LIBS
1948 UDEV_CFLAGS
1949 UDEV_LIBS
1950 UNWIND_CFLAGS
1951 UNWIND_LIBS
1952 SDL2_CFLAGS
1953 SDL2_LIBS
1954 FAUDIO_CFLAGS
1955 FAUDIO_LIBS
1956 CAPI20_CFLAGS
1957 CAPI20_LIBS
1958 CUPS_CFLAGS
1959 CUPS_LIBS
1960 FONTCONFIG_CFLAGS
1961 FONTCONFIG_LIBS
1962 KRB5_CFLAGS
1963 KRB5_LIBS
1964 GSSAPI_CFLAGS
1965 GSSAPI_LIBS
1966 JPEG_CFLAGS
1967 JPEG_LIBS
1968 JXRLIB_CFLAGS
1969 JXRLIB_LIBS
1970 PNG_CFLAGS
1971 PNG_LIBS
1972 TIFF_CFLAGS
1973 TIFF_LIBS
1974 MPG123_CFLAGS
1975 MPG123_LIBS
1976 NETAPI_CFLAGS
1977 NETAPI_LIBS
1978 VKD3D_CFLAGS
1979 VKD3D_LIBS
1980 VKD3D_SHADER_CFLAGS
1981 VKD3D_SHADER_LIBS
1982 LDAP_CFLAGS
1983 LDAP_LIBS'
1986 # Initialize some variables set by options.
1987 ac_init_help=
1988 ac_init_version=false
1989 ac_unrecognized_opts=
1990 ac_unrecognized_sep=
1991 # The variables have the same names as the options, with
1992 # dashes changed to underlines.
1993 cache_file=/dev/null
1994 exec_prefix=NONE
1995 no_create=
1996 no_recursion=
1997 prefix=NONE
1998 program_prefix=NONE
1999 program_suffix=NONE
2000 program_transform_name=s,x,x,
2001 silent=
2002 site=
2003 srcdir=
2004 verbose=
2005 x_includes=NONE
2006 x_libraries=NONE
2008 # Installation directory options.
2009 # These are left unexpanded so users can "make install exec_prefix=/foo"
2010 # and all the variables that are supposed to be based on exec_prefix
2011 # by default will actually change.
2012 # Use braces instead of parens because sh, perl, etc. also accept them.
2013 # (The list follows the same order as the GNU Coding Standards.)
2014 bindir='${exec_prefix}/bin'
2015 sbindir='${exec_prefix}/sbin'
2016 libexecdir='${exec_prefix}/libexec'
2017 datarootdir='${prefix}/share'
2018 datadir='${datarootdir}'
2019 sysconfdir='${prefix}/etc'
2020 sharedstatedir='${prefix}/com'
2021 localstatedir='${prefix}/var'
2022 runstatedir='${localstatedir}/run'
2023 includedir='${prefix}/include'
2024 oldincludedir='/usr/include'
2025 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2026 infodir='${datarootdir}/info'
2027 htmldir='${docdir}'
2028 dvidir='${docdir}'
2029 pdfdir='${docdir}'
2030 psdir='${docdir}'
2031 libdir='${exec_prefix}/lib'
2032 localedir='${datarootdir}/locale'
2033 mandir='${datarootdir}/man'
2035 ac_prev=
2036 ac_dashdash=
2037 for ac_option
2039 # If the previous option needs an argument, assign it.
2040 if test -n "$ac_prev"; then
2041 eval $ac_prev=\$ac_option
2042 ac_prev=
2043 continue
2046 case $ac_option in
2047 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2048 *=) ac_optarg= ;;
2049 *) ac_optarg=yes ;;
2050 esac
2052 # Accept the important Cygnus configure options, so we can diagnose typos.
2054 case $ac_dashdash$ac_option in
2056 ac_dashdash=yes ;;
2058 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2059 ac_prev=bindir ;;
2060 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2061 bindir=$ac_optarg ;;
2063 -build | --build | --buil | --bui | --bu)
2064 ac_prev=build_alias ;;
2065 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2066 build_alias=$ac_optarg ;;
2068 -cache-file | --cache-file | --cache-fil | --cache-fi \
2069 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2070 ac_prev=cache_file ;;
2071 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2072 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2073 cache_file=$ac_optarg ;;
2075 --config-cache | -C)
2076 cache_file=config.cache ;;
2078 -datadir | --datadir | --datadi | --datad)
2079 ac_prev=datadir ;;
2080 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2081 datadir=$ac_optarg ;;
2083 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2084 | --dataroo | --dataro | --datar)
2085 ac_prev=datarootdir ;;
2086 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2087 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2088 datarootdir=$ac_optarg ;;
2090 -disable-* | --disable-*)
2091 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2092 # Reject names that are not valid shell variable names.
2093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2094 as_fn_error $? "invalid feature name: $ac_useropt"
2095 ac_useropt_orig=$ac_useropt
2096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2097 case $ac_user_opts in
2099 "enable_$ac_useropt"
2100 "*) ;;
2101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2102 ac_unrecognized_sep=', ';;
2103 esac
2104 eval enable_$ac_useropt=no ;;
2106 -docdir | --docdir | --docdi | --doc | --do)
2107 ac_prev=docdir ;;
2108 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2109 docdir=$ac_optarg ;;
2111 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2112 ac_prev=dvidir ;;
2113 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2114 dvidir=$ac_optarg ;;
2116 -enable-* | --enable-*)
2117 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2118 # Reject names that are not valid shell variable names.
2119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2120 as_fn_error $? "invalid feature name: $ac_useropt"
2121 ac_useropt_orig=$ac_useropt
2122 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2123 case $ac_user_opts in
2125 "enable_$ac_useropt"
2126 "*) ;;
2127 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2128 ac_unrecognized_sep=', ';;
2129 esac
2130 eval enable_$ac_useropt=\$ac_optarg ;;
2132 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2133 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2134 | --exec | --exe | --ex)
2135 ac_prev=exec_prefix ;;
2136 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2137 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2138 | --exec=* | --exe=* | --ex=*)
2139 exec_prefix=$ac_optarg ;;
2141 -gas | --gas | --ga | --g)
2142 # Obsolete; use --with-gas.
2143 with_gas=yes ;;
2145 -help | --help | --hel | --he | -h)
2146 ac_init_help=long ;;
2147 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2148 ac_init_help=recursive ;;
2149 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2150 ac_init_help=short ;;
2152 -host | --host | --hos | --ho)
2153 ac_prev=host_alias ;;
2154 -host=* | --host=* | --hos=* | --ho=*)
2155 host_alias=$ac_optarg ;;
2157 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2158 ac_prev=htmldir ;;
2159 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2160 | --ht=*)
2161 htmldir=$ac_optarg ;;
2163 -includedir | --includedir | --includedi | --included | --include \
2164 | --includ | --inclu | --incl | --inc)
2165 ac_prev=includedir ;;
2166 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2167 | --includ=* | --inclu=* | --incl=* | --inc=*)
2168 includedir=$ac_optarg ;;
2170 -infodir | --infodir | --infodi | --infod | --info | --inf)
2171 ac_prev=infodir ;;
2172 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2173 infodir=$ac_optarg ;;
2175 -libdir | --libdir | --libdi | --libd)
2176 ac_prev=libdir ;;
2177 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2178 libdir=$ac_optarg ;;
2180 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2181 | --libexe | --libex | --libe)
2182 ac_prev=libexecdir ;;
2183 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2184 | --libexe=* | --libex=* | --libe=*)
2185 libexecdir=$ac_optarg ;;
2187 -localedir | --localedir | --localedi | --localed | --locale)
2188 ac_prev=localedir ;;
2189 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2190 localedir=$ac_optarg ;;
2192 -localstatedir | --localstatedir | --localstatedi | --localstated \
2193 | --localstate | --localstat | --localsta | --localst | --locals)
2194 ac_prev=localstatedir ;;
2195 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2196 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2197 localstatedir=$ac_optarg ;;
2199 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2200 ac_prev=mandir ;;
2201 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2202 mandir=$ac_optarg ;;
2204 -nfp | --nfp | --nf)
2205 # Obsolete; use --without-fp.
2206 with_fp=no ;;
2208 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2209 | --no-cr | --no-c | -n)
2210 no_create=yes ;;
2212 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2213 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2214 no_recursion=yes ;;
2216 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2217 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2218 | --oldin | --oldi | --old | --ol | --o)
2219 ac_prev=oldincludedir ;;
2220 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2221 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2222 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2223 oldincludedir=$ac_optarg ;;
2225 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2226 ac_prev=prefix ;;
2227 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2228 prefix=$ac_optarg ;;
2230 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2231 | --program-pre | --program-pr | --program-p)
2232 ac_prev=program_prefix ;;
2233 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2234 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2235 program_prefix=$ac_optarg ;;
2237 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2238 | --program-suf | --program-su | --program-s)
2239 ac_prev=program_suffix ;;
2240 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2241 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2242 program_suffix=$ac_optarg ;;
2244 -program-transform-name | --program-transform-name \
2245 | --program-transform-nam | --program-transform-na \
2246 | --program-transform-n | --program-transform- \
2247 | --program-transform | --program-transfor \
2248 | --program-transfo | --program-transf \
2249 | --program-trans | --program-tran \
2250 | --progr-tra | --program-tr | --program-t)
2251 ac_prev=program_transform_name ;;
2252 -program-transform-name=* | --program-transform-name=* \
2253 | --program-transform-nam=* | --program-transform-na=* \
2254 | --program-transform-n=* | --program-transform-=* \
2255 | --program-transform=* | --program-transfor=* \
2256 | --program-transfo=* | --program-transf=* \
2257 | --program-trans=* | --program-tran=* \
2258 | --progr-tra=* | --program-tr=* | --program-t=*)
2259 program_transform_name=$ac_optarg ;;
2261 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2262 ac_prev=pdfdir ;;
2263 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2264 pdfdir=$ac_optarg ;;
2266 -psdir | --psdir | --psdi | --psd | --ps)
2267 ac_prev=psdir ;;
2268 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2269 psdir=$ac_optarg ;;
2271 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2272 | -silent | --silent | --silen | --sile | --sil)
2273 silent=yes ;;
2275 -runstatedir | --runstatedir | --runstatedi | --runstated \
2276 | --runstate | --runstat | --runsta | --runst | --runs \
2277 | --run | --ru | --r)
2278 ac_prev=runstatedir ;;
2279 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2280 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2281 | --run=* | --ru=* | --r=*)
2282 runstatedir=$ac_optarg ;;
2284 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2285 ac_prev=sbindir ;;
2286 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2287 | --sbi=* | --sb=*)
2288 sbindir=$ac_optarg ;;
2290 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2291 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2292 | --sharedst | --shareds | --shared | --share | --shar \
2293 | --sha | --sh)
2294 ac_prev=sharedstatedir ;;
2295 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2296 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2297 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2298 | --sha=* | --sh=*)
2299 sharedstatedir=$ac_optarg ;;
2301 -site | --site | --sit)
2302 ac_prev=site ;;
2303 -site=* | --site=* | --sit=*)
2304 site=$ac_optarg ;;
2306 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2307 ac_prev=srcdir ;;
2308 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2309 srcdir=$ac_optarg ;;
2311 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2312 | --syscon | --sysco | --sysc | --sys | --sy)
2313 ac_prev=sysconfdir ;;
2314 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2315 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2316 sysconfdir=$ac_optarg ;;
2318 -target | --target | --targe | --targ | --tar | --ta | --t)
2319 ac_prev=target_alias ;;
2320 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2321 target_alias=$ac_optarg ;;
2323 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2324 verbose=yes ;;
2326 -version | --version | --versio | --versi | --vers | -V)
2327 ac_init_version=: ;;
2329 -with-* | --with-*)
2330 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2331 # Reject names that are not valid shell variable names.
2332 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2333 as_fn_error $? "invalid package name: $ac_useropt"
2334 ac_useropt_orig=$ac_useropt
2335 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2336 case $ac_user_opts in
2338 "with_$ac_useropt"
2339 "*) ;;
2340 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2341 ac_unrecognized_sep=', ';;
2342 esac
2343 eval with_$ac_useropt=\$ac_optarg ;;
2345 -without-* | --without-*)
2346 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2347 # Reject names that are not valid shell variable names.
2348 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2349 as_fn_error $? "invalid package name: $ac_useropt"
2350 ac_useropt_orig=$ac_useropt
2351 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2352 case $ac_user_opts in
2354 "with_$ac_useropt"
2355 "*) ;;
2356 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2357 ac_unrecognized_sep=', ';;
2358 esac
2359 eval with_$ac_useropt=no ;;
2361 --x)
2362 # Obsolete; use --with-x.
2363 with_x=yes ;;
2365 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2366 | --x-incl | --x-inc | --x-in | --x-i)
2367 ac_prev=x_includes ;;
2368 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2369 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2370 x_includes=$ac_optarg ;;
2372 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2373 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2374 ac_prev=x_libraries ;;
2375 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2376 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2377 x_libraries=$ac_optarg ;;
2379 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2380 Try \`$0 --help' for more information"
2383 *=*)
2384 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2385 # Reject names that are not valid shell variable names.
2386 case $ac_envvar in #(
2387 '' | [0-9]* | *[!_$as_cr_alnum]* )
2388 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2389 esac
2390 eval $ac_envvar=\$ac_optarg
2391 export $ac_envvar ;;
2394 # FIXME: should be removed in autoconf 3.0.
2395 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2396 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2397 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2398 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2401 esac
2402 done
2404 if test -n "$ac_prev"; then
2405 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2406 as_fn_error $? "missing argument to $ac_option"
2409 if test -n "$ac_unrecognized_opts"; then
2410 case $enable_option_checking in
2411 no) ;;
2412 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2413 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2414 esac
2417 # Check all directory arguments for consistency.
2418 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2419 datadir sysconfdir sharedstatedir localstatedir includedir \
2420 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2421 libdir localedir mandir runstatedir
2423 eval ac_val=\$$ac_var
2424 # Remove trailing slashes.
2425 case $ac_val in
2426 */ )
2427 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2428 eval $ac_var=\$ac_val;;
2429 esac
2430 # Be sure to have absolute directory names.
2431 case $ac_val in
2432 [\\/$]* | ?:[\\/]* ) continue;;
2433 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2434 esac
2435 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2436 done
2438 # There might be people who depend on the old broken behavior: `$host'
2439 # used to hold the argument of --host etc.
2440 # FIXME: To remove some day.
2441 build=$build_alias
2442 host=$host_alias
2443 target=$target_alias
2445 # FIXME: To remove some day.
2446 if test "x$host_alias" != x; then
2447 if test "x$build_alias" = x; then
2448 cross_compiling=maybe
2449 elif test "x$build_alias" != "x$host_alias"; then
2450 cross_compiling=yes
2454 ac_tool_prefix=
2455 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2457 test "$silent" = yes && exec 6>/dev/null
2460 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2461 ac_ls_di=`ls -di .` &&
2462 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2463 as_fn_error $? "working directory cannot be determined"
2464 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2465 as_fn_error $? "pwd does not report name of working directory"
2468 # Find the source files, if location was not specified.
2469 if test -z "$srcdir"; then
2470 ac_srcdir_defaulted=yes
2471 # Try the directory containing this script, then the parent directory.
2472 ac_confdir=`$as_dirname -- "$as_myself" ||
2473 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2474 X"$as_myself" : 'X\(//\)[^/]' \| \
2475 X"$as_myself" : 'X\(//\)$' \| \
2476 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2477 $as_echo X"$as_myself" |
2478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2479 s//\1/
2482 /^X\(\/\/\)[^/].*/{
2483 s//\1/
2486 /^X\(\/\/\)$/{
2487 s//\1/
2490 /^X\(\/\).*/{
2491 s//\1/
2494 s/.*/./; q'`
2495 srcdir=$ac_confdir
2496 if test ! -r "$srcdir/$ac_unique_file"; then
2497 srcdir=..
2499 else
2500 ac_srcdir_defaulted=no
2502 if test ! -r "$srcdir/$ac_unique_file"; then
2503 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2504 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2506 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2507 ac_abs_confdir=`(
2508 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2509 pwd)`
2510 # When building in place, set srcdir=.
2511 if test "$ac_abs_confdir" = "$ac_pwd"; then
2512 srcdir=.
2514 # Remove unnecessary trailing slashes from srcdir.
2515 # Double slashes in file names in object file debugging info
2516 # mess up M-x gdb in Emacs.
2517 case $srcdir in
2518 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2519 esac
2520 for ac_var in $ac_precious_vars; do
2521 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2522 eval ac_env_${ac_var}_value=\$${ac_var}
2523 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2524 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2525 done
2528 # Report the --help message.
2530 if test "$ac_init_help" = "long"; then
2531 # Omit some internal or obsolete options to make the list less imposing.
2532 # This message is too long to be a string in the A/UX 3.1 sh.
2533 cat <<_ACEOF
2534 \`configure' configures Wine 6.16 to adapt to many kinds of systems.
2536 Usage: $0 [OPTION]... [VAR=VALUE]...
2538 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2539 VAR=VALUE. See below for descriptions of some of the useful variables.
2541 Defaults for the options are specified in brackets.
2543 Configuration:
2544 -h, --help display this help and exit
2545 --help=short display options specific to this package
2546 --help=recursive display the short help of all the included packages
2547 -V, --version display version information and exit
2548 -q, --quiet, --silent do not print \`checking ...' messages
2549 --cache-file=FILE cache test results in FILE [disabled]
2550 -C, --config-cache alias for \`--cache-file=config.cache'
2551 -n, --no-create do not create output files
2552 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2554 Installation directories:
2555 --prefix=PREFIX install architecture-independent files in PREFIX
2556 [$ac_default_prefix]
2557 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2558 [PREFIX]
2560 By default, \`make install' will install all the files in
2561 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2562 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2563 for instance \`--prefix=\$HOME'.
2565 For better control, use the options below.
2567 Fine tuning of the installation directories:
2568 --bindir=DIR user executables [EPREFIX/bin]
2569 --sbindir=DIR system admin executables [EPREFIX/sbin]
2570 --libexecdir=DIR program executables [EPREFIX/libexec]
2571 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2572 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2573 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2574 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2575 --libdir=DIR object code libraries [EPREFIX/lib]
2576 --includedir=DIR C header files [PREFIX/include]
2577 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2578 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2579 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2580 --infodir=DIR info documentation [DATAROOTDIR/info]
2581 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2582 --mandir=DIR man documentation [DATAROOTDIR/man]
2583 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2584 --htmldir=DIR html documentation [DOCDIR]
2585 --dvidir=DIR dvi documentation [DOCDIR]
2586 --pdfdir=DIR pdf documentation [DOCDIR]
2587 --psdir=DIR ps documentation [DOCDIR]
2588 _ACEOF
2590 cat <<\_ACEOF
2592 X features:
2593 --x-includes=DIR X include files are in DIR
2594 --x-libraries=DIR X library files are in DIR
2596 System types:
2597 --build=BUILD configure for building on BUILD [guessed]
2598 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2599 _ACEOF
2602 if test -n "$ac_init_help"; then
2603 case $ac_init_help in
2604 short | recursive ) echo "Configuration of Wine 6.16:";;
2605 esac
2606 cat <<\_ACEOF
2608 Optional Features:
2609 --disable-option-checking ignore unrecognized --enable/--with options
2610 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2611 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2612 --disable-win16 do not include Win16 support
2613 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2614 binaries)
2615 --disable-tests do not build the regression tests
2616 --enable-build-id include .buildid section in output objects
2617 --enable-maintainer-mode
2618 enable maintainer-specific build rules
2619 --enable-silent-rules use silent build rules (override: "make V=1")
2620 --enable-werror treat compilation warnings as errors
2621 --disable-largefile omit support for large files
2623 Optional Packages:
2624 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2625 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2626 --without-alsa do not use the Alsa sound support
2627 --without-capi do not use CAPI (ISDN support)
2628 --without-cms do not use CMS (color management support)
2629 --without-coreaudio do not use the CoreAudio sound support
2630 --without-cups do not use CUPS
2631 --without-dbus do not use DBus (dynamic device support)
2632 --without-faudio do not use FAudio (XAudio2 support)
2633 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2634 --without-fontconfig do not use fontconfig
2635 --without-freetype do not use the FreeType library
2636 --without-gettext do not use gettext
2637 --with-gettextpo use the GetTextPO library to rebuild po files
2638 --without-gphoto do not use gphoto (Digital Camera support)
2639 --without-gnutls do not use GnuTLS (schannel support)
2640 --without-gsm do not use libgsm (GSM 06.10 codec support)
2641 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2642 --without-gstreamer do not use GStreamer (codecs support)
2643 --without-hal do not use HAL (dynamic device support)
2644 --without-inotify do not use inotify (filesystem change notifications)
2645 --without-jpeg do not use JPEG
2646 --without-jxrlib do not use JPEG-XR
2647 --without-krb5 do not use krb5 (Kerberos)
2648 --without-ldap do not use LDAP
2649 --without-mingw do not use the MinGW cross-compiler
2650 --without-mpg123 do not use the mpg123 library
2651 --without-netapi do not use the Samba NetAPI library
2652 --without-openal do not use OpenAL
2653 --without-opencl do not use OpenCL
2654 --without-opengl do not use OpenGL
2655 --without-osmesa do not use the OSMesa library
2656 --without-oss do not use the OSS sound support
2657 --without-pcap do not use the Packet Capture library
2658 --without-png do not use PNG
2659 --without-pthread do not use the pthread library
2660 --without-pulse do not use PulseAudio sound support
2661 --without-quicktime do not use QuickTime support
2662 --without-sane do not use SANE (scanner support)
2663 --without-sdl do not use SDL
2664 --without-tiff do not use TIFF
2665 --without-udev do not use udev (plug and play support)
2666 --without-unwind do not use the libunwind library (exception
2667 handling)
2668 --without-usb do not use the libusb library
2669 --without-v4l2 do not use v4l2 (video capture)
2670 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2671 --without-vulkan do not use Vulkan
2672 --without-xcomposite do not use the Xcomposite extension
2673 --without-xcursor do not use the Xcursor extension
2674 --without-xfixes do not use Xfixes for clipboard change notifications
2675 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2676 --without-xinput do not use the Xinput extension
2677 --without-xinput2 do not use the Xinput 2 extension
2678 --without-xml do not use XML
2679 --without-xrandr do not use Xrandr (multi-monitor support)
2680 --without-xrender do not use the Xrender extension
2681 --without-xshape do not use the Xshape extension
2682 --without-xshm do not use XShm (shared memory extension)
2683 --without-xslt do not use XSLT
2684 --without-xxf86vm do not use XFree video mode extension
2685 --with-wine-tools=DIR use Wine tools from directory DIR
2686 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2687 --with-x use the X Window System
2689 Some influential environment variables:
2690 CC C compiler command
2691 CFLAGS C compiler flags
2692 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2693 nonstandard directory <lib dir>
2694 LIBS libraries to pass to the linker, e.g. -l<library>
2695 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2696 you have headers in a nonstandard directory <include dir>
2697 CXX C++ compiler command
2698 CXXFLAGS C++ compiler flags
2699 CPP C preprocessor
2700 OBJC Objective C compiler command
2701 OBJCFLAGS Objective C compiler flags
2702 OBJCPP Objective C preprocessor
2703 XMKMF Path to xmkmf, Makefile generator for X Window System
2704 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2705 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2706 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2707 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2708 INOTIFY_CFLAGS
2709 C compiler flags for libinotify, overriding pkg-config
2710 INOTIFY_LIBS
2711 Linker flags for libinotify, overriding pkg-config
2712 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2713 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2714 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2715 HAL_LIBS Linker flags for hal, overriding pkg-config
2716 GNUTLS_CFLAGS
2717 C compiler flags for gnutls, overriding pkg-config
2718 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2719 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2720 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2721 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2722 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2723 GPHOTO2_CFLAGS
2724 C compiler flags for libgphoto2, overriding pkg-config
2725 GPHOTO2_LIBS
2726 Linker flags for libgphoto2, overriding pkg-config
2727 GPHOTO2_PORT_CFLAGS
2728 C compiler flags for libgphoto2_port, overriding pkg-config
2729 GPHOTO2_PORT_LIBS
2730 Linker flags for libgphoto2_port, overriding pkg-config
2731 LCMS2_CFLAGS
2732 C compiler flags for lcms2, overriding pkg-config
2733 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2734 FREETYPE_CFLAGS
2735 C compiler flags for freetype2, overriding pkg-config
2736 FREETYPE_LIBS
2737 Linker flags for freetype2, overriding pkg-config
2738 PULSE_CFLAGS
2739 C compiler flags for libpulse, overriding pkg-config
2740 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2741 GSTREAMER_CFLAGS
2742 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2743 gstreamer-audio-1.0, overriding pkg-config
2744 GSTREAMER_LIBS
2745 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2746 gstreamer-audio-1.0, overriding pkg-config
2747 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2748 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2749 UNWIND_CFLAGS
2750 C compiler flags for libunwind, overriding pkg-config
2751 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2752 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2753 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2754 FAUDIO_CFLAGS
2755 C compiler flags for FAudio, overriding pkg-config
2756 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2757 CAPI20_CFLAGS
2758 C compiler flags for capi20, overriding pkg-config
2759 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2760 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2761 CUPS_LIBS Linker flags for cups, overriding pkg-config
2762 FONTCONFIG_CFLAGS
2763 C compiler flags for fontconfig, overriding pkg-config
2764 FONTCONFIG_LIBS
2765 Linker flags for fontconfig, overriding pkg-config
2766 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2767 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2768 GSSAPI_CFLAGS
2769 C compiler flags for krb5-gssapi, overriding pkg-config
2770 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2771 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2772 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2773 JXRLIB_CFLAGS
2774 C compiler flags for jxrlib, overriding pkg-config
2775 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2776 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2777 PNG_LIBS Linker flags for libpng, overriding pkg-config
2778 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2779 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2780 MPG123_CFLAGS
2781 C compiler flags for libmpg123, overriding pkg-config
2782 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2783 NETAPI_CFLAGS
2784 C compiler flags for netapi, overriding pkg-config
2785 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2786 VKD3D_CFLAGS
2787 C compiler flags for libvkd3d, overriding pkg-config
2788 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2789 VKD3D_SHADER_CFLAGS
2790 C compiler flags for libvkd3d-shader, overriding pkg-config
2791 VKD3D_SHADER_LIBS
2792 Linker flags for libvkd3d-shader, overriding pkg-config
2793 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2794 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2796 Use these variables to override the choices made by `configure' or to help
2797 it to find libraries and programs with nonstandard names/locations.
2799 Report bugs to <wine-devel@winehq.org>.
2800 Wine home page: <https://www.winehq.org>.
2801 _ACEOF
2802 ac_status=$?
2805 if test "$ac_init_help" = "recursive"; then
2806 # If there are subdirs, report their specific --help.
2807 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2808 test -d "$ac_dir" ||
2809 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2810 continue
2811 ac_builddir=.
2813 case "$ac_dir" in
2814 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2816 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2817 # A ".." for each directory in $ac_dir_suffix.
2818 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2819 case $ac_top_builddir_sub in
2820 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2821 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2822 esac ;;
2823 esac
2824 ac_abs_top_builddir=$ac_pwd
2825 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2826 # for backward compatibility:
2827 ac_top_builddir=$ac_top_build_prefix
2829 case $srcdir in
2830 .) # We are building in place.
2831 ac_srcdir=.
2832 ac_top_srcdir=$ac_top_builddir_sub
2833 ac_abs_top_srcdir=$ac_pwd ;;
2834 [\\/]* | ?:[\\/]* ) # Absolute name.
2835 ac_srcdir=$srcdir$ac_dir_suffix;
2836 ac_top_srcdir=$srcdir
2837 ac_abs_top_srcdir=$srcdir ;;
2838 *) # Relative name.
2839 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2840 ac_top_srcdir=$ac_top_build_prefix$srcdir
2841 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2842 esac
2843 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2845 cd "$ac_dir" || { ac_status=$?; continue; }
2846 # Check for guested configure.
2847 if test -f "$ac_srcdir/configure.gnu"; then
2848 echo &&
2849 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2850 elif test -f "$ac_srcdir/configure"; then
2851 echo &&
2852 $SHELL "$ac_srcdir/configure" --help=recursive
2853 else
2854 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2855 fi || ac_status=$?
2856 cd "$ac_pwd" || { ac_status=$?; break; }
2857 done
2860 test -n "$ac_init_help" && exit $ac_status
2861 if $ac_init_version; then
2862 cat <<\_ACEOF
2863 Wine configure 6.16
2864 generated by GNU Autoconf 2.69
2866 Copyright (C) 2012 Free Software Foundation, Inc.
2867 This configure script is free software; the Free Software Foundation
2868 gives unlimited permission to copy, distribute and modify it.
2869 _ACEOF
2870 exit
2873 ## ------------------------ ##
2874 ## Autoconf initialization. ##
2875 ## ------------------------ ##
2877 # ac_fn_c_try_compile LINENO
2878 # --------------------------
2879 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2880 ac_fn_c_try_compile ()
2882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2883 rm -f conftest.$ac_objext
2884 if { { ac_try="$ac_compile"
2885 case "(($ac_try" in
2886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887 *) ac_try_echo=$ac_try;;
2888 esac
2889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2890 $as_echo "$ac_try_echo"; } >&5
2891 (eval "$ac_compile") 2>conftest.err
2892 ac_status=$?
2893 if test -s conftest.err; then
2894 grep -v '^ *+' conftest.err >conftest.er1
2895 cat conftest.er1 >&5
2896 mv -f conftest.er1 conftest.err
2898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2899 test $ac_status = 0; } && {
2900 test -z "$ac_c_werror_flag" ||
2901 test ! -s conftest.err
2902 } && test -s conftest.$ac_objext; then :
2903 ac_retval=0
2904 else
2905 $as_echo "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.$ac_ext >&5
2908 ac_retval=1
2910 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2911 as_fn_set_status $ac_retval
2913 } # ac_fn_c_try_compile
2915 # ac_fn_cxx_try_compile LINENO
2916 # ----------------------------
2917 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2918 ac_fn_cxx_try_compile ()
2920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2921 rm -f conftest.$ac_objext
2922 if { { ac_try="$ac_compile"
2923 case "(($ac_try" in
2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2925 *) ac_try_echo=$ac_try;;
2926 esac
2927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2928 $as_echo "$ac_try_echo"; } >&5
2929 (eval "$ac_compile") 2>conftest.err
2930 ac_status=$?
2931 if test -s conftest.err; then
2932 grep -v '^ *+' conftest.err >conftest.er1
2933 cat conftest.er1 >&5
2934 mv -f conftest.er1 conftest.err
2936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2937 test $ac_status = 0; } && {
2938 test -z "$ac_cxx_werror_flag" ||
2939 test ! -s conftest.err
2940 } && test -s conftest.$ac_objext; then :
2941 ac_retval=0
2942 else
2943 $as_echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.$ac_ext >&5
2946 ac_retval=1
2948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2949 as_fn_set_status $ac_retval
2951 } # ac_fn_cxx_try_compile
2953 # ac_fn_c_try_link LINENO
2954 # -----------------------
2955 # Try to link conftest.$ac_ext, and return whether this succeeded.
2956 ac_fn_c_try_link ()
2958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2959 rm -f conftest.$ac_objext conftest$ac_exeext
2960 if { { ac_try="$ac_link"
2961 case "(($ac_try" in
2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963 *) ac_try_echo=$ac_try;;
2964 esac
2965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2966 $as_echo "$ac_try_echo"; } >&5
2967 (eval "$ac_link") 2>conftest.err
2968 ac_status=$?
2969 if test -s conftest.err; then
2970 grep -v '^ *+' conftest.err >conftest.er1
2971 cat conftest.er1 >&5
2972 mv -f conftest.er1 conftest.err
2974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2975 test $ac_status = 0; } && {
2976 test -z "$ac_c_werror_flag" ||
2977 test ! -s conftest.err
2978 } && test -s conftest$ac_exeext && {
2979 test "$cross_compiling" = yes ||
2980 test -x conftest$ac_exeext
2981 }; then :
2982 ac_retval=0
2983 else
2984 $as_echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.$ac_ext >&5
2987 ac_retval=1
2989 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2990 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2991 # interfere with the next link command; also delete a directory that is
2992 # left behind by Apple's compiler. We do this before executing the actions.
2993 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2995 as_fn_set_status $ac_retval
2997 } # ac_fn_c_try_link
2999 # ac_fn_c_try_cpp LINENO
3000 # ----------------------
3001 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3002 ac_fn_c_try_cpp ()
3004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3005 if { { ac_try="$ac_cpp conftest.$ac_ext"
3006 case "(($ac_try" in
3007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3008 *) ac_try_echo=$ac_try;;
3009 esac
3010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3011 $as_echo "$ac_try_echo"; } >&5
3012 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3013 ac_status=$?
3014 if test -s conftest.err; then
3015 grep -v '^ *+' conftest.err >conftest.er1
3016 cat conftest.er1 >&5
3017 mv -f conftest.er1 conftest.err
3019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3020 test $ac_status = 0; } > conftest.i && {
3021 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3022 test ! -s conftest.err
3023 }; then :
3024 ac_retval=0
3025 else
3026 $as_echo "$as_me: failed program was:" >&5
3027 sed 's/^/| /' conftest.$ac_ext >&5
3029 ac_retval=1
3031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3032 as_fn_set_status $ac_retval
3034 } # ac_fn_c_try_cpp
3036 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3037 # -------------------------------------------------------
3038 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3039 # the include files in INCLUDES and setting the cache variable VAR
3040 # accordingly.
3041 ac_fn_c_check_header_mongrel ()
3043 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3044 if eval \${$3+:} false; then :
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3046 $as_echo_n "checking for $2... " >&6; }
3047 if eval \${$3+:} false; then :
3048 $as_echo_n "(cached) " >&6
3050 eval ac_res=\$$3
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3052 $as_echo "$ac_res" >&6; }
3053 else
3054 # Is the header compilable?
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3056 $as_echo_n "checking $2 usability... " >&6; }
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3060 #include <$2>
3061 _ACEOF
3062 if ac_fn_c_try_compile "$LINENO"; then :
3063 ac_header_compiler=yes
3064 else
3065 ac_header_compiler=no
3067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3069 $as_echo "$ac_header_compiler" >&6; }
3071 # Is the header present?
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3073 $as_echo_n "checking $2 presence... " >&6; }
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3076 #include <$2>
3077 _ACEOF
3078 if ac_fn_c_try_cpp "$LINENO"; then :
3079 ac_header_preproc=yes
3080 else
3081 ac_header_preproc=no
3083 rm -f conftest.err conftest.i conftest.$ac_ext
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3085 $as_echo "$ac_header_preproc" >&6; }
3087 # So? What about this header?
3088 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3089 yes:no: )
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3091 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3093 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3095 no:yes:* )
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3097 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3099 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3101 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3103 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3105 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3106 ( $as_echo "## ------------------------------------ ##
3107 ## Report this to wine-devel@winehq.org ##
3108 ## ------------------------------------ ##"
3109 ) | sed "s/^/$as_me: WARNING: /" >&2
3111 esac
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3113 $as_echo_n "checking for $2... " >&6; }
3114 if eval \${$3+:} false; then :
3115 $as_echo_n "(cached) " >&6
3116 else
3117 eval "$3=\$ac_header_compiler"
3119 eval ac_res=\$$3
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3121 $as_echo "$ac_res" >&6; }
3123 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3125 } # ac_fn_c_check_header_mongrel
3127 # ac_fn_c_try_run LINENO
3128 # ----------------------
3129 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3130 # that executables *can* be run.
3131 ac_fn_c_try_run ()
3133 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3134 if { { ac_try="$ac_link"
3135 case "(($ac_try" in
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3138 esac
3139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3140 $as_echo "$ac_try_echo"; } >&5
3141 (eval "$ac_link") 2>&5
3142 ac_status=$?
3143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3144 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3145 { { case "(($ac_try" in
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3148 esac
3149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3150 $as_echo "$ac_try_echo"; } >&5
3151 (eval "$ac_try") 2>&5
3152 ac_status=$?
3153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3154 test $ac_status = 0; }; }; then :
3155 ac_retval=0
3156 else
3157 $as_echo "$as_me: program exited with status $ac_status" >&5
3158 $as_echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3161 ac_retval=$ac_status
3163 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3164 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3165 as_fn_set_status $ac_retval
3167 } # ac_fn_c_try_run
3169 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3170 # -------------------------------------------------------
3171 # Tests whether HEADER exists and can be compiled using the include files in
3172 # INCLUDES, setting the cache variable VAR accordingly.
3173 ac_fn_c_check_header_compile ()
3175 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3177 $as_echo_n "checking for $2... " >&6; }
3178 if eval \${$3+:} false; then :
3179 $as_echo_n "(cached) " >&6
3180 else
3181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182 /* end confdefs.h. */
3184 #include <$2>
3185 _ACEOF
3186 if ac_fn_c_try_compile "$LINENO"; then :
3187 eval "$3=yes"
3188 else
3189 eval "$3=no"
3191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3193 eval ac_res=\$$3
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3195 $as_echo "$ac_res" >&6; }
3196 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3198 } # ac_fn_c_check_header_compile
3200 # ac_fn_objc_try_compile LINENO
3201 # -----------------------------
3202 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3203 ac_fn_objc_try_compile ()
3205 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3206 rm -f conftest.$ac_objext
3207 if { { ac_try="$ac_compile"
3208 case "(($ac_try" in
3209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3210 *) ac_try_echo=$ac_try;;
3211 esac
3212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3213 $as_echo "$ac_try_echo"; } >&5
3214 (eval "$ac_compile") 2>conftest.err
3215 ac_status=$?
3216 if test -s conftest.err; then
3217 grep -v '^ *+' conftest.err >conftest.er1
3218 cat conftest.er1 >&5
3219 mv -f conftest.er1 conftest.err
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; } && {
3223 test -z "$ac_objc_werror_flag" ||
3224 test ! -s conftest.err
3225 } && test -s conftest.$ac_objext; then :
3226 ac_retval=0
3227 else
3228 $as_echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3231 ac_retval=1
3233 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3234 as_fn_set_status $ac_retval
3236 } # ac_fn_objc_try_compile
3238 # ac_fn_objc_try_cpp LINENO
3239 # -------------------------
3240 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3241 ac_fn_objc_try_cpp ()
3243 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3244 if { { ac_try="$ac_cpp conftest.$ac_ext"
3245 case "(($ac_try" in
3246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247 *) ac_try_echo=$ac_try;;
3248 esac
3249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3250 $as_echo "$ac_try_echo"; } >&5
3251 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3252 ac_status=$?
3253 if test -s conftest.err; then
3254 grep -v '^ *+' conftest.err >conftest.er1
3255 cat conftest.er1 >&5
3256 mv -f conftest.er1 conftest.err
3258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3259 test $ac_status = 0; } > conftest.i && {
3260 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3261 test ! -s conftest.err
3262 }; then :
3263 ac_retval=0
3264 else
3265 $as_echo "$as_me: failed program was:" >&5
3266 sed 's/^/| /' conftest.$ac_ext >&5
3268 ac_retval=1
3270 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3271 as_fn_set_status $ac_retval
3273 } # ac_fn_objc_try_cpp
3275 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3276 # ----------------------------------------------------------
3277 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3278 # the include files in INCLUDES and setting the cache variable VAR
3279 # accordingly.
3280 ac_fn_objc_check_header_mongrel ()
3282 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3283 if eval \${$3+:} false; then :
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3285 $as_echo_n "checking for $2... " >&6; }
3286 if eval \${$3+:} false; then :
3287 $as_echo_n "(cached) " >&6
3289 eval ac_res=\$$3
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3291 $as_echo "$ac_res" >&6; }
3292 else
3293 # Is the header compilable?
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3295 $as_echo_n "checking $2 usability... " >&6; }
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3299 #include <$2>
3300 _ACEOF
3301 if ac_fn_objc_try_compile "$LINENO"; then :
3302 ac_header_compiler=yes
3303 else
3304 ac_header_compiler=no
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3308 $as_echo "$ac_header_compiler" >&6; }
3310 # Is the header present?
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3312 $as_echo_n "checking $2 presence... " >&6; }
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3315 #include <$2>
3316 _ACEOF
3317 if ac_fn_objc_try_cpp "$LINENO"; then :
3318 ac_header_preproc=yes
3319 else
3320 ac_header_preproc=no
3322 rm -f conftest.err conftest.i conftest.$ac_ext
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3324 $as_echo "$ac_header_preproc" >&6; }
3326 # So? What about this header?
3327 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3328 yes:no: )
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3330 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3332 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3334 no:yes:* )
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3336 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3338 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3340 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3342 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3344 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3345 ( $as_echo "## ------------------------------------ ##
3346 ## Report this to wine-devel@winehq.org ##
3347 ## ------------------------------------ ##"
3348 ) | sed "s/^/$as_me: WARNING: /" >&2
3350 esac
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3352 $as_echo_n "checking for $2... " >&6; }
3353 if eval \${$3+:} false; then :
3354 $as_echo_n "(cached) " >&6
3355 else
3356 eval "$3=\$ac_header_compiler"
3358 eval ac_res=\$$3
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3360 $as_echo "$ac_res" >&6; }
3362 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3364 } # ac_fn_objc_check_header_mongrel
3366 # ac_fn_c_check_func LINENO FUNC VAR
3367 # ----------------------------------
3368 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3369 ac_fn_c_check_func ()
3371 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3373 $as_echo_n "checking for $2... " >&6; }
3374 if eval \${$3+:} false; then :
3375 $as_echo_n "(cached) " >&6
3376 else
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */
3379 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3381 #define $2 innocuous_$2
3383 /* System header to define __stub macros and hopefully few prototypes,
3384 which can conflict with char $2 (); below.
3385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3386 <limits.h> exists even on freestanding compilers. */
3388 #ifdef __STDC__
3389 # include <limits.h>
3390 #else
3391 # include <assert.h>
3392 #endif
3394 #undef $2
3396 /* Override any GCC internal prototype to avoid an error.
3397 Use char because int might match the return type of a GCC
3398 builtin and then its argument prototype would still apply. */
3399 #ifdef __cplusplus
3400 extern "C"
3401 #endif
3402 char $2 ();
3403 /* The GNU C library defines this for functions which it implements
3404 to always fail with ENOSYS. Some functions are actually named
3405 something starting with __ and the normal name is an alias. */
3406 #if defined __stub_$2 || defined __stub___$2
3407 choke me
3408 #endif
3411 main ()
3413 return $2 ();
3415 return 0;
3417 _ACEOF
3418 if ac_fn_c_try_link "$LINENO"; then :
3419 eval "$3=yes"
3420 else
3421 eval "$3=no"
3423 rm -f core conftest.err conftest.$ac_objext \
3424 conftest$ac_exeext conftest.$ac_ext
3426 eval ac_res=\$$3
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3428 $as_echo "$ac_res" >&6; }
3429 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3431 } # ac_fn_c_check_func
3433 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3434 # ----------------------------------------------------
3435 # Tries to find if the field MEMBER exists in type AGGR, after including
3436 # INCLUDES, setting cache variable VAR accordingly.
3437 ac_fn_c_check_member ()
3439 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3441 $as_echo_n "checking for $2.$3... " >&6; }
3442 if eval \${$4+:} false; then :
3443 $as_echo_n "(cached) " >&6
3444 else
3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446 /* end confdefs.h. */
3449 main ()
3451 static $2 ac_aggr;
3452 if (ac_aggr.$3)
3453 return 0;
3455 return 0;
3457 _ACEOF
3458 if ac_fn_c_try_compile "$LINENO"; then :
3459 eval "$4=yes"
3460 else
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3465 main ()
3467 static $2 ac_aggr;
3468 if (sizeof ac_aggr.$3)
3469 return 0;
3471 return 0;
3473 _ACEOF
3474 if ac_fn_c_try_compile "$LINENO"; then :
3475 eval "$4=yes"
3476 else
3477 eval "$4=no"
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3483 eval ac_res=\$$4
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3485 $as_echo "$ac_res" >&6; }
3486 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3488 } # ac_fn_c_check_member
3490 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3491 # -------------------------------------------
3492 # Tests whether TYPE exists after having included INCLUDES, setting cache
3493 # variable VAR accordingly.
3494 ac_fn_c_check_type ()
3496 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3498 $as_echo_n "checking for $2... " >&6; }
3499 if eval \${$3+:} false; then :
3500 $as_echo_n "(cached) " >&6
3501 else
3502 eval "$3=no"
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3507 main ()
3509 if (sizeof ($2))
3510 return 0;
3512 return 0;
3514 _ACEOF
3515 if ac_fn_c_try_compile "$LINENO"; then :
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3520 main ()
3522 if (sizeof (($2)))
3523 return 0;
3525 return 0;
3527 _ACEOF
3528 if ac_fn_c_try_compile "$LINENO"; then :
3530 else
3531 eval "$3=yes"
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 eval ac_res=\$$3
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3539 $as_echo "$ac_res" >&6; }
3540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3542 } # ac_fn_c_check_type
3543 cat >config.log <<_ACEOF
3544 This file contains any messages produced by compilers while
3545 running configure, to aid debugging if configure makes a mistake.
3547 It was created by Wine $as_me 6.16, which was
3548 generated by GNU Autoconf 2.69. Invocation command line was
3550 $ $0 $@
3552 _ACEOF
3553 exec 5>>config.log
3555 cat <<_ASUNAME
3556 ## --------- ##
3557 ## Platform. ##
3558 ## --------- ##
3560 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3561 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3562 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3563 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3564 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3566 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3567 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3569 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3570 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3571 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3572 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3573 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3574 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3575 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3577 _ASUNAME
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 for as_dir in $PATH
3582 IFS=$as_save_IFS
3583 test -z "$as_dir" && as_dir=.
3584 $as_echo "PATH: $as_dir"
3585 done
3586 IFS=$as_save_IFS
3588 } >&5
3590 cat >&5 <<_ACEOF
3593 ## ----------- ##
3594 ## Core tests. ##
3595 ## ----------- ##
3597 _ACEOF
3600 # Keep a trace of the command line.
3601 # Strip out --no-create and --no-recursion so they do not pile up.
3602 # Strip out --silent because we don't want to record it for future runs.
3603 # Also quote any args containing shell meta-characters.
3604 # Make two passes to allow for proper duplicate-argument suppression.
3605 ac_configure_args=
3606 ac_configure_args0=
3607 ac_configure_args1=
3608 ac_must_keep_next=false
3609 for ac_pass in 1 2
3611 for ac_arg
3613 case $ac_arg in
3614 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3615 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3616 | -silent | --silent | --silen | --sile | --sil)
3617 continue ;;
3618 *\'*)
3619 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3620 esac
3621 case $ac_pass in
3622 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3624 as_fn_append ac_configure_args1 " '$ac_arg'"
3625 if test $ac_must_keep_next = true; then
3626 ac_must_keep_next=false # Got value, back to normal.
3627 else
3628 case $ac_arg in
3629 *=* | --config-cache | -C | -disable-* | --disable-* \
3630 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3631 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3632 | -with-* | --with-* | -without-* | --without-* | --x)
3633 case "$ac_configure_args0 " in
3634 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3635 esac
3637 -* ) ac_must_keep_next=true ;;
3638 esac
3640 as_fn_append ac_configure_args " '$ac_arg'"
3642 esac
3643 done
3644 done
3645 { ac_configure_args0=; unset ac_configure_args0;}
3646 { ac_configure_args1=; unset ac_configure_args1;}
3648 # When interrupted or exit'd, cleanup temporary files, and complete
3649 # config.log. We remove comments because anyway the quotes in there
3650 # would cause problems or look ugly.
3651 # WARNING: Use '\'' to represent an apostrophe within the trap.
3652 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3653 trap 'exit_status=$?
3654 # Save into config.log some information that might help in debugging.
3656 echo
3658 $as_echo "## ---------------- ##
3659 ## Cache variables. ##
3660 ## ---------------- ##"
3661 echo
3662 # The following way of writing the cache mishandles newlines in values,
3664 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3665 eval ac_val=\$$ac_var
3666 case $ac_val in #(
3667 *${as_nl}*)
3668 case $ac_var in #(
3669 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3670 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3671 esac
3672 case $ac_var in #(
3673 _ | IFS | as_nl) ;; #(
3674 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3675 *) { eval $ac_var=; unset $ac_var;} ;;
3676 esac ;;
3677 esac
3678 done
3679 (set) 2>&1 |
3680 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3681 *${as_nl}ac_space=\ *)
3682 sed -n \
3683 "s/'\''/'\''\\\\'\'''\''/g;
3684 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3685 ;; #(
3687 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3689 esac |
3690 sort
3692 echo
3694 $as_echo "## ----------------- ##
3695 ## Output variables. ##
3696 ## ----------------- ##"
3697 echo
3698 for ac_var in $ac_subst_vars
3700 eval ac_val=\$$ac_var
3701 case $ac_val in
3702 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3703 esac
3704 $as_echo "$ac_var='\''$ac_val'\''"
3705 done | sort
3706 echo
3708 if test -n "$ac_subst_files"; then
3709 $as_echo "## ------------------- ##
3710 ## File substitutions. ##
3711 ## ------------------- ##"
3712 echo
3713 for ac_var in $ac_subst_files
3715 eval ac_val=\$$ac_var
3716 case $ac_val in
3717 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3718 esac
3719 $as_echo "$ac_var='\''$ac_val'\''"
3720 done | sort
3721 echo
3724 if test -s confdefs.h; then
3725 $as_echo "## ----------- ##
3726 ## confdefs.h. ##
3727 ## ----------- ##"
3728 echo
3729 cat confdefs.h
3730 echo
3732 test "$ac_signal" != 0 &&
3733 $as_echo "$as_me: caught signal $ac_signal"
3734 $as_echo "$as_me: exit $exit_status"
3735 } >&5
3736 rm -f core *.core core.conftest.* &&
3737 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3738 exit $exit_status
3740 for ac_signal in 1 2 13 15; do
3741 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3742 done
3743 ac_signal=0
3745 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3746 rm -f -r conftest* confdefs.h
3748 $as_echo "/* confdefs.h */" > confdefs.h
3750 # Predefined preprocessor variables.
3752 cat >>confdefs.h <<_ACEOF
3753 #define PACKAGE_NAME "$PACKAGE_NAME"
3754 _ACEOF
3756 cat >>confdefs.h <<_ACEOF
3757 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3758 _ACEOF
3760 cat >>confdefs.h <<_ACEOF
3761 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3762 _ACEOF
3764 cat >>confdefs.h <<_ACEOF
3765 #define PACKAGE_STRING "$PACKAGE_STRING"
3766 _ACEOF
3768 cat >>confdefs.h <<_ACEOF
3769 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3770 _ACEOF
3772 cat >>confdefs.h <<_ACEOF
3773 #define PACKAGE_URL "$PACKAGE_URL"
3774 _ACEOF
3777 # Let the site file select an alternate cache file if it wants to.
3778 # Prefer an explicitly selected file to automatically selected ones.
3779 ac_site_file1=NONE
3780 ac_site_file2=NONE
3781 if test -n "$CONFIG_SITE"; then
3782 # We do not want a PATH search for config.site.
3783 case $CONFIG_SITE in #((
3784 -*) ac_site_file1=./$CONFIG_SITE;;
3785 */*) ac_site_file1=$CONFIG_SITE;;
3786 *) ac_site_file1=./$CONFIG_SITE;;
3787 esac
3788 elif test "x$prefix" != xNONE; then
3789 ac_site_file1=$prefix/share/config.site
3790 ac_site_file2=$prefix/etc/config.site
3791 else
3792 ac_site_file1=$ac_default_prefix/share/config.site
3793 ac_site_file2=$ac_default_prefix/etc/config.site
3795 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3797 test "x$ac_site_file" = xNONE && continue
3798 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3800 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3801 sed 's/^/| /' "$ac_site_file" >&5
3802 . "$ac_site_file" \
3803 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3805 as_fn_error $? "failed to load site script $ac_site_file
3806 See \`config.log' for more details" "$LINENO" 5; }
3808 done
3810 if test -r "$cache_file"; then
3811 # Some versions of bash will fail to source /dev/null (special files
3812 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3813 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3815 $as_echo "$as_me: loading cache $cache_file" >&6;}
3816 case $cache_file in
3817 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3818 *) . "./$cache_file";;
3819 esac
3821 else
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3823 $as_echo "$as_me: creating cache $cache_file" >&6;}
3824 >$cache_file
3827 # Check that the precious variables saved in the cache have kept the same
3828 # value.
3829 ac_cache_corrupted=false
3830 for ac_var in $ac_precious_vars; do
3831 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3832 eval ac_new_set=\$ac_env_${ac_var}_set
3833 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3834 eval ac_new_val=\$ac_env_${ac_var}_value
3835 case $ac_old_set,$ac_new_set in
3836 set,)
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3838 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3839 ac_cache_corrupted=: ;;
3840 ,set)
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3842 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3843 ac_cache_corrupted=: ;;
3844 ,);;
3846 if test "x$ac_old_val" != "x$ac_new_val"; then
3847 # differences in whitespace do not lead to failure.
3848 ac_old_val_w=`echo x $ac_old_val`
3849 ac_new_val_w=`echo x $ac_new_val`
3850 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3852 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3853 ac_cache_corrupted=:
3854 else
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3856 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3857 eval $ac_var=\$ac_old_val
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3860 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3862 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3863 fi;;
3864 esac
3865 # Pass precious variables to config.status.
3866 if test "$ac_new_set" = set; then
3867 case $ac_new_val in
3868 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3869 *) ac_arg=$ac_var=$ac_new_val ;;
3870 esac
3871 case " $ac_configure_args " in
3872 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3873 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3874 esac
3876 done
3877 if $ac_cache_corrupted; then
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3881 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3882 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3884 ## -------------------- ##
3885 ## Main body of script. ##
3886 ## -------------------- ##
3888 ac_ext=c
3889 ac_cpp='$CPP $CPPFLAGS'
3890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896 ac_config_headers="$ac_config_headers include/config.h"
3898 ac_aux_dir=
3899 for ac_dir in tools "$srcdir"/tools; do
3900 if test -f "$ac_dir/install-sh"; then
3901 ac_aux_dir=$ac_dir
3902 ac_install_sh="$ac_aux_dir/install-sh -c"
3903 break
3904 elif test -f "$ac_dir/install.sh"; then
3905 ac_aux_dir=$ac_dir
3906 ac_install_sh="$ac_aux_dir/install.sh -c"
3907 break
3908 elif test -f "$ac_dir/shtool"; then
3909 ac_aux_dir=$ac_dir
3910 ac_install_sh="$ac_aux_dir/shtool install -c"
3911 break
3913 done
3914 if test -z "$ac_aux_dir"; then
3915 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3918 # These three variables are undocumented and unsupported,
3919 # and are intended to be withdrawn in a future Autoconf release.
3920 # They can cause serious problems if a builder's source tree is in a directory
3921 # whose full name contains unusual characters.
3922 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3923 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3924 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3928 libwine_version="1.0"
3932 # Check whether --enable-win16 was given.
3933 if test "${enable_win16+set}" = set; then :
3934 enableval=$enable_win16;
3937 # Check whether --enable-win64 was given.
3938 if test "${enable_win64+set}" = set; then :
3939 enableval=$enable_win64;
3942 # Check whether --enable-tests was given.
3943 if test "${enable_tests+set}" = set; then :
3944 enableval=$enable_tests;
3947 # Check whether --enable-build-id was given.
3948 if test "${enable_build_id+set}" = set; then :
3949 enableval=$enable_build_id;
3952 # Check whether --enable-maintainer-mode was given.
3953 if test "${enable_maintainer_mode+set}" = set; then :
3954 enableval=$enable_maintainer_mode;
3957 # Check whether --enable-silent-rules was given.
3958 if test "${enable_silent_rules+set}" = set; then :
3959 enableval=$enable_silent_rules;
3962 # Check whether --enable-werror was given.
3963 if test "${enable_werror+set}" = set; then :
3964 enableval=$enable_werror;
3969 # Check whether --with-alsa was given.
3970 if test "${with_alsa+set}" = set; then :
3971 withval=$with_alsa;
3975 # Check whether --with-capi was given.
3976 if test "${with_capi+set}" = set; then :
3977 withval=$with_capi;
3981 # Check whether --with-cms was given.
3982 if test "${with_cms+set}" = set; then :
3983 withval=$with_cms;
3987 # Check whether --with-coreaudio was given.
3988 if test "${with_coreaudio+set}" = set; then :
3989 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3993 # Check whether --with-cups was given.
3994 if test "${with_cups+set}" = set; then :
3995 withval=$with_cups;
3999 # Check whether --with-dbus was given.
4000 if test "${with_dbus+set}" = set; then :
4001 withval=$with_dbus;
4005 # Check whether --with-faudio was given.
4006 if test "${with_faudio+set}" = set; then :
4007 withval=$with_faudio;
4011 # Check whether --with-float-abi was given.
4012 if test "${with_float_abi+set}" = set; then :
4013 withval=$with_float_abi;
4017 # Check whether --with-fontconfig was given.
4018 if test "${with_fontconfig+set}" = set; then :
4019 withval=$with_fontconfig;
4023 # Check whether --with-freetype was given.
4024 if test "${with_freetype+set}" = set; then :
4025 withval=$with_freetype;
4029 # Check whether --with-gettext was given.
4030 if test "${with_gettext+set}" = set; then :
4031 withval=$with_gettext;
4035 # Check whether --with-gettextpo was given.
4036 if test "${with_gettextpo+set}" = set; then :
4037 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4041 # Check whether --with-gphoto was given.
4042 if test "${with_gphoto+set}" = set; then :
4043 withval=$with_gphoto;
4047 # Check whether --with-gnutls was given.
4048 if test "${with_gnutls+set}" = set; then :
4049 withval=$with_gnutls;
4053 # Check whether --with-gsm was given.
4054 if test "${with_gsm+set}" = set; then :
4055 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4059 # Check whether --with-gssapi was given.
4060 if test "${with_gssapi+set}" = set; then :
4061 withval=$with_gssapi;
4065 # Check whether --with-gstreamer was given.
4066 if test "${with_gstreamer+set}" = set; then :
4067 withval=$with_gstreamer;
4071 # Check whether --with-hal was given.
4072 if test "${with_hal+set}" = set; then :
4073 withval=$with_hal;
4077 # Check whether --with-inotify was given.
4078 if test "${with_inotify+set}" = set; then :
4079 withval=$with_inotify;
4083 # Check whether --with-jpeg was given.
4084 if test "${with_jpeg+set}" = set; then :
4085 withval=$with_jpeg;
4089 # Check whether --with-jxrlib was given.
4090 if test "${with_jxrlib+set}" = set; then :
4091 withval=$with_jxrlib;
4095 # Check whether --with-krb5 was given.
4096 if test "${with_krb5+set}" = set; then :
4097 withval=$with_krb5;
4101 # Check whether --with-ldap was given.
4102 if test "${with_ldap+set}" = set; then :
4103 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4107 # Check whether --with-mingw was given.
4108 if test "${with_mingw+set}" = set; then :
4109 withval=$with_mingw;
4113 # Check whether --with-mpg123 was given.
4114 if test "${with_mpg123+set}" = set; then :
4115 withval=$with_mpg123;
4119 # Check whether --with-netapi was given.
4120 if test "${with_netapi+set}" = set; then :
4121 withval=$with_netapi;
4125 # Check whether --with-openal was given.
4126 if test "${with_openal+set}" = set; then :
4127 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4131 # Check whether --with-opencl was given.
4132 if test "${with_opencl+set}" = set; then :
4133 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4137 # Check whether --with-opengl was given.
4138 if test "${with_opengl+set}" = set; then :
4139 withval=$with_opengl;
4143 # Check whether --with-osmesa was given.
4144 if test "${with_osmesa+set}" = set; then :
4145 withval=$with_osmesa;
4149 # Check whether --with-oss was given.
4150 if test "${with_oss+set}" = set; then :
4151 withval=$with_oss;
4155 # Check whether --with-pcap was given.
4156 if test "${with_pcap+set}" = set; then :
4157 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4161 # Check whether --with-png was given.
4162 if test "${with_png+set}" = set; then :
4163 withval=$with_png;
4167 # Check whether --with-pthread was given.
4168 if test "${with_pthread+set}" = set; then :
4169 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4173 # Check whether --with-pulse was given.
4174 if test "${with_pulse+set}" = set; then :
4175 withval=$with_pulse;
4179 # Check whether --with-quicktime was given.
4180 if test "${with_quicktime+set}" = set; then :
4181 withval=$with_quicktime;
4185 # Check whether --with-sane was given.
4186 if test "${with_sane+set}" = set; then :
4187 withval=$with_sane;
4191 # Check whether --with-sdl was given.
4192 if test "${with_sdl+set}" = set; then :
4193 withval=$with_sdl;
4197 # Check whether --with-tiff was given.
4198 if test "${with_tiff+set}" = set; then :
4199 withval=$with_tiff;
4203 # Check whether --with-udev was given.
4204 if test "${with_udev+set}" = set; then :
4205 withval=$with_udev;
4209 # Check whether --with-unwind was given.
4210 if test "${with_unwind+set}" = set; then :
4211 withval=$with_unwind;
4215 # Check whether --with-usb was given.
4216 if test "${with_usb+set}" = set; then :
4217 withval=$with_usb;
4221 # Check whether --with-v4l2 was given.
4222 if test "${with_v4l2+set}" = set; then :
4223 withval=$with_v4l2;
4227 # Check whether --with-vkd3d was given.
4228 if test "${with_vkd3d+set}" = set; then :
4229 withval=$with_vkd3d;
4233 # Check whether --with-vulkan was given.
4234 if test "${with_vulkan+set}" = set; then :
4235 withval=$with_vulkan;
4239 # Check whether --with-xcomposite was given.
4240 if test "${with_xcomposite+set}" = set; then :
4241 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4245 # Check whether --with-xcursor was given.
4246 if test "${with_xcursor+set}" = set; then :
4247 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4251 # Check whether --with-xfixes was given.
4252 if test "${with_xfixes+set}" = set; then :
4253 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4257 # Check whether --with-xinerama was given.
4258 if test "${with_xinerama+set}" = set; then :
4259 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4263 # Check whether --with-xinput was given.
4264 if test "${with_xinput+set}" = set; then :
4265 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4269 # Check whether --with-xinput2 was given.
4270 if test "${with_xinput2+set}" = set; then :
4271 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4275 # Check whether --with-xml was given.
4276 if test "${with_xml+set}" = set; then :
4277 withval=$with_xml;
4281 # Check whether --with-xrandr was given.
4282 if test "${with_xrandr+set}" = set; then :
4283 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4287 # Check whether --with-xrender was given.
4288 if test "${with_xrender+set}" = set; then :
4289 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4293 # Check whether --with-xshape was given.
4294 if test "${with_xshape+set}" = set; then :
4295 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4299 # Check whether --with-xshm was given.
4300 if test "${with_xshm+set}" = set; then :
4301 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4305 # Check whether --with-xslt was given.
4306 if test "${with_xslt+set}" = set; then :
4307 withval=$with_xslt;
4311 # Check whether --with-xxf86vm was given.
4312 if test "${with_xxf86vm+set}" = set; then :
4313 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
4318 # Check whether --with-wine-tools was given.
4319 if test "${with_wine_tools+set}" = set; then :
4320 withval=$with_wine_tools;
4324 # Check whether --with-wine64 was given.
4325 if test "${with_wine64+set}" = set; then :
4326 withval=$with_wine64;
4330 # Make sure we can run config.sub.
4331 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4332 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4335 $as_echo_n "checking build system type... " >&6; }
4336 if ${ac_cv_build+:} false; then :
4337 $as_echo_n "(cached) " >&6
4338 else
4339 ac_build_alias=$build_alias
4340 test "x$ac_build_alias" = x &&
4341 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4342 test "x$ac_build_alias" = x &&
4343 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4344 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4345 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4349 $as_echo "$ac_cv_build" >&6; }
4350 case $ac_cv_build in
4351 *-*-*) ;;
4352 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4353 esac
4354 build=$ac_cv_build
4355 ac_save_IFS=$IFS; IFS='-'
4356 set x $ac_cv_build
4357 shift
4358 build_cpu=$1
4359 build_vendor=$2
4360 shift; shift
4361 # Remember, the first character of IFS is used to create $*,
4362 # except with old shells:
4363 build_os=$*
4364 IFS=$ac_save_IFS
4365 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4369 $as_echo_n "checking host system type... " >&6; }
4370 if ${ac_cv_host+:} false; then :
4371 $as_echo_n "(cached) " >&6
4372 else
4373 if test "x$host_alias" = x; then
4374 ac_cv_host=$ac_cv_build
4375 else
4376 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4377 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4382 $as_echo "$ac_cv_host" >&6; }
4383 case $ac_cv_host in
4384 *-*-*) ;;
4385 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4386 esac
4387 host=$ac_cv_host
4388 ac_save_IFS=$IFS; IFS='-'
4389 set x $ac_cv_host
4390 shift
4391 host_cpu=$1
4392 host_vendor=$2
4393 shift; shift
4394 # Remember, the first character of IFS is used to create $*,
4395 # except with old shells:
4396 host_os=$*
4397 IFS=$ac_save_IFS
4398 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4404 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4405 set x ${MAKE-make}
4406 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4407 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4408 $as_echo_n "(cached) " >&6
4409 else
4410 cat >conftest.make <<\_ACEOF
4411 SHELL = /bin/sh
4412 all:
4413 @echo '@@@%%%=$(MAKE)=@@@%%%'
4414 _ACEOF
4415 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4416 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4417 *@@@%%%=?*=@@@%%%*)
4418 eval ac_cv_prog_make_${ac_make}_set=yes;;
4420 eval ac_cv_prog_make_${ac_make}_set=no;;
4421 esac
4422 rm -f conftest.make
4424 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4426 $as_echo "yes" >&6; }
4427 SET_MAKE=
4428 else
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4430 $as_echo "no" >&6; }
4431 SET_MAKE="MAKE=${MAKE-make}"
4434 ac_ext=c
4435 ac_cpp='$CPP $CPPFLAGS'
4436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4439 if test -n "$ac_tool_prefix"; then
4440 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4441 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4443 $as_echo_n "checking for $ac_word... " >&6; }
4444 if ${ac_cv_prog_CC+:} false; then :
4445 $as_echo_n "(cached) " >&6
4446 else
4447 if test -n "$CC"; then
4448 ac_cv_prog_CC="$CC" # Let the user override the test.
4449 else
4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451 for as_dir in $PATH
4453 IFS=$as_save_IFS
4454 test -z "$as_dir" && as_dir=.
4455 for ac_exec_ext in '' $ac_executable_extensions; do
4456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4457 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4459 break 2
4461 done
4462 done
4463 IFS=$as_save_IFS
4467 CC=$ac_cv_prog_CC
4468 if test -n "$CC"; then
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4470 $as_echo "$CC" >&6; }
4471 else
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 $as_echo "no" >&6; }
4478 if test -z "$ac_cv_prog_CC"; then
4479 ac_ct_CC=$CC
4480 # Extract the first word of "gcc", so it can be a program name with args.
4481 set dummy gcc; ac_word=$2
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4483 $as_echo_n "checking for $ac_word... " >&6; }
4484 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4485 $as_echo_n "(cached) " >&6
4486 else
4487 if test -n "$ac_ct_CC"; then
4488 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4489 else
4490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4491 for as_dir in $PATH
4493 IFS=$as_save_IFS
4494 test -z "$as_dir" && as_dir=.
4495 for ac_exec_ext in '' $ac_executable_extensions; do
4496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4497 ac_cv_prog_ac_ct_CC="gcc"
4498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4499 break 2
4501 done
4502 done
4503 IFS=$as_save_IFS
4507 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4508 if test -n "$ac_ct_CC"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4510 $as_echo "$ac_ct_CC" >&6; }
4511 else
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513 $as_echo "no" >&6; }
4516 if test "x$ac_ct_CC" = x; then
4517 CC=""
4518 else
4519 case $cross_compiling:$ac_tool_warned in
4520 yes:)
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4523 ac_tool_warned=yes ;;
4524 esac
4525 CC=$ac_ct_CC
4527 else
4528 CC="$ac_cv_prog_CC"
4531 if test -z "$CC"; then
4532 if test -n "$ac_tool_prefix"; then
4533 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4534 set dummy ${ac_tool_prefix}cc; ac_word=$2
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536 $as_echo_n "checking for $ac_word... " >&6; }
4537 if ${ac_cv_prog_CC+:} false; then :
4538 $as_echo_n "(cached) " >&6
4539 else
4540 if test -n "$CC"; then
4541 ac_cv_prog_CC="$CC" # Let the user override the test.
4542 else
4543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4544 for as_dir in $PATH
4546 IFS=$as_save_IFS
4547 test -z "$as_dir" && as_dir=.
4548 for ac_exec_ext in '' $ac_executable_extensions; do
4549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4550 ac_cv_prog_CC="${ac_tool_prefix}cc"
4551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 break 2
4554 done
4555 done
4556 IFS=$as_save_IFS
4560 CC=$ac_cv_prog_CC
4561 if test -n "$CC"; then
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4563 $as_echo "$CC" >&6; }
4564 else
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566 $as_echo "no" >&6; }
4572 if test -z "$CC"; then
4573 # Extract the first word of "cc", so it can be a program name with args.
4574 set dummy cc; ac_word=$2
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576 $as_echo_n "checking for $ac_word... " >&6; }
4577 if ${ac_cv_prog_CC+:} false; then :
4578 $as_echo_n "(cached) " >&6
4579 else
4580 if test -n "$CC"; then
4581 ac_cv_prog_CC="$CC" # Let the user override the test.
4582 else
4583 ac_prog_rejected=no
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 for as_dir in $PATH
4587 IFS=$as_save_IFS
4588 test -z "$as_dir" && as_dir=.
4589 for ac_exec_ext in '' $ac_executable_extensions; do
4590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4591 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4592 ac_prog_rejected=yes
4593 continue
4595 ac_cv_prog_CC="cc"
4596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4597 break 2
4599 done
4600 done
4601 IFS=$as_save_IFS
4603 if test $ac_prog_rejected = yes; then
4604 # We found a bogon in the path, so make sure we never use it.
4605 set dummy $ac_cv_prog_CC
4606 shift
4607 if test $# != 0; then
4608 # We chose a different compiler from the bogus one.
4609 # However, it has the same basename, so the bogon will be chosen
4610 # first if we set CC to just the basename; use the full file name.
4611 shift
4612 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4617 CC=$ac_cv_prog_CC
4618 if test -n "$CC"; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4620 $as_echo "$CC" >&6; }
4621 else
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4628 if test -z "$CC"; then
4629 if test -n "$ac_tool_prefix"; then
4630 for ac_prog in cl.exe
4632 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4633 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4635 $as_echo_n "checking for $ac_word... " >&6; }
4636 if ${ac_cv_prog_CC+:} false; then :
4637 $as_echo_n "(cached) " >&6
4638 else
4639 if test -n "$CC"; then
4640 ac_cv_prog_CC="$CC" # Let the user override the test.
4641 else
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 for as_dir in $PATH
4645 IFS=$as_save_IFS
4646 test -z "$as_dir" && as_dir=.
4647 for ac_exec_ext in '' $ac_executable_extensions; do
4648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4649 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 break 2
4653 done
4654 done
4655 IFS=$as_save_IFS
4659 CC=$ac_cv_prog_CC
4660 if test -n "$CC"; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4662 $as_echo "$CC" >&6; }
4663 else
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4665 $as_echo "no" >&6; }
4669 test -n "$CC" && break
4670 done
4672 if test -z "$CC"; then
4673 ac_ct_CC=$CC
4674 for ac_prog in cl.exe
4676 # Extract the first word of "$ac_prog", so it can be a program name with args.
4677 set dummy $ac_prog; ac_word=$2
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4679 $as_echo_n "checking for $ac_word... " >&6; }
4680 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4681 $as_echo_n "(cached) " >&6
4682 else
4683 if test -n "$ac_ct_CC"; then
4684 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4685 else
4686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4687 for as_dir in $PATH
4689 IFS=$as_save_IFS
4690 test -z "$as_dir" && as_dir=.
4691 for ac_exec_ext in '' $ac_executable_extensions; do
4692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4693 ac_cv_prog_ac_ct_CC="$ac_prog"
4694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4695 break 2
4697 done
4698 done
4699 IFS=$as_save_IFS
4703 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4704 if test -n "$ac_ct_CC"; then
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4706 $as_echo "$ac_ct_CC" >&6; }
4707 else
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4709 $as_echo "no" >&6; }
4713 test -n "$ac_ct_CC" && break
4714 done
4716 if test "x$ac_ct_CC" = x; then
4717 CC=""
4718 else
4719 case $cross_compiling:$ac_tool_warned in
4720 yes:)
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4723 ac_tool_warned=yes ;;
4724 esac
4725 CC=$ac_ct_CC
4732 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734 as_fn_error $? "no acceptable C compiler found in \$PATH
4735 See \`config.log' for more details" "$LINENO" 5; }
4737 # Provide some information about the compiler.
4738 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4739 set X $ac_compile
4740 ac_compiler=$2
4741 for ac_option in --version -v -V -qversion; do
4742 { { ac_try="$ac_compiler $ac_option >&5"
4743 case "(($ac_try" in
4744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4745 *) ac_try_echo=$ac_try;;
4746 esac
4747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4748 $as_echo "$ac_try_echo"; } >&5
4749 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4750 ac_status=$?
4751 if test -s conftest.err; then
4752 sed '10a\
4753 ... rest of stderr output deleted ...
4754 10q' conftest.err >conftest.er1
4755 cat conftest.er1 >&5
4757 rm -f conftest.er1 conftest.err
4758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4759 test $ac_status = 0; }
4760 done
4762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h. */
4766 main ()
4770 return 0;
4772 _ACEOF
4773 ac_clean_files_save=$ac_clean_files
4774 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4775 # Try to create an executable without -o first, disregard a.out.
4776 # It will help us diagnose broken compilers, and finding out an intuition
4777 # of exeext.
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4779 $as_echo_n "checking whether the C compiler works... " >&6; }
4780 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4782 # The possible output files:
4783 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4785 ac_rmfiles=
4786 for ac_file in $ac_files
4788 case $ac_file in
4789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4790 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4791 esac
4792 done
4793 rm -f $ac_rmfiles
4795 if { { ac_try="$ac_link_default"
4796 case "(($ac_try" in
4797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4798 *) ac_try_echo=$ac_try;;
4799 esac
4800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4801 $as_echo "$ac_try_echo"; } >&5
4802 (eval "$ac_link_default") 2>&5
4803 ac_status=$?
4804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4805 test $ac_status = 0; }; then :
4806 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4807 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4808 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4809 # so that the user can short-circuit this test for compilers unknown to
4810 # Autoconf.
4811 for ac_file in $ac_files ''
4813 test -f "$ac_file" || continue
4814 case $ac_file in
4815 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4817 [ab].out )
4818 # We found the default executable, but exeext='' is most
4819 # certainly right.
4820 break;;
4821 *.* )
4822 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4823 then :; else
4824 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4826 # We set ac_cv_exeext here because the later test for it is not
4827 # safe: cross compilers may not add the suffix if given an `-o'
4828 # argument, so we may need to know it at that point already.
4829 # Even if this section looks crufty: it has the advantage of
4830 # actually working.
4831 break;;
4833 break;;
4834 esac
4835 done
4836 test "$ac_cv_exeext" = no && ac_cv_exeext=
4838 else
4839 ac_file=''
4841 if test -z "$ac_file"; then :
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4843 $as_echo "no" >&6; }
4844 $as_echo "$as_me: failed program was:" >&5
4845 sed 's/^/| /' conftest.$ac_ext >&5
4847 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4849 as_fn_error 77 "C compiler cannot create executables
4850 See \`config.log' for more details" "$LINENO" 5; }
4851 else
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4853 $as_echo "yes" >&6; }
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4856 $as_echo_n "checking for C compiler default output file name... " >&6; }
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4858 $as_echo "$ac_file" >&6; }
4859 ac_exeext=$ac_cv_exeext
4861 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4862 ac_clean_files=$ac_clean_files_save
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4864 $as_echo_n "checking for suffix of executables... " >&6; }
4865 if { { ac_try="$ac_link"
4866 case "(($ac_try" in
4867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4868 *) ac_try_echo=$ac_try;;
4869 esac
4870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4871 $as_echo "$ac_try_echo"; } >&5
4872 (eval "$ac_link") 2>&5
4873 ac_status=$?
4874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4875 test $ac_status = 0; }; then :
4876 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4877 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4878 # work properly (i.e., refer to `conftest.exe'), while it won't with
4879 # `rm'.
4880 for ac_file in conftest.exe conftest conftest.*; do
4881 test -f "$ac_file" || continue
4882 case $ac_file in
4883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4884 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4885 break;;
4886 * ) break;;
4887 esac
4888 done
4889 else
4890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4892 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4893 See \`config.log' for more details" "$LINENO" 5; }
4895 rm -f conftest conftest$ac_cv_exeext
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4897 $as_echo "$ac_cv_exeext" >&6; }
4899 rm -f conftest.$ac_ext
4900 EXEEXT=$ac_cv_exeext
4901 ac_exeext=$EXEEXT
4902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4903 /* end confdefs.h. */
4904 #include <stdio.h>
4906 main ()
4908 FILE *f = fopen ("conftest.out", "w");
4909 return ferror (f) || fclose (f) != 0;
4912 return 0;
4914 _ACEOF
4915 ac_clean_files="$ac_clean_files conftest.out"
4916 # Check that the compiler produces executables we can run. If not, either
4917 # the compiler is broken, or we cross compile.
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4919 $as_echo_n "checking whether we are cross compiling... " >&6; }
4920 if test "$cross_compiling" != yes; then
4921 { { ac_try="$ac_link"
4922 case "(($ac_try" in
4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924 *) ac_try_echo=$ac_try;;
4925 esac
4926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4927 $as_echo "$ac_try_echo"; } >&5
4928 (eval "$ac_link") 2>&5
4929 ac_status=$?
4930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4931 test $ac_status = 0; }
4932 if { ac_try='./conftest$ac_cv_exeext'
4933 { { case "(($ac_try" in
4934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4935 *) ac_try_echo=$ac_try;;
4936 esac
4937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4938 $as_echo "$ac_try_echo"; } >&5
4939 (eval "$ac_try") 2>&5
4940 ac_status=$?
4941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4942 test $ac_status = 0; }; }; then
4943 cross_compiling=no
4944 else
4945 if test "$cross_compiling" = maybe; then
4946 cross_compiling=yes
4947 else
4948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4950 as_fn_error $? "cannot run C compiled programs.
4951 If you meant to cross compile, use \`--host'.
4952 See \`config.log' for more details" "$LINENO" 5; }
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4957 $as_echo "$cross_compiling" >&6; }
4959 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4960 ac_clean_files=$ac_clean_files_save
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4962 $as_echo_n "checking for suffix of object files... " >&6; }
4963 if ${ac_cv_objext+:} false; then :
4964 $as_echo_n "(cached) " >&6
4965 else
4966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4967 /* end confdefs.h. */
4970 main ()
4974 return 0;
4976 _ACEOF
4977 rm -f conftest.o conftest.obj
4978 if { { ac_try="$ac_compile"
4979 case "(($ac_try" in
4980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4981 *) ac_try_echo=$ac_try;;
4982 esac
4983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4984 $as_echo "$ac_try_echo"; } >&5
4985 (eval "$ac_compile") 2>&5
4986 ac_status=$?
4987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4988 test $ac_status = 0; }; then :
4989 for ac_file in conftest.o conftest.obj conftest.*; do
4990 test -f "$ac_file" || continue;
4991 case $ac_file in
4992 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4993 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4994 break;;
4995 esac
4996 done
4997 else
4998 $as_echo "$as_me: failed program was:" >&5
4999 sed 's/^/| /' conftest.$ac_ext >&5
5001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5003 as_fn_error $? "cannot compute suffix of object files: cannot compile
5004 See \`config.log' for more details" "$LINENO" 5; }
5006 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5009 $as_echo "$ac_cv_objext" >&6; }
5010 OBJEXT=$ac_cv_objext
5011 ac_objext=$OBJEXT
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5013 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5014 if ${ac_cv_c_compiler_gnu+:} false; then :
5015 $as_echo_n "(cached) " >&6
5016 else
5017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5018 /* end confdefs.h. */
5021 main ()
5023 #ifndef __GNUC__
5024 choke me
5025 #endif
5028 return 0;
5030 _ACEOF
5031 if ac_fn_c_try_compile "$LINENO"; then :
5032 ac_compiler_gnu=yes
5033 else
5034 ac_compiler_gnu=no
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5041 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5042 if test $ac_compiler_gnu = yes; then
5043 GCC=yes
5044 else
5045 GCC=
5047 ac_test_CFLAGS=${CFLAGS+set}
5048 ac_save_CFLAGS=$CFLAGS
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5050 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5051 if ${ac_cv_prog_cc_g+:} false; then :
5052 $as_echo_n "(cached) " >&6
5053 else
5054 ac_save_c_werror_flag=$ac_c_werror_flag
5055 ac_c_werror_flag=yes
5056 ac_cv_prog_cc_g=no
5057 CFLAGS="-g"
5058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5062 main ()
5066 return 0;
5068 _ACEOF
5069 if ac_fn_c_try_compile "$LINENO"; then :
5070 ac_cv_prog_cc_g=yes
5071 else
5072 CFLAGS=""
5073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h. */
5077 main ()
5081 return 0;
5083 _ACEOF
5084 if ac_fn_c_try_compile "$LINENO"; then :
5086 else
5087 ac_c_werror_flag=$ac_save_c_werror_flag
5088 CFLAGS="-g"
5089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5090 /* end confdefs.h. */
5093 main ()
5097 return 0;
5099 _ACEOF
5100 if ac_fn_c_try_compile "$LINENO"; then :
5101 ac_cv_prog_cc_g=yes
5103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5108 ac_c_werror_flag=$ac_save_c_werror_flag
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5111 $as_echo "$ac_cv_prog_cc_g" >&6; }
5112 if test "$ac_test_CFLAGS" = set; then
5113 CFLAGS=$ac_save_CFLAGS
5114 elif test $ac_cv_prog_cc_g = yes; then
5115 if test "$GCC" = yes; then
5116 CFLAGS="-g -O2"
5117 else
5118 CFLAGS="-g"
5120 else
5121 if test "$GCC" = yes; then
5122 CFLAGS="-O2"
5123 else
5124 CFLAGS=
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5128 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5129 if ${ac_cv_prog_cc_c89+:} false; then :
5130 $as_echo_n "(cached) " >&6
5131 else
5132 ac_cv_prog_cc_c89=no
5133 ac_save_CC=$CC
5134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5135 /* end confdefs.h. */
5136 #include <stdarg.h>
5137 #include <stdio.h>
5138 struct stat;
5139 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5140 struct buf { int x; };
5141 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5142 static char *e (p, i)
5143 char **p;
5144 int i;
5146 return p[i];
5148 static char *f (char * (*g) (char **, int), char **p, ...)
5150 char *s;
5151 va_list v;
5152 va_start (v,p);
5153 s = g (p, va_arg (v,int));
5154 va_end (v);
5155 return s;
5158 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5159 function prototypes and stuff, but not '\xHH' hex character constants.
5160 These don't provoke an error unfortunately, instead are silently treated
5161 as 'x'. The following induces an error, until -std is added to get
5162 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5163 array size at least. It's necessary to write '\x00'==0 to get something
5164 that's true only with -std. */
5165 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5167 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5168 inside strings and character constants. */
5169 #define FOO(x) 'x'
5170 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5172 int test (int i, double x);
5173 struct s1 {int (*f) (int a);};
5174 struct s2 {int (*f) (double a);};
5175 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5176 int argc;
5177 char **argv;
5179 main ()
5181 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5183 return 0;
5185 _ACEOF
5186 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5187 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5189 CC="$ac_save_CC $ac_arg"
5190 if ac_fn_c_try_compile "$LINENO"; then :
5191 ac_cv_prog_cc_c89=$ac_arg
5193 rm -f core conftest.err conftest.$ac_objext
5194 test "x$ac_cv_prog_cc_c89" != "xno" && break
5195 done
5196 rm -f conftest.$ac_ext
5197 CC=$ac_save_CC
5200 # AC_CACHE_VAL
5201 case "x$ac_cv_prog_cc_c89" in
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5204 $as_echo "none needed" >&6; } ;;
5205 xno)
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5207 $as_echo "unsupported" >&6; } ;;
5209 CC="$CC $ac_cv_prog_cc_c89"
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5211 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5212 esac
5213 if test "x$ac_cv_prog_cc_c89" != xno; then :
5217 ac_ext=c
5218 ac_cpp='$CPP $CPPFLAGS'
5219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5223 ac_ext=cpp
5224 ac_cpp='$CXXCPP $CPPFLAGS'
5225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5228 if test -z "$CXX"; then
5229 if test -n "$CCC"; then
5230 CXX=$CCC
5231 else
5232 if test -n "$ac_tool_prefix"; then
5233 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5235 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5236 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 $as_echo_n "checking for $ac_word... " >&6; }
5239 if ${ac_cv_prog_CXX+:} false; then :
5240 $as_echo_n "(cached) " >&6
5241 else
5242 if test -n "$CXX"; then
5243 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5244 else
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246 for as_dir in $PATH
5248 IFS=$as_save_IFS
5249 test -z "$as_dir" && as_dir=.
5250 for ac_exec_ext in '' $ac_executable_extensions; do
5251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5252 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 break 2
5256 done
5257 done
5258 IFS=$as_save_IFS
5262 CXX=$ac_cv_prog_CXX
5263 if test -n "$CXX"; then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5265 $as_echo "$CXX" >&6; }
5266 else
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5268 $as_echo "no" >&6; }
5272 test -n "$CXX" && break
5273 done
5275 if test -z "$CXX"; then
5276 ac_ct_CXX=$CXX
5277 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5279 # Extract the first word of "$ac_prog", so it can be a program name with args.
5280 set dummy $ac_prog; ac_word=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5284 $as_echo_n "(cached) " >&6
5285 else
5286 if test -n "$ac_ct_CXX"; then
5287 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5288 else
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 for as_dir in $PATH
5292 IFS=$as_save_IFS
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_ac_ct_CXX="$ac_prog"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 break 2
5300 done
5301 done
5302 IFS=$as_save_IFS
5306 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5307 if test -n "$ac_ct_CXX"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5309 $as_echo "$ac_ct_CXX" >&6; }
5310 else
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5316 test -n "$ac_ct_CXX" && break
5317 done
5319 if test "x$ac_ct_CXX" = x; then
5320 CXX="g++"
5321 else
5322 case $cross_compiling:$ac_tool_warned in
5323 yes:)
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5326 ac_tool_warned=yes ;;
5327 esac
5328 CXX=$ac_ct_CXX
5334 # Provide some information about the compiler.
5335 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5336 set X $ac_compile
5337 ac_compiler=$2
5338 for ac_option in --version -v -V -qversion; do
5339 { { ac_try="$ac_compiler $ac_option >&5"
5340 case "(($ac_try" in
5341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5342 *) ac_try_echo=$ac_try;;
5343 esac
5344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5345 $as_echo "$ac_try_echo"; } >&5
5346 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5347 ac_status=$?
5348 if test -s conftest.err; then
5349 sed '10a\
5350 ... rest of stderr output deleted ...
5351 10q' conftest.err >conftest.er1
5352 cat conftest.er1 >&5
5354 rm -f conftest.er1 conftest.err
5355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5356 test $ac_status = 0; }
5357 done
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5360 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5361 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5362 $as_echo_n "(cached) " >&6
5363 else
5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5368 main ()
5370 #ifndef __GNUC__
5371 choke me
5372 #endif
5375 return 0;
5377 _ACEOF
5378 if ac_fn_cxx_try_compile "$LINENO"; then :
5379 ac_compiler_gnu=yes
5380 else
5381 ac_compiler_gnu=no
5383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5384 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5388 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5389 if test $ac_compiler_gnu = yes; then
5390 GXX=yes
5391 else
5392 GXX=
5394 ac_test_CXXFLAGS=${CXXFLAGS+set}
5395 ac_save_CXXFLAGS=$CXXFLAGS
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5397 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5398 if ${ac_cv_prog_cxx_g+:} false; then :
5399 $as_echo_n "(cached) " >&6
5400 else
5401 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5402 ac_cxx_werror_flag=yes
5403 ac_cv_prog_cxx_g=no
5404 CXXFLAGS="-g"
5405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5406 /* end confdefs.h. */
5409 main ()
5413 return 0;
5415 _ACEOF
5416 if ac_fn_cxx_try_compile "$LINENO"; then :
5417 ac_cv_prog_cxx_g=yes
5418 else
5419 CXXFLAGS=""
5420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421 /* end confdefs.h. */
5424 main ()
5428 return 0;
5430 _ACEOF
5431 if ac_fn_cxx_try_compile "$LINENO"; then :
5433 else
5434 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5435 CXXFLAGS="-g"
5436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5437 /* end confdefs.h. */
5440 main ()
5444 return 0;
5446 _ACEOF
5447 if ac_fn_cxx_try_compile "$LINENO"; then :
5448 ac_cv_prog_cxx_g=yes
5450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5455 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5458 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5459 if test "$ac_test_CXXFLAGS" = set; then
5460 CXXFLAGS=$ac_save_CXXFLAGS
5461 elif test $ac_cv_prog_cxx_g = yes; then
5462 if test "$GXX" = yes; then
5463 CXXFLAGS="-g -O2"
5464 else
5465 CXXFLAGS="-g"
5467 else
5468 if test "$GXX" = yes; then
5469 CXXFLAGS="-O2"
5470 else
5471 CXXFLAGS=
5474 ac_ext=c
5475 ac_cpp='$CPP $CPPFLAGS'
5476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5480 if test -n "$ac_tool_prefix"; then
5481 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5482 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484 $as_echo_n "checking for $ac_word... " >&6; }
5485 if ${ac_cv_prog_CPPBIN+:} false; then :
5486 $as_echo_n "(cached) " >&6
5487 else
5488 if test -n "$CPPBIN"; then
5489 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5490 else
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_exec_ext in '' $ac_executable_extensions; do
5497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5498 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5500 break 2
5502 done
5503 done
5504 IFS=$as_save_IFS
5508 CPPBIN=$ac_cv_prog_CPPBIN
5509 if test -n "$CPPBIN"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5511 $as_echo "$CPPBIN" >&6; }
5512 else
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5519 if test -z "$ac_cv_prog_CPPBIN"; then
5520 ac_ct_CPPBIN=$CPPBIN
5521 # Extract the first word of "cpp", so it can be a program name with args.
5522 set dummy cpp; ac_word=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5526 $as_echo_n "(cached) " >&6
5527 else
5528 if test -n "$ac_ct_CPPBIN"; then
5529 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5530 else
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532 for as_dir in $PATH
5534 IFS=$as_save_IFS
5535 test -z "$as_dir" && as_dir=.
5536 for ac_exec_ext in '' $ac_executable_extensions; do
5537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5538 ac_cv_prog_ac_ct_CPPBIN="cpp"
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 break 2
5542 done
5543 done
5544 IFS=$as_save_IFS
5548 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5549 if test -n "$ac_ct_CPPBIN"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5551 $as_echo "$ac_ct_CPPBIN" >&6; }
5552 else
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5557 if test "x$ac_ct_CPPBIN" = x; then
5558 CPPBIN="cpp"
5559 else
5560 case $cross_compiling:$ac_tool_warned in
5561 yes:)
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5564 ac_tool_warned=yes ;;
5565 esac
5566 CPPBIN=$ac_ct_CPPBIN
5568 else
5569 CPPBIN="$ac_cv_prog_CPPBIN"
5573 cat >>confdefs.h <<_ACEOF
5574 #define EXEEXT "$ac_exeext"
5575 _ACEOF
5577 if test -n "$ac_tool_prefix"; then
5578 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5579 set dummy ${ac_tool_prefix}ld; ac_word=$2
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5581 $as_echo_n "checking for $ac_word... " >&6; }
5582 if ${ac_cv_prog_LD+:} false; then :
5583 $as_echo_n "(cached) " >&6
5584 else
5585 if test -n "$LD"; then
5586 ac_cv_prog_LD="$LD" # Let the user override the test.
5587 else
5588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5589 for as_dir in $PATH
5591 IFS=$as_save_IFS
5592 test -z "$as_dir" && as_dir=.
5593 for ac_exec_ext in '' $ac_executable_extensions; do
5594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5595 ac_cv_prog_LD="${ac_tool_prefix}ld"
5596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5597 break 2
5599 done
5600 done
5601 IFS=$as_save_IFS
5605 LD=$ac_cv_prog_LD
5606 if test -n "$LD"; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5608 $as_echo "$LD" >&6; }
5609 else
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5611 $as_echo "no" >&6; }
5616 if test -z "$ac_cv_prog_LD"; then
5617 ac_ct_LD=$LD
5618 # Extract the first word of "ld", so it can be a program name with args.
5619 set dummy ld; ac_word=$2
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5621 $as_echo_n "checking for $ac_word... " >&6; }
5622 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5623 $as_echo_n "(cached) " >&6
5624 else
5625 if test -n "$ac_ct_LD"; then
5626 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5627 else
5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 for as_dir in $PATH
5631 IFS=$as_save_IFS
5632 test -z "$as_dir" && as_dir=.
5633 for ac_exec_ext in '' $ac_executable_extensions; do
5634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5635 ac_cv_prog_ac_ct_LD="ld"
5636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5637 break 2
5639 done
5640 done
5641 IFS=$as_save_IFS
5645 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5646 if test -n "$ac_ct_LD"; then
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5648 $as_echo "$ac_ct_LD" >&6; }
5649 else
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5651 $as_echo "no" >&6; }
5654 if test "x$ac_ct_LD" = x; then
5655 LD=""
5656 else
5657 case $cross_compiling:$ac_tool_warned in
5658 yes:)
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5661 ac_tool_warned=yes ;;
5662 esac
5663 LD=$ac_ct_LD
5665 else
5666 LD="$ac_cv_prog_LD"
5670 case $host in
5671 *-darwin*)
5672 with_fontconfig=${with_fontconfig:-no}
5674 *-mingw32*|*-cygwin*)
5675 enable_win16=${enable_win16:-no}
5676 with_mingw=${with_mingw:-no}
5677 CFLAGS="$CFLAGS -D_WIN32"
5679 esac
5682 case $host in
5683 x86_64*|amd64*)
5684 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5685 then
5686 CC="$CC -m32"
5687 CXX="$CXX -m32"
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5690 $as_echo_n "checking whether $CC works... " >&6; }
5691 if ${wine_cv_cc_m32+:} false; then :
5692 $as_echo_n "(cached) " >&6
5693 else
5694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5695 /* end confdefs.h. */
5698 main ()
5702 return 0;
5704 _ACEOF
5705 if ac_fn_c_try_link "$LINENO"; then :
5706 wine_cv_cc_m32=yes
5707 else
5708 wine_cv_cc_m32=no
5710 rm -f core conftest.err conftest.$ac_objext \
5711 conftest$ac_exeext conftest.$ac_ext
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5714 $as_echo "$wine_cv_cc_m32" >&6; }
5715 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
5716 host_cpu="i386"
5717 notice_platform="32-bit "
5718 TARGETFLAGS="$TARGETFLAGS -m32"
5719 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5720 export PKG_CONFIG_PATH
5721 enable_win16=${enable_win16:-yes}
5722 with_unwind=${with_unwind:-no}
5723 else
5724 if test "x${GCC}" = "xyes"
5725 then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5727 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5728 if ${wine_cv_builtin_ms_va_list+:} false; then :
5729 $as_echo_n "(cached) " >&6
5730 else
5731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5732 /* end confdefs.h. */
5733 #include <stdarg.h>
5735 main ()
5737 void func(__builtin_ms_va_list *args);
5739 return 0;
5741 _ACEOF
5742 if ac_fn_c_try_compile "$LINENO"; then :
5743 wine_cv_builtin_ms_va_list=yes
5744 else
5745 wine_cv_builtin_ms_va_list=no
5747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5750 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5751 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
5753 CC="$CC -m64"
5754 CXX="$CXX -m64"
5755 host_cpu="x86_64"
5756 notice_platform="64-bit "
5757 TARGETFLAGS="$TARGETFLAGS -m64"
5758 enable_wow64=${enable_wow64:-yes}
5759 enable_wow64win=${enable_wow64win:-yes}
5760 enable_wow64cpu=${enable_wow64cpu:-yes}
5763 arm*)
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5765 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5766 if ${wine_cv_thumb2+:} false; then :
5767 $as_echo_n "(cached) " >&6
5768 else
5769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5770 /* end confdefs.h. */
5773 main ()
5775 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5777 return 0;
5779 _ACEOF
5780 if ac_fn_c_try_link "$LINENO"; then :
5781 wine_cv_thumb2=yes
5782 else
5783 wine_cv_thumb2=no
5785 rm -f core conftest.err conftest.$ac_objext \
5786 conftest$ac_exeext conftest.$ac_ext
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5789 $as_echo "$wine_cv_thumb2" >&6; }
5790 if test x"$wine_cv_thumb2" = xyes
5791 then
5792 CFLAGS="$CFLAGS -mthumb"
5793 TARGETFLAGS="$TARGETFLAGS -mthumb"
5794 else
5795 CFLAGS="$CFLAGS -marm"
5796 TARGETFLAGS="$TARGETFLAGS -marm"
5798 case $with_float_abi in
5799 soft|softfp|hard)
5800 float_abi=$with_float_abi ;;
5802 case $host_os in
5803 *eabihf)
5804 float_abi=hard ;;
5806 float_abi=softfp
5807 saved_CFLAGS=$CFLAGS
5808 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5810 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5811 if ${wine_cv_float_abi+:} false; then :
5812 $as_echo_n "(cached) " >&6
5813 else
5814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5815 /* end confdefs.h. */
5818 main ()
5820 asm("vmrs r2,fpscr");
5822 return 0;
5824 _ACEOF
5825 if ac_fn_c_try_link "$LINENO"; then :
5826 wine_cv_float_abi=yes
5827 else
5828 wine_cv_float_abi=no
5830 rm -f core conftest.err conftest.$ac_objext \
5831 conftest$ac_exeext conftest.$ac_ext
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5834 $as_echo "$wine_cv_float_abi" >&6; }
5835 if test $wine_cv_float_abi = no
5836 then
5837 float_abi=soft
5838 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5840 CFLAGS=$saved_CFLAGS
5841 esac
5843 esac
5844 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5845 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5847 aarch64*)
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5849 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5850 if ${wine_cv_builtin_ms_va_list+:} false; then :
5851 $as_echo_n "(cached) " >&6
5852 else
5853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5854 /* end confdefs.h. */
5855 #include <stdarg.h>
5857 main ()
5859 void func(__builtin_ms_va_list *args);
5861 return 0;
5863 _ACEOF
5864 if ac_fn_c_try_compile "$LINENO"; then :
5865 wine_cv_builtin_ms_va_list=yes
5866 else
5867 wine_cv_builtin_ms_va_list=no
5869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5872 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5873 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5874 enable_wow64=${enable_wow64:-yes}
5875 enable_wow64win=${enable_wow64win:-yes}
5877 i[3456789]86*)
5878 enable_win16=${enable_win16:-yes}
5879 with_unwind=${with_unwind:-no}
5881 esac
5883 enable_win16=${enable_win16:-no}
5884 enable_win64=${enable_win64:-no}
5885 enable_wow64=${enable_wow64:-no}
5886 enable_wow64win=${enable_wow64win:-no}
5887 enable_wow64cpu=${enable_wow64cpu:-no}
5889 enable_winetest=${enable_winetest:-$enable_tests}
5891 if test "x$enable_win64" = "xyes"
5892 then
5893 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5894 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5897 case $host_cpu in
5898 *i[3456789]86*) ARCH="i386"
5900 *x86_64*) ARCH="x86_64"
5902 *aarch64*) ARCH="aarch64"
5904 *arm*) ARCH="arm"
5906 *) ARCH=""
5908 esac
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5911 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5912 if ${wine_cv_toolsdir+:} false; then :
5913 $as_echo_n "(cached) " >&6
5914 else
5915 wine_cv_toolsdir="$with_wine_tools"
5916 if test -z "$with_wine_tools"; then
5917 if test "$cross_compiling" = "yes"; then
5918 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5919 elif test -n "$with_wine64"; then
5920 wine_cv_toolsdir="$with_wine64"
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5925 $as_echo "$wine_cv_toolsdir" >&6; }
5926 if test -z "$wine_cv_toolsdir"; then
5927 wine_makedep=tools/makedep
5928 TOOLSDIR="."
5930 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5931 wine_makedep=$wine_cv_toolsdir/tools/makedep
5932 TOOLSDIR=$wine_cv_toolsdir
5934 enable_tools=${enable_tools:-no}
5935 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5936 else
5937 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5939 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5940 then
5941 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5944 for ac_prog in flex
5946 # Extract the first word of "$ac_prog", so it can be a program name with args.
5947 set dummy $ac_prog; ac_word=$2
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5949 $as_echo_n "checking for $ac_word... " >&6; }
5950 if ${ac_cv_prog_FLEX+:} false; then :
5951 $as_echo_n "(cached) " >&6
5952 else
5953 if test -n "$FLEX"; then
5954 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5955 else
5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5957 for as_dir in $PATH
5959 IFS=$as_save_IFS
5960 test -z "$as_dir" && as_dir=.
5961 for ac_exec_ext in '' $ac_executable_extensions; do
5962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5963 ac_cv_prog_FLEX="$ac_prog"
5964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5965 break 2
5967 done
5968 done
5969 IFS=$as_save_IFS
5973 FLEX=$ac_cv_prog_FLEX
5974 if test -n "$FLEX"; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5976 $as_echo "$FLEX" >&6; }
5977 else
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979 $as_echo "no" >&6; }
5983 test -n "$FLEX" && break
5984 done
5985 test -n "$FLEX" || FLEX="none"
5987 if test "$FLEX" = "none"
5988 then
5989 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5992 $as_echo_n "checking whether flex is recent enough... " >&6; }
5993 if ${wine_cv_recent_flex+:} false; then :
5994 $as_echo_n "(cached) " >&6
5995 else
5996 cat >conftest.l <<EOF
5997 %top{
5998 #include "prediluvian.h"
6002 if $FLEX -t conftest.l >/dev/null 2>&5
6003 then
6004 wine_cv_recent_flex=yes
6005 else
6006 wine_cv_recent_flex=no
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6010 $as_echo "$wine_cv_recent_flex" >&6; }
6011 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
6013 for ac_prog in bison
6015 # Extract the first word of "$ac_prog", so it can be a program name with args.
6016 set dummy $ac_prog; ac_word=$2
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 $as_echo_n "checking for $ac_word... " >&6; }
6019 if ${ac_cv_prog_BISON+:} false; then :
6020 $as_echo_n "(cached) " >&6
6021 else
6022 if test -n "$BISON"; then
6023 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6024 else
6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 for as_dir in $PATH
6028 IFS=$as_save_IFS
6029 test -z "$as_dir" && as_dir=.
6030 for ac_exec_ext in '' $ac_executable_extensions; do
6031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 ac_cv_prog_BISON="$ac_prog"
6033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 break 2
6036 done
6037 done
6038 IFS=$as_save_IFS
6042 BISON=$ac_cv_prog_BISON
6043 if test -n "$BISON"; then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6045 $as_echo "$BISON" >&6; }
6046 else
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6052 test -n "$BISON" && break
6053 done
6054 test -n "$BISON" || BISON="none"
6056 if test "$BISON" = "none"
6057 then
6058 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6061 $as_echo_n "checking whether bison is recent enough... " >&6; }
6062 if ${wine_cv_recent_bison+:} false; then :
6063 $as_echo_n "(cached) " >&6
6064 else
6065 cat >conftest.y <<EOF
6066 %define parse.error verbose
6068 empty: ;
6070 if $BISON conftest.y >/dev/null 2>&5
6071 then
6072 wine_cv_recent_bison=yes
6073 else
6074 wine_cv_recent_bison=no
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6078 $as_echo "$wine_cv_recent_bison" >&6; }
6079 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
6081 if test -n "$ac_tool_prefix"; then
6082 for ac_prog in ar gar
6084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6087 $as_echo_n "checking for $ac_word... " >&6; }
6088 if ${ac_cv_prog_AR+:} false; then :
6089 $as_echo_n "(cached) " >&6
6090 else
6091 if test -n "$AR"; then
6092 ac_cv_prog_AR="$AR" # Let the user override the test.
6093 else
6094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 for as_dir in $PATH
6097 IFS=$as_save_IFS
6098 test -z "$as_dir" && as_dir=.
6099 for ac_exec_ext in '' $ac_executable_extensions; do
6100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6101 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6103 break 2
6105 done
6106 done
6107 IFS=$as_save_IFS
6111 AR=$ac_cv_prog_AR
6112 if test -n "$AR"; then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6114 $as_echo "$AR" >&6; }
6115 else
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6117 $as_echo "no" >&6; }
6121 test -n "$AR" && break
6122 done
6124 if test -z "$AR"; then
6125 ac_ct_AR=$AR
6126 for ac_prog in ar gar
6128 # Extract the first word of "$ac_prog", so it can be a program name with args.
6129 set dummy $ac_prog; ac_word=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 if test -n "$ac_ct_AR"; then
6136 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6137 else
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH
6141 IFS=$as_save_IFS
6142 test -z "$as_dir" && as_dir=.
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6145 ac_cv_prog_ac_ct_AR="$ac_prog"
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6147 break 2
6149 done
6150 done
6151 IFS=$as_save_IFS
6155 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6156 if test -n "$ac_ct_AR"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6158 $as_echo "$ac_ct_AR" >&6; }
6159 else
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6165 test -n "$ac_ct_AR" && break
6166 done
6168 if test "x$ac_ct_AR" = x; then
6169 AR="ar"
6170 else
6171 case $cross_compiling:$ac_tool_warned in
6172 yes:)
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6175 ac_tool_warned=yes ;;
6176 esac
6177 AR=$ac_ct_AR
6181 if test -n "$ac_tool_prefix"; then
6182 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6183 set dummy ${ac_tool_prefix}strip; ac_word=$2
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6185 $as_echo_n "checking for $ac_word... " >&6; }
6186 if ${ac_cv_prog_STRIP+:} false; then :
6187 $as_echo_n "(cached) " >&6
6188 else
6189 if test -n "$STRIP"; then
6190 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6191 else
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 for as_dir in $PATH
6195 IFS=$as_save_IFS
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6199 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 break 2
6203 done
6204 done
6205 IFS=$as_save_IFS
6209 STRIP=$ac_cv_prog_STRIP
6210 if test -n "$STRIP"; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6212 $as_echo "$STRIP" >&6; }
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6215 $as_echo "no" >&6; }
6220 if test -z "$ac_cv_prog_STRIP"; then
6221 ac_ct_STRIP=$STRIP
6222 # Extract the first word of "strip", so it can be a program name with args.
6223 set dummy strip; ac_word=$2
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6225 $as_echo_n "checking for $ac_word... " >&6; }
6226 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6227 $as_echo_n "(cached) " >&6
6228 else
6229 if test -n "$ac_ct_STRIP"; then
6230 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6231 else
6232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6233 for as_dir in $PATH
6235 IFS=$as_save_IFS
6236 test -z "$as_dir" && as_dir=.
6237 for ac_exec_ext in '' $ac_executable_extensions; do
6238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6239 ac_cv_prog_ac_ct_STRIP="strip"
6240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 break 2
6243 done
6244 done
6245 IFS=$as_save_IFS
6249 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6250 if test -n "$ac_ct_STRIP"; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6252 $as_echo "$ac_ct_STRIP" >&6; }
6253 else
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6258 if test "x$ac_ct_STRIP" = x; then
6259 STRIP="strip"
6260 else
6261 case $cross_compiling:$ac_tool_warned in
6262 yes:)
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6265 ac_tool_warned=yes ;;
6266 esac
6267 STRIP=$ac_ct_STRIP
6269 else
6270 STRIP="$ac_cv_prog_STRIP"
6273 if test -n "$ac_tool_prefix"; then
6274 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6275 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6277 $as_echo_n "checking for $ac_word... " >&6; }
6278 if ${ac_cv_prog_RANLIB+:} false; then :
6279 $as_echo_n "(cached) " >&6
6280 else
6281 if test -n "$RANLIB"; then
6282 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6283 else
6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285 for as_dir in $PATH
6287 IFS=$as_save_IFS
6288 test -z "$as_dir" && as_dir=.
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6293 break 2
6295 done
6296 done
6297 IFS=$as_save_IFS
6301 RANLIB=$ac_cv_prog_RANLIB
6302 if test -n "$RANLIB"; then
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6304 $as_echo "$RANLIB" >&6; }
6305 else
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6307 $as_echo "no" >&6; }
6312 if test -z "$ac_cv_prog_RANLIB"; then
6313 ac_ct_RANLIB=$RANLIB
6314 # Extract the first word of "ranlib", so it can be a program name with args.
6315 set dummy ranlib; ac_word=$2
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6317 $as_echo_n "checking for $ac_word... " >&6; }
6318 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6319 $as_echo_n "(cached) " >&6
6320 else
6321 if test -n "$ac_ct_RANLIB"; then
6322 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6323 else
6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325 for as_dir in $PATH
6327 IFS=$as_save_IFS
6328 test -z "$as_dir" && as_dir=.
6329 for ac_exec_ext in '' $ac_executable_extensions; do
6330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6331 ac_cv_prog_ac_ct_RANLIB="ranlib"
6332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6333 break 2
6335 done
6336 done
6337 IFS=$as_save_IFS
6341 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6342 if test -n "$ac_ct_RANLIB"; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6344 $as_echo "$ac_ct_RANLIB" >&6; }
6345 else
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6347 $as_echo "no" >&6; }
6350 if test "x$ac_ct_RANLIB" = x; then
6351 RANLIB=":"
6352 else
6353 case $cross_compiling:$ac_tool_warned in
6354 yes:)
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6357 ac_tool_warned=yes ;;
6358 esac
6359 RANLIB=$ac_ct_RANLIB
6361 else
6362 RANLIB="$ac_cv_prog_RANLIB"
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6366 $as_echo_n "checking whether ln -s works... " >&6; }
6367 LN_S=$as_ln_s
6368 if test "$LN_S" = "ln -s"; then
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6370 $as_echo "yes" >&6; }
6371 else
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6373 $as_echo "no, using $LN_S" >&6; }
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6377 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6378 if ${ac_cv_path_GREP+:} false; then :
6379 $as_echo_n "(cached) " >&6
6380 else
6381 if test -z "$GREP"; then
6382 ac_path_GREP_found=false
6383 # Loop through the user's path and test for each of PROGNAME-LIST
6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6385 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6387 IFS=$as_save_IFS
6388 test -z "$as_dir" && as_dir=.
6389 for ac_prog in grep ggrep; do
6390 for ac_exec_ext in '' $ac_executable_extensions; do
6391 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6392 as_fn_executable_p "$ac_path_GREP" || continue
6393 # Check for GNU ac_path_GREP and select it if it is found.
6394 # Check for GNU $ac_path_GREP
6395 case `"$ac_path_GREP" --version 2>&1` in
6396 *GNU*)
6397 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6399 ac_count=0
6400 $as_echo_n 0123456789 >"conftest.in"
6401 while :
6403 cat "conftest.in" "conftest.in" >"conftest.tmp"
6404 mv "conftest.tmp" "conftest.in"
6405 cp "conftest.in" "conftest.nl"
6406 $as_echo 'GREP' >> "conftest.nl"
6407 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6408 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6409 as_fn_arith $ac_count + 1 && ac_count=$as_val
6410 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6411 # Best one so far, save it but keep looking for a better one
6412 ac_cv_path_GREP="$ac_path_GREP"
6413 ac_path_GREP_max=$ac_count
6415 # 10*(2^10) chars as input seems more than enough
6416 test $ac_count -gt 10 && break
6417 done
6418 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6419 esac
6421 $ac_path_GREP_found && break 3
6422 done
6423 done
6424 done
6425 IFS=$as_save_IFS
6426 if test -z "$ac_cv_path_GREP"; then
6427 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6429 else
6430 ac_cv_path_GREP=$GREP
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6435 $as_echo "$ac_cv_path_GREP" >&6; }
6436 GREP="$ac_cv_path_GREP"
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6440 $as_echo_n "checking for egrep... " >&6; }
6441 if ${ac_cv_path_EGREP+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6445 then ac_cv_path_EGREP="$GREP -E"
6446 else
6447 if test -z "$EGREP"; then
6448 ac_path_EGREP_found=false
6449 # Loop through the user's path and test for each of PROGNAME-LIST
6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6453 IFS=$as_save_IFS
6454 test -z "$as_dir" && as_dir=.
6455 for ac_prog in egrep; do
6456 for ac_exec_ext in '' $ac_executable_extensions; do
6457 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6458 as_fn_executable_p "$ac_path_EGREP" || continue
6459 # Check for GNU ac_path_EGREP and select it if it is found.
6460 # Check for GNU $ac_path_EGREP
6461 case `"$ac_path_EGREP" --version 2>&1` in
6462 *GNU*)
6463 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6465 ac_count=0
6466 $as_echo_n 0123456789 >"conftest.in"
6467 while :
6469 cat "conftest.in" "conftest.in" >"conftest.tmp"
6470 mv "conftest.tmp" "conftest.in"
6471 cp "conftest.in" "conftest.nl"
6472 $as_echo 'EGREP' >> "conftest.nl"
6473 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6474 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6475 as_fn_arith $ac_count + 1 && ac_count=$as_val
6476 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6477 # Best one so far, save it but keep looking for a better one
6478 ac_cv_path_EGREP="$ac_path_EGREP"
6479 ac_path_EGREP_max=$ac_count
6481 # 10*(2^10) chars as input seems more than enough
6482 test $ac_count -gt 10 && break
6483 done
6484 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6485 esac
6487 $ac_path_EGREP_found && break 3
6488 done
6489 done
6490 done
6491 IFS=$as_save_IFS
6492 if test -z "$ac_cv_path_EGREP"; then
6493 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6495 else
6496 ac_cv_path_EGREP=$EGREP
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6502 $as_echo "$ac_cv_path_EGREP" >&6; }
6503 EGREP="$ac_cv_path_EGREP"
6506 # Extract the first word of "ldconfig", so it can be a program name with args.
6507 set dummy ldconfig; 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_path_LDCONFIG+:} false; then :
6511 $as_echo_n "(cached) " >&6
6512 else
6513 case $LDCONFIG in
6514 [\\/]* | ?:[\\/]*)
6515 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 for as_dir in /sbin /usr/sbin $PATH
6521 IFS=$as_save_IFS
6522 test -z "$as_dir" && as_dir=.
6523 for ac_exec_ext in '' $ac_executable_extensions; do
6524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6525 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6527 break 2
6529 done
6530 done
6531 IFS=$as_save_IFS
6533 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6535 esac
6537 LDCONFIG=$ac_cv_path_LDCONFIG
6538 if test -n "$LDCONFIG"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6540 $as_echo "$LDCONFIG" >&6; }
6541 else
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6547 for ac_prog in msgfmt
6549 # Extract the first word of "$ac_prog", so it can be a program name with args.
6550 set dummy $ac_prog; 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_MSGFMT+:} false; then :
6554 $as_echo_n "(cached) " >&6
6555 else
6556 if test -n "$MSGFMT"; then
6557 ac_cv_prog_MSGFMT="$MSGFMT" # 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_MSGFMT="$ac_prog"
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 MSGFMT=$ac_cv_prog_MSGFMT
6577 if test -n "$MSGFMT"; then
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6579 $as_echo "$MSGFMT" >&6; }
6580 else
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6582 $as_echo "no" >&6; }
6586 test -n "$MSGFMT" && break
6587 done
6588 test -n "$MSGFMT" || MSGFMT="false"
6590 if ${ac_tool_prefix+:} false; then :
6591 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6592 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6594 $as_echo_n "checking for $ac_word... " >&6; }
6595 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6596 $as_echo_n "(cached) " >&6
6597 else
6598 if test -n "$PKG_CONFIG"; then
6599 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6600 else
6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6602 for as_dir in $PATH
6604 IFS=$as_save_IFS
6605 test -z "$as_dir" && as_dir=.
6606 for ac_exec_ext in '' $ac_executable_extensions; do
6607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6608 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6610 break 2
6612 done
6613 done
6614 IFS=$as_save_IFS
6618 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6619 if test -n "$PKG_CONFIG"; then
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6621 $as_echo "$PKG_CONFIG" >&6; }
6622 else
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6624 $as_echo "no" >&6; }
6629 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6630 if test "x$cross_compiling" = xyes; then :
6632 else
6633 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6634 # Extract the first word of "pkg-config", so it can be a program name with args.
6635 set dummy pkg-config; ac_word=$2
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6637 $as_echo_n "checking for $ac_word... " >&6; }
6638 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6639 $as_echo_n "(cached) " >&6
6640 else
6641 if test -n "$PKG_CONFIG"; then
6642 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6643 else
6644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645 for as_dir in $PATH
6647 IFS=$as_save_IFS
6648 test -z "$as_dir" && as_dir=.
6649 for ac_exec_ext in '' $ac_executable_extensions; do
6650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6651 ac_cv_prog_PKG_CONFIG="pkg-config"
6652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6653 break 2
6655 done
6656 done
6657 IFS=$as_save_IFS
6661 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6662 if test -n "$PKG_CONFIG"; then
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6664 $as_echo "$PKG_CONFIG" >&6; }
6665 else
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6667 $as_echo "no" >&6; }
6672 else
6673 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6676 if test "x$enable_maintainer_mode" != "xyes"
6677 then
6678 FONTFORGE=""
6679 RSVG=""
6680 CONVERT=""
6681 ICOTOOL=""
6682 else
6683 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6684 for ac_prog in fontforge
6686 # Extract the first word of "$ac_prog", so it can be a program name with args.
6687 set dummy $ac_prog; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 $as_echo_n "checking for $ac_word... " >&6; }
6690 if ${ac_cv_prog_FONTFORGE+:} false; then :
6691 $as_echo_n "(cached) " >&6
6692 else
6693 if test -n "$FONTFORGE"; then
6694 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6695 else
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 for as_dir in $PATH
6699 IFS=$as_save_IFS
6700 test -z "$as_dir" && as_dir=.
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_FONTFORGE="$ac_prog"
6704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 break 2
6707 done
6708 done
6709 IFS=$as_save_IFS
6713 FONTFORGE=$ac_cv_prog_FONTFORGE
6714 if test -n "$FONTFORGE"; then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6716 $as_echo "$FONTFORGE" >&6; }
6717 else
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6723 test -n "$FONTFORGE" && break
6724 done
6725 test -n "$FONTFORGE" || FONTFORGE="false"
6727 for ac_prog in rsvg-convert rsvg
6729 # Extract the first word of "$ac_prog", so it can be a program name with args.
6730 set dummy $ac_prog; ac_word=$2
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 $as_echo_n "checking for $ac_word... " >&6; }
6733 if ${ac_cv_prog_RSVG+:} false; then :
6734 $as_echo_n "(cached) " >&6
6735 else
6736 if test -n "$RSVG"; then
6737 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6738 else
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740 for as_dir in $PATH
6742 IFS=$as_save_IFS
6743 test -z "$as_dir" && as_dir=.
6744 for ac_exec_ext in '' $ac_executable_extensions; do
6745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6746 ac_cv_prog_RSVG="$ac_prog"
6747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6748 break 2
6750 done
6751 done
6752 IFS=$as_save_IFS
6756 RSVG=$ac_cv_prog_RSVG
6757 if test -n "$RSVG"; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6759 $as_echo "$RSVG" >&6; }
6760 else
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 $as_echo "no" >&6; }
6766 test -n "$RSVG" && break
6767 done
6768 test -n "$RSVG" || RSVG="false"
6770 for ac_prog in convert
6772 # Extract the first word of "$ac_prog", so it can be a program name with args.
6773 set dummy $ac_prog; ac_word=$2
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6775 $as_echo_n "checking for $ac_word... " >&6; }
6776 if ${ac_cv_prog_CONVERT+:} false; then :
6777 $as_echo_n "(cached) " >&6
6778 else
6779 if test -n "$CONVERT"; then
6780 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6781 else
6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6783 for as_dir in $PATH
6785 IFS=$as_save_IFS
6786 test -z "$as_dir" && as_dir=.
6787 for ac_exec_ext in '' $ac_executable_extensions; do
6788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6789 ac_cv_prog_CONVERT="$ac_prog"
6790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6791 break 2
6793 done
6794 done
6795 IFS=$as_save_IFS
6799 CONVERT=$ac_cv_prog_CONVERT
6800 if test -n "$CONVERT"; then
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6802 $as_echo "$CONVERT" >&6; }
6803 else
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 $as_echo "no" >&6; }
6809 test -n "$CONVERT" && break
6810 done
6811 test -n "$CONVERT" || CONVERT="false"
6813 for ac_prog in icotool
6815 # Extract the first word of "$ac_prog", so it can be a program name with args.
6816 set dummy $ac_prog; ac_word=$2
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 $as_echo_n "checking for $ac_word... " >&6; }
6819 if ${ac_cv_prog_ICOTOOL+:} false; then :
6820 $as_echo_n "(cached) " >&6
6821 else
6822 if test -n "$ICOTOOL"; then
6823 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6824 else
6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6826 for as_dir in $PATH
6828 IFS=$as_save_IFS
6829 test -z "$as_dir" && as_dir=.
6830 for ac_exec_ext in '' $ac_executable_extensions; do
6831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6832 ac_cv_prog_ICOTOOL="$ac_prog"
6833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6834 break 2
6836 done
6837 done
6838 IFS=$as_save_IFS
6842 ICOTOOL=$ac_cv_prog_ICOTOOL
6843 if test -n "$ICOTOOL"; then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6845 $as_echo "$ICOTOOL" >&6; }
6846 else
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6848 $as_echo "no" >&6; }
6852 test -n "$ICOTOOL" && break
6853 done
6854 test -n "$ICOTOOL" || ICOTOOL="false"
6856 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6857 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6859 if test "$CONVERT" = false
6860 then
6861 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6862 else
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6864 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6865 convert_version=`convert --version | head -n1`
6866 if test "x$convert_version" != "x"
6867 then
6868 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6869 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6870 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6871 then
6872 CONVERT=false
6875 if test "$CONVERT" = false
6876 then
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6878 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6879 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6880 else
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6882 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6886 if test "$ICOTOOL" = false
6887 then
6888 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6889 else
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6891 $as_echo_n "checking for recent enough icotool... " >&6; }
6892 icotool_version=`icotool --version | head -n1`
6893 if test "x$icotool_version" != "x"
6894 then
6895 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6896 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6897 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6898 then
6899 ICOTOOL=false
6900 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6903 if test "$ICOTOOL" = false
6904 then
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6906 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6907 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6908 else
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6910 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6914 with_gettext=yes
6915 with_gettextpo=yes
6917 enable_werror=yes
6920 test "x$with_gettext" != xno || MSGFMT=false
6921 if test "$MSGFMT" != "false"
6922 then
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6924 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6925 if ${wine_cv_msgfmt_contexts+:} false; then :
6926 $as_echo_n "(cached) " >&6
6927 else
6928 cat >conftest.po <<EOF
6929 # comment
6930 msgctxt "ctxt"
6931 msgid "id"
6932 msgstr "str"
6934 if $MSGFMT -o /dev/null conftest.po 2>&5
6935 then
6936 wine_cv_msgfmt_contexts=yes
6937 else
6938 wine_cv_msgfmt_contexts=no
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6942 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6943 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6945 if test "$MSGFMT" = false; then :
6946 case "x$with_gettext" in
6947 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6948 xno) ;;
6949 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6950 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6951 esac
6952 enable_po=${enable_po:-no}
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6957 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6958 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6959 $as_echo_n "(cached) " >&6
6960 else
6961 ac_check_lib_save_LIBS=$LIBS
6962 LIBS="-li386 $LIBS"
6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6966 /* Override any GCC internal prototype to avoid an error.
6967 Use char because int might match the return type of a GCC
6968 builtin and then its argument prototype would still apply. */
6969 #ifdef __cplusplus
6970 extern "C"
6971 #endif
6972 char i386_set_ldt ();
6974 main ()
6976 return i386_set_ldt ();
6978 return 0;
6980 _ACEOF
6981 if ac_fn_c_try_link "$LINENO"; then :
6982 ac_cv_lib_i386_i386_set_ldt=yes
6983 else
6984 ac_cv_lib_i386_i386_set_ldt=no
6986 rm -f core conftest.err conftest.$ac_objext \
6987 conftest$ac_exeext conftest.$ac_ext
6988 LIBS=$ac_check_lib_save_LIBS
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6991 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6992 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6993 I386_LIBS="-li386"
6998 OPENGL_LIBS=""
7002 # Check whether --enable-largefile was given.
7003 if test "${enable_largefile+set}" = set; then :
7004 enableval=$enable_largefile;
7007 if test "$enable_largefile" != no; then
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7010 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
7011 if ${ac_cv_sys_largefile_CC+:} false; then :
7012 $as_echo_n "(cached) " >&6
7013 else
7014 ac_cv_sys_largefile_CC=no
7015 if test "$GCC" != yes; then
7016 ac_save_CC=$CC
7017 while :; do
7018 # IRIX 6.2 and later do not support large files by default,
7019 # so use the C compiler's -n32 option if that helps.
7020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7021 /* end confdefs.h. */
7022 #include <sys/types.h>
7023 /* Check that off_t can represent 2**63 - 1 correctly.
7024 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7025 since some C++ compilers masquerading as C compilers
7026 incorrectly reject 9223372036854775807. */
7027 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7028 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7029 && LARGE_OFF_T % 2147483647 == 1)
7030 ? 1 : -1];
7032 main ()
7036 return 0;
7038 _ACEOF
7039 if ac_fn_c_try_compile "$LINENO"; then :
7040 break
7042 rm -f core conftest.err conftest.$ac_objext
7043 CC="$CC -n32"
7044 if ac_fn_c_try_compile "$LINENO"; then :
7045 ac_cv_sys_largefile_CC=' -n32'; break
7047 rm -f core conftest.err conftest.$ac_objext
7048 break
7049 done
7050 CC=$ac_save_CC
7051 rm -f conftest.$ac_ext
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7055 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7056 if test "$ac_cv_sys_largefile_CC" != no; then
7057 CC=$CC$ac_cv_sys_largefile_CC
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7061 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7062 if ${ac_cv_sys_file_offset_bits+:} false; then :
7063 $as_echo_n "(cached) " >&6
7064 else
7065 while :; do
7066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7067 /* end confdefs.h. */
7068 #include <sys/types.h>
7069 /* Check that off_t can represent 2**63 - 1 correctly.
7070 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7071 since some C++ compilers masquerading as C compilers
7072 incorrectly reject 9223372036854775807. */
7073 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7074 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7075 && LARGE_OFF_T % 2147483647 == 1)
7076 ? 1 : -1];
7078 main ()
7082 return 0;
7084 _ACEOF
7085 if ac_fn_c_try_compile "$LINENO"; then :
7086 ac_cv_sys_file_offset_bits=no; break
7088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7090 /* end confdefs.h. */
7091 #define _FILE_OFFSET_BITS 64
7092 #include <sys/types.h>
7093 /* Check that off_t can represent 2**63 - 1 correctly.
7094 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7095 since some C++ compilers masquerading as C compilers
7096 incorrectly reject 9223372036854775807. */
7097 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7098 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7099 && LARGE_OFF_T % 2147483647 == 1)
7100 ? 1 : -1];
7102 main ()
7106 return 0;
7108 _ACEOF
7109 if ac_fn_c_try_compile "$LINENO"; then :
7110 ac_cv_sys_file_offset_bits=64; break
7112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7113 ac_cv_sys_file_offset_bits=unknown
7114 break
7115 done
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7118 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7119 case $ac_cv_sys_file_offset_bits in #(
7120 no | unknown) ;;
7122 cat >>confdefs.h <<_ACEOF
7123 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7124 _ACEOF
7126 esac
7127 rm -rf conftest*
7128 if test $ac_cv_sys_file_offset_bits = unknown; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7130 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7131 if ${ac_cv_sys_large_files+:} false; then :
7132 $as_echo_n "(cached) " >&6
7133 else
7134 while :; do
7135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7136 /* end confdefs.h. */
7137 #include <sys/types.h>
7138 /* Check that off_t can represent 2**63 - 1 correctly.
7139 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7140 since some C++ compilers masquerading as C compilers
7141 incorrectly reject 9223372036854775807. */
7142 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7143 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7144 && LARGE_OFF_T % 2147483647 == 1)
7145 ? 1 : -1];
7147 main ()
7151 return 0;
7153 _ACEOF
7154 if ac_fn_c_try_compile "$LINENO"; then :
7155 ac_cv_sys_large_files=no; break
7157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7159 /* end confdefs.h. */
7160 #define _LARGE_FILES 1
7161 #include <sys/types.h>
7162 /* Check that off_t can represent 2**63 - 1 correctly.
7163 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7164 since some C++ compilers masquerading as C compilers
7165 incorrectly reject 9223372036854775807. */
7166 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7167 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7168 && LARGE_OFF_T % 2147483647 == 1)
7169 ? 1 : -1];
7171 main ()
7175 return 0;
7177 _ACEOF
7178 if ac_fn_c_try_compile "$LINENO"; then :
7179 ac_cv_sys_large_files=1; break
7181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7182 ac_cv_sys_large_files=unknown
7183 break
7184 done
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7187 $as_echo "$ac_cv_sys_large_files" >&6; }
7188 case $ac_cv_sys_large_files in #(
7189 no | unknown) ;;
7191 cat >>confdefs.h <<_ACEOF
7192 #define _LARGE_FILES $ac_cv_sys_large_files
7193 _ACEOF
7195 esac
7196 rm -rf conftest*
7203 ac_ext=c
7204 ac_cpp='$CPP $CPPFLAGS'
7205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7209 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7210 # On Suns, sometimes $CPP names a directory.
7211 if test -n "$CPP" && test -d "$CPP"; then
7212 CPP=
7214 if test -z "$CPP"; then
7215 if ${ac_cv_prog_CPP+:} false; then :
7216 $as_echo_n "(cached) " >&6
7217 else
7218 # Double quotes because CPP needs to be expanded
7219 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7221 ac_preproc_ok=false
7222 for ac_c_preproc_warn_flag in '' yes
7224 # Use a header file that comes with gcc, so configuring glibc
7225 # with a fresh cross-compiler works.
7226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7227 # <limits.h> exists even on freestanding compilers.
7228 # On the NeXT, cc -E runs the code through the compiler's parser,
7229 # not just through cpp. "Syntax error" is here to catch this case.
7230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231 /* end confdefs.h. */
7232 #ifdef __STDC__
7233 # include <limits.h>
7234 #else
7235 # include <assert.h>
7236 #endif
7237 Syntax error
7238 _ACEOF
7239 if ac_fn_c_try_cpp "$LINENO"; then :
7241 else
7242 # Broken: fails on valid input.
7243 continue
7245 rm -f conftest.err conftest.i conftest.$ac_ext
7247 # OK, works on sane cases. Now check whether nonexistent headers
7248 # can be detected and how.
7249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7250 /* end confdefs.h. */
7251 #include <ac_nonexistent.h>
7252 _ACEOF
7253 if ac_fn_c_try_cpp "$LINENO"; then :
7254 # Broken: success on invalid input.
7255 continue
7256 else
7257 # Passes both tests.
7258 ac_preproc_ok=:
7259 break
7261 rm -f conftest.err conftest.i conftest.$ac_ext
7263 done
7264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7265 rm -f conftest.i conftest.err conftest.$ac_ext
7266 if $ac_preproc_ok; then :
7267 break
7270 done
7271 ac_cv_prog_CPP=$CPP
7274 CPP=$ac_cv_prog_CPP
7275 else
7276 ac_cv_prog_CPP=$CPP
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7279 $as_echo "$CPP" >&6; }
7280 ac_preproc_ok=false
7281 for ac_c_preproc_warn_flag in '' yes
7283 # Use a header file that comes with gcc, so configuring glibc
7284 # with a fresh cross-compiler works.
7285 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7286 # <limits.h> exists even on freestanding compilers.
7287 # On the NeXT, cc -E runs the code through the compiler's parser,
7288 # not just through cpp. "Syntax error" is here to catch this case.
7289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7290 /* end confdefs.h. */
7291 #ifdef __STDC__
7292 # include <limits.h>
7293 #else
7294 # include <assert.h>
7295 #endif
7296 Syntax error
7297 _ACEOF
7298 if ac_fn_c_try_cpp "$LINENO"; then :
7300 else
7301 # Broken: fails on valid input.
7302 continue
7304 rm -f conftest.err conftest.i conftest.$ac_ext
7306 # OK, works on sane cases. Now check whether nonexistent headers
7307 # can be detected and how.
7308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7309 /* end confdefs.h. */
7310 #include <ac_nonexistent.h>
7311 _ACEOF
7312 if ac_fn_c_try_cpp "$LINENO"; then :
7313 # Broken: success on invalid input.
7314 continue
7315 else
7316 # Passes both tests.
7317 ac_preproc_ok=:
7318 break
7320 rm -f conftest.err conftest.i conftest.$ac_ext
7322 done
7323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7324 rm -f conftest.i conftest.err conftest.$ac_ext
7325 if $ac_preproc_ok; then :
7327 else
7328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7330 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7331 See \`config.log' for more details" "$LINENO" 5; }
7334 ac_ext=c
7335 ac_cpp='$CPP $CPPFLAGS'
7336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7342 $as_echo_n "checking for ANSI C header files... " >&6; }
7343 if ${ac_cv_header_stdc+:} false; then :
7344 $as_echo_n "(cached) " >&6
7345 else
7346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7347 /* end confdefs.h. */
7348 #include <stdlib.h>
7349 #include <stdarg.h>
7350 #include <string.h>
7351 #include <float.h>
7354 main ()
7358 return 0;
7360 _ACEOF
7361 if ac_fn_c_try_compile "$LINENO"; then :
7362 ac_cv_header_stdc=yes
7363 else
7364 ac_cv_header_stdc=no
7366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7368 if test $ac_cv_header_stdc = yes; then
7369 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7371 /* end confdefs.h. */
7372 #include <string.h>
7374 _ACEOF
7375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7376 $EGREP "memchr" >/dev/null 2>&1; then :
7378 else
7379 ac_cv_header_stdc=no
7381 rm -f conftest*
7385 if test $ac_cv_header_stdc = yes; then
7386 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7388 /* end confdefs.h. */
7389 #include <stdlib.h>
7391 _ACEOF
7392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7393 $EGREP "free" >/dev/null 2>&1; then :
7395 else
7396 ac_cv_header_stdc=no
7398 rm -f conftest*
7402 if test $ac_cv_header_stdc = yes; then
7403 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7404 if test "$cross_compiling" = yes; then :
7406 else
7407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7408 /* end confdefs.h. */
7409 #include <ctype.h>
7410 #include <stdlib.h>
7411 #if ((' ' & 0x0FF) == 0x020)
7412 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7413 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7414 #else
7415 # define ISLOWER(c) \
7416 (('a' <= (c) && (c) <= 'i') \
7417 || ('j' <= (c) && (c) <= 'r') \
7418 || ('s' <= (c) && (c) <= 'z'))
7419 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7420 #endif
7422 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7424 main ()
7426 int i;
7427 for (i = 0; i < 256; i++)
7428 if (XOR (islower (i), ISLOWER (i))
7429 || toupper (i) != TOUPPER (i))
7430 return 2;
7431 return 0;
7433 _ACEOF
7434 if ac_fn_c_try_run "$LINENO"; then :
7436 else
7437 ac_cv_header_stdc=no
7439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7440 conftest.$ac_objext conftest.beam conftest.$ac_ext
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7446 $as_echo "$ac_cv_header_stdc" >&6; }
7447 if test $ac_cv_header_stdc = yes; then
7449 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7453 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7454 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7455 inttypes.h stdint.h unistd.h
7456 do :
7457 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7458 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7460 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7461 cat >>confdefs.h <<_ACEOF
7462 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7463 _ACEOF
7467 done
7470 for ac_header in \
7471 AL/al.h \
7472 ApplicationServices/ApplicationServices.h \
7473 CL/cl.h \
7474 Carbon/Carbon.h \
7475 CommonCrypto/CommonCryptor.h \
7476 CoreAudio/CoreAudio.h \
7477 DiskArbitration/DiskArbitration.h \
7478 EGL/egl.h \
7479 IOKit/IOKitLib.h \
7480 IOKit/hid/IOHIDLib.h \
7481 OpenAL/al.h \
7482 OpenCL/opencl.h \
7483 QuickTime/ImageCompression.h \
7484 Security/Security.h \
7485 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7486 SystemConfiguration/SCNetworkConfiguration.h \
7487 alias.h \
7488 arpa/inet.h \
7489 arpa/nameser.h \
7490 asm/types.h \
7491 asm/user.h \
7492 dirent.h \
7493 dlfcn.h \
7494 elf.h \
7495 float.h \
7496 fnmatch.h \
7497 getopt.h \
7498 gettext-po.h \
7499 grp.h \
7500 gsm.h \
7501 gsm/gsm.h \
7502 ieeefp.h \
7503 inet/mib2.h \
7504 libproc.h \
7505 link.h \
7506 linux/cdrom.h \
7507 linux/filter.h \
7508 linux/hdreg.h \
7509 linux/hidraw.h \
7510 linux/input.h \
7511 linux/ioctl.h \
7512 linux/joystick.h \
7513 linux/major.h \
7514 linux/param.h \
7515 linux/serial.h \
7516 linux/types.h \
7517 linux/ucdrom.h \
7518 lwp.h \
7519 mach-o/loader.h \
7520 mach/mach.h \
7521 machine/cpu.h \
7522 machine/sysarch.h \
7523 mntent.h \
7524 netdb.h \
7525 netinet/in.h \
7526 netinet/in_systm.h \
7527 netinet/tcp.h \
7528 netinet/tcp_fsm.h \
7529 pcap/pcap.h \
7530 poll.h \
7531 port.h \
7532 pthread.h \
7533 pwd.h \
7534 sasl/sasl.h \
7535 sched.h \
7536 scsi/scsi.h \
7537 scsi/scsi_ioctl.h \
7538 scsi/sg.h \
7539 stdint.h \
7540 stropts.h \
7541 sys/attr.h \
7542 sys/auxv.h \
7543 sys/cdio.h \
7544 sys/epoll.h \
7545 sys/event.h \
7546 sys/filio.h \
7547 sys/ioctl.h \
7548 sys/ipc.h \
7549 sys/link.h \
7550 sys/mman.h \
7551 sys/modem.h \
7552 sys/msg.h \
7553 sys/mtio.h \
7554 sys/param.h \
7555 sys/poll.h \
7556 sys/prctl.h \
7557 sys/protosw.h \
7558 sys/ptrace.h \
7559 sys/queue.h \
7560 sys/random.h \
7561 sys/resource.h \
7562 sys/scsiio.h \
7563 sys/shm.h \
7564 sys/signal.h \
7565 sys/socket.h \
7566 sys/socketvar.h \
7567 sys/sockio.h \
7568 sys/statvfs.h \
7569 sys/strtio.h \
7570 sys/syscall.h \
7571 sys/sysinfo.h \
7572 sys/tihdr.h \
7573 sys/time.h \
7574 sys/timeout.h \
7575 sys/times.h \
7576 sys/uio.h \
7577 sys/user.h \
7578 sys/utsname.h \
7579 sys/vnode.h \
7580 sys/wait.h \
7581 syscall.h \
7582 termios.h \
7583 unistd.h \
7584 utime.h \
7585 valgrind/memcheck.h \
7586 valgrind/valgrind.h
7588 do :
7589 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7590 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7591 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7592 cat >>confdefs.h <<_ACEOF
7593 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7594 _ACEOF
7598 done
7600 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7601 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7603 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7608 if test $ac_cv_header_sys_mkdev_h = no; then
7609 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7610 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7612 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7619 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7620 if ${ac_cv_header_stat_broken+:} false; then :
7621 $as_echo_n "(cached) " >&6
7622 else
7623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7624 /* end confdefs.h. */
7625 #include <sys/types.h>
7626 #include <sys/stat.h>
7628 #if defined S_ISBLK && defined S_IFDIR
7629 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7630 #endif
7632 #if defined S_ISBLK && defined S_IFCHR
7633 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7634 #endif
7636 #if defined S_ISLNK && defined S_IFREG
7637 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7638 #endif
7640 #if defined S_ISSOCK && defined S_IFREG
7641 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7642 #endif
7644 _ACEOF
7645 if ac_fn_c_try_compile "$LINENO"; then :
7646 ac_cv_header_stat_broken=no
7647 else
7648 ac_cv_header_stat_broken=yes
7650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7653 $as_echo "$ac_cv_header_stat_broken" >&6; }
7654 if test $ac_cv_header_stat_broken = yes; then
7656 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7662 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7663 do :
7664 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7665 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7666 #ifdef HAVE_SYS_PARAM_H
7667 # include <sys/param.h>
7668 #endif
7670 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7671 cat >>confdefs.h <<_ACEOF
7672 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7673 _ACEOF
7677 done
7680 saved_sysctl_h_CFLAGS=$CFLAGS
7681 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7682 for ac_header in sys/sysctl.h
7683 do :
7684 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7685 #ifdef HAVE_SYS_PARAM_H
7686 # include <sys/param.h>
7687 #endif
7689 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7690 cat >>confdefs.h <<_ACEOF
7691 #define HAVE_SYS_SYSCTL_H 1
7692 _ACEOF
7696 done
7698 CFLAGS=$saved_sysctl_h_CFLAGS
7700 for ac_header in \
7701 netinet/ip.h \
7702 net/if.h \
7703 net/if_arp.h \
7704 net/if_dl.h \
7705 net/if_types.h \
7706 net/route.h \
7707 netinet/if_ether.h \
7708 netinet/if_inarp.h \
7709 netinet/in_pcb.h \
7710 netinet/ip_icmp.h \
7711 netinet/ip_var.h \
7712 netinet/udp.h \
7713 netipx/ipx.h \
7714 sys/un.h \
7716 do :
7717 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7718 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7719 #ifdef HAVE_SYS_SOCKET_H
7720 # include <sys/socket.h>
7721 #endif
7722 #ifdef HAVE_SYS_SOCKETVAR_H
7723 # include <sys/socketvar.h>
7724 #endif
7725 #ifdef HAVE_NET_ROUTE_H
7726 # include <net/route.h>
7727 #endif
7728 #ifdef HAVE_NETINET_IN_H
7729 # include <netinet/in.h>
7730 #endif
7731 #ifdef HAVE_NETINET_IN_SYSTM_H
7732 # include <netinet/in_systm.h>
7733 #endif
7734 #ifdef HAVE_NET_IF_H
7735 # include <net/if.h>
7736 #endif
7737 #ifdef HAVE_NETINET_IP_H
7738 # include <netinet/ip.h>
7739 #endif
7741 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7742 cat >>confdefs.h <<_ACEOF
7743 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7744 _ACEOF
7748 done
7751 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7752 do :
7753 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7754 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7755 #ifdef HAVE_ALIAS_H
7756 # include <alias.h>
7757 #endif
7758 #ifdef HAVE_SYS_SOCKET_H
7759 # include <sys/socket.h>
7760 #endif
7761 #ifdef HAVE_SYS_SOCKETVAR_H
7762 # include <sys/socketvar.h>
7763 #endif
7764 #ifdef HAVE_SYS_TIMEOUT_H
7765 # include <sys/timeout.h>
7766 #endif
7767 #ifdef HAVE_NETINET_IN_H
7768 # include <netinet/in.h>
7769 #endif
7770 #ifdef HAVE_NETINET_IN_SYSTM_H
7771 # include <netinet/in_systm.h>
7772 #endif
7773 #ifdef HAVE_NETINET_IP_H
7774 # include <netinet/ip.h>
7775 #endif
7776 #ifdef HAVE_NETINET_IP_VAR_H
7777 # include <netinet/ip_var.h>
7778 #endif
7779 #ifdef HAVE_NETINET_IP_ICMP_H
7780 # include <netinet/ip_icmp.h>
7781 #endif
7782 #ifdef HAVE_NETINET_UDP_H
7783 # include <netinet/udp.h>
7784 #endif
7785 #ifdef HAVE_NETINET_TCP_H
7786 # include <netinet/tcp.h>
7787 #endif
7788 #ifdef HAVE_NETINET_TCP_TIMER_H
7789 #include <netinet/tcp_timer.h>
7790 #endif
7792 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7793 cat >>confdefs.h <<_ACEOF
7794 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7795 _ACEOF
7799 done
7802 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7803 do :
7804 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7805 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7806 #ifdef HAVE_ASM_TYPES_H
7807 # include <asm/types.h>
7808 #endif
7809 #ifdef HAVE_SYS_SOCKET_H
7810 # include <sys/socket.h>
7811 #endif
7812 #ifdef HAVE_LINUX_TYPES_H
7813 # include <linux/types.h>
7814 #endif
7816 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7817 cat >>confdefs.h <<_ACEOF
7818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7819 _ACEOF
7823 done
7826 for ac_header in resolv.h
7827 do :
7828 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7829 #ifdef HAVE_SYS_SOCKET_H
7830 # include <sys/socket.h>
7831 #endif
7832 #ifdef HAVE_NETINET_IN_H
7833 # include <netinet/in.h>
7834 #endif
7835 #ifdef HAVE_ARPA_NAMESER_H
7836 # include <arpa/nameser.h>
7837 #endif
7839 if test "x$ac_cv_header_resolv_h" = xyes; then :
7840 cat >>confdefs.h <<_ACEOF
7841 #define HAVE_RESOLV_H 1
7842 _ACEOF
7846 done
7849 for ac_header in ifaddrs.h
7850 do :
7851 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7853 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7854 cat >>confdefs.h <<_ACEOF
7855 #define HAVE_IFADDRS_H 1
7856 _ACEOF
7860 done
7863 for ac_header in sys/ucontext.h
7864 do :
7865 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7867 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7868 cat >>confdefs.h <<_ACEOF
7869 #define HAVE_SYS_UCONTEXT_H 1
7870 _ACEOF
7874 done
7877 for ac_header in sys/thr.h
7878 do :
7879 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7880 #ifdef HAVE_SYS_UCONTEXT_H
7881 #include <sys/ucontext.h>
7882 #endif
7884 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7885 cat >>confdefs.h <<_ACEOF
7886 #define HAVE_SYS_THR_H 1
7887 _ACEOF
7891 done
7894 for ac_header in pthread_np.h
7895 do :
7896 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7897 #include <pthread.h>
7898 #endif
7900 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7901 cat >>confdefs.h <<_ACEOF
7902 #define HAVE_PTHREAD_NP_H 1
7903 _ACEOF
7907 done
7910 for ac_header in linux/videodev2.h
7911 do :
7912 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7913 #include <sys/time.h>
7914 #endif
7915 #include <sys/types.h>
7916 #ifdef HAVE_ASM_TYPES_H
7917 #include <asm/types.h>
7918 #endif
7920 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7921 cat >>confdefs.h <<_ACEOF
7922 #define HAVE_LINUX_VIDEODEV2_H 1
7923 _ACEOF
7927 done
7930 for ac_header in libprocstat.h
7931 do :
7932 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7933 #include <sys/param.h>
7934 #endif
7935 #ifdef HAVE_SYS_QUEUE_H
7936 #include <sys/queue.h>
7937 #endif
7938 #ifdef HAVE_SYS_SOCKET_H
7939 #include <sys/socket.h>
7940 #endif
7942 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7943 cat >>confdefs.h <<_ACEOF
7944 #define HAVE_LIBPROCSTAT_H 1
7945 _ACEOF
7949 done
7953 DLLFLAGS="-D_REENTRANT"
7955 LDDLLFLAGS=""
7957 LDEXECFLAGS=""
7959 TOP_INSTALL_LIB=""
7961 TOP_INSTALL_DEV=""
7963 WINELOADER_LDFLAGS=""
7965 WINEPRELOADER_LDFLAGS=""
7967 LIBEXT="so"
7968 DLLEXT=".so"
7969 # Extract the first word of "ldd", so it can be a program name with args.
7970 set dummy ldd; ac_word=$2
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7972 $as_echo_n "checking for $ac_word... " >&6; }
7973 if ${ac_cv_path_LDD+:} false; then :
7974 $as_echo_n "(cached) " >&6
7975 else
7976 case $LDD in
7977 [\\/]* | ?:[\\/]*)
7978 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982 as_dummy="/sbin:/usr/sbin:$PATH"
7983 for as_dir in $as_dummy
7985 IFS=$as_save_IFS
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991 break 2
7993 done
7994 done
7995 IFS=$as_save_IFS
7997 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7999 esac
8001 LDD=$ac_cv_path_LDD
8002 if test -n "$LDD"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
8004 $as_echo "$LDD" >&6; }
8005 else
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8011 if test -n "$ac_tool_prefix"; then
8012 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8013 set dummy ${ac_tool_prefix}otool; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8015 $as_echo_n "checking for $ac_word... " >&6; }
8016 if ${ac_cv_prog_OTOOL+:} false; then :
8017 $as_echo_n "(cached) " >&6
8018 else
8019 if test -n "$OTOOL"; then
8020 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8021 else
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 for as_dir in $PATH
8025 IFS=$as_save_IFS
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8029 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 break 2
8033 done
8034 done
8035 IFS=$as_save_IFS
8039 OTOOL=$ac_cv_prog_OTOOL
8040 if test -n "$OTOOL"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8042 $as_echo "$OTOOL" >&6; }
8043 else
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8050 if test -z "$ac_cv_prog_OTOOL"; then
8051 ac_ct_OTOOL=$OTOOL
8052 # Extract the first word of "otool", so it can be a program name with args.
8053 set dummy otool; ac_word=$2
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8055 $as_echo_n "checking for $ac_word... " >&6; }
8056 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8057 $as_echo_n "(cached) " >&6
8058 else
8059 if test -n "$ac_ct_OTOOL"; then
8060 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8061 else
8062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8063 for as_dir in $PATH
8065 IFS=$as_save_IFS
8066 test -z "$as_dir" && as_dir=.
8067 for ac_exec_ext in '' $ac_executable_extensions; do
8068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8069 ac_cv_prog_ac_ct_OTOOL="otool"
8070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8071 break 2
8073 done
8074 done
8075 IFS=$as_save_IFS
8079 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8080 if test -n "$ac_ct_OTOOL"; then
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8082 $as_echo "$ac_ct_OTOOL" >&6; }
8083 else
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8085 $as_echo "no" >&6; }
8088 if test "x$ac_ct_OTOOL" = x; then
8089 OTOOL="otool"
8090 else
8091 case $cross_compiling:$ac_tool_warned in
8092 yes:)
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8095 ac_tool_warned=yes ;;
8096 esac
8097 OTOOL=$ac_ct_OTOOL
8099 else
8100 OTOOL="$ac_cv_prog_OTOOL"
8103 if test -n "$ac_tool_prefix"; then
8104 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8105 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8107 $as_echo_n "checking for $ac_word... " >&6; }
8108 if ${ac_cv_prog_READELF+:} false; then :
8109 $as_echo_n "(cached) " >&6
8110 else
8111 if test -n "$READELF"; then
8112 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8113 else
8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8115 for as_dir in $PATH
8117 IFS=$as_save_IFS
8118 test -z "$as_dir" && as_dir=.
8119 for ac_exec_ext in '' $ac_executable_extensions; do
8120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8121 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8123 break 2
8125 done
8126 done
8127 IFS=$as_save_IFS
8131 READELF=$ac_cv_prog_READELF
8132 if test -n "$READELF"; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8134 $as_echo "$READELF" >&6; }
8135 else
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137 $as_echo "no" >&6; }
8142 if test -z "$ac_cv_prog_READELF"; then
8143 ac_ct_READELF=$READELF
8144 # Extract the first word of "readelf", so it can be a program name with args.
8145 set dummy readelf; ac_word=$2
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8147 $as_echo_n "checking for $ac_word... " >&6; }
8148 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8149 $as_echo_n "(cached) " >&6
8150 else
8151 if test -n "$ac_ct_READELF"; then
8152 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8153 else
8154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8155 for as_dir in $PATH
8157 IFS=$as_save_IFS
8158 test -z "$as_dir" && as_dir=.
8159 for ac_exec_ext in '' $ac_executable_extensions; do
8160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8161 ac_cv_prog_ac_ct_READELF="readelf"
8162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8163 break 2
8165 done
8166 done
8167 IFS=$as_save_IFS
8171 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8172 if test -n "$ac_ct_READELF"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8174 $as_echo "$ac_ct_READELF" >&6; }
8175 else
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8180 if test "x$ac_ct_READELF" = x; then
8181 READELF="true"
8182 else
8183 case $cross_compiling:$ac_tool_warned in
8184 yes:)
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8187 ac_tool_warned=yes ;;
8188 esac
8189 READELF=$ac_ct_READELF
8191 else
8192 READELF="$ac_cv_prog_READELF"
8195 wine_rules_file=conf$$rules.make
8196 rm -f $wine_rules_file
8197 SUBDIRS=""
8199 DISABLED_SUBDIRS=""
8201 CONFIGURE_TARGETS=""
8204 wine_fn_append_file ()
8206 as_fn_append $1 " \\$as_nl $2"
8209 wine_fn_append_rule ()
8211 $as_echo "$1" >>$wine_rules_file
8214 wine_fn_config_makefile ()
8216 wine_fn_append_file SUBDIRS $1
8217 if eval test \"x\$"$2"\" = x"no"; then :
8218 wine_fn_append_file DISABLED_SUBDIRS $1
8222 wine_fn_config_symlink ()
8224 ac_links=$@
8225 wine_fn_append_rule \
8226 "$ac_links:
8227 @./config.status \$@"
8228 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8231 wine_binary="wine"
8232 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8233 WINELOADER_PROGRAMS="$wine_binary"
8235 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8237 case $host_os in
8238 cygwin*|mingw32*)
8239 if test -n "$ac_tool_prefix"; then
8240 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8241 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8243 $as_echo_n "checking for $ac_word... " >&6; }
8244 if ${ac_cv_prog_DLLTOOL+:} false; then :
8245 $as_echo_n "(cached) " >&6
8246 else
8247 if test -n "$DLLTOOL"; then
8248 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8249 else
8250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8251 for as_dir in $PATH
8253 IFS=$as_save_IFS
8254 test -z "$as_dir" && as_dir=.
8255 for ac_exec_ext in '' $ac_executable_extensions; do
8256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8257 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8259 break 2
8261 done
8262 done
8263 IFS=$as_save_IFS
8267 DLLTOOL=$ac_cv_prog_DLLTOOL
8268 if test -n "$DLLTOOL"; then
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8270 $as_echo "$DLLTOOL" >&6; }
8271 else
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8273 $as_echo "no" >&6; }
8278 if test -z "$ac_cv_prog_DLLTOOL"; then
8279 ac_ct_DLLTOOL=$DLLTOOL
8280 # Extract the first word of "dlltool", so it can be a program name with args.
8281 set dummy dlltool; ac_word=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8283 $as_echo_n "checking for $ac_word... " >&6; }
8284 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8285 $as_echo_n "(cached) " >&6
8286 else
8287 if test -n "$ac_ct_DLLTOOL"; then
8288 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8289 else
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8291 for as_dir in $PATH
8293 IFS=$as_save_IFS
8294 test -z "$as_dir" && as_dir=.
8295 for ac_exec_ext in '' $ac_executable_extensions; do
8296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8297 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8299 break 2
8301 done
8302 done
8303 IFS=$as_save_IFS
8307 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8308 if test -n "$ac_ct_DLLTOOL"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8310 $as_echo "$ac_ct_DLLTOOL" >&6; }
8311 else
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8316 if test "x$ac_ct_DLLTOOL" = x; then
8317 DLLTOOL="false"
8318 else
8319 case $cross_compiling:$ac_tool_warned in
8320 yes:)
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8323 ac_tool_warned=yes ;;
8324 esac
8325 DLLTOOL=$ac_ct_DLLTOOL
8327 else
8328 DLLTOOL="$ac_cv_prog_DLLTOOL"
8331 LIBEXT="dll"
8332 DLLEXT=""
8333 case $host_cpu in
8334 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8335 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8336 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8337 $as_echo_n "(cached) " >&6
8338 else
8339 ac_wine_try_cflags_saved=$CFLAGS
8340 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8343 int main(int argc, char **argv) { return 0; }
8344 _ACEOF
8345 if ac_fn_c_try_link "$LINENO"; then :
8346 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8347 else
8348 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8350 rm -f core conftest.err conftest.$ac_objext \
8351 conftest$ac_exeext conftest.$ac_ext
8352 CFLAGS=$ac_wine_try_cflags_saved
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8355 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8356 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8357 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8358 fi ;;
8359 esac
8360 enable_iphlpapi=${enable_iphlpapi:-no}
8361 enable_nsiproxy_sys=${enable_nsiproxy_sys:-no}
8362 enable_ws2_32=${enable_ws2_32:-no}
8363 enable_loader=${enable_loader:-no}
8364 enable_server=${enable_server:-no}
8365 with_x=${with_x:-no}
8366 with_pthread=${with_pthread:-no}
8369 darwin*|macosx*)
8370 ac_ext=m
8371 ac_cpp='$OBJCPP $CPPFLAGS'
8372 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8373 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8374 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8376 ac_ext=m
8377 ac_cpp='$OBJCPP $CPPFLAGS'
8378 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8379 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8380 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8381 if test -n "$ac_tool_prefix"; then
8382 for ac_prog in gcc objcc objc cc CC
8384 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8385 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8387 $as_echo_n "checking for $ac_word... " >&6; }
8388 if ${ac_cv_prog_OBJC+:} false; then :
8389 $as_echo_n "(cached) " >&6
8390 else
8391 if test -n "$OBJC"; then
8392 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8393 else
8394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8395 for as_dir in $PATH
8397 IFS=$as_save_IFS
8398 test -z "$as_dir" && as_dir=.
8399 for ac_exec_ext in '' $ac_executable_extensions; do
8400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8401 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8403 break 2
8405 done
8406 done
8407 IFS=$as_save_IFS
8411 OBJC=$ac_cv_prog_OBJC
8412 if test -n "$OBJC"; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8414 $as_echo "$OBJC" >&6; }
8415 else
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8417 $as_echo "no" >&6; }
8421 test -n "$OBJC" && break
8422 done
8424 if test -z "$OBJC"; then
8425 ac_ct_OBJC=$OBJC
8426 for ac_prog in gcc objcc objc cc CC
8428 # Extract the first word of "$ac_prog", so it can be a program name with args.
8429 set dummy $ac_prog; ac_word=$2
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8431 $as_echo_n "checking for $ac_word... " >&6; }
8432 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8433 $as_echo_n "(cached) " >&6
8434 else
8435 if test -n "$ac_ct_OBJC"; then
8436 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8437 else
8438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8439 for as_dir in $PATH
8441 IFS=$as_save_IFS
8442 test -z "$as_dir" && as_dir=.
8443 for ac_exec_ext in '' $ac_executable_extensions; do
8444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8445 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8447 break 2
8449 done
8450 done
8451 IFS=$as_save_IFS
8455 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8456 if test -n "$ac_ct_OBJC"; then
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8458 $as_echo "$ac_ct_OBJC" >&6; }
8459 else
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8461 $as_echo "no" >&6; }
8465 test -n "$ac_ct_OBJC" && break
8466 done
8468 if test "x$ac_ct_OBJC" = x; then
8469 OBJC="gcc"
8470 else
8471 case $cross_compiling:$ac_tool_warned in
8472 yes:)
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8475 ac_tool_warned=yes ;;
8476 esac
8477 OBJC=$ac_ct_OBJC
8481 # Provide some information about the compiler.
8482 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8483 set X $ac_compile
8484 ac_compiler=$2
8485 for ac_option in --version -v -V -qversion; do
8486 { { ac_try="$ac_compiler $ac_option >&5"
8487 case "(($ac_try" in
8488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8489 *) ac_try_echo=$ac_try;;
8490 esac
8491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8492 $as_echo "$ac_try_echo"; } >&5
8493 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8494 ac_status=$?
8495 if test -s conftest.err; then
8496 sed '10a\
8497 ... rest of stderr output deleted ...
8498 10q' conftest.err >conftest.er1
8499 cat conftest.er1 >&5
8501 rm -f conftest.er1 conftest.err
8502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8503 test $ac_status = 0; }
8504 done
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8507 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8508 if ${ac_cv_objc_compiler_gnu+:} false; then :
8509 $as_echo_n "(cached) " >&6
8510 else
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8515 main ()
8517 #ifndef __GNUC__
8518 choke me
8519 #endif
8522 return 0;
8524 _ACEOF
8525 if ac_fn_objc_try_compile "$LINENO"; then :
8526 ac_compiler_gnu=yes
8527 else
8528 ac_compiler_gnu=no
8530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8531 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8535 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8536 if test $ac_compiler_gnu = yes; then
8537 GOBJC=yes
8538 else
8539 GOBJC=
8541 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8542 ac_save_OBJCFLAGS=$OBJCFLAGS
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8544 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8545 if ${ac_cv_prog_objc_g+:} false; then :
8546 $as_echo_n "(cached) " >&6
8547 else
8548 ac_save_objc_werror_flag=$ac_objc_werror_flag
8549 ac_objc_werror_flag=yes
8550 ac_cv_prog_objc_g=no
8551 OBJCFLAGS="-g"
8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8556 main ()
8560 return 0;
8562 _ACEOF
8563 if ac_fn_objc_try_compile "$LINENO"; then :
8564 ac_cv_prog_objc_g=yes
8565 else
8566 OBJCFLAGS=""
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8571 main ()
8575 return 0;
8577 _ACEOF
8578 if ac_fn_objc_try_compile "$LINENO"; then :
8580 else
8581 ac_objc_werror_flag=$ac_save_objc_werror_flag
8582 OBJCFLAGS="-g"
8583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8584 /* end confdefs.h. */
8587 main ()
8591 return 0;
8593 _ACEOF
8594 if ac_fn_objc_try_compile "$LINENO"; then :
8595 ac_cv_prog_objc_g=yes
8597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8602 ac_objc_werror_flag=$ac_save_objc_werror_flag
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8605 $as_echo "$ac_cv_prog_objc_g" >&6; }
8606 if test "$ac_test_OBJCFLAGS" = set; then
8607 OBJCFLAGS=$ac_save_OBJCFLAGS
8608 elif test $ac_cv_prog_objc_g = yes; then
8609 if test "$GOBJC" = yes; then
8610 OBJCFLAGS="-g -O2"
8611 else
8612 OBJCFLAGS="-g"
8614 else
8615 if test "$GOBJC" = yes; then
8616 OBJCFLAGS="-O2"
8617 else
8618 OBJCFLAGS=
8621 ac_ext=m
8622 ac_cpp='$OBJCPP $CPPFLAGS'
8623 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8624 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8625 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8628 ac_ext=m
8629 ac_cpp='$OBJCPP $CPPFLAGS'
8630 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8631 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8632 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8634 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8635 if test -z "$OBJCPP"; then
8636 if ${ac_cv_prog_OBJCPP+:} false; then :
8637 $as_echo_n "(cached) " >&6
8638 else
8639 # Double quotes because OBJCPP needs to be expanded
8640 for OBJCPP in "$OBJC -E" "/lib/cpp"
8642 ac_preproc_ok=false
8643 for ac_objc_preproc_warn_flag in '' yes
8645 # Use a header file that comes with gcc, so configuring glibc
8646 # with a fresh cross-compiler works.
8647 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8648 # <limits.h> exists even on freestanding compilers.
8649 # On the NeXT, cc -E runs the code through the compiler's parser,
8650 # not just through cpp. "Syntax error" is here to catch this case.
8651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8652 /* end confdefs.h. */
8653 #ifdef __STDC__
8654 # include <limits.h>
8655 #else
8656 # include <assert.h>
8657 #endif
8658 Syntax error
8659 _ACEOF
8660 if ac_fn_objc_try_cpp "$LINENO"; then :
8662 else
8663 # Broken: fails on valid input.
8664 continue
8666 rm -f conftest.err conftest.i conftest.$ac_ext
8668 # OK, works on sane cases. Now check whether nonexistent headers
8669 # can be detected and how.
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8672 #include <ac_nonexistent.h>
8673 _ACEOF
8674 if ac_fn_objc_try_cpp "$LINENO"; then :
8675 # Broken: success on invalid input.
8676 continue
8677 else
8678 # Passes both tests.
8679 ac_preproc_ok=:
8680 break
8682 rm -f conftest.err conftest.i conftest.$ac_ext
8684 done
8685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8686 rm -f conftest.i conftest.err conftest.$ac_ext
8687 if $ac_preproc_ok; then :
8688 break
8691 done
8692 ac_cv_prog_OBJCPP=$OBJCPP
8695 OBJCPP=$ac_cv_prog_OBJCPP
8696 else
8697 ac_cv_prog_OBJCPP=$OBJCPP
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8700 $as_echo "$OBJCPP" >&6; }
8701 ac_preproc_ok=false
8702 for ac_objc_preproc_warn_flag in '' yes
8704 # Use a header file that comes with gcc, so configuring glibc
8705 # with a fresh cross-compiler works.
8706 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8707 # <limits.h> exists even on freestanding compilers.
8708 # On the NeXT, cc -E runs the code through the compiler's parser,
8709 # not just through cpp. "Syntax error" is here to catch this case.
8710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8711 /* end confdefs.h. */
8712 #ifdef __STDC__
8713 # include <limits.h>
8714 #else
8715 # include <assert.h>
8716 #endif
8717 Syntax error
8718 _ACEOF
8719 if ac_fn_objc_try_cpp "$LINENO"; then :
8721 else
8722 # Broken: fails on valid input.
8723 continue
8725 rm -f conftest.err conftest.i conftest.$ac_ext
8727 # OK, works on sane cases. Now check whether nonexistent headers
8728 # can be detected and how.
8729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8730 /* end confdefs.h. */
8731 #include <ac_nonexistent.h>
8732 _ACEOF
8733 if ac_fn_objc_try_cpp "$LINENO"; then :
8734 # Broken: success on invalid input.
8735 continue
8736 else
8737 # Passes both tests.
8738 ac_preproc_ok=:
8739 break
8741 rm -f conftest.err conftest.i conftest.$ac_ext
8743 done
8744 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8745 rm -f conftest.i conftest.err conftest.$ac_ext
8746 if $ac_preproc_ok; then :
8748 else
8749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8751 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8752 See \`config.log' for more details" "$LINENO" 5; }
8755 ac_ext=m
8756 ac_cpp='$OBJCPP $CPPFLAGS'
8757 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8758 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8759 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8762 for ac_header in Metal/Metal.h
8763 do :
8764 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8765 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8766 cat >>confdefs.h <<_ACEOF
8767 #define HAVE_METAL_METAL_H 1
8768 _ACEOF
8772 done
8774 ac_ext=c
8775 ac_cpp='$CPP $CPPFLAGS'
8776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8780 LIBEXT="dylib"
8781 DLLFLAGS="$DLLFLAGS -fPIC"
8782 LDDLLFLAGS="-fPIC"
8783 COREFOUNDATION_LIBS="-framework CoreFoundation"
8785 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8787 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8789 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8791 CORESERVICES_LIBS="-framework CoreServices"
8793 APPKIT_LIBS="-framework AppKit"
8795 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8798 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8800 wine_can_build_preloader=yes
8801 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8803 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8804 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8805 $as_echo_n "(cached) " >&6
8806 else
8807 ac_wine_try_cflags_saved=$CFLAGS
8808 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8810 /* end confdefs.h. */
8811 int main(int argc, char **argv) { return 0; }
8812 _ACEOF
8813 if ac_fn_c_try_link "$LINENO"; then :
8814 ac_cv_cflags__Wl__no_new_main__e__main=yes
8815 else
8816 ac_cv_cflags__Wl__no_new_main__e__main=no
8818 rm -f core conftest.err conftest.$ac_objext \
8819 conftest$ac_exeext conftest.$ac_ext
8820 CFLAGS=$ac_wine_try_cflags_saved
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8823 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8824 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8825 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8827 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8828 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 ac_wine_try_cflags_saved=$CFLAGS
8832 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8834 /* end confdefs.h. */
8835 int main(int argc, char **argv) { return 0; }
8836 _ACEOF
8837 if ac_fn_c_try_link "$LINENO"; then :
8838 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8839 else
8840 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8842 rm -f core conftest.err conftest.$ac_objext \
8843 conftest$ac_exeext conftest.$ac_ext
8844 CFLAGS=$ac_wine_try_cflags_saved
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8847 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8848 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8849 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8850 else
8851 { $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
8852 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8853 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8854 $as_echo_n "(cached) " >&6
8855 else
8856 ac_wine_try_cflags_saved=$CFLAGS
8857 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8859 /* end confdefs.h. */
8860 int main(int argc, char **argv) { return 0; }
8861 _ACEOF
8862 if ac_fn_c_try_link "$LINENO"; then :
8863 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8864 else
8865 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8867 rm -f core conftest.err conftest.$ac_objext \
8868 conftest$ac_exeext conftest.$ac_ext
8869 CFLAGS=$ac_wine_try_cflags_saved
8871 { $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
8872 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8873 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8874 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8875 else
8876 wine_can_build_preloader=no
8879 else
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8881 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8882 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8883 $as_echo_n "(cached) " >&6
8884 else
8885 ac_wine_try_cflags_saved=$CFLAGS
8886 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8888 /* end confdefs.h. */
8889 int main(int argc, char **argv) { return 0; }
8890 _ACEOF
8891 if ac_fn_c_try_link "$LINENO"; then :
8892 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8893 else
8894 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8896 rm -f core conftest.err conftest.$ac_objext \
8897 conftest$ac_exeext conftest.$ac_ext
8898 CFLAGS=$ac_wine_try_cflags_saved
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8901 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8902 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8903 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8904 else
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8906 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8907 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8908 $as_echo_n "(cached) " >&6
8909 else
8910 ac_wine_try_cflags_saved=$CFLAGS
8911 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8913 /* end confdefs.h. */
8914 int main(int argc, char **argv) { return 0; }
8915 _ACEOF
8916 if ac_fn_c_try_link "$LINENO"; then :
8917 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8918 else
8919 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8921 rm -f core conftest.err conftest.$ac_objext \
8922 conftest$ac_exeext conftest.$ac_ext
8923 CFLAGS=$ac_wine_try_cflags_saved
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8926 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8927 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8928 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8929 else
8930 wine_can_build_preloader=no
8934 if test "$wine_can_build_preloader" = "yes"
8935 then
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8937 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8938 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8939 $as_echo_n "(cached) " >&6
8940 else
8941 ac_wine_try_cflags_saved=$CFLAGS
8942 CFLAGS="$CFLAGS -Wl,-no_pie"
8943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8945 int main(int argc, char **argv) { return 0; }
8946 _ACEOF
8947 if ac_fn_c_try_link "$LINENO"; then :
8948 ac_cv_cflags__Wl__no_pie=yes
8949 else
8950 ac_cv_cflags__Wl__no_pie=no
8952 rm -f core conftest.err conftest.$ac_objext \
8953 conftest$ac_exeext conftest.$ac_ext
8954 CFLAGS=$ac_wine_try_cflags_saved
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8957 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8958 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8959 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8961 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8962 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8963 else
8964 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8967 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8968 then
8969 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8972 if test "$ac_cv_header_Security_Security_h" = "yes"
8973 then
8974 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8976 ac_save_LIBS="$LIBS"
8977 LIBS="$LIBS $SECURITY_LIBS"
8978 for ac_func in SSLCopyPeerCertificates
8979 do :
8980 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8981 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8982 cat >>confdefs.h <<_ACEOF
8983 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8984 _ACEOF
8987 done
8989 LIBS="$ac_save_LIBS"
8991 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8992 then
8993 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8995 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8997 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8998 then
8999 OPENAL_LIBS="-framework OpenAL"
9002 cat >>confdefs.h <<_ACEOF
9003 #define HAVE_OPENAL 1
9004 _ACEOF
9006 ac_cv_lib_openal=yes
9008 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9009 then
9010 OPENCL_LIBS="-framework OpenCL"
9012 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9014 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9015 then
9016 ac_save_LIBS="$LIBS"
9017 LIBS="$LIBS $IOKIT_LIBS"
9018 for ac_func in IOHIDManagerCreate
9019 do :
9020 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9021 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9022 cat >>confdefs.h <<_ACEOF
9023 #define HAVE_IOHIDMANAGERCREATE 1
9024 _ACEOF
9027 done
9029 LIBS="$ac_save_LIBS"
9032 if test "x$with_quicktime" != "xno"
9033 then
9034 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9035 then
9036 ac_save_LIBS="$LIBS"
9037 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9039 $as_echo_n "checking for the QuickTime framework... " >&6; }
9040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9041 /* end confdefs.h. */
9042 #include <QuickTime/ImageCompression.h>
9044 main ()
9046 CodecManagerVersion(NULL);
9048 return 0;
9050 _ACEOF
9051 if ac_fn_c_try_link "$LINENO"; then :
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9053 $as_echo "yes" >&6; }
9054 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9056 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9057 else
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9059 $as_echo "no" >&6; }
9060 ac_cv_header_QuickTime_ImageCompression_h=no
9062 rm -f core conftest.err conftest.$ac_objext \
9063 conftest$ac_exeext conftest.$ac_ext
9064 LIBS="$ac_save_LIBS"
9067 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9068 case "x$with_quicktime" in
9069 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9070 xno) ;;
9071 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9072 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9073 esac
9077 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9078 then
9079 CARBON_LIBS="-framework Carbon"
9082 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9083 then
9084 METAL_LIBS="-framework Metal -framework QuartzCore"
9088 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9089 then
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9091 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9092 ac_ext=m
9093 ac_cpp='$OBJCPP $CPPFLAGS'
9094 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9095 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9096 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h. */
9100 #include <Metal/Metal.h>
9102 main ()
9104 id<MTLDevice> device; device.registryID;
9106 return 0;
9108 _ACEOF
9109 if ac_fn_objc_try_compile "$LINENO"; then :
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9111 $as_echo "yes" >&6; }
9113 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9115 else
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9117 $as_echo "no" >&6; }
9119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9120 ac_ext=c
9121 ac_cpp='$CPP $CPPFLAGS'
9122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9128 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9129 then
9130 ac_save_LIBS="$LIBS"
9131 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9132 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9133 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9134 enable_winemac_drv=${enable_winemac_drv:-yes}
9137 LIBS="$ac_save_LIBS"
9140 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9142 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9144 WINELOADER_DEPENDS="wine_info.plist"
9146 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9149 linux-android*)
9150 DLLFLAGS="$DLLFLAGS -fPIC"
9151 LDDLLFLAGS="-fPIC"
9152 LDEXECFLAGS="-Wl,-pie"
9153 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9155 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9156 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9157 $as_echo_n "(cached) " >&6
9158 else
9159 ac_wine_try_cflags_saved=$CFLAGS
9160 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9163 int main(int argc, char **argv) { return 0; }
9164 _ACEOF
9165 if ac_fn_c_try_link "$LINENO"; then :
9166 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9167 else
9168 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9170 rm -f core conftest.err conftest.$ac_objext \
9171 conftest$ac_exeext conftest.$ac_ext
9172 CFLAGS=$ac_wine_try_cflags_saved
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9175 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9176 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9177 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9179 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9182 $as_echo_n "checking for -lEGL... " >&6; }
9183 if ${ac_cv_lib_soname_EGL+:} false; then :
9184 $as_echo_n "(cached) " >&6
9185 else
9186 ac_check_soname_save_LIBS=$LIBS
9187 LIBS="-lEGL $LIBS"
9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9194 #ifdef __cplusplus
9195 extern "C"
9196 #endif
9197 char eglGetProcAddress ();
9199 main ()
9201 return eglGetProcAddress ();
9203 return 0;
9205 _ACEOF
9206 if ac_fn_c_try_link "$LINENO"; then :
9207 case "$LIBEXT" in
9208 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9209 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'` ;;
9210 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9211 if ${ac_cv_lib_soname_EGL:+false} :; then :
9212 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9213 fi ;;
9214 esac
9215 else
9216 ac_cv_lib_soname_EGL=
9218 rm -f core conftest.err conftest.$ac_objext \
9219 conftest$ac_exeext conftest.$ac_ext
9220 LIBS=$ac_check_soname_save_LIBS
9222 if ${ac_cv_lib_soname_EGL:+false} :; then :
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9224 $as_echo "not found" >&6; }
9226 else
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9228 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9230 cat >>confdefs.h <<_ACEOF
9231 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9232 _ACEOF
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9237 $as_echo_n "checking for -lGLESv2... " >&6; }
9238 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9239 $as_echo_n "(cached) " >&6
9240 else
9241 ac_check_soname_save_LIBS=$LIBS
9242 LIBS="-lGLESv2 $LIBS"
9243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9246 /* Override any GCC internal prototype to avoid an error.
9247 Use char because int might match the return type of a GCC
9248 builtin and then its argument prototype would still apply. */
9249 #ifdef __cplusplus
9250 extern "C"
9251 #endif
9252 char glFlush ();
9254 main ()
9256 return glFlush ();
9258 return 0;
9260 _ACEOF
9261 if ac_fn_c_try_link "$LINENO"; then :
9262 case "$LIBEXT" in
9263 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9264 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'` ;;
9265 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9266 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9267 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9268 fi ;;
9269 esac
9270 else
9271 ac_cv_lib_soname_GLESv2=
9273 rm -f core conftest.err conftest.$ac_objext \
9274 conftest$ac_exeext conftest.$ac_ext
9275 LIBS=$ac_check_soname_save_LIBS
9277 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9279 $as_echo "not found" >&6; }
9281 else
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9283 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9285 cat >>confdefs.h <<_ACEOF
9286 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9287 _ACEOF
9292 if test "x$exec_prefix" = xNONE
9293 then
9294 case $host_cpu in
9295 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9296 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9297 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9298 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9299 esac
9304 case $host_cpu in
9305 *i[3456789]86*)
9306 DLLFLAGS="$DLLFLAGS -fno-PIC"
9307 LDDLLFLAGS="-fno-PIC"
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9309 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9310 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9311 $as_echo_n "(cached) " >&6
9312 else
9313 ac_wine_try_cflags_saved=$CFLAGS
9314 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9317 int main(int argc, char **argv) { return 0; }
9318 _ACEOF
9319 if ac_fn_c_try_link "$LINENO"; then :
9320 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9321 else
9322 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9324 rm -f core conftest.err conftest.$ac_objext \
9325 conftest$ac_exeext conftest.$ac_ext
9326 CFLAGS=$ac_wine_try_cflags_saved
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9329 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9330 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9331 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9335 DLLFLAGS="$DLLFLAGS -fPIC"
9336 LDDLLFLAGS="-fPIC" ;;
9337 esac
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9339 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9340 if ${ac_cv_c_dll_gnuelf+:} false; then :
9341 $as_echo_n "(cached) " >&6
9342 else
9343 ac_wine_try_cflags_saved=$CFLAGS
9344 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9347 void myfunc() {}
9348 _ACEOF
9349 if ac_fn_c_try_link "$LINENO"; then :
9350 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9351 else
9352 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9354 rm -f core conftest.err conftest.$ac_objext \
9355 conftest$ac_exeext conftest.$ac_ext
9356 CFLAGS=$ac_wine_try_cflags_saved
9357 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9358 ac_cv_c_dll_gnuelf="yes"
9359 else
9360 ac_cv_c_dll_gnuelf="no"
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9364 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9365 if test "$ac_cv_c_dll_gnuelf" = "yes"
9366 then
9367 LIBWINE_LDFLAGS="-shared"
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9369 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9370 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9371 $as_echo_n "(cached) " >&6
9372 else
9373 ac_wine_try_cflags_saved=$CFLAGS
9374 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9376 /* end confdefs.h. */
9377 int main(int argc, char **argv) { return 0; }
9378 _ACEOF
9379 if ac_fn_c_try_link "$LINENO"; then :
9380 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9381 else
9382 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9384 rm -f core conftest.err conftest.$ac_objext \
9385 conftest$ac_exeext conftest.$ac_ext
9386 CFLAGS=$ac_wine_try_cflags_saved
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9389 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9390 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9391 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9392 else
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9394 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9395 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9396 $as_echo_n "(cached) " >&6
9397 else
9398 ac_wine_try_cflags_saved=$CFLAGS
9399 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9401 /* end confdefs.h. */
9402 int main(int argc, char **argv) { return 0; }
9403 _ACEOF
9404 if ac_fn_c_try_link "$LINENO"; then :
9405 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9406 else
9407 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9409 rm -f core conftest.err conftest.$ac_objext \
9410 conftest$ac_exeext conftest.$ac_ext
9411 CFLAGS=$ac_wine_try_cflags_saved
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9414 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9415 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9416 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9420 echo '{ global: *; };' >conftest.map
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9422 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9423 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9424 $as_echo_n "(cached) " >&6
9425 else
9426 ac_wine_try_cflags_saved=$CFLAGS
9427 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9429 /* end confdefs.h. */
9430 int main(int argc, char **argv) { return 0; }
9431 _ACEOF
9432 if ac_fn_c_try_link "$LINENO"; then :
9433 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9434 else
9435 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9437 rm -f core conftest.err conftest.$ac_objext \
9438 conftest$ac_exeext conftest.$ac_ext
9439 CFLAGS=$ac_wine_try_cflags_saved
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9442 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9443 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9444 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9446 rm -f conftest.map
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9449 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9450 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 ac_wine_try_cflags_saved=$CFLAGS
9454 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9457 int main(int argc, char **argv) { return 0; }
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 ac_cv_cflags__Wl___export_dynamic=yes
9461 else
9462 ac_cv_cflags__Wl___export_dynamic=no
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9466 CFLAGS=$ac_wine_try_cflags_saved
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9469 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9470 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9471 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9473 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9475 case $host_cpu in
9476 *i[3456789]86* | x86_64 | *aarch64* | arm*)
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9478 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9479 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9480 $as_echo_n "(cached) " >&6
9481 else
9482 ac_wine_try_cflags_saved=$CFLAGS
9483 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9486 int main(int argc, char **argv) { return 0; }
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"; then :
9489 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9490 else
9491 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9493 rm -f core conftest.err conftest.$ac_objext \
9494 conftest$ac_exeext conftest.$ac_ext
9495 CFLAGS=$ac_wine_try_cflags_saved
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9498 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9499 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9500 case $host_os in
9501 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9502 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9503 esac
9504 else
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9506 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9507 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9508 $as_echo_n "(cached) " >&6
9509 else
9510 ac_wine_try_cflags_saved=$CFLAGS
9511 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9514 int main(int argc, char **argv) { return 0; }
9515 _ACEOF
9516 if ac_fn_c_try_link "$LINENO"; then :
9517 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9518 else
9519 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9521 rm -f core conftest.err conftest.$ac_objext \
9522 conftest$ac_exeext conftest.$ac_ext
9523 CFLAGS=$ac_wine_try_cflags_saved
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9526 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9527 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9528 case $host_os in
9529 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9530 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9531 esac
9533 # Extract the first word of "prelink", so it can be a program name with args.
9534 set dummy prelink; ac_word=$2
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9536 $as_echo_n "checking for $ac_word... " >&6; }
9537 if ${ac_cv_path_PRELINK+:} false; then :
9538 $as_echo_n "(cached) " >&6
9539 else
9540 case $PRELINK in
9541 [\\/]* | ?:[\\/]*)
9542 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9546 for as_dir in /sbin /usr/sbin $PATH
9548 IFS=$as_save_IFS
9549 test -z "$as_dir" && as_dir=.
9550 for ac_exec_ext in '' $ac_executable_extensions; do
9551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9552 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9554 break 2
9556 done
9557 done
9558 IFS=$as_save_IFS
9560 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9562 esac
9564 PRELINK=$ac_cv_path_PRELINK
9565 if test -n "$PRELINK"; then
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9567 $as_echo "$PRELINK" >&6; }
9568 else
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9570 $as_echo "no" >&6; }
9574 if test "x$PRELINK" = xfalse
9575 then
9576 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9580 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9581 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9582 $as_echo_n "(cached) " >&6
9583 else
9584 ac_wine_try_cflags_saved=$CFLAGS
9585 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9588 int main(int argc, char **argv) { return 0; }
9589 _ACEOF
9590 if ac_fn_c_try_link "$LINENO"; then :
9591 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9592 else
9593 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9595 rm -f core conftest.err conftest.$ac_objext \
9596 conftest$ac_exeext conftest.$ac_ext
9597 CFLAGS=$ac_wine_try_cflags_saved
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9600 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9601 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9602 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9605 esac
9607 else
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9609 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9610 if ${ac_cv_c_dll_unixware+:} false; then :
9611 $as_echo_n "(cached) " >&6
9612 else
9613 ac_wine_try_cflags_saved=$CFLAGS
9614 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9616 /* end confdefs.h. */
9617 void myfunc() {}
9618 _ACEOF
9619 if ac_fn_c_try_link "$LINENO"; then :
9620 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9621 else
9622 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9624 rm -f core conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 CFLAGS=$ac_wine_try_cflags_saved
9627 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9628 ac_cv_c_dll_unixware="yes"
9629 else
9630 ac_cv_c_dll_unixware="no"
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9634 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9635 if test "$ac_cv_c_dll_unixware" = "yes"
9636 then
9637 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9640 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9642 LIBWINE_DEPENDS="wine.map"
9644 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9646 esac
9648 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9649 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9650 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9651 enable_winemac_drv=${enable_winemac_drv:-no}
9652 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9655 if test "x$with_mingw" != xno
9656 then
9657 case "x$with_mingw" in
9658 x|xyes) case "$host_cpu" in
9659 aarch64*)
9660 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9661 arm*)
9662 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9663 i[3456789]86*)
9664 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
9665 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9666 mingw32-gcc clang" ;;
9667 x86_64)
9668 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
9669 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9671 ac_prefix_list="" ;;
9672 esac
9673 for ac_prog in $ac_prefix_list
9675 # Extract the first word of "$ac_prog", so it can be a program name with args.
9676 set dummy $ac_prog; ac_word=$2
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9678 $as_echo_n "checking for $ac_word... " >&6; }
9679 if ${ac_cv_prog_CROSSCC+:} false; then :
9680 $as_echo_n "(cached) " >&6
9681 else
9682 if test -n "$CROSSCC"; then
9683 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9684 else
9685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9686 for as_dir in $PATH
9688 IFS=$as_save_IFS
9689 test -z "$as_dir" && as_dir=.
9690 for ac_exec_ext in '' $ac_executable_extensions; do
9691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9692 ac_cv_prog_CROSSCC="$ac_prog"
9693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9694 break 2
9696 done
9697 done
9698 IFS=$as_save_IFS
9702 CROSSCC=$ac_cv_prog_CROSSCC
9703 if test -n "$CROSSCC"; then
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9705 $as_echo "$CROSSCC" >&6; }
9706 else
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9708 $as_echo "no" >&6; }
9712 test -n "$CROSSCC" && break
9713 done
9714 test -n "$CROSSCC" || CROSSCC="false"
9716 *) CROSSCC=$with_mingw ;;
9717 esac
9718 if test "$CROSSCC" != "false"
9719 then
9720 ac_save_CC="$CC"
9721 saved_CFLAGS=$CFLAGS
9722 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9724 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9728 CC="$CROSSCC"
9729 CFLAGS=$CROSSCFLAGS
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9731 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9732 if ${wine_cv_crosscc+:} false; then :
9733 $as_echo_n "(cached) " >&6
9734 else
9735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9736 /* end confdefs.h. */
9739 main ()
9743 return 0;
9745 _ACEOF
9746 if ac_fn_c_try_compile "$LINENO"; then :
9747 wine_cv_crosscc=yes
9748 else
9749 wine_cv_crosscc=no
9751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9754 $as_echo "$wine_cv_crosscc" >&6; }
9755 if test $wine_cv_crosscc = yes
9756 then
9757 set x $CROSSCC
9758 shift
9759 while test $# -ge 1
9761 case "$1" in
9762 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9763 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9764 esac
9765 shift
9766 done
9768 llvm_target=$CROSSTARGET
9769 llvm_cflags="-fuse-ld=lld"
9770 if test -z "$llvm_target"
9771 then
9772 case $host_cpu in
9773 *i[3456789]86*) llvm_target=i686-windows ;;
9774 *) llvm_target=$host_cpu-windows ;;
9775 esac
9777 case $llvm_target in
9778 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9779 esac
9780 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9782 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9783 if eval \${$as_ac_var+:} false; then :
9784 $as_echo_n "(cached) " >&6
9785 else
9786 ac_wine_try_cflags_saved=$CFLAGS
9787 ac_wine_try_cflags_saved_cc=$CC
9788 ac_wine_try_cflags_saved_exeext=$ac_exeext
9789 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9790 CC="$CROSSCC"
9791 ac_exeext=".exe"
9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9794 int __cdecl mainCRTStartup(void) { return 0; }
9795 _ACEOF
9796 if ac_fn_c_try_link "$LINENO"; then :
9797 eval "$as_ac_var=yes"
9798 else
9799 eval "$as_ac_var=no"
9801 rm -f core conftest.err conftest.$ac_objext \
9802 conftest$ac_exeext conftest.$ac_ext
9803 CFLAGS=$ac_wine_try_cflags_saved
9804 CC=$ac_wine_try_cflags_saved_cc
9805 ac_exeext=$ac_wine_try_cflags_saved_exeext
9807 eval ac_res=\$$as_ac_var
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9809 $as_echo "$ac_res" >&6; }
9810 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9811 CROSSTARGET=$llvm_target
9812 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9813 DELAYLOADFLAG="-Wl,-delayload,"
9815 CFLAGS="$CFLAGS $llvm_cflags"
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9819 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9820 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 ac_wine_try_cflags_saved=$CFLAGS
9824 ac_wine_try_cflags_saved_cc=$CC
9825 ac_wine_try_cflags_saved_exeext=$ac_exeext
9826 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9827 CC="$CROSSCC"
9828 ac_exeext=".exe"
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9831 int __cdecl mainCRTStartup(void) { return 0; }
9832 _ACEOF
9833 if ac_fn_c_try_link "$LINENO"; then :
9834 ac_cv_crosscflags__fno_strict_aliasing=yes
9835 else
9836 ac_cv_crosscflags__fno_strict_aliasing=no
9838 rm -f core conftest.err conftest.$ac_objext \
9839 conftest$ac_exeext conftest.$ac_ext
9840 CFLAGS=$ac_wine_try_cflags_saved
9841 CC=$ac_wine_try_cflags_saved_cc
9842 ac_exeext=$ac_wine_try_cflags_saved_exeext
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9845 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9846 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9847 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9850 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9851 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9852 $as_echo_n "(cached) " >&6
9853 else
9854 ac_wine_try_cflags_saved=$CFLAGS
9855 ac_wine_try_cflags_saved_cc=$CC
9856 ac_wine_try_cflags_saved_exeext=$ac_exeext
9857 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9858 CC="$CROSSCC"
9859 ac_exeext=".exe"
9860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9861 /* end confdefs.h. */
9862 int __cdecl mainCRTStartup(void) { return 0; }
9863 _ACEOF
9864 if ac_fn_c_try_link "$LINENO"; then :
9865 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9866 else
9867 ac_cv_crosscflags__Werror_unknown_warning_option=no
9869 rm -f core conftest.err conftest.$ac_objext \
9870 conftest$ac_exeext conftest.$ac_ext
9871 CFLAGS=$ac_wine_try_cflags_saved
9872 CC=$ac_wine_try_cflags_saved_cc
9873 ac_exeext=$ac_wine_try_cflags_saved_exeext
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9876 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9877 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9878 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9881 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9882 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9883 $as_echo_n "(cached) " >&6
9884 else
9885 ac_wine_try_cflags_saved=$CFLAGS
9886 ac_wine_try_cflags_saved_cc=$CC
9887 ac_wine_try_cflags_saved_exeext=$ac_exeext
9888 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9889 CC="$CROSSCC"
9890 ac_exeext=".exe"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 int __cdecl mainCRTStartup(void) { return 0; }
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9897 else
9898 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9900 rm -f core conftest.err conftest.$ac_objext \
9901 conftest$ac_exeext conftest.$ac_ext
9902 CFLAGS=$ac_wine_try_cflags_saved
9903 CC=$ac_wine_try_cflags_saved_cc
9904 ac_exeext=$ac_wine_try_cflags_saved_exeext
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9907 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9908 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9909 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9912 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9913 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9914 $as_echo_n "(cached) " >&6
9915 else
9916 ac_wine_try_cflags_saved=$CFLAGS
9917 ac_wine_try_cflags_saved_cc=$CC
9918 ac_wine_try_cflags_saved_exeext=$ac_exeext
9919 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9920 CC="$CROSSCC"
9921 ac_exeext=".exe"
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9924 int __cdecl mainCRTStartup(void) { return 0; }
9925 _ACEOF
9926 if ac_fn_c_try_link "$LINENO"; then :
9927 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9928 else
9929 ac_cv_crosscflags__Wdeclaration_after_statement=no
9931 rm -f core conftest.err conftest.$ac_objext \
9932 conftest$ac_exeext conftest.$ac_ext
9933 CFLAGS=$ac_wine_try_cflags_saved
9934 CC=$ac_wine_try_cflags_saved_cc
9935 ac_exeext=$ac_wine_try_cflags_saved_exeext
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9938 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9939 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9940 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9943 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9944 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9945 $as_echo_n "(cached) " >&6
9946 else
9947 ac_wine_try_cflags_saved=$CFLAGS
9948 ac_wine_try_cflags_saved_cc=$CC
9949 ac_wine_try_cflags_saved_exeext=$ac_exeext
9950 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9951 CC="$CROSSCC"
9952 ac_exeext=".exe"
9953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9954 /* end confdefs.h. */
9955 int __cdecl mainCRTStartup(void) { return 0; }
9956 _ACEOF
9957 if ac_fn_c_try_link "$LINENO"; then :
9958 ac_cv_crosscflags__Wempty_body=yes
9959 else
9960 ac_cv_crosscflags__Wempty_body=no
9962 rm -f core conftest.err conftest.$ac_objext \
9963 conftest$ac_exeext conftest.$ac_ext
9964 CFLAGS=$ac_wine_try_cflags_saved
9965 CC=$ac_wine_try_cflags_saved_cc
9966 ac_exeext=$ac_wine_try_cflags_saved_exeext
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9969 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9970 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9971 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9974 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9975 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9976 $as_echo_n "(cached) " >&6
9977 else
9978 ac_wine_try_cflags_saved=$CFLAGS
9979 ac_wine_try_cflags_saved_cc=$CC
9980 ac_wine_try_cflags_saved_exeext=$ac_exeext
9981 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9982 CC="$CROSSCC"
9983 ac_exeext=".exe"
9984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9985 /* end confdefs.h. */
9986 int __cdecl mainCRTStartup(void) { return 0; }
9987 _ACEOF
9988 if ac_fn_c_try_link "$LINENO"; then :
9989 ac_cv_crosscflags__Wignored_qualifiers=yes
9990 else
9991 ac_cv_crosscflags__Wignored_qualifiers=no
9993 rm -f core conftest.err conftest.$ac_objext \
9994 conftest$ac_exeext conftest.$ac_ext
9995 CFLAGS=$ac_wine_try_cflags_saved
9996 CC=$ac_wine_try_cflags_saved_cc
9997 ac_exeext=$ac_wine_try_cflags_saved_exeext
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10000 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10001 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10002 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10005 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
10006 if ${ac_cv_crosscflags__Winit_self+:} false; then :
10007 $as_echo_n "(cached) " >&6
10008 else
10009 ac_wine_try_cflags_saved=$CFLAGS
10010 ac_wine_try_cflags_saved_cc=$CC
10011 ac_wine_try_cflags_saved_exeext=$ac_exeext
10012 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10013 CC="$CROSSCC"
10014 ac_exeext=".exe"
10015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10016 /* end confdefs.h. */
10017 int __cdecl mainCRTStartup(void) { return 0; }
10018 _ACEOF
10019 if ac_fn_c_try_link "$LINENO"; then :
10020 ac_cv_crosscflags__Winit_self=yes
10021 else
10022 ac_cv_crosscflags__Winit_self=no
10024 rm -f core conftest.err conftest.$ac_objext \
10025 conftest$ac_exeext conftest.$ac_ext
10026 CFLAGS=$ac_wine_try_cflags_saved
10027 CC=$ac_wine_try_cflags_saved_cc
10028 ac_exeext=$ac_wine_try_cflags_saved_exeext
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10031 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10032 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10033 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10036 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10037 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10038 $as_echo_n "(cached) " >&6
10039 else
10040 ac_wine_try_cflags_saved=$CFLAGS
10041 ac_wine_try_cflags_saved_cc=$CC
10042 ac_wine_try_cflags_saved_exeext=$ac_exeext
10043 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10044 CC="$CROSSCC"
10045 ac_exeext=".exe"
10046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10047 /* end confdefs.h. */
10048 int __cdecl mainCRTStartup(void) { return 0; }
10049 _ACEOF
10050 if ac_fn_c_try_link "$LINENO"; then :
10051 ac_cv_crosscflags__Wpacked_not_aligned=yes
10052 else
10053 ac_cv_crosscflags__Wpacked_not_aligned=no
10055 rm -f core conftest.err conftest.$ac_objext \
10056 conftest$ac_exeext conftest.$ac_ext
10057 CFLAGS=$ac_wine_try_cflags_saved
10058 CC=$ac_wine_try_cflags_saved_cc
10059 ac_exeext=$ac_wine_try_cflags_saved_exeext
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10062 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10063 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10064 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10067 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10068 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10069 $as_echo_n "(cached) " >&6
10070 else
10071 ac_wine_try_cflags_saved=$CFLAGS
10072 ac_wine_try_cflags_saved_cc=$CC
10073 ac_wine_try_cflags_saved_exeext=$ac_exeext
10074 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10075 CC="$CROSSCC"
10076 ac_exeext=".exe"
10077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10079 int __cdecl mainCRTStartup(void) { return 0; }
10080 _ACEOF
10081 if ac_fn_c_try_link "$LINENO"; then :
10082 ac_cv_crosscflags__Wpragma_pack=yes
10083 else
10084 ac_cv_crosscflags__Wpragma_pack=no
10086 rm -f core conftest.err conftest.$ac_objext \
10087 conftest$ac_exeext conftest.$ac_ext
10088 CFLAGS=$ac_wine_try_cflags_saved
10089 CC=$ac_wine_try_cflags_saved_cc
10090 ac_exeext=$ac_wine_try_cflags_saved_exeext
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10093 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10094 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10095 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10098 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10099 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10100 $as_echo_n "(cached) " >&6
10101 else
10102 ac_wine_try_cflags_saved=$CFLAGS
10103 ac_wine_try_cflags_saved_cc=$CC
10104 ac_wine_try_cflags_saved_exeext=$ac_exeext
10105 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10106 CC="$CROSSCC"
10107 ac_exeext=".exe"
10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
10110 int __cdecl mainCRTStartup(void) { return 0; }
10111 _ACEOF
10112 if ac_fn_c_try_link "$LINENO"; then :
10113 ac_cv_crosscflags__Wshift_overflow_2=yes
10114 else
10115 ac_cv_crosscflags__Wshift_overflow_2=no
10117 rm -f core conftest.err conftest.$ac_objext \
10118 conftest$ac_exeext conftest.$ac_ext
10119 CFLAGS=$ac_wine_try_cflags_saved
10120 CC=$ac_wine_try_cflags_saved_cc
10121 ac_exeext=$ac_wine_try_cflags_saved_exeext
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10124 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10125 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10126 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10129 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10130 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10131 $as_echo_n "(cached) " >&6
10132 else
10133 ac_wine_try_cflags_saved=$CFLAGS
10134 ac_wine_try_cflags_saved_cc=$CC
10135 ac_wine_try_cflags_saved_exeext=$ac_exeext
10136 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10137 CC="$CROSSCC"
10138 ac_exeext=".exe"
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10141 int __cdecl mainCRTStartup(void) { return 0; }
10142 _ACEOF
10143 if ac_fn_c_try_link "$LINENO"; then :
10144 ac_cv_crosscflags__Wstrict_prototypes=yes
10145 else
10146 ac_cv_crosscflags__Wstrict_prototypes=no
10148 rm -f core conftest.err conftest.$ac_objext \
10149 conftest$ac_exeext conftest.$ac_ext
10150 CFLAGS=$ac_wine_try_cflags_saved
10151 CC=$ac_wine_try_cflags_saved_cc
10152 ac_exeext=$ac_wine_try_cflags_saved_exeext
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10155 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10156 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10157 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10160 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10161 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10162 $as_echo_n "(cached) " >&6
10163 else
10164 ac_wine_try_cflags_saved=$CFLAGS
10165 ac_wine_try_cflags_saved_cc=$CC
10166 ac_wine_try_cflags_saved_exeext=$ac_exeext
10167 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10168 CC="$CROSSCC"
10169 ac_exeext=".exe"
10170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10172 int __cdecl mainCRTStartup(void) { return 0; }
10173 _ACEOF
10174 if ac_fn_c_try_link "$LINENO"; then :
10175 ac_cv_crosscflags__Wtype_limits=yes
10176 else
10177 ac_cv_crosscflags__Wtype_limits=no
10179 rm -f core conftest.err conftest.$ac_objext \
10180 conftest$ac_exeext conftest.$ac_ext
10181 CFLAGS=$ac_wine_try_cflags_saved
10182 CC=$ac_wine_try_cflags_saved_cc
10183 ac_exeext=$ac_wine_try_cflags_saved_exeext
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10186 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10187 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10188 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10191 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10192 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10193 $as_echo_n "(cached) " >&6
10194 else
10195 ac_wine_try_cflags_saved=$CFLAGS
10196 ac_wine_try_cflags_saved_cc=$CC
10197 ac_wine_try_cflags_saved_exeext=$ac_exeext
10198 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10199 CC="$CROSSCC"
10200 ac_exeext=".exe"
10201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10203 int __cdecl mainCRTStartup(void) { return 0; }
10204 _ACEOF
10205 if ac_fn_c_try_link "$LINENO"; then :
10206 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10207 else
10208 ac_cv_crosscflags__Wunused_but_set_parameter=no
10210 rm -f core conftest.err conftest.$ac_objext \
10211 conftest$ac_exeext conftest.$ac_ext
10212 CFLAGS=$ac_wine_try_cflags_saved
10213 CC=$ac_wine_try_cflags_saved_cc
10214 ac_exeext=$ac_wine_try_cflags_saved_exeext
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10217 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10218 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10219 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10222 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10223 if ${ac_cv_crosscflags__Wvla+:} false; then :
10224 $as_echo_n "(cached) " >&6
10225 else
10226 ac_wine_try_cflags_saved=$CFLAGS
10227 ac_wine_try_cflags_saved_cc=$CC
10228 ac_wine_try_cflags_saved_exeext=$ac_exeext
10229 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10230 CC="$CROSSCC"
10231 ac_exeext=".exe"
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10234 int __cdecl mainCRTStartup(void) { return 0; }
10235 _ACEOF
10236 if ac_fn_c_try_link "$LINENO"; then :
10237 ac_cv_crosscflags__Wvla=yes
10238 else
10239 ac_cv_crosscflags__Wvla=no
10241 rm -f core conftest.err conftest.$ac_objext \
10242 conftest$ac_exeext conftest.$ac_ext
10243 CFLAGS=$ac_wine_try_cflags_saved
10244 CC=$ac_wine_try_cflags_saved_cc
10245 ac_exeext=$ac_wine_try_cflags_saved_exeext
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10248 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10249 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10250 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10253 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10254 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10255 $as_echo_n "(cached) " >&6
10256 else
10257 ac_wine_try_cflags_saved=$CFLAGS
10258 ac_wine_try_cflags_saved_cc=$CC
10259 ac_wine_try_cflags_saved_exeext=$ac_exeext
10260 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10261 CC="$CROSSCC"
10262 ac_exeext=".exe"
10263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10264 /* end confdefs.h. */
10265 int __cdecl mainCRTStartup(void) { return 0; }
10266 _ACEOF
10267 if ac_fn_c_try_link "$LINENO"; then :
10268 ac_cv_crosscflags__Wwrite_strings=yes
10269 else
10270 ac_cv_crosscflags__Wwrite_strings=no
10272 rm -f core conftest.err conftest.$ac_objext \
10273 conftest$ac_exeext conftest.$ac_ext
10274 CFLAGS=$ac_wine_try_cflags_saved
10275 CC=$ac_wine_try_cflags_saved_cc
10276 ac_exeext=$ac_wine_try_cflags_saved_exeext
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10279 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10280 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10281 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10284 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10285 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10286 $as_echo_n "(cached) " >&6
10287 else
10288 ac_wine_try_cflags_saved=$CFLAGS
10289 ac_wine_try_cflags_saved_cc=$CC
10290 ac_wine_try_cflags_saved_exeext=$ac_exeext
10291 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10292 CC="$CROSSCC"
10293 ac_exeext=".exe"
10294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10295 /* end confdefs.h. */
10296 int __cdecl mainCRTStartup(void) { return 0; }
10297 _ACEOF
10298 if ac_fn_c_try_link "$LINENO"; then :
10299 ac_cv_crosscflags__Wpointer_arith=yes
10300 else
10301 ac_cv_crosscflags__Wpointer_arith=no
10303 rm -f core conftest.err conftest.$ac_objext \
10304 conftest$ac_exeext conftest.$ac_ext
10305 CFLAGS=$ac_wine_try_cflags_saved
10306 CC=$ac_wine_try_cflags_saved_cc
10307 ac_exeext=$ac_wine_try_cflags_saved_exeext
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10310 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10311 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10312 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10315 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10316 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10317 $as_echo_n "(cached) " >&6
10318 else
10319 ac_wine_try_cflags_saved=$CFLAGS
10320 ac_wine_try_cflags_saved_cc=$CC
10321 ac_wine_try_cflags_saved_exeext=$ac_exeext
10322 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10323 CC="$CROSSCC"
10324 ac_exeext=".exe"
10325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10327 int __cdecl mainCRTStartup(void) { return 0; }
10328 _ACEOF
10329 if ac_fn_c_try_link "$LINENO"; then :
10330 ac_cv_crosscflags__Wlogical_op=yes
10331 else
10332 ac_cv_crosscflags__Wlogical_op=no
10334 rm -f core conftest.err conftest.$ac_objext \
10335 conftest$ac_exeext conftest.$ac_ext
10336 CFLAGS=$ac_wine_try_cflags_saved
10337 CC=$ac_wine_try_cflags_saved_cc
10338 ac_exeext=$ac_wine_try_cflags_saved_exeext
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10341 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10342 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10343 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10346 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10347 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10348 $as_echo_n "(cached) " >&6
10349 else
10350 ac_wine_try_cflags_saved=$CFLAGS
10351 ac_wine_try_cflags_saved_cc=$CC
10352 ac_wine_try_cflags_saved_exeext=$ac_exeext
10353 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10354 CC="$CROSSCC"
10355 ac_exeext=".exe"
10356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10358 int __cdecl mainCRTStartup(void) { return 0; }
10359 _ACEOF
10360 if ac_fn_c_try_link "$LINENO"; then :
10361 ac_cv_crosscflags__Wabsolute_value=yes
10362 else
10363 ac_cv_crosscflags__Wabsolute_value=no
10365 rm -f core conftest.err conftest.$ac_objext \
10366 conftest$ac_exeext conftest.$ac_ext
10367 CFLAGS=$ac_wine_try_cflags_saved
10368 CC=$ac_wine_try_cflags_saved_cc
10369 ac_exeext=$ac_wine_try_cflags_saved_exeext
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10372 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10373 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10374 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10377 case $host_cpu in
10378 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10379 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10380 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10381 $as_echo_n "(cached) " >&6
10382 else
10383 ac_wine_try_cflags_saved=$CFLAGS
10384 ac_wine_try_cflags_saved_cc=$CC
10385 ac_wine_try_cflags_saved_exeext=$ac_exeext
10386 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10387 CC="$CROSSCC"
10388 ac_exeext=".exe"
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 int __cdecl mainCRTStartup(void) { return 0; }
10392 _ACEOF
10393 if ac_fn_c_try_link "$LINENO"; then :
10394 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10395 else
10396 ac_cv_crosscflags__fno_omit_frame_pointer=no
10398 rm -f core conftest.err conftest.$ac_objext \
10399 conftest$ac_exeext conftest.$ac_ext
10400 CFLAGS=$ac_wine_try_cflags_saved
10401 CC=$ac_wine_try_cflags_saved_cc
10402 ac_exeext=$ac_wine_try_cflags_saved_exeext
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10405 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10406 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10407 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10408 fi ;;
10409 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10410 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10411 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10412 $as_echo_n "(cached) " >&6
10413 else
10414 ac_wine_try_cflags_saved=$CFLAGS
10415 ac_wine_try_cflags_saved_cc=$CC
10416 ac_wine_try_cflags_saved_exeext=$ac_exeext
10417 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10418 CC="$CROSSCC"
10419 ac_exeext=".exe"
10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10422 int __cdecl mainCRTStartup(void) { return 0; }
10423 _ACEOF
10424 if ac_fn_c_try_link "$LINENO"; then :
10425 ac_cv_crosscflags__Wno_format=yes
10426 else
10427 ac_cv_crosscflags__Wno_format=no
10429 rm -f core conftest.err conftest.$ac_objext \
10430 conftest$ac_exeext conftest.$ac_ext
10431 CFLAGS=$ac_wine_try_cflags_saved
10432 CC=$ac_wine_try_cflags_saved_cc
10433 ac_exeext=$ac_wine_try_cflags_saved_exeext
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10436 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10437 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10438 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10441 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10442 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10443 $as_echo_n "(cached) " >&6
10444 else
10445 ac_wine_try_cflags_saved=$CFLAGS
10446 ac_wine_try_cflags_saved_cc=$CC
10447 ac_wine_try_cflags_saved_exeext=$ac_exeext
10448 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10449 CC="$CROSSCC"
10450 ac_exeext=".exe"
10451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10453 int __cdecl mainCRTStartup(void) { return 0; }
10454 _ACEOF
10455 if ac_fn_c_try_link "$LINENO"; then :
10456 ac_cv_crosscflags__Wformat_overflow=yes
10457 else
10458 ac_cv_crosscflags__Wformat_overflow=no
10460 rm -f core conftest.err conftest.$ac_objext \
10461 conftest$ac_exeext conftest.$ac_ext
10462 CFLAGS=$ac_wine_try_cflags_saved
10463 CC=$ac_wine_try_cflags_saved_cc
10464 ac_exeext=$ac_wine_try_cflags_saved_exeext
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10467 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10468 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10469 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10472 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10473 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10474 $as_echo_n "(cached) " >&6
10475 else
10476 ac_wine_try_cflags_saved=$CFLAGS
10477 ac_wine_try_cflags_saved_cc=$CC
10478 ac_wine_try_cflags_saved_exeext=$ac_exeext
10479 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10480 CC="$CROSSCC"
10481 ac_exeext=".exe"
10482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10483 /* end confdefs.h. */
10484 int __cdecl mainCRTStartup(void) { return 0; }
10485 _ACEOF
10486 if ac_fn_c_try_link "$LINENO"; then :
10487 ac_cv_crosscflags__Wnonnull=yes
10488 else
10489 ac_cv_crosscflags__Wnonnull=no
10491 rm -f core conftest.err conftest.$ac_objext \
10492 conftest$ac_exeext conftest.$ac_ext
10493 CFLAGS=$ac_wine_try_cflags_saved
10494 CC=$ac_wine_try_cflags_saved_cc
10495 ac_exeext=$ac_wine_try_cflags_saved_exeext
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10498 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10499 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10500 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10503 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10504 if ${ac_cv_crosscflags__mcx16+:} false; then :
10505 $as_echo_n "(cached) " >&6
10506 else
10507 ac_wine_try_cflags_saved=$CFLAGS
10508 ac_wine_try_cflags_saved_cc=$CC
10509 ac_wine_try_cflags_saved_exeext=$ac_exeext
10510 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10511 CC="$CROSSCC"
10512 ac_exeext=".exe"
10513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h. */
10515 int __cdecl mainCRTStartup(void) { return 0; }
10516 _ACEOF
10517 if ac_fn_c_try_link "$LINENO"; then :
10518 ac_cv_crosscflags__mcx16=yes
10519 else
10520 ac_cv_crosscflags__mcx16=no
10522 rm -f core conftest.err conftest.$ac_objext \
10523 conftest$ac_exeext conftest.$ac_ext
10524 CFLAGS=$ac_wine_try_cflags_saved
10525 CC=$ac_wine_try_cflags_saved_cc
10526 ac_exeext=$ac_wine_try_cflags_saved_exeext
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10529 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10530 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10531 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10532 fi ;;
10533 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10534 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10535 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10536 $as_echo_n "(cached) " >&6
10537 else
10538 ac_wine_try_cflags_saved=$CFLAGS
10539 ac_wine_try_cflags_saved_cc=$CC
10540 ac_wine_try_cflags_saved_exeext=$ac_exeext
10541 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10542 CC="$CROSSCC"
10543 ac_exeext=".exe"
10544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10545 /* end confdefs.h. */
10546 int __cdecl mainCRTStartup(void) { return 0; }
10547 _ACEOF
10548 if ac_fn_c_try_link "$LINENO"; then :
10549 ac_cv_crosscflags__Wno_format=yes
10550 else
10551 ac_cv_crosscflags__Wno_format=no
10553 rm -f core conftest.err conftest.$ac_objext \
10554 conftest$ac_exeext conftest.$ac_ext
10555 CFLAGS=$ac_wine_try_cflags_saved
10556 CC=$ac_wine_try_cflags_saved_cc
10557 ac_exeext=$ac_wine_try_cflags_saved_exeext
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10560 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10561 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10562 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10563 fi ;;
10564 esac
10567 if test -z "$CROSSDEBUG"
10568 then
10569 for ac_flag in $CROSSCFLAGS; do
10570 case $ac_flag in
10571 -gdwarf*) CROSSDEBUG=dwarf ;;
10572 -gcodeview) CROSSDEBUG=pdb ;;
10573 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10574 esac
10575 done
10577 case $CROSSDEBUG in
10578 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10579 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10580 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10581 $as_echo_n "(cached) " >&6
10582 else
10583 ac_wine_try_cflags_saved=$CFLAGS
10584 ac_wine_try_cflags_saved_cc=$CC
10585 ac_wine_try_cflags_saved_exeext=$ac_exeext
10586 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10587 CC="$CROSSCC"
10588 ac_exeext=".exe"
10589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10591 int __cdecl mainCRTStartup(void) { return 0; }
10592 _ACEOF
10593 if ac_fn_c_try_link "$LINENO"; then :
10594 ac_cv_crosscflags__gdwarf_2=yes
10595 else
10596 ac_cv_crosscflags__gdwarf_2=no
10598 rm -f core conftest.err conftest.$ac_objext \
10599 conftest$ac_exeext conftest.$ac_ext
10600 CFLAGS=$ac_wine_try_cflags_saved
10601 CC=$ac_wine_try_cflags_saved_cc
10602 ac_exeext=$ac_wine_try_cflags_saved_exeext
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10605 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10606 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10607 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10610 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10611 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10612 $as_echo_n "(cached) " >&6
10613 else
10614 ac_wine_try_cflags_saved=$CFLAGS
10615 ac_wine_try_cflags_saved_cc=$CC
10616 ac_wine_try_cflags_saved_exeext=$ac_exeext
10617 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10618 CC="$CROSSCC"
10619 ac_exeext=".exe"
10620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h. */
10622 int __cdecl mainCRTStartup(void) { return 0; }
10623 _ACEOF
10624 if ac_fn_c_try_link "$LINENO"; then :
10625 ac_cv_crosscflags__gstrict_dwarf=yes
10626 else
10627 ac_cv_crosscflags__gstrict_dwarf=no
10629 rm -f core conftest.err conftest.$ac_objext \
10630 conftest$ac_exeext conftest.$ac_ext
10631 CFLAGS=$ac_wine_try_cflags_saved
10632 CC=$ac_wine_try_cflags_saved_cc
10633 ac_exeext=$ac_wine_try_cflags_saved_exeext
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10636 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10637 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10638 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10639 fi ;;
10640 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10641 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10642 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10643 $as_echo_n "(cached) " >&6
10644 else
10645 ac_wine_try_cflags_saved=$CFLAGS
10646 ac_wine_try_cflags_saved_cc=$CC
10647 ac_wine_try_cflags_saved_exeext=$ac_exeext
10648 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10649 CC="$CROSSCC"
10650 ac_exeext=".exe"
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10653 int __cdecl mainCRTStartup(void) { return 0; }
10654 _ACEOF
10655 if ac_fn_c_try_link "$LINENO"; then :
10656 ac_cv_crosscflags__gcodeview=yes
10657 else
10658 ac_cv_crosscflags__gcodeview=no
10660 rm -f core conftest.err conftest.$ac_objext \
10661 conftest$ac_exeext conftest.$ac_ext
10662 CFLAGS=$ac_wine_try_cflags_saved
10663 CC=$ac_wine_try_cflags_saved_cc
10664 ac_exeext=$ac_wine_try_cflags_saved_exeext
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10667 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10668 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10669 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10670 fi ;;
10671 esac
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10674 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10675 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10676 $as_echo_n "(cached) " >&6
10677 else
10678 ac_wine_try_cflags_saved=$CFLAGS
10679 ac_wine_try_cflags_saved_cc=$CC
10680 ac_wine_try_cflags_saved_exeext=$ac_exeext
10681 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10682 CC="$CROSSCC"
10683 ac_exeext=".exe"
10684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10685 /* end confdefs.h. */
10686 int __cdecl mainCRTStartup(void) { return 0; }
10687 _ACEOF
10688 if ac_fn_c_try_link "$LINENO"; then :
10689 ac_cv_crosscflags__fexcess_precision_standard=yes
10690 else
10691 ac_cv_crosscflags__fexcess_precision_standard=no
10693 rm -f core conftest.err conftest.$ac_objext \
10694 conftest$ac_exeext conftest.$ac_ext
10695 CFLAGS=$ac_wine_try_cflags_saved
10696 CC=$ac_wine_try_cflags_saved_cc
10697 ac_exeext=$ac_wine_try_cflags_saved_exeext
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10700 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10701 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10702 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10706 if test "x$enable_werror" = "xyes"
10707 then
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10709 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10710 if ${ac_cv_crosscflags__Werror+:} false; then :
10711 $as_echo_n "(cached) " >&6
10712 else
10713 ac_wine_try_cflags_saved=$CFLAGS
10714 ac_wine_try_cflags_saved_cc=$CC
10715 ac_wine_try_cflags_saved_exeext=$ac_exeext
10716 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10717 CC="$CROSSCC"
10718 ac_exeext=".exe"
10719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10720 /* end confdefs.h. */
10721 int __cdecl mainCRTStartup(void) { return 0; }
10722 _ACEOF
10723 if ac_fn_c_try_link "$LINENO"; then :
10724 ac_cv_crosscflags__Werror=yes
10725 else
10726 ac_cv_crosscflags__Werror=no
10728 rm -f core conftest.err conftest.$ac_objext \
10729 conftest$ac_exeext conftest.$ac_ext
10730 CFLAGS=$ac_wine_try_cflags_saved
10731 CC=$ac_wine_try_cflags_saved_cc
10732 ac_exeext=$ac_wine_try_cflags_saved_exeext
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10735 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10736 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10737 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10740 if test "x$enable_build_id" = "xyes"
10741 then
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10743 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10744 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10745 $as_echo_n "(cached) " >&6
10746 else
10747 ac_wine_try_cflags_saved=$CFLAGS
10748 ac_wine_try_cflags_saved_cc=$CC
10749 ac_wine_try_cflags_saved_exeext=$ac_exeext
10750 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10751 CC="$CROSSCC"
10752 ac_exeext=".exe"
10753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10755 int __cdecl mainCRTStartup(void) { return 0; }
10756 _ACEOF
10757 if ac_fn_c_try_link "$LINENO"; then :
10758 ac_cv_crosscflags__Wl___build_id=yes
10759 else
10760 ac_cv_crosscflags__Wl___build_id=no
10762 rm -f core conftest.err conftest.$ac_objext \
10763 conftest$ac_exeext conftest.$ac_ext
10764 CFLAGS=$ac_wine_try_cflags_saved
10765 CC=$ac_wine_try_cflags_saved_cc
10766 ac_exeext=$ac_wine_try_cflags_saved_exeext
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10769 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10770 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10771 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10772 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10776 CFLAGS=$saved_CFLAGS
10777 CC="$ac_save_CC"
10780 if test "x$CROSSTARGET" = "x"; then :
10781 case "x$with_mingw" in
10782 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10783 xno) ;;
10784 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10785 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10786 esac
10791 if test "$ac_cv_header_pthread_h" = "yes"
10792 then
10793 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10794 if test "x$ac_cv_func_pthread_create" = xyes; then :
10796 else
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10798 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10799 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10800 $as_echo_n "(cached) " >&6
10801 else
10802 ac_check_lib_save_LIBS=$LIBS
10803 LIBS="-lpthread $LIBS"
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10807 /* Override any GCC internal prototype to avoid an error.
10808 Use char because int might match the return type of a GCC
10809 builtin and then its argument prototype would still apply. */
10810 #ifdef __cplusplus
10811 extern "C"
10812 #endif
10813 char pthread_create ();
10815 main ()
10817 return pthread_create ();
10819 return 0;
10821 _ACEOF
10822 if ac_fn_c_try_link "$LINENO"; then :
10823 ac_cv_lib_pthread_pthread_create=yes
10824 else
10825 ac_cv_lib_pthread_pthread_create=no
10827 rm -f core conftest.err conftest.$ac_objext \
10828 conftest$ac_exeext conftest.$ac_ext
10829 LIBS=$ac_check_lib_save_LIBS
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10832 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10833 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10834 PTHREAD_LIBS="-lpthread"
10841 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10842 case "x$with_pthread" in
10843 xno) ;;
10844 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10845 Wine cannot support threads without libpthread.
10846 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10847 esac
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10853 $as_echo_n "checking for X... " >&6; }
10856 # Check whether --with-x was given.
10857 if test "${with_x+set}" = set; then :
10858 withval=$with_x;
10861 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10862 if test "x$with_x" = xno; then
10863 # The user explicitly disabled X.
10864 have_x=disabled
10865 else
10866 case $x_includes,$x_libraries in #(
10867 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10868 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10869 $as_echo_n "(cached) " >&6
10870 else
10871 # One or both of the vars are not set, and there is no cached value.
10872 ac_x_includes=no ac_x_libraries=no
10873 rm -f -r conftest.dir
10874 if mkdir conftest.dir; then
10875 cd conftest.dir
10876 cat >Imakefile <<'_ACEOF'
10877 incroot:
10878 @echo incroot='${INCROOT}'
10879 usrlibdir:
10880 @echo usrlibdir='${USRLIBDIR}'
10881 libdir:
10882 @echo libdir='${LIBDIR}'
10883 _ACEOF
10884 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10885 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10886 for ac_var in incroot usrlibdir libdir; do
10887 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10888 done
10889 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10890 for ac_extension in a so sl dylib la dll; do
10891 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10892 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10893 ac_im_usrlibdir=$ac_im_libdir; break
10895 done
10896 # Screen out bogus values from the imake configuration. They are
10897 # bogus both because they are the default anyway, and because
10898 # using them would break gcc on systems where it needs fixed includes.
10899 case $ac_im_incroot in
10900 /usr/include) ac_x_includes= ;;
10901 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10902 esac
10903 case $ac_im_usrlibdir in
10904 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10905 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10906 esac
10908 cd ..
10909 rm -f -r conftest.dir
10912 # Standard set of common directories for X headers.
10913 # Check X11 before X11Rn because it is often a symlink to the current release.
10914 ac_x_header_dirs='
10915 /usr/X11/include
10916 /usr/X11R7/include
10917 /usr/X11R6/include
10918 /usr/X11R5/include
10919 /usr/X11R4/include
10921 /usr/include/X11
10922 /usr/include/X11R7
10923 /usr/include/X11R6
10924 /usr/include/X11R5
10925 /usr/include/X11R4
10927 /usr/local/X11/include
10928 /usr/local/X11R7/include
10929 /usr/local/X11R6/include
10930 /usr/local/X11R5/include
10931 /usr/local/X11R4/include
10933 /usr/local/include/X11
10934 /usr/local/include/X11R7
10935 /usr/local/include/X11R6
10936 /usr/local/include/X11R5
10937 /usr/local/include/X11R4
10939 /usr/X386/include
10940 /usr/x386/include
10941 /usr/XFree86/include/X11
10943 /usr/include
10944 /usr/local/include
10945 /usr/unsupported/include
10946 /usr/athena/include
10947 /usr/local/x11r5/include
10948 /usr/lpp/Xamples/include
10950 /usr/openwin/include
10951 /usr/openwin/share/include'
10953 if test "$ac_x_includes" = no; then
10954 # Guess where to find include files, by looking for Xlib.h.
10955 # First, try using that file with no special directory specified.
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10958 #include <X11/Xlib.h>
10959 _ACEOF
10960 if ac_fn_c_try_cpp "$LINENO"; then :
10961 # We can compile using X headers with no special include directory.
10962 ac_x_includes=
10963 else
10964 for ac_dir in $ac_x_header_dirs; do
10965 if test -r "$ac_dir/X11/Xlib.h"; then
10966 ac_x_includes=$ac_dir
10967 break
10969 done
10971 rm -f conftest.err conftest.i conftest.$ac_ext
10972 fi # $ac_x_includes = no
10974 if test "$ac_x_libraries" = no; then
10975 # Check for the libraries.
10976 # See if we find them without any special options.
10977 # Don't add to $LIBS permanently.
10978 ac_save_LIBS=$LIBS
10979 LIBS="-lX11 $LIBS"
10980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10982 #include <X11/Xlib.h>
10984 main ()
10986 XrmInitialize ()
10988 return 0;
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"; then :
10992 LIBS=$ac_save_LIBS
10993 # We can link X programs with no special library path.
10994 ac_x_libraries=
10995 else
10996 LIBS=$ac_save_LIBS
10997 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10999 # Don't even attempt the hair of trying to link an X program!
11000 for ac_extension in a so sl dylib la dll; do
11001 if test -r "$ac_dir/libX11.$ac_extension"; then
11002 ac_x_libraries=$ac_dir
11003 break 2
11005 done
11006 done
11008 rm -f core conftest.err conftest.$ac_objext \
11009 conftest$ac_exeext conftest.$ac_ext
11010 fi # $ac_x_libraries = no
11012 case $ac_x_includes,$ac_x_libraries in #(
11013 no,* | *,no | *\'*)
11014 # Didn't find X, or a directory has "'" in its name.
11015 ac_cv_have_x="have_x=no";; #(
11017 # Record where we found X for the cache.
11018 ac_cv_have_x="have_x=yes\
11019 ac_x_includes='$ac_x_includes'\
11020 ac_x_libraries='$ac_x_libraries'"
11021 esac
11023 ;; #(
11024 *) have_x=yes;;
11025 esac
11026 eval "$ac_cv_have_x"
11027 fi # $with_x != no
11029 if test "$have_x" != yes; then
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11031 $as_echo "$have_x" >&6; }
11032 no_x=yes
11033 else
11034 # If each of the values was on the command line, it overrides each guess.
11035 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11036 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11037 # Update the cache value to reflect the command line values.
11038 ac_cv_have_x="have_x=yes\
11039 ac_x_includes='$x_includes'\
11040 ac_x_libraries='$x_libraries'"
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11042 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11045 if test "$no_x" = yes; then
11046 # Not all programs may use this symbol, but it does not hurt to define it.
11048 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11050 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11051 else
11052 if test -n "$x_includes"; then
11053 X_CFLAGS="$X_CFLAGS -I$x_includes"
11056 # It would also be nice to do this for all -L options, not just this one.
11057 if test -n "$x_libraries"; then
11058 X_LIBS="$X_LIBS -L$x_libraries"
11059 # For Solaris; some versions of Sun CC require a space after -R and
11060 # others require no space. Words are not sufficient . . . .
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11062 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11063 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11064 ac_xsave_c_werror_flag=$ac_c_werror_flag
11065 ac_c_werror_flag=yes
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11070 main ()
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"; then :
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11079 $as_echo "no" >&6; }
11080 X_LIBS="$X_LIBS -R$x_libraries"
11081 else
11082 LIBS="$ac_xsave_LIBS -R $x_libraries"
11083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11087 main ()
11091 return 0;
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"; then :
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11096 $as_echo "yes" >&6; }
11097 X_LIBS="$X_LIBS -R $x_libraries"
11098 else
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11100 $as_echo "neither works" >&6; }
11102 rm -f core conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11105 rm -f core conftest.err conftest.$ac_objext \
11106 conftest$ac_exeext conftest.$ac_ext
11107 ac_c_werror_flag=$ac_xsave_c_werror_flag
11108 LIBS=$ac_xsave_LIBS
11111 # Check for system-dependent libraries X programs must link with.
11112 # Do this before checking for the system-independent R6 libraries
11113 # (-lICE), since we may need -lsocket or whatever for X linking.
11115 if test "$ISC" = yes; then
11116 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11117 else
11118 # Martyn Johnson says this is needed for Ultrix, if the X
11119 # libraries were built with DECnet support. And Karl Berry says
11120 # the Alpha needs dnet_stub (dnet does not exist).
11121 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11128 #ifdef __cplusplus
11129 extern "C"
11130 #endif
11131 char XOpenDisplay ();
11133 main ()
11135 return XOpenDisplay ();
11137 return 0;
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"; then :
11142 else
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11144 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11145 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11146 $as_echo_n "(cached) " >&6
11147 else
11148 ac_check_lib_save_LIBS=$LIBS
11149 LIBS="-ldnet $LIBS"
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11153 /* Override any GCC internal prototype to avoid an error.
11154 Use char because int might match the return type of a GCC
11155 builtin and then its argument prototype would still apply. */
11156 #ifdef __cplusplus
11157 extern "C"
11158 #endif
11159 char dnet_ntoa ();
11161 main ()
11163 return dnet_ntoa ();
11165 return 0;
11167 _ACEOF
11168 if ac_fn_c_try_link "$LINENO"; then :
11169 ac_cv_lib_dnet_dnet_ntoa=yes
11170 else
11171 ac_cv_lib_dnet_dnet_ntoa=no
11173 rm -f core conftest.err conftest.$ac_objext \
11174 conftest$ac_exeext conftest.$ac_ext
11175 LIBS=$ac_check_lib_save_LIBS
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11178 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11179 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11180 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11183 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11185 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11186 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11187 $as_echo_n "(cached) " >&6
11188 else
11189 ac_check_lib_save_LIBS=$LIBS
11190 LIBS="-ldnet_stub $LIBS"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11197 #ifdef __cplusplus
11198 extern "C"
11199 #endif
11200 char dnet_ntoa ();
11202 main ()
11204 return dnet_ntoa ();
11206 return 0;
11208 _ACEOF
11209 if ac_fn_c_try_link "$LINENO"; then :
11210 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11211 else
11212 ac_cv_lib_dnet_stub_dnet_ntoa=no
11214 rm -f core conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS=$ac_check_lib_save_LIBS
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11219 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11220 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11221 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11226 rm -f core conftest.err conftest.$ac_objext \
11227 conftest$ac_exeext conftest.$ac_ext
11228 LIBS="$ac_xsave_LIBS"
11230 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11231 # to get the SysV transport functions.
11232 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11233 # needs -lnsl.
11234 # The nsl library prevents programs from opening the X display
11235 # on Irix 5.2, according to T.E. Dickey.
11236 # The functions gethostbyname, getservbyname, and inet_addr are
11237 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11238 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11239 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11243 if test $ac_cv_func_gethostbyname = no; then
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11245 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11246 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11247 $as_echo_n "(cached) " >&6
11248 else
11249 ac_check_lib_save_LIBS=$LIBS
11250 LIBS="-lnsl $LIBS"
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char gethostbyname ();
11262 main ()
11264 return gethostbyname ();
11266 return 0;
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_nsl_gethostbyname=yes
11271 else
11272 ac_cv_lib_nsl_gethostbyname=no
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11279 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11280 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11281 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11284 if test $ac_cv_lib_nsl_gethostbyname = no; then
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11286 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11287 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11288 $as_echo_n "(cached) " >&6
11289 else
11290 ac_check_lib_save_LIBS=$LIBS
11291 LIBS="-lbsd $LIBS"
11292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11293 /* end confdefs.h. */
11295 /* Override any GCC internal prototype to avoid an error.
11296 Use char because int might match the return type of a GCC
11297 builtin and then its argument prototype would still apply. */
11298 #ifdef __cplusplus
11299 extern "C"
11300 #endif
11301 char gethostbyname ();
11303 main ()
11305 return gethostbyname ();
11307 return 0;
11309 _ACEOF
11310 if ac_fn_c_try_link "$LINENO"; then :
11311 ac_cv_lib_bsd_gethostbyname=yes
11312 else
11313 ac_cv_lib_bsd_gethostbyname=no
11315 rm -f core conftest.err conftest.$ac_objext \
11316 conftest$ac_exeext conftest.$ac_ext
11317 LIBS=$ac_check_lib_save_LIBS
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11320 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11321 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11322 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11328 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11329 # socket/setsockopt and other routines are undefined under SCO ODT
11330 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11331 # on later versions), says Simon Leinen: it contains gethostby*
11332 # variants that don't use the name server (or something). -lsocket
11333 # must be given before -lnsl if both are needed. We assume that
11334 # if connect needs -lnsl, so does gethostbyname.
11335 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11336 if test "x$ac_cv_func_connect" = xyes; then :
11340 if test $ac_cv_func_connect = no; then
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11342 $as_echo_n "checking for connect in -lsocket... " >&6; }
11343 if ${ac_cv_lib_socket_connect+:} false; then :
11344 $as_echo_n "(cached) " >&6
11345 else
11346 ac_check_lib_save_LIBS=$LIBS
11347 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11349 /* end confdefs.h. */
11351 /* Override any GCC internal prototype to avoid an error.
11352 Use char because int might match the return type of a GCC
11353 builtin and then its argument prototype would still apply. */
11354 #ifdef __cplusplus
11355 extern "C"
11356 #endif
11357 char connect ();
11359 main ()
11361 return connect ();
11363 return 0;
11365 _ACEOF
11366 if ac_fn_c_try_link "$LINENO"; then :
11367 ac_cv_lib_socket_connect=yes
11368 else
11369 ac_cv_lib_socket_connect=no
11371 rm -f core conftest.err conftest.$ac_objext \
11372 conftest$ac_exeext conftest.$ac_ext
11373 LIBS=$ac_check_lib_save_LIBS
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11376 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11377 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11378 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11383 # Guillermo Gomez says -lposix is necessary on A/UX.
11384 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11385 if test "x$ac_cv_func_remove" = xyes; then :
11389 if test $ac_cv_func_remove = no; then
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11391 $as_echo_n "checking for remove in -lposix... " >&6; }
11392 if ${ac_cv_lib_posix_remove+:} false; then :
11393 $as_echo_n "(cached) " >&6
11394 else
11395 ac_check_lib_save_LIBS=$LIBS
11396 LIBS="-lposix $LIBS"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11400 /* Override any GCC internal prototype to avoid an error.
11401 Use char because int might match the return type of a GCC
11402 builtin and then its argument prototype would still apply. */
11403 #ifdef __cplusplus
11404 extern "C"
11405 #endif
11406 char remove ();
11408 main ()
11410 return remove ();
11412 return 0;
11414 _ACEOF
11415 if ac_fn_c_try_link "$LINENO"; then :
11416 ac_cv_lib_posix_remove=yes
11417 else
11418 ac_cv_lib_posix_remove=no
11420 rm -f core conftest.err conftest.$ac_objext \
11421 conftest$ac_exeext conftest.$ac_ext
11422 LIBS=$ac_check_lib_save_LIBS
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11425 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11426 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11427 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11432 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11433 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11434 if test "x$ac_cv_func_shmat" = xyes; then :
11438 if test $ac_cv_func_shmat = no; then
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11440 $as_echo_n "checking for shmat in -lipc... " >&6; }
11441 if ${ac_cv_lib_ipc_shmat+:} false; then :
11442 $as_echo_n "(cached) " >&6
11443 else
11444 ac_check_lib_save_LIBS=$LIBS
11445 LIBS="-lipc $LIBS"
11446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h. */
11449 /* Override any GCC internal prototype to avoid an error.
11450 Use char because int might match the return type of a GCC
11451 builtin and then its argument prototype would still apply. */
11452 #ifdef __cplusplus
11453 extern "C"
11454 #endif
11455 char shmat ();
11457 main ()
11459 return shmat ();
11461 return 0;
11463 _ACEOF
11464 if ac_fn_c_try_link "$LINENO"; then :
11465 ac_cv_lib_ipc_shmat=yes
11466 else
11467 ac_cv_lib_ipc_shmat=no
11469 rm -f core conftest.err conftest.$ac_objext \
11470 conftest$ac_exeext conftest.$ac_ext
11471 LIBS=$ac_check_lib_save_LIBS
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11474 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11475 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11476 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11482 # Check for libraries that X11R6 Xt/Xaw programs need.
11483 ac_save_LDFLAGS=$LDFLAGS
11484 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11485 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11486 # check for ICE first), but we must link in the order -lSM -lICE or
11487 # we get undefined symbols. So assume we have SM if we have ICE.
11488 # These have to be linked with before -lX11, unlike the other
11489 # libraries we check for below, so use a different variable.
11490 # John Interrante, Karl Berry
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11492 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11493 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11494 $as_echo_n "(cached) " >&6
11495 else
11496 ac_check_lib_save_LIBS=$LIBS
11497 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11501 /* Override any GCC internal prototype to avoid an error.
11502 Use char because int might match the return type of a GCC
11503 builtin and then its argument prototype would still apply. */
11504 #ifdef __cplusplus
11505 extern "C"
11506 #endif
11507 char IceConnectionNumber ();
11509 main ()
11511 return IceConnectionNumber ();
11513 return 0;
11515 _ACEOF
11516 if ac_fn_c_try_link "$LINENO"; then :
11517 ac_cv_lib_ICE_IceConnectionNumber=yes
11518 else
11519 ac_cv_lib_ICE_IceConnectionNumber=no
11521 rm -f core conftest.err conftest.$ac_objext \
11522 conftest$ac_exeext conftest.$ac_ext
11523 LIBS=$ac_check_lib_save_LIBS
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11526 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11527 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11528 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11531 LDFLAGS=$ac_save_LDFLAGS
11536 if test "$have_x" = "yes"
11537 then
11538 ac_save_CPPFLAGS="$CPPFLAGS"
11539 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11542 $as_echo_n "checking for -lX11... " >&6; }
11543 if ${ac_cv_lib_soname_X11+:} false; then :
11544 $as_echo_n "(cached) " >&6
11545 else
11546 ac_check_soname_save_LIBS=$LIBS
11547 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11554 #ifdef __cplusplus
11555 extern "C"
11556 #endif
11557 char XCreateWindow ();
11559 main ()
11561 return XCreateWindow ();
11563 return 0;
11565 _ACEOF
11566 if ac_fn_c_try_link "$LINENO"; then :
11567 case "$LIBEXT" in
11568 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11569 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'` ;;
11570 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11571 if ${ac_cv_lib_soname_X11:+false} :; then :
11572 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11573 fi ;;
11574 esac
11575 else
11576 ac_cv_lib_soname_X11=
11578 rm -f core conftest.err conftest.$ac_objext \
11579 conftest$ac_exeext conftest.$ac_ext
11580 LIBS=$ac_check_soname_save_LIBS
11582 if ${ac_cv_lib_soname_X11:+false} :; then :
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11584 $as_echo "not found" >&6; }
11586 else
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11588 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11590 cat >>confdefs.h <<_ACEOF
11591 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11592 _ACEOF
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11597 $as_echo_n "checking for -lXext... " >&6; }
11598 if ${ac_cv_lib_soname_Xext+:} false; then :
11599 $as_echo_n "(cached) " >&6
11600 else
11601 ac_check_soname_save_LIBS=$LIBS
11602 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11606 /* Override any GCC internal prototype to avoid an error.
11607 Use char because int might match the return type of a GCC
11608 builtin and then its argument prototype would still apply. */
11609 #ifdef __cplusplus
11610 extern "C"
11611 #endif
11612 char XextCreateExtension ();
11614 main ()
11616 return XextCreateExtension ();
11618 return 0;
11620 _ACEOF
11621 if ac_fn_c_try_link "$LINENO"; then :
11622 case "$LIBEXT" in
11623 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11624 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'` ;;
11625 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11626 if ${ac_cv_lib_soname_Xext:+false} :; then :
11627 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11628 fi ;;
11629 esac
11630 else
11631 ac_cv_lib_soname_Xext=
11633 rm -f core conftest.err conftest.$ac_objext \
11634 conftest$ac_exeext conftest.$ac_ext
11635 LIBS=$ac_check_soname_save_LIBS
11637 if ${ac_cv_lib_soname_Xext:+false} :; then :
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11639 $as_echo "not found" >&6; }
11641 else
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11643 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11645 cat >>confdefs.h <<_ACEOF
11646 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11647 _ACEOF
11649 X_LIBS="$X_LIBS -lXext"
11651 X_LIBS="$X_LIBS -lX11"
11653 for ac_header in X11/Xlib.h \
11654 X11/XKBlib.h \
11655 X11/Xutil.h \
11656 X11/Xcursor/Xcursor.h \
11657 X11/extensions/shape.h \
11658 X11/extensions/XInput.h \
11659 X11/extensions/XInput2.h \
11660 X11/extensions/XShm.h \
11661 X11/extensions/Xcomposite.h \
11662 X11/extensions/Xfixes.h \
11663 X11/extensions/Xinerama.h \
11664 X11/extensions/Xrandr.h \
11665 X11/extensions/Xrender.h \
11666 X11/extensions/xf86vmode.h \
11667 X11/extensions/xf86vmproto.h
11668 do :
11669 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11670 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11671 # include <X11/Xlib.h>
11672 #endif
11673 #ifdef HAVE_X11_XUTIL_H
11674 # include <X11/Xutil.h>
11675 #endif
11677 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11678 cat >>confdefs.h <<_ACEOF
11679 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11680 _ACEOF
11684 done
11687 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11688 then
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11690 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11691 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11692 $as_echo_n "(cached) " >&6
11693 else
11694 ac_check_lib_save_LIBS=$LIBS
11695 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11697 /* end confdefs.h. */
11699 /* Override any GCC internal prototype to avoid an error.
11700 Use char because int might match the return type of a GCC
11701 builtin and then its argument prototype would still apply. */
11702 #ifdef __cplusplus
11703 extern "C"
11704 #endif
11705 char XkbQueryExtension ();
11707 main ()
11709 return XkbQueryExtension ();
11711 return 0;
11713 _ACEOF
11714 if ac_fn_c_try_link "$LINENO"; then :
11715 ac_cv_lib_X11_XkbQueryExtension=yes
11716 else
11717 ac_cv_lib_X11_XkbQueryExtension=no
11719 rm -f core conftest.err conftest.$ac_objext \
11720 conftest$ac_exeext conftest.$ac_ext
11721 LIBS=$ac_check_lib_save_LIBS
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11724 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11725 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11727 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11733 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11734 then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11736 $as_echo_n "checking for -lXcursor... " >&6; }
11737 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11738 $as_echo_n "(cached) " >&6
11739 else
11740 ac_check_soname_save_LIBS=$LIBS
11741 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11743 /* end confdefs.h. */
11745 /* Override any GCC internal prototype to avoid an error.
11746 Use char because int might match the return type of a GCC
11747 builtin and then its argument prototype would still apply. */
11748 #ifdef __cplusplus
11749 extern "C"
11750 #endif
11751 char XcursorImageLoadCursor ();
11753 main ()
11755 return XcursorImageLoadCursor ();
11757 return 0;
11759 _ACEOF
11760 if ac_fn_c_try_link "$LINENO"; then :
11761 case "$LIBEXT" in
11762 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11763 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'` ;;
11764 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11765 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11766 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11767 fi ;;
11768 esac
11769 else
11770 ac_cv_lib_soname_Xcursor=
11772 rm -f core conftest.err conftest.$ac_objext \
11773 conftest$ac_exeext conftest.$ac_ext
11774 LIBS=$ac_check_soname_save_LIBS
11776 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11778 $as_echo "not found" >&6; }
11780 else
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11782 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11784 cat >>confdefs.h <<_ACEOF
11785 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11786 _ACEOF
11791 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11792 case "x$with_xcursor" in
11793 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11794 xno) ;;
11795 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11796 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11797 esac
11801 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11802 then
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11804 $as_echo_n "checking for -lXi... " >&6; }
11805 if ${ac_cv_lib_soname_Xi+:} false; then :
11806 $as_echo_n "(cached) " >&6
11807 else
11808 ac_check_soname_save_LIBS=$LIBS
11809 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11813 /* Override any GCC internal prototype to avoid an error.
11814 Use char because int might match the return type of a GCC
11815 builtin and then its argument prototype would still apply. */
11816 #ifdef __cplusplus
11817 extern "C"
11818 #endif
11819 char XOpenDevice ();
11821 main ()
11823 return XOpenDevice ();
11825 return 0;
11827 _ACEOF
11828 if ac_fn_c_try_link "$LINENO"; then :
11829 case "$LIBEXT" in
11830 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11831 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'` ;;
11832 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11833 if ${ac_cv_lib_soname_Xi:+false} :; then :
11834 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11835 fi ;;
11836 esac
11837 else
11838 ac_cv_lib_soname_Xi=
11840 rm -f core conftest.err conftest.$ac_objext \
11841 conftest$ac_exeext conftest.$ac_ext
11842 LIBS=$ac_check_soname_save_LIBS
11844 if ${ac_cv_lib_soname_Xi:+false} :; then :
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11846 $as_echo "not found" >&6; }
11848 else
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11850 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11852 cat >>confdefs.h <<_ACEOF
11853 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11854 _ACEOF
11859 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11860 case "x$with_xinput" in
11861 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11862 xno) ;;
11863 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11864 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11865 esac
11869 if test "x$ac_cv_lib_soname_Xi" != x
11870 then
11871 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11872 case "x$with_xinput2" in
11873 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11874 xno) ;;
11875 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11876 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11877 esac
11882 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11883 then
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11885 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11886 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11887 $as_echo_n "(cached) " >&6
11888 else
11889 ac_check_lib_save_LIBS=$LIBS
11890 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11897 #ifdef __cplusplus
11898 extern "C"
11899 #endif
11900 char XShmQueryExtension ();
11902 main ()
11904 return XShmQueryExtension ();
11906 return 0;
11908 _ACEOF
11909 if ac_fn_c_try_link "$LINENO"; then :
11910 ac_cv_lib_Xext_XShmQueryExtension=yes
11911 else
11912 ac_cv_lib_Xext_XShmQueryExtension=no
11914 rm -f core conftest.err conftest.$ac_objext \
11915 conftest$ac_exeext conftest.$ac_ext
11916 LIBS=$ac_check_lib_save_LIBS
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11919 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11920 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11922 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11927 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11928 case "x$with_xshm" in
11929 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11930 xno) ;;
11931 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11932 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11933 esac
11937 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11938 then
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11940 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11941 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11942 $as_echo_n "(cached) " >&6
11943 else
11944 ac_check_lib_save_LIBS=$LIBS
11945 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11949 /* Override any GCC internal prototype to avoid an error.
11950 Use char because int might match the return type of a GCC
11951 builtin and then its argument prototype would still apply. */
11952 #ifdef __cplusplus
11953 extern "C"
11954 #endif
11955 char XShapeQueryExtension ();
11957 main ()
11959 return XShapeQueryExtension ();
11961 return 0;
11963 _ACEOF
11964 if ac_fn_c_try_link "$LINENO"; then :
11965 ac_cv_lib_Xext_XShapeQueryExtension=yes
11966 else
11967 ac_cv_lib_Xext_XShapeQueryExtension=no
11969 rm -f core conftest.err conftest.$ac_objext \
11970 conftest$ac_exeext conftest.$ac_ext
11971 LIBS=$ac_check_lib_save_LIBS
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11974 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11975 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11977 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11982 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11983 case "x$with_xshape" in
11984 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11985 xno) ;;
11986 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11987 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11988 esac
11992 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11993 then
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11995 $as_echo_n "checking for -lXxf86vm... " >&6; }
11996 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11997 $as_echo_n "(cached) " >&6
11998 else
11999 ac_check_soname_save_LIBS=$LIBS
12000 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12004 /* Override any GCC internal prototype to avoid an error.
12005 Use char because int might match the return type of a GCC
12006 builtin and then its argument prototype would still apply. */
12007 #ifdef __cplusplus
12008 extern "C"
12009 #endif
12010 char XF86VidModeQueryExtension ();
12012 main ()
12014 return XF86VidModeQueryExtension ();
12016 return 0;
12018 _ACEOF
12019 if ac_fn_c_try_link "$LINENO"; then :
12020 case "$LIBEXT" in
12021 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12022 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'` ;;
12023 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12024 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12025 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12026 fi ;;
12027 esac
12028 else
12029 ac_cv_lib_soname_Xxf86vm=
12031 rm -f core conftest.err conftest.$ac_objext \
12032 conftest$ac_exeext conftest.$ac_ext
12033 LIBS=$ac_check_soname_save_LIBS
12035 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12037 $as_echo "not found" >&6; }
12039 else
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12041 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12043 cat >>confdefs.h <<_ACEOF
12044 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12045 _ACEOF
12050 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12051 case "x$with_xxf86vm" in
12052 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12053 xno) ;;
12054 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12055 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12056 esac
12060 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12061 then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12063 $as_echo_n "checking for -lXrender... " >&6; }
12064 if ${ac_cv_lib_soname_Xrender+:} false; then :
12065 $as_echo_n "(cached) " >&6
12066 else
12067 ac_check_soname_save_LIBS=$LIBS
12068 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char XRenderQueryExtension ();
12080 main ()
12082 return XRenderQueryExtension ();
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 case "$LIBEXT" in
12089 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12090 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'` ;;
12091 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12092 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12093 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12094 fi ;;
12095 esac
12096 else
12097 ac_cv_lib_soname_Xrender=
12099 rm -f core conftest.err conftest.$ac_objext \
12100 conftest$ac_exeext conftest.$ac_ext
12101 LIBS=$ac_check_soname_save_LIBS
12103 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12105 $as_echo "not found" >&6; }
12107 else
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12109 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12111 cat >>confdefs.h <<_ACEOF
12112 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12113 _ACEOF
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12116 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12117 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12118 $as_echo_n "(cached) " >&6
12119 else
12120 ac_check_lib_save_LIBS=$LIBS
12121 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12125 /* Override any GCC internal prototype to avoid an error.
12126 Use char because int might match the return type of a GCC
12127 builtin and then its argument prototype would still apply. */
12128 #ifdef __cplusplus
12129 extern "C"
12130 #endif
12131 char XRenderSetPictureTransform ();
12133 main ()
12135 return XRenderSetPictureTransform ();
12137 return 0;
12139 _ACEOF
12140 if ac_fn_c_try_link "$LINENO"; then :
12141 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12142 else
12143 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12145 rm -f core conftest.err conftest.$ac_objext \
12146 conftest$ac_exeext conftest.$ac_ext
12147 LIBS=$ac_check_lib_save_LIBS
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12150 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12151 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12153 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12158 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12159 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12160 $as_echo_n "(cached) " >&6
12161 else
12162 ac_check_lib_save_LIBS=$LIBS
12163 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 /* Override any GCC internal prototype to avoid an error.
12168 Use char because int might match the return type of a GCC
12169 builtin and then its argument prototype would still apply. */
12170 #ifdef __cplusplus
12171 extern "C"
12172 #endif
12173 char XRenderCreateLinearGradient ();
12175 main ()
12177 return XRenderCreateLinearGradient ();
12179 return 0;
12181 _ACEOF
12182 if ac_fn_c_try_link "$LINENO"; then :
12183 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12184 else
12185 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12187 rm -f core conftest.err conftest.$ac_objext \
12188 conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_lib_save_LIBS
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12192 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12193 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12195 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12202 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12203 case "x$with_xrender" in
12204 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12205 xno) ;;
12206 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12207 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12208 esac
12212 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12213 then
12214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12215 /* end confdefs.h. */
12216 #include <X11/Xlib.h>
12217 #include <X11/extensions/Xrandr.h>
12219 main ()
12221 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12223 return 0;
12225 _ACEOF
12226 if ac_fn_c_try_compile "$LINENO"; then :
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12228 $as_echo_n "checking for -lXrandr... " >&6; }
12229 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12230 $as_echo_n "(cached) " >&6
12231 else
12232 ac_check_soname_save_LIBS=$LIBS
12233 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12235 /* end confdefs.h. */
12237 /* Override any GCC internal prototype to avoid an error.
12238 Use char because int might match the return type of a GCC
12239 builtin and then its argument prototype would still apply. */
12240 #ifdef __cplusplus
12241 extern "C"
12242 #endif
12243 char XRRQueryExtension ();
12245 main ()
12247 return XRRQueryExtension ();
12249 return 0;
12251 _ACEOF
12252 if ac_fn_c_try_link "$LINENO"; then :
12253 case "$LIBEXT" in
12254 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12255 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'` ;;
12256 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12257 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12258 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12259 fi ;;
12260 esac
12261 else
12262 ac_cv_lib_soname_Xrandr=
12264 rm -f core conftest.err conftest.$ac_objext \
12265 conftest$ac_exeext conftest.$ac_ext
12266 LIBS=$ac_check_soname_save_LIBS
12268 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12270 $as_echo "not found" >&6; }
12272 else
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12274 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12276 cat >>confdefs.h <<_ACEOF
12277 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12278 _ACEOF
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12282 #include <X11/Xlib.h>
12283 #include <X11/extensions/Xrandr.h>
12285 main ()
12287 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12289 return 0;
12291 _ACEOF
12292 if ac_fn_c_try_compile "$LINENO"; then :
12294 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12296 else
12297 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12304 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12305 case "x$with_xrandr" in
12306 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12307 xno) ;;
12308 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12309 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12310 esac
12314 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12315 then
12316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12318 #include <X11/Xlib.h>
12319 #include <X11/extensions/Xfixes.h>
12321 main ()
12323 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12325 return 0;
12327 _ACEOF
12328 if ac_fn_c_try_compile "$LINENO"; then :
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12330 $as_echo_n "checking for -lXfixes... " >&6; }
12331 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12332 $as_echo_n "(cached) " >&6
12333 else
12334 ac_check_soname_save_LIBS=$LIBS
12335 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12339 /* Override any GCC internal prototype to avoid an error.
12340 Use char because int might match the return type of a GCC
12341 builtin and then its argument prototype would still apply. */
12342 #ifdef __cplusplus
12343 extern "C"
12344 #endif
12345 char XFixesQueryVersion ();
12347 main ()
12349 return XFixesQueryVersion ();
12351 return 0;
12353 _ACEOF
12354 if ac_fn_c_try_link "$LINENO"; then :
12355 case "$LIBEXT" in
12356 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12357 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'` ;;
12358 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12359 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12360 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12361 fi ;;
12362 esac
12363 else
12364 ac_cv_lib_soname_Xfixes=
12366 rm -f core conftest.err conftest.$ac_objext \
12367 conftest$ac_exeext conftest.$ac_ext
12368 LIBS=$ac_check_soname_save_LIBS
12370 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12372 $as_echo "not found" >&6; }
12374 else
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12376 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12378 cat >>confdefs.h <<_ACEOF
12379 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12380 _ACEOF
12385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12387 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12388 case "x$with_xfixes" in
12389 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12390 xno) ;;
12391 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12392 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12393 esac
12397 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12398 then
12399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12401 #include <X11/Xlib.h>
12402 #include <X11/extensions/Xinerama.h>
12404 main ()
12406 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12408 return 0;
12410 _ACEOF
12411 if ac_fn_c_try_compile "$LINENO"; then :
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12413 $as_echo_n "checking for -lXinerama... " >&6; }
12414 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12415 $as_echo_n "(cached) " >&6
12416 else
12417 ac_check_soname_save_LIBS=$LIBS
12418 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12422 /* Override any GCC internal prototype to avoid an error.
12423 Use char because int might match the return type of a GCC
12424 builtin and then its argument prototype would still apply. */
12425 #ifdef __cplusplus
12426 extern "C"
12427 #endif
12428 char XineramaQueryScreens ();
12430 main ()
12432 return XineramaQueryScreens ();
12434 return 0;
12436 _ACEOF
12437 if ac_fn_c_try_link "$LINENO"; then :
12438 case "$LIBEXT" in
12439 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12440 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'` ;;
12441 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12442 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12443 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12444 fi ;;
12445 esac
12446 else
12447 ac_cv_lib_soname_Xinerama=
12449 rm -f core conftest.err conftest.$ac_objext \
12450 conftest$ac_exeext conftest.$ac_ext
12451 LIBS=$ac_check_soname_save_LIBS
12453 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12455 $as_echo "not found" >&6; }
12457 else
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12459 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12461 cat >>confdefs.h <<_ACEOF
12462 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12463 _ACEOF
12468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12470 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12471 case "x$with_xinerama" in
12472 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12473 xno) ;;
12474 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12475 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12476 esac
12480 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12481 then
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12483 $as_echo_n "checking for -lXcomposite... " >&6; }
12484 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12485 $as_echo_n "(cached) " >&6
12486 else
12487 ac_check_soname_save_LIBS=$LIBS
12488 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12492 /* Override any GCC internal prototype to avoid an error.
12493 Use char because int might match the return type of a GCC
12494 builtin and then its argument prototype would still apply. */
12495 #ifdef __cplusplus
12496 extern "C"
12497 #endif
12498 char XCompositeRedirectWindow ();
12500 main ()
12502 return XCompositeRedirectWindow ();
12504 return 0;
12506 _ACEOF
12507 if ac_fn_c_try_link "$LINENO"; then :
12508 case "$LIBEXT" in
12509 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12510 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'` ;;
12511 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12512 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12513 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12514 fi ;;
12515 esac
12516 else
12517 ac_cv_lib_soname_Xcomposite=
12519 rm -f core conftest.err conftest.$ac_objext \
12520 conftest$ac_exeext conftest.$ac_ext
12521 LIBS=$ac_check_soname_save_LIBS
12523 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12525 $as_echo "not found" >&6; }
12527 else
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12529 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12531 cat >>confdefs.h <<_ACEOF
12532 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12533 _ACEOF
12538 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12539 case "x$with_xcomposite" in
12540 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12541 xno) ;;
12542 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12543 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12544 esac
12548 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12549 #include <X11/Xlib.h>
12550 #endif
12552 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12554 cat >>confdefs.h <<_ACEOF
12555 #define HAVE_XICCALLBACK_CALLBACK 1
12556 _ACEOF
12560 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12561 #include <X11/Xlib.h>
12562 #endif
12564 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12566 cat >>confdefs.h <<_ACEOF
12567 #define HAVE_XEVENT_XCOOKIE 1
12568 _ACEOF
12575 opengl_msg=""
12576 if test "x$with_opengl" != "xno"
12577 then
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12579 $as_echo_n "checking for -lGL... " >&6; }
12580 if ${ac_cv_lib_soname_GL+:} false; then :
12581 $as_echo_n "(cached) " >&6
12582 else
12583 ac_check_soname_save_LIBS=$LIBS
12584 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12586 /* end confdefs.h. */
12588 /* Override any GCC internal prototype to avoid an error.
12589 Use char because int might match the return type of a GCC
12590 builtin and then its argument prototype would still apply. */
12591 #ifdef __cplusplus
12592 extern "C"
12593 #endif
12594 char glXCreateContext ();
12596 main ()
12598 return glXCreateContext ();
12600 return 0;
12602 _ACEOF
12603 if ac_fn_c_try_link "$LINENO"; then :
12604 case "$LIBEXT" in
12605 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12606 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'` ;;
12607 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12608 if ${ac_cv_lib_soname_GL:+false} :; then :
12609 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12610 fi ;;
12611 esac
12612 else
12613 ac_cv_lib_soname_GL=
12615 rm -f core conftest.err conftest.$ac_objext \
12616 conftest$ac_exeext conftest.$ac_ext
12617 LIBS=$ac_check_soname_save_LIBS
12619 if ${ac_cv_lib_soname_GL:+false} :; then :
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12621 $as_echo "not found" >&6; }
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12623 $as_echo_n "checking for -lGL... " >&6; }
12624 if ${ac_cv_lib_soname_GL+:} false; then :
12625 $as_echo_n "(cached) " >&6
12626 else
12627 ac_check_soname_save_LIBS=$LIBS
12628 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"
12629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12632 /* Override any GCC internal prototype to avoid an error.
12633 Use char because int might match the return type of a GCC
12634 builtin and then its argument prototype would still apply. */
12635 #ifdef __cplusplus
12636 extern "C"
12637 #endif
12638 char glXCreateContext ();
12640 main ()
12642 return glXCreateContext ();
12644 return 0;
12646 _ACEOF
12647 if ac_fn_c_try_link "$LINENO"; then :
12648 case "$LIBEXT" in
12649 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12650 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'` ;;
12651 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12652 if ${ac_cv_lib_soname_GL:+false} :; then :
12653 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12654 fi ;;
12655 esac
12656 else
12657 ac_cv_lib_soname_GL=
12659 rm -f core conftest.err conftest.$ac_objext \
12660 conftest$ac_exeext conftest.$ac_ext
12661 LIBS=$ac_check_soname_save_LIBS
12663 if ${ac_cv_lib_soname_GL:+false} :; then :
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12665 $as_echo "not found" >&6; }
12666 if test -f /usr/X11R6/lib/libGL.a
12667 then
12668 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12669 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12670 else
12671 opengl_msg="No OpenGL library found on this system."
12673 else
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12675 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12677 cat >>confdefs.h <<_ACEOF
12678 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12679 _ACEOF
12681 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"
12683 else
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12685 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12687 cat >>confdefs.h <<_ACEOF
12688 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12689 _ACEOF
12691 OPENGL_LIBS="-lGL"
12693 if test "x$with_osmesa" != "xno"
12694 then
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12696 $as_echo_n "checking for -lOSMesa... " >&6; }
12697 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12698 $as_echo_n "(cached) " >&6
12699 else
12700 ac_check_soname_save_LIBS=$LIBS
12701 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12703 /* end confdefs.h. */
12705 /* Override any GCC internal prototype to avoid an error.
12706 Use char because int might match the return type of a GCC
12707 builtin and then its argument prototype would still apply. */
12708 #ifdef __cplusplus
12709 extern "C"
12710 #endif
12711 char OSMesaGetProcAddress ();
12713 main ()
12715 return OSMesaGetProcAddress ();
12717 return 0;
12719 _ACEOF
12720 if ac_fn_c_try_link "$LINENO"; then :
12721 case "$LIBEXT" in
12722 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12723 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'` ;;
12724 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12725 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12726 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12727 fi ;;
12728 esac
12729 else
12730 ac_cv_lib_soname_OSMesa=
12732 rm -f core conftest.err conftest.$ac_objext \
12733 conftest$ac_exeext conftest.$ac_ext
12734 LIBS=$ac_check_soname_save_LIBS
12736 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12738 $as_echo "not found" >&6; }
12740 else
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12742 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12744 cat >>confdefs.h <<_ACEOF
12745 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12746 _ACEOF
12750 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12751 case "x$with_osmesa" in
12752 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12753 xno) ;;
12754 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12755 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12756 esac
12761 if test -n "$opengl_msg"; then :
12762 case "x$with_opengl" in
12763 x) as_fn_append wine_warnings "|$opengl_msg
12764 OpenGL and Direct3D won't be supported." ;;
12765 xno) ;;
12766 *) as_fn_error $? "$opengl_msg
12767 OpenGL and Direct3D won't be supported.
12768 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12769 esac
12773 CPPFLAGS="$ac_save_CPPFLAGS"
12774 else
12775 X_CFLAGS=""
12776 X_LIBS=""
12779 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12780 then
12781 if test "x$X_LIBS" = "x"; then :
12782 case "x$with_x" in
12783 xno) ;;
12784 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12785 without X support, which probably isn't what you want. You will need
12786 to install ${notice_platform}development packages of Xlib at the very least.
12787 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12788 esac
12789 enable_winex11_drv=${enable_winex11_drv:-no}
12791 else
12792 if test "x$X_LIBS" = "x"; then :
12793 case "x$with_x" in
12794 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12795 xno) ;;
12796 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12797 This is an error since --with-x was requested." "$LINENO" 5 ;;
12798 esac
12799 enable_winex11_drv=${enable_winex11_drv:-no}
12803 if test "$ac_cv_header_CL_cl_h" = "yes"
12804 then
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12806 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12807 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12808 $as_echo_n "(cached) " >&6
12809 else
12810 ac_check_lib_save_LIBS=$LIBS
12811 LIBS="-lOpenCL $LIBS"
12812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12815 /* Override any GCC internal prototype to avoid an error.
12816 Use char because int might match the return type of a GCC
12817 builtin and then its argument prototype would still apply. */
12818 #ifdef __cplusplus
12819 extern "C"
12820 #endif
12821 char clGetPlatformInfo ();
12823 main ()
12825 return clGetPlatformInfo ();
12827 return 0;
12829 _ACEOF
12830 if ac_fn_c_try_link "$LINENO"; then :
12831 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12832 else
12833 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12835 rm -f core conftest.err conftest.$ac_objext \
12836 conftest$ac_exeext conftest.$ac_ext
12837 LIBS=$ac_check_lib_save_LIBS
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12840 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12841 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12842 OPENCL_LIBS="-lOpenCL"
12847 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12848 case "x$with_opencl" in
12849 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12850 xno) ;;
12851 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12852 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12853 esac
12854 enable_opencl=${enable_opencl:-no}
12857 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12858 then
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12860 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12861 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12862 $as_echo_n "(cached) " >&6
12863 else
12864 ac_check_lib_save_LIBS=$LIBS
12865 LIBS="-lpcap $LIBS"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12872 #ifdef __cplusplus
12873 extern "C"
12874 #endif
12875 char pcap_create ();
12877 main ()
12879 return pcap_create ();
12881 return 0;
12883 _ACEOF
12884 if ac_fn_c_try_link "$LINENO"; then :
12885 ac_cv_lib_pcap_pcap_create=yes
12886 else
12887 ac_cv_lib_pcap_pcap_create=no
12889 rm -f core conftest.err conftest.$ac_objext \
12890 conftest$ac_exeext conftest.$ac_ext
12891 LIBS=$ac_check_lib_save_LIBS
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12894 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12895 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12896 PCAP_LIBS="-lpcap"
12901 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12902 case "x$with_pcap" in
12903 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12904 xno) ;;
12905 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12906 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12907 esac
12908 enable_wpcap=${enable_wpcap:-no}
12912 if test "x$with_xml" != "xno"
12913 then
12914 if ${XML2_CFLAGS:+false} :; then :
12915 if ${PKG_CONFIG+:} false; then :
12916 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12919 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12920 if ${XML2_LIBS:+false} :; then :
12921 if ${PKG_CONFIG+:} false; then :
12922 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12925 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12926 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12927 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12928 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12929 ac_save_CPPFLAGS=$CPPFLAGS
12930 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12931 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12932 do :
12933 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12934 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12935 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12936 cat >>confdefs.h <<_ACEOF
12937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12938 _ACEOF
12942 done
12944 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"
12945 then
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12947 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12948 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12949 $as_echo_n "(cached) " >&6
12950 else
12951 ac_check_lib_save_LIBS=$LIBS
12952 LIBS="-lxml2 $XML2_LIBS $LIBS"
12953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12956 /* Override any GCC internal prototype to avoid an error.
12957 Use char because int might match the return type of a GCC
12958 builtin and then its argument prototype would still apply. */
12959 #ifdef __cplusplus
12960 extern "C"
12961 #endif
12962 char xmlParseMemory ();
12964 main ()
12966 return xmlParseMemory ();
12968 return 0;
12970 _ACEOF
12971 if ac_fn_c_try_link "$LINENO"; then :
12972 ac_cv_lib_xml2_xmlParseMemory=yes
12973 else
12974 ac_cv_lib_xml2_xmlParseMemory=no
12976 rm -f core conftest.err conftest.$ac_objext \
12977 conftest$ac_exeext conftest.$ac_ext
12978 LIBS=$ac_check_lib_save_LIBS
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12981 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12982 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12984 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12986 else
12987 XML2_LIBS=""
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12991 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12992 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12993 $as_echo_n "(cached) " >&6
12994 else
12995 ac_check_lib_save_LIBS=$LIBS
12996 LIBS="-lxml2 $XML2_LIBS $LIBS"
12997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12998 /* end confdefs.h. */
13000 /* Override any GCC internal prototype to avoid an error.
13001 Use char because int might match the return type of a GCC
13002 builtin and then its argument prototype would still apply. */
13003 #ifdef __cplusplus
13004 extern "C"
13005 #endif
13006 char xmlReadMemory ();
13008 main ()
13010 return xmlReadMemory ();
13012 return 0;
13014 _ACEOF
13015 if ac_fn_c_try_link "$LINENO"; then :
13016 ac_cv_lib_xml2_xmlReadMemory=yes
13017 else
13018 ac_cv_lib_xml2_xmlReadMemory=no
13020 rm -f core conftest.err conftest.$ac_objext \
13021 conftest$ac_exeext conftest.$ac_ext
13022 LIBS=$ac_check_lib_save_LIBS
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13025 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13026 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13028 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13033 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13034 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13035 $as_echo_n "(cached) " >&6
13036 else
13037 ac_check_lib_save_LIBS=$LIBS
13038 LIBS="-lxml2 $XML2_LIBS $LIBS"
13039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13040 /* end confdefs.h. */
13042 /* Override any GCC internal prototype to avoid an error.
13043 Use char because int might match the return type of a GCC
13044 builtin and then its argument prototype would still apply. */
13045 #ifdef __cplusplus
13046 extern "C"
13047 #endif
13048 char xmlNewDocPI ();
13050 main ()
13052 return xmlNewDocPI ();
13054 return 0;
13056 _ACEOF
13057 if ac_fn_c_try_link "$LINENO"; then :
13058 ac_cv_lib_xml2_xmlNewDocPI=yes
13059 else
13060 ac_cv_lib_xml2_xmlNewDocPI=no
13062 rm -f core conftest.err conftest.$ac_objext \
13063 conftest$ac_exeext conftest.$ac_ext
13064 LIBS=$ac_check_lib_save_LIBS
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13067 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13068 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13070 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13075 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13076 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13077 $as_echo_n "(cached) " >&6
13078 else
13079 ac_check_lib_save_LIBS=$LIBS
13080 LIBS="-lxml2 $XML2_LIBS $LIBS"
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13084 /* Override any GCC internal prototype to avoid an error.
13085 Use char because int might match the return type of a GCC
13086 builtin and then its argument prototype would still apply. */
13087 #ifdef __cplusplus
13088 extern "C"
13089 #endif
13090 char xmlSchemaSetParserStructuredErrors ();
13092 main ()
13094 return xmlSchemaSetParserStructuredErrors ();
13096 return 0;
13098 _ACEOF
13099 if ac_fn_c_try_link "$LINENO"; then :
13100 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13101 else
13102 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13104 rm -f core conftest.err conftest.$ac_objext \
13105 conftest$ac_exeext conftest.$ac_ext
13106 LIBS=$ac_check_lib_save_LIBS
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13109 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13110 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13112 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13117 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13118 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13119 $as_echo_n "(cached) " >&6
13120 else
13121 ac_check_lib_save_LIBS=$LIBS
13122 LIBS="-lxml2 $XML2_LIBS $LIBS"
13123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13126 /* Override any GCC internal prototype to avoid an error.
13127 Use char because int might match the return type of a GCC
13128 builtin and then its argument prototype would still apply. */
13129 #ifdef __cplusplus
13130 extern "C"
13131 #endif
13132 char xmlSchemaSetValidStructuredErrors ();
13134 main ()
13136 return xmlSchemaSetValidStructuredErrors ();
13138 return 0;
13140 _ACEOF
13141 if ac_fn_c_try_link "$LINENO"; then :
13142 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13143 else
13144 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13146 rm -f core conftest.err conftest.$ac_objext \
13147 conftest$ac_exeext conftest.$ac_ext
13148 LIBS=$ac_check_lib_save_LIBS
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13151 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13152 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13154 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13159 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13160 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13161 $as_echo_n "(cached) " >&6
13162 else
13163 ac_check_lib_save_LIBS=$LIBS
13164 LIBS="-lxml2 $XML2_LIBS $LIBS"
13165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13166 /* end confdefs.h. */
13168 /* Override any GCC internal prototype to avoid an error.
13169 Use char because int might match the return type of a GCC
13170 builtin and then its argument prototype would still apply. */
13171 #ifdef __cplusplus
13172 extern "C"
13173 #endif
13174 char xmlFirstElementChild ();
13176 main ()
13178 return xmlFirstElementChild ();
13180 return 0;
13182 _ACEOF
13183 if ac_fn_c_try_link "$LINENO"; then :
13184 ac_cv_lib_xml2_xmlFirstElementChild=yes
13185 else
13186 ac_cv_lib_xml2_xmlFirstElementChild=no
13188 rm -f core conftest.err conftest.$ac_objext \
13189 conftest$ac_exeext conftest.$ac_ext
13190 LIBS=$ac_check_lib_save_LIBS
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13193 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13194 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13196 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13200 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13202 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13204 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13208 else
13209 XML2_CFLAGS=""
13210 XML2_LIBS=""
13212 CPPFLAGS=$ac_save_CPPFLAGS
13215 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13216 case "x$with_xml" in
13217 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13218 xno) ;;
13219 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13220 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13221 esac
13225 if test "x$with_xslt" != "xno"
13226 then
13227 if ${XSLT_CFLAGS:+false} :; then :
13228 if ${PKG_CONFIG+:} false; then :
13229 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13232 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13233 if ${XSLT_LIBS:+false} :; then :
13234 if ${PKG_CONFIG+:} false; then :
13235 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13238 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13239 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13240 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13241 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13242 ac_save_CPPFLAGS=$CPPFLAGS
13243 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13244 for ac_header in libxslt/pattern.h libxslt/transform.h
13245 do :
13246 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13247 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13248 # include <libxslt/pattern.h>
13249 #endif
13251 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13252 cat >>confdefs.h <<_ACEOF
13253 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13254 _ACEOF
13258 done
13260 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13261 then
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13263 $as_echo_n "checking for -lxslt... " >&6; }
13264 if ${ac_cv_lib_soname_xslt+:} false; then :
13265 $as_echo_n "(cached) " >&6
13266 else
13267 ac_check_soname_save_LIBS=$LIBS
13268 LIBS="-lxslt $XSLT_LIBS $LIBS"
13269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13270 /* end confdefs.h. */
13272 /* Override any GCC internal prototype to avoid an error.
13273 Use char because int might match the return type of a GCC
13274 builtin and then its argument prototype would still apply. */
13275 #ifdef __cplusplus
13276 extern "C"
13277 #endif
13278 char xsltCompilePattern ();
13280 main ()
13282 return xsltCompilePattern ();
13284 return 0;
13286 _ACEOF
13287 if ac_fn_c_try_link "$LINENO"; then :
13288 case "$LIBEXT" in
13289 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13290 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'` ;;
13291 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13292 if ${ac_cv_lib_soname_xslt:+false} :; then :
13293 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13294 fi ;;
13295 esac
13296 else
13297 ac_cv_lib_soname_xslt=
13299 rm -f core conftest.err conftest.$ac_objext \
13300 conftest$ac_exeext conftest.$ac_ext
13301 LIBS=$ac_check_soname_save_LIBS
13303 if ${ac_cv_lib_soname_xslt:+false} :; then :
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13305 $as_echo "not found" >&6; }
13307 else
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13309 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13311 cat >>confdefs.h <<_ACEOF
13312 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13313 _ACEOF
13317 else
13318 XSLT_CFLAGS=""
13320 CPPFLAGS=$ac_save_CPPFLAGS
13323 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13324 case "x$with_xslt" in
13325 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13326 xno) ;;
13327 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13328 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13329 esac
13333 if test "x$with_inotify" != "xno"
13334 then
13335 if ${INOTIFY_CFLAGS:+false} :; then :
13336 if ${PKG_CONFIG+:} false; then :
13337 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13341 if ${INOTIFY_LIBS:+false} :; then :
13342 if ${PKG_CONFIG+:} false; then :
13343 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13348 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13349 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13350 ac_save_CPPFLAGS=$CPPFLAGS
13351 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13352 for ac_header in sys/inotify.h
13353 do :
13354 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13355 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13356 cat >>confdefs.h <<_ACEOF
13357 #define HAVE_SYS_INOTIFY_H 1
13358 _ACEOF
13362 done
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13365 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13366 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13367 $as_echo_n "(cached) " >&6
13368 else
13369 ac_check_lib_save_LIBS=$LIBS
13370 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13377 #ifdef __cplusplus
13378 extern "C"
13379 #endif
13380 char inotify_add_watch ();
13382 main ()
13384 return inotify_add_watch ();
13386 return 0;
13388 _ACEOF
13389 if ac_fn_c_try_link "$LINENO"; then :
13390 ac_cv_lib_inotify_inotify_add_watch=yes
13391 else
13392 ac_cv_lib_inotify_inotify_add_watch=no
13394 rm -f core conftest.err conftest.$ac_objext \
13395 conftest$ac_exeext conftest.$ac_ext
13396 LIBS=$ac_check_lib_save_LIBS
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13399 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13400 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13402 else
13403 INOTIFY_LIBS=""
13406 CPPFLAGS=$ac_save_CPPFLAGS
13409 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13410 case "x$with_inotify" in
13411 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13412 xno) ;;
13413 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13414 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13415 esac
13419 if test "x$with_dbus" != "xno"
13420 then
13421 if ${DBUS_CFLAGS:+false} :; then :
13422 if ${PKG_CONFIG+:} false; then :
13423 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13427 if ${DBUS_LIBS:+false} :; then :
13428 if ${PKG_CONFIG+:} false; then :
13429 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13434 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13435 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13436 ac_save_CPPFLAGS=$CPPFLAGS
13437 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13438 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13439 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13441 $as_echo_n "checking for -ldbus-1... " >&6; }
13442 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13443 $as_echo_n "(cached) " >&6
13444 else
13445 ac_check_soname_save_LIBS=$LIBS
13446 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h. */
13450 /* Override any GCC internal prototype to avoid an error.
13451 Use char because int might match the return type of a GCC
13452 builtin and then its argument prototype would still apply. */
13453 #ifdef __cplusplus
13454 extern "C"
13455 #endif
13456 char dbus_connection_close ();
13458 main ()
13460 return dbus_connection_close ();
13462 return 0;
13464 _ACEOF
13465 if ac_fn_c_try_link "$LINENO"; then :
13466 case "$LIBEXT" in
13467 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13468 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'` ;;
13469 *) 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'`
13470 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13471 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13472 fi ;;
13473 esac
13474 else
13475 ac_cv_lib_soname_dbus_1=
13477 rm -f core conftest.err conftest.$ac_objext \
13478 conftest$ac_exeext conftest.$ac_ext
13479 LIBS=$ac_check_soname_save_LIBS
13481 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13483 $as_echo "not found" >&6; }
13484 DBUS_CFLAGS=""
13485 else
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13487 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13489 cat >>confdefs.h <<_ACEOF
13490 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13491 _ACEOF
13495 else
13496 DBUS_CFLAGS=""
13500 CPPFLAGS=$ac_save_CPPFLAGS
13503 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13504 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13505 case "x$with_dbus" in
13506 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13507 xno) ;;
13508 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13509 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13510 esac
13514 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13515 then
13516 if ${HAL_CFLAGS:+false} :; then :
13517 if ${PKG_CONFIG+:} false; then :
13518 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13522 if ${HAL_LIBS:+false} :; then :
13523 if ${PKG_CONFIG+:} false; then :
13524 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13528 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13529 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13530 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13531 ac_save_CPPFLAGS=$CPPFLAGS
13532 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13533 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13534 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13536 $as_echo_n "checking for -lhal... " >&6; }
13537 if ${ac_cv_lib_soname_hal+:} false; then :
13538 $as_echo_n "(cached) " >&6
13539 else
13540 ac_check_soname_save_LIBS=$LIBS
13541 LIBS="-lhal $HAL_LIBS $LIBS"
13542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13543 /* end confdefs.h. */
13545 /* Override any GCC internal prototype to avoid an error.
13546 Use char because int might match the return type of a GCC
13547 builtin and then its argument prototype would still apply. */
13548 #ifdef __cplusplus
13549 extern "C"
13550 #endif
13551 char libhal_ctx_new ();
13553 main ()
13555 return libhal_ctx_new ();
13557 return 0;
13559 _ACEOF
13560 if ac_fn_c_try_link "$LINENO"; then :
13561 case "$LIBEXT" in
13562 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13563 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'` ;;
13564 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13565 if ${ac_cv_lib_soname_hal:+false} :; then :
13566 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13567 fi ;;
13568 esac
13569 else
13570 ac_cv_lib_soname_hal=
13572 rm -f core conftest.err conftest.$ac_objext \
13573 conftest$ac_exeext conftest.$ac_ext
13574 LIBS=$ac_check_soname_save_LIBS
13576 if ${ac_cv_lib_soname_hal:+false} :; then :
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13578 $as_echo "not found" >&6; }
13579 HAL_CFLAGS=""
13580 else
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13582 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13584 cat >>confdefs.h <<_ACEOF
13585 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13586 _ACEOF
13590 else
13591 HAL_CFLAGS=""
13595 CPPFLAGS=$ac_save_CPPFLAGS
13597 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13598 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13599 case "x$with_hal" in
13600 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13601 xno) ;;
13602 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13603 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13604 esac
13609 if test "x$with_gnutls" != "xno"
13610 then
13611 if ${GNUTLS_CFLAGS:+false} :; then :
13612 if ${PKG_CONFIG+:} false; then :
13613 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13617 if ${GNUTLS_LIBS:+false} :; then :
13618 if ${PKG_CONFIG+:} false; then :
13619 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13623 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13624 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13625 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13626 ac_save_CPPFLAGS=$CPPFLAGS
13627 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13628 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13629 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13631 /* end confdefs.h. */
13632 #include <gnutls/gnutls.h>
13633 #include <gnutls/crypto.h>
13635 main ()
13637 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13639 return 0;
13641 _ACEOF
13642 if ac_fn_c_try_compile "$LINENO"; then :
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13644 $as_echo_n "checking for -lgnutls... " >&6; }
13645 if ${ac_cv_lib_soname_gnutls+:} false; then :
13646 $as_echo_n "(cached) " >&6
13647 else
13648 ac_check_soname_save_LIBS=$LIBS
13649 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13653 /* Override any GCC internal prototype to avoid an error.
13654 Use char because int might match the return type of a GCC
13655 builtin and then its argument prototype would still apply. */
13656 #ifdef __cplusplus
13657 extern "C"
13658 #endif
13659 char gnutls_global_init ();
13661 main ()
13663 return gnutls_global_init ();
13665 return 0;
13667 _ACEOF
13668 if ac_fn_c_try_link "$LINENO"; then :
13669 case "$LIBEXT" in
13670 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13671 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'` ;;
13672 *) 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'`
13673 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13674 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'`
13675 fi ;;
13676 esac
13677 else
13678 ac_cv_lib_soname_gnutls=
13680 rm -f core conftest.err conftest.$ac_objext \
13681 conftest$ac_exeext conftest.$ac_ext
13682 LIBS=$ac_check_soname_save_LIBS
13684 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13686 $as_echo "not found" >&6; }
13687 GNUTLS_CFLAGS=""
13688 else
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13690 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13692 cat >>confdefs.h <<_ACEOF
13693 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13694 _ACEOF
13698 ac_wine_check_funcs_save_LIBS="$LIBS"
13699 LIBS="$LIBS $GNUTLS_LIBS"
13700 for ac_func in gnutls_cipher_init
13701 do :
13702 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13703 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13704 cat >>confdefs.h <<_ACEOF
13705 #define HAVE_GNUTLS_CIPHER_INIT 1
13706 _ACEOF
13708 else
13709 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13711 done
13713 LIBS="$ac_wine_check_funcs_save_LIBS"
13715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13716 else
13717 GNUTLS_CFLAGS=""
13721 CPPFLAGS=$ac_save_CPPFLAGS
13724 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13725 case "x$with_gnutls" in
13726 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13727 xno) ;;
13728 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13729 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13730 esac
13734 if test "x$with_sane" != "xno"
13735 then
13736 if ${SANE_CFLAGS:+false} :; then :
13737 if ${PKG_CONFIG+:} false; then :
13738 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13741 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13742 if ${SANE_LIBS:+false} :; then :
13743 if ${PKG_CONFIG+:} false; then :
13744 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13747 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13749 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13750 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13751 ac_save_CPPFLAGS=$CPPFLAGS
13752 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13753 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13754 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13756 $as_echo_n "checking for -lsane... " >&6; }
13757 if ${ac_cv_lib_soname_sane+:} false; then :
13758 $as_echo_n "(cached) " >&6
13759 else
13760 ac_check_soname_save_LIBS=$LIBS
13761 LIBS="-lsane $SANE_LIBS $LIBS"
13762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13763 /* end confdefs.h. */
13765 /* Override any GCC internal prototype to avoid an error.
13766 Use char because int might match the return type of a GCC
13767 builtin and then its argument prototype would still apply. */
13768 #ifdef __cplusplus
13769 extern "C"
13770 #endif
13771 char sane_init ();
13773 main ()
13775 return sane_init ();
13777 return 0;
13779 _ACEOF
13780 if ac_fn_c_try_link "$LINENO"; then :
13781 case "$LIBEXT" in
13782 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13783 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'` ;;
13784 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13785 if ${ac_cv_lib_soname_sane:+false} :; then :
13786 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13787 fi ;;
13788 esac
13789 else
13790 ac_cv_lib_soname_sane=
13792 rm -f core conftest.err conftest.$ac_objext \
13793 conftest$ac_exeext conftest.$ac_ext
13794 LIBS=$ac_check_soname_save_LIBS
13796 if ${ac_cv_lib_soname_sane:+false} :; then :
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13798 $as_echo "not found" >&6; }
13799 SANE_CFLAGS=""
13800 else
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13802 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13804 cat >>confdefs.h <<_ACEOF
13805 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13806 _ACEOF
13810 else
13811 SANE_CFLAGS=""
13815 CPPFLAGS=$ac_save_CPPFLAGS
13818 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13819 case "x$with_sane" in
13820 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13821 xno) ;;
13822 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13823 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13824 esac
13828 if test "x$with_usb" != "xno"
13829 then
13830 if ${USB_CFLAGS:+false} :; then :
13831 if ${PKG_CONFIG+:} false; then :
13832 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13836 if ${USB_LIBS:+false} :; then :
13837 if ${PKG_CONFIG+:} false; then :
13838 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13842 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13843 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13844 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13845 ac_save_CPPFLAGS=$CPPFLAGS
13846 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13847 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13848 if test "x$ac_cv_header_libusb_h" = xyes; then :
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13850 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13851 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13852 $as_echo_n "(cached) " >&6
13853 else
13854 ac_check_lib_save_LIBS=$LIBS
13855 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13859 /* Override any GCC internal prototype to avoid an error.
13860 Use char because int might match the return type of a GCC
13861 builtin and then its argument prototype would still apply. */
13862 #ifdef __cplusplus
13863 extern "C"
13864 #endif
13865 char libusb_interrupt_event_handler ();
13867 main ()
13869 return libusb_interrupt_event_handler ();
13871 return 0;
13873 _ACEOF
13874 if ac_fn_c_try_link "$LINENO"; then :
13875 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13876 else
13877 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13879 rm -f core conftest.err conftest.$ac_objext \
13880 conftest$ac_exeext conftest.$ac_ext
13881 LIBS=$ac_check_lib_save_LIBS
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13884 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13885 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13887 else
13888 USB_LIBS=""
13891 else
13892 USB_LIBS=""
13896 CPPFLAGS=$ac_save_CPPFLAGS
13899 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13900 case "x$with_usb" in
13901 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13902 xno) ;;
13903 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13904 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13905 esac
13906 enable_wineusb_sys=${enable_wineusb_sys:-no}
13909 if test "x$with_v4l2" != "xno"
13910 then
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13912 $as_echo_n "checking for -lv4l2... " >&6; }
13913 if ${ac_cv_lib_soname_v4l2+:} false; then :
13914 $as_echo_n "(cached) " >&6
13915 else
13916 ac_check_soname_save_LIBS=$LIBS
13917 LIBS="-lv4l2 $LIBS"
13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13921 /* Override any GCC internal prototype to avoid an error.
13922 Use char because int might match the return type of a GCC
13923 builtin and then its argument prototype would still apply. */
13924 #ifdef __cplusplus
13925 extern "C"
13926 #endif
13927 char v4l2_open ();
13929 main ()
13931 return v4l2_open ();
13933 return 0;
13935 _ACEOF
13936 if ac_fn_c_try_link "$LINENO"; then :
13937 case "$LIBEXT" in
13938 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13939 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'` ;;
13940 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13941 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13942 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13943 fi ;;
13944 esac
13945 else
13946 ac_cv_lib_soname_v4l2=
13948 rm -f core conftest.err conftest.$ac_objext \
13949 conftest$ac_exeext conftest.$ac_ext
13950 LIBS=$ac_check_soname_save_LIBS
13952 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13954 $as_echo "not found" >&6; }
13956 else
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13958 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13960 cat >>confdefs.h <<_ACEOF
13961 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13962 _ACEOF
13967 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13968 case "x$with_v4l2" in
13969 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13970 xno) ;;
13971 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13972 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13973 esac
13977 if test "x$with_gphoto" != "xno"
13978 then
13979 if ${GPHOTO2_CFLAGS:+false} :; then :
13980 if ${PKG_CONFIG+:} false; then :
13981 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13984 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13985 if ${GPHOTO2_LIBS:+false} :; then :
13986 if ${PKG_CONFIG+:} false; then :
13987 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13990 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13991 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13992 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13993 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13994 ac_save_CPPFLAGS=$CPPFLAGS
13995 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13996 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13997 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13999 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14000 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 ac_check_lib_save_LIBS=$LIBS
14004 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14008 /* Override any GCC internal prototype to avoid an error.
14009 Use char because int might match the return type of a GCC
14010 builtin and then its argument prototype would still apply. */
14011 #ifdef __cplusplus
14012 extern "C"
14013 #endif
14014 char gp_camera_new ();
14016 main ()
14018 return gp_camera_new ();
14020 return 0;
14022 _ACEOF
14023 if ac_fn_c_try_link "$LINENO"; then :
14024 ac_cv_lib_gphoto2_gp_camera_new=yes
14025 else
14026 ac_cv_lib_gphoto2_gp_camera_new=no
14028 rm -f core conftest.err conftest.$ac_objext \
14029 conftest$ac_exeext conftest.$ac_ext
14030 LIBS=$ac_check_lib_save_LIBS
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14033 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14034 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14036 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14038 else
14039 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14042 else
14043 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14047 CPPFLAGS=$ac_save_CPPFLAGS
14049 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14050 if ${PKG_CONFIG+:} false; then :
14051 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14054 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14055 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14056 if ${PKG_CONFIG+:} false; then :
14057 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14060 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14061 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14062 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14063 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14064 ac_save_CPPFLAGS=$CPPFLAGS
14065 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14066 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14067 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14069 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14070 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14071 $as_echo_n "(cached) " >&6
14072 else
14073 ac_check_lib_save_LIBS=$LIBS
14074 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14078 /* Override any GCC internal prototype to avoid an error.
14079 Use char because int might match the return type of a GCC
14080 builtin and then its argument prototype would still apply. */
14081 #ifdef __cplusplus
14082 extern "C"
14083 #endif
14084 char gp_port_info_list_new ();
14086 main ()
14088 return gp_port_info_list_new ();
14090 return 0;
14092 _ACEOF
14093 if ac_fn_c_try_link "$LINENO"; then :
14094 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14095 else
14096 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14098 rm -f core conftest.err conftest.$ac_objext \
14099 conftest$ac_exeext conftest.$ac_ext
14100 LIBS=$ac_check_lib_save_LIBS
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14103 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14104 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14106 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14108 else
14109 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14112 else
14113 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14117 CPPFLAGS=$ac_save_CPPFLAGS
14120 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14121 case "x$with_gphoto" in
14122 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14123 xno) ;;
14124 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14125 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14126 esac
14129 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14130 case "x$with_gphoto" in
14131 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14132 xno) ;;
14133 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14134 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14135 esac
14140 if test "$ac_cv_header_resolv_h" = "yes"
14141 then
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14143 $as_echo_n "checking for resolver library... " >&6; }
14144 if ${ac_cv_have_resolv+:} false; then :
14145 $as_echo_n "(cached) " >&6
14146 else
14147 ac_save_LIBS="$LIBS"
14148 for lib in '' -lresolv
14150 LIBS="$lib $ac_save_LIBS"
14151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14153 #ifdef HAVE_NETINET_IN_H
14154 #include <netinet/in.h>
14155 #endif
14156 #include <resolv.h>
14158 main ()
14160 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
14162 return 0;
14164 _ACEOF
14165 if ac_fn_c_try_link "$LINENO"; then :
14166 ac_cv_have_resolv=${lib:-"none required"}
14167 else
14168 ac_cv_have_resolv="not found"
14170 rm -f core conftest.err conftest.$ac_objext \
14171 conftest$ac_exeext conftest.$ac_ext
14172 test "x$ac_cv_have_resolv" = "xnot found" || break
14173 done
14174 LIBS="$ac_save_LIBS"
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14177 $as_echo "$ac_cv_have_resolv" >&6; }
14179 case "$ac_cv_have_resolv" in
14180 "not found") ;;
14181 "none required")
14183 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14186 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14188 RESOLV_LIBS=$ac_cv_have_resolv
14190 esac
14192 if test "x$ac_cv_have_resolv" != "xnot found"
14193 then
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14195 $as_echo_n "checking for res_getservers... " >&6; }
14196 if ${ac_cv_have_res_getservers+:} false; then :
14197 $as_echo_n "(cached) " >&6
14198 else
14199 ac_save_LIBS="$LIBS"
14200 LIBS="$RESOLV_LIBS $LIBS"
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14203 #include <resolv.h>
14205 main ()
14207 res_getservers(NULL, NULL, 0);
14209 return 0;
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"; then :
14213 ac_cv_have_res_getservers=yes
14214 else
14215 ac_cv_have_res_getservers=no
14217 rm -f core conftest.err conftest.$ac_objext \
14218 conftest$ac_exeext conftest.$ac_ext
14219 LIBS="$ac_save_LIBS"
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14222 $as_echo "$ac_cv_have_res_getservers" >&6; }
14223 if test "$ac_cv_have_res_getservers" = "yes"
14224 then
14226 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14232 if test "x$with_cms" != "xno"
14233 then
14234 if ${LCMS2_CFLAGS:+false} :; then :
14235 if ${PKG_CONFIG+:} false; then :
14236 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14240 if ${LCMS2_LIBS:+false} :; then :
14241 if ${PKG_CONFIG+:} false; then :
14242 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14246 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14247 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14248 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14249 ac_save_CPPFLAGS=$CPPFLAGS
14250 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14251 for ac_header in lcms2.h
14252 do :
14253 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14254 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14255 cat >>confdefs.h <<_ACEOF
14256 #define HAVE_LCMS2_H 1
14257 _ACEOF
14261 done
14263 if test "$ac_cv_header_lcms2_h" = "yes"
14264 then
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14266 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14267 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14268 $as_echo_n "(cached) " >&6
14269 else
14270 ac_check_lib_save_LIBS=$LIBS
14271 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14275 /* Override any GCC internal prototype to avoid an error.
14276 Use char because int might match the return type of a GCC
14277 builtin and then its argument prototype would still apply. */
14278 #ifdef __cplusplus
14279 extern "C"
14280 #endif
14281 char cmsOpenProfileFromFile ();
14283 main ()
14285 return cmsOpenProfileFromFile ();
14287 return 0;
14289 _ACEOF
14290 if ac_fn_c_try_link "$LINENO"; then :
14291 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14292 else
14293 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14295 rm -f core conftest.err conftest.$ac_objext \
14296 conftest$ac_exeext conftest.$ac_ext
14297 LIBS=$ac_check_lib_save_LIBS
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14300 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14301 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14303 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14305 else
14306 LCMS2_LIBS=""
14309 else
14310 LCMS2_CFLAGS=""
14311 LCMS2_LIBS=""
14313 CPPFLAGS=$ac_save_CPPFLAGS
14316 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14317 case "x$with_cms" in
14318 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14319 xno) ;;
14320 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14321 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14322 esac
14326 if test "x$with_freetype" != "xno"
14327 then
14328 if ${FREETYPE_CFLAGS:+false} :; then :
14329 if ${PKG_CONFIG+:} false; then :
14330 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14333 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14334 if ${FREETYPE_LIBS:+false} :; then :
14335 if ${PKG_CONFIG+:} false; then :
14336 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14339 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14340 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14341 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14342 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14343 ac_save_CPPFLAGS=$CPPFLAGS
14344 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14345 for ac_header in ft2build.h
14346 do :
14347 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14348 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14349 cat >>confdefs.h <<_ACEOF
14350 #define HAVE_FT2BUILD_H 1
14351 _ACEOF
14355 done
14357 if test "$ac_cv_header_ft2build_h" = "yes"
14358 then
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14360 $as_echo_n "checking for -lfreetype... " >&6; }
14361 if ${ac_cv_lib_soname_freetype+:} false; then :
14362 $as_echo_n "(cached) " >&6
14363 else
14364 ac_check_soname_save_LIBS=$LIBS
14365 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14369 /* Override any GCC internal prototype to avoid an error.
14370 Use char because int might match the return type of a GCC
14371 builtin and then its argument prototype would still apply. */
14372 #ifdef __cplusplus
14373 extern "C"
14374 #endif
14375 char FT_Init_FreeType ();
14377 main ()
14379 return FT_Init_FreeType ();
14381 return 0;
14383 _ACEOF
14384 if ac_fn_c_try_link "$LINENO"; then :
14385 case "$LIBEXT" in
14386 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14387 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'` ;;
14388 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14389 if ${ac_cv_lib_soname_freetype:+false} :; then :
14390 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14391 fi ;;
14392 esac
14393 else
14394 ac_cv_lib_soname_freetype=
14396 rm -f core conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext conftest.$ac_ext
14398 LIBS=$ac_check_soname_save_LIBS
14400 if ${ac_cv_lib_soname_freetype:+false} :; then :
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14402 $as_echo "not found" >&6; }
14403 FREETYPE_LIBS=""
14404 else
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14406 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14408 cat >>confdefs.h <<_ACEOF
14409 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14410 _ACEOF
14413 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14415 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14416 #include FT_MODULE_H
14418 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14420 cat >>confdefs.h <<_ACEOF
14421 #define HAVE_FT_TRUETYPEENGINETYPE 1
14422 _ACEOF
14428 else
14429 FREETYPE_CFLAGS=""
14430 FREETYPE_LIBS=""
14432 CPPFLAGS=$ac_save_CPPFLAGS
14435 if test "x$ac_cv_lib_soname_freetype" = x; then :
14436 case "x$with_freetype" in
14437 xno) ;;
14438 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14439 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14440 esac
14441 enable_fonts=${enable_fonts:-no}
14444 ac_wine_check_funcs_save_LIBS="$LIBS"
14445 LIBS="$LIBS $PTHREAD_LIBS"
14446 for ac_func in \
14447 pthread_getthreadid_np
14448 do :
14449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14451 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14452 cat >>confdefs.h <<_ACEOF
14453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14454 _ACEOF
14457 done
14459 LIBS="$ac_wine_check_funcs_save_LIBS"
14461 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14462 then
14463 if test "$ac_cv_header_gettext_po_h" = "yes"
14464 then
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14466 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14467 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14468 $as_echo_n "(cached) " >&6
14469 else
14470 ac_check_lib_save_LIBS=$LIBS
14471 LIBS="-lgettextpo $LIBS"
14472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14475 /* Override any GCC internal prototype to avoid an error.
14476 Use char because int might match the return type of a GCC
14477 builtin and then its argument prototype would still apply. */
14478 #ifdef __cplusplus
14479 extern "C"
14480 #endif
14481 char po_message_msgctxt ();
14483 main ()
14485 return po_message_msgctxt ();
14487 return 0;
14489 _ACEOF
14490 if ac_fn_c_try_link "$LINENO"; then :
14491 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14492 else
14493 ac_cv_lib_gettextpo_po_message_msgctxt=no
14495 rm -f core conftest.err conftest.$ac_objext \
14496 conftest$ac_exeext conftest.$ac_ext
14497 LIBS=$ac_check_lib_save_LIBS
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14500 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14501 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14503 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14505 GETTEXTPO_LIBS="-lgettextpo"
14510 if test "x$GETTEXTPO_LIBS" = "x"; then :
14511 case "x$with_gettextpo" in
14512 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14513 xno) ;;
14514 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14515 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14516 esac
14519 if test "$srcdir" != .; then :
14520 case "x$with_gettextpo" in
14521 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14522 xno) ;;
14523 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14524 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14525 esac
14530 if test "x$with_pulse" != "xno";
14531 then
14532 if ${PULSE_CFLAGS:+false} :; then :
14533 if ${PKG_CONFIG+:} false; then :
14534 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14538 if ${PULSE_LIBS:+false} :; then :
14539 if ${PKG_CONFIG+:} false; then :
14540 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14545 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14546 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14547 ac_save_CPPFLAGS=$CPPFLAGS
14548 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14549 for ac_header in pulse/pulseaudio.h
14550 do :
14551 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14552 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14553 cat >>confdefs.h <<_ACEOF
14554 #define HAVE_PULSE_PULSEAUDIO_H 1
14555 _ACEOF
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14557 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14558 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14559 $as_echo_n "(cached) " >&6
14560 else
14561 ac_check_lib_save_LIBS=$LIBS
14562 LIBS="-lpulse $PULSE_LIBS $LIBS"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14566 /* Override any GCC internal prototype to avoid an error.
14567 Use char because int might match the return type of a GCC
14568 builtin and then its argument prototype would still apply. */
14569 #ifdef __cplusplus
14570 extern "C"
14571 #endif
14572 char pa_stream_is_corked ();
14574 main ()
14576 return pa_stream_is_corked ();
14578 return 0;
14580 _ACEOF
14581 if ac_fn_c_try_link "$LINENO"; then :
14582 ac_cv_lib_pulse_pa_stream_is_corked=yes
14583 else
14584 ac_cv_lib_pulse_pa_stream_is_corked=no
14586 rm -f core conftest.err conftest.$ac_objext \
14587 conftest$ac_exeext conftest.$ac_ext
14588 LIBS=$ac_check_lib_save_LIBS
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14591 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14592 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14594 else
14595 PULSE_LIBS=""
14598 else
14599 PULSE_LIBS=""
14602 done
14604 CPPFLAGS=$ac_save_CPPFLAGS
14607 if test -z "$PULSE_LIBS"; then :
14608 case "x$with_pulse" in
14609 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14610 xno) ;;
14611 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14612 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14613 esac
14614 enable_winepulse_drv=${enable_winepulse_drv:-no}
14617 if test "x$with_gstreamer" != "xno"
14618 then
14619 if ${GSTREAMER_CFLAGS:+false} :; then :
14620 if ${PKG_CONFIG+:} false; then :
14621 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14625 if ${GSTREAMER_LIBS:+false} :; then :
14626 if ${PKG_CONFIG+:} false; then :
14627 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14632 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14633 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14634 ac_save_CPPFLAGS=$CPPFLAGS
14635 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14636 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14637 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14639 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14642 #include <gst/gst.h>
14644 main ()
14646 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14648 return 0;
14650 _ACEOF
14651 if ac_fn_c_try_compile "$LINENO"; then :
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14653 $as_echo "yes" >&6; }
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14655 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14656 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14657 $as_echo_n "(cached) " >&6
14658 else
14659 ac_check_lib_save_LIBS=$LIBS
14660 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14664 /* Override any GCC internal prototype to avoid an error.
14665 Use char because int might match the return type of a GCC
14666 builtin and then its argument prototype would still apply. */
14667 #ifdef __cplusplus
14668 extern "C"
14669 #endif
14670 char gst_pad_new ();
14672 main ()
14674 return gst_pad_new ();
14676 return 0;
14678 _ACEOF
14679 if ac_fn_c_try_link "$LINENO"; then :
14680 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14681 else
14682 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14684 rm -f core conftest.err conftest.$ac_objext \
14685 conftest$ac_exeext conftest.$ac_ext
14686 LIBS=$ac_check_lib_save_LIBS
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14689 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14690 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14694 else
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14696 $as_echo "no" >&6; }
14697 ac_glib2_broken=yes
14698 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14704 CPPFLAGS=$ac_save_CPPFLAGS
14707 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14708 then
14709 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14710 case "x$with_gstreamer" in
14711 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14712 xno) ;;
14713 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14714 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14715 esac
14719 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14721 ALSA_LIBS=""
14723 if test "x$with_alsa" != "xno"
14724 then
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14726 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14727 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14728 $as_echo_n "(cached) " >&6
14729 else
14730 ac_check_lib_save_LIBS=$LIBS
14731 LIBS="-lasound $LIBS"
14732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14733 /* end confdefs.h. */
14735 /* Override any GCC internal prototype to avoid an error.
14736 Use char because int might match the return type of a GCC
14737 builtin and then its argument prototype would still apply. */
14738 #ifdef __cplusplus
14739 extern "C"
14740 #endif
14741 char snd_pcm_hw_params_get_access_mask ();
14743 main ()
14745 return snd_pcm_hw_params_get_access_mask ();
14747 return 0;
14749 _ACEOF
14750 if ac_fn_c_try_link "$LINENO"; then :
14751 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14752 else
14753 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14755 rm -f core conftest.err conftest.$ac_objext \
14756 conftest$ac_exeext conftest.$ac_ext
14757 LIBS=$ac_check_lib_save_LIBS
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14760 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14761 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14764 #include <alsa/asoundlib.h>
14766 main ()
14768 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14770 return 0;
14772 _ACEOF
14773 if ac_fn_c_try_compile "$LINENO"; then :
14774 ALSA_LIBS="-lasound"
14776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14780 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14782 if test "x$with_oss" != xno
14783 then
14784 ac_save_CPPFLAGS="$CPPFLAGS"
14785 if test -f /etc/oss.conf
14786 then
14787 . /etc/oss.conf
14789 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14790 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14791 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14792 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14793 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14795 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14797 cat >>confdefs.h <<_ACEOF
14798 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14799 _ACEOF
14801 OSS4_CFLAGS="$ac_oss_incl"
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14804 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14805 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14806 $as_echo_n "(cached) " >&6
14807 else
14808 ac_check_lib_save_LIBS=$LIBS
14809 LIBS="-lossaudio $LIBS"
14810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14811 /* end confdefs.h. */
14813 /* Override any GCC internal prototype to avoid an error.
14814 Use char because int might match the return type of a GCC
14815 builtin and then its argument prototype would still apply. */
14816 #ifdef __cplusplus
14817 extern "C"
14818 #endif
14819 char _oss_ioctl ();
14821 main ()
14823 return _oss_ioctl ();
14825 return 0;
14827 _ACEOF
14828 if ac_fn_c_try_link "$LINENO"; then :
14829 ac_cv_lib_ossaudio__oss_ioctl=yes
14830 else
14831 ac_cv_lib_ossaudio__oss_ioctl=no
14833 rm -f core conftest.err conftest.$ac_objext \
14834 conftest$ac_exeext conftest.$ac_ext
14835 LIBS=$ac_check_lib_save_LIBS
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14838 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14839 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14840 OSS4_LIBS="-lossaudio"
14849 CPPFLAGS="$ac_save_CPPFLAGS"
14851 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14852 case "x$with_oss" in
14853 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14854 xno) ;;
14855 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14856 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14857 esac
14858 enable_wineoss_drv=${enable_wineoss_drv:-no}
14861 if test "x$with_udev" != "xno"
14862 then
14863 if ${UDEV_CFLAGS:+false} :; then :
14864 if ${PKG_CONFIG+:} false; then :
14865 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14869 if ${UDEV_LIBS:+false} :; then :
14870 if ${PKG_CONFIG+:} false; then :
14871 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14875 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14876 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14877 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14878 ac_save_CPPFLAGS=$CPPFLAGS
14879 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14880 for ac_header in libudev.h
14881 do :
14882 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14883 if test "x$ac_cv_header_libudev_h" = xyes; then :
14884 cat >>confdefs.h <<_ACEOF
14885 #define HAVE_LIBUDEV_H 1
14886 _ACEOF
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14888 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14889 if ${ac_cv_lib_udev_udev_new+:} false; then :
14890 $as_echo_n "(cached) " >&6
14891 else
14892 ac_check_lib_save_LIBS=$LIBS
14893 LIBS="-ludev $UDEV_LIBS $LIBS"
14894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14895 /* end confdefs.h. */
14897 /* Override any GCC internal prototype to avoid an error.
14898 Use char because int might match the return type of a GCC
14899 builtin and then its argument prototype would still apply. */
14900 #ifdef __cplusplus
14901 extern "C"
14902 #endif
14903 char udev_new ();
14905 main ()
14907 return udev_new ();
14909 return 0;
14911 _ACEOF
14912 if ac_fn_c_try_link "$LINENO"; then :
14913 ac_cv_lib_udev_udev_new=yes
14914 else
14915 ac_cv_lib_udev_udev_new=no
14917 rm -f core conftest.err conftest.$ac_objext \
14918 conftest$ac_exeext conftest.$ac_ext
14919 LIBS=$ac_check_lib_save_LIBS
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14922 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14923 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14925 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14927 else
14928 UDEV_LIBS=""
14931 else
14932 UDEV_LIBS=""
14935 done
14937 CPPFLAGS=$ac_save_CPPFLAGS
14940 if test "x$UDEV_LIBS" = "x"; then :
14941 case "x$with_udev" in
14942 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14943 xno) ;;
14944 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14945 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14946 esac
14950 if test "x$with_unwind" != xno
14951 then
14952 if ${UNWIND_CFLAGS:+false} :; then :
14953 if ${PKG_CONFIG+:} false; then :
14954 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14958 if ${UNWIND_LIBS:+false} :; then :
14959 if ${PKG_CONFIG+:} false; then :
14960 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14964 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14965 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14966 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14967 ac_save_CPPFLAGS=$CPPFLAGS
14968 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14970 $as_echo_n "checking for unw_step... " >&6; }
14971 if ${wine_cv_have_unw_step+:} false; then :
14972 $as_echo_n "(cached) " >&6
14973 else
14974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */
14976 #define UNW_LOCAL_ONLY
14977 #include <libunwind.h>
14979 main ()
14981 unw_cursor_t cursor; unw_step( &cursor );
14983 return 0;
14985 _ACEOF
14986 if ac_fn_c_try_link "$LINENO"; then :
14987 wine_cv_have_unw_step="yes"
14988 else
14989 wine_cv_have_unw_step="no"
14991 rm -f core conftest.err conftest.$ac_objext \
14992 conftest$ac_exeext conftest.$ac_ext
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14995 $as_echo "$wine_cv_have_unw_step" >&6; }
14996 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14997 then
14998 save_libs=$LIBS
14999 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
15000 LIBS="$UNWIND_LIBS $LIBS"
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15002 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15003 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15004 $as_echo_n "(cached) " >&6
15005 else
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15008 #define UNW_LOCAL_ONLY
15009 #include <libunwind.h>
15011 main ()
15013 unw_cursor_t cursor; unw_step( &cursor );
15015 return 0;
15017 _ACEOF
15018 if ac_fn_c_try_link "$LINENO"; then :
15019 wine_cv_have_libunwind_unw_step="yes"
15020 else
15021 wine_cv_have_libunwind_unw_step="no"
15023 rm -f core conftest.err conftest.$ac_objext \
15024 conftest$ac_exeext conftest.$ac_ext
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15027 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15028 LIBS=$save_libs
15030 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15031 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15032 then
15034 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15037 CPPFLAGS=$ac_save_CPPFLAGS
15040 case $host in
15041 aarch64*|*-darwin*)
15042 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15043 case "x$with_unwind" in
15044 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15045 xno) ;;
15046 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15047 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15048 esac
15050 fi ;;
15051 esac
15053 if test "x$with_sdl" != "xno"
15054 then
15055 if ${SDL2_CFLAGS:+false} :; then :
15056 if ${PKG_CONFIG+:} false; then :
15057 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15061 if ${SDL2_LIBS:+false} :; then :
15062 if ${PKG_CONFIG+:} false; then :
15063 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15067 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15068 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15069 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15070 ac_save_CPPFLAGS=$CPPFLAGS
15071 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15072 for ac_header in SDL.h
15073 do :
15074 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15075 if test "x$ac_cv_header_SDL_h" = xyes; then :
15076 cat >>confdefs.h <<_ACEOF
15077 #define HAVE_SDL_H 1
15078 _ACEOF
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15080 $as_echo_n "checking for -lSDL2... " >&6; }
15081 if ${ac_cv_lib_soname_SDL2+:} false; then :
15082 $as_echo_n "(cached) " >&6
15083 else
15084 ac_check_soname_save_LIBS=$LIBS
15085 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h. */
15089 /* Override any GCC internal prototype to avoid an error.
15090 Use char because int might match the return type of a GCC
15091 builtin and then its argument prototype would still apply. */
15092 #ifdef __cplusplus
15093 extern "C"
15094 #endif
15095 char SDL_Init ();
15097 main ()
15099 return SDL_Init ();
15101 return 0;
15103 _ACEOF
15104 if ac_fn_c_try_link "$LINENO"; then :
15105 case "$LIBEXT" in
15106 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15107 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'` ;;
15108 *) 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'`
15109 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15110 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15111 fi ;;
15112 esac
15113 else
15114 ac_cv_lib_soname_SDL2=
15116 rm -f core conftest.err conftest.$ac_objext \
15117 conftest$ac_exeext conftest.$ac_ext
15118 LIBS=$ac_check_soname_save_LIBS
15120 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15122 $as_echo "not found" >&6; }
15124 else
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15126 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15128 cat >>confdefs.h <<_ACEOF
15129 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15130 _ACEOF
15136 done
15138 CPPFLAGS=$ac_save_CPPFLAGS
15141 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15142 case "x$with_sdl" in
15143 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15144 xno) ;;
15145 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15146 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15147 esac
15151 if test "x$with_faudio" != "xno"
15152 then
15153 if ${FAUDIO_CFLAGS:+false} :; then :
15154 if ${PKG_CONFIG+:} false; then :
15155 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15159 if ${FAUDIO_LIBS:+false} :; then :
15160 if ${PKG_CONFIG+:} false; then :
15161 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15165 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15166 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15167 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15168 ac_save_CPPFLAGS=$CPPFLAGS
15169 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15170 for ac_header in FAudio.h
15171 do :
15172 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15173 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15174 cat >>confdefs.h <<_ACEOF
15175 #define HAVE_FAUDIO_H 1
15176 _ACEOF
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15178 $as_echo_n "checking for -lFAudio... " >&6; }
15179 if ${ac_cv_lib_soname_FAudio+:} false; then :
15180 $as_echo_n "(cached) " >&6
15181 else
15182 ac_check_soname_save_LIBS=$LIBS
15183 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15187 /* Override any GCC internal prototype to avoid an error.
15188 Use char because int might match the return type of a GCC
15189 builtin and then its argument prototype would still apply. */
15190 #ifdef __cplusplus
15191 extern "C"
15192 #endif
15193 char FAudioCreate ();
15195 main ()
15197 return FAudioCreate ();
15199 return 0;
15201 _ACEOF
15202 if ac_fn_c_try_link "$LINENO"; then :
15203 case "$LIBEXT" in
15204 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15205 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'` ;;
15206 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15207 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15208 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15209 fi ;;
15210 esac
15211 else
15212 ac_cv_lib_soname_FAudio=
15214 rm -f core conftest.err conftest.$ac_objext \
15215 conftest$ac_exeext conftest.$ac_ext
15216 LIBS=$ac_check_soname_save_LIBS
15218 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15220 $as_echo "not found" >&6; }
15222 else
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15224 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15226 cat >>confdefs.h <<_ACEOF
15227 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15228 _ACEOF
15234 done
15236 ac_wine_check_funcs_save_LIBS="$LIBS"
15237 LIBS="$LIBS $FAUDIO_LIBS"
15238 for ac_func in FAudio_CommitOperationSet \
15239 F3DAudioInitialize8 \
15240 FAudioLinkedVersion \
15241 FAudioCreateReverb9WithCustomAllocatorEXT
15242 do :
15243 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15244 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15245 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15246 cat >>confdefs.h <<_ACEOF
15247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15248 _ACEOF
15251 done
15253 LIBS="$ac_wine_check_funcs_save_LIBS"
15255 CPPFLAGS=$ac_save_CPPFLAGS
15258 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15259 case "x$with_faudio" in
15260 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15261 xno) ;;
15262 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15263 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15264 esac
15268 if test "x$with_capi" != "xno"
15269 then
15270 if ${CAPI20_CFLAGS:+false} :; then :
15271 if ${PKG_CONFIG+:} false; then :
15272 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15276 if ${CAPI20_LIBS:+false} :; then :
15277 if ${PKG_CONFIG+:} false; then :
15278 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15283 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15284 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15285 ac_save_CPPFLAGS=$CPPFLAGS
15286 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15287 for ac_header in capi20.h linux/capi.h
15288 do :
15289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15290 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15292 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15293 cat >>confdefs.h <<_ACEOF
15294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15295 _ACEOF
15299 done
15301 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15302 then
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15304 $as_echo_n "checking for -lcapi20... " >&6; }
15305 if ${ac_cv_lib_soname_capi20+:} false; then :
15306 $as_echo_n "(cached) " >&6
15307 else
15308 ac_check_soname_save_LIBS=$LIBS
15309 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15313 /* Override any GCC internal prototype to avoid an error.
15314 Use char because int might match the return type of a GCC
15315 builtin and then its argument prototype would still apply. */
15316 #ifdef __cplusplus
15317 extern "C"
15318 #endif
15319 char capi20_register ();
15321 main ()
15323 return capi20_register ();
15325 return 0;
15327 _ACEOF
15328 if ac_fn_c_try_link "$LINENO"; then :
15329 case "$LIBEXT" in
15330 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15331 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'` ;;
15332 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15333 if ${ac_cv_lib_soname_capi20:+false} :; then :
15334 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15335 fi ;;
15336 esac
15337 else
15338 ac_cv_lib_soname_capi20=
15340 rm -f core conftest.err conftest.$ac_objext \
15341 conftest$ac_exeext conftest.$ac_ext
15342 LIBS=$ac_check_soname_save_LIBS
15344 if ${ac_cv_lib_soname_capi20:+false} :; then :
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15346 $as_echo "not found" >&6; }
15348 else
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15350 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15352 cat >>confdefs.h <<_ACEOF
15353 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15354 _ACEOF
15359 CPPFLAGS=$ac_save_CPPFLAGS
15362 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15363 case "x$with_capi" in
15364 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15365 xno) ;;
15366 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15367 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15368 esac
15372 if test "x$with_cups" != "xno"
15373 then
15374 if ${CUPS_CFLAGS:+false} :; then :
15375 if ${PKG_CONFIG+:} false; then :
15376 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15379 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15380 if ${CUPS_LIBS:+false} :; then :
15381 if ${PKG_CONFIG+:} false; then :
15382 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15385 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15386 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15387 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15388 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15389 ac_save_CPPFLAGS=$CPPFLAGS
15390 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15391 for ac_header in cups/cups.h cups/ppd.h
15392 do :
15393 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15394 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15395 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15396 cat >>confdefs.h <<_ACEOF
15397 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15398 _ACEOF
15402 done
15404 if test "$ac_cv_header_cups_cups_h" = "yes"
15405 then
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15407 $as_echo_n "checking for -lcups... " >&6; }
15408 if ${ac_cv_lib_soname_cups+:} false; then :
15409 $as_echo_n "(cached) " >&6
15410 else
15411 ac_check_soname_save_LIBS=$LIBS
15412 LIBS="-lcups $CUPS_LIBS $LIBS"
15413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15414 /* end confdefs.h. */
15416 /* Override any GCC internal prototype to avoid an error.
15417 Use char because int might match the return type of a GCC
15418 builtin and then its argument prototype would still apply. */
15419 #ifdef __cplusplus
15420 extern "C"
15421 #endif
15422 char cupsGetDefault ();
15424 main ()
15426 return cupsGetDefault ();
15428 return 0;
15430 _ACEOF
15431 if ac_fn_c_try_link "$LINENO"; then :
15432 case "$LIBEXT" in
15433 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15434 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'` ;;
15435 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15436 if ${ac_cv_lib_soname_cups:+false} :; then :
15437 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15438 fi ;;
15439 esac
15440 else
15441 ac_cv_lib_soname_cups=
15443 rm -f core conftest.err conftest.$ac_objext \
15444 conftest$ac_exeext conftest.$ac_ext
15445 LIBS=$ac_check_soname_save_LIBS
15447 if ${ac_cv_lib_soname_cups:+false} :; then :
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15449 $as_echo "not found" >&6; }
15450 CUPS_LIBS=""
15451 else
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15453 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15455 cat >>confdefs.h <<_ACEOF
15456 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15457 _ACEOF
15461 else
15462 CUPS_CFLAGS=""
15463 CUPS_LIBS=""
15465 CPPFLAGS=$ac_save_CPPFLAGS
15468 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15469 case "x$with_cups" in
15470 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15471 xno) ;;
15472 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15473 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15474 esac
15478 if test "x$with_fontconfig" != "xno"
15479 then
15480 if ${FONTCONFIG_CFLAGS:+false} :; then :
15481 if ${PKG_CONFIG+:} false; then :
15482 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15485 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15486 if ${FONTCONFIG_LIBS:+false} :; then :
15487 if ${PKG_CONFIG+:} false; then :
15488 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15491 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15493 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15494 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15495 ac_save_CPPFLAGS=$CPPFLAGS
15496 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15497 for ac_header in fontconfig/fontconfig.h
15498 do :
15499 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15500 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15501 cat >>confdefs.h <<_ACEOF
15502 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15503 _ACEOF
15507 done
15509 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15510 then
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15512 $as_echo_n "checking for -lfontconfig... " >&6; }
15513 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15514 $as_echo_n "(cached) " >&6
15515 else
15516 ac_check_soname_save_LIBS=$LIBS
15517 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15521 /* Override any GCC internal prototype to avoid an error.
15522 Use char because int might match the return type of a GCC
15523 builtin and then its argument prototype would still apply. */
15524 #ifdef __cplusplus
15525 extern "C"
15526 #endif
15527 char FcInit ();
15529 main ()
15531 return FcInit ();
15533 return 0;
15535 _ACEOF
15536 if ac_fn_c_try_link "$LINENO"; then :
15537 case "$LIBEXT" in
15538 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15539 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'` ;;
15540 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15541 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15542 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15543 fi ;;
15544 esac
15545 else
15546 ac_cv_lib_soname_fontconfig=
15548 rm -f core conftest.err conftest.$ac_objext \
15549 conftest$ac_exeext conftest.$ac_ext
15550 LIBS=$ac_check_soname_save_LIBS
15552 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15554 $as_echo "not found" >&6; }
15555 FONTCONFIG_CFLAGS=""
15556 else
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15558 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15560 cat >>confdefs.h <<_ACEOF
15561 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15562 _ACEOF
15566 else
15567 FONTCONFIG_CFLAGS=""
15569 CPPFLAGS=$ac_save_CPPFLAGS
15572 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15573 case "x$with_fontconfig" in
15574 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15575 xno) ;;
15576 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15577 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15578 esac
15582 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15583 then
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15585 $as_echo_n "checking for -lgsm... " >&6; }
15586 if ${ac_cv_lib_soname_gsm+:} false; then :
15587 $as_echo_n "(cached) " >&6
15588 else
15589 ac_check_soname_save_LIBS=$LIBS
15590 LIBS="-lgsm $LIBS"
15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15594 /* Override any GCC internal prototype to avoid an error.
15595 Use char because int might match the return type of a GCC
15596 builtin and then its argument prototype would still apply. */
15597 #ifdef __cplusplus
15598 extern "C"
15599 #endif
15600 char gsm_create ();
15602 main ()
15604 return gsm_create ();
15606 return 0;
15608 _ACEOF
15609 if ac_fn_c_try_link "$LINENO"; then :
15610 case "$LIBEXT" in
15611 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15612 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'` ;;
15613 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15614 if ${ac_cv_lib_soname_gsm:+false} :; then :
15615 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15616 fi ;;
15617 esac
15618 else
15619 ac_cv_lib_soname_gsm=
15621 rm -f core conftest.err conftest.$ac_objext \
15622 conftest$ac_exeext conftest.$ac_ext
15623 LIBS=$ac_check_soname_save_LIBS
15625 if ${ac_cv_lib_soname_gsm:+false} :; then :
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15627 $as_echo "not found" >&6; }
15629 else
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15631 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15633 cat >>confdefs.h <<_ACEOF
15634 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15635 _ACEOF
15640 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15641 case "x$with_gsm" in
15642 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15643 xno) ;;
15644 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15645 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15646 esac
15650 if test "x$with_krb5" != "xno"
15651 then
15652 if ${KRB5_CFLAGS:+false} :; then :
15653 if ${PKG_CONFIG+:} false; then :
15654 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15657 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15658 if ${KRB5_LIBS:+false} :; then :
15659 if ${PKG_CONFIG+:} false; then :
15660 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15663 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15665 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15666 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15667 ac_save_CPPFLAGS=$CPPFLAGS
15668 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15669 for ac_header in krb5/krb5.h
15670 do :
15671 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15672 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15673 cat >>confdefs.h <<_ACEOF
15674 #define HAVE_KRB5_KRB5_H 1
15675 _ACEOF
15679 done
15681 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15682 then
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15684 $as_echo_n "checking for -lkrb5... " >&6; }
15685 if ${ac_cv_lib_soname_krb5+:} false; then :
15686 $as_echo_n "(cached) " >&6
15687 else
15688 ac_check_soname_save_LIBS=$LIBS
15689 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15693 /* Override any GCC internal prototype to avoid an error.
15694 Use char because int might match the return type of a GCC
15695 builtin and then its argument prototype would still apply. */
15696 #ifdef __cplusplus
15697 extern "C"
15698 #endif
15699 char krb5_is_config_principal ();
15701 main ()
15703 return krb5_is_config_principal ();
15705 return 0;
15707 _ACEOF
15708 if ac_fn_c_try_link "$LINENO"; then :
15709 case "$LIBEXT" in
15710 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15711 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'` ;;
15712 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15713 if ${ac_cv_lib_soname_krb5:+false} :; then :
15714 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15715 fi ;;
15716 esac
15717 else
15718 ac_cv_lib_soname_krb5=
15720 rm -f core conftest.err conftest.$ac_objext \
15721 conftest$ac_exeext conftest.$ac_ext
15722 LIBS=$ac_check_soname_save_LIBS
15724 if ${ac_cv_lib_soname_krb5:+false} :; then :
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15726 $as_echo "not found" >&6; }
15727 KRB5_CFLAGS=""
15728 else
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15730 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15732 cat >>confdefs.h <<_ACEOF
15733 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15734 _ACEOF
15738 else
15739 KRB5_CFLAGS=""
15741 CPPFLAGS=$ac_save_CPPFLAGS
15744 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15745 case "x$with_krb5" in
15746 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15747 xno) ;;
15748 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15749 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15750 esac
15753 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15755 if test "x$with_gssapi" != "xno"
15756 then
15757 if ${GSSAPI_CFLAGS:+false} :; then :
15758 if ${PKG_CONFIG+:} false; then :
15759 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15762 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15763 if ${GSSAPI_LIBS:+false} :; then :
15764 if ${PKG_CONFIG+:} false; then :
15765 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15768 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15770 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15771 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15772 ac_save_CPPFLAGS=$CPPFLAGS
15773 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15774 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15775 do :
15776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15777 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15779 cat >>confdefs.h <<_ACEOF
15780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15781 _ACEOF
15785 done
15787 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15788 then
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15790 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15791 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15792 $as_echo_n "(cached) " >&6
15793 else
15794 ac_check_soname_save_LIBS=$LIBS
15795 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15797 /* end confdefs.h. */
15799 /* Override any GCC internal prototype to avoid an error.
15800 Use char because int might match the return type of a GCC
15801 builtin and then its argument prototype would still apply. */
15802 #ifdef __cplusplus
15803 extern "C"
15804 #endif
15805 char gss_init_sec_context ();
15807 main ()
15809 return gss_init_sec_context ();
15811 return 0;
15813 _ACEOF
15814 if ac_fn_c_try_link "$LINENO"; then :
15815 case "$LIBEXT" in
15816 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15817 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'` ;;
15818 *) 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'`
15819 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15820 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15821 fi ;;
15822 esac
15823 else
15824 ac_cv_lib_soname_gssapi_krb5=
15826 rm -f core conftest.err conftest.$ac_objext \
15827 conftest$ac_exeext conftest.$ac_ext
15828 LIBS=$ac_check_soname_save_LIBS
15830 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15832 $as_echo "not found" >&6; }
15833 GSSAPI_CFLAGS=""
15834 else
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15836 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15838 cat >>confdefs.h <<_ACEOF
15839 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15840 _ACEOF
15844 else
15845 GSSAPI_CFLAGS=""
15847 CPPFLAGS=$ac_save_CPPFLAGS
15850 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15851 case "x$with_gssapi" in
15852 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15853 xno) ;;
15854 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15855 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15856 esac
15860 if test "x$with_jpeg" != "xno"
15861 then
15862 if ${JPEG_CFLAGS:+false} :; then :
15863 if ${PKG_CONFIG+:} false; then :
15864 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15868 if ${JPEG_LIBS:+false} :; then :
15869 if ${PKG_CONFIG+:} false; then :
15870 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15875 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15876 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15877 ac_save_CPPFLAGS=$CPPFLAGS
15878 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15879 for ac_header in jpeglib.h
15880 do :
15881 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15882 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define HAVE_JPEGLIB_H 1
15885 _ACEOF
15889 done
15891 if test "$ac_cv_header_jpeglib_h" = "yes"
15892 then
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15894 $as_echo_n "checking for -ljpeg... " >&6; }
15895 if ${ac_cv_lib_soname_jpeg+:} false; then :
15896 $as_echo_n "(cached) " >&6
15897 else
15898 ac_check_soname_save_LIBS=$LIBS
15899 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15901 /* end confdefs.h. */
15903 /* Override any GCC internal prototype to avoid an error.
15904 Use char because int might match the return type of a GCC
15905 builtin and then its argument prototype would still apply. */
15906 #ifdef __cplusplus
15907 extern "C"
15908 #endif
15909 char jpeg_start_decompress ();
15911 main ()
15913 return jpeg_start_decompress ();
15915 return 0;
15917 _ACEOF
15918 if ac_fn_c_try_link "$LINENO"; then :
15919 case "$LIBEXT" in
15920 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15921 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'` ;;
15922 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15923 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15924 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15925 fi ;;
15926 esac
15927 else
15928 ac_cv_lib_soname_jpeg=
15930 rm -f core conftest.err conftest.$ac_objext \
15931 conftest$ac_exeext conftest.$ac_ext
15932 LIBS=$ac_check_soname_save_LIBS
15934 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15936 $as_echo "not found" >&6; }
15937 JPEG_CFLAGS=""
15938 else
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15940 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15942 cat >>confdefs.h <<_ACEOF
15943 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15944 _ACEOF
15948 else
15949 JPEG_CFLAGS=""
15951 CPPFLAGS=$ac_save_CPPFLAGS
15954 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15955 case "x$with_jpeg" in
15956 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15957 xno) ;;
15958 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15959 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15960 esac
15964 if test "x$with_jxrlib" != "xno"
15965 then
15966 if ${JXRLIB_CFLAGS:+false} :; then :
15967 if ${PKG_CONFIG+:} false; then :
15968 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15971 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15972 if ${JXRLIB_LIBS:+false} :; then :
15973 if ${PKG_CONFIG+:} false; then :
15974 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15979 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15980 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15981 ac_save_CPPFLAGS=$CPPFLAGS
15982 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15983 for ac_header in JXRGlue.h
15984 do :
15985 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15987 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15988 cat >>confdefs.h <<_ACEOF
15989 #define HAVE_JXRGLUE_H 1
15990 _ACEOF
15994 done
15996 if test "$ac_cv_header_JXRGlue_h" = "yes"
15997 then
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15999 $as_echo_n "checking for -ljxrglue... " >&6; }
16000 if ${ac_cv_lib_soname_jxrglue+:} false; then :
16001 $as_echo_n "(cached) " >&6
16002 else
16003 ac_check_soname_save_LIBS=$LIBS
16004 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
16005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16011 #ifdef __cplusplus
16012 extern "C"
16013 #endif
16014 char PKImageDecode_Create_WMP ();
16016 main ()
16018 return PKImageDecode_Create_WMP ();
16020 return 0;
16022 _ACEOF
16023 if ac_fn_c_try_link "$LINENO"; then :
16024 case "$LIBEXT" in
16025 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16026 dylib) ac_cv_lib_soname_jxrglue=`$OTOOL -L conftest$ac_exeext | grep "libjxrglue\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjxrglue\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16027 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16028 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16029 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16030 fi ;;
16031 esac
16032 else
16033 ac_cv_lib_soname_jxrglue=
16035 rm -f core conftest.err conftest.$ac_objext \
16036 conftest$ac_exeext conftest.$ac_ext
16037 LIBS=$ac_check_soname_save_LIBS
16039 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16041 $as_echo "not found" >&6; }
16042 JXRLIB_CFLAGS=""
16043 else
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16045 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16047 cat >>confdefs.h <<_ACEOF
16048 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16049 _ACEOF
16053 else
16054 JXRLIB_CFLAGS=""
16056 CPPFLAGS=$ac_save_CPPFLAGS
16059 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16060 case "x$with_jxrlib" in
16061 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16062 xno) ;;
16063 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16064 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16065 esac
16069 if test "x$with_png" != "xno"
16070 then
16071 if ${PNG_CFLAGS:+false} :; then :
16072 if ${PKG_CONFIG+:} false; then :
16073 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16076 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16077 if ${PNG_LIBS:+false} :; then :
16078 if ${PKG_CONFIG+:} false; then :
16079 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16082 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16084 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16085 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16086 ac_save_CPPFLAGS=$CPPFLAGS
16087 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16088 for ac_header in png.h
16089 do :
16090 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16091 if test "x$ac_cv_header_png_h" = xyes; then :
16092 cat >>confdefs.h <<_ACEOF
16093 #define HAVE_PNG_H 1
16094 _ACEOF
16098 done
16100 if test "$ac_cv_header_png_h" = "yes"
16101 then
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16103 $as_echo_n "checking for -lpng... " >&6; }
16104 if ${ac_cv_lib_soname_png+:} false; then :
16105 $as_echo_n "(cached) " >&6
16106 else
16107 ac_check_soname_save_LIBS=$LIBS
16108 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16110 /* end confdefs.h. */
16112 /* Override any GCC internal prototype to avoid an error.
16113 Use char because int might match the return type of a GCC
16114 builtin and then its argument prototype would still apply. */
16115 #ifdef __cplusplus
16116 extern "C"
16117 #endif
16118 char png_create_read_struct ();
16120 main ()
16122 return png_create_read_struct ();
16124 return 0;
16126 _ACEOF
16127 if ac_fn_c_try_link "$LINENO"; then :
16128 case "$LIBEXT" in
16129 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16130 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'` ;;
16131 *) 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'`
16132 if ${ac_cv_lib_soname_png:+false} :; then :
16133 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16134 fi ;;
16135 esac
16136 else
16137 ac_cv_lib_soname_png=
16139 rm -f core conftest.err conftest.$ac_objext \
16140 conftest$ac_exeext conftest.$ac_ext
16141 LIBS=$ac_check_soname_save_LIBS
16143 if ${ac_cv_lib_soname_png:+false} :; then :
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16145 $as_echo "not found" >&6; }
16146 PNG_CFLAGS=""
16147 else
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16149 $as_echo "$ac_cv_lib_soname_png" >&6; }
16151 cat >>confdefs.h <<_ACEOF
16152 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16153 _ACEOF
16157 else
16158 PNG_CFLAGS=""
16160 CPPFLAGS=$ac_save_CPPFLAGS
16163 if test "x$ac_cv_lib_soname_png" = "x"; then :
16164 case "x$with_png" in
16165 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16166 xno) ;;
16167 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16168 This is an error since --with-png was requested." "$LINENO" 5 ;;
16169 esac
16173 if test "x$with_tiff" != "xno"
16174 then
16175 if ${TIFF_CFLAGS:+false} :; then :
16176 if ${PKG_CONFIG+:} false; then :
16177 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16181 if ${TIFF_LIBS:+false} :; then :
16182 if ${PKG_CONFIG+:} false; then :
16183 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16188 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16189 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16190 ac_save_CPPFLAGS=$CPPFLAGS
16191 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16192 for ac_header in tiffio.h
16193 do :
16194 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16195 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16196 cat >>confdefs.h <<_ACEOF
16197 #define HAVE_TIFFIO_H 1
16198 _ACEOF
16202 done
16204 if test "$ac_cv_header_tiffio_h" = "yes"
16205 then
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16207 $as_echo_n "checking for -ltiff... " >&6; }
16208 if ${ac_cv_lib_soname_tiff+:} false; then :
16209 $as_echo_n "(cached) " >&6
16210 else
16211 ac_check_soname_save_LIBS=$LIBS
16212 LIBS="-ltiff $TIFF_LIBS $LIBS"
16213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16216 /* Override any GCC internal prototype to avoid an error.
16217 Use char because int might match the return type of a GCC
16218 builtin and then its argument prototype would still apply. */
16219 #ifdef __cplusplus
16220 extern "C"
16221 #endif
16222 char TIFFClientOpen ();
16224 main ()
16226 return TIFFClientOpen ();
16228 return 0;
16230 _ACEOF
16231 if ac_fn_c_try_link "$LINENO"; then :
16232 case "$LIBEXT" in
16233 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16234 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'` ;;
16235 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16236 if ${ac_cv_lib_soname_tiff:+false} :; then :
16237 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16238 fi ;;
16239 esac
16240 else
16241 ac_cv_lib_soname_tiff=
16243 rm -f core conftest.err conftest.$ac_objext \
16244 conftest$ac_exeext conftest.$ac_ext
16245 LIBS=$ac_check_soname_save_LIBS
16247 if ${ac_cv_lib_soname_tiff:+false} :; then :
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16249 $as_echo "not found" >&6; }
16251 else
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16253 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16255 cat >>confdefs.h <<_ACEOF
16256 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16257 _ACEOF
16262 CPPFLAGS=$ac_save_CPPFLAGS
16265 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16266 case "x$with_tiff" in
16267 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16268 xno) ;;
16269 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16270 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16271 esac
16275 if test "x$with_mpg123" != "xno"
16276 then
16277 if ${MPG123_CFLAGS:+false} :; then :
16278 if ${PKG_CONFIG+:} false; then :
16279 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16283 if ${MPG123_LIBS:+false} :; then :
16284 if ${PKG_CONFIG+:} false; then :
16285 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16289 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16290 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16291 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16292 ac_save_CPPFLAGS=$CPPFLAGS
16293 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16294 for ac_header in mpg123.h
16295 do :
16296 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16297 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16298 cat >>confdefs.h <<_ACEOF
16299 #define HAVE_MPG123_H 1
16300 _ACEOF
16304 done
16306 if test "$ac_cv_header_mpg123_h" = "yes"
16307 then
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16309 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16310 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16311 $as_echo_n "(cached) " >&6
16312 else
16313 ac_check_lib_save_LIBS=$LIBS
16314 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16316 /* end confdefs.h. */
16318 /* Override any GCC internal prototype to avoid an error.
16319 Use char because int might match the return type of a GCC
16320 builtin and then its argument prototype would still apply. */
16321 #ifdef __cplusplus
16322 extern "C"
16323 #endif
16324 char mpg123_feed ();
16326 main ()
16328 return mpg123_feed ();
16330 return 0;
16332 _ACEOF
16333 if ac_fn_c_try_link "$LINENO"; then :
16334 ac_cv_lib_mpg123_mpg123_feed=yes
16335 else
16336 ac_cv_lib_mpg123_mpg123_feed=no
16338 rm -f core conftest.err conftest.$ac_objext \
16339 conftest$ac_exeext conftest.$ac_ext
16340 LIBS=$ac_check_lib_save_LIBS
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16343 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16344 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16346 else
16347 MPG123_LIBS=""
16350 else
16351 MPG123_CFLAGS=""
16352 MPG123_LIBS=""
16354 CPPFLAGS=$ac_save_CPPFLAGS
16357 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16358 case "x$with_mpg123" in
16359 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16360 xno) ;;
16361 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16362 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16363 esac
16364 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16366 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16368 if test "$ac_cv_header_AL_al_h" = "yes"
16369 then
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16371 $as_echo_n "checking for -lopenal... " >&6; }
16372 if ${ac_cv_lib_soname_openal+:} false; then :
16373 $as_echo_n "(cached) " >&6
16374 else
16375 ac_check_soname_save_LIBS=$LIBS
16376 LIBS="-lopenal $LIBS"
16377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h. */
16380 /* Override any GCC internal prototype to avoid an error.
16381 Use char because int might match the return type of a GCC
16382 builtin and then its argument prototype would still apply. */
16383 #ifdef __cplusplus
16384 extern "C"
16385 #endif
16386 char alGetSource3i ();
16388 main ()
16390 return alGetSource3i ();
16392 return 0;
16394 _ACEOF
16395 if ac_fn_c_try_link "$LINENO"; then :
16396 case "$LIBEXT" in
16397 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16398 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'` ;;
16399 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16400 if ${ac_cv_lib_soname_openal:+false} :; then :
16401 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16402 fi ;;
16403 esac
16404 else
16405 ac_cv_lib_soname_openal=
16407 rm -f core conftest.err conftest.$ac_objext \
16408 conftest$ac_exeext conftest.$ac_ext
16409 LIBS=$ac_check_soname_save_LIBS
16411 if ${ac_cv_lib_soname_openal:+false} :; then :
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16413 $as_echo "not found" >&6; }
16415 else
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16417 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16419 cat >>confdefs.h <<_ACEOF
16420 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16421 _ACEOF
16423 OPENAL_LIBS="-lopenal"
16425 ac_cv_lib_openal=yes
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_OPENAL 1
16429 _ACEOF
16433 if test "x$ac_cv_lib_openal" != xyes; then :
16434 case "x$with_openal" in
16435 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16436 xno) ;;
16437 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16438 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16439 esac
16440 enable_openal32=${enable_openal32:-no}
16443 if test "x$ac_cv_lib_soname_FAudio" = "x"
16444 then
16445 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16446 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16447 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16448 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16449 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16450 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16451 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16452 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16453 enable_xactengine2_0=${enable_xactengine2_0:-no}
16454 enable_xactengine2_4=${enable_xactengine2_4:-no}
16455 enable_xactengine2_7=${enable_xactengine2_7:-no}
16456 enable_xactengine2_9=${enable_xactengine2_9:-no}
16457 enable_xactengine3_0=${enable_xactengine3_0:-no}
16458 enable_xactengine3_1=${enable_xactengine3_1:-no}
16459 enable_xactengine3_2=${enable_xactengine3_2:-no}
16460 enable_xactengine3_3=${enable_xactengine3_3:-no}
16461 enable_xactengine3_4=${enable_xactengine3_4:-no}
16462 enable_xactengine3_5=${enable_xactengine3_5:-no}
16463 enable_xactengine3_6=${enable_xactengine3_6:-no}
16464 enable_xactengine3_7=${enable_xactengine3_7:-no}
16465 enable_xapofx1_1=${enable_xapofx1_1:-no}
16466 enable_xapofx1_2=${enable_xapofx1_2:-no}
16467 enable_xapofx1_3=${enable_xapofx1_3:-no}
16468 enable_xapofx1_4=${enable_xapofx1_4:-no}
16469 enable_xapofx1_5=${enable_xapofx1_5:-no}
16470 enable_xaudio2_0=${enable_xaudio2_0:-no}
16471 enable_xaudio2_1=${enable_xaudio2_1:-no}
16472 enable_xaudio2_2=${enable_xaudio2_2:-no}
16473 enable_xaudio2_3=${enable_xaudio2_3:-no}
16474 enable_xaudio2_4=${enable_xaudio2_4:-no}
16475 enable_xaudio2_5=${enable_xaudio2_5:-no}
16476 enable_xaudio2_6=${enable_xaudio2_6:-no}
16477 enable_xaudio2_7=${enable_xaudio2_7:-no}
16478 enable_xaudio2_8=${enable_xaudio2_8:-no}
16479 enable_xaudio2_9=${enable_xaudio2_9:-no}
16482 if test "$ac_cv_header_libprocstat_h" = "yes"
16483 then
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16485 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16486 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16487 $as_echo_n "(cached) " >&6
16488 else
16489 ac_check_lib_save_LIBS=$LIBS
16490 LIBS="-lprocstat $LIBS"
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16494 /* Override any GCC internal prototype to avoid an error.
16495 Use char because int might match the return type of a GCC
16496 builtin and then its argument prototype would still apply. */
16497 #ifdef __cplusplus
16498 extern "C"
16499 #endif
16500 char procstat_open_sysctl ();
16502 main ()
16504 return procstat_open_sysctl ();
16506 return 0;
16508 _ACEOF
16509 if ac_fn_c_try_link "$LINENO"; then :
16510 ac_cv_lib_procstat_procstat_open_sysctl=yes
16511 else
16512 ac_cv_lib_procstat_procstat_open_sysctl=no
16514 rm -f core conftest.err conftest.$ac_objext \
16515 conftest$ac_exeext conftest.$ac_ext
16516 LIBS=$ac_check_lib_save_LIBS
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16519 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16520 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16522 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16524 PROCSTAT_LIBS="-lprocstat"
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16531 $as_echo_n "checking for -lodbc... " >&6; }
16532 if ${ac_cv_lib_soname_odbc+:} false; then :
16533 $as_echo_n "(cached) " >&6
16534 else
16535 ac_check_soname_save_LIBS=$LIBS
16536 LIBS="-lodbc $LIBS"
16537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16540 /* Override any GCC internal prototype to avoid an error.
16541 Use char because int might match the return type of a GCC
16542 builtin and then its argument prototype would still apply. */
16543 #ifdef __cplusplus
16544 extern "C"
16545 #endif
16546 char SQLConnect ();
16548 main ()
16550 return SQLConnect ();
16552 return 0;
16554 _ACEOF
16555 if ac_fn_c_try_link "$LINENO"; then :
16556 case "$LIBEXT" in
16557 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16558 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'` ;;
16559 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16560 if ${ac_cv_lib_soname_odbc:+false} :; then :
16561 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16562 fi ;;
16563 esac
16564 else
16565 ac_cv_lib_soname_odbc=
16567 rm -f core conftest.err conftest.$ac_objext \
16568 conftest$ac_exeext conftest.$ac_ext
16569 LIBS=$ac_check_soname_save_LIBS
16571 if ${ac_cv_lib_soname_odbc:+false} :; then :
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16573 $as_echo "not found" >&6; }
16574 cat >>confdefs.h <<_ACEOF
16575 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16576 _ACEOF
16578 else
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16580 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16582 cat >>confdefs.h <<_ACEOF
16583 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16584 _ACEOF
16589 if test "x$with_netapi" != "xno"
16590 then
16591 if ${NETAPI_CFLAGS:+false} :; then :
16592 if ${PKG_CONFIG+:} false; then :
16593 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16597 if ${NETAPI_LIBS:+false} :; then :
16598 if ${PKG_CONFIG+:} false; then :
16599 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16604 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16605 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16606 ac_save_CPPFLAGS=$CPPFLAGS
16607 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16609 $as_echo_n "checking for -lnetapi... " >&6; }
16610 if ${ac_cv_lib_soname_netapi+:} false; then :
16611 $as_echo_n "(cached) " >&6
16612 else
16613 ac_check_soname_save_LIBS=$LIBS
16614 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16616 /* end confdefs.h. */
16618 /* Override any GCC internal prototype to avoid an error.
16619 Use char because int might match the return type of a GCC
16620 builtin and then its argument prototype would still apply. */
16621 #ifdef __cplusplus
16622 extern "C"
16623 #endif
16624 char libnetapi_init ();
16626 main ()
16628 return libnetapi_init ();
16630 return 0;
16632 _ACEOF
16633 if ac_fn_c_try_link "$LINENO"; then :
16634 case "$LIBEXT" in
16635 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16636 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'` ;;
16637 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16638 if ${ac_cv_lib_soname_netapi:+false} :; then :
16639 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16640 fi ;;
16641 esac
16642 else
16643 ac_cv_lib_soname_netapi=
16645 rm -f core conftest.err conftest.$ac_objext \
16646 conftest$ac_exeext conftest.$ac_ext
16647 LIBS=$ac_check_soname_save_LIBS
16649 if ${ac_cv_lib_soname_netapi:+false} :; then :
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16651 $as_echo "not found" >&6; }
16652 cat >>confdefs.h <<_ACEOF
16653 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16654 _ACEOF
16656 else
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16658 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16660 cat >>confdefs.h <<_ACEOF
16661 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16662 _ACEOF
16666 CPPFLAGS=$ac_save_CPPFLAGS
16670 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16671 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16672 then
16673 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16676 if test "x$with_vulkan" != "xno"
16677 then
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16679 $as_echo_n "checking for -lvulkan... " >&6; }
16680 if ${ac_cv_lib_soname_vulkan+:} false; then :
16681 $as_echo_n "(cached) " >&6
16682 else
16683 ac_check_soname_save_LIBS=$LIBS
16684 LIBS="-lvulkan $LIBS"
16685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16686 /* end confdefs.h. */
16688 /* Override any GCC internal prototype to avoid an error.
16689 Use char because int might match the return type of a GCC
16690 builtin and then its argument prototype would still apply. */
16691 #ifdef __cplusplus
16692 extern "C"
16693 #endif
16694 char vkGetInstanceProcAddr ();
16696 main ()
16698 return vkGetInstanceProcAddr ();
16700 return 0;
16702 _ACEOF
16703 if ac_fn_c_try_link "$LINENO"; then :
16704 case "$LIBEXT" in
16705 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16706 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'` ;;
16707 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16708 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16709 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16710 fi ;;
16711 esac
16712 else
16713 ac_cv_lib_soname_vulkan=
16715 rm -f core conftest.err conftest.$ac_objext \
16716 conftest$ac_exeext conftest.$ac_ext
16717 LIBS=$ac_check_soname_save_LIBS
16719 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16721 $as_echo "not found" >&6; }
16723 else
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16725 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16727 cat >>confdefs.h <<_ACEOF
16728 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16729 _ACEOF
16733 if test "x$ac_cv_lib_soname_vulkan" = "x"
16734 then
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16736 $as_echo_n "checking for -lMoltenVK... " >&6; }
16737 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16738 $as_echo_n "(cached) " >&6
16739 else
16740 ac_check_soname_save_LIBS=$LIBS
16741 LIBS="-lMoltenVK $LIBS"
16742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16743 /* end confdefs.h. */
16745 /* Override any GCC internal prototype to avoid an error.
16746 Use char because int might match the return type of a GCC
16747 builtin and then its argument prototype would still apply. */
16748 #ifdef __cplusplus
16749 extern "C"
16750 #endif
16751 char vkGetInstanceProcAddr ();
16753 main ()
16755 return vkGetInstanceProcAddr ();
16757 return 0;
16759 _ACEOF
16760 if ac_fn_c_try_link "$LINENO"; then :
16761 case "$LIBEXT" in
16762 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16763 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'` ;;
16764 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16765 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16766 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16767 fi ;;
16768 esac
16769 else
16770 ac_cv_lib_soname_MoltenVK=
16772 rm -f core conftest.err conftest.$ac_objext \
16773 conftest$ac_exeext conftest.$ac_ext
16774 LIBS=$ac_check_soname_save_LIBS
16776 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16778 $as_echo "not found" >&6; }
16780 else
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16782 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16784 cat >>confdefs.h <<_ACEOF
16785 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16786 _ACEOF
16792 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16793 case "x$with_vulkan" in
16794 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16795 xno) ;;
16796 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16797 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16798 esac
16802 if test "x$with_vkd3d" != "xno"
16803 then
16804 if ${VKD3D_CFLAGS:+false} :; then :
16805 if ${PKG_CONFIG+:} false; then :
16806 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16810 if ${VKD3D_LIBS:+false} :; then :
16811 if ${PKG_CONFIG+:} false; then :
16812 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16817 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16818 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16819 ac_save_CPPFLAGS=$CPPFLAGS
16820 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16822 $as_echo_n "checking for -lvkd3d... " >&6; }
16823 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16824 $as_echo_n "(cached) " >&6
16825 else
16826 ac_check_soname_save_LIBS=$LIBS
16827 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16831 /* Override any GCC internal prototype to avoid an error.
16832 Use char because int might match the return type of a GCC
16833 builtin and then its argument prototype would still apply. */
16834 #ifdef __cplusplus
16835 extern "C"
16836 #endif
16837 char vkd3d_serialize_versioned_root_signature ();
16839 main ()
16841 return vkd3d_serialize_versioned_root_signature ();
16843 return 0;
16845 _ACEOF
16846 if ac_fn_c_try_link "$LINENO"; then :
16847 case "$LIBEXT" in
16848 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16849 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'` ;;
16850 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16851 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16852 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16853 fi ;;
16854 esac
16855 else
16856 ac_cv_lib_soname_vkd3d=
16858 rm -f core conftest.err conftest.$ac_objext \
16859 conftest$ac_exeext conftest.$ac_ext
16860 LIBS=$ac_check_soname_save_LIBS
16862 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16864 $as_echo "not found" >&6; }
16866 else
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16868 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16870 cat >>confdefs.h <<_ACEOF
16871 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16872 _ACEOF
16876 CPPFLAGS=$ac_save_CPPFLAGS
16878 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16879 if ${PKG_CONFIG+:} false; then :
16880 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16884 if ${VKD3D_SHADER_LIBS:+false} :; then :
16885 if ${PKG_CONFIG+:} false; then :
16886 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16891 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16892 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16893 ac_save_CPPFLAGS=$CPPFLAGS
16894 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16896 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16897 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16900 ac_check_soname_save_LIBS=$LIBS
16901 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16905 /* Override any GCC internal prototype to avoid an error.
16906 Use char because int might match the return type of a GCC
16907 builtin and then its argument prototype would still apply. */
16908 #ifdef __cplusplus
16909 extern "C"
16910 #endif
16911 char vkd3d_shader_compile ();
16913 main ()
16915 return vkd3d_shader_compile ();
16917 return 0;
16919 _ACEOF
16920 if ac_fn_c_try_link "$LINENO"; then :
16921 case "$LIBEXT" in
16922 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16923 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'` ;;
16924 *) 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'`
16925 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16926 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16927 fi ;;
16928 esac
16929 else
16930 ac_cv_lib_soname_vkd3d_shader=
16932 rm -f core conftest.err conftest.$ac_objext \
16933 conftest$ac_exeext conftest.$ac_ext
16934 LIBS=$ac_check_soname_save_LIBS
16936 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16938 $as_echo "not found" >&6; }
16940 else
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16942 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16944 cat >>confdefs.h <<_ACEOF
16945 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16946 _ACEOF
16950 CPPFLAGS=$ac_save_CPPFLAGS
16953 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16954 case "x$with_vkd3d" in
16955 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16956 xno) ;;
16957 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16958 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16959 esac
16962 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16965 EXTRACFLAGS=""
16967 if test "x${GCC}" = "xyes"
16968 then
16969 EXTRACFLAGS="-Wall -pipe"
16971 saved_CFLAGS=$CFLAGS
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16973 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16974 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16975 $as_echo_n "(cached) " >&6
16976 else
16977 ac_wine_try_cflags_saved=$CFLAGS
16978 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16981 int main(int argc, char **argv) { return 0; }
16982 _ACEOF
16983 if ac_fn_c_try_link "$LINENO"; then :
16984 ac_cv_cflags__Werror_unknown_warning_option=yes
16985 else
16986 ac_cv_cflags__Werror_unknown_warning_option=no
16988 rm -f core conftest.err conftest.$ac_objext \
16989 conftest$ac_exeext conftest.$ac_ext
16990 CFLAGS=$ac_wine_try_cflags_saved
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16993 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16994 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16995 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16998 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16999 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17000 $as_echo_n "(cached) " >&6
17001 else
17002 ac_wine_try_cflags_saved=$CFLAGS
17003 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17006 int main(int argc, char **argv) { return 0; }
17007 _ACEOF
17008 if ac_fn_c_try_link "$LINENO"; then :
17009 ac_cv_cflags__Werror_unused_command_line_argument=yes
17010 else
17011 ac_cv_cflags__Werror_unused_command_line_argument=no
17013 rm -f core conftest.err conftest.$ac_objext \
17014 conftest$ac_exeext conftest.$ac_ext
17015 CFLAGS=$ac_wine_try_cflags_saved
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17018 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17019 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17020 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17023 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17024 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17025 $as_echo_n "(cached) " >&6
17026 else
17027 ac_wine_try_cflags_saved=$CFLAGS
17028 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17030 /* end confdefs.h. */
17031 int main(int argc, char **argv) { return 0; }
17032 _ACEOF
17033 if ac_fn_c_try_link "$LINENO"; then :
17034 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17035 else
17036 ac_cv_cflags__Werror_ignored_optimization_argument=no
17038 rm -f core conftest.err conftest.$ac_objext \
17039 conftest$ac_exeext conftest.$ac_ext
17040 CFLAGS=$ac_wine_try_cflags_saved
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17043 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17044 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17045 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17048 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17049 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17050 $as_echo_n "(cached) " >&6
17051 else
17052 ac_wine_try_cflags_saved=$CFLAGS
17053 CFLAGS="$CFLAGS -fcf-protection=none"
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 int main(int argc, char **argv) { return 0; }
17057 _ACEOF
17058 if ac_fn_c_try_link "$LINENO"; then :
17059 ac_cv_cflags__fcf_protection_none=yes
17060 else
17061 ac_cv_cflags__fcf_protection_none=no
17063 rm -f core conftest.err conftest.$ac_objext \
17064 conftest$ac_exeext conftest.$ac_ext
17065 CFLAGS=$ac_wine_try_cflags_saved
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17068 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17069 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17070 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17073 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17074 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17075 $as_echo_n "(cached) " >&6
17076 else
17077 ac_wine_try_cflags_saved=$CFLAGS
17078 CFLAGS="$CFLAGS -fno-stack-protector"
17079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17080 /* end confdefs.h. */
17081 int main(int argc, char **argv) { return 0; }
17082 _ACEOF
17083 if ac_fn_c_try_link "$LINENO"; then :
17084 ac_cv_cflags__fno_stack_protector=yes
17085 else
17086 ac_cv_cflags__fno_stack_protector=no
17088 rm -f core conftest.err conftest.$ac_objext \
17089 conftest$ac_exeext conftest.$ac_ext
17090 CFLAGS=$ac_wine_try_cflags_saved
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17093 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17094 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17095 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17098 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17099 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17100 $as_echo_n "(cached) " >&6
17101 else
17102 ac_wine_try_cflags_saved=$CFLAGS
17103 CFLAGS="$CFLAGS -fno-strict-aliasing"
17104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17105 /* end confdefs.h. */
17106 int main(int argc, char **argv) { return 0; }
17107 _ACEOF
17108 if ac_fn_c_try_link "$LINENO"; then :
17109 ac_cv_cflags__fno_strict_aliasing=yes
17110 else
17111 ac_cv_cflags__fno_strict_aliasing=no
17113 rm -f core conftest.err conftest.$ac_objext \
17114 conftest$ac_exeext conftest.$ac_ext
17115 CFLAGS=$ac_wine_try_cflags_saved
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17118 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17119 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17120 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17123 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17124 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17125 $as_echo_n "(cached) " >&6
17126 else
17127 ac_wine_try_cflags_saved=$CFLAGS
17128 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17131 int main(int argc, char **argv) { return 0; }
17132 _ACEOF
17133 if ac_fn_c_try_link "$LINENO"; then :
17134 ac_cv_cflags__Wdeclaration_after_statement=yes
17135 else
17136 ac_cv_cflags__Wdeclaration_after_statement=no
17138 rm -f core conftest.err conftest.$ac_objext \
17139 conftest$ac_exeext conftest.$ac_ext
17140 CFLAGS=$ac_wine_try_cflags_saved
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17143 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17144 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17145 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17148 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17149 if ${ac_cv_cflags__Wempty_body+:} false; then :
17150 $as_echo_n "(cached) " >&6
17151 else
17152 ac_wine_try_cflags_saved=$CFLAGS
17153 CFLAGS="$CFLAGS -Wempty-body"
17154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155 /* end confdefs.h. */
17156 int main(int argc, char **argv) { return 0; }
17157 _ACEOF
17158 if ac_fn_c_try_link "$LINENO"; then :
17159 ac_cv_cflags__Wempty_body=yes
17160 else
17161 ac_cv_cflags__Wempty_body=no
17163 rm -f core conftest.err conftest.$ac_objext \
17164 conftest$ac_exeext conftest.$ac_ext
17165 CFLAGS=$ac_wine_try_cflags_saved
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17168 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17169 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17170 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17173 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17174 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17175 $as_echo_n "(cached) " >&6
17176 else
17177 ac_wine_try_cflags_saved=$CFLAGS
17178 CFLAGS="$CFLAGS -Wignored-qualifiers"
17179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17181 int main(int argc, char **argv) { return 0; }
17182 _ACEOF
17183 if ac_fn_c_try_link "$LINENO"; then :
17184 ac_cv_cflags__Wignored_qualifiers=yes
17185 else
17186 ac_cv_cflags__Wignored_qualifiers=no
17188 rm -f core conftest.err conftest.$ac_objext \
17189 conftest$ac_exeext conftest.$ac_ext
17190 CFLAGS=$ac_wine_try_cflags_saved
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17193 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17194 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17195 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17198 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17199 if ${ac_cv_cflags__Winit_self+:} false; then :
17200 $as_echo_n "(cached) " >&6
17201 else
17202 ac_wine_try_cflags_saved=$CFLAGS
17203 CFLAGS="$CFLAGS -Winit-self"
17204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17206 int main(int argc, char **argv) { return 0; }
17207 _ACEOF
17208 if ac_fn_c_try_link "$LINENO"; then :
17209 ac_cv_cflags__Winit_self=yes
17210 else
17211 ac_cv_cflags__Winit_self=no
17213 rm -f core conftest.err conftest.$ac_objext \
17214 conftest$ac_exeext conftest.$ac_ext
17215 CFLAGS=$ac_wine_try_cflags_saved
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17218 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17219 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17220 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17223 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17224 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17225 $as_echo_n "(cached) " >&6
17226 else
17227 ac_wine_try_cflags_saved=$CFLAGS
17228 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17230 /* end confdefs.h. */
17231 int main(int argc, char **argv) { return 0; }
17232 _ACEOF
17233 if ac_fn_c_try_link "$LINENO"; then :
17234 ac_cv_cflags__Wpacked_not_aligned=yes
17235 else
17236 ac_cv_cflags__Wpacked_not_aligned=no
17238 rm -f core conftest.err conftest.$ac_objext \
17239 conftest$ac_exeext conftest.$ac_ext
17240 CFLAGS=$ac_wine_try_cflags_saved
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17243 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17244 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17245 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17248 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17249 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17250 $as_echo_n "(cached) " >&6
17251 else
17252 ac_wine_try_cflags_saved=$CFLAGS
17253 CFLAGS="$CFLAGS -Wpragma-pack"
17254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17255 /* end confdefs.h. */
17256 int main(int argc, char **argv) { return 0; }
17257 _ACEOF
17258 if ac_fn_c_try_link "$LINENO"; then :
17259 ac_cv_cflags__Wpragma_pack=yes
17260 else
17261 ac_cv_cflags__Wpragma_pack=no
17263 rm -f core conftest.err conftest.$ac_objext \
17264 conftest$ac_exeext conftest.$ac_ext
17265 CFLAGS=$ac_wine_try_cflags_saved
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17268 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17269 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17270 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17273 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17274 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17275 $as_echo_n "(cached) " >&6
17276 else
17277 ac_wine_try_cflags_saved=$CFLAGS
17278 CFLAGS="$CFLAGS -Wshift-overflow=2"
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281 int main(int argc, char **argv) { return 0; }
17282 _ACEOF
17283 if ac_fn_c_try_link "$LINENO"; then :
17284 ac_cv_cflags__Wshift_overflow_2=yes
17285 else
17286 ac_cv_cflags__Wshift_overflow_2=no
17288 rm -f core conftest.err conftest.$ac_objext \
17289 conftest$ac_exeext conftest.$ac_ext
17290 CFLAGS=$ac_wine_try_cflags_saved
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17293 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17294 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17295 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17298 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17299 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17300 $as_echo_n "(cached) " >&6
17301 else
17302 ac_wine_try_cflags_saved=$CFLAGS
17303 CFLAGS="$CFLAGS -Wstrict-prototypes"
17304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17305 /* end confdefs.h. */
17306 int main(int argc, char **argv) { return 0; }
17307 _ACEOF
17308 if ac_fn_c_try_link "$LINENO"; then :
17309 ac_cv_cflags__Wstrict_prototypes=yes
17310 else
17311 ac_cv_cflags__Wstrict_prototypes=no
17313 rm -f core conftest.err conftest.$ac_objext \
17314 conftest$ac_exeext conftest.$ac_ext
17315 CFLAGS=$ac_wine_try_cflags_saved
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17318 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17319 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17320 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17323 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17324 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17325 $as_echo_n "(cached) " >&6
17326 else
17327 ac_wine_try_cflags_saved=$CFLAGS
17328 CFLAGS="$CFLAGS -Wtype-limits"
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 int main(int argc, char **argv) { return 0; }
17332 _ACEOF
17333 if ac_fn_c_try_link "$LINENO"; then :
17334 ac_cv_cflags__Wtype_limits=yes
17335 else
17336 ac_cv_cflags__Wtype_limits=no
17338 rm -f core conftest.err conftest.$ac_objext \
17339 conftest$ac_exeext conftest.$ac_ext
17340 CFLAGS=$ac_wine_try_cflags_saved
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17343 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17344 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17345 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17348 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17349 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17350 $as_echo_n "(cached) " >&6
17351 else
17352 ac_wine_try_cflags_saved=$CFLAGS
17353 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356 int main(int argc, char **argv) { return 0; }
17357 _ACEOF
17358 if ac_fn_c_try_link "$LINENO"; then :
17359 ac_cv_cflags__Wunused_but_set_parameter=yes
17360 else
17361 ac_cv_cflags__Wunused_but_set_parameter=no
17363 rm -f core conftest.err conftest.$ac_objext \
17364 conftest$ac_exeext conftest.$ac_ext
17365 CFLAGS=$ac_wine_try_cflags_saved
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17368 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17369 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17370 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17373 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17374 if ${ac_cv_cflags__Wvla+:} false; then :
17375 $as_echo_n "(cached) " >&6
17376 else
17377 ac_wine_try_cflags_saved=$CFLAGS
17378 CFLAGS="$CFLAGS -Wvla"
17379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17381 int main(int argc, char **argv) { return 0; }
17382 _ACEOF
17383 if ac_fn_c_try_link "$LINENO"; then :
17384 ac_cv_cflags__Wvla=yes
17385 else
17386 ac_cv_cflags__Wvla=no
17388 rm -f core conftest.err conftest.$ac_objext \
17389 conftest$ac_exeext conftest.$ac_ext
17390 CFLAGS=$ac_wine_try_cflags_saved
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17393 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17394 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17395 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17398 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17399 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17400 $as_echo_n "(cached) " >&6
17401 else
17402 ac_wine_try_cflags_saved=$CFLAGS
17403 CFLAGS="$CFLAGS -Wwrite-strings"
17404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17405 /* end confdefs.h. */
17406 int main(int argc, char **argv) { return 0; }
17407 _ACEOF
17408 if ac_fn_c_try_link "$LINENO"; then :
17409 ac_cv_cflags__Wwrite_strings=yes
17410 else
17411 ac_cv_cflags__Wwrite_strings=no
17413 rm -f core conftest.err conftest.$ac_objext \
17414 conftest$ac_exeext conftest.$ac_ext
17415 CFLAGS=$ac_wine_try_cflags_saved
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17418 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17419 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17420 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17423 if test -z "$CROSSTARGET"
17424 then
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17426 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17427 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17428 $as_echo_n "(cached) " >&6
17429 else
17430 ac_wine_try_cflags_saved=$CFLAGS
17431 CFLAGS="$CFLAGS -fexcess-precision=standard"
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17434 int main(int argc, char **argv) { return 0; }
17435 _ACEOF
17436 if ac_fn_c_try_link "$LINENO"; then :
17437 ac_cv_cflags__fexcess_precision_standard=yes
17438 else
17439 ac_cv_cflags__fexcess_precision_standard=no
17441 rm -f core conftest.err conftest.$ac_objext \
17442 conftest$ac_exeext conftest.$ac_ext
17443 CFLAGS=$ac_wine_try_cflags_saved
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17446 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17447 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17448 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17454 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17455 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17456 $as_echo_n "(cached) " >&6
17457 else
17458 ac_wine_try_cflags_saved=$CFLAGS
17459 CFLAGS="$CFLAGS -Wpointer-arith"
17460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17461 /* end confdefs.h. */
17462 int main(int argc, char **argv) { return 0; }
17463 _ACEOF
17464 if ac_fn_c_try_link "$LINENO"; then :
17465 ac_cv_cflags__Wpointer_arith=yes
17466 else
17467 ac_cv_cflags__Wpointer_arith=no
17469 rm -f core conftest.err conftest.$ac_objext \
17470 conftest$ac_exeext conftest.$ac_ext
17471 CFLAGS=$ac_wine_try_cflags_saved
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17474 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17475 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17476 saved_string_h_CFLAGS=$CFLAGS
17477 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17479 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17480 if ${ac_cv_c_string_h_warnings+:} false; then :
17481 $as_echo_n "(cached) " >&6
17482 else
17483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17484 /* end confdefs.h. */
17485 #include <string.h>
17487 main ()
17491 return 0;
17493 _ACEOF
17494 if ac_fn_c_try_compile "$LINENO"; then :
17495 ac_cv_c_string_h_warnings=no
17496 else
17497 ac_cv_c_string_h_warnings=yes
17499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17502 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17503 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17504 CFLAGS=$saved_string_h_CFLAGS
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17508 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17509 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17510 $as_echo_n "(cached) " >&6
17511 else
17512 ac_wine_try_cflags_saved=$CFLAGS
17513 CFLAGS="$CFLAGS -Wlogical-op"
17514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17515 /* end confdefs.h. */
17516 int main(int argc, char **argv) { return 0; }
17517 _ACEOF
17518 if ac_fn_c_try_link "$LINENO"; then :
17519 ac_cv_cflags__Wlogical_op=yes
17520 else
17521 ac_cv_cflags__Wlogical_op=no
17523 rm -f core conftest.err conftest.$ac_objext \
17524 conftest$ac_exeext conftest.$ac_ext
17525 CFLAGS=$ac_wine_try_cflags_saved
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17528 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17529 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17530 saved_string_h_CFLAGS=$CFLAGS
17531 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17533 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17534 if ${ac_cv_c_logicalop_noisy+:} false; then :
17535 $as_echo_n "(cached) " >&6
17536 else
17537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17538 /* end confdefs.h. */
17539 #include <string.h>
17540 char*f(const char *h,char n) {return strchr(h,n);}
17542 main ()
17546 return 0;
17548 _ACEOF
17549 if ac_fn_c_try_compile "$LINENO"; then :
17550 ac_cv_c_logicalop_noisy=no
17551 else
17552 ac_cv_c_logicalop_noisy=yes
17554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17557 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17558 CFLAGS=$saved_string_h_CFLAGS
17559 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17563 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17564 if ${wine_cv_64bit_compare_swap+:} false; then :
17565 $as_echo_n "(cached) " >&6
17566 else
17567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h. */
17569 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17570 #error no
17571 #endif
17573 main ()
17577 return 0;
17579 _ACEOF
17580 if ac_fn_c_try_compile "$LINENO"; then :
17581 wine_cv_64bit_compare_swap="none needed"
17582 else
17583 case $host_cpu in
17584 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17585 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17586 *) wine_cv_64bit_compare_swap="unknown" ;;
17587 esac
17588 if test "x$wine_cv_64bit_compare_swap" != xunknown
17589 then
17590 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17593 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17594 #error no
17595 #endif
17597 main ()
17601 return 0;
17603 _ACEOF
17604 if ac_fn_c_try_compile "$LINENO"; then :
17606 else
17607 wine_cv_64bit_compare_swap="unknown"
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610 CFLAGS=$saved_CFLAGS
17613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17616 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17617 case "$wine_cv_64bit_compare_swap" in
17618 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17619 "none needed") ;;
17620 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17621 esac
17623 for ac_flag in $CFLAGS; do
17624 case $ac_flag in
17625 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17626 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17627 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17628 $as_echo_n "(cached) " >&6
17629 else
17630 ac_wine_try_cflags_saved=$CFLAGS
17631 CFLAGS="$CFLAGS -gdwarf-2"
17632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17633 /* end confdefs.h. */
17634 int main(int argc, char **argv) { return 0; }
17635 _ACEOF
17636 if ac_fn_c_try_link "$LINENO"; then :
17637 ac_cv_cflags__gdwarf_2=yes
17638 else
17639 ac_cv_cflags__gdwarf_2=no
17641 rm -f core conftest.err conftest.$ac_objext \
17642 conftest$ac_exeext conftest.$ac_ext
17643 CFLAGS=$ac_wine_try_cflags_saved
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17646 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17647 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17648 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17651 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17652 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17653 $as_echo_n "(cached) " >&6
17654 else
17655 ac_wine_try_cflags_saved=$CFLAGS
17656 CFLAGS="$CFLAGS -gstrict-dwarf"
17657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17658 /* end confdefs.h. */
17659 int main(int argc, char **argv) { return 0; }
17660 _ACEOF
17661 if ac_fn_c_try_link "$LINENO"; then :
17662 ac_cv_cflags__gstrict_dwarf=yes
17663 else
17664 ac_cv_cflags__gstrict_dwarf=no
17666 rm -f core conftest.err conftest.$ac_objext \
17667 conftest$ac_exeext conftest.$ac_ext
17668 CFLAGS=$ac_wine_try_cflags_saved
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17671 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17672 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17673 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17674 fi ;;
17675 esac
17676 done
17678 MSVCRTFLAGS=""
17680 case $host_os in
17681 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17682 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17683 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17684 $as_echo_n "(cached) " >&6
17685 else
17686 ac_wine_try_cflags_saved=$CFLAGS
17687 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17690 int main(int argc, char **argv) { return 0; }
17691 _ACEOF
17692 if ac_fn_c_try_link "$LINENO"; then :
17693 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17694 else
17695 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17697 rm -f core conftest.err conftest.$ac_objext \
17698 conftest$ac_exeext conftest.$ac_ext
17699 CFLAGS=$ac_wine_try_cflags_saved
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17702 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17703 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17704 DELAYLOADFLAG="-Wl,-delayload,"
17706 fi ;;
17707 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17708 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17709 if ${ac_cv_cflags__fno_builtin+:} false; then :
17710 $as_echo_n "(cached) " >&6
17711 else
17712 ac_wine_try_cflags_saved=$CFLAGS
17713 CFLAGS="$CFLAGS -fno-builtin"
17714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17715 /* end confdefs.h. */
17716 int main(int argc, char **argv) { return 0; }
17717 _ACEOF
17718 if ac_fn_c_try_link "$LINENO"; then :
17719 ac_cv_cflags__fno_builtin=yes
17720 else
17721 ac_cv_cflags__fno_builtin=no
17723 rm -f core conftest.err conftest.$ac_objext \
17724 conftest$ac_exeext conftest.$ac_ext
17725 CFLAGS=$ac_wine_try_cflags_saved
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17728 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17729 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17730 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17733 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17734 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17737 ac_wine_try_cflags_saved=$CFLAGS
17738 CFLAGS="$CFLAGS -fshort-wchar"
17739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h. */
17741 int main(int argc, char **argv) { return 0; }
17742 _ACEOF
17743 if ac_fn_c_try_link "$LINENO"; then :
17744 ac_cv_cflags__fshort_wchar=yes
17745 else
17746 ac_cv_cflags__fshort_wchar=no
17748 rm -f core conftest.err conftest.$ac_objext \
17749 conftest$ac_exeext conftest.$ac_ext
17750 CFLAGS=$ac_wine_try_cflags_saved
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17753 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17754 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17755 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17756 fi ;;
17757 esac
17759 case $host_cpu in
17760 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17761 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17762 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17763 $as_echo_n "(cached) " >&6
17764 else
17765 ac_wine_try_cflags_saved=$CFLAGS
17766 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17768 /* end confdefs.h. */
17769 int main(int argc, char **argv) { return 0; }
17770 _ACEOF
17771 if ac_fn_c_try_link "$LINENO"; then :
17772 ac_cv_cflags__fno_omit_frame_pointer=yes
17773 else
17774 ac_cv_cflags__fno_omit_frame_pointer=no
17776 rm -f core conftest.err conftest.$ac_objext \
17777 conftest$ac_exeext conftest.$ac_ext
17778 CFLAGS=$ac_wine_try_cflags_saved
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17781 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17782 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17783 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17784 fi ;;
17785 *x86_64*)
17786 case $host_os in
17787 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17788 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17789 if ${ac_cv_cflags__Wno_format+:} false; then :
17790 $as_echo_n "(cached) " >&6
17791 else
17792 ac_wine_try_cflags_saved=$CFLAGS
17793 CFLAGS="$CFLAGS -Wno-format"
17794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17795 /* end confdefs.h. */
17796 int main(int argc, char **argv) { return 0; }
17797 _ACEOF
17798 if ac_fn_c_try_link "$LINENO"; then :
17799 ac_cv_cflags__Wno_format=yes
17800 else
17801 ac_cv_cflags__Wno_format=no
17803 rm -f core conftest.err conftest.$ac_objext \
17804 conftest$ac_exeext conftest.$ac_ext
17805 CFLAGS=$ac_wine_try_cflags_saved
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17808 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17809 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17810 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17811 fi ;;
17812 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17813 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17814 if ${ac_cv_cflags__mabi_ms+:} false; then :
17815 $as_echo_n "(cached) " >&6
17816 else
17817 ac_wine_try_cflags_saved=$CFLAGS
17818 CFLAGS="$CFLAGS -mabi=ms"
17819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17820 /* end confdefs.h. */
17821 int main(int argc, char **argv) { return 0; }
17822 _ACEOF
17823 if ac_fn_c_try_link "$LINENO"; then :
17824 ac_cv_cflags__mabi_ms=yes
17825 else
17826 ac_cv_cflags__mabi_ms=no
17828 rm -f core conftest.err conftest.$ac_objext \
17829 conftest$ac_exeext conftest.$ac_ext
17830 CFLAGS=$ac_wine_try_cflags_saved
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17833 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17834 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17835 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17836 fi ;;
17837 esac ;;
17838 esac
17840 CFLAGS=$saved_CFLAGS
17842 if test "x$enable_werror" = "xyes"
17843 then
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17845 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17846 if ${ac_cv_cflags__Werror+:} false; then :
17847 $as_echo_n "(cached) " >&6
17848 else
17849 ac_wine_try_cflags_saved=$CFLAGS
17850 CFLAGS="$CFLAGS -Werror"
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17853 int main(int argc, char **argv) { return 0; }
17854 _ACEOF
17855 if ac_fn_c_try_link "$LINENO"; then :
17856 ac_cv_cflags__Werror=yes
17857 else
17858 ac_cv_cflags__Werror=no
17860 rm -f core conftest.err conftest.$ac_objext \
17861 conftest$ac_exeext conftest.$ac_ext
17862 CFLAGS=$ac_wine_try_cflags_saved
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17865 $as_echo "$ac_cv_cflags__Werror" >&6; }
17866 if test "x$ac_cv_cflags__Werror" = xyes; then :
17867 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17870 if test "x$enable_build_id" = "xyes"
17871 then
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17873 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17874 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17875 $as_echo_n "(cached) " >&6
17876 else
17877 ac_wine_try_cflags_saved=$CFLAGS
17878 CFLAGS="$CFLAGS -Wl,--build-id"
17879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17880 /* end confdefs.h. */
17881 int main(int argc, char **argv) { return 0; }
17882 _ACEOF
17883 if ac_fn_c_try_link "$LINENO"; then :
17884 ac_cv_cflags__Wl___build_id=yes
17885 else
17886 ac_cv_cflags__Wl___build_id=no
17888 rm -f core conftest.err conftest.$ac_objext \
17889 conftest$ac_exeext conftest.$ac_ext
17890 CFLAGS=$ac_wine_try_cflags_saved
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17893 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17894 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17895 CFLAGS="$CFLAGS -Wl,--build-id"
17896 LDFLAGS="$LDFLAGS -Wl,--build-id"
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17903 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17904 if ${ac_cv_c_fortify_enabled+:} false; then :
17905 $as_echo_n "(cached) " >&6
17906 else
17907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17908 /* end confdefs.h. */
17909 #include <string.h>
17911 main ()
17913 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17914 #error Fortify enabled
17915 #endif
17917 return 0;
17919 _ACEOF
17920 if ac_fn_c_try_compile "$LINENO"; then :
17921 ac_cv_c_fortify_enabled=no
17922 else
17923 ac_cv_c_fortify_enabled=yes
17925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17928 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17929 if test "$ac_cv_c_fortify_enabled" = yes
17930 then
17931 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17936 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17937 if ${ac_cv_c_cfi_support+:} false; then :
17938 $as_echo_n "(cached) " >&6
17939 else
17940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17941 /* end confdefs.h. */
17942 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17944 main ()
17948 return 0;
17950 _ACEOF
17951 if ac_fn_c_try_compile "$LINENO"; then :
17952 ac_cv_c_cfi_support="yes"
17953 else
17954 ac_cv_c_cfi_support="no"
17956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17959 $as_echo "$ac_cv_c_cfi_support" >&6; }
17960 if test "$ac_cv_c_cfi_support" = "yes"
17961 then
17962 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17963 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17964 else
17965 if test "x$enable_win64" = "xyes"
17966 then
17967 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17972 case $build_os in
17973 cygwin*|mingw32*) TOOLSEXT=".exe"
17975 esac
17977 case $host_os in
17978 linux*)
17979 case $host_cpu in
17980 *i[3456789]86*|x86_64*|*aarch64*|arm*)
17981 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17982 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17984 esac
17986 esac
17989 ac_save_CFLAGS="$CFLAGS"
17990 CFLAGS="$CFLAGS $BUILTINFLAG"
17991 for ac_func in \
17992 __res_get_state \
17993 __res_getservers \
17994 _spawnvp \
17995 epoll_create \
17996 fnmatch \
17997 fork \
17998 fstatfs \
17999 futimens \
18000 futimes \
18001 futimesat \
18002 getattrlist \
18003 getauxval \
18004 getifaddrs \
18005 getopt_long_only \
18006 getrandom \
18007 kqueue \
18008 lstat \
18009 mach_continuous_time \
18010 pipe2 \
18011 poll \
18012 port_create \
18013 posix_fadvise \
18014 prctl \
18015 pread \
18016 proc_pidinfo \
18017 pwrite \
18018 readlink \
18019 sched_yield \
18020 setproctitle \
18021 setprogname \
18022 sigprocmask \
18023 symlink \
18024 sysinfo \
18025 tcdrain \
18026 thr_kill2
18028 do :
18029 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18030 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18031 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18032 cat >>confdefs.h <<_ACEOF
18033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18034 _ACEOF
18037 done
18039 CFLAGS="$ac_save_CFLAGS"
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18042 $as_echo_n "checking for library containing dlopen... " >&6; }
18043 if ${ac_cv_search_dlopen+:} false; then :
18044 $as_echo_n "(cached) " >&6
18045 else
18046 ac_func_search_save_LIBS=$LIBS
18047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18048 /* end confdefs.h. */
18050 /* Override any GCC internal prototype to avoid an error.
18051 Use char because int might match the return type of a GCC
18052 builtin and then its argument prototype would still apply. */
18053 #ifdef __cplusplus
18054 extern "C"
18055 #endif
18056 char dlopen ();
18058 main ()
18060 return dlopen ();
18062 return 0;
18064 _ACEOF
18065 for ac_lib in '' dl; do
18066 if test -z "$ac_lib"; then
18067 ac_res="none required"
18068 else
18069 ac_res=-l$ac_lib
18070 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18072 if ac_fn_c_try_link "$LINENO"; then :
18073 ac_cv_search_dlopen=$ac_res
18075 rm -f core conftest.err conftest.$ac_objext \
18076 conftest$ac_exeext
18077 if ${ac_cv_search_dlopen+:} false; then :
18078 break
18080 done
18081 if ${ac_cv_search_dlopen+:} false; then :
18083 else
18084 ac_cv_search_dlopen=no
18086 rm conftest.$ac_ext
18087 LIBS=$ac_func_search_save_LIBS
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18090 $as_echo "$ac_cv_search_dlopen" >&6; }
18091 ac_res=$ac_cv_search_dlopen
18092 if test "$ac_res" != no; then :
18093 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18097 ac_wine_check_funcs_save_LIBS="$LIBS"
18098 LIBS="$LIBS $DL_LIBS"
18099 for ac_func in dladdr dlinfo
18100 do :
18101 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18103 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18104 cat >>confdefs.h <<_ACEOF
18105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18106 _ACEOF
18109 done
18111 LIBS="$ac_wine_check_funcs_save_LIBS"
18113 if test "$ac_cv_func_poll" = no
18114 then
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18116 $as_echo_n "checking for poll in -lpoll... " >&6; }
18117 if ${ac_cv_lib_poll_poll+:} false; then :
18118 $as_echo_n "(cached) " >&6
18119 else
18120 ac_check_lib_save_LIBS=$LIBS
18121 LIBS="-lpoll $LIBS"
18122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18125 /* Override any GCC internal prototype to avoid an error.
18126 Use char because int might match the return type of a GCC
18127 builtin and then its argument prototype would still apply. */
18128 #ifdef __cplusplus
18129 extern "C"
18130 #endif
18131 char poll ();
18133 main ()
18135 return poll ();
18137 return 0;
18139 _ACEOF
18140 if ac_fn_c_try_link "$LINENO"; then :
18141 ac_cv_lib_poll_poll=yes
18142 else
18143 ac_cv_lib_poll_poll=no
18145 rm -f core conftest.err conftest.$ac_objext \
18146 conftest$ac_exeext conftest.$ac_ext
18147 LIBS=$ac_check_lib_save_LIBS
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18150 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18151 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18152 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18153 POLL_LIBS="-lpoll"
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18160 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18161 if ${ac_cv_search_gethostbyname+:} false; then :
18162 $as_echo_n "(cached) " >&6
18163 else
18164 ac_func_search_save_LIBS=$LIBS
18165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18168 /* Override any GCC internal prototype to avoid an error.
18169 Use char because int might match the return type of a GCC
18170 builtin and then its argument prototype would still apply. */
18171 #ifdef __cplusplus
18172 extern "C"
18173 #endif
18174 char gethostbyname ();
18176 main ()
18178 return gethostbyname ();
18180 return 0;
18182 _ACEOF
18183 for ac_lib in '' nsl; do
18184 if test -z "$ac_lib"; then
18185 ac_res="none required"
18186 else
18187 ac_res=-l$ac_lib
18188 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18190 if ac_fn_c_try_link "$LINENO"; then :
18191 ac_cv_search_gethostbyname=$ac_res
18193 rm -f core conftest.err conftest.$ac_objext \
18194 conftest$ac_exeext
18195 if ${ac_cv_search_gethostbyname+:} false; then :
18196 break
18198 done
18199 if ${ac_cv_search_gethostbyname+:} false; then :
18201 else
18202 ac_cv_search_gethostbyname=no
18204 rm conftest.$ac_ext
18205 LIBS=$ac_func_search_save_LIBS
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18208 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18209 ac_res=$ac_cv_search_gethostbyname
18210 if test "$ac_res" != no; then :
18211 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18217 $as_echo_n "checking for library containing connect... " >&6; }
18218 if ${ac_cv_search_connect+:} false; then :
18219 $as_echo_n "(cached) " >&6
18220 else
18221 ac_func_search_save_LIBS=$LIBS
18222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18223 /* end confdefs.h. */
18225 /* Override any GCC internal prototype to avoid an error.
18226 Use char because int might match the return type of a GCC
18227 builtin and then its argument prototype would still apply. */
18228 #ifdef __cplusplus
18229 extern "C"
18230 #endif
18231 char connect ();
18233 main ()
18235 return connect ();
18237 return 0;
18239 _ACEOF
18240 for ac_lib in '' socket; do
18241 if test -z "$ac_lib"; then
18242 ac_res="none required"
18243 else
18244 ac_res=-l$ac_lib
18245 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18247 if ac_fn_c_try_link "$LINENO"; then :
18248 ac_cv_search_connect=$ac_res
18250 rm -f core conftest.err conftest.$ac_objext \
18251 conftest$ac_exeext
18252 if ${ac_cv_search_connect+:} false; then :
18253 break
18255 done
18256 if ${ac_cv_search_connect+:} false; then :
18258 else
18259 ac_cv_search_connect=no
18261 rm conftest.$ac_ext
18262 LIBS=$ac_func_search_save_LIBS
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18265 $as_echo "$ac_cv_search_connect" >&6; }
18266 ac_res=$ac_cv_search_connect
18267 if test "$ac_res" != no; then :
18268 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18274 $as_echo_n "checking for library containing inet_aton... " >&6; }
18275 if ${ac_cv_search_inet_aton+:} false; then :
18276 $as_echo_n "(cached) " >&6
18277 else
18278 ac_func_search_save_LIBS=$LIBS
18279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18282 /* Override any GCC internal prototype to avoid an error.
18283 Use char because int might match the return type of a GCC
18284 builtin and then its argument prototype would still apply. */
18285 #ifdef __cplusplus
18286 extern "C"
18287 #endif
18288 char inet_aton ();
18290 main ()
18292 return inet_aton ();
18294 return 0;
18296 _ACEOF
18297 for ac_lib in '' resolv; do
18298 if test -z "$ac_lib"; then
18299 ac_res="none required"
18300 else
18301 ac_res=-l$ac_lib
18302 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18304 if ac_fn_c_try_link "$LINENO"; then :
18305 ac_cv_search_inet_aton=$ac_res
18307 rm -f core conftest.err conftest.$ac_objext \
18308 conftest$ac_exeext
18309 if ${ac_cv_search_inet_aton+:} false; then :
18310 break
18312 done
18313 if ${ac_cv_search_inet_aton+:} false; then :
18315 else
18316 ac_cv_search_inet_aton=no
18318 rm conftest.$ac_ext
18319 LIBS=$ac_func_search_save_LIBS
18321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18322 $as_echo "$ac_cv_search_inet_aton" >&6; }
18323 ac_res=$ac_cv_search_inet_aton
18324 if test "$ac_res" != no; then :
18325 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18330 for ac_func in \
18331 getaddrinfo \
18332 getnameinfo \
18333 getservbyport \
18335 do :
18336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18338 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18339 cat >>confdefs.h <<_ACEOF
18340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18341 _ACEOF
18344 done
18347 case $host_os in
18348 darwin*|macosx*) ;;
18349 *) ac_save_LIBS=$LIBS
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18351 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18352 if ${ac_cv_search_clock_gettime+:} false; then :
18353 $as_echo_n "(cached) " >&6
18354 else
18355 ac_func_search_save_LIBS=$LIBS
18356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18357 /* end confdefs.h. */
18359 /* Override any GCC internal prototype to avoid an error.
18360 Use char because int might match the return type of a GCC
18361 builtin and then its argument prototype would still apply. */
18362 #ifdef __cplusplus
18363 extern "C"
18364 #endif
18365 char clock_gettime ();
18367 main ()
18369 return clock_gettime ();
18371 return 0;
18373 _ACEOF
18374 for ac_lib in '' rt; do
18375 if test -z "$ac_lib"; then
18376 ac_res="none required"
18377 else
18378 ac_res=-l$ac_lib
18379 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18381 if ac_fn_c_try_link "$LINENO"; then :
18382 ac_cv_search_clock_gettime=$ac_res
18384 rm -f core conftest.err conftest.$ac_objext \
18385 conftest$ac_exeext
18386 if ${ac_cv_search_clock_gettime+:} false; then :
18387 break
18389 done
18390 if ${ac_cv_search_clock_gettime+:} false; then :
18392 else
18393 ac_cv_search_clock_gettime=no
18395 rm conftest.$ac_ext
18396 LIBS=$ac_func_search_save_LIBS
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18399 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18400 ac_res=$ac_cv_search_clock_gettime
18401 if test "$ac_res" != no; then :
18402 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18404 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18406 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18410 LIBS=$ac_save_LIBS
18412 esac
18414 if test "x$with_ldap" != "xno"
18415 then
18416 if ${LDAP_CFLAGS:+false} :; then :
18417 if ${PKG_CONFIG+:} false; then :
18418 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18422 if ${LDAP_LIBS:+false} :; then :
18423 if ${PKG_CONFIG+:} false; then :
18424 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18428 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18429 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18430 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18431 ac_save_CPPFLAGS=$CPPFLAGS
18432 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18433 for ac_header in ldap.h lber.h
18434 do :
18435 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18436 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18437 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18438 cat >>confdefs.h <<_ACEOF
18439 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18440 _ACEOF
18444 done
18446 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18447 then
18448 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18450 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18452 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18453 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18454 $as_echo_n "(cached) " >&6
18455 else
18456 ac_check_lib_save_LIBS=$LIBS
18457 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18461 /* Override any GCC internal prototype to avoid an error.
18462 Use char because int might match the return type of a GCC
18463 builtin and then its argument prototype would still apply. */
18464 #ifdef __cplusplus
18465 extern "C"
18466 #endif
18467 char ldap_initialize ();
18469 main ()
18471 return ldap_initialize ();
18473 return 0;
18475 _ACEOF
18476 if ac_fn_c_try_link "$LINENO"; then :
18477 ac_cv_lib_ldap_r_ldap_initialize=yes
18478 else
18479 ac_cv_lib_ldap_r_ldap_initialize=no
18481 rm -f core conftest.err conftest.$ac_objext \
18482 conftest$ac_exeext conftest.$ac_ext
18483 LIBS=$ac_check_lib_save_LIBS
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18486 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18487 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18489 $as_echo_n "checking for ber_init in -llber... " >&6; }
18490 if ${ac_cv_lib_lber_ber_init+:} false; then :
18491 $as_echo_n "(cached) " >&6
18492 else
18493 ac_check_lib_save_LIBS=$LIBS
18494 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18496 /* end confdefs.h. */
18498 /* Override any GCC internal prototype to avoid an error.
18499 Use char because int might match the return type of a GCC
18500 builtin and then its argument prototype would still apply. */
18501 #ifdef __cplusplus
18502 extern "C"
18503 #endif
18504 char ber_init ();
18506 main ()
18508 return ber_init ();
18510 return 0;
18512 _ACEOF
18513 if ac_fn_c_try_link "$LINENO"; then :
18514 ac_cv_lib_lber_ber_init=yes
18515 else
18516 ac_cv_lib_lber_ber_init=no
18518 rm -f core conftest.err conftest.$ac_objext \
18519 conftest$ac_exeext conftest.$ac_ext
18520 LIBS=$ac_check_lib_save_LIBS
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18523 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18524 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18526 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18528 else
18529 LDAP_LIBS=""
18532 else
18533 LDAP_LIBS=""
18536 else
18537 LDAP_LIBS=""
18540 ac_wine_check_funcs_save_LIBS="$LIBS"
18541 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18542 for ac_func in \
18543 ldap_count_references \
18544 ldap_first_reference \
18545 ldap_next_reference \
18546 ldap_parse_reference \
18547 ldap_parse_sort_control \
18548 ldap_parse_sortresponse_control \
18549 ldap_parse_vlv_control \
18550 ldap_parse_vlvresponse_control
18551 do :
18552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18554 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18555 cat >>confdefs.h <<_ACEOF
18556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18557 _ACEOF
18560 done
18562 LIBS="$ac_wine_check_funcs_save_LIBS"
18563 else
18564 LDAP_LIBS=""
18566 CPPFLAGS=$ac_save_CPPFLAGS
18569 if test "x$LDAP_LIBS" = "x"; then :
18570 case "x$with_ldap" in
18571 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18572 xno) ;;
18573 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18574 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18575 esac
18579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18580 $as_echo_n "checking for sched_setaffinity... " >&6; }
18581 if ${wine_cv_have_sched_setaffinity+:} false; then :
18582 $as_echo_n "(cached) " >&6
18583 else
18584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18585 /* end confdefs.h. */
18586 #define _GNU_SOURCE
18587 #include <sched.h>
18589 main ()
18591 sched_setaffinity(0, 0, 0);
18593 return 0;
18595 _ACEOF
18596 if ac_fn_c_try_link "$LINENO"; then :
18597 wine_cv_have_sched_setaffinity=yes
18598 else
18599 wine_cv_have_sched_setaffinity=no
18601 rm -f core conftest.err conftest.$ac_objext \
18602 conftest$ac_exeext conftest.$ac_ext
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18605 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18606 if test "$wine_cv_have_sched_setaffinity" = "yes"
18607 then
18609 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18614 $as_echo_n "checking for fallocate... " >&6; }
18615 if ${wine_cv_have_fallocate+:} false; then :
18616 $as_echo_n "(cached) " >&6
18617 else
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620 #define _GNU_SOURCE
18621 #include <fcntl.h>
18623 main ()
18625 fallocate(-1, 0, 0, 0);
18627 return 0;
18629 _ACEOF
18630 if ac_fn_c_try_link "$LINENO"; then :
18631 wine_cv_have_fallocate=yes
18632 else
18633 wine_cv_have_fallocate=no
18635 rm -f core conftest.err conftest.$ac_objext \
18636 conftest$ac_exeext conftest.$ac_ext
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18639 $as_echo "$wine_cv_have_fallocate" >&6; }
18640 if test "$wine_cv_have_fallocate" = "yes"
18641 then
18643 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18649 $as_echo_n "checking for inline... " >&6; }
18650 if ${ac_cv_c_inline+:} false; then :
18651 $as_echo_n "(cached) " >&6
18652 else
18653 ac_cv_c_inline=no
18654 for ac_kw in inline __inline__ __inline; do
18655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18656 /* end confdefs.h. */
18657 #ifndef __cplusplus
18658 typedef int foo_t;
18659 static $ac_kw foo_t static_foo () {return 0; }
18660 $ac_kw foo_t foo () {return 0; }
18661 #endif
18663 _ACEOF
18664 if ac_fn_c_try_compile "$LINENO"; then :
18665 ac_cv_c_inline=$ac_kw
18667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18668 test "$ac_cv_c_inline" != no && break
18669 done
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18673 $as_echo "$ac_cv_c_inline" >&6; }
18675 case $ac_cv_c_inline in
18676 inline | yes) ;;
18678 case $ac_cv_c_inline in
18679 no) ac_val=;;
18680 *) ac_val=$ac_cv_c_inline;;
18681 esac
18682 cat >>confdefs.h <<_ACEOF
18683 #ifndef __cplusplus
18684 #define inline $ac_val
18685 #endif
18686 _ACEOF
18688 esac
18690 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18691 #include <signal.h>
18693 if test "x$ac_cv_type_sigset_t" = xyes; then :
18695 cat >>confdefs.h <<_ACEOF
18696 #define HAVE_SIGSET_T 1
18697 _ACEOF
18702 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18704 if test "x$ac_cv_type_request_sense" = xyes; then :
18706 cat >>confdefs.h <<_ACEOF
18707 #define HAVE_REQUEST_SENSE 1
18708 _ACEOF
18714 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18715 #ifdef HAVE_SYS_SOCKET_H
18716 #include <sys/socket.h>
18717 #endif
18718 #ifdef HAVE_SYS_SOCKETVAR_H
18719 #include <sys/socketvar.h>
18720 #endif
18721 #ifdef HAVE_NET_ROUTE_H
18722 #include <net/route.h>
18723 #endif
18724 #ifdef HAVE_NETINET_IN_H
18725 #include <netinet/in.h>
18726 #endif
18727 #ifdef HAVE_NETINET_IN_SYSTM_H
18728 #include <netinet/in_systm.h>
18729 #endif
18730 #ifdef HAVE_NETINET_IP_H
18731 #include <netinet/ip.h>
18732 #endif
18733 #ifdef HAVE_NETINET_IN_PCB_H
18734 #include <netinet/in_pcb.h>
18735 #endif
18737 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18739 cat >>confdefs.h <<_ACEOF
18740 #define HAVE_STRUCT_XINPGEN 1
18741 _ACEOF
18747 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18748 #include <linux/input.h>
18749 #endif
18751 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18753 cat >>confdefs.h <<_ACEOF
18754 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18755 _ACEOF
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18762 $as_echo_n "checking for if_nameindex... " >&6; }
18763 if ${wine_cv_have_if_nameindex+:} false; then :
18764 $as_echo_n "(cached) " >&6
18765 else
18766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18767 /* end confdefs.h. */
18768 #ifdef HAVE_SYS_TYPES_H
18769 #include <sys/types.h>
18770 #endif
18771 #ifdef HAVE_SYS_SOCKET_H
18772 #include <sys/socket.h>
18773 #endif
18774 #ifdef HAVE_NET_IF_H
18775 # include <net/if.h>
18776 #endif
18778 main ()
18780 struct if_nameindex *p = if_nameindex(); return p->if_index;
18782 return 0;
18784 _ACEOF
18785 if ac_fn_c_try_link "$LINENO"; then :
18786 wine_cv_have_if_nameindex=yes
18787 else
18788 wine_cv_have_if_nameindex=no
18790 rm -f core conftest.err conftest.$ac_objext \
18791 conftest$ac_exeext conftest.$ac_ext
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18794 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18795 if test "$wine_cv_have_if_nameindex" = "yes"
18796 then
18798 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18803 $as_echo_n "checking for sigaddset... " >&6; }
18804 if ${wine_cv_have_sigaddset+:} false; then :
18805 $as_echo_n "(cached) " >&6
18806 else
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 #include <signal.h>
18811 main ()
18813 sigset_t set; sigaddset(&set,SIGTERM);
18815 return 0;
18817 _ACEOF
18818 if ac_fn_c_try_link "$LINENO"; then :
18819 wine_cv_have_sigaddset=yes
18820 else
18821 wine_cv_have_sigaddset=no
18823 rm -f core conftest.err conftest.$ac_objext \
18824 conftest$ac_exeext conftest.$ac_ext
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18827 $as_echo "$wine_cv_have_sigaddset" >&6; }
18828 if test "$wine_cv_have_sigaddset" = "yes"
18829 then
18831 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18837 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18838 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18839 $as_echo_n "(cached) " >&6
18840 else
18841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18843 #include <netdb.h>
18845 main ()
18848 char *name=0;
18849 struct hostent he;
18850 struct hostent *result;
18851 char *buf=0;
18852 int bufsize=0;
18853 int errnr;
18854 char *addr=0;
18855 int addrlen=0;
18856 int addrtype=0;
18857 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18858 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18861 return 0;
18863 _ACEOF
18864 if ac_fn_c_try_link "$LINENO"; then :
18865 wine_cv_linux_gethostbyname_r_6=yes
18866 else
18867 wine_cv_linux_gethostbyname_r_6=no
18870 rm -f core conftest.err conftest.$ac_objext \
18871 conftest$ac_exeext conftest.$ac_ext
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18875 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18876 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18877 then
18879 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18883 if test "$ac_cv_header_linux_joystick_h" = "yes"
18884 then
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18886 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18887 if ${wine_cv_linux_joystick_22_api+:} false; then :
18888 $as_echo_n "(cached) " >&6
18889 else
18890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18893 #include <sys/ioctl.h>
18894 #include <sys/types.h>
18895 #include <linux/joystick.h>
18897 struct js_event blub;
18898 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18899 #error "no 2.2 header"
18900 #endif
18903 main ()
18905 /*empty*/
18907 return 0;
18909 _ACEOF
18910 if ac_fn_c_try_compile "$LINENO"; then :
18911 wine_cv_linux_joystick_22_api=yes
18912 else
18913 wine_cv_linux_joystick_22_api=no
18915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18919 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18920 if test "$wine_cv_linux_joystick_22_api" = "yes"
18921 then
18923 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18928 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18929 #ifdef HAVE_SYS_SOCKET_H
18930 # include <sys/socket.h>
18931 #endif
18932 #ifdef HAVE_SYS_UN_H
18933 # include <sys/un.h>
18934 #endif
18936 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18938 cat >>confdefs.h <<_ACEOF
18939 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18940 _ACEOF
18944 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18945 #ifdef HAVE_SYS_SOCKET_H
18946 # include <sys/socket.h>
18947 #endif
18948 #ifdef HAVE_SYS_UN_H
18949 # include <sys/un.h>
18950 #endif
18952 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18954 cat >>confdefs.h <<_ACEOF
18955 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18956 _ACEOF
18960 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18961 #ifdef HAVE_SYS_SOCKET_H
18962 # include <sys/socket.h>
18963 #endif
18964 #ifdef HAVE_SYS_UN_H
18965 # include <sys/un.h>
18966 #endif
18968 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18970 cat >>confdefs.h <<_ACEOF
18971 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18972 _ACEOF
18978 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18979 #ifdef HAVE_SCSI_SG_H
18980 #include <scsi/sg.h>
18981 #endif
18983 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18985 cat >>confdefs.h <<_ACEOF
18986 #define HAVE_SCSIREQ_T_CMD 1
18987 _ACEOF
18991 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>
18992 #ifdef HAVE_SCSI_SG_H
18993 #include <scsi/sg.h>
18994 #endif
18996 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18998 cat >>confdefs.h <<_ACEOF
18999 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19000 _ACEOF
19006 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19008 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19010 cat >>confdefs.h <<_ACEOF
19011 #define HAVE_SIGINFO_T_SI_FD 1
19012 _ACEOF
19018 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19019 #ifdef HAVE_SYS_MTIO_H
19020 #include <sys/mtio.h>
19021 #endif
19023 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19025 cat >>confdefs.h <<_ACEOF
19026 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19027 _ACEOF
19031 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19032 #ifdef HAVE_SYS_MTIO_H
19033 #include <sys/mtio.h>
19034 #endif
19036 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19038 cat >>confdefs.h <<_ACEOF
19039 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19040 _ACEOF
19044 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19045 #ifdef HAVE_SYS_MTIO_H
19046 #include <sys/mtio.h>
19047 #endif
19049 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19051 cat >>confdefs.h <<_ACEOF
19052 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19053 _ACEOF
19059 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19060 #include <getopt.h>
19061 #endif
19063 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19065 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_STRUCT_OPTION_NAME 1
19067 _ACEOF
19073 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19074 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19078 _ACEOF
19082 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19083 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19085 cat >>confdefs.h <<_ACEOF
19086 #define HAVE_STRUCT_STAT_ST_MTIM 1
19087 _ACEOF
19091 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19092 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19094 cat >>confdefs.h <<_ACEOF
19095 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19096 _ACEOF
19100 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19101 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19103 cat >>confdefs.h <<_ACEOF
19104 #define HAVE_STRUCT_STAT_ST_CTIM 1
19105 _ACEOF
19109 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19110 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19112 cat >>confdefs.h <<_ACEOF
19113 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19114 _ACEOF
19118 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19119 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19121 cat >>confdefs.h <<_ACEOF
19122 #define HAVE_STRUCT_STAT_ST_ATIM 1
19123 _ACEOF
19127 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19128 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19130 cat >>confdefs.h <<_ACEOF
19131 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19132 _ACEOF
19136 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19137 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19139 cat >>confdefs.h <<_ACEOF
19140 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19141 _ACEOF
19145 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19146 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19150 _ACEOF
19154 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19155 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19157 cat >>confdefs.h <<_ACEOF
19158 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19159 _ACEOF
19163 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19164 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19166 cat >>confdefs.h <<_ACEOF
19167 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19168 _ACEOF
19172 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19173 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19175 cat >>confdefs.h <<_ACEOF
19176 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19177 _ACEOF
19183 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
19184 #include <sys/types.h>
19185 #endif
19186 #ifdef HAVE_NETINET_IN_H
19187 #include <netinet/in.h>
19188 #endif
19190 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19192 cat >>confdefs.h <<_ACEOF
19193 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19194 _ACEOF
19200 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19201 #include <sys/types.h>
19202 #endif
19203 #ifdef HAVE_NETINET_IN_H
19204 #include <netinet/in.h>
19205 #endif
19206 #ifdef HAVE_RESOLV_H
19207 #include <resolv.h>
19208 #endif
19210 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19212 cat >>confdefs.h <<_ACEOF
19213 #define HAVE_STRUCT___RES_STATE 1
19214 _ACEOF
19220 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
19221 #include <resolv.h>
19222 #endif
19224 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19226 cat >>confdefs.h <<_ACEOF
19227 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19228 _ACEOF
19234 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19235 #include <sys/types.h>
19236 #endif
19237 #ifdef HAVE_NETINET_IN_H
19238 # include <netinet/in.h>
19239 #endif
19240 #ifdef HAVE_ARPA_NAMESER_H
19241 # include <arpa/nameser.h>
19242 #endif
19244 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19246 cat >>confdefs.h <<_ACEOF
19247 #define HAVE_NS_MSG__MSG_PTR 1
19248 _ACEOF
19254 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19255 #include <sys/types.h>
19256 #endif
19257 #ifdef HAVE_NETINET_IN_H
19258 #include <netinet/in.h>
19259 #endif
19260 #ifdef HAVE_NETINET_IP_H
19261 #include <netinet/ip.h>
19262 #endif
19263 #ifdef HAVE_NETINET_IP_ICMP_H
19264 #include <netinet/ip_icmp.h>
19265 #endif
19266 #ifdef HAVE_NETINET_ICMP_VAR_H
19267 #include <netinet/icmp_var.h>
19268 #endif
19270 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19272 cat >>confdefs.h <<_ACEOF
19273 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19274 _ACEOF
19280 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19281 #include <sys/types.h>
19282 #endif
19283 #ifdef HAVE_ALIAS_H
19284 #include <alias.h>
19285 #endif
19286 #ifdef HAVE_SYS_SOCKET_H
19287 #include <sys/socket.h>
19288 #endif
19289 #ifdef HAVE_SYS_SOCKETVAR_H
19290 #include <sys/socketvar.h>
19291 #endif
19292 #ifdef HAVE_SYS_TIMEOUT_H
19293 #include <sys/timeout.h>
19294 #endif
19295 #ifdef HAVE_NETINET_IN_H
19296 #include <netinet/in.h>
19297 #endif
19298 #ifdef HAVE_NETINET_IN_SYSTM_H
19299 #include <netinet/in_systm.h>
19300 #endif
19301 #ifdef HAVE_NETINET_IP_H
19302 #include <netinet/ip.h>
19303 #endif
19304 #ifdef HAVE_NETINET_IP_VAR_H
19305 #include <netinet/ip_var.h>
19306 #endif
19307 #ifdef HAVE_NETINET_IP_ICMP_H
19308 #include <netinet/ip_icmp.h>
19309 #endif
19310 #ifdef HAVE_NETINET_ICMP_VAR_H
19311 #include <netinet/icmp_var.h>
19312 #endif
19314 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19316 cat >>confdefs.h <<_ACEOF
19317 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19318 _ACEOF
19324 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
19325 #define _GNU_SOURCE
19326 #include <netinet/in.h>
19327 #endif
19329 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes; then :
19331 cat >>confdefs.h <<_ACEOF
19332 #define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1
19333 _ACEOF
19339 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19340 #include <sys/types.h>
19341 #endif
19342 #ifdef HAVE_SYS_SOCKETVAR_H
19343 #include <sys/socketvar.h>
19344 #endif
19345 #ifdef HAVE_NETINET_IN_H
19346 #include <netinet/in.h>
19347 #endif
19348 #ifdef HAVE_NETINET_IP_VAR_H
19349 #include <netinet/ip_var.h>
19350 #endif
19352 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19354 cat >>confdefs.h <<_ACEOF
19355 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19356 _ACEOF
19362 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
19363 #include <netinet/ip_var.h>
19364 #endif
19366 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19368 cat >>confdefs.h <<_ACEOF
19369 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19370 _ACEOF
19376 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19377 #include <sys/types.h>
19378 #endif
19379 #ifdef HAVE_SYS_SOCKETVAR_H
19380 #include <sys/socketvar.h>
19381 #endif
19382 #ifdef HAVE_NETINET_IN_H
19383 #include <netinet/in.h>
19384 #endif
19385 #ifdef HAVE_NETINET_TCP_H
19386 #include <netinet/tcp.h>
19387 #endif
19388 #ifdef HAVE_NETINET_TCP_VAR_H
19389 #include <netinet/tcp_var.h>
19390 #endif
19392 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19394 cat >>confdefs.h <<_ACEOF
19395 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19396 _ACEOF
19402 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
19403 #include <netinet/tcp_var.h>
19404 #endif
19406 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19408 cat >>confdefs.h <<_ACEOF
19409 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19410 _ACEOF
19416 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19417 #include <sys/types.h>
19418 #endif
19419 #ifdef HAVE_NETINET_IN_H
19420 #include <netinet/in.h>
19421 #endif
19422 #ifdef HAVE_NETINET_IP_VAR_H
19423 #include <netinet/ip_var.h>
19424 #endif
19425 #ifdef HAVE_NETINET_UDP_H
19426 #include <netinet/udp.h>
19427 #endif
19428 #ifdef HAVE_NETINET_UDP_VAR_H
19429 #include <netinet/udp_var.h>
19430 #endif
19432 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19434 cat >>confdefs.h <<_ACEOF
19435 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19436 _ACEOF
19442 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19443 #include <sys/types.h>
19444 #endif
19445 #ifdef HAVE_NET_IF_H
19446 # include <net/if.h>
19447 #endif
19449 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19451 cat >>confdefs.h <<_ACEOF
19452 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19453 _ACEOF
19459 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19460 # include <sys/sysinfo.h>
19461 #endif
19463 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19465 cat >>confdefs.h <<_ACEOF
19466 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19467 _ACEOF
19471 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19472 # include <sys/sysinfo.h>
19473 #endif
19475 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19477 cat >>confdefs.h <<_ACEOF
19478 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19479 _ACEOF
19485 ac_save_LIBS="$LIBS"
19486 LIBS="$LIBS -lm"
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19488 $as_echo_n "checking for isfinite... " >&6; }
19489 if ${ac_cv_have_isfinite+:} false; then :
19490 $as_echo_n "(cached) " >&6
19491 else
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 #define _GNU_SOURCE
19495 #include <math.h>
19497 main ()
19499 float f = 0.0; return isfinite(f)
19501 return 0;
19503 _ACEOF
19504 if ac_fn_c_try_link "$LINENO"; then :
19505 ac_cv_have_isfinite="yes"
19506 else
19507 ac_cv_have_isfinite="no"
19509 rm -f core conftest.err conftest.$ac_objext \
19510 conftest$ac_exeext conftest.$ac_ext
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19513 $as_echo "$ac_cv_have_isfinite" >&6; }
19514 if test "$ac_cv_have_isfinite" = "yes"
19515 then
19517 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19522 $as_echo_n "checking for isinf... " >&6; }
19523 if ${ac_cv_have_isinf+:} false; then :
19524 $as_echo_n "(cached) " >&6
19525 else
19526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19527 /* end confdefs.h. */
19528 #include <math.h>
19530 main ()
19532 float f = 0.0; return isinf(f)
19534 return 0;
19536 _ACEOF
19537 if ac_fn_c_try_link "$LINENO"; then :
19538 ac_cv_have_isinf="yes"
19539 else
19540 ac_cv_have_isinf="no"
19542 rm -f core conftest.err conftest.$ac_objext \
19543 conftest$ac_exeext conftest.$ac_ext
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19546 $as_echo "$ac_cv_have_isinf" >&6; }
19547 if test "$ac_cv_have_isinf" = "yes"
19548 then
19550 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19555 $as_echo_n "checking for isnan... " >&6; }
19556 if ${ac_cv_have_isnan+:} false; then :
19557 $as_echo_n "(cached) " >&6
19558 else
19559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h. */
19561 #include <math.h>
19563 main ()
19565 float f = 0.0; return isnan(f)
19567 return 0;
19569 _ACEOF
19570 if ac_fn_c_try_link "$LINENO"; then :
19571 ac_cv_have_isnan="yes"
19572 else
19573 ac_cv_have_isnan="no"
19575 rm -f core conftest.err conftest.$ac_objext \
19576 conftest$ac_exeext conftest.$ac_ext
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19579 $as_echo "$ac_cv_have_isnan" >&6; }
19580 if test "$ac_cv_have_isnan" = "yes"
19581 then
19583 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19587 LIBS="$ac_save_LIBS"
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19590 $as_echo_n "checking for __builtin_popcount... " >&6; }
19591 if ${ac_cv_have___builtin_popcount+:} false; then :
19592 $as_echo_n "(cached) " >&6
19593 else
19594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19595 /* end confdefs.h. */
19598 main ()
19600 return __builtin_popcount(1)
19602 return 0;
19604 _ACEOF
19605 if ac_fn_c_try_link "$LINENO"; then :
19606 ac_cv_have___builtin_popcount="yes"
19607 else
19608 ac_cv_have___builtin_popcount="no"
19610 rm -f core conftest.err conftest.$ac_objext \
19611 conftest$ac_exeext conftest.$ac_ext
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19614 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19615 if test "$ac_cv_have___builtin_popcount" = "yes"
19616 then
19618 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19623 $as_echo_n "checking for __clear_cache... " >&6; }
19624 if ${ac_cv_have___clear_cache+:} false; then :
19625 $as_echo_n "(cached) " >&6
19626 else
19627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19628 /* end confdefs.h. */
19631 main ()
19633 __clear_cache((void*)0, (void*)0); return 0;
19635 return 0;
19637 _ACEOF
19638 if ac_fn_c_try_link "$LINENO"; then :
19639 ac_cv_have___clear_cache="yes"
19640 else
19641 ac_cv_have___clear_cache="no"
19643 rm -f core conftest.err conftest.$ac_objext \
19644 conftest$ac_exeext conftest.$ac_ext
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19647 $as_echo "$ac_cv_have___clear_cache" >&6; }
19648 if test "$ac_cv_have___clear_cache" = "yes"
19649 then
19651 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19656 case $host_cpu in
19657 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19658 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19659 if ${ac_cv_cpp_def___i386__+:} false; then :
19660 $as_echo_n "(cached) " >&6
19661 else
19662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19663 /* end confdefs.h. */
19664 #ifndef __i386__
19666 #endif
19667 _ACEOF
19668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19669 $EGREP "yes" >/dev/null 2>&1; then :
19670 ac_cv_cpp_def___i386__=yes
19671 else
19672 ac_cv_cpp_def___i386__=no
19674 rm -f conftest*
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19678 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19679 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19680 CFLAGS="$CFLAGS -D__i386__"
19681 LINTFLAGS="$LINTFLAGS -D__i386__"
19682 fi ;;
19683 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19684 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19685 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19686 $as_echo_n "(cached) " >&6
19687 else
19688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19689 /* end confdefs.h. */
19690 #ifndef __x86_64__
19692 #endif
19693 _ACEOF
19694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19695 $EGREP "yes" >/dev/null 2>&1; then :
19696 ac_cv_cpp_def___x86_64__=yes
19697 else
19698 ac_cv_cpp_def___x86_64__=no
19700 rm -f conftest*
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19704 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19705 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19706 CFLAGS="$CFLAGS -D__x86_64__"
19707 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19708 fi ;;
19709 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19710 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19711 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19712 $as_echo_n "(cached) " >&6
19713 else
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19716 #ifndef __sparc64__
19718 #endif
19719 _ACEOF
19720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19721 $EGREP "yes" >/dev/null 2>&1; then :
19722 ac_cv_cpp_def___sparc64__=yes
19723 else
19724 ac_cv_cpp_def___sparc64__=no
19726 rm -f conftest*
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19730 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19731 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19732 CFLAGS="$CFLAGS -D__sparc64__"
19733 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19734 fi ;;
19735 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19736 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19737 if ${ac_cv_cpp_def___sparc__+:} false; then :
19738 $as_echo_n "(cached) " >&6
19739 else
19740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19741 /* end confdefs.h. */
19742 #ifndef __sparc__
19744 #endif
19745 _ACEOF
19746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19747 $EGREP "yes" >/dev/null 2>&1; then :
19748 ac_cv_cpp_def___sparc__=yes
19749 else
19750 ac_cv_cpp_def___sparc__=no
19752 rm -f conftest*
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19756 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19757 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19758 CFLAGS="$CFLAGS -D__sparc__"
19759 LINTFLAGS="$LINTFLAGS -D__sparc__"
19760 fi ;;
19761 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19762 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19763 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19764 $as_echo_n "(cached) " >&6
19765 else
19766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19767 /* end confdefs.h. */
19768 #ifndef __powerpc64__
19770 #endif
19771 _ACEOF
19772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19773 $EGREP "yes" >/dev/null 2>&1; then :
19774 ac_cv_cpp_def___powerpc64__=yes
19775 else
19776 ac_cv_cpp_def___powerpc64__=no
19778 rm -f conftest*
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19782 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19783 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19784 CFLAGS="$CFLAGS -D__powerpc64__"
19785 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19786 fi ;;
19787 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19788 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19789 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19790 $as_echo_n "(cached) " >&6
19791 else
19792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19793 /* end confdefs.h. */
19794 #ifndef __powerpc__
19796 #endif
19797 _ACEOF
19798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19799 $EGREP "yes" >/dev/null 2>&1; then :
19800 ac_cv_cpp_def___powerpc__=yes
19801 else
19802 ac_cv_cpp_def___powerpc__=no
19804 rm -f conftest*
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19808 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19809 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19810 CFLAGS="$CFLAGS -D__powerpc__"
19811 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19812 fi ;;
19813 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19814 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19815 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19816 $as_echo_n "(cached) " >&6
19817 else
19818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19820 #ifndef __aarch64__
19822 #endif
19823 _ACEOF
19824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19825 $EGREP "yes" >/dev/null 2>&1; then :
19826 ac_cv_cpp_def___aarch64__=yes
19827 else
19828 ac_cv_cpp_def___aarch64__=no
19830 rm -f conftest*
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19834 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19835 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19836 CFLAGS="$CFLAGS -D__aarch64__"
19837 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19838 fi ;;
19839 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19840 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19841 if ${ac_cv_cpp_def___arm__+:} false; then :
19842 $as_echo_n "(cached) " >&6
19843 else
19844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19845 /* end confdefs.h. */
19846 #ifndef __arm__
19848 #endif
19849 _ACEOF
19850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19851 $EGREP "yes" >/dev/null 2>&1; then :
19852 ac_cv_cpp_def___arm__=yes
19853 else
19854 ac_cv_cpp_def___arm__=no
19856 rm -f conftest*
19859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19860 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19861 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19862 CFLAGS="$CFLAGS -D__arm__"
19863 LINTFLAGS="$LINTFLAGS -D__arm__"
19864 fi ;;
19865 esac
19867 case $host_vendor in
19868 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19869 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19870 if ${ac_cv_cpp_def___sun__+:} false; then :
19871 $as_echo_n "(cached) " >&6
19872 else
19873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h. */
19875 #ifndef __sun__
19877 #endif
19878 _ACEOF
19879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19880 $EGREP "yes" >/dev/null 2>&1; then :
19881 ac_cv_cpp_def___sun__=yes
19882 else
19883 ac_cv_cpp_def___sun__=no
19885 rm -f conftest*
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19889 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19890 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19891 CFLAGS="$CFLAGS -D__sun__"
19892 LINTFLAGS="$LINTFLAGS -D__sun__"
19893 fi ;;
19894 esac
19900 ac_config_commands="$ac_config_commands include/stamp-h"
19902 $as_echo_n "creating Makefile rules..." >&6
19904 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19905 OPENGL_LIBS = $OPENGL_LIBS
19906 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19907 IOKIT_LIBS = $IOKIT_LIBS
19908 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19909 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19910 CORESERVICES_LIBS = $CORESERVICES_LIBS
19911 APPKIT_LIBS = $APPKIT_LIBS
19912 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19913 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19914 SECURITY_LIBS = $SECURITY_LIBS
19915 COREAUDIO_LIBS = $COREAUDIO_LIBS
19916 OPENAL_LIBS = $OPENAL_LIBS
19917 OPENCL_LIBS = $OPENCL_LIBS
19918 QUICKTIME_LIBS = $QUICKTIME_LIBS
19919 CARBON_LIBS = $CARBON_LIBS
19920 METAL_LIBS = $METAL_LIBS
19921 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19922 PTHREAD_LIBS = $PTHREAD_LIBS
19923 X_CFLAGS = $X_CFLAGS
19924 X_PRE_LIBS = $X_PRE_LIBS
19925 X_LIBS = $X_LIBS
19926 X_EXTRA_LIBS = $X_EXTRA_LIBS
19927 PCAP_LIBS = $PCAP_LIBS
19928 XML2_CFLAGS = $XML2_CFLAGS
19929 XML2_LIBS = $XML2_LIBS
19930 XSLT_CFLAGS = $XSLT_CFLAGS
19931 XSLT_LIBS = $XSLT_LIBS
19932 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19933 INOTIFY_LIBS = $INOTIFY_LIBS
19934 DBUS_CFLAGS = $DBUS_CFLAGS
19935 DBUS_LIBS = $DBUS_LIBS
19936 HAL_CFLAGS = $HAL_CFLAGS
19937 HAL_LIBS = $HAL_LIBS
19938 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19939 GNUTLS_LIBS = $GNUTLS_LIBS
19940 SANE_CFLAGS = $SANE_CFLAGS
19941 SANE_LIBS = $SANE_LIBS
19942 USB_CFLAGS = $USB_CFLAGS
19943 USB_LIBS = $USB_LIBS
19944 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19945 GPHOTO2_LIBS = $GPHOTO2_LIBS
19946 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19947 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19948 RESOLV_LIBS = $RESOLV_LIBS
19949 LCMS2_CFLAGS = $LCMS2_CFLAGS
19950 LCMS2_LIBS = $LCMS2_LIBS
19951 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19952 FREETYPE_LIBS = $FREETYPE_LIBS
19953 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19954 PULSE_CFLAGS = $PULSE_CFLAGS
19955 PULSE_LIBS = $PULSE_LIBS
19956 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19957 GSTREAMER_LIBS = $GSTREAMER_LIBS
19958 ALSA_LIBS = $ALSA_LIBS
19959 OSS4_CFLAGS = $OSS4_CFLAGS
19960 OSS4_LIBS = $OSS4_LIBS
19961 UDEV_CFLAGS = $UDEV_CFLAGS
19962 UDEV_LIBS = $UDEV_LIBS
19963 UNWIND_CFLAGS = $UNWIND_CFLAGS
19964 UNWIND_LIBS = $UNWIND_LIBS
19965 SDL2_CFLAGS = $SDL2_CFLAGS
19966 SDL2_LIBS = $SDL2_LIBS
19967 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19968 FAUDIO_LIBS = $FAUDIO_LIBS
19969 CAPI20_CFLAGS = $CAPI20_CFLAGS
19970 CAPI20_LIBS = $CAPI20_LIBS
19971 CUPS_CFLAGS = $CUPS_CFLAGS
19972 CUPS_LIBS = $CUPS_LIBS
19973 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19974 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19975 KRB5_CFLAGS = $KRB5_CFLAGS
19976 KRB5_LIBS = $KRB5_LIBS
19977 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19978 GSSAPI_LIBS = $GSSAPI_LIBS
19979 JPEG_CFLAGS = $JPEG_CFLAGS
19980 JPEG_LIBS = $JPEG_LIBS
19981 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
19982 JXRLIB_LIBS = $JXRLIB_LIBS
19983 PNG_CFLAGS = $PNG_CFLAGS
19984 PNG_LIBS = $PNG_LIBS
19985 TIFF_CFLAGS = $TIFF_CFLAGS
19986 TIFF_LIBS = $TIFF_LIBS
19987 MPG123_CFLAGS = $MPG123_CFLAGS
19988 MPG123_LIBS = $MPG123_LIBS
19989 PROCSTAT_LIBS = $PROCSTAT_LIBS
19990 NETAPI_CFLAGS = $NETAPI_CFLAGS
19991 NETAPI_LIBS = $NETAPI_LIBS
19992 VKD3D_CFLAGS = $VKD3D_CFLAGS
19993 VKD3D_LIBS = $VKD3D_LIBS
19994 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19995 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19996 POLL_LIBS = $POLL_LIBS
19997 RT_LIBS = $RT_LIBS
19998 LDAP_CFLAGS = $LDAP_CFLAGS
19999 LDAP_LIBS = $LDAP_LIBS
20003 makedep_flags=""
20004 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20007 wine_fn_append_rule "
20008 # Rules automatically generated by configure
20010 .INIT: Makefile
20011 .MAKEFILEDEPS:
20012 all: Makefile
20013 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20014 @./config.status Make.tmp Makefile
20015 depend: \$(MAKEDEP)
20016 \$(MAKEDEP)$makedep_flags
20017 dummy:
20018 .PHONY: depend dummy"
20020 ac_config_links="$ac_config_links wine:tools/winewrapper"
20021 wine_fn_config_symlink wine
20022 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20023 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20024 wine_fn_config_symlink wine64
20027 wine_fn_config_makefile dlls/acledit enable_acledit
20028 wine_fn_config_makefile dlls/aclui enable_aclui
20029 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20030 wine_fn_config_makefile dlls/activeds enable_activeds
20031 wine_fn_config_makefile dlls/activeds/tests enable_tests
20032 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20033 wine_fn_config_makefile dlls/adsiid enable_adsiid
20034 wine_fn_config_makefile dlls/adsldp enable_adsldp
20035 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20036 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20037 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20038 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20039 wine_fn_config_makefile dlls/advpack enable_advpack
20040 wine_fn_config_makefile dlls/advpack/tests enable_tests
20041 wine_fn_config_makefile dlls/amsi enable_amsi
20042 wine_fn_config_makefile dlls/amstream enable_amstream
20043 wine_fn_config_makefile dlls/amstream/tests enable_tests
20044 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20046 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20047 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20049 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20054 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20064 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20066 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20068 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20070 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20071 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20072 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20075 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20080 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20081 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20083 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20084 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20093 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20097 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20098 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
20099 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20100 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20103 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20105 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20106 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20110 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20111 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20120 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20121 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20122 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20130 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20134 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20135 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20136 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20160 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20164 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20167 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20178 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20183 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20184 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20189 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20191 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20210 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20211 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20232 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20243 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20247 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20249 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20251 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20252 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20257 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20259 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20265 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20268 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20270 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20273 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20278 wine_fn_config_makefile dlls/apphelp enable_apphelp
20279 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20280 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20281 wine_fn_config_makefile dlls/atl enable_atl
20282 wine_fn_config_makefile dlls/atl/tests enable_tests
20283 wine_fn_config_makefile dlls/atl100 enable_atl100
20284 wine_fn_config_makefile dlls/atl100/tests enable_tests
20285 wine_fn_config_makefile dlls/atl110 enable_atl110
20286 wine_fn_config_makefile dlls/atl80 enable_atl80
20287 wine_fn_config_makefile dlls/atl80/tests enable_tests
20288 wine_fn_config_makefile dlls/atl90 enable_atl90
20289 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20290 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20291 wine_fn_config_makefile dlls/atmlib enable_atmlib
20292 wine_fn_config_makefile dlls/authz enable_authz
20293 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20294 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20295 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20296 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20297 wine_fn_config_makefile dlls/avrt enable_avrt
20298 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20299 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20300 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20301 wine_fn_config_makefile dlls/browseui enable_browseui
20302 wine_fn_config_makefile dlls/browseui/tests enable_tests
20303 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20304 wine_fn_config_makefile dlls/cabinet enable_cabinet
20305 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20306 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20307 wine_fn_config_makefile dlls/cards enable_cards
20308 wine_fn_config_makefile dlls/cdosys enable_cdosys
20309 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20310 wine_fn_config_makefile dlls/clusapi enable_clusapi
20311 wine_fn_config_makefile dlls/combase enable_combase
20312 wine_fn_config_makefile dlls/combase/tests enable_tests
20313 wine_fn_config_makefile dlls/comcat enable_comcat
20314 wine_fn_config_makefile dlls/comcat/tests enable_tests
20315 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20316 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20317 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20318 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20319 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20320 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20321 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20322 wine_fn_config_makefile dlls/compstui enable_compstui
20323 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20324 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20325 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20326 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20327 wine_fn_config_makefile dlls/connect enable_connect
20328 wine_fn_config_makefile dlls/credui enable_credui
20329 wine_fn_config_makefile dlls/credui/tests enable_tests
20330 wine_fn_config_makefile dlls/crtdll enable_crtdll
20331 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20332 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20333 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20334 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20335 wine_fn_config_makefile dlls/cryptext enable_cryptext
20336 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20337 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20338 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20339 wine_fn_config_makefile dlls/cryptui enable_cryptui
20340 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20341 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20342 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20343 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20344 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20345 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20346 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20347 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20348 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20349 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20350 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20351 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20352 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20353 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20354 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20355 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20356 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20357 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20358 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20359 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20360 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20361 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20362 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20363 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20364 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20365 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20366 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20367 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20368 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20369 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20370 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20371 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20372 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20373 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20374 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20375 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20376 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20377 wine_fn_config_makefile dlls/d3dim enable_d3dim
20378 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20379 wine_fn_config_makefile dlls/d3drm enable_d3drm
20380 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20381 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20382 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20383 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20384 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20385 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20386 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20387 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20388 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20389 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
20390 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20391 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
20392 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20393 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
20394 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20395 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20396 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20397 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
20398 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20399 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20400 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20401 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20402 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20403 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20404 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20405 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20406 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20407 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20408 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20409 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20410 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20411 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20412 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20413 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20414 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20415 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20416 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20417 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20418 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20419 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20420 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20421 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20422 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20423 wine_fn_config_makefile dlls/davclnt enable_davclnt
20424 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20425 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20426 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20427 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20428 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20429 wine_fn_config_makefile dlls/dcomp enable_dcomp
20430 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20431 wine_fn_config_makefile dlls/ddraw enable_ddraw
20432 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20433 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20434 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20435 wine_fn_config_makefile dlls/devenum enable_devenum
20436 wine_fn_config_makefile dlls/devenum/tests enable_tests
20437 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20438 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20439 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20440 wine_fn_config_makefile dlls/difxapi enable_difxapi
20441 wine_fn_config_makefile dlls/dinput enable_dinput
20442 wine_fn_config_makefile dlls/dinput/tests enable_tests
20443 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20444 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20445 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20446 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20447 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20448 wine_fn_config_makefile dlls/dispex enable_dispex
20449 wine_fn_config_makefile dlls/dispex/tests enable_tests
20450 wine_fn_config_makefile dlls/display.drv16 enable_win16
20451 wine_fn_config_makefile dlls/dmband enable_dmband
20452 wine_fn_config_makefile dlls/dmband/tests enable_tests
20453 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20454 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20455 wine_fn_config_makefile dlls/dmime enable_dmime
20456 wine_fn_config_makefile dlls/dmime/tests enable_tests
20457 wine_fn_config_makefile dlls/dmloader enable_dmloader
20458 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20459 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20460 wine_fn_config_makefile dlls/dmscript enable_dmscript
20461 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20462 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20463 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20464 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20465 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20466 wine_fn_config_makefile dlls/dmusic enable_dmusic
20467 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20468 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20469 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20470 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20471 wine_fn_config_makefile dlls/dplay enable_dplay
20472 wine_fn_config_makefile dlls/dplayx enable_dplayx
20473 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20474 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20475 wine_fn_config_makefile dlls/dpnet enable_dpnet
20476 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20477 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20478 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20479 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20480 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20481 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20482 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20483 wine_fn_config_makefile dlls/drmclien enable_drmclien
20484 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20485 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20486 wine_fn_config_makefile dlls/dsound enable_dsound
20487 wine_fn_config_makefile dlls/dsound/tests enable_tests
20488 wine_fn_config_makefile dlls/dsquery enable_dsquery
20489 wine_fn_config_makefile dlls/dssenh enable_dssenh
20490 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20491 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20492 wine_fn_config_makefile dlls/dswave enable_dswave
20493 wine_fn_config_makefile dlls/dswave/tests enable_tests
20494 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20495 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20496 wine_fn_config_makefile dlls/dwrite enable_dwrite
20497 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20498 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20499 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20500 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20501 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20502 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20503 wine_fn_config_makefile dlls/dxgi enable_dxgi
20504 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20505 wine_fn_config_makefile dlls/dxguid enable_dxguid
20506 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
20507 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20508 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20509 wine_fn_config_makefile dlls/esent enable_esent
20510 wine_fn_config_makefile dlls/evr enable_evr
20511 wine_fn_config_makefile dlls/evr/tests enable_tests
20512 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20513 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20514 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20515 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20516 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20517 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20518 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20519 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20520 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20521 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20522 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20523 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20524 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20525 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20526 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20527 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20528 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20529 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20530 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20531 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20532 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20533 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20534 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20535 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20536 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20537 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20538 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20539 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20540 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20541 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20542 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20543 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20544 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20545 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20546 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20547 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20548 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20550 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20551 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20552 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20553 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20554 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
20555 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20556 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20557 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20562 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20563 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20565 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20566 wine_fn_config_makefile dlls/faultrep enable_faultrep
20567 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20568 wine_fn_config_makefile dlls/feclient enable_feclient
20569 wine_fn_config_makefile dlls/fltlib enable_fltlib
20570 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20571 wine_fn_config_makefile dlls/fntcache enable_fntcache
20572 wine_fn_config_makefile dlls/fontsub enable_fontsub
20573 wine_fn_config_makefile dlls/fusion enable_fusion
20574 wine_fn_config_makefile dlls/fusion/tests enable_tests
20575 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20576 wine_fn_config_makefile dlls/gameux enable_gameux
20577 wine_fn_config_makefile dlls/gameux/tests enable_tests
20578 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20579 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20580 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20581 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20582 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20583 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20584 wine_fn_config_makefile dlls/glu32 enable_glu32
20585 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20586 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20587 wine_fn_config_makefile dlls/hal enable_hal
20588 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20589 wine_fn_config_makefile dlls/hid enable_hid
20590 wine_fn_config_makefile dlls/hid/tests enable_tests
20591 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20592 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
20593 wine_fn_config_makefile dlls/hlink enable_hlink
20594 wine_fn_config_makefile dlls/hlink/tests enable_tests
20595 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20596 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20597 wine_fn_config_makefile dlls/http.sys enable_http_sys
20598 wine_fn_config_makefile dlls/httpapi enable_httpapi
20599 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20600 wine_fn_config_makefile dlls/iccvid enable_iccvid
20601 wine_fn_config_makefile dlls/icmp enable_icmp
20602 wine_fn_config_makefile dlls/ieframe enable_ieframe
20603 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20604 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20605 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20606 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20607 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20608 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20609 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20610 wine_fn_config_makefile dlls/imm32 enable_imm32
20611 wine_fn_config_makefile dlls/imm32/tests enable_tests
20612 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20613 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20614 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20615 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20616 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20617 wine_fn_config_makefile dlls/infosoft enable_infosoft
20618 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20619 wine_fn_config_makefile dlls/initpki enable_initpki
20620 wine_fn_config_makefile dlls/inkobj enable_inkobj
20621 wine_fn_config_makefile dlls/inseng enable_inseng
20622 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20623 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20624 wine_fn_config_makefile dlls/iprop enable_iprop
20625 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20626 wine_fn_config_makefile dlls/itircl enable_itircl
20627 wine_fn_config_makefile dlls/itss enable_itss
20628 wine_fn_config_makefile dlls/itss/tests enable_tests
20629 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20630 wine_fn_config_makefile dlls/jscript enable_jscript
20631 wine_fn_config_makefile dlls/jscript/tests enable_tests
20632 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20633 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20634 wine_fn_config_makefile dlls/kerberos enable_kerberos
20635 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20636 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20637 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20638 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20639 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20640 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20641 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20642 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20643 wine_fn_config_makefile dlls/ksuser enable_ksuser
20644 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20645 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20646 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
20647 wine_fn_config_makefile dlls/loadperf enable_loadperf
20648 wine_fn_config_makefile dlls/localspl enable_localspl
20649 wine_fn_config_makefile dlls/localspl/tests enable_tests
20650 wine_fn_config_makefile dlls/localui enable_localui
20651 wine_fn_config_makefile dlls/localui/tests enable_tests
20652 wine_fn_config_makefile dlls/lz32 enable_lz32
20653 wine_fn_config_makefile dlls/lz32/tests enable_tests
20654 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20655 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20656 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20657 wine_fn_config_makefile dlls/mapistub enable_mapistub
20658 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20659 wine_fn_config_makefile dlls/mcicda enable_mcicda
20660 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20661 wine_fn_config_makefile dlls/mciseq enable_mciseq
20662 wine_fn_config_makefile dlls/mciwave enable_mciwave
20663 wine_fn_config_makefile dlls/mf enable_mf
20664 wine_fn_config_makefile dlls/mf/tests enable_tests
20665 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20666 wine_fn_config_makefile dlls/mferror enable_mferror
20667 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20668 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20669 wine_fn_config_makefile dlls/mfplat enable_mfplat
20670 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20671 wine_fn_config_makefile dlls/mfplay enable_mfplay
20672 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20673 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20674 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20675 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20676 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20677 wine_fn_config_makefile dlls/midimap enable_midimap
20678 wine_fn_config_makefile dlls/mlang enable_mlang
20679 wine_fn_config_makefile dlls/mlang/tests enable_tests
20680 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20681 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20682 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20683 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20684 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20685 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20686 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20687 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20688 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20689 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20690 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20691 wine_fn_config_makefile dlls/mpr enable_mpr
20692 wine_fn_config_makefile dlls/mpr/tests enable_tests
20693 wine_fn_config_makefile dlls/mprapi enable_mprapi
20694 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20695 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20696 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20697 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20698 wine_fn_config_makefile dlls/msado15 enable_msado15
20699 wine_fn_config_makefile dlls/msado15/tests enable_tests
20700 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20701 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20702 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20703 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20704 wine_fn_config_makefile dlls/mscms enable_mscms
20705 wine_fn_config_makefile dlls/mscms/tests enable_tests
20706 wine_fn_config_makefile dlls/mscoree enable_mscoree
20707 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20708 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20709 wine_fn_config_makefile dlls/msctf enable_msctf
20710 wine_fn_config_makefile dlls/msctf/tests enable_tests
20711 wine_fn_config_makefile dlls/msctfp enable_msctfp
20712 wine_fn_config_makefile dlls/msdaps enable_msdaps
20713 wine_fn_config_makefile dlls/msdelta enable_msdelta
20714 wine_fn_config_makefile dlls/msdmo enable_msdmo
20715 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20716 wine_fn_config_makefile dlls/msdrm enable_msdrm
20717 wine_fn_config_makefile dlls/msftedit enable_msftedit
20718 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20719 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20720 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20721 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20722 wine_fn_config_makefile dlls/mshtml enable_mshtml
20723 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20724 wine_fn_config_makefile dlls/msi enable_msi
20725 wine_fn_config_makefile dlls/msi/tests enable_tests
20726 wine_fn_config_makefile dlls/msident enable_msident
20727 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20728 wine_fn_config_makefile dlls/msimsg enable_msimsg
20729 wine_fn_config_makefile dlls/msimtf enable_msimtf
20730 wine_fn_config_makefile dlls/msisip enable_msisip
20731 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20732 wine_fn_config_makefile dlls/msls31 enable_msls31
20733 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20734 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20735 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20736 wine_fn_config_makefile dlls/msports enable_msports
20737 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20738 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20739 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20740 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20741 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20742 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20743 wine_fn_config_makefile dlls/mstask enable_mstask
20744 wine_fn_config_makefile dlls/mstask/tests enable_tests
20745 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20746 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20747 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20748 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20749 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20750 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20751 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20752 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20753 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20754 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20755 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20756 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20757 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20758 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20759 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20760 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20761 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20762 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20763 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20764 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20765 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20766 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20767 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20768 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20769 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20770 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20771 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20772 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20773 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20774 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20775 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20776 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20777 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20778 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20779 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20780 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20781 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20782 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20783 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20784 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20785 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20786 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20787 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20788 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20789 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20790 wine_fn_config_makefile dlls/mswsock enable_mswsock
20791 wine_fn_config_makefile dlls/msxml enable_msxml
20792 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20793 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20794 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20795 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20796 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20797 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20798 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20799 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20800 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20801 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20802 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20803 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20804 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20805 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20806 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20807 wine_fn_config_makefile dlls/netprofm enable_netprofm
20808 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20809 wine_fn_config_makefile dlls/netutils enable_netutils
20810 wine_fn_config_makefile dlls/newdev enable_newdev
20811 wine_fn_config_makefile dlls/ninput enable_ninput
20812 wine_fn_config_makefile dlls/ninput/tests enable_tests
20813 wine_fn_config_makefile dlls/normaliz enable_normaliz
20814 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20815 wine_fn_config_makefile dlls/npptools enable_npptools
20816 wine_fn_config_makefile dlls/nsi enable_nsi
20817 wine_fn_config_makefile dlls/nsi/tests enable_tests
20818 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
20819 wine_fn_config_makefile dlls/ntdll enable_ntdll
20820 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20821 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20822 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20823 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20824 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20825 wine_fn_config_makefile dlls/ntprint enable_ntprint
20826 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20827 wine_fn_config_makefile dlls/objsel enable_objsel
20828 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20829 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20830 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20831 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20832 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20833 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20834 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20835 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20836 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20837 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20838 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20839 wine_fn_config_makefile dlls/ole32 enable_ole32
20840 wine_fn_config_makefile dlls/ole32/tests enable_tests
20841 wine_fn_config_makefile dlls/oleacc enable_oleacc
20842 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20843 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20844 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20845 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20846 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20847 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20848 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20849 wine_fn_config_makefile dlls/oledlg enable_oledlg
20850 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20851 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20852 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20853 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20854 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20855 wine_fn_config_makefile dlls/opcservices enable_opcservices
20856 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20857 wine_fn_config_makefile dlls/openal32 enable_openal32
20858 wine_fn_config_makefile dlls/opencl enable_opencl
20859 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20860 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20861 wine_fn_config_makefile dlls/packager enable_packager
20862 wine_fn_config_makefile dlls/packager/tests enable_tests
20863 wine_fn_config_makefile dlls/pdh enable_pdh
20864 wine_fn_config_makefile dlls/pdh/tests enable_tests
20865 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20866 wine_fn_config_makefile dlls/pidgen enable_pidgen
20867 wine_fn_config_makefile dlls/powrprof enable_powrprof
20868 wine_fn_config_makefile dlls/printui enable_printui
20869 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20870 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20871 wine_fn_config_makefile dlls/propsys enable_propsys
20872 wine_fn_config_makefile dlls/propsys/tests enable_tests
20873 wine_fn_config_makefile dlls/psapi enable_psapi
20874 wine_fn_config_makefile dlls/psapi/tests enable_tests
20875 wine_fn_config_makefile dlls/pstorec enable_pstorec
20876 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20877 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20878 wine_fn_config_makefile dlls/qasf enable_qasf
20879 wine_fn_config_makefile dlls/qasf/tests enable_tests
20880 wine_fn_config_makefile dlls/qcap enable_qcap
20881 wine_fn_config_makefile dlls/qcap/tests enable_tests
20882 wine_fn_config_makefile dlls/qdvd enable_qdvd
20883 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20884 wine_fn_config_makefile dlls/qedit enable_qedit
20885 wine_fn_config_makefile dlls/qedit/tests enable_tests
20886 wine_fn_config_makefile dlls/qmgr enable_qmgr
20887 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20888 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20889 wine_fn_config_makefile dlls/quartz enable_quartz
20890 wine_fn_config_makefile dlls/quartz/tests enable_tests
20891 wine_fn_config_makefile dlls/query enable_query
20892 wine_fn_config_makefile dlls/qwave enable_qwave
20893 wine_fn_config_makefile dlls/qwave/tests enable_tests
20894 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20895 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20896 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20897 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20898 wine_fn_config_makefile dlls/regapi enable_regapi
20899 wine_fn_config_makefile dlls/resutils enable_resutils
20900 wine_fn_config_makefile dlls/riched20 enable_riched20
20901 wine_fn_config_makefile dlls/riched20/tests enable_tests
20902 wine_fn_config_makefile dlls/riched32 enable_riched32
20903 wine_fn_config_makefile dlls/riched32/tests enable_tests
20904 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20905 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20906 wine_fn_config_makefile dlls/rsabase enable_rsabase
20907 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20908 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20909 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20910 wine_fn_config_makefile dlls/rtutils enable_rtutils
20911 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20912 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20913 wine_fn_config_makefile dlls/samlib enable_samlib
20914 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20915 wine_fn_config_makefile dlls/sapi enable_sapi
20916 wine_fn_config_makefile dlls/sapi/tests enable_tests
20917 wine_fn_config_makefile dlls/sas enable_sas
20918 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20919 wine_fn_config_makefile dlls/sccbase enable_sccbase
20920 wine_fn_config_makefile dlls/schannel enable_schannel
20921 wine_fn_config_makefile dlls/schannel/tests enable_tests
20922 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20923 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20924 wine_fn_config_makefile dlls/scrobj enable_scrobj
20925 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20926 wine_fn_config_makefile dlls/scrrun enable_scrrun
20927 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20928 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20929 wine_fn_config_makefile dlls/sechost enable_sechost
20930 wine_fn_config_makefile dlls/secur32 enable_secur32
20931 wine_fn_config_makefile dlls/secur32/tests enable_tests
20932 wine_fn_config_makefile dlls/security enable_security
20933 wine_fn_config_makefile dlls/sensapi enable_sensapi
20934 wine_fn_config_makefile dlls/serialui enable_serialui
20935 wine_fn_config_makefile dlls/serialui/tests enable_tests
20936 wine_fn_config_makefile dlls/setupapi enable_setupapi
20937 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20938 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20939 wine_fn_config_makefile dlls/sfc enable_sfc
20940 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20941 wine_fn_config_makefile dlls/shcore enable_shcore
20942 wine_fn_config_makefile dlls/shcore/tests enable_tests
20943 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20944 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20945 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20946 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20947 wine_fn_config_makefile dlls/shell32 enable_shell32
20948 wine_fn_config_makefile dlls/shell32/tests enable_tests
20949 wine_fn_config_makefile dlls/shfolder enable_shfolder
20950 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20951 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20952 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20953 wine_fn_config_makefile dlls/slc enable_slc
20954 wine_fn_config_makefile dlls/slc/tests enable_tests
20955 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20956 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20957 wine_fn_config_makefile dlls/softpub enable_softpub
20958 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20959 wine_fn_config_makefile dlls/spoolss enable_spoolss
20960 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20961 wine_fn_config_makefile dlls/sppc enable_sppc
20962 wine_fn_config_makefile dlls/srclient enable_srclient
20963 wine_fn_config_makefile dlls/srvcli enable_srvcli
20964 wine_fn_config_makefile dlls/sspicli enable_sspicli
20965 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20966 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20967 wine_fn_config_makefile dlls/sti enable_sti
20968 wine_fn_config_makefile dlls/sti/tests enable_tests
20969 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20970 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20971 wine_fn_config_makefile dlls/strmbase enable_strmbase
20972 wine_fn_config_makefile dlls/strmdll enable_strmdll
20973 wine_fn_config_makefile dlls/strmiids enable_strmiids
20974 wine_fn_config_makefile dlls/svrapi enable_svrapi
20975 wine_fn_config_makefile dlls/sxs enable_sxs
20976 wine_fn_config_makefile dlls/sxs/tests enable_tests
20977 wine_fn_config_makefile dlls/system.drv16 enable_win16
20978 wine_fn_config_makefile dlls/t2embed enable_t2embed
20979 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20980 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20981 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20982 wine_fn_config_makefile dlls/taskschd enable_taskschd
20983 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20984 wine_fn_config_makefile dlls/tbs enable_tbs
20985 wine_fn_config_makefile dlls/tdh enable_tdh
20986 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20987 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20988 wine_fn_config_makefile dlls/traffic enable_traffic
20989 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20990 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20991 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20992 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20993 wine_fn_config_makefile dlls/tzres enable_tzres
20994 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20995 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20996 wine_fn_config_makefile dlls/uianimation enable_uianimation
20997 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20998 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20999 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21000 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21001 wine_fn_config_makefile dlls/unicows enable_unicows
21002 wine_fn_config_makefile dlls/updspapi enable_updspapi
21003 wine_fn_config_makefile dlls/url enable_url
21004 wine_fn_config_makefile dlls/urlmon enable_urlmon
21005 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21006 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21007 wine_fn_config_makefile dlls/user.exe16 enable_win16
21008 wine_fn_config_makefile dlls/user32 enable_user32
21009 wine_fn_config_makefile dlls/user32/tests enable_tests
21010 wine_fn_config_makefile dlls/userenv enable_userenv
21011 wine_fn_config_makefile dlls/userenv/tests enable_tests
21012 wine_fn_config_makefile dlls/usp10 enable_usp10
21013 wine_fn_config_makefile dlls/usp10/tests enable_tests
21014 wine_fn_config_makefile dlls/utildll enable_utildll
21015 wine_fn_config_makefile dlls/uuid enable_uuid
21016 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21017 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21018 wine_fn_config_makefile dlls/vbscript enable_vbscript
21019 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21020 wine_fn_config_makefile dlls/vcomp enable_vcomp
21021 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21022 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21023 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21024 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21025 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21026 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21027 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21028 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21029 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21030 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21031 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21032 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21033 wine_fn_config_makefile dlls/version enable_version
21034 wine_fn_config_makefile dlls/version/tests enable_tests
21035 wine_fn_config_makefile dlls/vga enable_vga
21036 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21037 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21038 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21039 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21040 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21041 wine_fn_config_makefile dlls/vssapi enable_vssapi
21042 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21043 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21044 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21045 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21046 wine_fn_config_makefile dlls/w32skrnl enable_win16
21047 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21048 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21049 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21050 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21051 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21052 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21053 wine_fn_config_makefile dlls/wdscore enable_wdscore
21054 wine_fn_config_makefile dlls/webservices enable_webservices
21055 wine_fn_config_makefile dlls/webservices/tests enable_tests
21056 wine_fn_config_makefile dlls/websocket enable_websocket
21057 wine_fn_config_makefile dlls/wer enable_wer
21058 wine_fn_config_makefile dlls/wer/tests enable_tests
21059 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21060 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21061 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21062 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21063 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21064 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21065 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21066 wine_fn_config_makefile dlls/win32u enable_win32u
21067 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21068 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21069 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21070 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21071 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21072 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21073 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21074 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21075 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21076 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21077 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
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/wow64 enable_wow64
21140 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21141 wine_fn_config_makefile dlls/wow64win enable_wow64win
21142 wine_fn_config_makefile dlls/wpc enable_wpc
21143 wine_fn_config_makefile dlls/wpc/tests enable_tests
21144 wine_fn_config_makefile dlls/wpcap enable_wpcap
21145 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21146 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21147 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21148 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21149 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21150 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21151 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21152 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21153 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21154 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21155 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21156 wine_fn_config_makefile dlls/wuapi enable_wuapi
21157 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21158 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21159 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21160 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21161 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21162 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21163 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21164 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21165 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21166 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21167 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21168 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21169 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21170 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21171 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21172 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21173 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21174 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21175 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21176 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21177 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21178 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21179 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21180 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21181 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21182 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21183 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21184 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21185 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21186 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21187 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21188 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21189 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21190 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21191 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21192 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21193 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21194 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21195 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21196 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21197 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21198 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21199 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21200 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21201 wine_fn_config_makefile dlls/xmllite enable_xmllite
21202 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21203 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21204 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21205 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21206 wine_fn_config_makefile fonts enable_fonts
21207 wine_fn_config_makefile include enable_include
21208 wine_fn_config_makefile libs/port enable_port
21209 wine_fn_config_makefile libs/wine enable_wine
21210 wine_fn_config_makefile libs/wpp enable_wpp
21211 wine_fn_config_makefile loader enable_loader
21212 wine_fn_config_makefile nls enable_nls
21213 wine_fn_config_makefile po enable_po
21214 wine_fn_config_makefile programs/arp enable_arp
21215 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21216 wine_fn_config_makefile programs/attrib enable_attrib
21217 wine_fn_config_makefile programs/cabarc enable_cabarc
21218 wine_fn_config_makefile programs/cacls enable_cacls
21219 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21220 wine_fn_config_makefile programs/clock enable_clock
21221 wine_fn_config_makefile programs/cmd enable_cmd
21222 wine_fn_config_makefile programs/cmd/tests enable_tests
21223 wine_fn_config_makefile programs/conhost enable_conhost
21224 wine_fn_config_makefile programs/conhost/tests enable_tests
21225 wine_fn_config_makefile programs/control enable_control
21226 wine_fn_config_makefile programs/cscript enable_cscript
21227 wine_fn_config_makefile programs/dism enable_dism
21228 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21229 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21230 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21231 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21232 wine_fn_config_makefile programs/eject enable_eject
21233 wine_fn_config_makefile programs/expand enable_expand
21234 wine_fn_config_makefile programs/explorer enable_explorer
21235 wine_fn_config_makefile programs/extrac32 enable_extrac32
21236 wine_fn_config_makefile programs/fc enable_fc
21237 wine_fn_config_makefile programs/find enable_find
21238 wine_fn_config_makefile programs/find/tests enable_tests
21239 wine_fn_config_makefile programs/findstr enable_findstr
21240 wine_fn_config_makefile programs/fsutil enable_fsutil
21241 wine_fn_config_makefile programs/fsutil/tests enable_tests
21242 wine_fn_config_makefile programs/hh enable_hh
21243 wine_fn_config_makefile programs/hostname enable_hostname
21244 wine_fn_config_makefile programs/icacls enable_icacls
21245 wine_fn_config_makefile programs/icinfo enable_icinfo
21246 wine_fn_config_makefile programs/iexplore enable_iexplore
21247 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21248 wine_fn_config_makefile programs/lodctr enable_lodctr
21249 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21250 wine_fn_config_makefile programs/mshta enable_mshta
21251 wine_fn_config_makefile programs/msidb enable_msidb
21252 wine_fn_config_makefile programs/msiexec enable_msiexec
21253 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21254 wine_fn_config_makefile programs/net enable_net
21255 wine_fn_config_makefile programs/netsh enable_netsh
21256 wine_fn_config_makefile programs/netstat enable_netstat
21257 wine_fn_config_makefile programs/ngen enable_ngen
21258 wine_fn_config_makefile programs/notepad enable_notepad
21259 wine_fn_config_makefile programs/oleview enable_oleview
21260 wine_fn_config_makefile programs/ping enable_ping
21261 wine_fn_config_makefile programs/plugplay enable_plugplay
21262 wine_fn_config_makefile programs/powershell enable_powershell
21263 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21264 wine_fn_config_makefile programs/progman enable_progman
21265 wine_fn_config_makefile programs/reg enable_reg
21266 wine_fn_config_makefile programs/reg/tests enable_tests
21267 wine_fn_config_makefile programs/regasm enable_regasm
21268 wine_fn_config_makefile programs/regedit enable_regedit
21269 wine_fn_config_makefile programs/regedit/tests enable_tests
21270 wine_fn_config_makefile programs/regini enable_regini
21271 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21272 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21273 wine_fn_config_makefile programs/rpcss enable_rpcss
21274 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21275 wine_fn_config_makefile programs/rundll32 enable_rundll32
21276 wine_fn_config_makefile programs/sc enable_sc
21277 wine_fn_config_makefile programs/schtasks enable_schtasks
21278 wine_fn_config_makefile programs/schtasks/tests enable_tests
21279 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21280 wine_fn_config_makefile programs/secedit enable_secedit
21281 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21282 wine_fn_config_makefile programs/services enable_services
21283 wine_fn_config_makefile programs/services/tests enable_tests
21284 wine_fn_config_makefile programs/shutdown enable_shutdown
21285 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21286 wine_fn_config_makefile programs/start enable_start
21287 wine_fn_config_makefile programs/subst enable_subst
21288 wine_fn_config_makefile programs/svchost enable_svchost
21289 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21290 wine_fn_config_makefile programs/taskkill enable_taskkill
21291 wine_fn_config_makefile programs/tasklist enable_tasklist
21292 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21293 wine_fn_config_makefile programs/termsv enable_termsv
21294 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21295 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21296 wine_fn_config_makefile programs/view enable_view
21297 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21298 wine_fn_config_makefile programs/where enable_where
21299 wine_fn_config_makefile programs/whoami enable_whoami
21300 wine_fn_config_makefile programs/wineboot enable_wineboot
21301 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21302 wine_fn_config_makefile programs/winecfg enable_winecfg
21303 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21304 wine_fn_config_makefile programs/winedbg enable_winedbg
21305 wine_fn_config_makefile programs/winedevice enable_winedevice
21306 wine_fn_config_makefile programs/winefile enable_winefile
21307 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21308 wine_fn_config_makefile programs/winemine enable_winemine
21309 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21310 wine_fn_config_makefile programs/winepath enable_winepath
21311 wine_fn_config_makefile programs/winetest enable_winetest
21312 wine_fn_config_makefile programs/winevdm enable_win16
21313 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21314 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21315 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21316 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21317 wine_fn_config_makefile programs/winver enable_winver
21318 wine_fn_config_makefile programs/wmic enable_wmic
21319 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21320 wine_fn_config_makefile programs/wordpad enable_wordpad
21321 wine_fn_config_makefile programs/write enable_write
21322 wine_fn_config_makefile programs/wscript enable_wscript
21323 wine_fn_config_makefile programs/wscript/tests enable_tests
21324 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21325 wine_fn_config_makefile programs/wusa enable_wusa
21326 wine_fn_config_makefile programs/xcopy enable_xcopy
21327 wine_fn_config_makefile programs/xcopy/tests enable_tests
21328 wine_fn_config_makefile server enable_server
21329 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21330 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21331 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21332 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21333 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21334 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21335 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21336 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21337 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21340 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21341 wine_fn_append_file CONFIGURE_TARGETS "tags"
21342 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21343 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21344 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21345 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21346 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21347 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21349 if test "x$enable_tools" != xno
21350 then
21351 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21352 ac_config_commands="$ac_config_commands tools/makedep"
21356 ac_config_commands="$ac_config_commands Makefile"
21359 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21363 if test "x$enable_maintainer_mode" = xyes
21364 then
21365 wine_fn_append_rule "configure: configure.ac aclocal.m4
21366 autoconf --warnings=all
21367 include/config.h.in: include/stamp-h.in
21368 include/stamp-h.in: configure.ac aclocal.m4
21369 autoheader --warnings=all
21370 @echo timestamp > \$@"
21373 if test "x$enable_tools" != xno
21374 then
21375 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21376 @./config.status tools/makedep
21377 Makefile: tools/makedep$ac_exeext"
21378 else
21379 wine_fn_append_rule "\$(MAKEDEP):
21380 @echo \"You need to run make in $TOOLSDIR first\" && false"
21383 if test -n "$with_wine64"
21384 then
21385 case "$with_wine64" in
21386 /*) reldir="" ;;
21387 *) reldir="../" ;;
21388 esac
21389 rm -f fonts server 2>/dev/null
21390 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21391 loader/wine64 loader/wine64-preloader:
21392 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21393 $with_wine64/loader/wine:
21394 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21395 $with_wine64/loader/wine-preloader:
21396 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21397 clean::
21398 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21399 else
21400 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21401 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21402 fonts \
21403 loader/wine.inf \
21404 nls \
21405 programs/msidb/msidb \
21406 programs/msiexec/msiexec \
21407 programs/notepad/notepad \
21408 programs/regedit/regedit \
21409 programs/regsvr32/regsvr32 \
21410 programs/wineboot/wineboot \
21411 programs/winecfg/winecfg \
21412 programs/wineconsole/wineconsole \
21413 programs/winedbg/winedbg \
21414 programs/winefile/winefile \
21415 programs/winemine/winemine \
21416 programs/winepath/winepath \
21417 server/wineserver"
21419 case $host_os in
21420 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21421 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21422 esac
21425 $as_echo " done" >&6
21426 cat >confcache <<\_ACEOF
21427 # This file is a shell script that caches the results of configure
21428 # tests run on this system so they can be shared between configure
21429 # scripts and configure runs, see configure's option --config-cache.
21430 # It is not useful on other systems. If it contains results you don't
21431 # want to keep, you may remove or edit it.
21433 # config.status only pays attention to the cache file if you give it
21434 # the --recheck option to rerun configure.
21436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21438 # following values.
21440 _ACEOF
21442 # The following way of writing the cache mishandles newlines in values,
21443 # but we know of no workaround that is simple, portable, and efficient.
21444 # So, we kill variables containing newlines.
21445 # Ultrix sh set writes to stderr and can't be redirected directly,
21446 # and sets the high bit in the cache file unless we assign to the vars.
21448 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21449 eval ac_val=\$$ac_var
21450 case $ac_val in #(
21451 *${as_nl}*)
21452 case $ac_var in #(
21453 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21454 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21455 esac
21456 case $ac_var in #(
21457 _ | IFS | as_nl) ;; #(
21458 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21459 *) { eval $ac_var=; unset $ac_var;} ;;
21460 esac ;;
21461 esac
21462 done
21464 (set) 2>&1 |
21465 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21466 *${as_nl}ac_space=\ *)
21467 # `set' does not quote correctly, so add quotes: double-quote
21468 # substitution turns \\\\ into \\, and sed turns \\ into \.
21469 sed -n \
21470 "s/'/'\\\\''/g;
21471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21472 ;; #(
21474 # `set' quotes correctly as required by POSIX, so do not add quotes.
21475 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21477 esac |
21478 sort
21480 sed '
21481 /^ac_cv_env_/b end
21482 t clear
21483 :clear
21484 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21485 t end
21486 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21487 :end' >>confcache
21488 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21489 if test -w "$cache_file"; then
21490 if test "x$cache_file" != "x/dev/null"; then
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21492 $as_echo "$as_me: updating cache $cache_file" >&6;}
21493 if test ! -f "$cache_file" || test -h "$cache_file"; then
21494 cat confcache >"$cache_file"
21495 else
21496 case $cache_file in #(
21497 */* | ?:*)
21498 mv -f confcache "$cache_file"$$ &&
21499 mv -f "$cache_file"$$ "$cache_file" ;; #(
21501 mv -f confcache "$cache_file" ;;
21502 esac
21505 else
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21507 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21510 rm -f confcache
21512 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21513 # Let make expand exec_prefix.
21514 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21516 DEFS=-DHAVE_CONFIG_H
21518 ac_libobjs=
21519 ac_ltlibobjs=
21521 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21522 # 1. Remove the extension, and $U if already installed.
21523 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21524 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21525 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21526 # will be set to the directory where LIBOBJS objects are built.
21527 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21528 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21529 done
21530 LIBOBJS=$ac_libobjs
21532 LTLIBOBJS=$ac_ltlibobjs
21536 : "${CONFIG_STATUS=./config.status}"
21537 ac_write_fail=0
21538 ac_clean_files_save=$ac_clean_files
21539 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21540 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21541 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21542 as_write_fail=0
21543 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21544 #! $SHELL
21545 # Generated by $as_me.
21546 # Run this file to recreate the current configuration.
21547 # Compiler output produced by configure, useful for debugging
21548 # configure, is in config.log if it exists.
21550 debug=false
21551 ac_cs_recheck=false
21552 ac_cs_silent=false
21554 SHELL=\${CONFIG_SHELL-$SHELL}
21555 export SHELL
21556 _ASEOF
21557 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21558 ## -------------------- ##
21559 ## M4sh Initialization. ##
21560 ## -------------------- ##
21562 # Be more Bourne compatible
21563 DUALCASE=1; export DUALCASE # for MKS sh
21564 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21565 emulate sh
21566 NULLCMD=:
21567 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21568 # is contrary to our usage. Disable this feature.
21569 alias -g '${1+"$@"}'='"$@"'
21570 setopt NO_GLOB_SUBST
21571 else
21572 case `(set -o) 2>/dev/null` in #(
21573 *posix*) :
21574 set -o posix ;; #(
21575 *) :
21577 esac
21581 as_nl='
21583 export as_nl
21584 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21585 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21586 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21587 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21588 # Prefer a ksh shell builtin over an external printf program on Solaris,
21589 # but without wasting forks for bash or zsh.
21590 if test -z "$BASH_VERSION$ZSH_VERSION" \
21591 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21592 as_echo='print -r --'
21593 as_echo_n='print -rn --'
21594 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21595 as_echo='printf %s\n'
21596 as_echo_n='printf %s'
21597 else
21598 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21599 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21600 as_echo_n='/usr/ucb/echo -n'
21601 else
21602 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21603 as_echo_n_body='eval
21604 arg=$1;
21605 case $arg in #(
21606 *"$as_nl"*)
21607 expr "X$arg" : "X\\(.*\\)$as_nl";
21608 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21609 esac;
21610 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21612 export as_echo_n_body
21613 as_echo_n='sh -c $as_echo_n_body as_echo'
21615 export as_echo_body
21616 as_echo='sh -c $as_echo_body as_echo'
21619 # The user is always right.
21620 if test "${PATH_SEPARATOR+set}" != set; then
21621 PATH_SEPARATOR=:
21622 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21623 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21624 PATH_SEPARATOR=';'
21629 # IFS
21630 # We need space, tab and new line, in precisely that order. Quoting is
21631 # there to prevent editors from complaining about space-tab.
21632 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21633 # splitting by setting IFS to empty value.)
21634 IFS=" "" $as_nl"
21636 # Find who we are. Look in the path if we contain no directory separator.
21637 as_myself=
21638 case $0 in #((
21639 *[\\/]* ) as_myself=$0 ;;
21640 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21641 for as_dir in $PATH
21643 IFS=$as_save_IFS
21644 test -z "$as_dir" && as_dir=.
21645 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21646 done
21647 IFS=$as_save_IFS
21650 esac
21651 # We did not find ourselves, most probably we were run as `sh COMMAND'
21652 # in which case we are not to be found in the path.
21653 if test "x$as_myself" = x; then
21654 as_myself=$0
21656 if test ! -f "$as_myself"; then
21657 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21658 exit 1
21661 # Unset variables that we do not need and which cause bugs (e.g. in
21662 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21663 # suppresses any "Segmentation fault" message there. '((' could
21664 # trigger a bug in pdksh 5.2.14.
21665 for as_var in BASH_ENV ENV MAIL MAILPATH
21666 do eval test x\${$as_var+set} = xset \
21667 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21668 done
21669 PS1='$ '
21670 PS2='> '
21671 PS4='+ '
21673 # NLS nuisances.
21674 LC_ALL=C
21675 export LC_ALL
21676 LANGUAGE=C
21677 export LANGUAGE
21679 # CDPATH.
21680 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21683 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21684 # ----------------------------------------
21685 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21686 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21687 # script with STATUS, using 1 if that was 0.
21688 as_fn_error ()
21690 as_status=$1; test $as_status -eq 0 && as_status=1
21691 if test "$4"; then
21692 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21693 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21695 $as_echo "$as_me: error: $2" >&2
21696 as_fn_exit $as_status
21697 } # as_fn_error
21700 # as_fn_set_status STATUS
21701 # -----------------------
21702 # Set $? to STATUS, without forking.
21703 as_fn_set_status ()
21705 return $1
21706 } # as_fn_set_status
21708 # as_fn_exit STATUS
21709 # -----------------
21710 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21711 as_fn_exit ()
21713 set +e
21714 as_fn_set_status $1
21715 exit $1
21716 } # as_fn_exit
21718 # as_fn_unset VAR
21719 # ---------------
21720 # Portably unset VAR.
21721 as_fn_unset ()
21723 { eval $1=; unset $1;}
21725 as_unset=as_fn_unset
21726 # as_fn_append VAR VALUE
21727 # ----------------------
21728 # Append the text in VALUE to the end of the definition contained in VAR. Take
21729 # advantage of any shell optimizations that allow amortized linear growth over
21730 # repeated appends, instead of the typical quadratic growth present in naive
21731 # implementations.
21732 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21733 eval 'as_fn_append ()
21735 eval $1+=\$2
21737 else
21738 as_fn_append ()
21740 eval $1=\$$1\$2
21742 fi # as_fn_append
21744 # as_fn_arith ARG...
21745 # ------------------
21746 # Perform arithmetic evaluation on the ARGs, and store the result in the
21747 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21748 # must be portable across $(()) and expr.
21749 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21750 eval 'as_fn_arith ()
21752 as_val=$(( $* ))
21754 else
21755 as_fn_arith ()
21757 as_val=`expr "$@" || test $? -eq 1`
21759 fi # as_fn_arith
21762 if expr a : '\(a\)' >/dev/null 2>&1 &&
21763 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21764 as_expr=expr
21765 else
21766 as_expr=false
21769 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21770 as_basename=basename
21771 else
21772 as_basename=false
21775 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21776 as_dirname=dirname
21777 else
21778 as_dirname=false
21781 as_me=`$as_basename -- "$0" ||
21782 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21783 X"$0" : 'X\(//\)$' \| \
21784 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21785 $as_echo X/"$0" |
21786 sed '/^.*\/\([^/][^/]*\)\/*$/{
21787 s//\1/
21790 /^X\/\(\/\/\)$/{
21791 s//\1/
21794 /^X\/\(\/\).*/{
21795 s//\1/
21798 s/.*/./; q'`
21800 # Avoid depending upon Character Ranges.
21801 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21802 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21803 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21804 as_cr_digits='0123456789'
21805 as_cr_alnum=$as_cr_Letters$as_cr_digits
21807 ECHO_C= ECHO_N= ECHO_T=
21808 case `echo -n x` in #(((((
21809 -n*)
21810 case `echo 'xy\c'` in
21811 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21812 xy) ECHO_C='\c';;
21813 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21814 ECHO_T=' ';;
21815 esac;;
21817 ECHO_N='-n';;
21818 esac
21820 rm -f conf$$ conf$$.exe conf$$.file
21821 if test -d conf$$.dir; then
21822 rm -f conf$$.dir/conf$$.file
21823 else
21824 rm -f conf$$.dir
21825 mkdir conf$$.dir 2>/dev/null
21827 if (echo >conf$$.file) 2>/dev/null; then
21828 if ln -s conf$$.file conf$$ 2>/dev/null; then
21829 as_ln_s='ln -s'
21830 # ... but there are two gotchas:
21831 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21832 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21833 # In both cases, we have to default to `cp -pR'.
21834 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21835 as_ln_s='cp -pR'
21836 elif ln conf$$.file conf$$ 2>/dev/null; then
21837 as_ln_s=ln
21838 else
21839 as_ln_s='cp -pR'
21841 else
21842 as_ln_s='cp -pR'
21844 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21845 rmdir conf$$.dir 2>/dev/null
21848 # as_fn_mkdir_p
21849 # -------------
21850 # Create "$as_dir" as a directory, including parents if necessary.
21851 as_fn_mkdir_p ()
21854 case $as_dir in #(
21855 -*) as_dir=./$as_dir;;
21856 esac
21857 test -d "$as_dir" || eval $as_mkdir_p || {
21858 as_dirs=
21859 while :; do
21860 case $as_dir in #(
21861 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21862 *) as_qdir=$as_dir;;
21863 esac
21864 as_dirs="'$as_qdir' $as_dirs"
21865 as_dir=`$as_dirname -- "$as_dir" ||
21866 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21867 X"$as_dir" : 'X\(//\)[^/]' \| \
21868 X"$as_dir" : 'X\(//\)$' \| \
21869 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21870 $as_echo X"$as_dir" |
21871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21872 s//\1/
21875 /^X\(\/\/\)[^/].*/{
21876 s//\1/
21879 /^X\(\/\/\)$/{
21880 s//\1/
21883 /^X\(\/\).*/{
21884 s//\1/
21887 s/.*/./; q'`
21888 test -d "$as_dir" && break
21889 done
21890 test -z "$as_dirs" || eval "mkdir $as_dirs"
21891 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21894 } # as_fn_mkdir_p
21895 if mkdir -p . 2>/dev/null; then
21896 as_mkdir_p='mkdir -p "$as_dir"'
21897 else
21898 test -d ./-p && rmdir ./-p
21899 as_mkdir_p=false
21903 # as_fn_executable_p FILE
21904 # -----------------------
21905 # Test if FILE is an executable regular file.
21906 as_fn_executable_p ()
21908 test -f "$1" && test -x "$1"
21909 } # as_fn_executable_p
21910 as_test_x='test -x'
21911 as_executable_p=as_fn_executable_p
21913 # Sed expression to map a string onto a valid CPP name.
21914 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21916 # Sed expression to map a string onto a valid variable name.
21917 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21920 exec 6>&1
21921 ## ----------------------------------- ##
21922 ## Main body of $CONFIG_STATUS script. ##
21923 ## ----------------------------------- ##
21924 _ASEOF
21925 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21928 # Save the log message, to keep $0 and so on meaningful, and to
21929 # report actual input values of CONFIG_FILES etc. instead of their
21930 # values after options handling.
21931 ac_log="
21932 This file was extended by Wine $as_me 6.16, which was
21933 generated by GNU Autoconf 2.69. Invocation command line was
21935 CONFIG_FILES = $CONFIG_FILES
21936 CONFIG_HEADERS = $CONFIG_HEADERS
21937 CONFIG_LINKS = $CONFIG_LINKS
21938 CONFIG_COMMANDS = $CONFIG_COMMANDS
21939 $ $0 $@
21941 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21944 _ACEOF
21946 case $ac_config_files in *"
21947 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21948 esac
21950 case $ac_config_headers in *"
21951 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21952 esac
21955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21956 # Files that config.status was made for.
21957 config_files="$ac_config_files"
21958 config_headers="$ac_config_headers"
21959 config_links="$ac_config_links"
21960 config_commands="$ac_config_commands"
21962 _ACEOF
21964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21965 ac_cs_usage="\
21966 \`$as_me' instantiates files and other configuration actions
21967 from templates according to the current configuration. Unless the files
21968 and actions are specified as TAGs, all are instantiated by default.
21970 Usage: $0 [OPTION]... [TAG]...
21972 -h, --help print this help, then exit
21973 -V, --version print version number and configuration settings, then exit
21974 --config print configuration, then exit
21975 -q, --quiet, --silent
21976 do not print progress messages
21977 -d, --debug don't remove temporary files
21978 --recheck update $as_me by reconfiguring in the same conditions
21979 --file=FILE[:TEMPLATE]
21980 instantiate the configuration file FILE
21981 --header=FILE[:TEMPLATE]
21982 instantiate the configuration header FILE
21984 Configuration files:
21985 $config_files
21987 Configuration headers:
21988 $config_headers
21990 Configuration links:
21991 $config_links
21993 Configuration commands:
21994 $config_commands
21996 Report bugs to <wine-devel@winehq.org>.
21997 Wine home page: <https://www.winehq.org>."
21999 _ACEOF
22000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22001 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22002 ac_cs_version="\\
22003 Wine config.status 6.16
22004 configured by $0, generated by GNU Autoconf 2.69,
22005 with options \\"\$ac_cs_config\\"
22007 Copyright (C) 2012 Free Software Foundation, Inc.
22008 This config.status script is free software; the Free Software Foundation
22009 gives unlimited permission to copy, distribute and modify it."
22011 ac_pwd='$ac_pwd'
22012 srcdir='$srcdir'
22013 test -n "\$AWK" || AWK=awk
22014 _ACEOF
22016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22017 # The default lists apply if the user does not specify any file.
22018 ac_need_defaults=:
22019 while test $# != 0
22021 case $1 in
22022 --*=?*)
22023 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22024 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22025 ac_shift=:
22027 --*=)
22028 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22029 ac_optarg=
22030 ac_shift=:
22033 ac_option=$1
22034 ac_optarg=$2
22035 ac_shift=shift
22037 esac
22039 case $ac_option in
22040 # Handling of the options.
22041 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22042 ac_cs_recheck=: ;;
22043 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22044 $as_echo "$ac_cs_version"; exit ;;
22045 --config | --confi | --conf | --con | --co | --c )
22046 $as_echo "$ac_cs_config"; exit ;;
22047 --debug | --debu | --deb | --de | --d | -d )
22048 debug=: ;;
22049 --file | --fil | --fi | --f )
22050 $ac_shift
22051 case $ac_optarg in
22052 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22053 '') as_fn_error $? "missing file argument" ;;
22054 esac
22055 as_fn_append CONFIG_FILES " '$ac_optarg'"
22056 ac_need_defaults=false;;
22057 --header | --heade | --head | --hea )
22058 $ac_shift
22059 case $ac_optarg in
22060 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22061 esac
22062 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22063 ac_need_defaults=false;;
22064 --he | --h)
22065 # Conflict between --help and --header
22066 as_fn_error $? "ambiguous option: \`$1'
22067 Try \`$0 --help' for more information.";;
22068 --help | --hel | -h )
22069 $as_echo "$ac_cs_usage"; exit ;;
22070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22071 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22072 ac_cs_silent=: ;;
22074 # This is an error.
22075 -*) as_fn_error $? "unrecognized option: \`$1'
22076 Try \`$0 --help' for more information." ;;
22078 *) as_fn_append ac_config_targets " $1"
22079 ac_need_defaults=false ;;
22081 esac
22082 shift
22083 done
22085 ac_configure_extra_args=
22087 if $ac_cs_silent; then
22088 exec 6>/dev/null
22089 ac_configure_extra_args="$ac_configure_extra_args --silent"
22092 _ACEOF
22093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22094 if \$ac_cs_recheck; then
22095 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22096 shift
22097 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22098 CONFIG_SHELL='$SHELL'
22099 export CONFIG_SHELL
22100 exec "\$@"
22103 _ACEOF
22104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22105 exec 5>>config.log
22107 echo
22108 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22109 ## Running $as_me. ##
22110 _ASBOX
22111 $as_echo "$ac_log"
22112 } >&5
22114 _ACEOF
22115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22117 # INIT-COMMANDS
22119 wine_fn_output_makedep ()
22121 as_dir=tools; as_fn_mkdir_p
22122 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22124 wine_fn_output_makefile ()
22126 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22127 `cat $wine_rules_file`
22128 _WINE_EOF
22129 as_fn_error $? "could not create Makefile" "$LINENO" 5
22132 _ACEOF
22134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22136 # Handling of arguments.
22137 for ac_config_target in $ac_config_targets
22139 case $ac_config_target in
22140 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22141 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22142 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22143 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22144 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22145 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22146 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22148 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22149 esac
22150 done
22153 # If the user did not use the arguments to specify the items to instantiate,
22154 # then the envvar interface is used. Set only those that are not.
22155 # We use the long form for the default assignment because of an extremely
22156 # bizarre bug on SunOS 4.1.3.
22157 if $ac_need_defaults; then
22158 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22159 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22160 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22161 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22164 # Have a temporary directory for convenience. Make it in the build tree
22165 # simply because there is no reason against having it here, and in addition,
22166 # creating and moving files from /tmp can sometimes cause problems.
22167 # Hook for its removal unless debugging.
22168 # Note that there is a small window in which the directory will not be cleaned:
22169 # after its creation but before its name has been assigned to `$tmp'.
22170 $debug ||
22172 tmp= ac_tmp=
22173 trap 'exit_status=$?
22174 : "${ac_tmp:=$tmp}"
22175 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22177 trap 'as_fn_exit 1' 1 2 13 15
22179 # Create a (secure) tmp directory for tmp files.
22182 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22183 test -d "$tmp"
22184 } ||
22186 tmp=./conf$$-$RANDOM
22187 (umask 077 && mkdir "$tmp")
22188 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22189 ac_tmp=$tmp
22191 # Set up the scripts for CONFIG_FILES section.
22192 # No need to generate them if there are no CONFIG_FILES.
22193 # This happens for instance with `./config.status config.h'.
22194 if test -n "$CONFIG_FILES"; then
22197 ac_cr=`echo X | tr X '\015'`
22198 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22199 # But we know of no other shell where ac_cr would be empty at this
22200 # point, so we can use a bashism as a fallback.
22201 if test "x$ac_cr" = x; then
22202 eval ac_cr=\$\'\\r\'
22204 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22205 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22206 ac_cs_awk_cr='\\r'
22207 else
22208 ac_cs_awk_cr=$ac_cr
22211 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22212 _ACEOF
22216 echo "cat >conf$$subs.awk <<_ACEOF" &&
22217 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22218 echo "_ACEOF"
22219 } >conf$$subs.sh ||
22220 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22221 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22222 ac_delim='%!_!# '
22223 for ac_last_try in false false false false false :; do
22224 . ./conf$$subs.sh ||
22225 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22227 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22228 if test $ac_delim_n = $ac_delim_num; then
22229 break
22230 elif $ac_last_try; then
22231 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22232 else
22233 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22235 done
22236 rm -f conf$$subs.sh
22238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22239 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22240 _ACEOF
22241 sed -n '
22243 s/^/S["/; s/!.*/"]=/
22246 s/^[^!]*!//
22247 :repl
22248 t repl
22249 s/'"$ac_delim"'$//
22250 t delim
22253 s/\(.\{148\}\)..*/\1/
22254 t more1
22255 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22258 b repl
22259 :more1
22260 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22263 s/.\{148\}//
22264 t nl
22265 :delim
22267 s/\(.\{148\}\)..*/\1/
22268 t more2
22269 s/["\\]/\\&/g; s/^/"/; s/$/"/
22272 :more2
22273 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22276 s/.\{148\}//
22277 t delim
22278 ' <conf$$subs.awk | sed '
22279 /^[^""]/{
22281 s/\n//
22283 ' >>$CONFIG_STATUS || ac_write_fail=1
22284 rm -f conf$$subs.awk
22285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22286 _ACAWK
22287 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22288 for (key in S) S_is_set[key] = 1
22289 FS = "\a"
22293 line = $ 0
22294 nfields = split(line, field, "@")
22295 substed = 0
22296 len = length(field[1])
22297 for (i = 2; i < nfields; i++) {
22298 key = field[i]
22299 keylen = length(key)
22300 if (S_is_set[key]) {
22301 value = S[key]
22302 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22303 len += length(value) + length(field[++i])
22304 substed = 1
22305 } else
22306 len += 1 + keylen
22309 print line
22312 _ACAWK
22313 _ACEOF
22314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22315 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22316 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22317 else
22319 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22320 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22321 _ACEOF
22323 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22324 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22325 # trailing colons and then remove the whole line if VPATH becomes empty
22326 # (actually we leave an empty line to preserve line numbers).
22327 if test "x$srcdir" = x.; then
22328 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22330 s///
22331 s/^/:/
22332 s/[ ]*$/:/
22333 s/:\$(srcdir):/:/g
22334 s/:\${srcdir}:/:/g
22335 s/:@srcdir@:/:/g
22336 s/^:*//
22337 s/:*$//
22339 s/\(=[ ]*\).*/\1/
22341 s/\n//
22342 s/^[^=]*=[ ]*$//
22346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22347 fi # test -n "$CONFIG_FILES"
22349 # Set up the scripts for CONFIG_HEADERS section.
22350 # No need to generate them if there are no CONFIG_HEADERS.
22351 # This happens for instance with `./config.status Makefile'.
22352 if test -n "$CONFIG_HEADERS"; then
22353 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22354 BEGIN {
22355 _ACEOF
22357 # Transform confdefs.h into an awk script `defines.awk', embedded as
22358 # here-document in config.status, that substitutes the proper values into
22359 # config.h.in to produce config.h.
22361 # Create a delimiter string that does not exist in confdefs.h, to ease
22362 # handling of long lines.
22363 ac_delim='%!_!# '
22364 for ac_last_try in false false :; do
22365 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22366 if test -z "$ac_tt"; then
22367 break
22368 elif $ac_last_try; then
22369 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22370 else
22371 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22373 done
22375 # For the awk script, D is an array of macro values keyed by name,
22376 # likewise P contains macro parameters if any. Preserve backslash
22377 # newline sequences.
22379 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22380 sed -n '
22381 s/.\{148\}/&'"$ac_delim"'/g
22382 t rset
22383 :rset
22384 s/^[ ]*#[ ]*define[ ][ ]*/ /
22385 t def
22387 :def
22388 s/\\$//
22389 t bsnl
22390 s/["\\]/\\&/g
22391 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22392 D["\1"]=" \3"/p
22393 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22395 :bsnl
22396 s/["\\]/\\&/g
22397 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22398 D["\1"]=" \3\\\\\\n"\\/p
22399 t cont
22400 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22401 t cont
22403 :cont
22405 s/.\{148\}/&'"$ac_delim"'/g
22406 t clear
22407 :clear
22408 s/\\$//
22409 t bsnlc
22410 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22412 :bsnlc
22413 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22414 b cont
22415 ' <confdefs.h | sed '
22416 s/'"$ac_delim"'/"\\\
22417 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22420 for (key in D) D_is_set[key] = 1
22421 FS = "\a"
22423 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22424 line = \$ 0
22425 split(line, arg, " ")
22426 if (arg[1] == "#") {
22427 defundef = arg[2]
22428 mac1 = arg[3]
22429 } else {
22430 defundef = substr(arg[1], 2)
22431 mac1 = arg[2]
22433 split(mac1, mac2, "(") #)
22434 macro = mac2[1]
22435 prefix = substr(line, 1, index(line, defundef) - 1)
22436 if (D_is_set[macro]) {
22437 # Preserve the white space surrounding the "#".
22438 print prefix "define", macro P[macro] D[macro]
22439 next
22440 } else {
22441 # Replace #undef with comments. This is necessary, for example,
22442 # in the case of _POSIX_SOURCE, which is predefined and required
22443 # on some systems where configure will not decide to define it.
22444 if (defundef == "undef") {
22445 print "/*", prefix defundef, macro, "*/"
22446 next
22450 { print }
22451 _ACAWK
22452 _ACEOF
22453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22454 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22455 fi # test -n "$CONFIG_HEADERS"
22458 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22459 shift
22460 for ac_tag
22462 case $ac_tag in
22463 :[FHLC]) ac_mode=$ac_tag; continue;;
22464 esac
22465 case $ac_mode$ac_tag in
22466 :[FHL]*:*);;
22467 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22468 :[FH]-) ac_tag=-:-;;
22469 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22470 esac
22471 ac_save_IFS=$IFS
22472 IFS=:
22473 set x $ac_tag
22474 IFS=$ac_save_IFS
22475 shift
22476 ac_file=$1
22477 shift
22479 case $ac_mode in
22480 :L) ac_source=$1;;
22481 :[FH])
22482 ac_file_inputs=
22483 for ac_f
22485 case $ac_f in
22486 -) ac_f="$ac_tmp/stdin";;
22487 *) # Look for the file first in the build tree, then in the source tree
22488 # (if the path is not absolute). The absolute path cannot be DOS-style,
22489 # because $ac_f cannot contain `:'.
22490 test -f "$ac_f" ||
22491 case $ac_f in
22492 [\\/$]*) false;;
22493 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22494 esac ||
22495 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22496 esac
22497 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22498 as_fn_append ac_file_inputs " '$ac_f'"
22499 done
22501 # Let's still pretend it is `configure' which instantiates (i.e., don't
22502 # use $as_me), people would be surprised to read:
22503 # /* config.h. Generated by config.status. */
22504 configure_input='Generated from '`
22505 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22506 `' by configure.'
22507 if test x"$ac_file" != x-; then
22508 configure_input="$ac_file. $configure_input"
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22510 $as_echo "$as_me: creating $ac_file" >&6;}
22512 # Neutralize special characters interpreted by sed in replacement strings.
22513 case $configure_input in #(
22514 *\&* | *\|* | *\\* )
22515 ac_sed_conf_input=`$as_echo "$configure_input" |
22516 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22517 *) ac_sed_conf_input=$configure_input;;
22518 esac
22520 case $ac_tag in
22521 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22522 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22523 esac
22525 esac
22527 ac_dir=`$as_dirname -- "$ac_file" ||
22528 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22529 X"$ac_file" : 'X\(//\)[^/]' \| \
22530 X"$ac_file" : 'X\(//\)$' \| \
22531 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22532 $as_echo X"$ac_file" |
22533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22534 s//\1/
22537 /^X\(\/\/\)[^/].*/{
22538 s//\1/
22541 /^X\(\/\/\)$/{
22542 s//\1/
22545 /^X\(\/\).*/{
22546 s//\1/
22549 s/.*/./; q'`
22550 as_dir="$ac_dir"; as_fn_mkdir_p
22551 ac_builddir=.
22553 case "$ac_dir" in
22554 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22556 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22557 # A ".." for each directory in $ac_dir_suffix.
22558 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22559 case $ac_top_builddir_sub in
22560 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22561 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22562 esac ;;
22563 esac
22564 ac_abs_top_builddir=$ac_pwd
22565 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22566 # for backward compatibility:
22567 ac_top_builddir=$ac_top_build_prefix
22569 case $srcdir in
22570 .) # We are building in place.
22571 ac_srcdir=.
22572 ac_top_srcdir=$ac_top_builddir_sub
22573 ac_abs_top_srcdir=$ac_pwd ;;
22574 [\\/]* | ?:[\\/]* ) # Absolute name.
22575 ac_srcdir=$srcdir$ac_dir_suffix;
22576 ac_top_srcdir=$srcdir
22577 ac_abs_top_srcdir=$srcdir ;;
22578 *) # Relative name.
22579 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22580 ac_top_srcdir=$ac_top_build_prefix$srcdir
22581 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22582 esac
22583 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22586 case $ac_mode in
22589 # CONFIG_FILE
22592 _ACEOF
22594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22595 # If the template does not know about datarootdir, expand it.
22596 # FIXME: This hack should be removed a few years after 2.60.
22597 ac_datarootdir_hack=; ac_datarootdir_seen=
22598 ac_sed_dataroot='
22599 /datarootdir/ {
22603 /@datadir@/p
22604 /@docdir@/p
22605 /@infodir@/p
22606 /@localedir@/p
22607 /@mandir@/p'
22608 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22609 *datarootdir*) ac_datarootdir_seen=yes;;
22610 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22612 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22613 _ACEOF
22614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22615 ac_datarootdir_hack='
22616 s&@datadir@&$datadir&g
22617 s&@docdir@&$docdir&g
22618 s&@infodir@&$infodir&g
22619 s&@localedir@&$localedir&g
22620 s&@mandir@&$mandir&g
22621 s&\\\${datarootdir}&$datarootdir&g' ;;
22622 esac
22623 _ACEOF
22625 # Neutralize VPATH when `$srcdir' = `.'.
22626 # Shell code in configure.ac might set extrasub.
22627 # FIXME: do we really want to maintain this feature?
22628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22629 ac_sed_extra="$ac_vpsub
22630 $extrasub
22631 _ACEOF
22632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22634 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22635 s|@configure_input@|$ac_sed_conf_input|;t t
22636 s&@top_builddir@&$ac_top_builddir_sub&;t t
22637 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22638 s&@srcdir@&$ac_srcdir&;t t
22639 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22640 s&@top_srcdir@&$ac_top_srcdir&;t t
22641 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22642 s&@builddir@&$ac_builddir&;t t
22643 s&@abs_builddir@&$ac_abs_builddir&;t t
22644 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22645 $ac_datarootdir_hack
22647 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22648 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22650 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22651 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22652 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22653 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22655 which seems to be undefined. Please make sure it is defined" >&5
22656 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22657 which seems to be undefined. Please make sure it is defined" >&2;}
22659 rm -f "$ac_tmp/stdin"
22660 case $ac_file in
22661 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22662 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22663 esac \
22664 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22668 # CONFIG_HEADER
22670 if test x"$ac_file" != x-; then
22672 $as_echo "/* $configure_input */" \
22673 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22674 } >"$ac_tmp/config.h" \
22675 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22676 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22678 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22679 else
22680 rm -f "$ac_file"
22681 mv "$ac_tmp/config.h" "$ac_file" \
22682 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22684 else
22685 $as_echo "/* $configure_input */" \
22686 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22687 || as_fn_error $? "could not create -" "$LINENO" 5
22692 # CONFIG_LINK
22695 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22697 else
22698 # Prefer the file from the source tree if names are identical.
22699 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22700 ac_source=$srcdir/$ac_source
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22704 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22706 if test ! -r "$ac_source"; then
22707 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22709 rm -f "$ac_file"
22711 # Try a relative symlink, then a hard link, then a copy.
22712 case $ac_source in
22713 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22714 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22715 esac
22716 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22717 ln "$ac_source" "$ac_file" 2>/dev/null ||
22718 cp -p "$ac_source" "$ac_file" ||
22719 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22722 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22723 $as_echo "$as_me: executing $ac_file commands" >&6;}
22725 esac
22728 case $ac_file$ac_mode in
22729 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22730 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22731 "Makefile":C) wine_fn_output_makefile Makefile ;;
22733 esac
22734 done # for ac_tag
22737 as_fn_exit 0
22738 _ACEOF
22739 ac_clean_files=$ac_clean_files_save
22741 test $ac_write_fail = 0 ||
22742 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22745 # configure is writing to config.log, and then calls config.status.
22746 # config.status does its own redirection, appending to config.log.
22747 # Unfortunately, on DOS this fails, as config.log is still kept open
22748 # by configure, so config.status won't be able to write to it; its
22749 # output is simply discarded. So we exec the FD to /dev/null,
22750 # effectively closing config.log, so it can be properly (re)opened and
22751 # appended to by config.status. When coming back to configure, we
22752 # need to make the FD available again.
22753 if test "$no_create" != yes; then
22754 ac_cs_success=:
22755 ac_config_status_args=
22756 test "$silent" = yes &&
22757 ac_config_status_args="$ac_config_status_args --quiet"
22758 exec 5>/dev/null
22759 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22760 exec 5>>config.log
22761 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22762 # would make configure fail if this is the last instruction.
22763 $ac_cs_success || as_fn_exit 1
22765 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22767 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22771 if test "$no_create" = "yes"
22772 then
22773 exit 0
22776 ac_save_IFS="$IFS"
22777 if test "x$wine_notices" != x; then
22778 echo >&6
22779 IFS="|"
22780 for msg in $wine_notices; do
22781 IFS="$ac_save_IFS"
22782 if ${msg:+false} :; then :
22784 else
22785 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22786 $as_echo "$as_me: $msg" >&6;}
22788 done
22790 IFS="|"
22791 for msg in $wine_warnings; do
22792 IFS="$ac_save_IFS"
22793 if ${msg:+false} :; then :
22795 else
22796 echo >&2
22797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22798 $as_echo "$as_me: WARNING: $msg" >&2;}
22800 done
22801 IFS="$ac_save_IFS"
22803 $as_echo "
22804 $as_me: Finished. Do '${ac_make}' to compile Wine.
22805 " >&6