winebus.sys: Build report descriptors in start_device.
[wine.git] / configure
blobdbbe3a5395dceec8395fb5ab83c4ae8eeff6c6ec
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.15.
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.15'
584 PACKAGE_STRING='Wine 6.15'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 ARCH
779 TARGETFLAGS
781 CPPBIN
782 ac_ct_CXX
783 CXXFLAGS
785 OBJEXT
786 EXEEXT
787 ac_ct_CC
788 CPPFLAGS
789 LDFLAGS
790 CFLAGS
792 SET_MAKE
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 target_alias
802 host_alias
803 build_alias
804 LIBS
805 ECHO_T
806 ECHO_N
807 ECHO_C
808 DEFS
809 mandir
810 localedir
811 libdir
812 psdir
813 pdfdir
814 dvidir
815 htmldir
816 infodir
817 docdir
818 oldincludedir
819 includedir
820 runstatedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_win16
844 enable_win64
845 enable_tests
846 enable_build_id
847 enable_maintainer_mode
848 enable_silent_rules
849 enable_werror
850 with_alsa
851 with_capi
852 with_cms
853 with_coreaudio
854 with_cups
855 with_dbus
856 with_faudio
857 with_float_abi
858 with_fontconfig
859 with_freetype
860 with_gettext
861 with_gettextpo
862 with_gphoto
863 with_gnutls
864 with_gsm
865 with_gssapi
866 with_gstreamer
867 with_hal
868 with_inotify
869 with_jpeg
870 with_jxrlib
871 with_krb5
872 with_ldap
873 with_mingw
874 with_mpg123
875 with_netapi
876 with_openal
877 with_opencl
878 with_opengl
879 with_osmesa
880 with_oss
881 with_pcap
882 with_png
883 with_pthread
884 with_pulse
885 with_quicktime
886 with_sane
887 with_sdl
888 with_tiff
889 with_udev
890 with_unwind
891 with_usb
892 with_v4l2
893 with_vkd3d
894 with_vulkan
895 with_xcomposite
896 with_xcursor
897 with_xfixes
898 with_xinerama
899 with_xinput
900 with_xinput2
901 with_xml
902 with_xrandr
903 with_xrender
904 with_xshape
905 with_xshm
906 with_xslt
907 with_xxf86vm
908 with_wine_tools
909 with_wine64
910 enable_largefile
911 with_x
912 enable_acledit
913 enable_aclui
914 enable_activeds_tlb
915 enable_activeds
916 enable_actxprxy
917 enable_adsiid
918 enable_adsldp
919 enable_adsldpc
920 enable_advapi32
921 enable_advpack
922 enable_amsi
923 enable_amstream
924 enable_api_ms_win_appmodel_identity_l1_1_0
925 enable_api_ms_win_appmodel_runtime_l1_1_1
926 enable_api_ms_win_appmodel_runtime_l1_1_2
927 enable_api_ms_win_core_apiquery_l1_1_0
928 enable_api_ms_win_core_appcompat_l1_1_1
929 enable_api_ms_win_core_appinit_l1_1_0
930 enable_api_ms_win_core_atoms_l1_1_0
931 enable_api_ms_win_core_bem_l1_1_0
932 enable_api_ms_win_core_com_l1_1_0
933 enable_api_ms_win_core_com_l1_1_1
934 enable_api_ms_win_core_com_private_l1_1_0
935 enable_api_ms_win_core_comm_l1_1_0
936 enable_api_ms_win_core_console_l1_1_0
937 enable_api_ms_win_core_console_l1_2_0
938 enable_api_ms_win_core_console_l2_1_0
939 enable_api_ms_win_core_console_l3_2_0
940 enable_api_ms_win_core_crt_l1_1_0
941 enable_api_ms_win_core_crt_l2_1_0
942 enable_api_ms_win_core_datetime_l1_1_0
943 enable_api_ms_win_core_datetime_l1_1_1
944 enable_api_ms_win_core_debug_l1_1_0
945 enable_api_ms_win_core_debug_l1_1_1
946 enable_api_ms_win_core_delayload_l1_1_0
947 enable_api_ms_win_core_delayload_l1_1_1
948 enable_api_ms_win_core_errorhandling_l1_1_0
949 enable_api_ms_win_core_errorhandling_l1_1_1
950 enable_api_ms_win_core_errorhandling_l1_1_2
951 enable_api_ms_win_core_errorhandling_l1_1_3
952 enable_api_ms_win_core_featurestaging_l1_1_0
953 enable_api_ms_win_core_fibers_l1_1_0
954 enable_api_ms_win_core_fibers_l1_1_1
955 enable_api_ms_win_core_file_ansi_l2_1_0
956 enable_api_ms_win_core_file_fromapp_l1_1_0
957 enable_api_ms_win_core_file_l1_1_0
958 enable_api_ms_win_core_file_l1_2_0
959 enable_api_ms_win_core_file_l1_2_1
960 enable_api_ms_win_core_file_l1_2_2
961 enable_api_ms_win_core_file_l2_1_0
962 enable_api_ms_win_core_file_l2_1_1
963 enable_api_ms_win_core_file_l2_1_2
964 enable_api_ms_win_core_handle_l1_1_0
965 enable_api_ms_win_core_heap_l1_1_0
966 enable_api_ms_win_core_heap_l1_2_0
967 enable_api_ms_win_core_heap_l2_1_0
968 enable_api_ms_win_core_heap_obsolete_l1_1_0
969 enable_api_ms_win_core_interlocked_l1_1_0
970 enable_api_ms_win_core_interlocked_l1_2_0
971 enable_api_ms_win_core_io_l1_1_0
972 enable_api_ms_win_core_io_l1_1_1
973 enable_api_ms_win_core_job_l1_1_0
974 enable_api_ms_win_core_job_l2_1_0
975 enable_api_ms_win_core_kernel32_legacy_l1_1_0
976 enable_api_ms_win_core_kernel32_legacy_l1_1_1
977 enable_api_ms_win_core_kernel32_legacy_l1_1_2
978 enable_api_ms_win_core_kernel32_legacy_l1_1_5
979 enable_api_ms_win_core_kernel32_private_l1_1_1
980 enable_api_ms_win_core_largeinteger_l1_1_0
981 enable_api_ms_win_core_libraryloader_l1_1_0
982 enable_api_ms_win_core_libraryloader_l1_1_1
983 enable_api_ms_win_core_libraryloader_l1_2_0
984 enable_api_ms_win_core_libraryloader_l1_2_1
985 enable_api_ms_win_core_libraryloader_l1_2_2
986 enable_api_ms_win_core_libraryloader_l2_1_0
987 enable_api_ms_win_core_localization_l1_1_0
988 enable_api_ms_win_core_localization_l1_2_0
989 enable_api_ms_win_core_localization_l1_2_1
990 enable_api_ms_win_core_localization_l1_2_2
991 enable_api_ms_win_core_localization_l2_1_0
992 enable_api_ms_win_core_localization_obsolete_l1_1_0
993 enable_api_ms_win_core_localization_obsolete_l1_2_0
994 enable_api_ms_win_core_localization_obsolete_l1_3_0
995 enable_api_ms_win_core_localization_private_l1_1_0
996 enable_api_ms_win_core_localregistry_l1_1_0
997 enable_api_ms_win_core_memory_l1_1_0
998 enable_api_ms_win_core_memory_l1_1_1
999 enable_api_ms_win_core_memory_l1_1_2
1000 enable_api_ms_win_core_memory_l1_1_3
1001 enable_api_ms_win_core_memory_l1_1_4
1002 enable_api_ms_win_core_misc_l1_1_0
1003 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1004 enable_api_ms_win_core_namedpipe_l1_1_0
1005 enable_api_ms_win_core_namedpipe_l1_2_0
1006 enable_api_ms_win_core_namespace_l1_1_0
1007 enable_api_ms_win_core_normalization_l1_1_0
1008 enable_api_ms_win_core_path_l1_1_0
1009 enable_api_ms_win_core_privateprofile_l1_1_1
1010 enable_api_ms_win_core_processenvironment_l1_1_0
1011 enable_api_ms_win_core_processenvironment_l1_2_0
1012 enable_api_ms_win_core_processthreads_l1_1_0
1013 enable_api_ms_win_core_processthreads_l1_1_1
1014 enable_api_ms_win_core_processthreads_l1_1_2
1015 enable_api_ms_win_core_processthreads_l1_1_3
1016 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1017 enable_api_ms_win_core_profile_l1_1_0
1018 enable_api_ms_win_core_psapi_ansi_l1_1_0
1019 enable_api_ms_win_core_psapi_l1_1_0
1020 enable_api_ms_win_core_psapi_obsolete_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.15 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.15:";;
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.15
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.15, 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 kstat.h \
7505 libproc.h \
7506 link.h \
7507 linux/cdrom.h \
7508 linux/filter.h \
7509 linux/hdreg.h \
7510 linux/hidraw.h \
7511 linux/input.h \
7512 linux/ioctl.h \
7513 linux/joystick.h \
7514 linux/major.h \
7515 linux/param.h \
7516 linux/serial.h \
7517 linux/types.h \
7518 linux/ucdrom.h \
7519 lwp.h \
7520 mach-o/loader.h \
7521 mach/mach.h \
7522 machine/cpu.h \
7523 machine/sysarch.h \
7524 mntent.h \
7525 netdb.h \
7526 netinet/in.h \
7527 netinet/in_systm.h \
7528 netinet/tcp.h \
7529 netinet/tcp_fsm.h \
7530 pcap/pcap.h \
7531 poll.h \
7532 port.h \
7533 pthread.h \
7534 pwd.h \
7535 sasl/sasl.h \
7536 sched.h \
7537 scsi/scsi.h \
7538 scsi/scsi_ioctl.h \
7539 scsi/sg.h \
7540 stdint.h \
7541 stropts.h \
7542 sys/attr.h \
7543 sys/auxv.h \
7544 sys/cdio.h \
7545 sys/epoll.h \
7546 sys/event.h \
7547 sys/filio.h \
7548 sys/ioctl.h \
7549 sys/ipc.h \
7550 sys/link.h \
7551 sys/mman.h \
7552 sys/modem.h \
7553 sys/msg.h \
7554 sys/mtio.h \
7555 sys/param.h \
7556 sys/poll.h \
7557 sys/prctl.h \
7558 sys/protosw.h \
7559 sys/ptrace.h \
7560 sys/queue.h \
7561 sys/random.h \
7562 sys/resource.h \
7563 sys/scsiio.h \
7564 sys/shm.h \
7565 sys/signal.h \
7566 sys/socket.h \
7567 sys/socketvar.h \
7568 sys/sockio.h \
7569 sys/statvfs.h \
7570 sys/strtio.h \
7571 sys/syscall.h \
7572 sys/sysinfo.h \
7573 sys/tihdr.h \
7574 sys/time.h \
7575 sys/timeout.h \
7576 sys/times.h \
7577 sys/uio.h \
7578 sys/user.h \
7579 sys/utsname.h \
7580 sys/vnode.h \
7581 sys/wait.h \
7582 syscall.h \
7583 termios.h \
7584 unistd.h \
7585 utime.h \
7586 valgrind/memcheck.h \
7587 valgrind/valgrind.h
7589 do :
7590 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7591 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7592 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7593 cat >>confdefs.h <<_ACEOF
7594 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7595 _ACEOF
7599 done
7601 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7602 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7604 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7609 if test $ac_cv_header_sys_mkdev_h = no; then
7610 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7611 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7613 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7620 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7621 if ${ac_cv_header_stat_broken+:} false; then :
7622 $as_echo_n "(cached) " >&6
7623 else
7624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7626 #include <sys/types.h>
7627 #include <sys/stat.h>
7629 #if defined S_ISBLK && defined S_IFDIR
7630 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7631 #endif
7633 #if defined S_ISBLK && defined S_IFCHR
7634 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7635 #endif
7637 #if defined S_ISLNK && defined S_IFREG
7638 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7639 #endif
7641 #if defined S_ISSOCK && defined S_IFREG
7642 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7643 #endif
7645 _ACEOF
7646 if ac_fn_c_try_compile "$LINENO"; then :
7647 ac_cv_header_stat_broken=no
7648 else
7649 ac_cv_header_stat_broken=yes
7651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7654 $as_echo "$ac_cv_header_stat_broken" >&6; }
7655 if test $ac_cv_header_stat_broken = yes; then
7657 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7663 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7664 do :
7665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7666 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7667 #ifdef HAVE_SYS_PARAM_H
7668 # include <sys/param.h>
7669 #endif
7671 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7672 cat >>confdefs.h <<_ACEOF
7673 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7674 _ACEOF
7678 done
7681 saved_sysctl_h_CFLAGS=$CFLAGS
7682 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7683 for ac_header in sys/sysctl.h
7684 do :
7685 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7686 #ifdef HAVE_SYS_PARAM_H
7687 # include <sys/param.h>
7688 #endif
7690 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7691 cat >>confdefs.h <<_ACEOF
7692 #define HAVE_SYS_SYSCTL_H 1
7693 _ACEOF
7697 done
7699 CFLAGS=$saved_sysctl_h_CFLAGS
7701 for ac_header in \
7702 netinet/ip.h \
7703 net/if.h \
7704 net/if_arp.h \
7705 net/if_dl.h \
7706 net/if_types.h \
7707 net/route.h \
7708 netinet/if_ether.h \
7709 netinet/if_inarp.h \
7710 netinet/in_pcb.h \
7711 netinet/ip_icmp.h \
7712 netinet/ip_var.h \
7713 netinet/udp.h \
7714 netipx/ipx.h \
7715 sys/un.h \
7717 do :
7718 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7719 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7720 #ifdef HAVE_SYS_SOCKET_H
7721 # include <sys/socket.h>
7722 #endif
7723 #ifdef HAVE_SYS_SOCKETVAR_H
7724 # include <sys/socketvar.h>
7725 #endif
7726 #ifdef HAVE_NET_ROUTE_H
7727 # include <net/route.h>
7728 #endif
7729 #ifdef HAVE_NETINET_IN_H
7730 # include <netinet/in.h>
7731 #endif
7732 #ifdef HAVE_NETINET_IN_SYSTM_H
7733 # include <netinet/in_systm.h>
7734 #endif
7735 #ifdef HAVE_NET_IF_H
7736 # include <net/if.h>
7737 #endif
7738 #ifdef HAVE_NETINET_IP_H
7739 # include <netinet/ip.h>
7740 #endif
7742 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7743 cat >>confdefs.h <<_ACEOF
7744 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7745 _ACEOF
7749 done
7752 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7753 do :
7754 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7755 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7756 #ifdef HAVE_ALIAS_H
7757 # include <alias.h>
7758 #endif
7759 #ifdef HAVE_SYS_SOCKET_H
7760 # include <sys/socket.h>
7761 #endif
7762 #ifdef HAVE_SYS_SOCKETVAR_H
7763 # include <sys/socketvar.h>
7764 #endif
7765 #ifdef HAVE_SYS_TIMEOUT_H
7766 # include <sys/timeout.h>
7767 #endif
7768 #ifdef HAVE_NETINET_IN_H
7769 # include <netinet/in.h>
7770 #endif
7771 #ifdef HAVE_NETINET_IN_SYSTM_H
7772 # include <netinet/in_systm.h>
7773 #endif
7774 #ifdef HAVE_NETINET_IP_H
7775 # include <netinet/ip.h>
7776 #endif
7777 #ifdef HAVE_NETINET_IP_VAR_H
7778 # include <netinet/ip_var.h>
7779 #endif
7780 #ifdef HAVE_NETINET_IP_ICMP_H
7781 # include <netinet/ip_icmp.h>
7782 #endif
7783 #ifdef HAVE_NETINET_UDP_H
7784 # include <netinet/udp.h>
7785 #endif
7786 #ifdef HAVE_NETINET_TCP_H
7787 # include <netinet/tcp.h>
7788 #endif
7789 #ifdef HAVE_NETINET_TCP_TIMER_H
7790 #include <netinet/tcp_timer.h>
7791 #endif
7793 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7794 cat >>confdefs.h <<_ACEOF
7795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7796 _ACEOF
7800 done
7803 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7804 do :
7805 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7806 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7807 #ifdef HAVE_ASM_TYPES_H
7808 # include <asm/types.h>
7809 #endif
7810 #ifdef HAVE_SYS_SOCKET_H
7811 # include <sys/socket.h>
7812 #endif
7813 #ifdef HAVE_LINUX_TYPES_H
7814 # include <linux/types.h>
7815 #endif
7817 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7818 cat >>confdefs.h <<_ACEOF
7819 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7820 _ACEOF
7824 done
7827 for ac_header in resolv.h
7828 do :
7829 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7830 #ifdef HAVE_SYS_SOCKET_H
7831 # include <sys/socket.h>
7832 #endif
7833 #ifdef HAVE_NETINET_IN_H
7834 # include <netinet/in.h>
7835 #endif
7836 #ifdef HAVE_ARPA_NAMESER_H
7837 # include <arpa/nameser.h>
7838 #endif
7840 if test "x$ac_cv_header_resolv_h" = xyes; then :
7841 cat >>confdefs.h <<_ACEOF
7842 #define HAVE_RESOLV_H 1
7843 _ACEOF
7847 done
7850 for ac_header in ifaddrs.h
7851 do :
7852 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7854 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7855 cat >>confdefs.h <<_ACEOF
7856 #define HAVE_IFADDRS_H 1
7857 _ACEOF
7861 done
7864 for ac_header in sys/ucontext.h
7865 do :
7866 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7868 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7869 cat >>confdefs.h <<_ACEOF
7870 #define HAVE_SYS_UCONTEXT_H 1
7871 _ACEOF
7875 done
7878 for ac_header in sys/thr.h
7879 do :
7880 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7881 #ifdef HAVE_SYS_UCONTEXT_H
7882 #include <sys/ucontext.h>
7883 #endif
7885 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7886 cat >>confdefs.h <<_ACEOF
7887 #define HAVE_SYS_THR_H 1
7888 _ACEOF
7892 done
7895 for ac_header in pthread_np.h
7896 do :
7897 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7898 #include <pthread.h>
7899 #endif
7901 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7902 cat >>confdefs.h <<_ACEOF
7903 #define HAVE_PTHREAD_NP_H 1
7904 _ACEOF
7908 done
7911 for ac_header in linux/videodev2.h
7912 do :
7913 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7914 #include <sys/time.h>
7915 #endif
7916 #include <sys/types.h>
7917 #ifdef HAVE_ASM_TYPES_H
7918 #include <asm/types.h>
7919 #endif
7921 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7922 cat >>confdefs.h <<_ACEOF
7923 #define HAVE_LINUX_VIDEODEV2_H 1
7924 _ACEOF
7928 done
7931 for ac_header in libprocstat.h
7932 do :
7933 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7934 #include <sys/param.h>
7935 #endif
7936 #ifdef HAVE_SYS_QUEUE_H
7937 #include <sys/queue.h>
7938 #endif
7939 #ifdef HAVE_SYS_SOCKET_H
7940 #include <sys/socket.h>
7941 #endif
7943 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7944 cat >>confdefs.h <<_ACEOF
7945 #define HAVE_LIBPROCSTAT_H 1
7946 _ACEOF
7950 done
7954 DLLFLAGS="-D_REENTRANT"
7956 LDDLLFLAGS=""
7958 LDEXECFLAGS=""
7960 TOP_INSTALL_LIB=""
7962 TOP_INSTALL_DEV=""
7964 WINELOADER_LDFLAGS=""
7966 WINEPRELOADER_LDFLAGS=""
7968 LIBEXT="so"
7969 DLLEXT=".so"
7970 # Extract the first word of "ldd", so it can be a program name with args.
7971 set dummy ldd; ac_word=$2
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7973 $as_echo_n "checking for $ac_word... " >&6; }
7974 if ${ac_cv_path_LDD+:} false; then :
7975 $as_echo_n "(cached) " >&6
7976 else
7977 case $LDD in
7978 [\\/]* | ?:[\\/]*)
7979 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7983 as_dummy="/sbin:/usr/sbin:$PATH"
7984 for as_dir in $as_dummy
7986 IFS=$as_save_IFS
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7990 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7992 break 2
7994 done
7995 done
7996 IFS=$as_save_IFS
7998 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8000 esac
8002 LDD=$ac_cv_path_LDD
8003 if test -n "$LDD"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
8005 $as_echo "$LDD" >&6; }
8006 else
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8012 if test -n "$ac_tool_prefix"; then
8013 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8014 set dummy ${ac_tool_prefix}otool; ac_word=$2
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8016 $as_echo_n "checking for $ac_word... " >&6; }
8017 if ${ac_cv_prog_OTOOL+:} false; then :
8018 $as_echo_n "(cached) " >&6
8019 else
8020 if test -n "$OTOOL"; then
8021 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8022 else
8023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8024 for as_dir in $PATH
8026 IFS=$as_save_IFS
8027 test -z "$as_dir" && as_dir=.
8028 for ac_exec_ext in '' $ac_executable_extensions; do
8029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8030 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8032 break 2
8034 done
8035 done
8036 IFS=$as_save_IFS
8040 OTOOL=$ac_cv_prog_OTOOL
8041 if test -n "$OTOOL"; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8043 $as_echo "$OTOOL" >&6; }
8044 else
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8046 $as_echo "no" >&6; }
8051 if test -z "$ac_cv_prog_OTOOL"; then
8052 ac_ct_OTOOL=$OTOOL
8053 # Extract the first word of "otool", so it can be a program name with args.
8054 set dummy otool; ac_word=$2
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8056 $as_echo_n "checking for $ac_word... " >&6; }
8057 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8058 $as_echo_n "(cached) " >&6
8059 else
8060 if test -n "$ac_ct_OTOOL"; then
8061 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8062 else
8063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8064 for as_dir in $PATH
8066 IFS=$as_save_IFS
8067 test -z "$as_dir" && as_dir=.
8068 for ac_exec_ext in '' $ac_executable_extensions; do
8069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8070 ac_cv_prog_ac_ct_OTOOL="otool"
8071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8072 break 2
8074 done
8075 done
8076 IFS=$as_save_IFS
8080 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8081 if test -n "$ac_ct_OTOOL"; then
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8083 $as_echo "$ac_ct_OTOOL" >&6; }
8084 else
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8086 $as_echo "no" >&6; }
8089 if test "x$ac_ct_OTOOL" = x; then
8090 OTOOL="otool"
8091 else
8092 case $cross_compiling:$ac_tool_warned in
8093 yes:)
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8096 ac_tool_warned=yes ;;
8097 esac
8098 OTOOL=$ac_ct_OTOOL
8100 else
8101 OTOOL="$ac_cv_prog_OTOOL"
8104 if test -n "$ac_tool_prefix"; then
8105 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8106 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8108 $as_echo_n "checking for $ac_word... " >&6; }
8109 if ${ac_cv_prog_READELF+:} false; then :
8110 $as_echo_n "(cached) " >&6
8111 else
8112 if test -n "$READELF"; then
8113 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8114 else
8115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8116 for as_dir in $PATH
8118 IFS=$as_save_IFS
8119 test -z "$as_dir" && as_dir=.
8120 for ac_exec_ext in '' $ac_executable_extensions; do
8121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8122 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8124 break 2
8126 done
8127 done
8128 IFS=$as_save_IFS
8132 READELF=$ac_cv_prog_READELF
8133 if test -n "$READELF"; then
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8135 $as_echo "$READELF" >&6; }
8136 else
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8138 $as_echo "no" >&6; }
8143 if test -z "$ac_cv_prog_READELF"; then
8144 ac_ct_READELF=$READELF
8145 # Extract the first word of "readelf", so it can be a program name with args.
8146 set dummy readelf; ac_word=$2
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8148 $as_echo_n "checking for $ac_word... " >&6; }
8149 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8150 $as_echo_n "(cached) " >&6
8151 else
8152 if test -n "$ac_ct_READELF"; then
8153 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8154 else
8155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8156 for as_dir in $PATH
8158 IFS=$as_save_IFS
8159 test -z "$as_dir" && as_dir=.
8160 for ac_exec_ext in '' $ac_executable_extensions; do
8161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8162 ac_cv_prog_ac_ct_READELF="readelf"
8163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8164 break 2
8166 done
8167 done
8168 IFS=$as_save_IFS
8172 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8173 if test -n "$ac_ct_READELF"; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8175 $as_echo "$ac_ct_READELF" >&6; }
8176 else
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8178 $as_echo "no" >&6; }
8181 if test "x$ac_ct_READELF" = x; then
8182 READELF="true"
8183 else
8184 case $cross_compiling:$ac_tool_warned in
8185 yes:)
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8188 ac_tool_warned=yes ;;
8189 esac
8190 READELF=$ac_ct_READELF
8192 else
8193 READELF="$ac_cv_prog_READELF"
8196 wine_rules_file=conf$$rules.make
8197 rm -f $wine_rules_file
8198 SUBDIRS=""
8200 DISABLED_SUBDIRS=""
8202 CONFIGURE_TARGETS=""
8205 wine_fn_append_file ()
8207 as_fn_append $1 " \\$as_nl $2"
8210 wine_fn_append_rule ()
8212 $as_echo "$1" >>$wine_rules_file
8215 wine_fn_config_makefile ()
8217 wine_fn_append_file SUBDIRS $1
8218 if eval test \"x\$"$2"\" = x"no"; then :
8219 wine_fn_append_file DISABLED_SUBDIRS $1
8223 wine_fn_config_symlink ()
8225 ac_links=$@
8226 wine_fn_append_rule \
8227 "$ac_links:
8228 @./config.status \$@"
8229 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8232 wine_binary="wine"
8233 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8234 WINELOADER_PROGRAMS="$wine_binary"
8236 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8238 case $host_os in
8239 cygwin*|mingw32*)
8240 if test -n "$ac_tool_prefix"; then
8241 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8242 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8244 $as_echo_n "checking for $ac_word... " >&6; }
8245 if ${ac_cv_prog_DLLTOOL+:} false; then :
8246 $as_echo_n "(cached) " >&6
8247 else
8248 if test -n "$DLLTOOL"; then
8249 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8250 else
8251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8252 for as_dir in $PATH
8254 IFS=$as_save_IFS
8255 test -z "$as_dir" && as_dir=.
8256 for ac_exec_ext in '' $ac_executable_extensions; do
8257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8258 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8260 break 2
8262 done
8263 done
8264 IFS=$as_save_IFS
8268 DLLTOOL=$ac_cv_prog_DLLTOOL
8269 if test -n "$DLLTOOL"; then
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8271 $as_echo "$DLLTOOL" >&6; }
8272 else
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8274 $as_echo "no" >&6; }
8279 if test -z "$ac_cv_prog_DLLTOOL"; then
8280 ac_ct_DLLTOOL=$DLLTOOL
8281 # Extract the first word of "dlltool", so it can be a program name with args.
8282 set dummy dlltool; ac_word=$2
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8284 $as_echo_n "checking for $ac_word... " >&6; }
8285 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8286 $as_echo_n "(cached) " >&6
8287 else
8288 if test -n "$ac_ct_DLLTOOL"; then
8289 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8290 else
8291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8292 for as_dir in $PATH
8294 IFS=$as_save_IFS
8295 test -z "$as_dir" && as_dir=.
8296 for ac_exec_ext in '' $ac_executable_extensions; do
8297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8298 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8300 break 2
8302 done
8303 done
8304 IFS=$as_save_IFS
8308 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8309 if test -n "$ac_ct_DLLTOOL"; then
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8311 $as_echo "$ac_ct_DLLTOOL" >&6; }
8312 else
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8314 $as_echo "no" >&6; }
8317 if test "x$ac_ct_DLLTOOL" = x; then
8318 DLLTOOL="false"
8319 else
8320 case $cross_compiling:$ac_tool_warned in
8321 yes:)
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8324 ac_tool_warned=yes ;;
8325 esac
8326 DLLTOOL=$ac_ct_DLLTOOL
8328 else
8329 DLLTOOL="$ac_cv_prog_DLLTOOL"
8332 LIBEXT="dll"
8333 DLLEXT=""
8334 case $host_cpu in
8335 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8336 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8337 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8338 $as_echo_n "(cached) " >&6
8339 else
8340 ac_wine_try_cflags_saved=$CFLAGS
8341 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8343 /* end confdefs.h. */
8344 int main(int argc, char **argv) { return 0; }
8345 _ACEOF
8346 if ac_fn_c_try_link "$LINENO"; then :
8347 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8348 else
8349 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8351 rm -f core conftest.err conftest.$ac_objext \
8352 conftest$ac_exeext conftest.$ac_ext
8353 CFLAGS=$ac_wine_try_cflags_saved
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8356 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8357 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8358 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8359 fi ;;
8360 esac
8361 enable_iphlpapi=${enable_iphlpapi:-no}
8362 enable_nsiproxy_sys=${enable_nsiproxy_sys:-no}
8363 enable_ws2_32=${enable_ws2_32:-no}
8364 enable_loader=${enable_loader:-no}
8365 enable_server=${enable_server:-no}
8366 with_x=${with_x:-no}
8367 with_pthread=${with_pthread:-no}
8370 darwin*|macosx*)
8371 ac_ext=m
8372 ac_cpp='$OBJCPP $CPPFLAGS'
8373 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8374 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8375 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8377 ac_ext=m
8378 ac_cpp='$OBJCPP $CPPFLAGS'
8379 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8380 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8381 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8382 if test -n "$ac_tool_prefix"; then
8383 for ac_prog in gcc objcc objc cc CC
8385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8386 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8388 $as_echo_n "checking for $ac_word... " >&6; }
8389 if ${ac_cv_prog_OBJC+:} false; then :
8390 $as_echo_n "(cached) " >&6
8391 else
8392 if test -n "$OBJC"; then
8393 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8394 else
8395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8396 for as_dir in $PATH
8398 IFS=$as_save_IFS
8399 test -z "$as_dir" && as_dir=.
8400 for ac_exec_ext in '' $ac_executable_extensions; do
8401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8402 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8404 break 2
8406 done
8407 done
8408 IFS=$as_save_IFS
8412 OBJC=$ac_cv_prog_OBJC
8413 if test -n "$OBJC"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8415 $as_echo "$OBJC" >&6; }
8416 else
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8418 $as_echo "no" >&6; }
8422 test -n "$OBJC" && break
8423 done
8425 if test -z "$OBJC"; then
8426 ac_ct_OBJC=$OBJC
8427 for ac_prog in gcc objcc objc cc CC
8429 # Extract the first word of "$ac_prog", so it can be a program name with args.
8430 set dummy $ac_prog; ac_word=$2
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8432 $as_echo_n "checking for $ac_word... " >&6; }
8433 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8434 $as_echo_n "(cached) " >&6
8435 else
8436 if test -n "$ac_ct_OBJC"; then
8437 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8438 else
8439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8440 for as_dir in $PATH
8442 IFS=$as_save_IFS
8443 test -z "$as_dir" && as_dir=.
8444 for ac_exec_ext in '' $ac_executable_extensions; do
8445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8446 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8448 break 2
8450 done
8451 done
8452 IFS=$as_save_IFS
8456 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8457 if test -n "$ac_ct_OBJC"; then
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8459 $as_echo "$ac_ct_OBJC" >&6; }
8460 else
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8462 $as_echo "no" >&6; }
8466 test -n "$ac_ct_OBJC" && break
8467 done
8469 if test "x$ac_ct_OBJC" = x; then
8470 OBJC="gcc"
8471 else
8472 case $cross_compiling:$ac_tool_warned in
8473 yes:)
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8476 ac_tool_warned=yes ;;
8477 esac
8478 OBJC=$ac_ct_OBJC
8482 # Provide some information about the compiler.
8483 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8484 set X $ac_compile
8485 ac_compiler=$2
8486 for ac_option in --version -v -V -qversion; do
8487 { { ac_try="$ac_compiler $ac_option >&5"
8488 case "(($ac_try" in
8489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8490 *) ac_try_echo=$ac_try;;
8491 esac
8492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8493 $as_echo "$ac_try_echo"; } >&5
8494 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8495 ac_status=$?
8496 if test -s conftest.err; then
8497 sed '10a\
8498 ... rest of stderr output deleted ...
8499 10q' conftest.err >conftest.er1
8500 cat conftest.er1 >&5
8502 rm -f conftest.er1 conftest.err
8503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8504 test $ac_status = 0; }
8505 done
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8508 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8509 if ${ac_cv_objc_compiler_gnu+:} false; then :
8510 $as_echo_n "(cached) " >&6
8511 else
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8516 main ()
8518 #ifndef __GNUC__
8519 choke me
8520 #endif
8523 return 0;
8525 _ACEOF
8526 if ac_fn_objc_try_compile "$LINENO"; then :
8527 ac_compiler_gnu=yes
8528 else
8529 ac_compiler_gnu=no
8531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8532 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8536 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8537 if test $ac_compiler_gnu = yes; then
8538 GOBJC=yes
8539 else
8540 GOBJC=
8542 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8543 ac_save_OBJCFLAGS=$OBJCFLAGS
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8545 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8546 if ${ac_cv_prog_objc_g+:} false; then :
8547 $as_echo_n "(cached) " >&6
8548 else
8549 ac_save_objc_werror_flag=$ac_objc_werror_flag
8550 ac_objc_werror_flag=yes
8551 ac_cv_prog_objc_g=no
8552 OBJCFLAGS="-g"
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8557 main ()
8561 return 0;
8563 _ACEOF
8564 if ac_fn_objc_try_compile "$LINENO"; then :
8565 ac_cv_prog_objc_g=yes
8566 else
8567 OBJCFLAGS=""
8568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8569 /* end confdefs.h. */
8572 main ()
8576 return 0;
8578 _ACEOF
8579 if ac_fn_objc_try_compile "$LINENO"; then :
8581 else
8582 ac_objc_werror_flag=$ac_save_objc_werror_flag
8583 OBJCFLAGS="-g"
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8588 main ()
8592 return 0;
8594 _ACEOF
8595 if ac_fn_objc_try_compile "$LINENO"; then :
8596 ac_cv_prog_objc_g=yes
8598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8603 ac_objc_werror_flag=$ac_save_objc_werror_flag
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8606 $as_echo "$ac_cv_prog_objc_g" >&6; }
8607 if test "$ac_test_OBJCFLAGS" = set; then
8608 OBJCFLAGS=$ac_save_OBJCFLAGS
8609 elif test $ac_cv_prog_objc_g = yes; then
8610 if test "$GOBJC" = yes; then
8611 OBJCFLAGS="-g -O2"
8612 else
8613 OBJCFLAGS="-g"
8615 else
8616 if test "$GOBJC" = yes; then
8617 OBJCFLAGS="-O2"
8618 else
8619 OBJCFLAGS=
8622 ac_ext=m
8623 ac_cpp='$OBJCPP $CPPFLAGS'
8624 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8625 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8626 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8629 ac_ext=m
8630 ac_cpp='$OBJCPP $CPPFLAGS'
8631 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8632 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8633 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8635 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8636 if test -z "$OBJCPP"; then
8637 if ${ac_cv_prog_OBJCPP+:} false; then :
8638 $as_echo_n "(cached) " >&6
8639 else
8640 # Double quotes because OBJCPP needs to be expanded
8641 for OBJCPP in "$OBJC -E" "/lib/cpp"
8643 ac_preproc_ok=false
8644 for ac_objc_preproc_warn_flag in '' yes
8646 # Use a header file that comes with gcc, so configuring glibc
8647 # with a fresh cross-compiler works.
8648 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8649 # <limits.h> exists even on freestanding compilers.
8650 # On the NeXT, cc -E runs the code through the compiler's parser,
8651 # not just through cpp. "Syntax error" is here to catch this case.
8652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8653 /* end confdefs.h. */
8654 #ifdef __STDC__
8655 # include <limits.h>
8656 #else
8657 # include <assert.h>
8658 #endif
8659 Syntax error
8660 _ACEOF
8661 if ac_fn_objc_try_cpp "$LINENO"; then :
8663 else
8664 # Broken: fails on valid input.
8665 continue
8667 rm -f conftest.err conftest.i conftest.$ac_ext
8669 # OK, works on sane cases. Now check whether nonexistent headers
8670 # can be detected and how.
8671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8672 /* end confdefs.h. */
8673 #include <ac_nonexistent.h>
8674 _ACEOF
8675 if ac_fn_objc_try_cpp "$LINENO"; then :
8676 # Broken: success on invalid input.
8677 continue
8678 else
8679 # Passes both tests.
8680 ac_preproc_ok=:
8681 break
8683 rm -f conftest.err conftest.i conftest.$ac_ext
8685 done
8686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8687 rm -f conftest.i conftest.err conftest.$ac_ext
8688 if $ac_preproc_ok; then :
8689 break
8692 done
8693 ac_cv_prog_OBJCPP=$OBJCPP
8696 OBJCPP=$ac_cv_prog_OBJCPP
8697 else
8698 ac_cv_prog_OBJCPP=$OBJCPP
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8701 $as_echo "$OBJCPP" >&6; }
8702 ac_preproc_ok=false
8703 for ac_objc_preproc_warn_flag in '' yes
8705 # Use a header file that comes with gcc, so configuring glibc
8706 # with a fresh cross-compiler works.
8707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8708 # <limits.h> exists even on freestanding compilers.
8709 # On the NeXT, cc -E runs the code through the compiler's parser,
8710 # not just through cpp. "Syntax error" is here to catch this case.
8711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8712 /* end confdefs.h. */
8713 #ifdef __STDC__
8714 # include <limits.h>
8715 #else
8716 # include <assert.h>
8717 #endif
8718 Syntax error
8719 _ACEOF
8720 if ac_fn_objc_try_cpp "$LINENO"; then :
8722 else
8723 # Broken: fails on valid input.
8724 continue
8726 rm -f conftest.err conftest.i conftest.$ac_ext
8728 # OK, works on sane cases. Now check whether nonexistent headers
8729 # can be detected and how.
8730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8732 #include <ac_nonexistent.h>
8733 _ACEOF
8734 if ac_fn_objc_try_cpp "$LINENO"; then :
8735 # Broken: success on invalid input.
8736 continue
8737 else
8738 # Passes both tests.
8739 ac_preproc_ok=:
8740 break
8742 rm -f conftest.err conftest.i conftest.$ac_ext
8744 done
8745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8746 rm -f conftest.i conftest.err conftest.$ac_ext
8747 if $ac_preproc_ok; then :
8749 else
8750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8752 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8753 See \`config.log' for more details" "$LINENO" 5; }
8756 ac_ext=m
8757 ac_cpp='$OBJCPP $CPPFLAGS'
8758 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8759 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8760 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8763 for ac_header in Metal/Metal.h
8764 do :
8765 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8766 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8767 cat >>confdefs.h <<_ACEOF
8768 #define HAVE_METAL_METAL_H 1
8769 _ACEOF
8773 done
8775 ac_ext=c
8776 ac_cpp='$CPP $CPPFLAGS'
8777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8781 LIBEXT="dylib"
8782 DLLFLAGS="$DLLFLAGS -fPIC"
8783 LDDLLFLAGS="-fPIC"
8784 COREFOUNDATION_LIBS="-framework CoreFoundation"
8786 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8788 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8790 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8792 CORESERVICES_LIBS="-framework CoreServices"
8794 APPKIT_LIBS="-framework AppKit"
8796 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8799 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8801 wine_can_build_preloader=yes
8802 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"
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8804 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8805 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8806 $as_echo_n "(cached) " >&6
8807 else
8808 ac_wine_try_cflags_saved=$CFLAGS
8809 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8811 /* end confdefs.h. */
8812 int main(int argc, char **argv) { return 0; }
8813 _ACEOF
8814 if ac_fn_c_try_link "$LINENO"; then :
8815 ac_cv_cflags__Wl__no_new_main__e__main=yes
8816 else
8817 ac_cv_cflags__Wl__no_new_main__e__main=no
8819 rm -f core conftest.err conftest.$ac_objext \
8820 conftest$ac_exeext conftest.$ac_ext
8821 CFLAGS=$ac_wine_try_cflags_saved
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8824 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8825 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8826 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8828 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8829 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8830 $as_echo_n "(cached) " >&6
8831 else
8832 ac_wine_try_cflags_saved=$CFLAGS
8833 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8835 /* end confdefs.h. */
8836 int main(int argc, char **argv) { return 0; }
8837 _ACEOF
8838 if ac_fn_c_try_link "$LINENO"; then :
8839 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8840 else
8841 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8843 rm -f core conftest.err conftest.$ac_objext \
8844 conftest$ac_exeext conftest.$ac_ext
8845 CFLAGS=$ac_wine_try_cflags_saved
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8848 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8849 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8850 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8851 else
8852 { $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
8853 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8854 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8855 $as_echo_n "(cached) " >&6
8856 else
8857 ac_wine_try_cflags_saved=$CFLAGS
8858 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8861 int main(int argc, char **argv) { return 0; }
8862 _ACEOF
8863 if ac_fn_c_try_link "$LINENO"; then :
8864 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8865 else
8866 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8868 rm -f core conftest.err conftest.$ac_objext \
8869 conftest$ac_exeext conftest.$ac_ext
8870 CFLAGS=$ac_wine_try_cflags_saved
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8873 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8874 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8875 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8876 else
8877 wine_can_build_preloader=no
8880 else
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8882 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8883 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8884 $as_echo_n "(cached) " >&6
8885 else
8886 ac_wine_try_cflags_saved=$CFLAGS
8887 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8889 /* end confdefs.h. */
8890 int main(int argc, char **argv) { return 0; }
8891 _ACEOF
8892 if ac_fn_c_try_link "$LINENO"; then :
8893 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8894 else
8895 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8897 rm -f core conftest.err conftest.$ac_objext \
8898 conftest$ac_exeext conftest.$ac_ext
8899 CFLAGS=$ac_wine_try_cflags_saved
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8902 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8903 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8904 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8905 else
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8907 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8908 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8909 $as_echo_n "(cached) " >&6
8910 else
8911 ac_wine_try_cflags_saved=$CFLAGS
8912 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8914 /* end confdefs.h. */
8915 int main(int argc, char **argv) { return 0; }
8916 _ACEOF
8917 if ac_fn_c_try_link "$LINENO"; then :
8918 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8919 else
8920 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8922 rm -f core conftest.err conftest.$ac_objext \
8923 conftest$ac_exeext conftest.$ac_ext
8924 CFLAGS=$ac_wine_try_cflags_saved
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8927 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8928 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8929 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8930 else
8931 wine_can_build_preloader=no
8935 if test "$wine_can_build_preloader" = "yes"
8936 then
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8938 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8939 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8940 $as_echo_n "(cached) " >&6
8941 else
8942 ac_wine_try_cflags_saved=$CFLAGS
8943 CFLAGS="$CFLAGS -Wl,-no_pie"
8944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8945 /* end confdefs.h. */
8946 int main(int argc, char **argv) { return 0; }
8947 _ACEOF
8948 if ac_fn_c_try_link "$LINENO"; then :
8949 ac_cv_cflags__Wl__no_pie=yes
8950 else
8951 ac_cv_cflags__Wl__no_pie=no
8953 rm -f core conftest.err conftest.$ac_objext \
8954 conftest$ac_exeext conftest.$ac_ext
8955 CFLAGS=$ac_wine_try_cflags_saved
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8958 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8959 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8960 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8962 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8963 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8964 else
8965 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8968 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8969 then
8970 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8973 if test "$ac_cv_header_Security_Security_h" = "yes"
8974 then
8975 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8977 ac_save_LIBS="$LIBS"
8978 LIBS="$LIBS $SECURITY_LIBS"
8979 for ac_func in SSLCopyPeerCertificates
8980 do :
8981 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8982 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8983 cat >>confdefs.h <<_ACEOF
8984 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8985 _ACEOF
8988 done
8990 LIBS="$ac_save_LIBS"
8992 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8993 then
8994 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8996 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8998 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8999 then
9000 OPENAL_LIBS="-framework OpenAL"
9003 cat >>confdefs.h <<_ACEOF
9004 #define HAVE_OPENAL 1
9005 _ACEOF
9007 ac_cv_lib_openal=yes
9009 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9010 then
9011 OPENCL_LIBS="-framework OpenCL"
9013 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9015 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9016 then
9017 ac_save_LIBS="$LIBS"
9018 LIBS="$LIBS $IOKIT_LIBS"
9019 for ac_func in IOHIDManagerCreate
9020 do :
9021 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9022 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9023 cat >>confdefs.h <<_ACEOF
9024 #define HAVE_IOHIDMANAGERCREATE 1
9025 _ACEOF
9028 done
9030 LIBS="$ac_save_LIBS"
9033 if test "x$with_quicktime" != "xno"
9034 then
9035 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9036 then
9037 ac_save_LIBS="$LIBS"
9038 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9040 $as_echo_n "checking for the QuickTime framework... " >&6; }
9041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9042 /* end confdefs.h. */
9043 #include <QuickTime/ImageCompression.h>
9045 main ()
9047 CodecManagerVersion(NULL);
9049 return 0;
9051 _ACEOF
9052 if ac_fn_c_try_link "$LINENO"; then :
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9054 $as_echo "yes" >&6; }
9055 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9057 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9058 else
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9060 $as_echo "no" >&6; }
9061 ac_cv_header_QuickTime_ImageCompression_h=no
9063 rm -f core conftest.err conftest.$ac_objext \
9064 conftest$ac_exeext conftest.$ac_ext
9065 LIBS="$ac_save_LIBS"
9068 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9069 case "x$with_quicktime" in
9070 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9071 xno) ;;
9072 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9073 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9074 esac
9078 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9079 then
9080 CARBON_LIBS="-framework Carbon"
9083 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9084 then
9085 METAL_LIBS="-framework Metal -framework QuartzCore"
9089 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9090 then
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9092 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9093 ac_ext=m
9094 ac_cpp='$OBJCPP $CPPFLAGS'
9095 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9096 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9097 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9100 /* end confdefs.h. */
9101 #include <Metal/Metal.h>
9103 main ()
9105 id<MTLDevice> device; device.registryID;
9107 return 0;
9109 _ACEOF
9110 if ac_fn_objc_try_compile "$LINENO"; then :
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9112 $as_echo "yes" >&6; }
9114 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9116 else
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9118 $as_echo "no" >&6; }
9120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9121 ac_ext=c
9122 ac_cpp='$CPP $CPPFLAGS'
9123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9129 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9130 then
9131 ac_save_LIBS="$LIBS"
9132 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9133 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9134 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9135 enable_winemac_drv=${enable_winemac_drv:-yes}
9138 LIBS="$ac_save_LIBS"
9141 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9143 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9145 WINELOADER_DEPENDS="wine_info.plist"
9147 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9150 linux-android*)
9151 DLLFLAGS="$DLLFLAGS -fPIC"
9152 LDDLLFLAGS="-fPIC"
9153 LDEXECFLAGS="-Wl,-pie"
9154 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9156 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9157 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9158 $as_echo_n "(cached) " >&6
9159 else
9160 ac_wine_try_cflags_saved=$CFLAGS
9161 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9163 /* end confdefs.h. */
9164 int main(int argc, char **argv) { return 0; }
9165 _ACEOF
9166 if ac_fn_c_try_link "$LINENO"; then :
9167 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9168 else
9169 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9171 rm -f core conftest.err conftest.$ac_objext \
9172 conftest$ac_exeext conftest.$ac_ext
9173 CFLAGS=$ac_wine_try_cflags_saved
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9176 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9177 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9178 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9180 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9183 $as_echo_n "checking for -lEGL... " >&6; }
9184 if ${ac_cv_lib_soname_EGL+:} false; then :
9185 $as_echo_n "(cached) " >&6
9186 else
9187 ac_check_soname_save_LIBS=$LIBS
9188 LIBS="-lEGL $LIBS"
9189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9190 /* end confdefs.h. */
9192 /* Override any GCC internal prototype to avoid an error.
9193 Use char because int might match the return type of a GCC
9194 builtin and then its argument prototype would still apply. */
9195 #ifdef __cplusplus
9196 extern "C"
9197 #endif
9198 char eglGetProcAddress ();
9200 main ()
9202 return eglGetProcAddress ();
9204 return 0;
9206 _ACEOF
9207 if ac_fn_c_try_link "$LINENO"; then :
9208 case "$LIBEXT" in
9209 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9210 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'` ;;
9211 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9212 if ${ac_cv_lib_soname_EGL:+false} :; then :
9213 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9214 fi ;;
9215 esac
9216 else
9217 ac_cv_lib_soname_EGL=
9219 rm -f core conftest.err conftest.$ac_objext \
9220 conftest$ac_exeext conftest.$ac_ext
9221 LIBS=$ac_check_soname_save_LIBS
9223 if ${ac_cv_lib_soname_EGL:+false} :; then :
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9225 $as_echo "not found" >&6; }
9227 else
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9229 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9231 cat >>confdefs.h <<_ACEOF
9232 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9233 _ACEOF
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9238 $as_echo_n "checking for -lGLESv2... " >&6; }
9239 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9240 $as_echo_n "(cached) " >&6
9241 else
9242 ac_check_soname_save_LIBS=$LIBS
9243 LIBS="-lGLESv2 $LIBS"
9244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9245 /* end confdefs.h. */
9247 /* Override any GCC internal prototype to avoid an error.
9248 Use char because int might match the return type of a GCC
9249 builtin and then its argument prototype would still apply. */
9250 #ifdef __cplusplus
9251 extern "C"
9252 #endif
9253 char glFlush ();
9255 main ()
9257 return glFlush ();
9259 return 0;
9261 _ACEOF
9262 if ac_fn_c_try_link "$LINENO"; then :
9263 case "$LIBEXT" in
9264 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9265 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'` ;;
9266 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9267 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9268 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9269 fi ;;
9270 esac
9271 else
9272 ac_cv_lib_soname_GLESv2=
9274 rm -f core conftest.err conftest.$ac_objext \
9275 conftest$ac_exeext conftest.$ac_ext
9276 LIBS=$ac_check_soname_save_LIBS
9278 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9280 $as_echo "not found" >&6; }
9282 else
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9284 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9286 cat >>confdefs.h <<_ACEOF
9287 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9288 _ACEOF
9293 if test "x$exec_prefix" = xNONE
9294 then
9295 case $host_cpu in
9296 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9297 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9298 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9299 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9300 esac
9305 case $host_cpu in
9306 *i[3456789]86*)
9307 DLLFLAGS="$DLLFLAGS -fno-PIC"
9308 LDDLLFLAGS="-fno-PIC"
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9310 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9311 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9312 $as_echo_n "(cached) " >&6
9313 else
9314 ac_wine_try_cflags_saved=$CFLAGS
9315 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h. */
9318 int main(int argc, char **argv) { return 0; }
9319 _ACEOF
9320 if ac_fn_c_try_link "$LINENO"; then :
9321 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9322 else
9323 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9325 rm -f core conftest.err conftest.$ac_objext \
9326 conftest$ac_exeext conftest.$ac_ext
9327 CFLAGS=$ac_wine_try_cflags_saved
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9330 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9331 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9332 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9336 DLLFLAGS="$DLLFLAGS -fPIC"
9337 LDDLLFLAGS="-fPIC" ;;
9338 esac
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9340 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9341 if ${ac_cv_c_dll_gnuelf+:} false; then :
9342 $as_echo_n "(cached) " >&6
9343 else
9344 ac_wine_try_cflags_saved=$CFLAGS
9345 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9348 void myfunc() {}
9349 _ACEOF
9350 if ac_fn_c_try_link "$LINENO"; then :
9351 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9352 else
9353 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9355 rm -f core conftest.err conftest.$ac_objext \
9356 conftest$ac_exeext conftest.$ac_ext
9357 CFLAGS=$ac_wine_try_cflags_saved
9358 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9359 ac_cv_c_dll_gnuelf="yes"
9360 else
9361 ac_cv_c_dll_gnuelf="no"
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9365 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9366 if test "$ac_cv_c_dll_gnuelf" = "yes"
9367 then
9368 LIBWINE_LDFLAGS="-shared"
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9370 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9371 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9372 $as_echo_n "(cached) " >&6
9373 else
9374 ac_wine_try_cflags_saved=$CFLAGS
9375 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9377 /* end confdefs.h. */
9378 int main(int argc, char **argv) { return 0; }
9379 _ACEOF
9380 if ac_fn_c_try_link "$LINENO"; then :
9381 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9382 else
9383 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9385 rm -f core conftest.err conftest.$ac_objext \
9386 conftest$ac_exeext conftest.$ac_ext
9387 CFLAGS=$ac_wine_try_cflags_saved
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9390 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9391 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9392 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9393 else
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9395 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9396 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9397 $as_echo_n "(cached) " >&6
9398 else
9399 ac_wine_try_cflags_saved=$CFLAGS
9400 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h. */
9403 int main(int argc, char **argv) { return 0; }
9404 _ACEOF
9405 if ac_fn_c_try_link "$LINENO"; then :
9406 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9407 else
9408 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9410 rm -f core conftest.err conftest.$ac_objext \
9411 conftest$ac_exeext conftest.$ac_ext
9412 CFLAGS=$ac_wine_try_cflags_saved
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9415 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9416 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9417 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9421 echo '{ global: *; };' >conftest.map
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9423 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9424 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9425 $as_echo_n "(cached) " >&6
9426 else
9427 ac_wine_try_cflags_saved=$CFLAGS
9428 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9430 /* end confdefs.h. */
9431 int main(int argc, char **argv) { return 0; }
9432 _ACEOF
9433 if ac_fn_c_try_link "$LINENO"; then :
9434 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9435 else
9436 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9438 rm -f core conftest.err conftest.$ac_objext \
9439 conftest$ac_exeext conftest.$ac_ext
9440 CFLAGS=$ac_wine_try_cflags_saved
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9443 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9444 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9445 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9447 rm -f conftest.map
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9450 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9451 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9452 $as_echo_n "(cached) " >&6
9453 else
9454 ac_wine_try_cflags_saved=$CFLAGS
9455 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9458 int main(int argc, char **argv) { return 0; }
9459 _ACEOF
9460 if ac_fn_c_try_link "$LINENO"; then :
9461 ac_cv_cflags__Wl___export_dynamic=yes
9462 else
9463 ac_cv_cflags__Wl___export_dynamic=no
9465 rm -f core conftest.err conftest.$ac_objext \
9466 conftest$ac_exeext conftest.$ac_ext
9467 CFLAGS=$ac_wine_try_cflags_saved
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9470 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9471 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9472 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9474 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9476 case $host_cpu in
9477 *i[3456789]86* | x86_64 | *aarch64* | arm*)
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9479 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9480 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9481 $as_echo_n "(cached) " >&6
9482 else
9483 ac_wine_try_cflags_saved=$CFLAGS
9484 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9487 int main(int argc, char **argv) { return 0; }
9488 _ACEOF
9489 if ac_fn_c_try_link "$LINENO"; then :
9490 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9491 else
9492 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9494 rm -f core conftest.err conftest.$ac_objext \
9495 conftest$ac_exeext conftest.$ac_ext
9496 CFLAGS=$ac_wine_try_cflags_saved
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9499 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9500 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9501 case $host_os in
9502 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9503 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9504 esac
9505 else
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9507 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9508 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9509 $as_echo_n "(cached) " >&6
9510 else
9511 ac_wine_try_cflags_saved=$CFLAGS
9512 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9515 int main(int argc, char **argv) { return 0; }
9516 _ACEOF
9517 if ac_fn_c_try_link "$LINENO"; then :
9518 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9519 else
9520 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9522 rm -f core conftest.err conftest.$ac_objext \
9523 conftest$ac_exeext conftest.$ac_ext
9524 CFLAGS=$ac_wine_try_cflags_saved
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9527 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9528 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9529 case $host_os in
9530 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9531 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9532 esac
9534 # Extract the first word of "prelink", so it can be a program name with args.
9535 set dummy prelink; ac_word=$2
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9537 $as_echo_n "checking for $ac_word... " >&6; }
9538 if ${ac_cv_path_PRELINK+:} false; then :
9539 $as_echo_n "(cached) " >&6
9540 else
9541 case $PRELINK in
9542 [\\/]* | ?:[\\/]*)
9543 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9547 for as_dir in /sbin /usr/sbin $PATH
9549 IFS=$as_save_IFS
9550 test -z "$as_dir" && as_dir=.
9551 for ac_exec_ext in '' $ac_executable_extensions; do
9552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9553 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9555 break 2
9557 done
9558 done
9559 IFS=$as_save_IFS
9561 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9563 esac
9565 PRELINK=$ac_cv_path_PRELINK
9566 if test -n "$PRELINK"; then
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9568 $as_echo "$PRELINK" >&6; }
9569 else
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9571 $as_echo "no" >&6; }
9575 if test "x$PRELINK" = xfalse
9576 then
9577 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9581 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9582 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9583 $as_echo_n "(cached) " >&6
9584 else
9585 ac_wine_try_cflags_saved=$CFLAGS
9586 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h. */
9589 int main(int argc, char **argv) { return 0; }
9590 _ACEOF
9591 if ac_fn_c_try_link "$LINENO"; then :
9592 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9593 else
9594 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9596 rm -f core conftest.err conftest.$ac_objext \
9597 conftest$ac_exeext conftest.$ac_ext
9598 CFLAGS=$ac_wine_try_cflags_saved
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9601 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9602 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9603 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9606 esac
9608 else
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9610 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9611 if ${ac_cv_c_dll_unixware+:} false; then :
9612 $as_echo_n "(cached) " >&6
9613 else
9614 ac_wine_try_cflags_saved=$CFLAGS
9615 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9617 /* end confdefs.h. */
9618 void myfunc() {}
9619 _ACEOF
9620 if ac_fn_c_try_link "$LINENO"; then :
9621 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9622 else
9623 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9625 rm -f core conftest.err conftest.$ac_objext \
9626 conftest$ac_exeext conftest.$ac_ext
9627 CFLAGS=$ac_wine_try_cflags_saved
9628 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9629 ac_cv_c_dll_unixware="yes"
9630 else
9631 ac_cv_c_dll_unixware="no"
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9635 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9636 if test "$ac_cv_c_dll_unixware" = "yes"
9637 then
9638 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9641 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9643 LIBWINE_DEPENDS="wine.map"
9645 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9647 esac
9649 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9650 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9651 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9652 enable_winemac_drv=${enable_winemac_drv:-no}
9653 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9656 if test "x$with_mingw" != xno
9657 then
9658 case "x$with_mingw" in
9659 x|xyes) case "$host_cpu" in
9660 aarch64*)
9661 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9662 arm*)
9663 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9664 i[3456789]86*)
9665 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
9666 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9667 mingw32-gcc clang" ;;
9668 x86_64)
9669 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
9670 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9672 ac_prefix_list="" ;;
9673 esac
9674 for ac_prog in $ac_prefix_list
9676 # Extract the first word of "$ac_prog", so it can be a program name with args.
9677 set dummy $ac_prog; ac_word=$2
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9679 $as_echo_n "checking for $ac_word... " >&6; }
9680 if ${ac_cv_prog_CROSSCC+:} false; then :
9681 $as_echo_n "(cached) " >&6
9682 else
9683 if test -n "$CROSSCC"; then
9684 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9685 else
9686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9687 for as_dir in $PATH
9689 IFS=$as_save_IFS
9690 test -z "$as_dir" && as_dir=.
9691 for ac_exec_ext in '' $ac_executable_extensions; do
9692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9693 ac_cv_prog_CROSSCC="$ac_prog"
9694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9695 break 2
9697 done
9698 done
9699 IFS=$as_save_IFS
9703 CROSSCC=$ac_cv_prog_CROSSCC
9704 if test -n "$CROSSCC"; then
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9706 $as_echo "$CROSSCC" >&6; }
9707 else
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9709 $as_echo "no" >&6; }
9713 test -n "$CROSSCC" && break
9714 done
9715 test -n "$CROSSCC" || CROSSCC="false"
9717 *) CROSSCC=$with_mingw ;;
9718 esac
9719 if test "$CROSSCC" != "false"
9720 then
9721 ac_save_CC="$CC"
9722 saved_CFLAGS=$CFLAGS
9723 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9725 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9729 CC="$CROSSCC"
9730 CFLAGS=$CROSSCFLAGS
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9732 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9733 if ${wine_cv_crosscc+:} false; then :
9734 $as_echo_n "(cached) " >&6
9735 else
9736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9737 /* end confdefs.h. */
9740 main ()
9744 return 0;
9746 _ACEOF
9747 if ac_fn_c_try_compile "$LINENO"; then :
9748 wine_cv_crosscc=yes
9749 else
9750 wine_cv_crosscc=no
9752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9755 $as_echo "$wine_cv_crosscc" >&6; }
9756 if test $wine_cv_crosscc = yes
9757 then
9758 set x $CROSSCC
9759 shift
9760 while test $# -ge 1
9762 case "$1" in
9763 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9764 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9765 esac
9766 shift
9767 done
9769 llvm_target=$CROSSTARGET
9770 llvm_cflags="-fuse-ld=lld"
9771 if test -z "$llvm_target"
9772 then
9773 case $host_cpu in
9774 *i[3456789]86*) llvm_target=i686-windows ;;
9775 *) llvm_target=$host_cpu-windows ;;
9776 esac
9778 case $llvm_target in
9779 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9780 esac
9781 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9783 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9784 if eval \${$as_ac_var+:} false; then :
9785 $as_echo_n "(cached) " >&6
9786 else
9787 ac_wine_try_cflags_saved=$CFLAGS
9788 ac_wine_try_cflags_saved_cc=$CC
9789 ac_wine_try_cflags_saved_exeext=$ac_exeext
9790 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9791 CC="$CROSSCC"
9792 ac_exeext=".exe"
9793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9795 int __cdecl mainCRTStartup(void) { return 0; }
9796 _ACEOF
9797 if ac_fn_c_try_link "$LINENO"; then :
9798 eval "$as_ac_var=yes"
9799 else
9800 eval "$as_ac_var=no"
9802 rm -f core conftest.err conftest.$ac_objext \
9803 conftest$ac_exeext conftest.$ac_ext
9804 CFLAGS=$ac_wine_try_cflags_saved
9805 CC=$ac_wine_try_cflags_saved_cc
9806 ac_exeext=$ac_wine_try_cflags_saved_exeext
9808 eval ac_res=\$$as_ac_var
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9810 $as_echo "$ac_res" >&6; }
9811 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9812 CROSSTARGET=$llvm_target
9813 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9814 DELAYLOADFLAG="-Wl,-delayload,"
9816 CFLAGS="$CFLAGS $llvm_cflags"
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9820 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9821 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9822 $as_echo_n "(cached) " >&6
9823 else
9824 ac_wine_try_cflags_saved=$CFLAGS
9825 ac_wine_try_cflags_saved_cc=$CC
9826 ac_wine_try_cflags_saved_exeext=$ac_exeext
9827 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9828 CC="$CROSSCC"
9829 ac_exeext=".exe"
9830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9832 int __cdecl mainCRTStartup(void) { return 0; }
9833 _ACEOF
9834 if ac_fn_c_try_link "$LINENO"; then :
9835 ac_cv_crosscflags__fno_strict_aliasing=yes
9836 else
9837 ac_cv_crosscflags__fno_strict_aliasing=no
9839 rm -f core conftest.err conftest.$ac_objext \
9840 conftest$ac_exeext conftest.$ac_ext
9841 CFLAGS=$ac_wine_try_cflags_saved
9842 CC=$ac_wine_try_cflags_saved_cc
9843 ac_exeext=$ac_wine_try_cflags_saved_exeext
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9846 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9847 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9848 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9851 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9852 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9853 $as_echo_n "(cached) " >&6
9854 else
9855 ac_wine_try_cflags_saved=$CFLAGS
9856 ac_wine_try_cflags_saved_cc=$CC
9857 ac_wine_try_cflags_saved_exeext=$ac_exeext
9858 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9859 CC="$CROSSCC"
9860 ac_exeext=".exe"
9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9863 int __cdecl mainCRTStartup(void) { return 0; }
9864 _ACEOF
9865 if ac_fn_c_try_link "$LINENO"; then :
9866 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9867 else
9868 ac_cv_crosscflags__Werror_unknown_warning_option=no
9870 rm -f core conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9872 CFLAGS=$ac_wine_try_cflags_saved
9873 CC=$ac_wine_try_cflags_saved_cc
9874 ac_exeext=$ac_wine_try_cflags_saved_exeext
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9877 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9878 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9879 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9882 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9883 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9884 $as_echo_n "(cached) " >&6
9885 else
9886 ac_wine_try_cflags_saved=$CFLAGS
9887 ac_wine_try_cflags_saved_cc=$CC
9888 ac_wine_try_cflags_saved_exeext=$ac_exeext
9889 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9890 CC="$CROSSCC"
9891 ac_exeext=".exe"
9892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9893 /* end confdefs.h. */
9894 int __cdecl mainCRTStartup(void) { return 0; }
9895 _ACEOF
9896 if ac_fn_c_try_link "$LINENO"; then :
9897 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9898 else
9899 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9901 rm -f core conftest.err conftest.$ac_objext \
9902 conftest$ac_exeext conftest.$ac_ext
9903 CFLAGS=$ac_wine_try_cflags_saved
9904 CC=$ac_wine_try_cflags_saved_cc
9905 ac_exeext=$ac_wine_try_cflags_saved_exeext
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9908 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9909 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9910 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9913 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9914 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9915 $as_echo_n "(cached) " >&6
9916 else
9917 ac_wine_try_cflags_saved=$CFLAGS
9918 ac_wine_try_cflags_saved_cc=$CC
9919 ac_wine_try_cflags_saved_exeext=$ac_exeext
9920 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9921 CC="$CROSSCC"
9922 ac_exeext=".exe"
9923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h. */
9925 int __cdecl mainCRTStartup(void) { return 0; }
9926 _ACEOF
9927 if ac_fn_c_try_link "$LINENO"; then :
9928 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9929 else
9930 ac_cv_crosscflags__Wdeclaration_after_statement=no
9932 rm -f core conftest.err conftest.$ac_objext \
9933 conftest$ac_exeext conftest.$ac_ext
9934 CFLAGS=$ac_wine_try_cflags_saved
9935 CC=$ac_wine_try_cflags_saved_cc
9936 ac_exeext=$ac_wine_try_cflags_saved_exeext
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9939 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9940 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9941 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9944 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9945 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9946 $as_echo_n "(cached) " >&6
9947 else
9948 ac_wine_try_cflags_saved=$CFLAGS
9949 ac_wine_try_cflags_saved_cc=$CC
9950 ac_wine_try_cflags_saved_exeext=$ac_exeext
9951 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9952 CC="$CROSSCC"
9953 ac_exeext=".exe"
9954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9955 /* end confdefs.h. */
9956 int __cdecl mainCRTStartup(void) { return 0; }
9957 _ACEOF
9958 if ac_fn_c_try_link "$LINENO"; then :
9959 ac_cv_crosscflags__Wempty_body=yes
9960 else
9961 ac_cv_crosscflags__Wempty_body=no
9963 rm -f core conftest.err conftest.$ac_objext \
9964 conftest$ac_exeext conftest.$ac_ext
9965 CFLAGS=$ac_wine_try_cflags_saved
9966 CC=$ac_wine_try_cflags_saved_cc
9967 ac_exeext=$ac_wine_try_cflags_saved_exeext
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9970 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9971 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9972 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9975 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9976 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9977 $as_echo_n "(cached) " >&6
9978 else
9979 ac_wine_try_cflags_saved=$CFLAGS
9980 ac_wine_try_cflags_saved_cc=$CC
9981 ac_wine_try_cflags_saved_exeext=$ac_exeext
9982 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9983 CC="$CROSSCC"
9984 ac_exeext=".exe"
9985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9986 /* end confdefs.h. */
9987 int __cdecl mainCRTStartup(void) { return 0; }
9988 _ACEOF
9989 if ac_fn_c_try_link "$LINENO"; then :
9990 ac_cv_crosscflags__Wignored_qualifiers=yes
9991 else
9992 ac_cv_crosscflags__Wignored_qualifiers=no
9994 rm -f core conftest.err conftest.$ac_objext \
9995 conftest$ac_exeext conftest.$ac_ext
9996 CFLAGS=$ac_wine_try_cflags_saved
9997 CC=$ac_wine_try_cflags_saved_cc
9998 ac_exeext=$ac_wine_try_cflags_saved_exeext
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10001 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10002 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10003 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10006 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
10007 if ${ac_cv_crosscflags__Winit_self+:} false; then :
10008 $as_echo_n "(cached) " >&6
10009 else
10010 ac_wine_try_cflags_saved=$CFLAGS
10011 ac_wine_try_cflags_saved_cc=$CC
10012 ac_wine_try_cflags_saved_exeext=$ac_exeext
10013 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10014 CC="$CROSSCC"
10015 ac_exeext=".exe"
10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10018 int __cdecl mainCRTStartup(void) { return 0; }
10019 _ACEOF
10020 if ac_fn_c_try_link "$LINENO"; then :
10021 ac_cv_crosscflags__Winit_self=yes
10022 else
10023 ac_cv_crosscflags__Winit_self=no
10025 rm -f core conftest.err conftest.$ac_objext \
10026 conftest$ac_exeext conftest.$ac_ext
10027 CFLAGS=$ac_wine_try_cflags_saved
10028 CC=$ac_wine_try_cflags_saved_cc
10029 ac_exeext=$ac_wine_try_cflags_saved_exeext
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10032 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10033 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10034 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10037 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10038 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10039 $as_echo_n "(cached) " >&6
10040 else
10041 ac_wine_try_cflags_saved=$CFLAGS
10042 ac_wine_try_cflags_saved_cc=$CC
10043 ac_wine_try_cflags_saved_exeext=$ac_exeext
10044 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10045 CC="$CROSSCC"
10046 ac_exeext=".exe"
10047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10048 /* end confdefs.h. */
10049 int __cdecl mainCRTStartup(void) { return 0; }
10050 _ACEOF
10051 if ac_fn_c_try_link "$LINENO"; then :
10052 ac_cv_crosscflags__Wpacked_not_aligned=yes
10053 else
10054 ac_cv_crosscflags__Wpacked_not_aligned=no
10056 rm -f core conftest.err conftest.$ac_objext \
10057 conftest$ac_exeext conftest.$ac_ext
10058 CFLAGS=$ac_wine_try_cflags_saved
10059 CC=$ac_wine_try_cflags_saved_cc
10060 ac_exeext=$ac_wine_try_cflags_saved_exeext
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10063 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10064 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10065 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10068 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10069 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10070 $as_echo_n "(cached) " >&6
10071 else
10072 ac_wine_try_cflags_saved=$CFLAGS
10073 ac_wine_try_cflags_saved_cc=$CC
10074 ac_wine_try_cflags_saved_exeext=$ac_exeext
10075 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10076 CC="$CROSSCC"
10077 ac_exeext=".exe"
10078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10079 /* end confdefs.h. */
10080 int __cdecl mainCRTStartup(void) { return 0; }
10081 _ACEOF
10082 if ac_fn_c_try_link "$LINENO"; then :
10083 ac_cv_crosscflags__Wpragma_pack=yes
10084 else
10085 ac_cv_crosscflags__Wpragma_pack=no
10087 rm -f core conftest.err conftest.$ac_objext \
10088 conftest$ac_exeext conftest.$ac_ext
10089 CFLAGS=$ac_wine_try_cflags_saved
10090 CC=$ac_wine_try_cflags_saved_cc
10091 ac_exeext=$ac_wine_try_cflags_saved_exeext
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10094 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10095 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10096 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10099 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10100 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10101 $as_echo_n "(cached) " >&6
10102 else
10103 ac_wine_try_cflags_saved=$CFLAGS
10104 ac_wine_try_cflags_saved_cc=$CC
10105 ac_wine_try_cflags_saved_exeext=$ac_exeext
10106 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10107 CC="$CROSSCC"
10108 ac_exeext=".exe"
10109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10110 /* end confdefs.h. */
10111 int __cdecl mainCRTStartup(void) { return 0; }
10112 _ACEOF
10113 if ac_fn_c_try_link "$LINENO"; then :
10114 ac_cv_crosscflags__Wshift_overflow_2=yes
10115 else
10116 ac_cv_crosscflags__Wshift_overflow_2=no
10118 rm -f core conftest.err conftest.$ac_objext \
10119 conftest$ac_exeext conftest.$ac_ext
10120 CFLAGS=$ac_wine_try_cflags_saved
10121 CC=$ac_wine_try_cflags_saved_cc
10122 ac_exeext=$ac_wine_try_cflags_saved_exeext
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10125 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10126 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10127 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10130 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10131 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10132 $as_echo_n "(cached) " >&6
10133 else
10134 ac_wine_try_cflags_saved=$CFLAGS
10135 ac_wine_try_cflags_saved_cc=$CC
10136 ac_wine_try_cflags_saved_exeext=$ac_exeext
10137 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10138 CC="$CROSSCC"
10139 ac_exeext=".exe"
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10142 int __cdecl mainCRTStartup(void) { return 0; }
10143 _ACEOF
10144 if ac_fn_c_try_link "$LINENO"; then :
10145 ac_cv_crosscflags__Wstrict_prototypes=yes
10146 else
10147 ac_cv_crosscflags__Wstrict_prototypes=no
10149 rm -f core conftest.err conftest.$ac_objext \
10150 conftest$ac_exeext conftest.$ac_ext
10151 CFLAGS=$ac_wine_try_cflags_saved
10152 CC=$ac_wine_try_cflags_saved_cc
10153 ac_exeext=$ac_wine_try_cflags_saved_exeext
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10156 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10157 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10158 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10161 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10162 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10163 $as_echo_n "(cached) " >&6
10164 else
10165 ac_wine_try_cflags_saved=$CFLAGS
10166 ac_wine_try_cflags_saved_cc=$CC
10167 ac_wine_try_cflags_saved_exeext=$ac_exeext
10168 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10169 CC="$CROSSCC"
10170 ac_exeext=".exe"
10171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10173 int __cdecl mainCRTStartup(void) { return 0; }
10174 _ACEOF
10175 if ac_fn_c_try_link "$LINENO"; then :
10176 ac_cv_crosscflags__Wtype_limits=yes
10177 else
10178 ac_cv_crosscflags__Wtype_limits=no
10180 rm -f core conftest.err conftest.$ac_objext \
10181 conftest$ac_exeext conftest.$ac_ext
10182 CFLAGS=$ac_wine_try_cflags_saved
10183 CC=$ac_wine_try_cflags_saved_cc
10184 ac_exeext=$ac_wine_try_cflags_saved_exeext
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10187 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10188 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10189 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10192 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10193 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10194 $as_echo_n "(cached) " >&6
10195 else
10196 ac_wine_try_cflags_saved=$CFLAGS
10197 ac_wine_try_cflags_saved_cc=$CC
10198 ac_wine_try_cflags_saved_exeext=$ac_exeext
10199 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10200 CC="$CROSSCC"
10201 ac_exeext=".exe"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10204 int __cdecl mainCRTStartup(void) { return 0; }
10205 _ACEOF
10206 if ac_fn_c_try_link "$LINENO"; then :
10207 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10208 else
10209 ac_cv_crosscflags__Wunused_but_set_parameter=no
10211 rm -f core conftest.err conftest.$ac_objext \
10212 conftest$ac_exeext conftest.$ac_ext
10213 CFLAGS=$ac_wine_try_cflags_saved
10214 CC=$ac_wine_try_cflags_saved_cc
10215 ac_exeext=$ac_wine_try_cflags_saved_exeext
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10218 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10219 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10220 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10223 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10224 if ${ac_cv_crosscflags__Wvla+:} false; then :
10225 $as_echo_n "(cached) " >&6
10226 else
10227 ac_wine_try_cflags_saved=$CFLAGS
10228 ac_wine_try_cflags_saved_cc=$CC
10229 ac_wine_try_cflags_saved_exeext=$ac_exeext
10230 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10231 CC="$CROSSCC"
10232 ac_exeext=".exe"
10233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10235 int __cdecl mainCRTStartup(void) { return 0; }
10236 _ACEOF
10237 if ac_fn_c_try_link "$LINENO"; then :
10238 ac_cv_crosscflags__Wvla=yes
10239 else
10240 ac_cv_crosscflags__Wvla=no
10242 rm -f core conftest.err conftest.$ac_objext \
10243 conftest$ac_exeext conftest.$ac_ext
10244 CFLAGS=$ac_wine_try_cflags_saved
10245 CC=$ac_wine_try_cflags_saved_cc
10246 ac_exeext=$ac_wine_try_cflags_saved_exeext
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10249 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10250 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10251 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10254 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10255 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10256 $as_echo_n "(cached) " >&6
10257 else
10258 ac_wine_try_cflags_saved=$CFLAGS
10259 ac_wine_try_cflags_saved_cc=$CC
10260 ac_wine_try_cflags_saved_exeext=$ac_exeext
10261 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10262 CC="$CROSSCC"
10263 ac_exeext=".exe"
10264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10266 int __cdecl mainCRTStartup(void) { return 0; }
10267 _ACEOF
10268 if ac_fn_c_try_link "$LINENO"; then :
10269 ac_cv_crosscflags__Wwrite_strings=yes
10270 else
10271 ac_cv_crosscflags__Wwrite_strings=no
10273 rm -f core conftest.err conftest.$ac_objext \
10274 conftest$ac_exeext conftest.$ac_ext
10275 CFLAGS=$ac_wine_try_cflags_saved
10276 CC=$ac_wine_try_cflags_saved_cc
10277 ac_exeext=$ac_wine_try_cflags_saved_exeext
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10280 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10281 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10282 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10285 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10286 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10287 $as_echo_n "(cached) " >&6
10288 else
10289 ac_wine_try_cflags_saved=$CFLAGS
10290 ac_wine_try_cflags_saved_cc=$CC
10291 ac_wine_try_cflags_saved_exeext=$ac_exeext
10292 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10293 CC="$CROSSCC"
10294 ac_exeext=".exe"
10295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10296 /* end confdefs.h. */
10297 int __cdecl mainCRTStartup(void) { return 0; }
10298 _ACEOF
10299 if ac_fn_c_try_link "$LINENO"; then :
10300 ac_cv_crosscflags__Wpointer_arith=yes
10301 else
10302 ac_cv_crosscflags__Wpointer_arith=no
10304 rm -f core conftest.err conftest.$ac_objext \
10305 conftest$ac_exeext conftest.$ac_ext
10306 CFLAGS=$ac_wine_try_cflags_saved
10307 CC=$ac_wine_try_cflags_saved_cc
10308 ac_exeext=$ac_wine_try_cflags_saved_exeext
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10311 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10312 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10313 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10316 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10317 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10318 $as_echo_n "(cached) " >&6
10319 else
10320 ac_wine_try_cflags_saved=$CFLAGS
10321 ac_wine_try_cflags_saved_cc=$CC
10322 ac_wine_try_cflags_saved_exeext=$ac_exeext
10323 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10324 CC="$CROSSCC"
10325 ac_exeext=".exe"
10326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10327 /* end confdefs.h. */
10328 int __cdecl mainCRTStartup(void) { return 0; }
10329 _ACEOF
10330 if ac_fn_c_try_link "$LINENO"; then :
10331 ac_cv_crosscflags__Wlogical_op=yes
10332 else
10333 ac_cv_crosscflags__Wlogical_op=no
10335 rm -f core conftest.err conftest.$ac_objext \
10336 conftest$ac_exeext conftest.$ac_ext
10337 CFLAGS=$ac_wine_try_cflags_saved
10338 CC=$ac_wine_try_cflags_saved_cc
10339 ac_exeext=$ac_wine_try_cflags_saved_exeext
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10342 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10343 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10344 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10347 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10348 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10349 $as_echo_n "(cached) " >&6
10350 else
10351 ac_wine_try_cflags_saved=$CFLAGS
10352 ac_wine_try_cflags_saved_cc=$CC
10353 ac_wine_try_cflags_saved_exeext=$ac_exeext
10354 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10355 CC="$CROSSCC"
10356 ac_exeext=".exe"
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10359 int __cdecl mainCRTStartup(void) { return 0; }
10360 _ACEOF
10361 if ac_fn_c_try_link "$LINENO"; then :
10362 ac_cv_crosscflags__Wabsolute_value=yes
10363 else
10364 ac_cv_crosscflags__Wabsolute_value=no
10366 rm -f core conftest.err conftest.$ac_objext \
10367 conftest$ac_exeext conftest.$ac_ext
10368 CFLAGS=$ac_wine_try_cflags_saved
10369 CC=$ac_wine_try_cflags_saved_cc
10370 ac_exeext=$ac_wine_try_cflags_saved_exeext
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10373 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10374 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10375 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10378 case $host_cpu in
10379 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10380 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10381 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10382 $as_echo_n "(cached) " >&6
10383 else
10384 ac_wine_try_cflags_saved=$CFLAGS
10385 ac_wine_try_cflags_saved_cc=$CC
10386 ac_wine_try_cflags_saved_exeext=$ac_exeext
10387 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10388 CC="$CROSSCC"
10389 ac_exeext=".exe"
10390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10391 /* end confdefs.h. */
10392 int __cdecl mainCRTStartup(void) { return 0; }
10393 _ACEOF
10394 if ac_fn_c_try_link "$LINENO"; then :
10395 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10396 else
10397 ac_cv_crosscflags__fno_omit_frame_pointer=no
10399 rm -f core conftest.err conftest.$ac_objext \
10400 conftest$ac_exeext conftest.$ac_ext
10401 CFLAGS=$ac_wine_try_cflags_saved
10402 CC=$ac_wine_try_cflags_saved_cc
10403 ac_exeext=$ac_wine_try_cflags_saved_exeext
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10406 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10407 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10408 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10409 fi ;;
10410 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10411 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10412 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10413 $as_echo_n "(cached) " >&6
10414 else
10415 ac_wine_try_cflags_saved=$CFLAGS
10416 ac_wine_try_cflags_saved_cc=$CC
10417 ac_wine_try_cflags_saved_exeext=$ac_exeext
10418 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10419 CC="$CROSSCC"
10420 ac_exeext=".exe"
10421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10422 /* end confdefs.h. */
10423 int __cdecl mainCRTStartup(void) { return 0; }
10424 _ACEOF
10425 if ac_fn_c_try_link "$LINENO"; then :
10426 ac_cv_crosscflags__Wno_format=yes
10427 else
10428 ac_cv_crosscflags__Wno_format=no
10430 rm -f core conftest.err conftest.$ac_objext \
10431 conftest$ac_exeext conftest.$ac_ext
10432 CFLAGS=$ac_wine_try_cflags_saved
10433 CC=$ac_wine_try_cflags_saved_cc
10434 ac_exeext=$ac_wine_try_cflags_saved_exeext
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10437 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10438 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10439 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10442 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10443 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10444 $as_echo_n "(cached) " >&6
10445 else
10446 ac_wine_try_cflags_saved=$CFLAGS
10447 ac_wine_try_cflags_saved_cc=$CC
10448 ac_wine_try_cflags_saved_exeext=$ac_exeext
10449 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10450 CC="$CROSSCC"
10451 ac_exeext=".exe"
10452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h. */
10454 int __cdecl mainCRTStartup(void) { return 0; }
10455 _ACEOF
10456 if ac_fn_c_try_link "$LINENO"; then :
10457 ac_cv_crosscflags__Wformat_overflow=yes
10458 else
10459 ac_cv_crosscflags__Wformat_overflow=no
10461 rm -f core conftest.err conftest.$ac_objext \
10462 conftest$ac_exeext conftest.$ac_ext
10463 CFLAGS=$ac_wine_try_cflags_saved
10464 CC=$ac_wine_try_cflags_saved_cc
10465 ac_exeext=$ac_wine_try_cflags_saved_exeext
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10468 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10469 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10470 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10473 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10474 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10475 $as_echo_n "(cached) " >&6
10476 else
10477 ac_wine_try_cflags_saved=$CFLAGS
10478 ac_wine_try_cflags_saved_cc=$CC
10479 ac_wine_try_cflags_saved_exeext=$ac_exeext
10480 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10481 CC="$CROSSCC"
10482 ac_exeext=".exe"
10483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10484 /* end confdefs.h. */
10485 int __cdecl mainCRTStartup(void) { return 0; }
10486 _ACEOF
10487 if ac_fn_c_try_link "$LINENO"; then :
10488 ac_cv_crosscflags__Wnonnull=yes
10489 else
10490 ac_cv_crosscflags__Wnonnull=no
10492 rm -f core conftest.err conftest.$ac_objext \
10493 conftest$ac_exeext conftest.$ac_ext
10494 CFLAGS=$ac_wine_try_cflags_saved
10495 CC=$ac_wine_try_cflags_saved_cc
10496 ac_exeext=$ac_wine_try_cflags_saved_exeext
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10499 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10500 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10501 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10504 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10505 if ${ac_cv_crosscflags__mcx16+:} false; then :
10506 $as_echo_n "(cached) " >&6
10507 else
10508 ac_wine_try_cflags_saved=$CFLAGS
10509 ac_wine_try_cflags_saved_cc=$CC
10510 ac_wine_try_cflags_saved_exeext=$ac_exeext
10511 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10512 CC="$CROSSCC"
10513 ac_exeext=".exe"
10514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10515 /* end confdefs.h. */
10516 int __cdecl mainCRTStartup(void) { return 0; }
10517 _ACEOF
10518 if ac_fn_c_try_link "$LINENO"; then :
10519 ac_cv_crosscflags__mcx16=yes
10520 else
10521 ac_cv_crosscflags__mcx16=no
10523 rm -f core conftest.err conftest.$ac_objext \
10524 conftest$ac_exeext conftest.$ac_ext
10525 CFLAGS=$ac_wine_try_cflags_saved
10526 CC=$ac_wine_try_cflags_saved_cc
10527 ac_exeext=$ac_wine_try_cflags_saved_exeext
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10530 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10531 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10532 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10533 fi ;;
10534 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10535 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10536 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10537 $as_echo_n "(cached) " >&6
10538 else
10539 ac_wine_try_cflags_saved=$CFLAGS
10540 ac_wine_try_cflags_saved_cc=$CC
10541 ac_wine_try_cflags_saved_exeext=$ac_exeext
10542 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10543 CC="$CROSSCC"
10544 ac_exeext=".exe"
10545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10546 /* end confdefs.h. */
10547 int __cdecl mainCRTStartup(void) { return 0; }
10548 _ACEOF
10549 if ac_fn_c_try_link "$LINENO"; then :
10550 ac_cv_crosscflags__Wno_format=yes
10551 else
10552 ac_cv_crosscflags__Wno_format=no
10554 rm -f core conftest.err conftest.$ac_objext \
10555 conftest$ac_exeext conftest.$ac_ext
10556 CFLAGS=$ac_wine_try_cflags_saved
10557 CC=$ac_wine_try_cflags_saved_cc
10558 ac_exeext=$ac_wine_try_cflags_saved_exeext
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10561 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10562 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10563 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10564 fi ;;
10565 esac
10568 if test -z "$CROSSDEBUG"
10569 then
10570 for ac_flag in $CROSSCFLAGS; do
10571 case $ac_flag in
10572 -gdwarf*) CROSSDEBUG=dwarf ;;
10573 -gcodeview) CROSSDEBUG=pdb ;;
10574 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10575 esac
10576 done
10578 case $CROSSDEBUG in
10579 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10580 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10581 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10582 $as_echo_n "(cached) " >&6
10583 else
10584 ac_wine_try_cflags_saved=$CFLAGS
10585 ac_wine_try_cflags_saved_cc=$CC
10586 ac_wine_try_cflags_saved_exeext=$ac_exeext
10587 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10588 CC="$CROSSCC"
10589 ac_exeext=".exe"
10590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10592 int __cdecl mainCRTStartup(void) { return 0; }
10593 _ACEOF
10594 if ac_fn_c_try_link "$LINENO"; then :
10595 ac_cv_crosscflags__gdwarf_2=yes
10596 else
10597 ac_cv_crosscflags__gdwarf_2=no
10599 rm -f core conftest.err conftest.$ac_objext \
10600 conftest$ac_exeext conftest.$ac_ext
10601 CFLAGS=$ac_wine_try_cflags_saved
10602 CC=$ac_wine_try_cflags_saved_cc
10603 ac_exeext=$ac_wine_try_cflags_saved_exeext
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10606 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10607 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10608 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10611 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10612 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10613 $as_echo_n "(cached) " >&6
10614 else
10615 ac_wine_try_cflags_saved=$CFLAGS
10616 ac_wine_try_cflags_saved_cc=$CC
10617 ac_wine_try_cflags_saved_exeext=$ac_exeext
10618 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10619 CC="$CROSSCC"
10620 ac_exeext=".exe"
10621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10622 /* end confdefs.h. */
10623 int __cdecl mainCRTStartup(void) { return 0; }
10624 _ACEOF
10625 if ac_fn_c_try_link "$LINENO"; then :
10626 ac_cv_crosscflags__gstrict_dwarf=yes
10627 else
10628 ac_cv_crosscflags__gstrict_dwarf=no
10630 rm -f core conftest.err conftest.$ac_objext \
10631 conftest$ac_exeext conftest.$ac_ext
10632 CFLAGS=$ac_wine_try_cflags_saved
10633 CC=$ac_wine_try_cflags_saved_cc
10634 ac_exeext=$ac_wine_try_cflags_saved_exeext
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10637 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10638 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10639 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10640 fi ;;
10641 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10642 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10643 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10644 $as_echo_n "(cached) " >&6
10645 else
10646 ac_wine_try_cflags_saved=$CFLAGS
10647 ac_wine_try_cflags_saved_cc=$CC
10648 ac_wine_try_cflags_saved_exeext=$ac_exeext
10649 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10650 CC="$CROSSCC"
10651 ac_exeext=".exe"
10652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10653 /* end confdefs.h. */
10654 int __cdecl mainCRTStartup(void) { return 0; }
10655 _ACEOF
10656 if ac_fn_c_try_link "$LINENO"; then :
10657 ac_cv_crosscflags__gcodeview=yes
10658 else
10659 ac_cv_crosscflags__gcodeview=no
10661 rm -f core conftest.err conftest.$ac_objext \
10662 conftest$ac_exeext conftest.$ac_ext
10663 CFLAGS=$ac_wine_try_cflags_saved
10664 CC=$ac_wine_try_cflags_saved_cc
10665 ac_exeext=$ac_wine_try_cflags_saved_exeext
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10668 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10669 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10670 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10671 fi ;;
10672 esac
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10675 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10676 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10677 $as_echo_n "(cached) " >&6
10678 else
10679 ac_wine_try_cflags_saved=$CFLAGS
10680 ac_wine_try_cflags_saved_cc=$CC
10681 ac_wine_try_cflags_saved_exeext=$ac_exeext
10682 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10683 CC="$CROSSCC"
10684 ac_exeext=".exe"
10685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10687 int __cdecl mainCRTStartup(void) { return 0; }
10688 _ACEOF
10689 if ac_fn_c_try_link "$LINENO"; then :
10690 ac_cv_crosscflags__fexcess_precision_standard=yes
10691 else
10692 ac_cv_crosscflags__fexcess_precision_standard=no
10694 rm -f core conftest.err conftest.$ac_objext \
10695 conftest$ac_exeext conftest.$ac_ext
10696 CFLAGS=$ac_wine_try_cflags_saved
10697 CC=$ac_wine_try_cflags_saved_cc
10698 ac_exeext=$ac_wine_try_cflags_saved_exeext
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10701 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10702 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10703 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10707 if test "x$enable_werror" = "xyes"
10708 then
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10710 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10711 if ${ac_cv_crosscflags__Werror+:} false; then :
10712 $as_echo_n "(cached) " >&6
10713 else
10714 ac_wine_try_cflags_saved=$CFLAGS
10715 ac_wine_try_cflags_saved_cc=$CC
10716 ac_wine_try_cflags_saved_exeext=$ac_exeext
10717 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10718 CC="$CROSSCC"
10719 ac_exeext=".exe"
10720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h. */
10722 int __cdecl mainCRTStartup(void) { return 0; }
10723 _ACEOF
10724 if ac_fn_c_try_link "$LINENO"; then :
10725 ac_cv_crosscflags__Werror=yes
10726 else
10727 ac_cv_crosscflags__Werror=no
10729 rm -f core conftest.err conftest.$ac_objext \
10730 conftest$ac_exeext conftest.$ac_ext
10731 CFLAGS=$ac_wine_try_cflags_saved
10732 CC=$ac_wine_try_cflags_saved_cc
10733 ac_exeext=$ac_wine_try_cflags_saved_exeext
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10736 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10737 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10738 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10741 if test "x$enable_build_id" = "xyes"
10742 then
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10744 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10745 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10746 $as_echo_n "(cached) " >&6
10747 else
10748 ac_wine_try_cflags_saved=$CFLAGS
10749 ac_wine_try_cflags_saved_cc=$CC
10750 ac_wine_try_cflags_saved_exeext=$ac_exeext
10751 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10752 CC="$CROSSCC"
10753 ac_exeext=".exe"
10754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10756 int __cdecl mainCRTStartup(void) { return 0; }
10757 _ACEOF
10758 if ac_fn_c_try_link "$LINENO"; then :
10759 ac_cv_crosscflags__Wl___build_id=yes
10760 else
10761 ac_cv_crosscflags__Wl___build_id=no
10763 rm -f core conftest.err conftest.$ac_objext \
10764 conftest$ac_exeext conftest.$ac_ext
10765 CFLAGS=$ac_wine_try_cflags_saved
10766 CC=$ac_wine_try_cflags_saved_cc
10767 ac_exeext=$ac_wine_try_cflags_saved_exeext
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10770 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10771 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10772 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10773 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10777 CFLAGS=$saved_CFLAGS
10778 CC="$ac_save_CC"
10781 if test "x$CROSSTARGET" = "x"; then :
10782 case "x$with_mingw" in
10783 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10784 xno) ;;
10785 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10786 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10787 esac
10792 if test "$ac_cv_header_pthread_h" = "yes"
10793 then
10794 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10795 if test "x$ac_cv_func_pthread_create" = xyes; then :
10797 else
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10799 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10800 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10801 $as_echo_n "(cached) " >&6
10802 else
10803 ac_check_lib_save_LIBS=$LIBS
10804 LIBS="-lpthread $LIBS"
10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10808 /* Override any GCC internal prototype to avoid an error.
10809 Use char because int might match the return type of a GCC
10810 builtin and then its argument prototype would still apply. */
10811 #ifdef __cplusplus
10812 extern "C"
10813 #endif
10814 char pthread_create ();
10816 main ()
10818 return pthread_create ();
10820 return 0;
10822 _ACEOF
10823 if ac_fn_c_try_link "$LINENO"; then :
10824 ac_cv_lib_pthread_pthread_create=yes
10825 else
10826 ac_cv_lib_pthread_pthread_create=no
10828 rm -f core conftest.err conftest.$ac_objext \
10829 conftest$ac_exeext conftest.$ac_ext
10830 LIBS=$ac_check_lib_save_LIBS
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10833 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10834 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10835 PTHREAD_LIBS="-lpthread"
10842 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10843 case "x$with_pthread" in
10844 xno) ;;
10845 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10846 Wine cannot support threads without libpthread.
10847 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10848 esac
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10854 $as_echo_n "checking for X... " >&6; }
10857 # Check whether --with-x was given.
10858 if test "${with_x+set}" = set; then :
10859 withval=$with_x;
10862 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10863 if test "x$with_x" = xno; then
10864 # The user explicitly disabled X.
10865 have_x=disabled
10866 else
10867 case $x_includes,$x_libraries in #(
10868 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10869 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10870 $as_echo_n "(cached) " >&6
10871 else
10872 # One or both of the vars are not set, and there is no cached value.
10873 ac_x_includes=no ac_x_libraries=no
10874 rm -f -r conftest.dir
10875 if mkdir conftest.dir; then
10876 cd conftest.dir
10877 cat >Imakefile <<'_ACEOF'
10878 incroot:
10879 @echo incroot='${INCROOT}'
10880 usrlibdir:
10881 @echo usrlibdir='${USRLIBDIR}'
10882 libdir:
10883 @echo libdir='${LIBDIR}'
10884 _ACEOF
10885 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10886 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10887 for ac_var in incroot usrlibdir libdir; do
10888 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10889 done
10890 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10891 for ac_extension in a so sl dylib la dll; do
10892 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10893 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10894 ac_im_usrlibdir=$ac_im_libdir; break
10896 done
10897 # Screen out bogus values from the imake configuration. They are
10898 # bogus both because they are the default anyway, and because
10899 # using them would break gcc on systems where it needs fixed includes.
10900 case $ac_im_incroot in
10901 /usr/include) ac_x_includes= ;;
10902 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10903 esac
10904 case $ac_im_usrlibdir in
10905 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10906 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10907 esac
10909 cd ..
10910 rm -f -r conftest.dir
10913 # Standard set of common directories for X headers.
10914 # Check X11 before X11Rn because it is often a symlink to the current release.
10915 ac_x_header_dirs='
10916 /usr/X11/include
10917 /usr/X11R7/include
10918 /usr/X11R6/include
10919 /usr/X11R5/include
10920 /usr/X11R4/include
10922 /usr/include/X11
10923 /usr/include/X11R7
10924 /usr/include/X11R6
10925 /usr/include/X11R5
10926 /usr/include/X11R4
10928 /usr/local/X11/include
10929 /usr/local/X11R7/include
10930 /usr/local/X11R6/include
10931 /usr/local/X11R5/include
10932 /usr/local/X11R4/include
10934 /usr/local/include/X11
10935 /usr/local/include/X11R7
10936 /usr/local/include/X11R6
10937 /usr/local/include/X11R5
10938 /usr/local/include/X11R4
10940 /usr/X386/include
10941 /usr/x386/include
10942 /usr/XFree86/include/X11
10944 /usr/include
10945 /usr/local/include
10946 /usr/unsupported/include
10947 /usr/athena/include
10948 /usr/local/x11r5/include
10949 /usr/lpp/Xamples/include
10951 /usr/openwin/include
10952 /usr/openwin/share/include'
10954 if test "$ac_x_includes" = no; then
10955 # Guess where to find include files, by looking for Xlib.h.
10956 # First, try using that file with no special directory specified.
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10959 #include <X11/Xlib.h>
10960 _ACEOF
10961 if ac_fn_c_try_cpp "$LINENO"; then :
10962 # We can compile using X headers with no special include directory.
10963 ac_x_includes=
10964 else
10965 for ac_dir in $ac_x_header_dirs; do
10966 if test -r "$ac_dir/X11/Xlib.h"; then
10967 ac_x_includes=$ac_dir
10968 break
10970 done
10972 rm -f conftest.err conftest.i conftest.$ac_ext
10973 fi # $ac_x_includes = no
10975 if test "$ac_x_libraries" = no; then
10976 # Check for the libraries.
10977 # See if we find them without any special options.
10978 # Don't add to $LIBS permanently.
10979 ac_save_LIBS=$LIBS
10980 LIBS="-lX11 $LIBS"
10981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10983 #include <X11/Xlib.h>
10985 main ()
10987 XrmInitialize ()
10989 return 0;
10991 _ACEOF
10992 if ac_fn_c_try_link "$LINENO"; then :
10993 LIBS=$ac_save_LIBS
10994 # We can link X programs with no special library path.
10995 ac_x_libraries=
10996 else
10997 LIBS=$ac_save_LIBS
10998 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11000 # Don't even attempt the hair of trying to link an X program!
11001 for ac_extension in a so sl dylib la dll; do
11002 if test -r "$ac_dir/libX11.$ac_extension"; then
11003 ac_x_libraries=$ac_dir
11004 break 2
11006 done
11007 done
11009 rm -f core conftest.err conftest.$ac_objext \
11010 conftest$ac_exeext conftest.$ac_ext
11011 fi # $ac_x_libraries = no
11013 case $ac_x_includes,$ac_x_libraries in #(
11014 no,* | *,no | *\'*)
11015 # Didn't find X, or a directory has "'" in its name.
11016 ac_cv_have_x="have_x=no";; #(
11018 # Record where we found X for the cache.
11019 ac_cv_have_x="have_x=yes\
11020 ac_x_includes='$ac_x_includes'\
11021 ac_x_libraries='$ac_x_libraries'"
11022 esac
11024 ;; #(
11025 *) have_x=yes;;
11026 esac
11027 eval "$ac_cv_have_x"
11028 fi # $with_x != no
11030 if test "$have_x" != yes; then
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11032 $as_echo "$have_x" >&6; }
11033 no_x=yes
11034 else
11035 # If each of the values was on the command line, it overrides each guess.
11036 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11037 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11038 # Update the cache value to reflect the command line values.
11039 ac_cv_have_x="have_x=yes\
11040 ac_x_includes='$x_includes'\
11041 ac_x_libraries='$x_libraries'"
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11043 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11046 if test "$no_x" = yes; then
11047 # Not all programs may use this symbol, but it does not hurt to define it.
11049 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11051 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11052 else
11053 if test -n "$x_includes"; then
11054 X_CFLAGS="$X_CFLAGS -I$x_includes"
11057 # It would also be nice to do this for all -L options, not just this one.
11058 if test -n "$x_libraries"; then
11059 X_LIBS="$X_LIBS -L$x_libraries"
11060 # For Solaris; some versions of Sun CC require a space after -R and
11061 # others require no space. Words are not sufficient . . . .
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11063 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11064 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11065 ac_xsave_c_werror_flag=$ac_c_werror_flag
11066 ac_c_werror_flag=yes
11067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11068 /* end confdefs.h. */
11071 main ()
11075 return 0;
11077 _ACEOF
11078 if ac_fn_c_try_link "$LINENO"; then :
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11080 $as_echo "no" >&6; }
11081 X_LIBS="$X_LIBS -R$x_libraries"
11082 else
11083 LIBS="$ac_xsave_LIBS -R $x_libraries"
11084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11085 /* end confdefs.h. */
11088 main ()
11092 return 0;
11094 _ACEOF
11095 if ac_fn_c_try_link "$LINENO"; then :
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11097 $as_echo "yes" >&6; }
11098 X_LIBS="$X_LIBS -R $x_libraries"
11099 else
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11101 $as_echo "neither works" >&6; }
11103 rm -f core conftest.err conftest.$ac_objext \
11104 conftest$ac_exeext conftest.$ac_ext
11106 rm -f core conftest.err conftest.$ac_objext \
11107 conftest$ac_exeext conftest.$ac_ext
11108 ac_c_werror_flag=$ac_xsave_c_werror_flag
11109 LIBS=$ac_xsave_LIBS
11112 # Check for system-dependent libraries X programs must link with.
11113 # Do this before checking for the system-independent R6 libraries
11114 # (-lICE), since we may need -lsocket or whatever for X linking.
11116 if test "$ISC" = yes; then
11117 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11118 else
11119 # Martyn Johnson says this is needed for Ultrix, if the X
11120 # libraries were built with DECnet support. And Karl Berry says
11121 # the Alpha needs dnet_stub (dnet does not exist).
11122 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11126 /* Override any GCC internal prototype to avoid an error.
11127 Use char because int might match the return type of a GCC
11128 builtin and then its argument prototype would still apply. */
11129 #ifdef __cplusplus
11130 extern "C"
11131 #endif
11132 char XOpenDisplay ();
11134 main ()
11136 return XOpenDisplay ();
11138 return 0;
11140 _ACEOF
11141 if ac_fn_c_try_link "$LINENO"; then :
11143 else
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11145 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11146 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11147 $as_echo_n "(cached) " >&6
11148 else
11149 ac_check_lib_save_LIBS=$LIBS
11150 LIBS="-ldnet $LIBS"
11151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11152 /* end confdefs.h. */
11154 /* Override any GCC internal prototype to avoid an error.
11155 Use char because int might match the return type of a GCC
11156 builtin and then its argument prototype would still apply. */
11157 #ifdef __cplusplus
11158 extern "C"
11159 #endif
11160 char dnet_ntoa ();
11162 main ()
11164 return dnet_ntoa ();
11166 return 0;
11168 _ACEOF
11169 if ac_fn_c_try_link "$LINENO"; then :
11170 ac_cv_lib_dnet_dnet_ntoa=yes
11171 else
11172 ac_cv_lib_dnet_dnet_ntoa=no
11174 rm -f core conftest.err conftest.$ac_objext \
11175 conftest$ac_exeext conftest.$ac_ext
11176 LIBS=$ac_check_lib_save_LIBS
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11179 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11180 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11181 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11184 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11186 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11187 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11188 $as_echo_n "(cached) " >&6
11189 else
11190 ac_check_lib_save_LIBS=$LIBS
11191 LIBS="-ldnet_stub $LIBS"
11192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11195 /* Override any GCC internal prototype to avoid an error.
11196 Use char because int might match the return type of a GCC
11197 builtin and then its argument prototype would still apply. */
11198 #ifdef __cplusplus
11199 extern "C"
11200 #endif
11201 char dnet_ntoa ();
11203 main ()
11205 return dnet_ntoa ();
11207 return 0;
11209 _ACEOF
11210 if ac_fn_c_try_link "$LINENO"; then :
11211 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11212 else
11213 ac_cv_lib_dnet_stub_dnet_ntoa=no
11215 rm -f core conftest.err conftest.$ac_objext \
11216 conftest$ac_exeext conftest.$ac_ext
11217 LIBS=$ac_check_lib_save_LIBS
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11220 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11221 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11222 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11227 rm -f core conftest.err conftest.$ac_objext \
11228 conftest$ac_exeext conftest.$ac_ext
11229 LIBS="$ac_xsave_LIBS"
11231 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11232 # to get the SysV transport functions.
11233 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11234 # needs -lnsl.
11235 # The nsl library prevents programs from opening the X display
11236 # on Irix 5.2, according to T.E. Dickey.
11237 # The functions gethostbyname, getservbyname, and inet_addr are
11238 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11239 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11240 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11244 if test $ac_cv_func_gethostbyname = no; then
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11246 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11247 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11248 $as_echo_n "(cached) " >&6
11249 else
11250 ac_check_lib_save_LIBS=$LIBS
11251 LIBS="-lnsl $LIBS"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11258 #ifdef __cplusplus
11259 extern "C"
11260 #endif
11261 char gethostbyname ();
11263 main ()
11265 return gethostbyname ();
11267 return 0;
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"; then :
11271 ac_cv_lib_nsl_gethostbyname=yes
11272 else
11273 ac_cv_lib_nsl_gethostbyname=no
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_lib_save_LIBS
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11280 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11281 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11282 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11285 if test $ac_cv_lib_nsl_gethostbyname = no; then
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11287 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11288 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11289 $as_echo_n "(cached) " >&6
11290 else
11291 ac_check_lib_save_LIBS=$LIBS
11292 LIBS="-lbsd $LIBS"
11293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11294 /* end confdefs.h. */
11296 /* Override any GCC internal prototype to avoid an error.
11297 Use char because int might match the return type of a GCC
11298 builtin and then its argument prototype would still apply. */
11299 #ifdef __cplusplus
11300 extern "C"
11301 #endif
11302 char gethostbyname ();
11304 main ()
11306 return gethostbyname ();
11308 return 0;
11310 _ACEOF
11311 if ac_fn_c_try_link "$LINENO"; then :
11312 ac_cv_lib_bsd_gethostbyname=yes
11313 else
11314 ac_cv_lib_bsd_gethostbyname=no
11316 rm -f core conftest.err conftest.$ac_objext \
11317 conftest$ac_exeext conftest.$ac_ext
11318 LIBS=$ac_check_lib_save_LIBS
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11321 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11322 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11323 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11329 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11330 # socket/setsockopt and other routines are undefined under SCO ODT
11331 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11332 # on later versions), says Simon Leinen: it contains gethostby*
11333 # variants that don't use the name server (or something). -lsocket
11334 # must be given before -lnsl if both are needed. We assume that
11335 # if connect needs -lnsl, so does gethostbyname.
11336 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11337 if test "x$ac_cv_func_connect" = xyes; then :
11341 if test $ac_cv_func_connect = no; then
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11343 $as_echo_n "checking for connect in -lsocket... " >&6; }
11344 if ${ac_cv_lib_socket_connect+:} false; then :
11345 $as_echo_n "(cached) " >&6
11346 else
11347 ac_check_lib_save_LIBS=$LIBS
11348 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h. */
11352 /* Override any GCC internal prototype to avoid an error.
11353 Use char because int might match the return type of a GCC
11354 builtin and then its argument prototype would still apply. */
11355 #ifdef __cplusplus
11356 extern "C"
11357 #endif
11358 char connect ();
11360 main ()
11362 return connect ();
11364 return 0;
11366 _ACEOF
11367 if ac_fn_c_try_link "$LINENO"; then :
11368 ac_cv_lib_socket_connect=yes
11369 else
11370 ac_cv_lib_socket_connect=no
11372 rm -f core conftest.err conftest.$ac_objext \
11373 conftest$ac_exeext conftest.$ac_ext
11374 LIBS=$ac_check_lib_save_LIBS
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11377 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11378 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11379 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11384 # Guillermo Gomez says -lposix is necessary on A/UX.
11385 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11386 if test "x$ac_cv_func_remove" = xyes; then :
11390 if test $ac_cv_func_remove = no; then
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11392 $as_echo_n "checking for remove in -lposix... " >&6; }
11393 if ${ac_cv_lib_posix_remove+:} false; then :
11394 $as_echo_n "(cached) " >&6
11395 else
11396 ac_check_lib_save_LIBS=$LIBS
11397 LIBS="-lposix $LIBS"
11398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11399 /* end confdefs.h. */
11401 /* Override any GCC internal prototype to avoid an error.
11402 Use char because int might match the return type of a GCC
11403 builtin and then its argument prototype would still apply. */
11404 #ifdef __cplusplus
11405 extern "C"
11406 #endif
11407 char remove ();
11409 main ()
11411 return remove ();
11413 return 0;
11415 _ACEOF
11416 if ac_fn_c_try_link "$LINENO"; then :
11417 ac_cv_lib_posix_remove=yes
11418 else
11419 ac_cv_lib_posix_remove=no
11421 rm -f core conftest.err conftest.$ac_objext \
11422 conftest$ac_exeext conftest.$ac_ext
11423 LIBS=$ac_check_lib_save_LIBS
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11426 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11427 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11428 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11433 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11434 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11435 if test "x$ac_cv_func_shmat" = xyes; then :
11439 if test $ac_cv_func_shmat = no; then
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11441 $as_echo_n "checking for shmat in -lipc... " >&6; }
11442 if ${ac_cv_lib_ipc_shmat+:} false; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_lib_save_LIBS=$LIBS
11446 LIBS="-lipc $LIBS"
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char shmat ();
11458 main ()
11460 return shmat ();
11462 return 0;
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466 ac_cv_lib_ipc_shmat=yes
11467 else
11468 ac_cv_lib_ipc_shmat=no
11470 rm -f core conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11475 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11476 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11477 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11483 # Check for libraries that X11R6 Xt/Xaw programs need.
11484 ac_save_LDFLAGS=$LDFLAGS
11485 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11486 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11487 # check for ICE first), but we must link in the order -lSM -lICE or
11488 # we get undefined symbols. So assume we have SM if we have ICE.
11489 # These have to be linked with before -lX11, unlike the other
11490 # libraries we check for below, so use a different variable.
11491 # John Interrante, Karl Berry
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11493 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11494 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11495 $as_echo_n "(cached) " >&6
11496 else
11497 ac_check_lib_save_LIBS=$LIBS
11498 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11500 /* end confdefs.h. */
11502 /* Override any GCC internal prototype to avoid an error.
11503 Use char because int might match the return type of a GCC
11504 builtin and then its argument prototype would still apply. */
11505 #ifdef __cplusplus
11506 extern "C"
11507 #endif
11508 char IceConnectionNumber ();
11510 main ()
11512 return IceConnectionNumber ();
11514 return 0;
11516 _ACEOF
11517 if ac_fn_c_try_link "$LINENO"; then :
11518 ac_cv_lib_ICE_IceConnectionNumber=yes
11519 else
11520 ac_cv_lib_ICE_IceConnectionNumber=no
11522 rm -f core conftest.err conftest.$ac_objext \
11523 conftest$ac_exeext conftest.$ac_ext
11524 LIBS=$ac_check_lib_save_LIBS
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11527 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11528 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11529 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11532 LDFLAGS=$ac_save_LDFLAGS
11537 if test "$have_x" = "yes"
11538 then
11539 ac_save_CPPFLAGS="$CPPFLAGS"
11540 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11543 $as_echo_n "checking for -lX11... " >&6; }
11544 if ${ac_cv_lib_soname_X11+:} false; then :
11545 $as_echo_n "(cached) " >&6
11546 else
11547 ac_check_soname_save_LIBS=$LIBS
11548 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11552 /* Override any GCC internal prototype to avoid an error.
11553 Use char because int might match the return type of a GCC
11554 builtin and then its argument prototype would still apply. */
11555 #ifdef __cplusplus
11556 extern "C"
11557 #endif
11558 char XCreateWindow ();
11560 main ()
11562 return XCreateWindow ();
11564 return 0;
11566 _ACEOF
11567 if ac_fn_c_try_link "$LINENO"; then :
11568 case "$LIBEXT" in
11569 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11570 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'` ;;
11571 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11572 if ${ac_cv_lib_soname_X11:+false} :; then :
11573 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11574 fi ;;
11575 esac
11576 else
11577 ac_cv_lib_soname_X11=
11579 rm -f core conftest.err conftest.$ac_objext \
11580 conftest$ac_exeext conftest.$ac_ext
11581 LIBS=$ac_check_soname_save_LIBS
11583 if ${ac_cv_lib_soname_X11:+false} :; then :
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11585 $as_echo "not found" >&6; }
11587 else
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11589 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11591 cat >>confdefs.h <<_ACEOF
11592 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11593 _ACEOF
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11598 $as_echo_n "checking for -lXext... " >&6; }
11599 if ${ac_cv_lib_soname_Xext+:} false; then :
11600 $as_echo_n "(cached) " >&6
11601 else
11602 ac_check_soname_save_LIBS=$LIBS
11603 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11607 /* Override any GCC internal prototype to avoid an error.
11608 Use char because int might match the return type of a GCC
11609 builtin and then its argument prototype would still apply. */
11610 #ifdef __cplusplus
11611 extern "C"
11612 #endif
11613 char XextCreateExtension ();
11615 main ()
11617 return XextCreateExtension ();
11619 return 0;
11621 _ACEOF
11622 if ac_fn_c_try_link "$LINENO"; then :
11623 case "$LIBEXT" in
11624 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11625 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'` ;;
11626 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11627 if ${ac_cv_lib_soname_Xext:+false} :; then :
11628 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11629 fi ;;
11630 esac
11631 else
11632 ac_cv_lib_soname_Xext=
11634 rm -f core conftest.err conftest.$ac_objext \
11635 conftest$ac_exeext conftest.$ac_ext
11636 LIBS=$ac_check_soname_save_LIBS
11638 if ${ac_cv_lib_soname_Xext:+false} :; then :
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11640 $as_echo "not found" >&6; }
11642 else
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11644 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11646 cat >>confdefs.h <<_ACEOF
11647 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11648 _ACEOF
11650 X_LIBS="$X_LIBS -lXext"
11652 X_LIBS="$X_LIBS -lX11"
11654 for ac_header in X11/Xlib.h \
11655 X11/XKBlib.h \
11656 X11/Xutil.h \
11657 X11/Xcursor/Xcursor.h \
11658 X11/extensions/shape.h \
11659 X11/extensions/XInput.h \
11660 X11/extensions/XInput2.h \
11661 X11/extensions/XShm.h \
11662 X11/extensions/Xcomposite.h \
11663 X11/extensions/Xfixes.h \
11664 X11/extensions/Xinerama.h \
11665 X11/extensions/Xrandr.h \
11666 X11/extensions/Xrender.h \
11667 X11/extensions/xf86vmode.h \
11668 X11/extensions/xf86vmproto.h
11669 do :
11670 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11671 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11672 # include <X11/Xlib.h>
11673 #endif
11674 #ifdef HAVE_X11_XUTIL_H
11675 # include <X11/Xutil.h>
11676 #endif
11678 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11679 cat >>confdefs.h <<_ACEOF
11680 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11681 _ACEOF
11685 done
11688 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11689 then
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11691 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11692 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11693 $as_echo_n "(cached) " >&6
11694 else
11695 ac_check_lib_save_LIBS=$LIBS
11696 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11698 /* end confdefs.h. */
11700 /* Override any GCC internal prototype to avoid an error.
11701 Use char because int might match the return type of a GCC
11702 builtin and then its argument prototype would still apply. */
11703 #ifdef __cplusplus
11704 extern "C"
11705 #endif
11706 char XkbQueryExtension ();
11708 main ()
11710 return XkbQueryExtension ();
11712 return 0;
11714 _ACEOF
11715 if ac_fn_c_try_link "$LINENO"; then :
11716 ac_cv_lib_X11_XkbQueryExtension=yes
11717 else
11718 ac_cv_lib_X11_XkbQueryExtension=no
11720 rm -f core conftest.err conftest.$ac_objext \
11721 conftest$ac_exeext conftest.$ac_ext
11722 LIBS=$ac_check_lib_save_LIBS
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11725 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11726 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11728 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11734 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11735 then
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11737 $as_echo_n "checking for -lXcursor... " >&6; }
11738 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11739 $as_echo_n "(cached) " >&6
11740 else
11741 ac_check_soname_save_LIBS=$LIBS
11742 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11744 /* end confdefs.h. */
11746 /* Override any GCC internal prototype to avoid an error.
11747 Use char because int might match the return type of a GCC
11748 builtin and then its argument prototype would still apply. */
11749 #ifdef __cplusplus
11750 extern "C"
11751 #endif
11752 char XcursorImageLoadCursor ();
11754 main ()
11756 return XcursorImageLoadCursor ();
11758 return 0;
11760 _ACEOF
11761 if ac_fn_c_try_link "$LINENO"; then :
11762 case "$LIBEXT" in
11763 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11764 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'` ;;
11765 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11766 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11767 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11768 fi ;;
11769 esac
11770 else
11771 ac_cv_lib_soname_Xcursor=
11773 rm -f core conftest.err conftest.$ac_objext \
11774 conftest$ac_exeext conftest.$ac_ext
11775 LIBS=$ac_check_soname_save_LIBS
11777 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11779 $as_echo "not found" >&6; }
11781 else
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11783 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11785 cat >>confdefs.h <<_ACEOF
11786 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11787 _ACEOF
11792 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11793 case "x$with_xcursor" in
11794 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11795 xno) ;;
11796 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11797 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11798 esac
11802 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11803 then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11805 $as_echo_n "checking for -lXi... " >&6; }
11806 if ${ac_cv_lib_soname_Xi+:} false; then :
11807 $as_echo_n "(cached) " >&6
11808 else
11809 ac_check_soname_save_LIBS=$LIBS
11810 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11812 /* end confdefs.h. */
11814 /* Override any GCC internal prototype to avoid an error.
11815 Use char because int might match the return type of a GCC
11816 builtin and then its argument prototype would still apply. */
11817 #ifdef __cplusplus
11818 extern "C"
11819 #endif
11820 char XOpenDevice ();
11822 main ()
11824 return XOpenDevice ();
11826 return 0;
11828 _ACEOF
11829 if ac_fn_c_try_link "$LINENO"; then :
11830 case "$LIBEXT" in
11831 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11832 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'` ;;
11833 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11834 if ${ac_cv_lib_soname_Xi:+false} :; then :
11835 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11836 fi ;;
11837 esac
11838 else
11839 ac_cv_lib_soname_Xi=
11841 rm -f core conftest.err conftest.$ac_objext \
11842 conftest$ac_exeext conftest.$ac_ext
11843 LIBS=$ac_check_soname_save_LIBS
11845 if ${ac_cv_lib_soname_Xi:+false} :; then :
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11847 $as_echo "not found" >&6; }
11849 else
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11851 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11853 cat >>confdefs.h <<_ACEOF
11854 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11855 _ACEOF
11860 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11861 case "x$with_xinput" in
11862 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11863 xno) ;;
11864 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11865 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11866 esac
11870 if test "x$ac_cv_lib_soname_Xi" != x
11871 then
11872 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11873 case "x$with_xinput2" in
11874 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11875 xno) ;;
11876 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11877 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11878 esac
11883 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11884 then
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11886 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11887 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11888 $as_echo_n "(cached) " >&6
11889 else
11890 ac_check_lib_save_LIBS=$LIBS
11891 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11893 /* end confdefs.h. */
11895 /* Override any GCC internal prototype to avoid an error.
11896 Use char because int might match the return type of a GCC
11897 builtin and then its argument prototype would still apply. */
11898 #ifdef __cplusplus
11899 extern "C"
11900 #endif
11901 char XShmQueryExtension ();
11903 main ()
11905 return XShmQueryExtension ();
11907 return 0;
11909 _ACEOF
11910 if ac_fn_c_try_link "$LINENO"; then :
11911 ac_cv_lib_Xext_XShmQueryExtension=yes
11912 else
11913 ac_cv_lib_Xext_XShmQueryExtension=no
11915 rm -f core conftest.err conftest.$ac_objext \
11916 conftest$ac_exeext conftest.$ac_ext
11917 LIBS=$ac_check_lib_save_LIBS
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11920 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11921 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11923 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11928 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11929 case "x$with_xshm" in
11930 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11931 xno) ;;
11932 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11933 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11934 esac
11938 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11939 then
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11941 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11942 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11943 $as_echo_n "(cached) " >&6
11944 else
11945 ac_check_lib_save_LIBS=$LIBS
11946 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11950 /* Override any GCC internal prototype to avoid an error.
11951 Use char because int might match the return type of a GCC
11952 builtin and then its argument prototype would still apply. */
11953 #ifdef __cplusplus
11954 extern "C"
11955 #endif
11956 char XShapeQueryExtension ();
11958 main ()
11960 return XShapeQueryExtension ();
11962 return 0;
11964 _ACEOF
11965 if ac_fn_c_try_link "$LINENO"; then :
11966 ac_cv_lib_Xext_XShapeQueryExtension=yes
11967 else
11968 ac_cv_lib_Xext_XShapeQueryExtension=no
11970 rm -f core conftest.err conftest.$ac_objext \
11971 conftest$ac_exeext conftest.$ac_ext
11972 LIBS=$ac_check_lib_save_LIBS
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11975 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11976 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11978 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11983 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11984 case "x$with_xshape" in
11985 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11986 xno) ;;
11987 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11988 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11989 esac
11993 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11994 then
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11996 $as_echo_n "checking for -lXxf86vm... " >&6; }
11997 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11998 $as_echo_n "(cached) " >&6
11999 else
12000 ac_check_soname_save_LIBS=$LIBS
12001 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12003 /* end confdefs.h. */
12005 /* Override any GCC internal prototype to avoid an error.
12006 Use char because int might match the return type of a GCC
12007 builtin and then its argument prototype would still apply. */
12008 #ifdef __cplusplus
12009 extern "C"
12010 #endif
12011 char XF86VidModeQueryExtension ();
12013 main ()
12015 return XF86VidModeQueryExtension ();
12017 return 0;
12019 _ACEOF
12020 if ac_fn_c_try_link "$LINENO"; then :
12021 case "$LIBEXT" in
12022 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12023 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'` ;;
12024 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12025 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12026 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12027 fi ;;
12028 esac
12029 else
12030 ac_cv_lib_soname_Xxf86vm=
12032 rm -f core conftest.err conftest.$ac_objext \
12033 conftest$ac_exeext conftest.$ac_ext
12034 LIBS=$ac_check_soname_save_LIBS
12036 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12038 $as_echo "not found" >&6; }
12040 else
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12042 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12044 cat >>confdefs.h <<_ACEOF
12045 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12046 _ACEOF
12051 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12052 case "x$with_xxf86vm" in
12053 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12054 xno) ;;
12055 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12056 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12057 esac
12061 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12062 then
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12064 $as_echo_n "checking for -lXrender... " >&6; }
12065 if ${ac_cv_lib_soname_Xrender+:} false; then :
12066 $as_echo_n "(cached) " >&6
12067 else
12068 ac_check_soname_save_LIBS=$LIBS
12069 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12071 /* end confdefs.h. */
12073 /* Override any GCC internal prototype to avoid an error.
12074 Use char because int might match the return type of a GCC
12075 builtin and then its argument prototype would still apply. */
12076 #ifdef __cplusplus
12077 extern "C"
12078 #endif
12079 char XRenderQueryExtension ();
12081 main ()
12083 return XRenderQueryExtension ();
12085 return 0;
12087 _ACEOF
12088 if ac_fn_c_try_link "$LINENO"; then :
12089 case "$LIBEXT" in
12090 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12091 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'` ;;
12092 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12093 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12094 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12095 fi ;;
12096 esac
12097 else
12098 ac_cv_lib_soname_Xrender=
12100 rm -f core conftest.err conftest.$ac_objext \
12101 conftest$ac_exeext conftest.$ac_ext
12102 LIBS=$ac_check_soname_save_LIBS
12104 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12106 $as_echo "not found" >&6; }
12108 else
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12110 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12112 cat >>confdefs.h <<_ACEOF
12113 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12114 _ACEOF
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12117 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12118 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12119 $as_echo_n "(cached) " >&6
12120 else
12121 ac_check_lib_save_LIBS=$LIBS
12122 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12124 /* end confdefs.h. */
12126 /* Override any GCC internal prototype to avoid an error.
12127 Use char because int might match the return type of a GCC
12128 builtin and then its argument prototype would still apply. */
12129 #ifdef __cplusplus
12130 extern "C"
12131 #endif
12132 char XRenderSetPictureTransform ();
12134 main ()
12136 return XRenderSetPictureTransform ();
12138 return 0;
12140 _ACEOF
12141 if ac_fn_c_try_link "$LINENO"; then :
12142 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12143 else
12144 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12146 rm -f core conftest.err conftest.$ac_objext \
12147 conftest$ac_exeext conftest.$ac_ext
12148 LIBS=$ac_check_lib_save_LIBS
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12151 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12152 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12154 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12159 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12160 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12161 $as_echo_n "(cached) " >&6
12162 else
12163 ac_check_lib_save_LIBS=$LIBS
12164 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12168 /* Override any GCC internal prototype to avoid an error.
12169 Use char because int might match the return type of a GCC
12170 builtin and then its argument prototype would still apply. */
12171 #ifdef __cplusplus
12172 extern "C"
12173 #endif
12174 char XRenderCreateLinearGradient ();
12176 main ()
12178 return XRenderCreateLinearGradient ();
12180 return 0;
12182 _ACEOF
12183 if ac_fn_c_try_link "$LINENO"; then :
12184 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12185 else
12186 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12188 rm -f core conftest.err conftest.$ac_objext \
12189 conftest$ac_exeext conftest.$ac_ext
12190 LIBS=$ac_check_lib_save_LIBS
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12193 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12194 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12196 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12203 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12204 case "x$with_xrender" in
12205 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12206 xno) ;;
12207 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12208 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12209 esac
12213 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12214 then
12215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12216 /* end confdefs.h. */
12217 #include <X11/Xlib.h>
12218 #include <X11/extensions/Xrandr.h>
12220 main ()
12222 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12224 return 0;
12226 _ACEOF
12227 if ac_fn_c_try_compile "$LINENO"; then :
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12229 $as_echo_n "checking for -lXrandr... " >&6; }
12230 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12231 $as_echo_n "(cached) " >&6
12232 else
12233 ac_check_soname_save_LIBS=$LIBS
12234 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12236 /* end confdefs.h. */
12238 /* Override any GCC internal prototype to avoid an error.
12239 Use char because int might match the return type of a GCC
12240 builtin and then its argument prototype would still apply. */
12241 #ifdef __cplusplus
12242 extern "C"
12243 #endif
12244 char XRRQueryExtension ();
12246 main ()
12248 return XRRQueryExtension ();
12250 return 0;
12252 _ACEOF
12253 if ac_fn_c_try_link "$LINENO"; then :
12254 case "$LIBEXT" in
12255 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12256 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'` ;;
12257 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12258 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12259 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12260 fi ;;
12261 esac
12262 else
12263 ac_cv_lib_soname_Xrandr=
12265 rm -f core conftest.err conftest.$ac_objext \
12266 conftest$ac_exeext conftest.$ac_ext
12267 LIBS=$ac_check_soname_save_LIBS
12269 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12271 $as_echo "not found" >&6; }
12273 else
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12275 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12277 cat >>confdefs.h <<_ACEOF
12278 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12279 _ACEOF
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12283 #include <X11/Xlib.h>
12284 #include <X11/extensions/Xrandr.h>
12286 main ()
12288 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12290 return 0;
12292 _ACEOF
12293 if ac_fn_c_try_compile "$LINENO"; then :
12295 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12297 else
12298 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12305 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12306 case "x$with_xrandr" in
12307 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12308 xno) ;;
12309 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12310 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12311 esac
12315 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12316 then
12317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12318 /* end confdefs.h. */
12319 #include <X11/Xlib.h>
12320 #include <X11/extensions/Xfixes.h>
12322 main ()
12324 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12326 return 0;
12328 _ACEOF
12329 if ac_fn_c_try_compile "$LINENO"; then :
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12331 $as_echo_n "checking for -lXfixes... " >&6; }
12332 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12333 $as_echo_n "(cached) " >&6
12334 else
12335 ac_check_soname_save_LIBS=$LIBS
12336 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12340 /* Override any GCC internal prototype to avoid an error.
12341 Use char because int might match the return type of a GCC
12342 builtin and then its argument prototype would still apply. */
12343 #ifdef __cplusplus
12344 extern "C"
12345 #endif
12346 char XFixesQueryVersion ();
12348 main ()
12350 return XFixesQueryVersion ();
12352 return 0;
12354 _ACEOF
12355 if ac_fn_c_try_link "$LINENO"; then :
12356 case "$LIBEXT" in
12357 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12358 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'` ;;
12359 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12360 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12361 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12362 fi ;;
12363 esac
12364 else
12365 ac_cv_lib_soname_Xfixes=
12367 rm -f core conftest.err conftest.$ac_objext \
12368 conftest$ac_exeext conftest.$ac_ext
12369 LIBS=$ac_check_soname_save_LIBS
12371 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12373 $as_echo "not found" >&6; }
12375 else
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12377 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12379 cat >>confdefs.h <<_ACEOF
12380 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12381 _ACEOF
12386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12388 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12389 case "x$with_xfixes" in
12390 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12391 xno) ;;
12392 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12393 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12394 esac
12398 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12399 then
12400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12402 #include <X11/Xlib.h>
12403 #include <X11/extensions/Xinerama.h>
12405 main ()
12407 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12409 return 0;
12411 _ACEOF
12412 if ac_fn_c_try_compile "$LINENO"; then :
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12414 $as_echo_n "checking for -lXinerama... " >&6; }
12415 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12416 $as_echo_n "(cached) " >&6
12417 else
12418 ac_check_soname_save_LIBS=$LIBS
12419 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12423 /* Override any GCC internal prototype to avoid an error.
12424 Use char because int might match the return type of a GCC
12425 builtin and then its argument prototype would still apply. */
12426 #ifdef __cplusplus
12427 extern "C"
12428 #endif
12429 char XineramaQueryScreens ();
12431 main ()
12433 return XineramaQueryScreens ();
12435 return 0;
12437 _ACEOF
12438 if ac_fn_c_try_link "$LINENO"; then :
12439 case "$LIBEXT" in
12440 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12441 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'` ;;
12442 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12443 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12444 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12445 fi ;;
12446 esac
12447 else
12448 ac_cv_lib_soname_Xinerama=
12450 rm -f core conftest.err conftest.$ac_objext \
12451 conftest$ac_exeext conftest.$ac_ext
12452 LIBS=$ac_check_soname_save_LIBS
12454 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12456 $as_echo "not found" >&6; }
12458 else
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12460 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12462 cat >>confdefs.h <<_ACEOF
12463 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12464 _ACEOF
12469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12471 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12472 case "x$with_xinerama" in
12473 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12474 xno) ;;
12475 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12476 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12477 esac
12481 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12482 then
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12484 $as_echo_n "checking for -lXcomposite... " >&6; }
12485 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12486 $as_echo_n "(cached) " >&6
12487 else
12488 ac_check_soname_save_LIBS=$LIBS
12489 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12493 /* Override any GCC internal prototype to avoid an error.
12494 Use char because int might match the return type of a GCC
12495 builtin and then its argument prototype would still apply. */
12496 #ifdef __cplusplus
12497 extern "C"
12498 #endif
12499 char XCompositeRedirectWindow ();
12501 main ()
12503 return XCompositeRedirectWindow ();
12505 return 0;
12507 _ACEOF
12508 if ac_fn_c_try_link "$LINENO"; then :
12509 case "$LIBEXT" in
12510 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12511 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'` ;;
12512 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12513 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12514 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12515 fi ;;
12516 esac
12517 else
12518 ac_cv_lib_soname_Xcomposite=
12520 rm -f core conftest.err conftest.$ac_objext \
12521 conftest$ac_exeext conftest.$ac_ext
12522 LIBS=$ac_check_soname_save_LIBS
12524 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12526 $as_echo "not found" >&6; }
12528 else
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12530 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12532 cat >>confdefs.h <<_ACEOF
12533 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12534 _ACEOF
12539 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12540 case "x$with_xcomposite" in
12541 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12542 xno) ;;
12543 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12544 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12545 esac
12549 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12550 #include <X11/Xlib.h>
12551 #endif
12553 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12555 cat >>confdefs.h <<_ACEOF
12556 #define HAVE_XICCALLBACK_CALLBACK 1
12557 _ACEOF
12561 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12562 #include <X11/Xlib.h>
12563 #endif
12565 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12567 cat >>confdefs.h <<_ACEOF
12568 #define HAVE_XEVENT_XCOOKIE 1
12569 _ACEOF
12576 opengl_msg=""
12577 if test "x$with_opengl" != "xno"
12578 then
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12580 $as_echo_n "checking for -lGL... " >&6; }
12581 if ${ac_cv_lib_soname_GL+:} false; then :
12582 $as_echo_n "(cached) " >&6
12583 else
12584 ac_check_soname_save_LIBS=$LIBS
12585 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12587 /* end confdefs.h. */
12589 /* Override any GCC internal prototype to avoid an error.
12590 Use char because int might match the return type of a GCC
12591 builtin and then its argument prototype would still apply. */
12592 #ifdef __cplusplus
12593 extern "C"
12594 #endif
12595 char glXCreateContext ();
12597 main ()
12599 return glXCreateContext ();
12601 return 0;
12603 _ACEOF
12604 if ac_fn_c_try_link "$LINENO"; then :
12605 case "$LIBEXT" in
12606 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12607 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'` ;;
12608 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12609 if ${ac_cv_lib_soname_GL:+false} :; then :
12610 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12611 fi ;;
12612 esac
12613 else
12614 ac_cv_lib_soname_GL=
12616 rm -f core conftest.err conftest.$ac_objext \
12617 conftest$ac_exeext conftest.$ac_ext
12618 LIBS=$ac_check_soname_save_LIBS
12620 if ${ac_cv_lib_soname_GL:+false} :; then :
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12622 $as_echo "not found" >&6; }
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12624 $as_echo_n "checking for -lGL... " >&6; }
12625 if ${ac_cv_lib_soname_GL+:} false; then :
12626 $as_echo_n "(cached) " >&6
12627 else
12628 ac_check_soname_save_LIBS=$LIBS
12629 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"
12630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12631 /* end confdefs.h. */
12633 /* Override any GCC internal prototype to avoid an error.
12634 Use char because int might match the return type of a GCC
12635 builtin and then its argument prototype would still apply. */
12636 #ifdef __cplusplus
12637 extern "C"
12638 #endif
12639 char glXCreateContext ();
12641 main ()
12643 return glXCreateContext ();
12645 return 0;
12647 _ACEOF
12648 if ac_fn_c_try_link "$LINENO"; then :
12649 case "$LIBEXT" in
12650 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12651 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'` ;;
12652 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12653 if ${ac_cv_lib_soname_GL:+false} :; then :
12654 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12655 fi ;;
12656 esac
12657 else
12658 ac_cv_lib_soname_GL=
12660 rm -f core conftest.err conftest.$ac_objext \
12661 conftest$ac_exeext conftest.$ac_ext
12662 LIBS=$ac_check_soname_save_LIBS
12664 if ${ac_cv_lib_soname_GL:+false} :; then :
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12666 $as_echo "not found" >&6; }
12667 if test -f /usr/X11R6/lib/libGL.a
12668 then
12669 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12670 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12671 else
12672 opengl_msg="No OpenGL library found on this system."
12674 else
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12676 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12678 cat >>confdefs.h <<_ACEOF
12679 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12680 _ACEOF
12682 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"
12684 else
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12686 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12688 cat >>confdefs.h <<_ACEOF
12689 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12690 _ACEOF
12692 OPENGL_LIBS="-lGL"
12694 if test "x$with_osmesa" != "xno"
12695 then
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12697 $as_echo_n "checking for -lOSMesa... " >&6; }
12698 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12699 $as_echo_n "(cached) " >&6
12700 else
12701 ac_check_soname_save_LIBS=$LIBS
12702 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12704 /* end confdefs.h. */
12706 /* Override any GCC internal prototype to avoid an error.
12707 Use char because int might match the return type of a GCC
12708 builtin and then its argument prototype would still apply. */
12709 #ifdef __cplusplus
12710 extern "C"
12711 #endif
12712 char OSMesaGetProcAddress ();
12714 main ()
12716 return OSMesaGetProcAddress ();
12718 return 0;
12720 _ACEOF
12721 if ac_fn_c_try_link "$LINENO"; then :
12722 case "$LIBEXT" in
12723 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12724 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'` ;;
12725 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12726 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12727 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12728 fi ;;
12729 esac
12730 else
12731 ac_cv_lib_soname_OSMesa=
12733 rm -f core conftest.err conftest.$ac_objext \
12734 conftest$ac_exeext conftest.$ac_ext
12735 LIBS=$ac_check_soname_save_LIBS
12737 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12739 $as_echo "not found" >&6; }
12741 else
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12743 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12745 cat >>confdefs.h <<_ACEOF
12746 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12747 _ACEOF
12751 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12752 case "x$with_osmesa" in
12753 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12754 xno) ;;
12755 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12756 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12757 esac
12762 if test -n "$opengl_msg"; then :
12763 case "x$with_opengl" in
12764 x) as_fn_append wine_warnings "|$opengl_msg
12765 OpenGL and Direct3D won't be supported." ;;
12766 xno) ;;
12767 *) as_fn_error $? "$opengl_msg
12768 OpenGL and Direct3D won't be supported.
12769 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12770 esac
12774 CPPFLAGS="$ac_save_CPPFLAGS"
12775 else
12776 X_CFLAGS=""
12777 X_LIBS=""
12780 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12781 then
12782 if test "x$X_LIBS" = "x"; then :
12783 case "x$with_x" in
12784 xno) ;;
12785 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12786 without X support, which probably isn't what you want. You will need
12787 to install ${notice_platform}development packages of Xlib at the very least.
12788 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12789 esac
12790 enable_winex11_drv=${enable_winex11_drv:-no}
12792 else
12793 if test "x$X_LIBS" = "x"; then :
12794 case "x$with_x" in
12795 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12796 xno) ;;
12797 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12798 This is an error since --with-x was requested." "$LINENO" 5 ;;
12799 esac
12800 enable_winex11_drv=${enable_winex11_drv:-no}
12804 if test "$ac_cv_header_CL_cl_h" = "yes"
12805 then
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12807 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12808 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12809 $as_echo_n "(cached) " >&6
12810 else
12811 ac_check_lib_save_LIBS=$LIBS
12812 LIBS="-lOpenCL $LIBS"
12813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12816 /* Override any GCC internal prototype to avoid an error.
12817 Use char because int might match the return type of a GCC
12818 builtin and then its argument prototype would still apply. */
12819 #ifdef __cplusplus
12820 extern "C"
12821 #endif
12822 char clGetPlatformInfo ();
12824 main ()
12826 return clGetPlatformInfo ();
12828 return 0;
12830 _ACEOF
12831 if ac_fn_c_try_link "$LINENO"; then :
12832 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12833 else
12834 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12836 rm -f core conftest.err conftest.$ac_objext \
12837 conftest$ac_exeext conftest.$ac_ext
12838 LIBS=$ac_check_lib_save_LIBS
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12841 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12842 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12843 OPENCL_LIBS="-lOpenCL"
12848 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12849 case "x$with_opencl" in
12850 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12851 xno) ;;
12852 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12853 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12854 esac
12855 enable_opencl=${enable_opencl:-no}
12858 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12859 then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12861 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12862 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12863 $as_echo_n "(cached) " >&6
12864 else
12865 ac_check_lib_save_LIBS=$LIBS
12866 LIBS="-lpcap $LIBS"
12867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12868 /* end confdefs.h. */
12870 /* Override any GCC internal prototype to avoid an error.
12871 Use char because int might match the return type of a GCC
12872 builtin and then its argument prototype would still apply. */
12873 #ifdef __cplusplus
12874 extern "C"
12875 #endif
12876 char pcap_create ();
12878 main ()
12880 return pcap_create ();
12882 return 0;
12884 _ACEOF
12885 if ac_fn_c_try_link "$LINENO"; then :
12886 ac_cv_lib_pcap_pcap_create=yes
12887 else
12888 ac_cv_lib_pcap_pcap_create=no
12890 rm -f core conftest.err conftest.$ac_objext \
12891 conftest$ac_exeext conftest.$ac_ext
12892 LIBS=$ac_check_lib_save_LIBS
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12895 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12896 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12897 PCAP_LIBS="-lpcap"
12902 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12903 case "x$with_pcap" in
12904 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12905 xno) ;;
12906 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12907 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12908 esac
12909 enable_wpcap=${enable_wpcap:-no}
12913 if test "x$with_xml" != "xno"
12914 then
12915 if ${XML2_CFLAGS:+false} :; then :
12916 if ${PKG_CONFIG+:} false; then :
12917 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12920 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12921 if ${XML2_LIBS:+false} :; then :
12922 if ${PKG_CONFIG+:} false; then :
12923 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12926 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12927 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12928 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12929 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12930 ac_save_CPPFLAGS=$CPPFLAGS
12931 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12932 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12933 do :
12934 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12935 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12936 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12937 cat >>confdefs.h <<_ACEOF
12938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12939 _ACEOF
12943 done
12945 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"
12946 then
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12948 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12949 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12950 $as_echo_n "(cached) " >&6
12951 else
12952 ac_check_lib_save_LIBS=$LIBS
12953 LIBS="-lxml2 $XML2_LIBS $LIBS"
12954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12957 /* Override any GCC internal prototype to avoid an error.
12958 Use char because int might match the return type of a GCC
12959 builtin and then its argument prototype would still apply. */
12960 #ifdef __cplusplus
12961 extern "C"
12962 #endif
12963 char xmlParseMemory ();
12965 main ()
12967 return xmlParseMemory ();
12969 return 0;
12971 _ACEOF
12972 if ac_fn_c_try_link "$LINENO"; then :
12973 ac_cv_lib_xml2_xmlParseMemory=yes
12974 else
12975 ac_cv_lib_xml2_xmlParseMemory=no
12977 rm -f core conftest.err conftest.$ac_objext \
12978 conftest$ac_exeext conftest.$ac_ext
12979 LIBS=$ac_check_lib_save_LIBS
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12982 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12983 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12985 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12987 else
12988 XML2_LIBS=""
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12992 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12993 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12994 $as_echo_n "(cached) " >&6
12995 else
12996 ac_check_lib_save_LIBS=$LIBS
12997 LIBS="-lxml2 $XML2_LIBS $LIBS"
12998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12999 /* end confdefs.h. */
13001 /* Override any GCC internal prototype to avoid an error.
13002 Use char because int might match the return type of a GCC
13003 builtin and then its argument prototype would still apply. */
13004 #ifdef __cplusplus
13005 extern "C"
13006 #endif
13007 char xmlReadMemory ();
13009 main ()
13011 return xmlReadMemory ();
13013 return 0;
13015 _ACEOF
13016 if ac_fn_c_try_link "$LINENO"; then :
13017 ac_cv_lib_xml2_xmlReadMemory=yes
13018 else
13019 ac_cv_lib_xml2_xmlReadMemory=no
13021 rm -f core conftest.err conftest.$ac_objext \
13022 conftest$ac_exeext conftest.$ac_ext
13023 LIBS=$ac_check_lib_save_LIBS
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13026 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13027 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13029 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13034 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13035 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13036 $as_echo_n "(cached) " >&6
13037 else
13038 ac_check_lib_save_LIBS=$LIBS
13039 LIBS="-lxml2 $XML2_LIBS $LIBS"
13040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13041 /* end confdefs.h. */
13043 /* Override any GCC internal prototype to avoid an error.
13044 Use char because int might match the return type of a GCC
13045 builtin and then its argument prototype would still apply. */
13046 #ifdef __cplusplus
13047 extern "C"
13048 #endif
13049 char xmlNewDocPI ();
13051 main ()
13053 return xmlNewDocPI ();
13055 return 0;
13057 _ACEOF
13058 if ac_fn_c_try_link "$LINENO"; then :
13059 ac_cv_lib_xml2_xmlNewDocPI=yes
13060 else
13061 ac_cv_lib_xml2_xmlNewDocPI=no
13063 rm -f core conftest.err conftest.$ac_objext \
13064 conftest$ac_exeext conftest.$ac_ext
13065 LIBS=$ac_check_lib_save_LIBS
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13068 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13069 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13071 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13076 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13077 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13078 $as_echo_n "(cached) " >&6
13079 else
13080 ac_check_lib_save_LIBS=$LIBS
13081 LIBS="-lxml2 $XML2_LIBS $LIBS"
13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13085 /* Override any GCC internal prototype to avoid an error.
13086 Use char because int might match the return type of a GCC
13087 builtin and then its argument prototype would still apply. */
13088 #ifdef __cplusplus
13089 extern "C"
13090 #endif
13091 char xmlSchemaSetParserStructuredErrors ();
13093 main ()
13095 return xmlSchemaSetParserStructuredErrors ();
13097 return 0;
13099 _ACEOF
13100 if ac_fn_c_try_link "$LINENO"; then :
13101 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13102 else
13103 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13105 rm -f core conftest.err conftest.$ac_objext \
13106 conftest$ac_exeext conftest.$ac_ext
13107 LIBS=$ac_check_lib_save_LIBS
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13110 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13111 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13113 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13118 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13119 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13120 $as_echo_n "(cached) " >&6
13121 else
13122 ac_check_lib_save_LIBS=$LIBS
13123 LIBS="-lxml2 $XML2_LIBS $LIBS"
13124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13125 /* end confdefs.h. */
13127 /* Override any GCC internal prototype to avoid an error.
13128 Use char because int might match the return type of a GCC
13129 builtin and then its argument prototype would still apply. */
13130 #ifdef __cplusplus
13131 extern "C"
13132 #endif
13133 char xmlSchemaSetValidStructuredErrors ();
13135 main ()
13137 return xmlSchemaSetValidStructuredErrors ();
13139 return 0;
13141 _ACEOF
13142 if ac_fn_c_try_link "$LINENO"; then :
13143 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13144 else
13145 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13147 rm -f core conftest.err conftest.$ac_objext \
13148 conftest$ac_exeext conftest.$ac_ext
13149 LIBS=$ac_check_lib_save_LIBS
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13152 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13153 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13155 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13160 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13161 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13162 $as_echo_n "(cached) " >&6
13163 else
13164 ac_check_lib_save_LIBS=$LIBS
13165 LIBS="-lxml2 $XML2_LIBS $LIBS"
13166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13167 /* end confdefs.h. */
13169 /* Override any GCC internal prototype to avoid an error.
13170 Use char because int might match the return type of a GCC
13171 builtin and then its argument prototype would still apply. */
13172 #ifdef __cplusplus
13173 extern "C"
13174 #endif
13175 char xmlFirstElementChild ();
13177 main ()
13179 return xmlFirstElementChild ();
13181 return 0;
13183 _ACEOF
13184 if ac_fn_c_try_link "$LINENO"; then :
13185 ac_cv_lib_xml2_xmlFirstElementChild=yes
13186 else
13187 ac_cv_lib_xml2_xmlFirstElementChild=no
13189 rm -f core conftest.err conftest.$ac_objext \
13190 conftest$ac_exeext conftest.$ac_ext
13191 LIBS=$ac_check_lib_save_LIBS
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13194 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13195 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13197 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13201 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13203 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13205 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13209 else
13210 XML2_CFLAGS=""
13211 XML2_LIBS=""
13213 CPPFLAGS=$ac_save_CPPFLAGS
13216 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13217 case "x$with_xml" in
13218 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13219 xno) ;;
13220 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13221 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13222 esac
13226 if test "x$with_xslt" != "xno"
13227 then
13228 if ${XSLT_CFLAGS:+false} :; then :
13229 if ${PKG_CONFIG+:} false; then :
13230 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13233 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13234 if ${XSLT_LIBS:+false} :; then :
13235 if ${PKG_CONFIG+:} false; then :
13236 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13239 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13240 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13241 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13242 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13243 ac_save_CPPFLAGS=$CPPFLAGS
13244 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13245 for ac_header in libxslt/pattern.h libxslt/transform.h
13246 do :
13247 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13248 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13249 # include <libxslt/pattern.h>
13250 #endif
13252 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13253 cat >>confdefs.h <<_ACEOF
13254 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13255 _ACEOF
13259 done
13261 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13262 then
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13264 $as_echo_n "checking for -lxslt... " >&6; }
13265 if ${ac_cv_lib_soname_xslt+:} false; then :
13266 $as_echo_n "(cached) " >&6
13267 else
13268 ac_check_soname_save_LIBS=$LIBS
13269 LIBS="-lxslt $XSLT_LIBS $LIBS"
13270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13271 /* end confdefs.h. */
13273 /* Override any GCC internal prototype to avoid an error.
13274 Use char because int might match the return type of a GCC
13275 builtin and then its argument prototype would still apply. */
13276 #ifdef __cplusplus
13277 extern "C"
13278 #endif
13279 char xsltCompilePattern ();
13281 main ()
13283 return xsltCompilePattern ();
13285 return 0;
13287 _ACEOF
13288 if ac_fn_c_try_link "$LINENO"; then :
13289 case "$LIBEXT" in
13290 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13291 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'` ;;
13292 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13293 if ${ac_cv_lib_soname_xslt:+false} :; then :
13294 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13295 fi ;;
13296 esac
13297 else
13298 ac_cv_lib_soname_xslt=
13300 rm -f core conftest.err conftest.$ac_objext \
13301 conftest$ac_exeext conftest.$ac_ext
13302 LIBS=$ac_check_soname_save_LIBS
13304 if ${ac_cv_lib_soname_xslt:+false} :; then :
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13306 $as_echo "not found" >&6; }
13308 else
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13310 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13312 cat >>confdefs.h <<_ACEOF
13313 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13314 _ACEOF
13318 else
13319 XSLT_CFLAGS=""
13321 CPPFLAGS=$ac_save_CPPFLAGS
13324 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13325 case "x$with_xslt" in
13326 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13327 xno) ;;
13328 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13329 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13330 esac
13334 if test "x$with_inotify" != "xno"
13335 then
13336 if ${INOTIFY_CFLAGS:+false} :; then :
13337 if ${PKG_CONFIG+:} false; then :
13338 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13342 if ${INOTIFY_LIBS:+false} :; then :
13343 if ${PKG_CONFIG+:} false; then :
13344 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13349 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13350 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13351 ac_save_CPPFLAGS=$CPPFLAGS
13352 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13353 for ac_header in sys/inotify.h
13354 do :
13355 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13356 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13357 cat >>confdefs.h <<_ACEOF
13358 #define HAVE_SYS_INOTIFY_H 1
13359 _ACEOF
13363 done
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13366 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13367 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13368 $as_echo_n "(cached) " >&6
13369 else
13370 ac_check_lib_save_LIBS=$LIBS
13371 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13375 /* Override any GCC internal prototype to avoid an error.
13376 Use char because int might match the return type of a GCC
13377 builtin and then its argument prototype would still apply. */
13378 #ifdef __cplusplus
13379 extern "C"
13380 #endif
13381 char inotify_add_watch ();
13383 main ()
13385 return inotify_add_watch ();
13387 return 0;
13389 _ACEOF
13390 if ac_fn_c_try_link "$LINENO"; then :
13391 ac_cv_lib_inotify_inotify_add_watch=yes
13392 else
13393 ac_cv_lib_inotify_inotify_add_watch=no
13395 rm -f core conftest.err conftest.$ac_objext \
13396 conftest$ac_exeext conftest.$ac_ext
13397 LIBS=$ac_check_lib_save_LIBS
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13400 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13401 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13403 else
13404 INOTIFY_LIBS=""
13407 CPPFLAGS=$ac_save_CPPFLAGS
13410 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13411 case "x$with_inotify" in
13412 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13413 xno) ;;
13414 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13415 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13416 esac
13420 if test "x$with_dbus" != "xno"
13421 then
13422 if ${DBUS_CFLAGS:+false} :; then :
13423 if ${PKG_CONFIG+:} false; then :
13424 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13428 if ${DBUS_LIBS:+false} :; then :
13429 if ${PKG_CONFIG+:} false; then :
13430 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13435 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13436 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13437 ac_save_CPPFLAGS=$CPPFLAGS
13438 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13439 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13440 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13442 $as_echo_n "checking for -ldbus-1... " >&6; }
13443 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13444 $as_echo_n "(cached) " >&6
13445 else
13446 ac_check_soname_save_LIBS=$LIBS
13447 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449 /* end confdefs.h. */
13451 /* Override any GCC internal prototype to avoid an error.
13452 Use char because int might match the return type of a GCC
13453 builtin and then its argument prototype would still apply. */
13454 #ifdef __cplusplus
13455 extern "C"
13456 #endif
13457 char dbus_connection_close ();
13459 main ()
13461 return dbus_connection_close ();
13463 return 0;
13465 _ACEOF
13466 if ac_fn_c_try_link "$LINENO"; then :
13467 case "$LIBEXT" in
13468 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13469 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'` ;;
13470 *) 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'`
13471 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13472 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13473 fi ;;
13474 esac
13475 else
13476 ac_cv_lib_soname_dbus_1=
13478 rm -f core conftest.err conftest.$ac_objext \
13479 conftest$ac_exeext conftest.$ac_ext
13480 LIBS=$ac_check_soname_save_LIBS
13482 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13484 $as_echo "not found" >&6; }
13485 DBUS_CFLAGS=""
13486 else
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13488 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13490 cat >>confdefs.h <<_ACEOF
13491 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13492 _ACEOF
13496 else
13497 DBUS_CFLAGS=""
13501 CPPFLAGS=$ac_save_CPPFLAGS
13504 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13505 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13506 case "x$with_dbus" in
13507 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13508 xno) ;;
13509 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13510 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13511 esac
13515 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13516 then
13517 if ${HAL_CFLAGS:+false} :; then :
13518 if ${PKG_CONFIG+:} false; then :
13519 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13523 if ${HAL_LIBS:+false} :; then :
13524 if ${PKG_CONFIG+:} false; then :
13525 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13529 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13530 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13531 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13532 ac_save_CPPFLAGS=$CPPFLAGS
13533 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13534 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13535 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13537 $as_echo_n "checking for -lhal... " >&6; }
13538 if ${ac_cv_lib_soname_hal+:} false; then :
13539 $as_echo_n "(cached) " >&6
13540 else
13541 ac_check_soname_save_LIBS=$LIBS
13542 LIBS="-lhal $HAL_LIBS $LIBS"
13543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13544 /* end confdefs.h. */
13546 /* Override any GCC internal prototype to avoid an error.
13547 Use char because int might match the return type of a GCC
13548 builtin and then its argument prototype would still apply. */
13549 #ifdef __cplusplus
13550 extern "C"
13551 #endif
13552 char libhal_ctx_new ();
13554 main ()
13556 return libhal_ctx_new ();
13558 return 0;
13560 _ACEOF
13561 if ac_fn_c_try_link "$LINENO"; then :
13562 case "$LIBEXT" in
13563 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13564 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'` ;;
13565 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13566 if ${ac_cv_lib_soname_hal:+false} :; then :
13567 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13568 fi ;;
13569 esac
13570 else
13571 ac_cv_lib_soname_hal=
13573 rm -f core conftest.err conftest.$ac_objext \
13574 conftest$ac_exeext conftest.$ac_ext
13575 LIBS=$ac_check_soname_save_LIBS
13577 if ${ac_cv_lib_soname_hal:+false} :; then :
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13579 $as_echo "not found" >&6; }
13580 HAL_CFLAGS=""
13581 else
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13583 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13585 cat >>confdefs.h <<_ACEOF
13586 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13587 _ACEOF
13591 else
13592 HAL_CFLAGS=""
13596 CPPFLAGS=$ac_save_CPPFLAGS
13598 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13599 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13600 case "x$with_hal" in
13601 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13602 xno) ;;
13603 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13604 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13605 esac
13610 if test "x$with_gnutls" != "xno"
13611 then
13612 if ${GNUTLS_CFLAGS:+false} :; then :
13613 if ${PKG_CONFIG+:} false; then :
13614 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13618 if ${GNUTLS_LIBS:+false} :; then :
13619 if ${PKG_CONFIG+:} false; then :
13620 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13624 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13625 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13626 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13627 ac_save_CPPFLAGS=$CPPFLAGS
13628 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13629 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13630 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13632 /* end confdefs.h. */
13633 #include <gnutls/gnutls.h>
13634 #include <gnutls/crypto.h>
13636 main ()
13638 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13640 return 0;
13642 _ACEOF
13643 if ac_fn_c_try_compile "$LINENO"; then :
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13645 $as_echo_n "checking for -lgnutls... " >&6; }
13646 if ${ac_cv_lib_soname_gnutls+:} false; then :
13647 $as_echo_n "(cached) " >&6
13648 else
13649 ac_check_soname_save_LIBS=$LIBS
13650 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13652 /* end confdefs.h. */
13654 /* Override any GCC internal prototype to avoid an error.
13655 Use char because int might match the return type of a GCC
13656 builtin and then its argument prototype would still apply. */
13657 #ifdef __cplusplus
13658 extern "C"
13659 #endif
13660 char gnutls_global_init ();
13662 main ()
13664 return gnutls_global_init ();
13666 return 0;
13668 _ACEOF
13669 if ac_fn_c_try_link "$LINENO"; then :
13670 case "$LIBEXT" in
13671 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13672 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'` ;;
13673 *) 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'`
13674 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13675 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'`
13676 fi ;;
13677 esac
13678 else
13679 ac_cv_lib_soname_gnutls=
13681 rm -f core conftest.err conftest.$ac_objext \
13682 conftest$ac_exeext conftest.$ac_ext
13683 LIBS=$ac_check_soname_save_LIBS
13685 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13687 $as_echo "not found" >&6; }
13688 GNUTLS_CFLAGS=""
13689 else
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13691 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13693 cat >>confdefs.h <<_ACEOF
13694 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13695 _ACEOF
13699 ac_wine_check_funcs_save_LIBS="$LIBS"
13700 LIBS="$LIBS $GNUTLS_LIBS"
13701 for ac_func in gnutls_cipher_init
13702 do :
13703 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13704 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13705 cat >>confdefs.h <<_ACEOF
13706 #define HAVE_GNUTLS_CIPHER_INIT 1
13707 _ACEOF
13709 else
13710 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13712 done
13714 LIBS="$ac_wine_check_funcs_save_LIBS"
13716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13717 else
13718 GNUTLS_CFLAGS=""
13722 CPPFLAGS=$ac_save_CPPFLAGS
13725 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13726 case "x$with_gnutls" in
13727 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13728 xno) ;;
13729 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13730 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13731 esac
13735 if test "x$with_sane" != "xno"
13736 then
13737 if ${SANE_CFLAGS:+false} :; then :
13738 if ${PKG_CONFIG+:} false; then :
13739 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13742 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13743 if ${SANE_LIBS:+false} :; then :
13744 if ${PKG_CONFIG+:} false; then :
13745 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13748 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13750 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13751 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13752 ac_save_CPPFLAGS=$CPPFLAGS
13753 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13754 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13755 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13757 $as_echo_n "checking for -lsane... " >&6; }
13758 if ${ac_cv_lib_soname_sane+:} false; then :
13759 $as_echo_n "(cached) " >&6
13760 else
13761 ac_check_soname_save_LIBS=$LIBS
13762 LIBS="-lsane $SANE_LIBS $LIBS"
13763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h. */
13766 /* Override any GCC internal prototype to avoid an error.
13767 Use char because int might match the return type of a GCC
13768 builtin and then its argument prototype would still apply. */
13769 #ifdef __cplusplus
13770 extern "C"
13771 #endif
13772 char sane_init ();
13774 main ()
13776 return sane_init ();
13778 return 0;
13780 _ACEOF
13781 if ac_fn_c_try_link "$LINENO"; then :
13782 case "$LIBEXT" in
13783 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13784 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'` ;;
13785 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13786 if ${ac_cv_lib_soname_sane:+false} :; then :
13787 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13788 fi ;;
13789 esac
13790 else
13791 ac_cv_lib_soname_sane=
13793 rm -f core conftest.err conftest.$ac_objext \
13794 conftest$ac_exeext conftest.$ac_ext
13795 LIBS=$ac_check_soname_save_LIBS
13797 if ${ac_cv_lib_soname_sane:+false} :; then :
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13799 $as_echo "not found" >&6; }
13800 SANE_CFLAGS=""
13801 else
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13803 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13805 cat >>confdefs.h <<_ACEOF
13806 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13807 _ACEOF
13811 else
13812 SANE_CFLAGS=""
13816 CPPFLAGS=$ac_save_CPPFLAGS
13819 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13820 case "x$with_sane" in
13821 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13822 xno) ;;
13823 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13824 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13825 esac
13829 if test "x$with_usb" != "xno"
13830 then
13831 if ${USB_CFLAGS:+false} :; then :
13832 if ${PKG_CONFIG+:} false; then :
13833 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13837 if ${USB_LIBS:+false} :; then :
13838 if ${PKG_CONFIG+:} false; then :
13839 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13843 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13844 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13845 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13846 ac_save_CPPFLAGS=$CPPFLAGS
13847 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13848 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13849 if test "x$ac_cv_header_libusb_h" = xyes; then :
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13851 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13852 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13853 $as_echo_n "(cached) " >&6
13854 else
13855 ac_check_lib_save_LIBS=$LIBS
13856 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13860 /* Override any GCC internal prototype to avoid an error.
13861 Use char because int might match the return type of a GCC
13862 builtin and then its argument prototype would still apply. */
13863 #ifdef __cplusplus
13864 extern "C"
13865 #endif
13866 char libusb_interrupt_event_handler ();
13868 main ()
13870 return libusb_interrupt_event_handler ();
13872 return 0;
13874 _ACEOF
13875 if ac_fn_c_try_link "$LINENO"; then :
13876 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13877 else
13878 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13880 rm -f core conftest.err conftest.$ac_objext \
13881 conftest$ac_exeext conftest.$ac_ext
13882 LIBS=$ac_check_lib_save_LIBS
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13885 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13886 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13888 else
13889 USB_LIBS=""
13892 else
13893 USB_LIBS=""
13897 CPPFLAGS=$ac_save_CPPFLAGS
13900 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13901 case "x$with_usb" in
13902 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13903 xno) ;;
13904 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13905 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13906 esac
13907 enable_wineusb_sys=${enable_wineusb_sys:-no}
13910 if test "x$with_v4l2" != "xno"
13911 then
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13913 $as_echo_n "checking for -lv4l2... " >&6; }
13914 if ${ac_cv_lib_soname_v4l2+:} false; then :
13915 $as_echo_n "(cached) " >&6
13916 else
13917 ac_check_soname_save_LIBS=$LIBS
13918 LIBS="-lv4l2 $LIBS"
13919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13920 /* end confdefs.h. */
13922 /* Override any GCC internal prototype to avoid an error.
13923 Use char because int might match the return type of a GCC
13924 builtin and then its argument prototype would still apply. */
13925 #ifdef __cplusplus
13926 extern "C"
13927 #endif
13928 char v4l2_open ();
13930 main ()
13932 return v4l2_open ();
13934 return 0;
13936 _ACEOF
13937 if ac_fn_c_try_link "$LINENO"; then :
13938 case "$LIBEXT" in
13939 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13940 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'` ;;
13941 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13942 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13943 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13944 fi ;;
13945 esac
13946 else
13947 ac_cv_lib_soname_v4l2=
13949 rm -f core conftest.err conftest.$ac_objext \
13950 conftest$ac_exeext conftest.$ac_ext
13951 LIBS=$ac_check_soname_save_LIBS
13953 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13955 $as_echo "not found" >&6; }
13957 else
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13959 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13961 cat >>confdefs.h <<_ACEOF
13962 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13963 _ACEOF
13968 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13969 case "x$with_v4l2" in
13970 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13971 xno) ;;
13972 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13973 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13974 esac
13978 if test "x$with_gphoto" != "xno"
13979 then
13980 if ${GPHOTO2_CFLAGS:+false} :; then :
13981 if ${PKG_CONFIG+:} false; then :
13982 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13985 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13986 if ${GPHOTO2_LIBS:+false} :; then :
13987 if ${PKG_CONFIG+:} false; then :
13988 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13991 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13992 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13993 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13994 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13995 ac_save_CPPFLAGS=$CPPFLAGS
13996 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13997 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13998 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14000 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14001 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14002 $as_echo_n "(cached) " >&6
14003 else
14004 ac_check_lib_save_LIBS=$LIBS
14005 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14009 /* Override any GCC internal prototype to avoid an error.
14010 Use char because int might match the return type of a GCC
14011 builtin and then its argument prototype would still apply. */
14012 #ifdef __cplusplus
14013 extern "C"
14014 #endif
14015 char gp_camera_new ();
14017 main ()
14019 return gp_camera_new ();
14021 return 0;
14023 _ACEOF
14024 if ac_fn_c_try_link "$LINENO"; then :
14025 ac_cv_lib_gphoto2_gp_camera_new=yes
14026 else
14027 ac_cv_lib_gphoto2_gp_camera_new=no
14029 rm -f core conftest.err conftest.$ac_objext \
14030 conftest$ac_exeext conftest.$ac_ext
14031 LIBS=$ac_check_lib_save_LIBS
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14034 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14035 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14037 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14039 else
14040 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14043 else
14044 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14048 CPPFLAGS=$ac_save_CPPFLAGS
14050 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14051 if ${PKG_CONFIG+:} false; then :
14052 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14055 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14056 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14057 if ${PKG_CONFIG+:} false; then :
14058 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14061 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14062 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14063 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14064 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14065 ac_save_CPPFLAGS=$CPPFLAGS
14066 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14067 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14068 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14070 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14071 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14072 $as_echo_n "(cached) " >&6
14073 else
14074 ac_check_lib_save_LIBS=$LIBS
14075 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14077 /* end confdefs.h. */
14079 /* Override any GCC internal prototype to avoid an error.
14080 Use char because int might match the return type of a GCC
14081 builtin and then its argument prototype would still apply. */
14082 #ifdef __cplusplus
14083 extern "C"
14084 #endif
14085 char gp_port_info_list_new ();
14087 main ()
14089 return gp_port_info_list_new ();
14091 return 0;
14093 _ACEOF
14094 if ac_fn_c_try_link "$LINENO"; then :
14095 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14096 else
14097 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14099 rm -f core conftest.err conftest.$ac_objext \
14100 conftest$ac_exeext conftest.$ac_ext
14101 LIBS=$ac_check_lib_save_LIBS
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14104 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14105 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14107 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14109 else
14110 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14113 else
14114 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14118 CPPFLAGS=$ac_save_CPPFLAGS
14121 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14122 case "x$with_gphoto" in
14123 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14124 xno) ;;
14125 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14126 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14127 esac
14130 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14131 case "x$with_gphoto" in
14132 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14133 xno) ;;
14134 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14135 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14136 esac
14141 if test "$ac_cv_header_resolv_h" = "yes"
14142 then
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14144 $as_echo_n "checking for resolver library... " >&6; }
14145 if ${ac_cv_have_resolv+:} false; then :
14146 $as_echo_n "(cached) " >&6
14147 else
14148 ac_save_LIBS="$LIBS"
14149 for lib in '' -lresolv
14151 LIBS="$lib $ac_save_LIBS"
14152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14154 #ifdef HAVE_NETINET_IN_H
14155 #include <netinet/in.h>
14156 #endif
14157 #include <resolv.h>
14159 main ()
14161 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14163 return 0;
14165 _ACEOF
14166 if ac_fn_c_try_link "$LINENO"; then :
14167 ac_cv_have_resolv=${lib:-"none required"}
14168 else
14169 ac_cv_have_resolv="not found"
14171 rm -f core conftest.err conftest.$ac_objext \
14172 conftest$ac_exeext conftest.$ac_ext
14173 test "x$ac_cv_have_resolv" = "xnot found" || break
14174 done
14175 LIBS="$ac_save_LIBS"
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14178 $as_echo "$ac_cv_have_resolv" >&6; }
14180 case "$ac_cv_have_resolv" in
14181 "not found") ;;
14182 "none required")
14184 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14187 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14189 RESOLV_LIBS=$ac_cv_have_resolv
14191 esac
14193 if test "x$ac_cv_have_resolv" != "xnot found"
14194 then
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14196 $as_echo_n "checking for res_getservers... " >&6; }
14197 if ${ac_cv_have_res_getservers+:} false; then :
14198 $as_echo_n "(cached) " >&6
14199 else
14200 ac_save_LIBS="$LIBS"
14201 LIBS="$RESOLV_LIBS $LIBS"
14202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14204 #include <resolv.h>
14206 main ()
14208 res_getservers(NULL, NULL, 0);
14210 return 0;
14212 _ACEOF
14213 if ac_fn_c_try_link "$LINENO"; then :
14214 ac_cv_have_res_getservers=yes
14215 else
14216 ac_cv_have_res_getservers=no
14218 rm -f core conftest.err conftest.$ac_objext \
14219 conftest$ac_exeext conftest.$ac_ext
14220 LIBS="$ac_save_LIBS"
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14223 $as_echo "$ac_cv_have_res_getservers" >&6; }
14224 if test "$ac_cv_have_res_getservers" = "yes"
14225 then
14227 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14233 if test "x$with_cms" != "xno"
14234 then
14235 if ${LCMS2_CFLAGS:+false} :; then :
14236 if ${PKG_CONFIG+:} false; then :
14237 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14241 if ${LCMS2_LIBS:+false} :; then :
14242 if ${PKG_CONFIG+:} false; then :
14243 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14247 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14248 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14249 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14250 ac_save_CPPFLAGS=$CPPFLAGS
14251 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14252 for ac_header in lcms2.h
14253 do :
14254 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14255 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14256 cat >>confdefs.h <<_ACEOF
14257 #define HAVE_LCMS2_H 1
14258 _ACEOF
14262 done
14264 if test "$ac_cv_header_lcms2_h" = "yes"
14265 then
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14267 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14268 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14269 $as_echo_n "(cached) " >&6
14270 else
14271 ac_check_lib_save_LIBS=$LIBS
14272 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14276 /* Override any GCC internal prototype to avoid an error.
14277 Use char because int might match the return type of a GCC
14278 builtin and then its argument prototype would still apply. */
14279 #ifdef __cplusplus
14280 extern "C"
14281 #endif
14282 char cmsOpenProfileFromFile ();
14284 main ()
14286 return cmsOpenProfileFromFile ();
14288 return 0;
14290 _ACEOF
14291 if ac_fn_c_try_link "$LINENO"; then :
14292 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14293 else
14294 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14296 rm -f core conftest.err conftest.$ac_objext \
14297 conftest$ac_exeext conftest.$ac_ext
14298 LIBS=$ac_check_lib_save_LIBS
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14301 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14302 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14304 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14306 else
14307 LCMS2_LIBS=""
14310 else
14311 LCMS2_CFLAGS=""
14312 LCMS2_LIBS=""
14314 CPPFLAGS=$ac_save_CPPFLAGS
14317 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14318 case "x$with_cms" in
14319 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14320 xno) ;;
14321 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14322 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14323 esac
14327 if test "x$with_freetype" != "xno"
14328 then
14329 if ${FREETYPE_CFLAGS:+false} :; then :
14330 if ${PKG_CONFIG+:} false; then :
14331 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14334 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14335 if ${FREETYPE_LIBS:+false} :; then :
14336 if ${PKG_CONFIG+:} false; then :
14337 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14340 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14341 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14342 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14343 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14344 ac_save_CPPFLAGS=$CPPFLAGS
14345 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14346 for ac_header in ft2build.h
14347 do :
14348 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14349 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14350 cat >>confdefs.h <<_ACEOF
14351 #define HAVE_FT2BUILD_H 1
14352 _ACEOF
14356 done
14358 if test "$ac_cv_header_ft2build_h" = "yes"
14359 then
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14361 $as_echo_n "checking for -lfreetype... " >&6; }
14362 if ${ac_cv_lib_soname_freetype+:} false; then :
14363 $as_echo_n "(cached) " >&6
14364 else
14365 ac_check_soname_save_LIBS=$LIBS
14366 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14368 /* end confdefs.h. */
14370 /* Override any GCC internal prototype to avoid an error.
14371 Use char because int might match the return type of a GCC
14372 builtin and then its argument prototype would still apply. */
14373 #ifdef __cplusplus
14374 extern "C"
14375 #endif
14376 char FT_Init_FreeType ();
14378 main ()
14380 return FT_Init_FreeType ();
14382 return 0;
14384 _ACEOF
14385 if ac_fn_c_try_link "$LINENO"; then :
14386 case "$LIBEXT" in
14387 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14388 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'` ;;
14389 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14390 if ${ac_cv_lib_soname_freetype:+false} :; then :
14391 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14392 fi ;;
14393 esac
14394 else
14395 ac_cv_lib_soname_freetype=
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 LIBS=$ac_check_soname_save_LIBS
14401 if ${ac_cv_lib_soname_freetype:+false} :; then :
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14403 $as_echo "not found" >&6; }
14404 FREETYPE_LIBS=""
14405 else
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14407 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14409 cat >>confdefs.h <<_ACEOF
14410 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14411 _ACEOF
14414 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14416 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14417 #include FT_MODULE_H
14419 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14421 cat >>confdefs.h <<_ACEOF
14422 #define HAVE_FT_TRUETYPEENGINETYPE 1
14423 _ACEOF
14429 else
14430 FREETYPE_CFLAGS=""
14431 FREETYPE_LIBS=""
14433 CPPFLAGS=$ac_save_CPPFLAGS
14436 if test "x$ac_cv_lib_soname_freetype" = x; then :
14437 case "x$with_freetype" in
14438 xno) ;;
14439 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14440 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14441 esac
14442 enable_fonts=${enable_fonts:-no}
14445 ac_wine_check_funcs_save_LIBS="$LIBS"
14446 LIBS="$LIBS $PTHREAD_LIBS"
14447 for ac_func in \
14448 pthread_getthreadid_np
14449 do :
14450 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14451 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14452 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14453 cat >>confdefs.h <<_ACEOF
14454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14455 _ACEOF
14458 done
14460 LIBS="$ac_wine_check_funcs_save_LIBS"
14462 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14463 then
14464 if test "$ac_cv_header_gettext_po_h" = "yes"
14465 then
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14467 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14468 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14469 $as_echo_n "(cached) " >&6
14470 else
14471 ac_check_lib_save_LIBS=$LIBS
14472 LIBS="-lgettextpo $LIBS"
14473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14476 /* Override any GCC internal prototype to avoid an error.
14477 Use char because int might match the return type of a GCC
14478 builtin and then its argument prototype would still apply. */
14479 #ifdef __cplusplus
14480 extern "C"
14481 #endif
14482 char po_message_msgctxt ();
14484 main ()
14486 return po_message_msgctxt ();
14488 return 0;
14490 _ACEOF
14491 if ac_fn_c_try_link "$LINENO"; then :
14492 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14493 else
14494 ac_cv_lib_gettextpo_po_message_msgctxt=no
14496 rm -f core conftest.err conftest.$ac_objext \
14497 conftest$ac_exeext conftest.$ac_ext
14498 LIBS=$ac_check_lib_save_LIBS
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14501 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14502 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14504 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14506 GETTEXTPO_LIBS="-lgettextpo"
14511 if test "x$GETTEXTPO_LIBS" = "x"; then :
14512 case "x$with_gettextpo" in
14513 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14514 xno) ;;
14515 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14516 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14517 esac
14520 if test "$srcdir" != .; then :
14521 case "x$with_gettextpo" in
14522 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14523 xno) ;;
14524 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14525 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14526 esac
14531 if test "x$with_pulse" != "xno";
14532 then
14533 if ${PULSE_CFLAGS:+false} :; then :
14534 if ${PKG_CONFIG+:} false; then :
14535 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14539 if ${PULSE_LIBS:+false} :; then :
14540 if ${PKG_CONFIG+:} false; then :
14541 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14546 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14547 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14548 ac_save_CPPFLAGS=$CPPFLAGS
14549 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14550 for ac_header in pulse/pulseaudio.h
14551 do :
14552 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14553 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14554 cat >>confdefs.h <<_ACEOF
14555 #define HAVE_PULSE_PULSEAUDIO_H 1
14556 _ACEOF
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14558 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14559 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14560 $as_echo_n "(cached) " >&6
14561 else
14562 ac_check_lib_save_LIBS=$LIBS
14563 LIBS="-lpulse $PULSE_LIBS $LIBS"
14564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14565 /* end confdefs.h. */
14567 /* Override any GCC internal prototype to avoid an error.
14568 Use char because int might match the return type of a GCC
14569 builtin and then its argument prototype would still apply. */
14570 #ifdef __cplusplus
14571 extern "C"
14572 #endif
14573 char pa_stream_is_corked ();
14575 main ()
14577 return pa_stream_is_corked ();
14579 return 0;
14581 _ACEOF
14582 if ac_fn_c_try_link "$LINENO"; then :
14583 ac_cv_lib_pulse_pa_stream_is_corked=yes
14584 else
14585 ac_cv_lib_pulse_pa_stream_is_corked=no
14587 rm -f core conftest.err conftest.$ac_objext \
14588 conftest$ac_exeext conftest.$ac_ext
14589 LIBS=$ac_check_lib_save_LIBS
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14592 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14593 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14595 else
14596 PULSE_LIBS=""
14599 else
14600 PULSE_LIBS=""
14603 done
14605 CPPFLAGS=$ac_save_CPPFLAGS
14608 if test -z "$PULSE_LIBS"; then :
14609 case "x$with_pulse" in
14610 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14611 xno) ;;
14612 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14613 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14614 esac
14615 enable_winepulse_drv=${enable_winepulse_drv:-no}
14618 if test "x$with_gstreamer" != "xno"
14619 then
14620 if ${GSTREAMER_CFLAGS:+false} :; then :
14621 if ${PKG_CONFIG+:} false; then :
14622 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14626 if ${GSTREAMER_LIBS:+false} :; then :
14627 if ${PKG_CONFIG+:} false; then :
14628 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14633 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14634 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14635 ac_save_CPPFLAGS=$CPPFLAGS
14636 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14637 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14638 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14640 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14642 /* end confdefs.h. */
14643 #include <gst/gst.h>
14645 main ()
14647 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14649 return 0;
14651 _ACEOF
14652 if ac_fn_c_try_compile "$LINENO"; then :
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14654 $as_echo "yes" >&6; }
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14656 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14657 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14658 $as_echo_n "(cached) " >&6
14659 else
14660 ac_check_lib_save_LIBS=$LIBS
14661 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14663 /* end confdefs.h. */
14665 /* Override any GCC internal prototype to avoid an error.
14666 Use char because int might match the return type of a GCC
14667 builtin and then its argument prototype would still apply. */
14668 #ifdef __cplusplus
14669 extern "C"
14670 #endif
14671 char gst_pad_new ();
14673 main ()
14675 return gst_pad_new ();
14677 return 0;
14679 _ACEOF
14680 if ac_fn_c_try_link "$LINENO"; then :
14681 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14682 else
14683 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14685 rm -f core conftest.err conftest.$ac_objext \
14686 conftest$ac_exeext conftest.$ac_ext
14687 LIBS=$ac_check_lib_save_LIBS
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14690 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14691 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14695 else
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14697 $as_echo "no" >&6; }
14698 ac_glib2_broken=yes
14699 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705 CPPFLAGS=$ac_save_CPPFLAGS
14708 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14709 then
14710 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14711 case "x$with_gstreamer" in
14712 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14713 xno) ;;
14714 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14715 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14716 esac
14720 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14722 ALSA_LIBS=""
14724 if test "x$with_alsa" != "xno"
14725 then
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14727 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14728 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14729 $as_echo_n "(cached) " >&6
14730 else
14731 ac_check_lib_save_LIBS=$LIBS
14732 LIBS="-lasound $LIBS"
14733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14734 /* end confdefs.h. */
14736 /* Override any GCC internal prototype to avoid an error.
14737 Use char because int might match the return type of a GCC
14738 builtin and then its argument prototype would still apply. */
14739 #ifdef __cplusplus
14740 extern "C"
14741 #endif
14742 char snd_pcm_hw_params_get_access_mask ();
14744 main ()
14746 return snd_pcm_hw_params_get_access_mask ();
14748 return 0;
14750 _ACEOF
14751 if ac_fn_c_try_link "$LINENO"; then :
14752 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14753 else
14754 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14756 rm -f core conftest.err conftest.$ac_objext \
14757 conftest$ac_exeext conftest.$ac_ext
14758 LIBS=$ac_check_lib_save_LIBS
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14761 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14762 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14765 #include <alsa/asoundlib.h>
14767 main ()
14769 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14771 return 0;
14773 _ACEOF
14774 if ac_fn_c_try_compile "$LINENO"; then :
14775 ALSA_LIBS="-lasound"
14777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14781 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14783 if test "x$with_oss" != xno
14784 then
14785 ac_save_CPPFLAGS="$CPPFLAGS"
14786 if test -f /etc/oss.conf
14787 then
14788 . /etc/oss.conf
14790 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14791 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14792 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14793 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14794 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14796 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14798 cat >>confdefs.h <<_ACEOF
14799 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14800 _ACEOF
14802 OSS4_CFLAGS="$ac_oss_incl"
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14805 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14806 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14807 $as_echo_n "(cached) " >&6
14808 else
14809 ac_check_lib_save_LIBS=$LIBS
14810 LIBS="-lossaudio $LIBS"
14811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14817 #ifdef __cplusplus
14818 extern "C"
14819 #endif
14820 char _oss_ioctl ();
14822 main ()
14824 return _oss_ioctl ();
14826 return 0;
14828 _ACEOF
14829 if ac_fn_c_try_link "$LINENO"; then :
14830 ac_cv_lib_ossaudio__oss_ioctl=yes
14831 else
14832 ac_cv_lib_ossaudio__oss_ioctl=no
14834 rm -f core conftest.err conftest.$ac_objext \
14835 conftest$ac_exeext conftest.$ac_ext
14836 LIBS=$ac_check_lib_save_LIBS
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14839 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14840 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14841 OSS4_LIBS="-lossaudio"
14850 CPPFLAGS="$ac_save_CPPFLAGS"
14852 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14853 case "x$with_oss" in
14854 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14855 xno) ;;
14856 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14857 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14858 esac
14859 enable_wineoss_drv=${enable_wineoss_drv:-no}
14862 if test "x$with_udev" != "xno"
14863 then
14864 if ${UDEV_CFLAGS:+false} :; then :
14865 if ${PKG_CONFIG+:} false; then :
14866 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14870 if ${UDEV_LIBS:+false} :; then :
14871 if ${PKG_CONFIG+:} false; then :
14872 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14876 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14877 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14878 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14879 ac_save_CPPFLAGS=$CPPFLAGS
14880 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14881 for ac_header in libudev.h
14882 do :
14883 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14884 if test "x$ac_cv_header_libudev_h" = xyes; then :
14885 cat >>confdefs.h <<_ACEOF
14886 #define HAVE_LIBUDEV_H 1
14887 _ACEOF
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14889 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14890 if ${ac_cv_lib_udev_udev_new+:} false; then :
14891 $as_echo_n "(cached) " >&6
14892 else
14893 ac_check_lib_save_LIBS=$LIBS
14894 LIBS="-ludev $UDEV_LIBS $LIBS"
14895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14896 /* end confdefs.h. */
14898 /* Override any GCC internal prototype to avoid an error.
14899 Use char because int might match the return type of a GCC
14900 builtin and then its argument prototype would still apply. */
14901 #ifdef __cplusplus
14902 extern "C"
14903 #endif
14904 char udev_new ();
14906 main ()
14908 return udev_new ();
14910 return 0;
14912 _ACEOF
14913 if ac_fn_c_try_link "$LINENO"; then :
14914 ac_cv_lib_udev_udev_new=yes
14915 else
14916 ac_cv_lib_udev_udev_new=no
14918 rm -f core conftest.err conftest.$ac_objext \
14919 conftest$ac_exeext conftest.$ac_ext
14920 LIBS=$ac_check_lib_save_LIBS
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14923 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14924 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14926 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14928 else
14929 UDEV_LIBS=""
14932 else
14933 UDEV_LIBS=""
14936 done
14938 CPPFLAGS=$ac_save_CPPFLAGS
14941 if test "x$UDEV_LIBS" = "x"; then :
14942 case "x$with_udev" in
14943 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14944 xno) ;;
14945 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14946 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14947 esac
14951 if test "x$with_unwind" != xno
14952 then
14953 if ${UNWIND_CFLAGS:+false} :; then :
14954 if ${PKG_CONFIG+:} false; then :
14955 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14959 if ${UNWIND_LIBS:+false} :; then :
14960 if ${PKG_CONFIG+:} false; then :
14961 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14965 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14966 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14967 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14968 ac_save_CPPFLAGS=$CPPFLAGS
14969 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14971 $as_echo_n "checking for unw_step... " >&6; }
14972 if ${wine_cv_have_unw_step+:} false; then :
14973 $as_echo_n "(cached) " >&6
14974 else
14975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14977 #define UNW_LOCAL_ONLY
14978 #include <libunwind.h>
14980 main ()
14982 unw_cursor_t cursor; unw_step( &cursor );
14984 return 0;
14986 _ACEOF
14987 if ac_fn_c_try_link "$LINENO"; then :
14988 wine_cv_have_unw_step="yes"
14989 else
14990 wine_cv_have_unw_step="no"
14992 rm -f core conftest.err conftest.$ac_objext \
14993 conftest$ac_exeext conftest.$ac_ext
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14996 $as_echo "$wine_cv_have_unw_step" >&6; }
14997 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14998 then
14999 save_libs=$LIBS
15000 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
15001 LIBS="$UNWIND_LIBS $LIBS"
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15003 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15004 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15005 $as_echo_n "(cached) " >&6
15006 else
15007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15008 /* end confdefs.h. */
15009 #define UNW_LOCAL_ONLY
15010 #include <libunwind.h>
15012 main ()
15014 unw_cursor_t cursor; unw_step( &cursor );
15016 return 0;
15018 _ACEOF
15019 if ac_fn_c_try_link "$LINENO"; then :
15020 wine_cv_have_libunwind_unw_step="yes"
15021 else
15022 wine_cv_have_libunwind_unw_step="no"
15024 rm -f core conftest.err conftest.$ac_objext \
15025 conftest$ac_exeext conftest.$ac_ext
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15028 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15029 LIBS=$save_libs
15031 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15032 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15033 then
15035 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15038 CPPFLAGS=$ac_save_CPPFLAGS
15041 case $host in
15042 aarch64*|*-darwin*)
15043 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15044 case "x$with_unwind" in
15045 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15046 xno) ;;
15047 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15048 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15049 esac
15051 fi ;;
15052 esac
15054 if test "x$with_sdl" != "xno"
15055 then
15056 if ${SDL2_CFLAGS:+false} :; then :
15057 if ${PKG_CONFIG+:} false; then :
15058 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15062 if ${SDL2_LIBS:+false} :; then :
15063 if ${PKG_CONFIG+:} false; then :
15064 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15068 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15069 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15070 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15071 ac_save_CPPFLAGS=$CPPFLAGS
15072 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15073 for ac_header in SDL.h
15074 do :
15075 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15076 if test "x$ac_cv_header_SDL_h" = xyes; then :
15077 cat >>confdefs.h <<_ACEOF
15078 #define HAVE_SDL_H 1
15079 _ACEOF
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15081 $as_echo_n "checking for -lSDL2... " >&6; }
15082 if ${ac_cv_lib_soname_SDL2+:} false; then :
15083 $as_echo_n "(cached) " >&6
15084 else
15085 ac_check_soname_save_LIBS=$LIBS
15086 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15088 /* end confdefs.h. */
15090 /* Override any GCC internal prototype to avoid an error.
15091 Use char because int might match the return type of a GCC
15092 builtin and then its argument prototype would still apply. */
15093 #ifdef __cplusplus
15094 extern "C"
15095 #endif
15096 char SDL_Init ();
15098 main ()
15100 return SDL_Init ();
15102 return 0;
15104 _ACEOF
15105 if ac_fn_c_try_link "$LINENO"; then :
15106 case "$LIBEXT" in
15107 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15108 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'` ;;
15109 *) 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'`
15110 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15111 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15112 fi ;;
15113 esac
15114 else
15115 ac_cv_lib_soname_SDL2=
15117 rm -f core conftest.err conftest.$ac_objext \
15118 conftest$ac_exeext conftest.$ac_ext
15119 LIBS=$ac_check_soname_save_LIBS
15121 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15123 $as_echo "not found" >&6; }
15125 else
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15127 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15129 cat >>confdefs.h <<_ACEOF
15130 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15131 _ACEOF
15137 done
15139 CPPFLAGS=$ac_save_CPPFLAGS
15142 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15143 case "x$with_sdl" in
15144 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15145 xno) ;;
15146 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15147 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15148 esac
15152 if test "x$with_faudio" != "xno"
15153 then
15154 if ${FAUDIO_CFLAGS:+false} :; then :
15155 if ${PKG_CONFIG+:} false; then :
15156 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15160 if ${FAUDIO_LIBS:+false} :; then :
15161 if ${PKG_CONFIG+:} false; then :
15162 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15166 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15167 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15168 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15169 ac_save_CPPFLAGS=$CPPFLAGS
15170 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15171 for ac_header in FAudio.h
15172 do :
15173 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15174 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15175 cat >>confdefs.h <<_ACEOF
15176 #define HAVE_FAUDIO_H 1
15177 _ACEOF
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15179 $as_echo_n "checking for -lFAudio... " >&6; }
15180 if ${ac_cv_lib_soname_FAudio+:} false; then :
15181 $as_echo_n "(cached) " >&6
15182 else
15183 ac_check_soname_save_LIBS=$LIBS
15184 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15188 /* Override any GCC internal prototype to avoid an error.
15189 Use char because int might match the return type of a GCC
15190 builtin and then its argument prototype would still apply. */
15191 #ifdef __cplusplus
15192 extern "C"
15193 #endif
15194 char FAudioCreate ();
15196 main ()
15198 return FAudioCreate ();
15200 return 0;
15202 _ACEOF
15203 if ac_fn_c_try_link "$LINENO"; then :
15204 case "$LIBEXT" in
15205 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15206 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'` ;;
15207 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15208 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15209 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15210 fi ;;
15211 esac
15212 else
15213 ac_cv_lib_soname_FAudio=
15215 rm -f core conftest.err conftest.$ac_objext \
15216 conftest$ac_exeext conftest.$ac_ext
15217 LIBS=$ac_check_soname_save_LIBS
15219 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15221 $as_echo "not found" >&6; }
15223 else
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15225 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15227 cat >>confdefs.h <<_ACEOF
15228 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15229 _ACEOF
15235 done
15237 ac_wine_check_funcs_save_LIBS="$LIBS"
15238 LIBS="$LIBS $FAUDIO_LIBS"
15239 for ac_func in FAudio_CommitOperationSet \
15240 F3DAudioInitialize8 \
15241 FAudioLinkedVersion \
15242 FAudioCreateReverb9WithCustomAllocatorEXT
15243 do :
15244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15246 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15247 cat >>confdefs.h <<_ACEOF
15248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15249 _ACEOF
15252 done
15254 LIBS="$ac_wine_check_funcs_save_LIBS"
15256 CPPFLAGS=$ac_save_CPPFLAGS
15259 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15260 case "x$with_faudio" in
15261 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15262 xno) ;;
15263 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15264 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15265 esac
15269 if test "x$with_capi" != "xno"
15270 then
15271 if ${CAPI20_CFLAGS:+false} :; then :
15272 if ${PKG_CONFIG+:} false; then :
15273 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15277 if ${CAPI20_LIBS:+false} :; then :
15278 if ${PKG_CONFIG+:} false; then :
15279 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15284 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15285 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15286 ac_save_CPPFLAGS=$CPPFLAGS
15287 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15288 for ac_header in capi20.h linux/capi.h
15289 do :
15290 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15291 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15293 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15294 cat >>confdefs.h <<_ACEOF
15295 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15296 _ACEOF
15300 done
15302 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15303 then
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15305 $as_echo_n "checking for -lcapi20... " >&6; }
15306 if ${ac_cv_lib_soname_capi20+:} false; then :
15307 $as_echo_n "(cached) " >&6
15308 else
15309 ac_check_soname_save_LIBS=$LIBS
15310 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15314 /* Override any GCC internal prototype to avoid an error.
15315 Use char because int might match the return type of a GCC
15316 builtin and then its argument prototype would still apply. */
15317 #ifdef __cplusplus
15318 extern "C"
15319 #endif
15320 char capi20_register ();
15322 main ()
15324 return capi20_register ();
15326 return 0;
15328 _ACEOF
15329 if ac_fn_c_try_link "$LINENO"; then :
15330 case "$LIBEXT" in
15331 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15332 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'` ;;
15333 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15334 if ${ac_cv_lib_soname_capi20:+false} :; then :
15335 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15336 fi ;;
15337 esac
15338 else
15339 ac_cv_lib_soname_capi20=
15341 rm -f core conftest.err conftest.$ac_objext \
15342 conftest$ac_exeext conftest.$ac_ext
15343 LIBS=$ac_check_soname_save_LIBS
15345 if ${ac_cv_lib_soname_capi20:+false} :; then :
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15347 $as_echo "not found" >&6; }
15349 else
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15351 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15353 cat >>confdefs.h <<_ACEOF
15354 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15355 _ACEOF
15360 CPPFLAGS=$ac_save_CPPFLAGS
15363 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15364 case "x$with_capi" in
15365 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15366 xno) ;;
15367 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15368 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15369 esac
15373 if test "x$with_cups" != "xno"
15374 then
15375 if ${CUPS_CFLAGS:+false} :; then :
15376 if ${PKG_CONFIG+:} false; then :
15377 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15380 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15381 if ${CUPS_LIBS:+false} :; then :
15382 if ${PKG_CONFIG+:} false; then :
15383 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15386 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15387 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15388 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15389 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15390 ac_save_CPPFLAGS=$CPPFLAGS
15391 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15392 for ac_header in cups/cups.h cups/ppd.h
15393 do :
15394 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15395 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15396 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15397 cat >>confdefs.h <<_ACEOF
15398 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15399 _ACEOF
15403 done
15405 if test "$ac_cv_header_cups_cups_h" = "yes"
15406 then
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15408 $as_echo_n "checking for -lcups... " >&6; }
15409 if ${ac_cv_lib_soname_cups+:} false; then :
15410 $as_echo_n "(cached) " >&6
15411 else
15412 ac_check_soname_save_LIBS=$LIBS
15413 LIBS="-lcups $CUPS_LIBS $LIBS"
15414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15417 /* Override any GCC internal prototype to avoid an error.
15418 Use char because int might match the return type of a GCC
15419 builtin and then its argument prototype would still apply. */
15420 #ifdef __cplusplus
15421 extern "C"
15422 #endif
15423 char cupsGetDefault ();
15425 main ()
15427 return cupsGetDefault ();
15429 return 0;
15431 _ACEOF
15432 if ac_fn_c_try_link "$LINENO"; then :
15433 case "$LIBEXT" in
15434 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15435 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'` ;;
15436 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15437 if ${ac_cv_lib_soname_cups:+false} :; then :
15438 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15439 fi ;;
15440 esac
15441 else
15442 ac_cv_lib_soname_cups=
15444 rm -f core conftest.err conftest.$ac_objext \
15445 conftest$ac_exeext conftest.$ac_ext
15446 LIBS=$ac_check_soname_save_LIBS
15448 if ${ac_cv_lib_soname_cups:+false} :; then :
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15450 $as_echo "not found" >&6; }
15451 CUPS_LIBS=""
15452 else
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15454 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15456 cat >>confdefs.h <<_ACEOF
15457 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15458 _ACEOF
15462 else
15463 CUPS_CFLAGS=""
15464 CUPS_LIBS=""
15466 CPPFLAGS=$ac_save_CPPFLAGS
15469 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15470 case "x$with_cups" in
15471 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15472 xno) ;;
15473 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15474 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15475 esac
15479 if test "x$with_fontconfig" != "xno"
15480 then
15481 if ${FONTCONFIG_CFLAGS:+false} :; then :
15482 if ${PKG_CONFIG+:} false; then :
15483 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15486 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15487 if ${FONTCONFIG_LIBS:+false} :; then :
15488 if ${PKG_CONFIG+:} false; then :
15489 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15492 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15494 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15495 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15496 ac_save_CPPFLAGS=$CPPFLAGS
15497 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15498 for ac_header in fontconfig/fontconfig.h
15499 do :
15500 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15501 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15502 cat >>confdefs.h <<_ACEOF
15503 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15504 _ACEOF
15508 done
15510 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15511 then
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15513 $as_echo_n "checking for -lfontconfig... " >&6; }
15514 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15515 $as_echo_n "(cached) " >&6
15516 else
15517 ac_check_soname_save_LIBS=$LIBS
15518 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15520 /* end confdefs.h. */
15522 /* Override any GCC internal prototype to avoid an error.
15523 Use char because int might match the return type of a GCC
15524 builtin and then its argument prototype would still apply. */
15525 #ifdef __cplusplus
15526 extern "C"
15527 #endif
15528 char FcInit ();
15530 main ()
15532 return FcInit ();
15534 return 0;
15536 _ACEOF
15537 if ac_fn_c_try_link "$LINENO"; then :
15538 case "$LIBEXT" in
15539 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15540 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'` ;;
15541 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15542 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15543 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15544 fi ;;
15545 esac
15546 else
15547 ac_cv_lib_soname_fontconfig=
15549 rm -f core conftest.err conftest.$ac_objext \
15550 conftest$ac_exeext conftest.$ac_ext
15551 LIBS=$ac_check_soname_save_LIBS
15553 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15555 $as_echo "not found" >&6; }
15556 FONTCONFIG_CFLAGS=""
15557 else
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15559 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15561 cat >>confdefs.h <<_ACEOF
15562 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15563 _ACEOF
15567 else
15568 FONTCONFIG_CFLAGS=""
15570 CPPFLAGS=$ac_save_CPPFLAGS
15573 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15574 case "x$with_fontconfig" in
15575 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15576 xno) ;;
15577 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15578 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15579 esac
15583 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15584 then
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15586 $as_echo_n "checking for -lgsm... " >&6; }
15587 if ${ac_cv_lib_soname_gsm+:} false; then :
15588 $as_echo_n "(cached) " >&6
15589 else
15590 ac_check_soname_save_LIBS=$LIBS
15591 LIBS="-lgsm $LIBS"
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15595 /* Override any GCC internal prototype to avoid an error.
15596 Use char because int might match the return type of a GCC
15597 builtin and then its argument prototype would still apply. */
15598 #ifdef __cplusplus
15599 extern "C"
15600 #endif
15601 char gsm_create ();
15603 main ()
15605 return gsm_create ();
15607 return 0;
15609 _ACEOF
15610 if ac_fn_c_try_link "$LINENO"; then :
15611 case "$LIBEXT" in
15612 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15613 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'` ;;
15614 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15615 if ${ac_cv_lib_soname_gsm:+false} :; then :
15616 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15617 fi ;;
15618 esac
15619 else
15620 ac_cv_lib_soname_gsm=
15622 rm -f core conftest.err conftest.$ac_objext \
15623 conftest$ac_exeext conftest.$ac_ext
15624 LIBS=$ac_check_soname_save_LIBS
15626 if ${ac_cv_lib_soname_gsm:+false} :; then :
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15628 $as_echo "not found" >&6; }
15630 else
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15632 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15634 cat >>confdefs.h <<_ACEOF
15635 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15636 _ACEOF
15641 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15642 case "x$with_gsm" in
15643 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15644 xno) ;;
15645 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15646 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15647 esac
15651 if test "x$with_krb5" != "xno"
15652 then
15653 if ${KRB5_CFLAGS:+false} :; then :
15654 if ${PKG_CONFIG+:} false; then :
15655 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15658 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15659 if ${KRB5_LIBS:+false} :; then :
15660 if ${PKG_CONFIG+:} false; then :
15661 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15664 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15666 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15667 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15668 ac_save_CPPFLAGS=$CPPFLAGS
15669 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15670 for ac_header in krb5/krb5.h
15671 do :
15672 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15673 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15674 cat >>confdefs.h <<_ACEOF
15675 #define HAVE_KRB5_KRB5_H 1
15676 _ACEOF
15680 done
15682 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15683 then
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15685 $as_echo_n "checking for -lkrb5... " >&6; }
15686 if ${ac_cv_lib_soname_krb5+:} false; then :
15687 $as_echo_n "(cached) " >&6
15688 else
15689 ac_check_soname_save_LIBS=$LIBS
15690 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15692 /* end confdefs.h. */
15694 /* Override any GCC internal prototype to avoid an error.
15695 Use char because int might match the return type of a GCC
15696 builtin and then its argument prototype would still apply. */
15697 #ifdef __cplusplus
15698 extern "C"
15699 #endif
15700 char krb5_is_config_principal ();
15702 main ()
15704 return krb5_is_config_principal ();
15706 return 0;
15708 _ACEOF
15709 if ac_fn_c_try_link "$LINENO"; then :
15710 case "$LIBEXT" in
15711 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15712 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'` ;;
15713 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15714 if ${ac_cv_lib_soname_krb5:+false} :; then :
15715 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15716 fi ;;
15717 esac
15718 else
15719 ac_cv_lib_soname_krb5=
15721 rm -f core conftest.err conftest.$ac_objext \
15722 conftest$ac_exeext conftest.$ac_ext
15723 LIBS=$ac_check_soname_save_LIBS
15725 if ${ac_cv_lib_soname_krb5:+false} :; then :
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15727 $as_echo "not found" >&6; }
15728 KRB5_CFLAGS=""
15729 else
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15731 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15733 cat >>confdefs.h <<_ACEOF
15734 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15735 _ACEOF
15739 else
15740 KRB5_CFLAGS=""
15742 CPPFLAGS=$ac_save_CPPFLAGS
15745 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15746 case "x$with_krb5" in
15747 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15748 xno) ;;
15749 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15750 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15751 esac
15754 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15756 if test "x$with_gssapi" != "xno"
15757 then
15758 if ${GSSAPI_CFLAGS:+false} :; then :
15759 if ${PKG_CONFIG+:} false; then :
15760 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15763 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15764 if ${GSSAPI_LIBS:+false} :; then :
15765 if ${PKG_CONFIG+:} false; then :
15766 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15769 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15771 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15772 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15773 ac_save_CPPFLAGS=$CPPFLAGS
15774 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15775 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15776 do :
15777 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15778 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15779 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15780 cat >>confdefs.h <<_ACEOF
15781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15782 _ACEOF
15786 done
15788 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15789 then
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15791 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15792 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15793 $as_echo_n "(cached) " >&6
15794 else
15795 ac_check_soname_save_LIBS=$LIBS
15796 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15798 /* end confdefs.h. */
15800 /* Override any GCC internal prototype to avoid an error.
15801 Use char because int might match the return type of a GCC
15802 builtin and then its argument prototype would still apply. */
15803 #ifdef __cplusplus
15804 extern "C"
15805 #endif
15806 char gss_init_sec_context ();
15808 main ()
15810 return gss_init_sec_context ();
15812 return 0;
15814 _ACEOF
15815 if ac_fn_c_try_link "$LINENO"; then :
15816 case "$LIBEXT" in
15817 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15818 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'` ;;
15819 *) 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'`
15820 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15821 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15822 fi ;;
15823 esac
15824 else
15825 ac_cv_lib_soname_gssapi_krb5=
15827 rm -f core conftest.err conftest.$ac_objext \
15828 conftest$ac_exeext conftest.$ac_ext
15829 LIBS=$ac_check_soname_save_LIBS
15831 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15833 $as_echo "not found" >&6; }
15834 GSSAPI_CFLAGS=""
15835 else
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15837 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15839 cat >>confdefs.h <<_ACEOF
15840 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15841 _ACEOF
15845 else
15846 GSSAPI_CFLAGS=""
15848 CPPFLAGS=$ac_save_CPPFLAGS
15851 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15852 case "x$with_gssapi" in
15853 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15854 xno) ;;
15855 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15856 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15857 esac
15861 if test "x$with_jpeg" != "xno"
15862 then
15863 if ${JPEG_CFLAGS:+false} :; then :
15864 if ${PKG_CONFIG+:} false; then :
15865 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15869 if ${JPEG_LIBS:+false} :; then :
15870 if ${PKG_CONFIG+:} false; then :
15871 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15876 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15877 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15878 ac_save_CPPFLAGS=$CPPFLAGS
15879 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15880 for ac_header in jpeglib.h
15881 do :
15882 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15883 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15884 cat >>confdefs.h <<_ACEOF
15885 #define HAVE_JPEGLIB_H 1
15886 _ACEOF
15890 done
15892 if test "$ac_cv_header_jpeglib_h" = "yes"
15893 then
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15895 $as_echo_n "checking for -ljpeg... " >&6; }
15896 if ${ac_cv_lib_soname_jpeg+:} false; then :
15897 $as_echo_n "(cached) " >&6
15898 else
15899 ac_check_soname_save_LIBS=$LIBS
15900 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15904 /* Override any GCC internal prototype to avoid an error.
15905 Use char because int might match the return type of a GCC
15906 builtin and then its argument prototype would still apply. */
15907 #ifdef __cplusplus
15908 extern "C"
15909 #endif
15910 char jpeg_start_decompress ();
15912 main ()
15914 return jpeg_start_decompress ();
15916 return 0;
15918 _ACEOF
15919 if ac_fn_c_try_link "$LINENO"; then :
15920 case "$LIBEXT" in
15921 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15922 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'` ;;
15923 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15924 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15925 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15926 fi ;;
15927 esac
15928 else
15929 ac_cv_lib_soname_jpeg=
15931 rm -f core conftest.err conftest.$ac_objext \
15932 conftest$ac_exeext conftest.$ac_ext
15933 LIBS=$ac_check_soname_save_LIBS
15935 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15937 $as_echo "not found" >&6; }
15938 JPEG_CFLAGS=""
15939 else
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15941 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15943 cat >>confdefs.h <<_ACEOF
15944 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15945 _ACEOF
15949 else
15950 JPEG_CFLAGS=""
15952 CPPFLAGS=$ac_save_CPPFLAGS
15955 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15956 case "x$with_jpeg" in
15957 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15958 xno) ;;
15959 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15960 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15961 esac
15965 if test "x$with_jxrlib" != "xno"
15966 then
15967 if ${JXRLIB_CFLAGS:+false} :; then :
15968 if ${PKG_CONFIG+:} false; then :
15969 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15972 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15973 if ${JXRLIB_LIBS:+false} :; then :
15974 if ${PKG_CONFIG+:} false; then :
15975 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15980 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15981 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15982 ac_save_CPPFLAGS=$CPPFLAGS
15983 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15984 for ac_header in JXRGlue.h
15985 do :
15986 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15988 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15989 cat >>confdefs.h <<_ACEOF
15990 #define HAVE_JXRGLUE_H 1
15991 _ACEOF
15995 done
15997 if test "$ac_cv_header_JXRGlue_h" = "yes"
15998 then
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
16000 $as_echo_n "checking for -ljxrglue... " >&6; }
16001 if ${ac_cv_lib_soname_jxrglue+:} false; then :
16002 $as_echo_n "(cached) " >&6
16003 else
16004 ac_check_soname_save_LIBS=$LIBS
16005 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
16006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16007 /* end confdefs.h. */
16009 /* Override any GCC internal prototype to avoid an error.
16010 Use char because int might match the return type of a GCC
16011 builtin and then its argument prototype would still apply. */
16012 #ifdef __cplusplus
16013 extern "C"
16014 #endif
16015 char PKImageDecode_Create_WMP ();
16017 main ()
16019 return PKImageDecode_Create_WMP ();
16021 return 0;
16023 _ACEOF
16024 if ac_fn_c_try_link "$LINENO"; then :
16025 case "$LIBEXT" in
16026 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16027 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'` ;;
16028 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16029 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16030 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16031 fi ;;
16032 esac
16033 else
16034 ac_cv_lib_soname_jxrglue=
16036 rm -f core conftest.err conftest.$ac_objext \
16037 conftest$ac_exeext conftest.$ac_ext
16038 LIBS=$ac_check_soname_save_LIBS
16040 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16042 $as_echo "not found" >&6; }
16043 JXRLIB_CFLAGS=""
16044 else
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16046 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16048 cat >>confdefs.h <<_ACEOF
16049 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16050 _ACEOF
16054 else
16055 JXRLIB_CFLAGS=""
16057 CPPFLAGS=$ac_save_CPPFLAGS
16060 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16061 case "x$with_jxrlib" in
16062 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16063 xno) ;;
16064 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16065 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16066 esac
16070 if test "x$with_png" != "xno"
16071 then
16072 if ${PNG_CFLAGS:+false} :; then :
16073 if ${PKG_CONFIG+:} false; then :
16074 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16077 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16078 if ${PNG_LIBS:+false} :; then :
16079 if ${PKG_CONFIG+:} false; then :
16080 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16083 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16085 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16086 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16087 ac_save_CPPFLAGS=$CPPFLAGS
16088 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16089 for ac_header in png.h
16090 do :
16091 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16092 if test "x$ac_cv_header_png_h" = xyes; then :
16093 cat >>confdefs.h <<_ACEOF
16094 #define HAVE_PNG_H 1
16095 _ACEOF
16099 done
16101 if test "$ac_cv_header_png_h" = "yes"
16102 then
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16104 $as_echo_n "checking for -lpng... " >&6; }
16105 if ${ac_cv_lib_soname_png+:} false; then :
16106 $as_echo_n "(cached) " >&6
16107 else
16108 ac_check_soname_save_LIBS=$LIBS
16109 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16111 /* end confdefs.h. */
16113 /* Override any GCC internal prototype to avoid an error.
16114 Use char because int might match the return type of a GCC
16115 builtin and then its argument prototype would still apply. */
16116 #ifdef __cplusplus
16117 extern "C"
16118 #endif
16119 char png_create_read_struct ();
16121 main ()
16123 return png_create_read_struct ();
16125 return 0;
16127 _ACEOF
16128 if ac_fn_c_try_link "$LINENO"; then :
16129 case "$LIBEXT" in
16130 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16131 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'` ;;
16132 *) 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'`
16133 if ${ac_cv_lib_soname_png:+false} :; then :
16134 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16135 fi ;;
16136 esac
16137 else
16138 ac_cv_lib_soname_png=
16140 rm -f core conftest.err conftest.$ac_objext \
16141 conftest$ac_exeext conftest.$ac_ext
16142 LIBS=$ac_check_soname_save_LIBS
16144 if ${ac_cv_lib_soname_png:+false} :; then :
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16146 $as_echo "not found" >&6; }
16147 PNG_CFLAGS=""
16148 else
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16150 $as_echo "$ac_cv_lib_soname_png" >&6; }
16152 cat >>confdefs.h <<_ACEOF
16153 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16154 _ACEOF
16158 else
16159 PNG_CFLAGS=""
16161 CPPFLAGS=$ac_save_CPPFLAGS
16164 if test "x$ac_cv_lib_soname_png" = "x"; then :
16165 case "x$with_png" in
16166 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16167 xno) ;;
16168 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16169 This is an error since --with-png was requested." "$LINENO" 5 ;;
16170 esac
16174 if test "x$with_tiff" != "xno"
16175 then
16176 if ${TIFF_CFLAGS:+false} :; then :
16177 if ${PKG_CONFIG+:} false; then :
16178 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16182 if ${TIFF_LIBS:+false} :; then :
16183 if ${PKG_CONFIG+:} false; then :
16184 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16189 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16190 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16191 ac_save_CPPFLAGS=$CPPFLAGS
16192 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16193 for ac_header in tiffio.h
16194 do :
16195 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16196 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16197 cat >>confdefs.h <<_ACEOF
16198 #define HAVE_TIFFIO_H 1
16199 _ACEOF
16203 done
16205 if test "$ac_cv_header_tiffio_h" = "yes"
16206 then
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16208 $as_echo_n "checking for -ltiff... " >&6; }
16209 if ${ac_cv_lib_soname_tiff+:} false; then :
16210 $as_echo_n "(cached) " >&6
16211 else
16212 ac_check_soname_save_LIBS=$LIBS
16213 LIBS="-ltiff $TIFF_LIBS $LIBS"
16214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16215 /* end confdefs.h. */
16217 /* Override any GCC internal prototype to avoid an error.
16218 Use char because int might match the return type of a GCC
16219 builtin and then its argument prototype would still apply. */
16220 #ifdef __cplusplus
16221 extern "C"
16222 #endif
16223 char TIFFClientOpen ();
16225 main ()
16227 return TIFFClientOpen ();
16229 return 0;
16231 _ACEOF
16232 if ac_fn_c_try_link "$LINENO"; then :
16233 case "$LIBEXT" in
16234 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16235 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'` ;;
16236 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16237 if ${ac_cv_lib_soname_tiff:+false} :; then :
16238 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16239 fi ;;
16240 esac
16241 else
16242 ac_cv_lib_soname_tiff=
16244 rm -f core conftest.err conftest.$ac_objext \
16245 conftest$ac_exeext conftest.$ac_ext
16246 LIBS=$ac_check_soname_save_LIBS
16248 if ${ac_cv_lib_soname_tiff:+false} :; then :
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16250 $as_echo "not found" >&6; }
16252 else
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16254 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16256 cat >>confdefs.h <<_ACEOF
16257 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16258 _ACEOF
16263 CPPFLAGS=$ac_save_CPPFLAGS
16266 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16267 case "x$with_tiff" in
16268 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16269 xno) ;;
16270 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16271 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16272 esac
16276 if test "x$with_mpg123" != "xno"
16277 then
16278 if ${MPG123_CFLAGS:+false} :; then :
16279 if ${PKG_CONFIG+:} false; then :
16280 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16284 if ${MPG123_LIBS:+false} :; then :
16285 if ${PKG_CONFIG+:} false; then :
16286 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16290 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16291 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16292 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16293 ac_save_CPPFLAGS=$CPPFLAGS
16294 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16295 for ac_header in mpg123.h
16296 do :
16297 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16298 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16299 cat >>confdefs.h <<_ACEOF
16300 #define HAVE_MPG123_H 1
16301 _ACEOF
16305 done
16307 if test "$ac_cv_header_mpg123_h" = "yes"
16308 then
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16310 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16311 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16312 $as_echo_n "(cached) " >&6
16313 else
16314 ac_check_lib_save_LIBS=$LIBS
16315 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16319 /* Override any GCC internal prototype to avoid an error.
16320 Use char because int might match the return type of a GCC
16321 builtin and then its argument prototype would still apply. */
16322 #ifdef __cplusplus
16323 extern "C"
16324 #endif
16325 char mpg123_feed ();
16327 main ()
16329 return mpg123_feed ();
16331 return 0;
16333 _ACEOF
16334 if ac_fn_c_try_link "$LINENO"; then :
16335 ac_cv_lib_mpg123_mpg123_feed=yes
16336 else
16337 ac_cv_lib_mpg123_mpg123_feed=no
16339 rm -f core conftest.err conftest.$ac_objext \
16340 conftest$ac_exeext conftest.$ac_ext
16341 LIBS=$ac_check_lib_save_LIBS
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16344 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16345 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16347 else
16348 MPG123_LIBS=""
16351 else
16352 MPG123_CFLAGS=""
16353 MPG123_LIBS=""
16355 CPPFLAGS=$ac_save_CPPFLAGS
16358 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16359 case "x$with_mpg123" in
16360 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16361 xno) ;;
16362 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16363 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16364 esac
16365 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16367 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16369 if test "$ac_cv_header_AL_al_h" = "yes"
16370 then
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16372 $as_echo_n "checking for -lopenal... " >&6; }
16373 if ${ac_cv_lib_soname_openal+:} false; then :
16374 $as_echo_n "(cached) " >&6
16375 else
16376 ac_check_soname_save_LIBS=$LIBS
16377 LIBS="-lopenal $LIBS"
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16381 /* Override any GCC internal prototype to avoid an error.
16382 Use char because int might match the return type of a GCC
16383 builtin and then its argument prototype would still apply. */
16384 #ifdef __cplusplus
16385 extern "C"
16386 #endif
16387 char alGetSource3i ();
16389 main ()
16391 return alGetSource3i ();
16393 return 0;
16395 _ACEOF
16396 if ac_fn_c_try_link "$LINENO"; then :
16397 case "$LIBEXT" in
16398 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16399 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'` ;;
16400 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16401 if ${ac_cv_lib_soname_openal:+false} :; then :
16402 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16403 fi ;;
16404 esac
16405 else
16406 ac_cv_lib_soname_openal=
16408 rm -f core conftest.err conftest.$ac_objext \
16409 conftest$ac_exeext conftest.$ac_ext
16410 LIBS=$ac_check_soname_save_LIBS
16412 if ${ac_cv_lib_soname_openal:+false} :; then :
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16414 $as_echo "not found" >&6; }
16416 else
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16418 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16420 cat >>confdefs.h <<_ACEOF
16421 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16422 _ACEOF
16424 OPENAL_LIBS="-lopenal"
16426 ac_cv_lib_openal=yes
16428 cat >>confdefs.h <<_ACEOF
16429 #define HAVE_OPENAL 1
16430 _ACEOF
16434 if test "x$ac_cv_lib_openal" != xyes; then :
16435 case "x$with_openal" in
16436 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16437 xno) ;;
16438 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16439 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16440 esac
16441 enable_openal32=${enable_openal32:-no}
16444 if test "x$ac_cv_lib_soname_FAudio" = "x"
16445 then
16446 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16447 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16448 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16449 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16450 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16451 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16452 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16453 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16454 enable_xactengine2_0=${enable_xactengine2_0:-no}
16455 enable_xactengine2_4=${enable_xactengine2_4:-no}
16456 enable_xactengine2_7=${enable_xactengine2_7:-no}
16457 enable_xactengine2_9=${enable_xactengine2_9:-no}
16458 enable_xactengine3_0=${enable_xactengine3_0:-no}
16459 enable_xactengine3_1=${enable_xactengine3_1:-no}
16460 enable_xactengine3_2=${enable_xactengine3_2:-no}
16461 enable_xactengine3_3=${enable_xactengine3_3:-no}
16462 enable_xactengine3_4=${enable_xactengine3_4:-no}
16463 enable_xactengine3_5=${enable_xactengine3_5:-no}
16464 enable_xactengine3_6=${enable_xactengine3_6:-no}
16465 enable_xactengine3_7=${enable_xactengine3_7:-no}
16466 enable_xapofx1_1=${enable_xapofx1_1:-no}
16467 enable_xapofx1_2=${enable_xapofx1_2:-no}
16468 enable_xapofx1_3=${enable_xapofx1_3:-no}
16469 enable_xapofx1_4=${enable_xapofx1_4:-no}
16470 enable_xapofx1_5=${enable_xapofx1_5:-no}
16471 enable_xaudio2_0=${enable_xaudio2_0:-no}
16472 enable_xaudio2_1=${enable_xaudio2_1:-no}
16473 enable_xaudio2_2=${enable_xaudio2_2:-no}
16474 enable_xaudio2_3=${enable_xaudio2_3:-no}
16475 enable_xaudio2_4=${enable_xaudio2_4:-no}
16476 enable_xaudio2_5=${enable_xaudio2_5:-no}
16477 enable_xaudio2_6=${enable_xaudio2_6:-no}
16478 enable_xaudio2_7=${enable_xaudio2_7:-no}
16479 enable_xaudio2_8=${enable_xaudio2_8:-no}
16480 enable_xaudio2_9=${enable_xaudio2_9:-no}
16483 if test "$ac_cv_header_kstat_h" = "yes"
16484 then
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16486 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16487 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16488 $as_echo_n "(cached) " >&6
16489 else
16490 ac_check_lib_save_LIBS=$LIBS
16491 LIBS="-lkstat $LIBS"
16492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16495 /* Override any GCC internal prototype to avoid an error.
16496 Use char because int might match the return type of a GCC
16497 builtin and then its argument prototype would still apply. */
16498 #ifdef __cplusplus
16499 extern "C"
16500 #endif
16501 char kstat_open ();
16503 main ()
16505 return kstat_open ();
16507 return 0;
16509 _ACEOF
16510 if ac_fn_c_try_link "$LINENO"; then :
16511 ac_cv_lib_kstat_kstat_open=yes
16512 else
16513 ac_cv_lib_kstat_kstat_open=no
16515 rm -f core conftest.err conftest.$ac_objext \
16516 conftest$ac_exeext conftest.$ac_ext
16517 LIBS=$ac_check_lib_save_LIBS
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16520 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16521 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16523 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16525 KSTAT_LIBS="-lkstat"
16531 if test "$ac_cv_header_libprocstat_h" = "yes"
16532 then
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16534 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16535 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16536 $as_echo_n "(cached) " >&6
16537 else
16538 ac_check_lib_save_LIBS=$LIBS
16539 LIBS="-lprocstat $LIBS"
16540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16541 /* end confdefs.h. */
16543 /* Override any GCC internal prototype to avoid an error.
16544 Use char because int might match the return type of a GCC
16545 builtin and then its argument prototype would still apply. */
16546 #ifdef __cplusplus
16547 extern "C"
16548 #endif
16549 char procstat_open_sysctl ();
16551 main ()
16553 return procstat_open_sysctl ();
16555 return 0;
16557 _ACEOF
16558 if ac_fn_c_try_link "$LINENO"; then :
16559 ac_cv_lib_procstat_procstat_open_sysctl=yes
16560 else
16561 ac_cv_lib_procstat_procstat_open_sysctl=no
16563 rm -f core conftest.err conftest.$ac_objext \
16564 conftest$ac_exeext conftest.$ac_ext
16565 LIBS=$ac_check_lib_save_LIBS
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16568 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16569 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16571 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16573 PROCSTAT_LIBS="-lprocstat"
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16580 $as_echo_n "checking for -lodbc... " >&6; }
16581 if ${ac_cv_lib_soname_odbc+:} false; then :
16582 $as_echo_n "(cached) " >&6
16583 else
16584 ac_check_soname_save_LIBS=$LIBS
16585 LIBS="-lodbc $LIBS"
16586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16587 /* end confdefs.h. */
16589 /* Override any GCC internal prototype to avoid an error.
16590 Use char because int might match the return type of a GCC
16591 builtin and then its argument prototype would still apply. */
16592 #ifdef __cplusplus
16593 extern "C"
16594 #endif
16595 char SQLConnect ();
16597 main ()
16599 return SQLConnect ();
16601 return 0;
16603 _ACEOF
16604 if ac_fn_c_try_link "$LINENO"; then :
16605 case "$LIBEXT" in
16606 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16607 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'` ;;
16608 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16609 if ${ac_cv_lib_soname_odbc:+false} :; then :
16610 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16611 fi ;;
16612 esac
16613 else
16614 ac_cv_lib_soname_odbc=
16616 rm -f core conftest.err conftest.$ac_objext \
16617 conftest$ac_exeext conftest.$ac_ext
16618 LIBS=$ac_check_soname_save_LIBS
16620 if ${ac_cv_lib_soname_odbc:+false} :; then :
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16622 $as_echo "not found" >&6; }
16623 cat >>confdefs.h <<_ACEOF
16624 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16625 _ACEOF
16627 else
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16629 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16631 cat >>confdefs.h <<_ACEOF
16632 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16633 _ACEOF
16638 if test "x$with_netapi" != "xno"
16639 then
16640 if ${NETAPI_CFLAGS:+false} :; then :
16641 if ${PKG_CONFIG+:} false; then :
16642 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16646 if ${NETAPI_LIBS:+false} :; then :
16647 if ${PKG_CONFIG+:} false; then :
16648 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16653 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16654 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16655 ac_save_CPPFLAGS=$CPPFLAGS
16656 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16658 $as_echo_n "checking for -lnetapi... " >&6; }
16659 if ${ac_cv_lib_soname_netapi+:} false; then :
16660 $as_echo_n "(cached) " >&6
16661 else
16662 ac_check_soname_save_LIBS=$LIBS
16663 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16667 /* Override any GCC internal prototype to avoid an error.
16668 Use char because int might match the return type of a GCC
16669 builtin and then its argument prototype would still apply. */
16670 #ifdef __cplusplus
16671 extern "C"
16672 #endif
16673 char libnetapi_init ();
16675 main ()
16677 return libnetapi_init ();
16679 return 0;
16681 _ACEOF
16682 if ac_fn_c_try_link "$LINENO"; then :
16683 case "$LIBEXT" in
16684 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16685 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'` ;;
16686 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16687 if ${ac_cv_lib_soname_netapi:+false} :; then :
16688 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16689 fi ;;
16690 esac
16691 else
16692 ac_cv_lib_soname_netapi=
16694 rm -f core conftest.err conftest.$ac_objext \
16695 conftest$ac_exeext conftest.$ac_ext
16696 LIBS=$ac_check_soname_save_LIBS
16698 if ${ac_cv_lib_soname_netapi:+false} :; then :
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16700 $as_echo "not found" >&6; }
16701 cat >>confdefs.h <<_ACEOF
16702 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16703 _ACEOF
16705 else
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16707 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16709 cat >>confdefs.h <<_ACEOF
16710 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16711 _ACEOF
16715 CPPFLAGS=$ac_save_CPPFLAGS
16719 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16720 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16721 then
16722 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16725 if test "x$with_vulkan" != "xno"
16726 then
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16728 $as_echo_n "checking for -lvulkan... " >&6; }
16729 if ${ac_cv_lib_soname_vulkan+:} false; then :
16730 $as_echo_n "(cached) " >&6
16731 else
16732 ac_check_soname_save_LIBS=$LIBS
16733 LIBS="-lvulkan $LIBS"
16734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16735 /* end confdefs.h. */
16737 /* Override any GCC internal prototype to avoid an error.
16738 Use char because int might match the return type of a GCC
16739 builtin and then its argument prototype would still apply. */
16740 #ifdef __cplusplus
16741 extern "C"
16742 #endif
16743 char vkGetInstanceProcAddr ();
16745 main ()
16747 return vkGetInstanceProcAddr ();
16749 return 0;
16751 _ACEOF
16752 if ac_fn_c_try_link "$LINENO"; then :
16753 case "$LIBEXT" in
16754 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16755 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'` ;;
16756 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16757 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16758 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16759 fi ;;
16760 esac
16761 else
16762 ac_cv_lib_soname_vulkan=
16764 rm -f core conftest.err conftest.$ac_objext \
16765 conftest$ac_exeext conftest.$ac_ext
16766 LIBS=$ac_check_soname_save_LIBS
16768 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16770 $as_echo "not found" >&6; }
16772 else
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16774 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16776 cat >>confdefs.h <<_ACEOF
16777 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16778 _ACEOF
16782 if test "x$ac_cv_lib_soname_vulkan" = "x"
16783 then
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16785 $as_echo_n "checking for -lMoltenVK... " >&6; }
16786 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16787 $as_echo_n "(cached) " >&6
16788 else
16789 ac_check_soname_save_LIBS=$LIBS
16790 LIBS="-lMoltenVK $LIBS"
16791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16792 /* end confdefs.h. */
16794 /* Override any GCC internal prototype to avoid an error.
16795 Use char because int might match the return type of a GCC
16796 builtin and then its argument prototype would still apply. */
16797 #ifdef __cplusplus
16798 extern "C"
16799 #endif
16800 char vkGetInstanceProcAddr ();
16802 main ()
16804 return vkGetInstanceProcAddr ();
16806 return 0;
16808 _ACEOF
16809 if ac_fn_c_try_link "$LINENO"; then :
16810 case "$LIBEXT" in
16811 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16812 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'` ;;
16813 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16814 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16815 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16816 fi ;;
16817 esac
16818 else
16819 ac_cv_lib_soname_MoltenVK=
16821 rm -f core conftest.err conftest.$ac_objext \
16822 conftest$ac_exeext conftest.$ac_ext
16823 LIBS=$ac_check_soname_save_LIBS
16825 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16827 $as_echo "not found" >&6; }
16829 else
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16831 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16833 cat >>confdefs.h <<_ACEOF
16834 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16835 _ACEOF
16841 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16842 case "x$with_vulkan" in
16843 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16844 xno) ;;
16845 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16846 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16847 esac
16851 if test "x$with_vkd3d" != "xno"
16852 then
16853 if ${VKD3D_CFLAGS:+false} :; then :
16854 if ${PKG_CONFIG+:} false; then :
16855 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16859 if ${VKD3D_LIBS:+false} :; then :
16860 if ${PKG_CONFIG+:} false; then :
16861 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16866 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16867 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16868 ac_save_CPPFLAGS=$CPPFLAGS
16869 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16871 $as_echo_n "checking for -lvkd3d... " >&6; }
16872 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16873 $as_echo_n "(cached) " >&6
16874 else
16875 ac_check_soname_save_LIBS=$LIBS
16876 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16878 /* end confdefs.h. */
16880 /* Override any GCC internal prototype to avoid an error.
16881 Use char because int might match the return type of a GCC
16882 builtin and then its argument prototype would still apply. */
16883 #ifdef __cplusplus
16884 extern "C"
16885 #endif
16886 char vkd3d_serialize_versioned_root_signature ();
16888 main ()
16890 return vkd3d_serialize_versioned_root_signature ();
16892 return 0;
16894 _ACEOF
16895 if ac_fn_c_try_link "$LINENO"; then :
16896 case "$LIBEXT" in
16897 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16898 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'` ;;
16899 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16900 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16901 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16902 fi ;;
16903 esac
16904 else
16905 ac_cv_lib_soname_vkd3d=
16907 rm -f core conftest.err conftest.$ac_objext \
16908 conftest$ac_exeext conftest.$ac_ext
16909 LIBS=$ac_check_soname_save_LIBS
16911 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16913 $as_echo "not found" >&6; }
16915 else
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16917 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16919 cat >>confdefs.h <<_ACEOF
16920 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16921 _ACEOF
16925 CPPFLAGS=$ac_save_CPPFLAGS
16927 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16928 if ${PKG_CONFIG+:} false; then :
16929 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16933 if ${VKD3D_SHADER_LIBS:+false} :; then :
16934 if ${PKG_CONFIG+:} false; then :
16935 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16940 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16941 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16942 ac_save_CPPFLAGS=$CPPFLAGS
16943 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16945 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16946 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16947 $as_echo_n "(cached) " >&6
16948 else
16949 ac_check_soname_save_LIBS=$LIBS
16950 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16952 /* end confdefs.h. */
16954 /* Override any GCC internal prototype to avoid an error.
16955 Use char because int might match the return type of a GCC
16956 builtin and then its argument prototype would still apply. */
16957 #ifdef __cplusplus
16958 extern "C"
16959 #endif
16960 char vkd3d_shader_compile ();
16962 main ()
16964 return vkd3d_shader_compile ();
16966 return 0;
16968 _ACEOF
16969 if ac_fn_c_try_link "$LINENO"; then :
16970 case "$LIBEXT" in
16971 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16972 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'` ;;
16973 *) 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'`
16974 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16975 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16976 fi ;;
16977 esac
16978 else
16979 ac_cv_lib_soname_vkd3d_shader=
16981 rm -f core conftest.err conftest.$ac_objext \
16982 conftest$ac_exeext conftest.$ac_ext
16983 LIBS=$ac_check_soname_save_LIBS
16985 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16987 $as_echo "not found" >&6; }
16989 else
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16991 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16993 cat >>confdefs.h <<_ACEOF
16994 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16995 _ACEOF
16999 CPPFLAGS=$ac_save_CPPFLAGS
17002 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17003 case "x$with_vkd3d" in
17004 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17005 xno) ;;
17006 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17007 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17008 esac
17011 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17014 EXTRACFLAGS=""
17016 if test "x${GCC}" = "xyes"
17017 then
17018 EXTRACFLAGS="-Wall -pipe"
17020 saved_CFLAGS=$CFLAGS
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17022 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17023 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17024 $as_echo_n "(cached) " >&6
17025 else
17026 ac_wine_try_cflags_saved=$CFLAGS
17027 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 int main(int argc, char **argv) { return 0; }
17031 _ACEOF
17032 if ac_fn_c_try_link "$LINENO"; then :
17033 ac_cv_cflags__Werror_unknown_warning_option=yes
17034 else
17035 ac_cv_cflags__Werror_unknown_warning_option=no
17037 rm -f core conftest.err conftest.$ac_objext \
17038 conftest$ac_exeext conftest.$ac_ext
17039 CFLAGS=$ac_wine_try_cflags_saved
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17042 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17043 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17044 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17047 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17048 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17049 $as_echo_n "(cached) " >&6
17050 else
17051 ac_wine_try_cflags_saved=$CFLAGS
17052 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17055 int main(int argc, char **argv) { return 0; }
17056 _ACEOF
17057 if ac_fn_c_try_link "$LINENO"; then :
17058 ac_cv_cflags__Werror_unused_command_line_argument=yes
17059 else
17060 ac_cv_cflags__Werror_unused_command_line_argument=no
17062 rm -f core conftest.err conftest.$ac_objext \
17063 conftest$ac_exeext conftest.$ac_ext
17064 CFLAGS=$ac_wine_try_cflags_saved
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17067 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17068 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17069 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17072 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17073 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17074 $as_echo_n "(cached) " >&6
17075 else
17076 ac_wine_try_cflags_saved=$CFLAGS
17077 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17080 int main(int argc, char **argv) { return 0; }
17081 _ACEOF
17082 if ac_fn_c_try_link "$LINENO"; then :
17083 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17084 else
17085 ac_cv_cflags__Werror_ignored_optimization_argument=no
17087 rm -f core conftest.err conftest.$ac_objext \
17088 conftest$ac_exeext conftest.$ac_ext
17089 CFLAGS=$ac_wine_try_cflags_saved
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17092 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17093 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17094 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17097 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17098 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17099 $as_echo_n "(cached) " >&6
17100 else
17101 ac_wine_try_cflags_saved=$CFLAGS
17102 CFLAGS="$CFLAGS -fcf-protection=none"
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 int main(int argc, char **argv) { return 0; }
17106 _ACEOF
17107 if ac_fn_c_try_link "$LINENO"; then :
17108 ac_cv_cflags__fcf_protection_none=yes
17109 else
17110 ac_cv_cflags__fcf_protection_none=no
17112 rm -f core conftest.err conftest.$ac_objext \
17113 conftest$ac_exeext conftest.$ac_ext
17114 CFLAGS=$ac_wine_try_cflags_saved
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17117 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17118 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17119 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17122 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17123 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17124 $as_echo_n "(cached) " >&6
17125 else
17126 ac_wine_try_cflags_saved=$CFLAGS
17127 CFLAGS="$CFLAGS -fno-stack-protector"
17128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17130 int main(int argc, char **argv) { return 0; }
17131 _ACEOF
17132 if ac_fn_c_try_link "$LINENO"; then :
17133 ac_cv_cflags__fno_stack_protector=yes
17134 else
17135 ac_cv_cflags__fno_stack_protector=no
17137 rm -f core conftest.err conftest.$ac_objext \
17138 conftest$ac_exeext conftest.$ac_ext
17139 CFLAGS=$ac_wine_try_cflags_saved
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17142 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17143 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17144 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17147 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17148 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17149 $as_echo_n "(cached) " >&6
17150 else
17151 ac_wine_try_cflags_saved=$CFLAGS
17152 CFLAGS="$CFLAGS -fno-strict-aliasing"
17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h. */
17155 int main(int argc, char **argv) { return 0; }
17156 _ACEOF
17157 if ac_fn_c_try_link "$LINENO"; then :
17158 ac_cv_cflags__fno_strict_aliasing=yes
17159 else
17160 ac_cv_cflags__fno_strict_aliasing=no
17162 rm -f core conftest.err conftest.$ac_objext \
17163 conftest$ac_exeext conftest.$ac_ext
17164 CFLAGS=$ac_wine_try_cflags_saved
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17167 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17168 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17169 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17172 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17173 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17174 $as_echo_n "(cached) " >&6
17175 else
17176 ac_wine_try_cflags_saved=$CFLAGS
17177 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17179 /* end confdefs.h. */
17180 int main(int argc, char **argv) { return 0; }
17181 _ACEOF
17182 if ac_fn_c_try_link "$LINENO"; then :
17183 ac_cv_cflags__Wdeclaration_after_statement=yes
17184 else
17185 ac_cv_cflags__Wdeclaration_after_statement=no
17187 rm -f core conftest.err conftest.$ac_objext \
17188 conftest$ac_exeext conftest.$ac_ext
17189 CFLAGS=$ac_wine_try_cflags_saved
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17192 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17193 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17194 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17197 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17198 if ${ac_cv_cflags__Wempty_body+:} false; then :
17199 $as_echo_n "(cached) " >&6
17200 else
17201 ac_wine_try_cflags_saved=$CFLAGS
17202 CFLAGS="$CFLAGS -Wempty-body"
17203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17204 /* end confdefs.h. */
17205 int main(int argc, char **argv) { return 0; }
17206 _ACEOF
17207 if ac_fn_c_try_link "$LINENO"; then :
17208 ac_cv_cflags__Wempty_body=yes
17209 else
17210 ac_cv_cflags__Wempty_body=no
17212 rm -f core conftest.err conftest.$ac_objext \
17213 conftest$ac_exeext conftest.$ac_ext
17214 CFLAGS=$ac_wine_try_cflags_saved
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17217 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17218 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17219 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17222 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17223 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17224 $as_echo_n "(cached) " >&6
17225 else
17226 ac_wine_try_cflags_saved=$CFLAGS
17227 CFLAGS="$CFLAGS -Wignored-qualifiers"
17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h. */
17230 int main(int argc, char **argv) { return 0; }
17231 _ACEOF
17232 if ac_fn_c_try_link "$LINENO"; then :
17233 ac_cv_cflags__Wignored_qualifiers=yes
17234 else
17235 ac_cv_cflags__Wignored_qualifiers=no
17237 rm -f core conftest.err conftest.$ac_objext \
17238 conftest$ac_exeext conftest.$ac_ext
17239 CFLAGS=$ac_wine_try_cflags_saved
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17242 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17243 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17244 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17247 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17248 if ${ac_cv_cflags__Winit_self+:} false; then :
17249 $as_echo_n "(cached) " >&6
17250 else
17251 ac_wine_try_cflags_saved=$CFLAGS
17252 CFLAGS="$CFLAGS -Winit-self"
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 int main(int argc, char **argv) { return 0; }
17256 _ACEOF
17257 if ac_fn_c_try_link "$LINENO"; then :
17258 ac_cv_cflags__Winit_self=yes
17259 else
17260 ac_cv_cflags__Winit_self=no
17262 rm -f core conftest.err conftest.$ac_objext \
17263 conftest$ac_exeext conftest.$ac_ext
17264 CFLAGS=$ac_wine_try_cflags_saved
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17267 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17268 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17269 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17272 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17273 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17274 $as_echo_n "(cached) " >&6
17275 else
17276 ac_wine_try_cflags_saved=$CFLAGS
17277 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17280 int main(int argc, char **argv) { return 0; }
17281 _ACEOF
17282 if ac_fn_c_try_link "$LINENO"; then :
17283 ac_cv_cflags__Wpacked_not_aligned=yes
17284 else
17285 ac_cv_cflags__Wpacked_not_aligned=no
17287 rm -f core conftest.err conftest.$ac_objext \
17288 conftest$ac_exeext conftest.$ac_ext
17289 CFLAGS=$ac_wine_try_cflags_saved
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17292 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17293 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17294 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17297 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17298 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17299 $as_echo_n "(cached) " >&6
17300 else
17301 ac_wine_try_cflags_saved=$CFLAGS
17302 CFLAGS="$CFLAGS -Wpragma-pack"
17303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17305 int main(int argc, char **argv) { return 0; }
17306 _ACEOF
17307 if ac_fn_c_try_link "$LINENO"; then :
17308 ac_cv_cflags__Wpragma_pack=yes
17309 else
17310 ac_cv_cflags__Wpragma_pack=no
17312 rm -f core conftest.err conftest.$ac_objext \
17313 conftest$ac_exeext conftest.$ac_ext
17314 CFLAGS=$ac_wine_try_cflags_saved
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17317 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17318 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17319 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17322 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17323 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17324 $as_echo_n "(cached) " >&6
17325 else
17326 ac_wine_try_cflags_saved=$CFLAGS
17327 CFLAGS="$CFLAGS -Wshift-overflow=2"
17328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17330 int main(int argc, char **argv) { return 0; }
17331 _ACEOF
17332 if ac_fn_c_try_link "$LINENO"; then :
17333 ac_cv_cflags__Wshift_overflow_2=yes
17334 else
17335 ac_cv_cflags__Wshift_overflow_2=no
17337 rm -f core conftest.err conftest.$ac_objext \
17338 conftest$ac_exeext conftest.$ac_ext
17339 CFLAGS=$ac_wine_try_cflags_saved
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17342 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17343 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17344 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17347 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17348 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17349 $as_echo_n "(cached) " >&6
17350 else
17351 ac_wine_try_cflags_saved=$CFLAGS
17352 CFLAGS="$CFLAGS -Wstrict-prototypes"
17353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17354 /* end confdefs.h. */
17355 int main(int argc, char **argv) { return 0; }
17356 _ACEOF
17357 if ac_fn_c_try_link "$LINENO"; then :
17358 ac_cv_cflags__Wstrict_prototypes=yes
17359 else
17360 ac_cv_cflags__Wstrict_prototypes=no
17362 rm -f core conftest.err conftest.$ac_objext \
17363 conftest$ac_exeext conftest.$ac_ext
17364 CFLAGS=$ac_wine_try_cflags_saved
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17367 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17368 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17369 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17372 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17373 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17374 $as_echo_n "(cached) " >&6
17375 else
17376 ac_wine_try_cflags_saved=$CFLAGS
17377 CFLAGS="$CFLAGS -Wtype-limits"
17378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17379 /* end confdefs.h. */
17380 int main(int argc, char **argv) { return 0; }
17381 _ACEOF
17382 if ac_fn_c_try_link "$LINENO"; then :
17383 ac_cv_cflags__Wtype_limits=yes
17384 else
17385 ac_cv_cflags__Wtype_limits=no
17387 rm -f core conftest.err conftest.$ac_objext \
17388 conftest$ac_exeext conftest.$ac_ext
17389 CFLAGS=$ac_wine_try_cflags_saved
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17392 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17393 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17394 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17397 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17398 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17399 $as_echo_n "(cached) " >&6
17400 else
17401 ac_wine_try_cflags_saved=$CFLAGS
17402 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17404 /* end confdefs.h. */
17405 int main(int argc, char **argv) { return 0; }
17406 _ACEOF
17407 if ac_fn_c_try_link "$LINENO"; then :
17408 ac_cv_cflags__Wunused_but_set_parameter=yes
17409 else
17410 ac_cv_cflags__Wunused_but_set_parameter=no
17412 rm -f core conftest.err conftest.$ac_objext \
17413 conftest$ac_exeext conftest.$ac_ext
17414 CFLAGS=$ac_wine_try_cflags_saved
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17417 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17418 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17419 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17422 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17423 if ${ac_cv_cflags__Wvla+:} false; then :
17424 $as_echo_n "(cached) " >&6
17425 else
17426 ac_wine_try_cflags_saved=$CFLAGS
17427 CFLAGS="$CFLAGS -Wvla"
17428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17429 /* end confdefs.h. */
17430 int main(int argc, char **argv) { return 0; }
17431 _ACEOF
17432 if ac_fn_c_try_link "$LINENO"; then :
17433 ac_cv_cflags__Wvla=yes
17434 else
17435 ac_cv_cflags__Wvla=no
17437 rm -f core conftest.err conftest.$ac_objext \
17438 conftest$ac_exeext conftest.$ac_ext
17439 CFLAGS=$ac_wine_try_cflags_saved
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17442 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17443 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17444 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17447 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17448 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17449 $as_echo_n "(cached) " >&6
17450 else
17451 ac_wine_try_cflags_saved=$CFLAGS
17452 CFLAGS="$CFLAGS -Wwrite-strings"
17453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17454 /* end confdefs.h. */
17455 int main(int argc, char **argv) { return 0; }
17456 _ACEOF
17457 if ac_fn_c_try_link "$LINENO"; then :
17458 ac_cv_cflags__Wwrite_strings=yes
17459 else
17460 ac_cv_cflags__Wwrite_strings=no
17462 rm -f core conftest.err conftest.$ac_objext \
17463 conftest$ac_exeext conftest.$ac_ext
17464 CFLAGS=$ac_wine_try_cflags_saved
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17467 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17468 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17469 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17472 if test -z "$CROSSTARGET"
17473 then
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17475 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17476 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17477 $as_echo_n "(cached) " >&6
17478 else
17479 ac_wine_try_cflags_saved=$CFLAGS
17480 CFLAGS="$CFLAGS -fexcess-precision=standard"
17481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482 /* end confdefs.h. */
17483 int main(int argc, char **argv) { return 0; }
17484 _ACEOF
17485 if ac_fn_c_try_link "$LINENO"; then :
17486 ac_cv_cflags__fexcess_precision_standard=yes
17487 else
17488 ac_cv_cflags__fexcess_precision_standard=no
17490 rm -f core conftest.err conftest.$ac_objext \
17491 conftest$ac_exeext conftest.$ac_ext
17492 CFLAGS=$ac_wine_try_cflags_saved
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17495 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17496 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17497 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17503 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17504 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17505 $as_echo_n "(cached) " >&6
17506 else
17507 ac_wine_try_cflags_saved=$CFLAGS
17508 CFLAGS="$CFLAGS -Wpointer-arith"
17509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17511 int main(int argc, char **argv) { return 0; }
17512 _ACEOF
17513 if ac_fn_c_try_link "$LINENO"; then :
17514 ac_cv_cflags__Wpointer_arith=yes
17515 else
17516 ac_cv_cflags__Wpointer_arith=no
17518 rm -f core conftest.err conftest.$ac_objext \
17519 conftest$ac_exeext conftest.$ac_ext
17520 CFLAGS=$ac_wine_try_cflags_saved
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17523 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17524 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17525 saved_string_h_CFLAGS=$CFLAGS
17526 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17528 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17529 if ${ac_cv_c_string_h_warnings+:} false; then :
17530 $as_echo_n "(cached) " >&6
17531 else
17532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17533 /* end confdefs.h. */
17534 #include <string.h>
17536 main ()
17540 return 0;
17542 _ACEOF
17543 if ac_fn_c_try_compile "$LINENO"; then :
17544 ac_cv_c_string_h_warnings=no
17545 else
17546 ac_cv_c_string_h_warnings=yes
17548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17551 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17552 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17553 CFLAGS=$saved_string_h_CFLAGS
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17557 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17558 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17559 $as_echo_n "(cached) " >&6
17560 else
17561 ac_wine_try_cflags_saved=$CFLAGS
17562 CFLAGS="$CFLAGS -Wlogical-op"
17563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17564 /* end confdefs.h. */
17565 int main(int argc, char **argv) { return 0; }
17566 _ACEOF
17567 if ac_fn_c_try_link "$LINENO"; then :
17568 ac_cv_cflags__Wlogical_op=yes
17569 else
17570 ac_cv_cflags__Wlogical_op=no
17572 rm -f core conftest.err conftest.$ac_objext \
17573 conftest$ac_exeext conftest.$ac_ext
17574 CFLAGS=$ac_wine_try_cflags_saved
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17577 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17578 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17579 saved_string_h_CFLAGS=$CFLAGS
17580 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17582 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17583 if ${ac_cv_c_logicalop_noisy+:} false; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #include <string.h>
17589 char*f(const char *h,char n) {return strchr(h,n);}
17591 main ()
17595 return 0;
17597 _ACEOF
17598 if ac_fn_c_try_compile "$LINENO"; then :
17599 ac_cv_c_logicalop_noisy=no
17600 else
17601 ac_cv_c_logicalop_noisy=yes
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17606 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17607 CFLAGS=$saved_string_h_CFLAGS
17608 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17612 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17613 if ${wine_cv_64bit_compare_swap+:} false; then :
17614 $as_echo_n "(cached) " >&6
17615 else
17616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h. */
17618 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17619 #error no
17620 #endif
17622 main ()
17626 return 0;
17628 _ACEOF
17629 if ac_fn_c_try_compile "$LINENO"; then :
17630 wine_cv_64bit_compare_swap="none needed"
17631 else
17632 case $host_cpu in
17633 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17634 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17635 *) wine_cv_64bit_compare_swap="unknown" ;;
17636 esac
17637 if test "x$wine_cv_64bit_compare_swap" != xunknown
17638 then
17639 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17642 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17643 #error no
17644 #endif
17646 main ()
17650 return 0;
17652 _ACEOF
17653 if ac_fn_c_try_compile "$LINENO"; then :
17655 else
17656 wine_cv_64bit_compare_swap="unknown"
17658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17659 CFLAGS=$saved_CFLAGS
17662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17665 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17666 case "$wine_cv_64bit_compare_swap" in
17667 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17668 "none needed") ;;
17669 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17670 esac
17672 for ac_flag in $CFLAGS; do
17673 case $ac_flag in
17674 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17675 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17676 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17677 $as_echo_n "(cached) " >&6
17678 else
17679 ac_wine_try_cflags_saved=$CFLAGS
17680 CFLAGS="$CFLAGS -gdwarf-2"
17681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17682 /* end confdefs.h. */
17683 int main(int argc, char **argv) { return 0; }
17684 _ACEOF
17685 if ac_fn_c_try_link "$LINENO"; then :
17686 ac_cv_cflags__gdwarf_2=yes
17687 else
17688 ac_cv_cflags__gdwarf_2=no
17690 rm -f core conftest.err conftest.$ac_objext \
17691 conftest$ac_exeext conftest.$ac_ext
17692 CFLAGS=$ac_wine_try_cflags_saved
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17695 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17696 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17697 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17700 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17701 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17702 $as_echo_n "(cached) " >&6
17703 else
17704 ac_wine_try_cflags_saved=$CFLAGS
17705 CFLAGS="$CFLAGS -gstrict-dwarf"
17706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h. */
17708 int main(int argc, char **argv) { return 0; }
17709 _ACEOF
17710 if ac_fn_c_try_link "$LINENO"; then :
17711 ac_cv_cflags__gstrict_dwarf=yes
17712 else
17713 ac_cv_cflags__gstrict_dwarf=no
17715 rm -f core conftest.err conftest.$ac_objext \
17716 conftest$ac_exeext conftest.$ac_ext
17717 CFLAGS=$ac_wine_try_cflags_saved
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17720 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17721 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17722 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17723 fi ;;
17724 esac
17725 done
17727 MSVCRTFLAGS=""
17729 case $host_os in
17730 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17731 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17732 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17733 $as_echo_n "(cached) " >&6
17734 else
17735 ac_wine_try_cflags_saved=$CFLAGS
17736 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17738 /* end confdefs.h. */
17739 int main(int argc, char **argv) { return 0; }
17740 _ACEOF
17741 if ac_fn_c_try_link "$LINENO"; then :
17742 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17743 else
17744 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17746 rm -f core conftest.err conftest.$ac_objext \
17747 conftest$ac_exeext conftest.$ac_ext
17748 CFLAGS=$ac_wine_try_cflags_saved
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17751 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17752 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17753 DELAYLOADFLAG="-Wl,-delayload,"
17755 fi ;;
17756 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17757 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17758 if ${ac_cv_cflags__fno_builtin+:} false; then :
17759 $as_echo_n "(cached) " >&6
17760 else
17761 ac_wine_try_cflags_saved=$CFLAGS
17762 CFLAGS="$CFLAGS -fno-builtin"
17763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17764 /* end confdefs.h. */
17765 int main(int argc, char **argv) { return 0; }
17766 _ACEOF
17767 if ac_fn_c_try_link "$LINENO"; then :
17768 ac_cv_cflags__fno_builtin=yes
17769 else
17770 ac_cv_cflags__fno_builtin=no
17772 rm -f core conftest.err conftest.$ac_objext \
17773 conftest$ac_exeext conftest.$ac_ext
17774 CFLAGS=$ac_wine_try_cflags_saved
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17777 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17778 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17779 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17782 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17783 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17784 $as_echo_n "(cached) " >&6
17785 else
17786 ac_wine_try_cflags_saved=$CFLAGS
17787 CFLAGS="$CFLAGS -fshort-wchar"
17788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17789 /* end confdefs.h. */
17790 int main(int argc, char **argv) { return 0; }
17791 _ACEOF
17792 if ac_fn_c_try_link "$LINENO"; then :
17793 ac_cv_cflags__fshort_wchar=yes
17794 else
17795 ac_cv_cflags__fshort_wchar=no
17797 rm -f core conftest.err conftest.$ac_objext \
17798 conftest$ac_exeext conftest.$ac_ext
17799 CFLAGS=$ac_wine_try_cflags_saved
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17802 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17803 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17804 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17805 fi ;;
17806 esac
17808 case $host_cpu in
17809 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17810 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17811 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17812 $as_echo_n "(cached) " >&6
17813 else
17814 ac_wine_try_cflags_saved=$CFLAGS
17815 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17817 /* end confdefs.h. */
17818 int main(int argc, char **argv) { return 0; }
17819 _ACEOF
17820 if ac_fn_c_try_link "$LINENO"; then :
17821 ac_cv_cflags__fno_omit_frame_pointer=yes
17822 else
17823 ac_cv_cflags__fno_omit_frame_pointer=no
17825 rm -f core conftest.err conftest.$ac_objext \
17826 conftest$ac_exeext conftest.$ac_ext
17827 CFLAGS=$ac_wine_try_cflags_saved
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17830 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17831 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17832 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17833 fi ;;
17834 *x86_64*)
17835 case $host_os in
17836 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17837 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17838 if ${ac_cv_cflags__Wno_format+:} false; then :
17839 $as_echo_n "(cached) " >&6
17840 else
17841 ac_wine_try_cflags_saved=$CFLAGS
17842 CFLAGS="$CFLAGS -Wno-format"
17843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17844 /* end confdefs.h. */
17845 int main(int argc, char **argv) { return 0; }
17846 _ACEOF
17847 if ac_fn_c_try_link "$LINENO"; then :
17848 ac_cv_cflags__Wno_format=yes
17849 else
17850 ac_cv_cflags__Wno_format=no
17852 rm -f core conftest.err conftest.$ac_objext \
17853 conftest$ac_exeext conftest.$ac_ext
17854 CFLAGS=$ac_wine_try_cflags_saved
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17857 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17858 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17859 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17860 fi ;;
17861 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17862 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17863 if ${ac_cv_cflags__mabi_ms+:} false; then :
17864 $as_echo_n "(cached) " >&6
17865 else
17866 ac_wine_try_cflags_saved=$CFLAGS
17867 CFLAGS="$CFLAGS -mabi=ms"
17868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17869 /* end confdefs.h. */
17870 int main(int argc, char **argv) { return 0; }
17871 _ACEOF
17872 if ac_fn_c_try_link "$LINENO"; then :
17873 ac_cv_cflags__mabi_ms=yes
17874 else
17875 ac_cv_cflags__mabi_ms=no
17877 rm -f core conftest.err conftest.$ac_objext \
17878 conftest$ac_exeext conftest.$ac_ext
17879 CFLAGS=$ac_wine_try_cflags_saved
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17882 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17883 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17884 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17885 fi ;;
17886 esac ;;
17887 esac
17889 CFLAGS=$saved_CFLAGS
17891 if test "x$enable_werror" = "xyes"
17892 then
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17894 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17895 if ${ac_cv_cflags__Werror+:} false; then :
17896 $as_echo_n "(cached) " >&6
17897 else
17898 ac_wine_try_cflags_saved=$CFLAGS
17899 CFLAGS="$CFLAGS -Werror"
17900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17901 /* end confdefs.h. */
17902 int main(int argc, char **argv) { return 0; }
17903 _ACEOF
17904 if ac_fn_c_try_link "$LINENO"; then :
17905 ac_cv_cflags__Werror=yes
17906 else
17907 ac_cv_cflags__Werror=no
17909 rm -f core conftest.err conftest.$ac_objext \
17910 conftest$ac_exeext conftest.$ac_ext
17911 CFLAGS=$ac_wine_try_cflags_saved
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17914 $as_echo "$ac_cv_cflags__Werror" >&6; }
17915 if test "x$ac_cv_cflags__Werror" = xyes; then :
17916 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17919 if test "x$enable_build_id" = "xyes"
17920 then
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17922 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17923 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17924 $as_echo_n "(cached) " >&6
17925 else
17926 ac_wine_try_cflags_saved=$CFLAGS
17927 CFLAGS="$CFLAGS -Wl,--build-id"
17928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17929 /* end confdefs.h. */
17930 int main(int argc, char **argv) { return 0; }
17931 _ACEOF
17932 if ac_fn_c_try_link "$LINENO"; then :
17933 ac_cv_cflags__Wl___build_id=yes
17934 else
17935 ac_cv_cflags__Wl___build_id=no
17937 rm -f core conftest.err conftest.$ac_objext \
17938 conftest$ac_exeext conftest.$ac_ext
17939 CFLAGS=$ac_wine_try_cflags_saved
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17942 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17943 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17944 CFLAGS="$CFLAGS -Wl,--build-id"
17945 LDFLAGS="$LDFLAGS -Wl,--build-id"
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17952 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17953 if ${ac_cv_c_fortify_enabled+:} false; then :
17954 $as_echo_n "(cached) " >&6
17955 else
17956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17957 /* end confdefs.h. */
17958 #include <string.h>
17960 main ()
17962 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17963 #error Fortify enabled
17964 #endif
17966 return 0;
17968 _ACEOF
17969 if ac_fn_c_try_compile "$LINENO"; then :
17970 ac_cv_c_fortify_enabled=no
17971 else
17972 ac_cv_c_fortify_enabled=yes
17974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17977 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17978 if test "$ac_cv_c_fortify_enabled" = yes
17979 then
17980 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17985 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17986 if ${ac_cv_c_cfi_support+:} false; then :
17987 $as_echo_n "(cached) " >&6
17988 else
17989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17991 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17993 main ()
17997 return 0;
17999 _ACEOF
18000 if ac_fn_c_try_compile "$LINENO"; then :
18001 ac_cv_c_cfi_support="yes"
18002 else
18003 ac_cv_c_cfi_support="no"
18005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18008 $as_echo "$ac_cv_c_cfi_support" >&6; }
18009 if test "$ac_cv_c_cfi_support" = "yes"
18010 then
18011 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18012 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18013 else
18014 if test "x$enable_win64" = "xyes"
18015 then
18016 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18021 case $build_os in
18022 cygwin*|mingw32*) TOOLSEXT=".exe"
18024 esac
18026 case $host_os in
18027 linux*)
18028 case $host_cpu in
18029 *i[3456789]86*|x86_64*|*aarch64*|arm*)
18030 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18031 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18033 esac
18035 esac
18038 ac_save_CFLAGS="$CFLAGS"
18039 CFLAGS="$CFLAGS $BUILTINFLAG"
18040 for ac_func in \
18041 __res_get_state \
18042 __res_getservers \
18043 _spawnvp \
18044 epoll_create \
18045 fnmatch \
18046 fork \
18047 fstatfs \
18048 futimens \
18049 futimes \
18050 futimesat \
18051 getattrlist \
18052 getauxval \
18053 getifaddrs \
18054 getopt_long_only \
18055 getrandom \
18056 kqueue \
18057 lstat \
18058 mach_continuous_time \
18059 pipe2 \
18060 poll \
18061 port_create \
18062 prctl \
18063 pread \
18064 proc_pidinfo \
18065 pwrite \
18066 readlink \
18067 sched_yield \
18068 setproctitle \
18069 setprogname \
18070 sigprocmask \
18071 symlink \
18072 sysinfo \
18073 tcdrain \
18074 thr_kill2
18076 do :
18077 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18079 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18080 cat >>confdefs.h <<_ACEOF
18081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18082 _ACEOF
18085 done
18087 CFLAGS="$ac_save_CFLAGS"
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18090 $as_echo_n "checking for library containing dlopen... " >&6; }
18091 if ${ac_cv_search_dlopen+:} false; then :
18092 $as_echo_n "(cached) " >&6
18093 else
18094 ac_func_search_save_LIBS=$LIBS
18095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18096 /* end confdefs.h. */
18098 /* Override any GCC internal prototype to avoid an error.
18099 Use char because int might match the return type of a GCC
18100 builtin and then its argument prototype would still apply. */
18101 #ifdef __cplusplus
18102 extern "C"
18103 #endif
18104 char dlopen ();
18106 main ()
18108 return dlopen ();
18110 return 0;
18112 _ACEOF
18113 for ac_lib in '' dl; do
18114 if test -z "$ac_lib"; then
18115 ac_res="none required"
18116 else
18117 ac_res=-l$ac_lib
18118 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18120 if ac_fn_c_try_link "$LINENO"; then :
18121 ac_cv_search_dlopen=$ac_res
18123 rm -f core conftest.err conftest.$ac_objext \
18124 conftest$ac_exeext
18125 if ${ac_cv_search_dlopen+:} false; then :
18126 break
18128 done
18129 if ${ac_cv_search_dlopen+:} false; then :
18131 else
18132 ac_cv_search_dlopen=no
18134 rm conftest.$ac_ext
18135 LIBS=$ac_func_search_save_LIBS
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18138 $as_echo "$ac_cv_search_dlopen" >&6; }
18139 ac_res=$ac_cv_search_dlopen
18140 if test "$ac_res" != no; then :
18141 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18145 ac_wine_check_funcs_save_LIBS="$LIBS"
18146 LIBS="$LIBS $DL_LIBS"
18147 for ac_func in dladdr dlinfo
18148 do :
18149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18151 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18152 cat >>confdefs.h <<_ACEOF
18153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18154 _ACEOF
18157 done
18159 LIBS="$ac_wine_check_funcs_save_LIBS"
18161 if test "$ac_cv_func_poll" = no
18162 then
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18164 $as_echo_n "checking for poll in -lpoll... " >&6; }
18165 if ${ac_cv_lib_poll_poll+:} false; then :
18166 $as_echo_n "(cached) " >&6
18167 else
18168 ac_check_lib_save_LIBS=$LIBS
18169 LIBS="-lpoll $LIBS"
18170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18171 /* end confdefs.h. */
18173 /* Override any GCC internal prototype to avoid an error.
18174 Use char because int might match the return type of a GCC
18175 builtin and then its argument prototype would still apply. */
18176 #ifdef __cplusplus
18177 extern "C"
18178 #endif
18179 char poll ();
18181 main ()
18183 return poll ();
18185 return 0;
18187 _ACEOF
18188 if ac_fn_c_try_link "$LINENO"; then :
18189 ac_cv_lib_poll_poll=yes
18190 else
18191 ac_cv_lib_poll_poll=no
18193 rm -f core conftest.err conftest.$ac_objext \
18194 conftest$ac_exeext conftest.$ac_ext
18195 LIBS=$ac_check_lib_save_LIBS
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18198 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18199 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18200 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18201 POLL_LIBS="-lpoll"
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18208 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18209 if ${ac_cv_search_gethostbyname+:} false; then :
18210 $as_echo_n "(cached) " >&6
18211 else
18212 ac_func_search_save_LIBS=$LIBS
18213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18216 /* Override any GCC internal prototype to avoid an error.
18217 Use char because int might match the return type of a GCC
18218 builtin and then its argument prototype would still apply. */
18219 #ifdef __cplusplus
18220 extern "C"
18221 #endif
18222 char gethostbyname ();
18224 main ()
18226 return gethostbyname ();
18228 return 0;
18230 _ACEOF
18231 for ac_lib in '' nsl; do
18232 if test -z "$ac_lib"; then
18233 ac_res="none required"
18234 else
18235 ac_res=-l$ac_lib
18236 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18238 if ac_fn_c_try_link "$LINENO"; then :
18239 ac_cv_search_gethostbyname=$ac_res
18241 rm -f core conftest.err conftest.$ac_objext \
18242 conftest$ac_exeext
18243 if ${ac_cv_search_gethostbyname+:} false; then :
18244 break
18246 done
18247 if ${ac_cv_search_gethostbyname+:} false; then :
18249 else
18250 ac_cv_search_gethostbyname=no
18252 rm conftest.$ac_ext
18253 LIBS=$ac_func_search_save_LIBS
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18256 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18257 ac_res=$ac_cv_search_gethostbyname
18258 if test "$ac_res" != no; then :
18259 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18265 $as_echo_n "checking for library containing connect... " >&6; }
18266 if ${ac_cv_search_connect+:} false; then :
18267 $as_echo_n "(cached) " >&6
18268 else
18269 ac_func_search_save_LIBS=$LIBS
18270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18273 /* Override any GCC internal prototype to avoid an error.
18274 Use char because int might match the return type of a GCC
18275 builtin and then its argument prototype would still apply. */
18276 #ifdef __cplusplus
18277 extern "C"
18278 #endif
18279 char connect ();
18281 main ()
18283 return connect ();
18285 return 0;
18287 _ACEOF
18288 for ac_lib in '' socket; do
18289 if test -z "$ac_lib"; then
18290 ac_res="none required"
18291 else
18292 ac_res=-l$ac_lib
18293 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18295 if ac_fn_c_try_link "$LINENO"; then :
18296 ac_cv_search_connect=$ac_res
18298 rm -f core conftest.err conftest.$ac_objext \
18299 conftest$ac_exeext
18300 if ${ac_cv_search_connect+:} false; then :
18301 break
18303 done
18304 if ${ac_cv_search_connect+:} false; then :
18306 else
18307 ac_cv_search_connect=no
18309 rm conftest.$ac_ext
18310 LIBS=$ac_func_search_save_LIBS
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18313 $as_echo "$ac_cv_search_connect" >&6; }
18314 ac_res=$ac_cv_search_connect
18315 if test "$ac_res" != no; then :
18316 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18322 $as_echo_n "checking for library containing inet_aton... " >&6; }
18323 if ${ac_cv_search_inet_aton+:} false; then :
18324 $as_echo_n "(cached) " >&6
18325 else
18326 ac_func_search_save_LIBS=$LIBS
18327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18328 /* end confdefs.h. */
18330 /* Override any GCC internal prototype to avoid an error.
18331 Use char because int might match the return type of a GCC
18332 builtin and then its argument prototype would still apply. */
18333 #ifdef __cplusplus
18334 extern "C"
18335 #endif
18336 char inet_aton ();
18338 main ()
18340 return inet_aton ();
18342 return 0;
18344 _ACEOF
18345 for ac_lib in '' resolv; do
18346 if test -z "$ac_lib"; then
18347 ac_res="none required"
18348 else
18349 ac_res=-l$ac_lib
18350 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18352 if ac_fn_c_try_link "$LINENO"; then :
18353 ac_cv_search_inet_aton=$ac_res
18355 rm -f core conftest.err conftest.$ac_objext \
18356 conftest$ac_exeext
18357 if ${ac_cv_search_inet_aton+:} false; then :
18358 break
18360 done
18361 if ${ac_cv_search_inet_aton+:} false; then :
18363 else
18364 ac_cv_search_inet_aton=no
18366 rm conftest.$ac_ext
18367 LIBS=$ac_func_search_save_LIBS
18369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18370 $as_echo "$ac_cv_search_inet_aton" >&6; }
18371 ac_res=$ac_cv_search_inet_aton
18372 if test "$ac_res" != no; then :
18373 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18378 for ac_func in \
18379 getaddrinfo \
18380 getnameinfo \
18381 getservbyport \
18383 do :
18384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18386 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18387 cat >>confdefs.h <<_ACEOF
18388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18389 _ACEOF
18392 done
18395 case $host_os in
18396 darwin*|macosx*) ;;
18397 *) ac_save_LIBS=$LIBS
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18399 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18400 if ${ac_cv_search_clock_gettime+:} false; then :
18401 $as_echo_n "(cached) " >&6
18402 else
18403 ac_func_search_save_LIBS=$LIBS
18404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18407 /* Override any GCC internal prototype to avoid an error.
18408 Use char because int might match the return type of a GCC
18409 builtin and then its argument prototype would still apply. */
18410 #ifdef __cplusplus
18411 extern "C"
18412 #endif
18413 char clock_gettime ();
18415 main ()
18417 return clock_gettime ();
18419 return 0;
18421 _ACEOF
18422 for ac_lib in '' rt; do
18423 if test -z "$ac_lib"; then
18424 ac_res="none required"
18425 else
18426 ac_res=-l$ac_lib
18427 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18429 if ac_fn_c_try_link "$LINENO"; then :
18430 ac_cv_search_clock_gettime=$ac_res
18432 rm -f core conftest.err conftest.$ac_objext \
18433 conftest$ac_exeext
18434 if ${ac_cv_search_clock_gettime+:} false; then :
18435 break
18437 done
18438 if ${ac_cv_search_clock_gettime+:} false; then :
18440 else
18441 ac_cv_search_clock_gettime=no
18443 rm conftest.$ac_ext
18444 LIBS=$ac_func_search_save_LIBS
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18447 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18448 ac_res=$ac_cv_search_clock_gettime
18449 if test "$ac_res" != no; then :
18450 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18452 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18454 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18458 LIBS=$ac_save_LIBS
18460 esac
18462 if test "x$with_ldap" != "xno"
18463 then
18464 if ${LDAP_CFLAGS:+false} :; then :
18465 if ${PKG_CONFIG+:} false; then :
18466 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18470 if ${LDAP_LIBS:+false} :; then :
18471 if ${PKG_CONFIG+:} false; then :
18472 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18476 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18477 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18478 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18479 ac_save_CPPFLAGS=$CPPFLAGS
18480 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18481 for ac_header in ldap.h lber.h
18482 do :
18483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18484 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18485 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18486 cat >>confdefs.h <<_ACEOF
18487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18488 _ACEOF
18492 done
18494 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18495 then
18496 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18498 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18500 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18501 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18502 $as_echo_n "(cached) " >&6
18503 else
18504 ac_check_lib_save_LIBS=$LIBS
18505 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18507 /* end confdefs.h. */
18509 /* Override any GCC internal prototype to avoid an error.
18510 Use char because int might match the return type of a GCC
18511 builtin and then its argument prototype would still apply. */
18512 #ifdef __cplusplus
18513 extern "C"
18514 #endif
18515 char ldap_initialize ();
18517 main ()
18519 return ldap_initialize ();
18521 return 0;
18523 _ACEOF
18524 if ac_fn_c_try_link "$LINENO"; then :
18525 ac_cv_lib_ldap_r_ldap_initialize=yes
18526 else
18527 ac_cv_lib_ldap_r_ldap_initialize=no
18529 rm -f core conftest.err conftest.$ac_objext \
18530 conftest$ac_exeext conftest.$ac_ext
18531 LIBS=$ac_check_lib_save_LIBS
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18534 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18535 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18537 $as_echo_n "checking for ber_init in -llber... " >&6; }
18538 if ${ac_cv_lib_lber_ber_init+:} false; then :
18539 $as_echo_n "(cached) " >&6
18540 else
18541 ac_check_lib_save_LIBS=$LIBS
18542 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18544 /* end confdefs.h. */
18546 /* Override any GCC internal prototype to avoid an error.
18547 Use char because int might match the return type of a GCC
18548 builtin and then its argument prototype would still apply. */
18549 #ifdef __cplusplus
18550 extern "C"
18551 #endif
18552 char ber_init ();
18554 main ()
18556 return ber_init ();
18558 return 0;
18560 _ACEOF
18561 if ac_fn_c_try_link "$LINENO"; then :
18562 ac_cv_lib_lber_ber_init=yes
18563 else
18564 ac_cv_lib_lber_ber_init=no
18566 rm -f core conftest.err conftest.$ac_objext \
18567 conftest$ac_exeext conftest.$ac_ext
18568 LIBS=$ac_check_lib_save_LIBS
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18571 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18572 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18574 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18576 else
18577 LDAP_LIBS=""
18580 else
18581 LDAP_LIBS=""
18584 else
18585 LDAP_LIBS=""
18588 ac_wine_check_funcs_save_LIBS="$LIBS"
18589 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18590 for ac_func in \
18591 ldap_count_references \
18592 ldap_first_reference \
18593 ldap_next_reference \
18594 ldap_parse_reference \
18595 ldap_parse_sort_control \
18596 ldap_parse_sortresponse_control \
18597 ldap_parse_vlv_control \
18598 ldap_parse_vlvresponse_control
18599 do :
18600 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18601 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18602 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18603 cat >>confdefs.h <<_ACEOF
18604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18605 _ACEOF
18608 done
18610 LIBS="$ac_wine_check_funcs_save_LIBS"
18611 else
18612 LDAP_LIBS=""
18614 CPPFLAGS=$ac_save_CPPFLAGS
18617 if test "x$LDAP_LIBS" = "x"; then :
18618 case "x$with_ldap" in
18619 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18620 xno) ;;
18621 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18622 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18623 esac
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18628 $as_echo_n "checking for sched_setaffinity... " >&6; }
18629 if ${wine_cv_have_sched_setaffinity+:} false; then :
18630 $as_echo_n "(cached) " >&6
18631 else
18632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18634 #define _GNU_SOURCE
18635 #include <sched.h>
18637 main ()
18639 sched_setaffinity(0, 0, 0);
18641 return 0;
18643 _ACEOF
18644 if ac_fn_c_try_link "$LINENO"; then :
18645 wine_cv_have_sched_setaffinity=yes
18646 else
18647 wine_cv_have_sched_setaffinity=no
18649 rm -f core conftest.err conftest.$ac_objext \
18650 conftest$ac_exeext conftest.$ac_ext
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18653 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18654 if test "$wine_cv_have_sched_setaffinity" = "yes"
18655 then
18657 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18662 $as_echo_n "checking for fallocate... " >&6; }
18663 if ${wine_cv_have_fallocate+:} false; then :
18664 $as_echo_n "(cached) " >&6
18665 else
18666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18667 /* end confdefs.h. */
18668 #define _GNU_SOURCE
18669 #include <fcntl.h>
18671 main ()
18673 fallocate(-1, 0, 0, 0);
18675 return 0;
18677 _ACEOF
18678 if ac_fn_c_try_link "$LINENO"; then :
18679 wine_cv_have_fallocate=yes
18680 else
18681 wine_cv_have_fallocate=no
18683 rm -f core conftest.err conftest.$ac_objext \
18684 conftest$ac_exeext conftest.$ac_ext
18686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18687 $as_echo "$wine_cv_have_fallocate" >&6; }
18688 if test "$wine_cv_have_fallocate" = "yes"
18689 then
18691 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18697 $as_echo_n "checking for inline... " >&6; }
18698 if ${ac_cv_c_inline+:} false; then :
18699 $as_echo_n "(cached) " >&6
18700 else
18701 ac_cv_c_inline=no
18702 for ac_kw in inline __inline__ __inline; do
18703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 #ifndef __cplusplus
18706 typedef int foo_t;
18707 static $ac_kw foo_t static_foo () {return 0; }
18708 $ac_kw foo_t foo () {return 0; }
18709 #endif
18711 _ACEOF
18712 if ac_fn_c_try_compile "$LINENO"; then :
18713 ac_cv_c_inline=$ac_kw
18715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18716 test "$ac_cv_c_inline" != no && break
18717 done
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18721 $as_echo "$ac_cv_c_inline" >&6; }
18723 case $ac_cv_c_inline in
18724 inline | yes) ;;
18726 case $ac_cv_c_inline in
18727 no) ac_val=;;
18728 *) ac_val=$ac_cv_c_inline;;
18729 esac
18730 cat >>confdefs.h <<_ACEOF
18731 #ifndef __cplusplus
18732 #define inline $ac_val
18733 #endif
18734 _ACEOF
18736 esac
18738 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18739 #include <signal.h>
18741 if test "x$ac_cv_type_sigset_t" = xyes; then :
18743 cat >>confdefs.h <<_ACEOF
18744 #define HAVE_SIGSET_T 1
18745 _ACEOF
18750 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18752 if test "x$ac_cv_type_request_sense" = xyes; then :
18754 cat >>confdefs.h <<_ACEOF
18755 #define HAVE_REQUEST_SENSE 1
18756 _ACEOF
18762 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18763 #ifdef HAVE_SYS_SOCKET_H
18764 #include <sys/socket.h>
18765 #endif
18766 #ifdef HAVE_SYS_SOCKETVAR_H
18767 #include <sys/socketvar.h>
18768 #endif
18769 #ifdef HAVE_NET_ROUTE_H
18770 #include <net/route.h>
18771 #endif
18772 #ifdef HAVE_NETINET_IN_H
18773 #include <netinet/in.h>
18774 #endif
18775 #ifdef HAVE_NETINET_IN_SYSTM_H
18776 #include <netinet/in_systm.h>
18777 #endif
18778 #ifdef HAVE_NETINET_IP_H
18779 #include <netinet/ip.h>
18780 #endif
18781 #ifdef HAVE_NETINET_IN_PCB_H
18782 #include <netinet/in_pcb.h>
18783 #endif
18785 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18787 cat >>confdefs.h <<_ACEOF
18788 #define HAVE_STRUCT_XINPGEN 1
18789 _ACEOF
18795 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18796 #include <linux/input.h>
18797 #endif
18799 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18801 cat >>confdefs.h <<_ACEOF
18802 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18803 _ACEOF
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18810 $as_echo_n "checking for if_nameindex... " >&6; }
18811 if ${wine_cv_have_if_nameindex+:} false; then :
18812 $as_echo_n "(cached) " >&6
18813 else
18814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18815 /* end confdefs.h. */
18816 #ifdef HAVE_SYS_TYPES_H
18817 #include <sys/types.h>
18818 #endif
18819 #ifdef HAVE_SYS_SOCKET_H
18820 #include <sys/socket.h>
18821 #endif
18822 #ifdef HAVE_NET_IF_H
18823 # include <net/if.h>
18824 #endif
18826 main ()
18828 struct if_nameindex *p = if_nameindex(); return p->if_index;
18830 return 0;
18832 _ACEOF
18833 if ac_fn_c_try_link "$LINENO"; then :
18834 wine_cv_have_if_nameindex=yes
18835 else
18836 wine_cv_have_if_nameindex=no
18838 rm -f core conftest.err conftest.$ac_objext \
18839 conftest$ac_exeext conftest.$ac_ext
18841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18842 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18843 if test "$wine_cv_have_if_nameindex" = "yes"
18844 then
18846 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18851 $as_echo_n "checking for sigaddset... " >&6; }
18852 if ${wine_cv_have_sigaddset+:} false; then :
18853 $as_echo_n "(cached) " >&6
18854 else
18855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18857 #include <signal.h>
18859 main ()
18861 sigset_t set; sigaddset(&set,SIGTERM);
18863 return 0;
18865 _ACEOF
18866 if ac_fn_c_try_link "$LINENO"; then :
18867 wine_cv_have_sigaddset=yes
18868 else
18869 wine_cv_have_sigaddset=no
18871 rm -f core conftest.err conftest.$ac_objext \
18872 conftest$ac_exeext conftest.$ac_ext
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18875 $as_echo "$wine_cv_have_sigaddset" >&6; }
18876 if test "$wine_cv_have_sigaddset" = "yes"
18877 then
18879 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18885 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18886 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18887 $as_echo_n "(cached) " >&6
18888 else
18889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18890 /* end confdefs.h. */
18891 #include <netdb.h>
18893 main ()
18896 char *name=0;
18897 struct hostent he;
18898 struct hostent *result;
18899 char *buf=0;
18900 int bufsize=0;
18901 int errnr;
18902 char *addr=0;
18903 int addrlen=0;
18904 int addrtype=0;
18905 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18906 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18909 return 0;
18911 _ACEOF
18912 if ac_fn_c_try_link "$LINENO"; then :
18913 wine_cv_linux_gethostbyname_r_6=yes
18914 else
18915 wine_cv_linux_gethostbyname_r_6=no
18918 rm -f core conftest.err conftest.$ac_objext \
18919 conftest$ac_exeext conftest.$ac_ext
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18923 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18924 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18925 then
18927 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18931 if test "$ac_cv_header_linux_joystick_h" = "yes"
18932 then
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18934 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18935 if ${wine_cv_linux_joystick_22_api+:} false; then :
18936 $as_echo_n "(cached) " >&6
18937 else
18938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18941 #include <sys/ioctl.h>
18942 #include <sys/types.h>
18943 #include <linux/joystick.h>
18945 struct js_event blub;
18946 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18947 #error "no 2.2 header"
18948 #endif
18951 main ()
18953 /*empty*/
18955 return 0;
18957 _ACEOF
18958 if ac_fn_c_try_compile "$LINENO"; then :
18959 wine_cv_linux_joystick_22_api=yes
18960 else
18961 wine_cv_linux_joystick_22_api=no
18963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18967 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18968 if test "$wine_cv_linux_joystick_22_api" = "yes"
18969 then
18971 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18976 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18977 #ifdef HAVE_SYS_SOCKET_H
18978 # include <sys/socket.h>
18979 #endif
18980 #ifdef HAVE_SYS_UN_H
18981 # include <sys/un.h>
18982 #endif
18984 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18986 cat >>confdefs.h <<_ACEOF
18987 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18988 _ACEOF
18992 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18993 #ifdef HAVE_SYS_SOCKET_H
18994 # include <sys/socket.h>
18995 #endif
18996 #ifdef HAVE_SYS_UN_H
18997 # include <sys/un.h>
18998 #endif
19000 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19002 cat >>confdefs.h <<_ACEOF
19003 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19004 _ACEOF
19008 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19009 #ifdef HAVE_SYS_SOCKET_H
19010 # include <sys/socket.h>
19011 #endif
19012 #ifdef HAVE_SYS_UN_H
19013 # include <sys/un.h>
19014 #endif
19016 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19018 cat >>confdefs.h <<_ACEOF
19019 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19020 _ACEOF
19026 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19027 #ifdef HAVE_SCSI_SG_H
19028 #include <scsi/sg.h>
19029 #endif
19031 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19033 cat >>confdefs.h <<_ACEOF
19034 #define HAVE_SCSIREQ_T_CMD 1
19035 _ACEOF
19039 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>
19040 #ifdef HAVE_SCSI_SG_H
19041 #include <scsi/sg.h>
19042 #endif
19044 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19046 cat >>confdefs.h <<_ACEOF
19047 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19048 _ACEOF
19054 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19056 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19058 cat >>confdefs.h <<_ACEOF
19059 #define HAVE_SIGINFO_T_SI_FD 1
19060 _ACEOF
19066 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19067 #ifdef HAVE_SYS_MTIO_H
19068 #include <sys/mtio.h>
19069 #endif
19071 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19073 cat >>confdefs.h <<_ACEOF
19074 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19075 _ACEOF
19079 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19080 #ifdef HAVE_SYS_MTIO_H
19081 #include <sys/mtio.h>
19082 #endif
19084 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19086 cat >>confdefs.h <<_ACEOF
19087 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19088 _ACEOF
19092 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19093 #ifdef HAVE_SYS_MTIO_H
19094 #include <sys/mtio.h>
19095 #endif
19097 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19099 cat >>confdefs.h <<_ACEOF
19100 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19101 _ACEOF
19107 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19108 #include <getopt.h>
19109 #endif
19111 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19113 cat >>confdefs.h <<_ACEOF
19114 #define HAVE_STRUCT_OPTION_NAME 1
19115 _ACEOF
19121 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19122 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19124 cat >>confdefs.h <<_ACEOF
19125 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19126 _ACEOF
19130 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19131 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19133 cat >>confdefs.h <<_ACEOF
19134 #define HAVE_STRUCT_STAT_ST_MTIM 1
19135 _ACEOF
19139 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19140 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19142 cat >>confdefs.h <<_ACEOF
19143 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19144 _ACEOF
19148 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19149 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19151 cat >>confdefs.h <<_ACEOF
19152 #define HAVE_STRUCT_STAT_ST_CTIM 1
19153 _ACEOF
19157 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19158 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19160 cat >>confdefs.h <<_ACEOF
19161 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19162 _ACEOF
19166 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19167 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19169 cat >>confdefs.h <<_ACEOF
19170 #define HAVE_STRUCT_STAT_ST_ATIM 1
19171 _ACEOF
19175 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19176 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19178 cat >>confdefs.h <<_ACEOF
19179 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19180 _ACEOF
19184 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19185 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19187 cat >>confdefs.h <<_ACEOF
19188 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19189 _ACEOF
19193 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19194 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19196 cat >>confdefs.h <<_ACEOF
19197 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19198 _ACEOF
19202 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19203 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19205 cat >>confdefs.h <<_ACEOF
19206 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19207 _ACEOF
19211 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19212 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19214 cat >>confdefs.h <<_ACEOF
19215 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19216 _ACEOF
19220 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19221 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19225 _ACEOF
19231 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
19232 #include <sys/types.h>
19233 #endif
19234 #ifdef HAVE_NETINET_IN_H
19235 #include <netinet/in.h>
19236 #endif
19238 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19240 cat >>confdefs.h <<_ACEOF
19241 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19242 _ACEOF
19248 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19249 #include <sys/types.h>
19250 #endif
19251 #ifdef HAVE_NETINET_IN_H
19252 #include <netinet/in.h>
19253 #endif
19254 #ifdef HAVE_RESOLV_H
19255 #include <resolv.h>
19256 #endif
19258 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19260 cat >>confdefs.h <<_ACEOF
19261 #define HAVE_STRUCT___RES_STATE 1
19262 _ACEOF
19268 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
19269 #include <resolv.h>
19270 #endif
19272 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19274 cat >>confdefs.h <<_ACEOF
19275 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19276 _ACEOF
19282 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19283 #include <sys/types.h>
19284 #endif
19285 #ifdef HAVE_NETINET_IN_H
19286 # include <netinet/in.h>
19287 #endif
19288 #ifdef HAVE_ARPA_NAMESER_H
19289 # include <arpa/nameser.h>
19290 #endif
19292 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19294 cat >>confdefs.h <<_ACEOF
19295 #define HAVE_NS_MSG__MSG_PTR 1
19296 _ACEOF
19302 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19303 #include <sys/types.h>
19304 #endif
19305 #ifdef HAVE_NETINET_IN_H
19306 #include <netinet/in.h>
19307 #endif
19308 #ifdef HAVE_NETINET_IP_H
19309 #include <netinet/ip.h>
19310 #endif
19311 #ifdef HAVE_NETINET_IP_ICMP_H
19312 #include <netinet/ip_icmp.h>
19313 #endif
19314 #ifdef HAVE_NETINET_ICMP_VAR_H
19315 #include <netinet/icmp_var.h>
19316 #endif
19318 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19320 cat >>confdefs.h <<_ACEOF
19321 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19322 _ACEOF
19328 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19329 #include <sys/types.h>
19330 #endif
19331 #ifdef HAVE_ALIAS_H
19332 #include <alias.h>
19333 #endif
19334 #ifdef HAVE_SYS_SOCKET_H
19335 #include <sys/socket.h>
19336 #endif
19337 #ifdef HAVE_SYS_SOCKETVAR_H
19338 #include <sys/socketvar.h>
19339 #endif
19340 #ifdef HAVE_SYS_TIMEOUT_H
19341 #include <sys/timeout.h>
19342 #endif
19343 #ifdef HAVE_NETINET_IN_H
19344 #include <netinet/in.h>
19345 #endif
19346 #ifdef HAVE_NETINET_IN_SYSTM_H
19347 #include <netinet/in_systm.h>
19348 #endif
19349 #ifdef HAVE_NETINET_IP_H
19350 #include <netinet/ip.h>
19351 #endif
19352 #ifdef HAVE_NETINET_IP_VAR_H
19353 #include <netinet/ip_var.h>
19354 #endif
19355 #ifdef HAVE_NETINET_IP_ICMP_H
19356 #include <netinet/ip_icmp.h>
19357 #endif
19358 #ifdef HAVE_NETINET_ICMP_VAR_H
19359 #include <netinet/icmp_var.h>
19360 #endif
19362 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19364 cat >>confdefs.h <<_ACEOF
19365 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19366 _ACEOF
19372 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
19373 #define _GNU_SOURCE
19374 #include <netinet/in.h>
19375 #endif
19377 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes; then :
19379 cat >>confdefs.h <<_ACEOF
19380 #define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1
19381 _ACEOF
19387 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19388 #include <sys/types.h>
19389 #endif
19390 #ifdef HAVE_SYS_SOCKETVAR_H
19391 #include <sys/socketvar.h>
19392 #endif
19393 #ifdef HAVE_NETINET_IN_H
19394 #include <netinet/in.h>
19395 #endif
19396 #ifdef HAVE_NETINET_IP_VAR_H
19397 #include <netinet/ip_var.h>
19398 #endif
19400 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19402 cat >>confdefs.h <<_ACEOF
19403 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19404 _ACEOF
19410 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
19411 #include <netinet/ip_var.h>
19412 #endif
19414 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19416 cat >>confdefs.h <<_ACEOF
19417 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19418 _ACEOF
19424 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19425 #include <sys/types.h>
19426 #endif
19427 #ifdef HAVE_SYS_SOCKETVAR_H
19428 #include <sys/socketvar.h>
19429 #endif
19430 #ifdef HAVE_NETINET_IN_H
19431 #include <netinet/in.h>
19432 #endif
19433 #ifdef HAVE_NETINET_TCP_H
19434 #include <netinet/tcp.h>
19435 #endif
19436 #ifdef HAVE_NETINET_TCP_VAR_H
19437 #include <netinet/tcp_var.h>
19438 #endif
19440 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19442 cat >>confdefs.h <<_ACEOF
19443 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19444 _ACEOF
19450 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
19451 #include <netinet/tcp_var.h>
19452 #endif
19454 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19456 cat >>confdefs.h <<_ACEOF
19457 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19458 _ACEOF
19464 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19465 #include <sys/types.h>
19466 #endif
19467 #ifdef HAVE_NETINET_IN_H
19468 #include <netinet/in.h>
19469 #endif
19470 #ifdef HAVE_NETINET_IP_VAR_H
19471 #include <netinet/ip_var.h>
19472 #endif
19473 #ifdef HAVE_NETINET_UDP_H
19474 #include <netinet/udp.h>
19475 #endif
19476 #ifdef HAVE_NETINET_UDP_VAR_H
19477 #include <netinet/udp_var.h>
19478 #endif
19480 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19482 cat >>confdefs.h <<_ACEOF
19483 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19484 _ACEOF
19490 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19491 #include <sys/types.h>
19492 #endif
19493 #ifdef HAVE_NET_IF_H
19494 # include <net/if.h>
19495 #endif
19497 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19499 cat >>confdefs.h <<_ACEOF
19500 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19501 _ACEOF
19507 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19508 # include <sys/sysinfo.h>
19509 #endif
19511 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19513 cat >>confdefs.h <<_ACEOF
19514 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19515 _ACEOF
19519 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19520 # include <sys/sysinfo.h>
19521 #endif
19523 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19525 cat >>confdefs.h <<_ACEOF
19526 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19527 _ACEOF
19533 ac_save_LIBS="$LIBS"
19534 LIBS="$LIBS -lm"
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19536 $as_echo_n "checking for isfinite... " >&6; }
19537 if ${ac_cv_have_isfinite+:} false; then :
19538 $as_echo_n "(cached) " >&6
19539 else
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 #define _GNU_SOURCE
19543 #include <math.h>
19545 main ()
19547 float f = 0.0; return isfinite(f)
19549 return 0;
19551 _ACEOF
19552 if ac_fn_c_try_link "$LINENO"; then :
19553 ac_cv_have_isfinite="yes"
19554 else
19555 ac_cv_have_isfinite="no"
19557 rm -f core conftest.err conftest.$ac_objext \
19558 conftest$ac_exeext conftest.$ac_ext
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19561 $as_echo "$ac_cv_have_isfinite" >&6; }
19562 if test "$ac_cv_have_isfinite" = "yes"
19563 then
19565 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19570 $as_echo_n "checking for isinf... " >&6; }
19571 if ${ac_cv_have_isinf+:} false; then :
19572 $as_echo_n "(cached) " >&6
19573 else
19574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19576 #include <math.h>
19578 main ()
19580 float f = 0.0; return isinf(f)
19582 return 0;
19584 _ACEOF
19585 if ac_fn_c_try_link "$LINENO"; then :
19586 ac_cv_have_isinf="yes"
19587 else
19588 ac_cv_have_isinf="no"
19590 rm -f core conftest.err conftest.$ac_objext \
19591 conftest$ac_exeext conftest.$ac_ext
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19594 $as_echo "$ac_cv_have_isinf" >&6; }
19595 if test "$ac_cv_have_isinf" = "yes"
19596 then
19598 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19603 $as_echo_n "checking for isnan... " >&6; }
19604 if ${ac_cv_have_isnan+:} false; then :
19605 $as_echo_n "(cached) " >&6
19606 else
19607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19608 /* end confdefs.h. */
19609 #include <math.h>
19611 main ()
19613 float f = 0.0; return isnan(f)
19615 return 0;
19617 _ACEOF
19618 if ac_fn_c_try_link "$LINENO"; then :
19619 ac_cv_have_isnan="yes"
19620 else
19621 ac_cv_have_isnan="no"
19623 rm -f core conftest.err conftest.$ac_objext \
19624 conftest$ac_exeext conftest.$ac_ext
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19627 $as_echo "$ac_cv_have_isnan" >&6; }
19628 if test "$ac_cv_have_isnan" = "yes"
19629 then
19631 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19635 LIBS="$ac_save_LIBS"
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19638 $as_echo_n "checking for __builtin_popcount... " >&6; }
19639 if ${ac_cv_have___builtin_popcount+:} false; then :
19640 $as_echo_n "(cached) " >&6
19641 else
19642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19646 main ()
19648 return __builtin_popcount(1)
19650 return 0;
19652 _ACEOF
19653 if ac_fn_c_try_link "$LINENO"; then :
19654 ac_cv_have___builtin_popcount="yes"
19655 else
19656 ac_cv_have___builtin_popcount="no"
19658 rm -f core conftest.err conftest.$ac_objext \
19659 conftest$ac_exeext conftest.$ac_ext
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19662 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19663 if test "$ac_cv_have___builtin_popcount" = "yes"
19664 then
19666 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19671 $as_echo_n "checking for __clear_cache... " >&6; }
19672 if ${ac_cv_have___clear_cache+:} false; then :
19673 $as_echo_n "(cached) " >&6
19674 else
19675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19676 /* end confdefs.h. */
19679 main ()
19681 __clear_cache((void*)0, (void*)0); return 0;
19683 return 0;
19685 _ACEOF
19686 if ac_fn_c_try_link "$LINENO"; then :
19687 ac_cv_have___clear_cache="yes"
19688 else
19689 ac_cv_have___clear_cache="no"
19691 rm -f core conftest.err conftest.$ac_objext \
19692 conftest$ac_exeext conftest.$ac_ext
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19695 $as_echo "$ac_cv_have___clear_cache" >&6; }
19696 if test "$ac_cv_have___clear_cache" = "yes"
19697 then
19699 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19704 case $host_cpu in
19705 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19706 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19707 if ${ac_cv_cpp_def___i386__+:} false; then :
19708 $as_echo_n "(cached) " >&6
19709 else
19710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19711 /* end confdefs.h. */
19712 #ifndef __i386__
19714 #endif
19715 _ACEOF
19716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19717 $EGREP "yes" >/dev/null 2>&1; then :
19718 ac_cv_cpp_def___i386__=yes
19719 else
19720 ac_cv_cpp_def___i386__=no
19722 rm -f conftest*
19725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19726 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19727 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19728 CFLAGS="$CFLAGS -D__i386__"
19729 LINTFLAGS="$LINTFLAGS -D__i386__"
19730 fi ;;
19731 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19732 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19733 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19734 $as_echo_n "(cached) " >&6
19735 else
19736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19737 /* end confdefs.h. */
19738 #ifndef __x86_64__
19740 #endif
19741 _ACEOF
19742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19743 $EGREP "yes" >/dev/null 2>&1; then :
19744 ac_cv_cpp_def___x86_64__=yes
19745 else
19746 ac_cv_cpp_def___x86_64__=no
19748 rm -f conftest*
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19752 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19753 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19754 CFLAGS="$CFLAGS -D__x86_64__"
19755 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19756 fi ;;
19757 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19758 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19759 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19760 $as_echo_n "(cached) " >&6
19761 else
19762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19763 /* end confdefs.h. */
19764 #ifndef __sparc64__
19766 #endif
19767 _ACEOF
19768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19769 $EGREP "yes" >/dev/null 2>&1; then :
19770 ac_cv_cpp_def___sparc64__=yes
19771 else
19772 ac_cv_cpp_def___sparc64__=no
19774 rm -f conftest*
19777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19778 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19779 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19780 CFLAGS="$CFLAGS -D__sparc64__"
19781 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19782 fi ;;
19783 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19784 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19785 if ${ac_cv_cpp_def___sparc__+:} false; then :
19786 $as_echo_n "(cached) " >&6
19787 else
19788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19789 /* end confdefs.h. */
19790 #ifndef __sparc__
19792 #endif
19793 _ACEOF
19794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19795 $EGREP "yes" >/dev/null 2>&1; then :
19796 ac_cv_cpp_def___sparc__=yes
19797 else
19798 ac_cv_cpp_def___sparc__=no
19800 rm -f conftest*
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19804 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19805 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19806 CFLAGS="$CFLAGS -D__sparc__"
19807 LINTFLAGS="$LINTFLAGS -D__sparc__"
19808 fi ;;
19809 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19810 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19811 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19812 $as_echo_n "(cached) " >&6
19813 else
19814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h. */
19816 #ifndef __powerpc64__
19818 #endif
19819 _ACEOF
19820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19821 $EGREP "yes" >/dev/null 2>&1; then :
19822 ac_cv_cpp_def___powerpc64__=yes
19823 else
19824 ac_cv_cpp_def___powerpc64__=no
19826 rm -f conftest*
19829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19830 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19831 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19832 CFLAGS="$CFLAGS -D__powerpc64__"
19833 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19834 fi ;;
19835 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19836 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19837 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19838 $as_echo_n "(cached) " >&6
19839 else
19840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19841 /* end confdefs.h. */
19842 #ifndef __powerpc__
19844 #endif
19845 _ACEOF
19846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19847 $EGREP "yes" >/dev/null 2>&1; then :
19848 ac_cv_cpp_def___powerpc__=yes
19849 else
19850 ac_cv_cpp_def___powerpc__=no
19852 rm -f conftest*
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19856 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19857 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19858 CFLAGS="$CFLAGS -D__powerpc__"
19859 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19860 fi ;;
19861 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19862 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19863 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19864 $as_echo_n "(cached) " >&6
19865 else
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19868 #ifndef __aarch64__
19870 #endif
19871 _ACEOF
19872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19873 $EGREP "yes" >/dev/null 2>&1; then :
19874 ac_cv_cpp_def___aarch64__=yes
19875 else
19876 ac_cv_cpp_def___aarch64__=no
19878 rm -f conftest*
19881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19882 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19883 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19884 CFLAGS="$CFLAGS -D__aarch64__"
19885 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19886 fi ;;
19887 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19888 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19889 if ${ac_cv_cpp_def___arm__+:} false; then :
19890 $as_echo_n "(cached) " >&6
19891 else
19892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19893 /* end confdefs.h. */
19894 #ifndef __arm__
19896 #endif
19897 _ACEOF
19898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19899 $EGREP "yes" >/dev/null 2>&1; then :
19900 ac_cv_cpp_def___arm__=yes
19901 else
19902 ac_cv_cpp_def___arm__=no
19904 rm -f conftest*
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19908 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19909 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19910 CFLAGS="$CFLAGS -D__arm__"
19911 LINTFLAGS="$LINTFLAGS -D__arm__"
19912 fi ;;
19913 esac
19915 case $host_vendor in
19916 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19917 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19918 if ${ac_cv_cpp_def___sun__+:} false; then :
19919 $as_echo_n "(cached) " >&6
19920 else
19921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19922 /* end confdefs.h. */
19923 #ifndef __sun__
19925 #endif
19926 _ACEOF
19927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19928 $EGREP "yes" >/dev/null 2>&1; then :
19929 ac_cv_cpp_def___sun__=yes
19930 else
19931 ac_cv_cpp_def___sun__=no
19933 rm -f conftest*
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19937 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19938 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19939 CFLAGS="$CFLAGS -D__sun__"
19940 LINTFLAGS="$LINTFLAGS -D__sun__"
19941 fi ;;
19942 esac
19948 ac_config_commands="$ac_config_commands include/stamp-h"
19950 $as_echo_n "creating Makefile rules..." >&6
19952 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19953 OPENGL_LIBS = $OPENGL_LIBS
19954 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19955 IOKIT_LIBS = $IOKIT_LIBS
19956 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19957 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19958 CORESERVICES_LIBS = $CORESERVICES_LIBS
19959 APPKIT_LIBS = $APPKIT_LIBS
19960 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19961 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19962 SECURITY_LIBS = $SECURITY_LIBS
19963 COREAUDIO_LIBS = $COREAUDIO_LIBS
19964 OPENAL_LIBS = $OPENAL_LIBS
19965 OPENCL_LIBS = $OPENCL_LIBS
19966 QUICKTIME_LIBS = $QUICKTIME_LIBS
19967 CARBON_LIBS = $CARBON_LIBS
19968 METAL_LIBS = $METAL_LIBS
19969 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19970 PTHREAD_LIBS = $PTHREAD_LIBS
19971 X_CFLAGS = $X_CFLAGS
19972 X_PRE_LIBS = $X_PRE_LIBS
19973 X_LIBS = $X_LIBS
19974 X_EXTRA_LIBS = $X_EXTRA_LIBS
19975 PCAP_LIBS = $PCAP_LIBS
19976 XML2_CFLAGS = $XML2_CFLAGS
19977 XML2_LIBS = $XML2_LIBS
19978 XSLT_CFLAGS = $XSLT_CFLAGS
19979 XSLT_LIBS = $XSLT_LIBS
19980 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19981 INOTIFY_LIBS = $INOTIFY_LIBS
19982 DBUS_CFLAGS = $DBUS_CFLAGS
19983 DBUS_LIBS = $DBUS_LIBS
19984 HAL_CFLAGS = $HAL_CFLAGS
19985 HAL_LIBS = $HAL_LIBS
19986 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19987 GNUTLS_LIBS = $GNUTLS_LIBS
19988 SANE_CFLAGS = $SANE_CFLAGS
19989 SANE_LIBS = $SANE_LIBS
19990 USB_CFLAGS = $USB_CFLAGS
19991 USB_LIBS = $USB_LIBS
19992 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19993 GPHOTO2_LIBS = $GPHOTO2_LIBS
19994 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19995 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19996 RESOLV_LIBS = $RESOLV_LIBS
19997 LCMS2_CFLAGS = $LCMS2_CFLAGS
19998 LCMS2_LIBS = $LCMS2_LIBS
19999 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20000 FREETYPE_LIBS = $FREETYPE_LIBS
20001 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20002 PULSE_CFLAGS = $PULSE_CFLAGS
20003 PULSE_LIBS = $PULSE_LIBS
20004 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20005 GSTREAMER_LIBS = $GSTREAMER_LIBS
20006 ALSA_LIBS = $ALSA_LIBS
20007 OSS4_CFLAGS = $OSS4_CFLAGS
20008 OSS4_LIBS = $OSS4_LIBS
20009 UDEV_CFLAGS = $UDEV_CFLAGS
20010 UDEV_LIBS = $UDEV_LIBS
20011 UNWIND_CFLAGS = $UNWIND_CFLAGS
20012 UNWIND_LIBS = $UNWIND_LIBS
20013 SDL2_CFLAGS = $SDL2_CFLAGS
20014 SDL2_LIBS = $SDL2_LIBS
20015 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20016 FAUDIO_LIBS = $FAUDIO_LIBS
20017 CAPI20_CFLAGS = $CAPI20_CFLAGS
20018 CAPI20_LIBS = $CAPI20_LIBS
20019 CUPS_CFLAGS = $CUPS_CFLAGS
20020 CUPS_LIBS = $CUPS_LIBS
20021 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20022 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20023 KRB5_CFLAGS = $KRB5_CFLAGS
20024 KRB5_LIBS = $KRB5_LIBS
20025 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20026 GSSAPI_LIBS = $GSSAPI_LIBS
20027 JPEG_CFLAGS = $JPEG_CFLAGS
20028 JPEG_LIBS = $JPEG_LIBS
20029 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20030 JXRLIB_LIBS = $JXRLIB_LIBS
20031 PNG_CFLAGS = $PNG_CFLAGS
20032 PNG_LIBS = $PNG_LIBS
20033 TIFF_CFLAGS = $TIFF_CFLAGS
20034 TIFF_LIBS = $TIFF_LIBS
20035 MPG123_CFLAGS = $MPG123_CFLAGS
20036 MPG123_LIBS = $MPG123_LIBS
20037 KSTAT_LIBS = $KSTAT_LIBS
20038 PROCSTAT_LIBS = $PROCSTAT_LIBS
20039 NETAPI_CFLAGS = $NETAPI_CFLAGS
20040 NETAPI_LIBS = $NETAPI_LIBS
20041 VKD3D_CFLAGS = $VKD3D_CFLAGS
20042 VKD3D_LIBS = $VKD3D_LIBS
20043 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20044 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20045 POLL_LIBS = $POLL_LIBS
20046 RT_LIBS = $RT_LIBS
20047 LDAP_CFLAGS = $LDAP_CFLAGS
20048 LDAP_LIBS = $LDAP_LIBS
20052 makedep_flags=""
20053 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20056 wine_fn_append_rule "
20057 # Rules automatically generated by configure
20059 .INIT: Makefile
20060 .MAKEFILEDEPS:
20061 all: Makefile
20062 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20063 @./config.status Make.tmp Makefile
20064 depend: \$(MAKEDEP)
20065 \$(MAKEDEP)$makedep_flags
20066 dummy:
20067 .PHONY: depend dummy"
20069 ac_config_links="$ac_config_links wine:tools/winewrapper"
20070 wine_fn_config_symlink wine
20071 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20072 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20073 wine_fn_config_symlink wine64
20076 wine_fn_config_makefile dlls/acledit enable_acledit
20077 wine_fn_config_makefile dlls/aclui enable_aclui
20078 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20079 wine_fn_config_makefile dlls/activeds enable_activeds
20080 wine_fn_config_makefile dlls/activeds/tests enable_tests
20081 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20082 wine_fn_config_makefile dlls/adsiid enable_adsiid
20083 wine_fn_config_makefile dlls/adsldp enable_adsldp
20084 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20085 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20086 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20087 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20088 wine_fn_config_makefile dlls/advpack enable_advpack
20089 wine_fn_config_makefile dlls/advpack/tests enable_tests
20090 wine_fn_config_makefile dlls/amsi enable_amsi
20091 wine_fn_config_makefile dlls/amstream enable_amstream
20092 wine_fn_config_makefile dlls/amstream/tests enable_tests
20093 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20095 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20096 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20098 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20103 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20120 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20121 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20124 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20129 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20130 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20132 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20133 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20142 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20147 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
20148 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20149 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20154 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20155 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20159 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20160 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20168 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20169 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20170 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20171 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20179 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20183 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20184 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20185 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20208 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20212 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20215 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20226 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20231 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20232 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20237 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20239 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20258 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20259 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20280 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20291 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20295 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20297 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20299 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20300 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20305 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20307 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20313 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20316 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20318 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20321 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20326 wine_fn_config_makefile dlls/apphelp enable_apphelp
20327 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20328 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20329 wine_fn_config_makefile dlls/atl enable_atl
20330 wine_fn_config_makefile dlls/atl/tests enable_tests
20331 wine_fn_config_makefile dlls/atl100 enable_atl100
20332 wine_fn_config_makefile dlls/atl100/tests enable_tests
20333 wine_fn_config_makefile dlls/atl110 enable_atl110
20334 wine_fn_config_makefile dlls/atl80 enable_atl80
20335 wine_fn_config_makefile dlls/atl80/tests enable_tests
20336 wine_fn_config_makefile dlls/atl90 enable_atl90
20337 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20338 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20339 wine_fn_config_makefile dlls/atmlib enable_atmlib
20340 wine_fn_config_makefile dlls/authz enable_authz
20341 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20342 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20343 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20344 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20345 wine_fn_config_makefile dlls/avrt enable_avrt
20346 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20347 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20348 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20349 wine_fn_config_makefile dlls/browseui enable_browseui
20350 wine_fn_config_makefile dlls/browseui/tests enable_tests
20351 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20352 wine_fn_config_makefile dlls/cabinet enable_cabinet
20353 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20354 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20355 wine_fn_config_makefile dlls/cards enable_cards
20356 wine_fn_config_makefile dlls/cdosys enable_cdosys
20357 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20358 wine_fn_config_makefile dlls/clusapi enable_clusapi
20359 wine_fn_config_makefile dlls/combase enable_combase
20360 wine_fn_config_makefile dlls/combase/tests enable_tests
20361 wine_fn_config_makefile dlls/comcat enable_comcat
20362 wine_fn_config_makefile dlls/comcat/tests enable_tests
20363 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20364 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20365 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20366 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20367 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20368 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20369 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20370 wine_fn_config_makefile dlls/compstui enable_compstui
20371 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20372 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20373 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20374 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20375 wine_fn_config_makefile dlls/connect enable_connect
20376 wine_fn_config_makefile dlls/credui enable_credui
20377 wine_fn_config_makefile dlls/credui/tests enable_tests
20378 wine_fn_config_makefile dlls/crtdll enable_crtdll
20379 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20380 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20381 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20382 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20383 wine_fn_config_makefile dlls/cryptext enable_cryptext
20384 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20385 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20386 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20387 wine_fn_config_makefile dlls/cryptui enable_cryptui
20388 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20389 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20390 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20391 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20392 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20393 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20394 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20395 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20396 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20397 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20398 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20399 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20400 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20401 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20402 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20403 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20404 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20405 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20406 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20407 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20408 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20409 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20410 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20411 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20412 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20413 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20414 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20415 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20416 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20417 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20418 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20419 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20420 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20421 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20422 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20423 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20424 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20425 wine_fn_config_makefile dlls/d3dim enable_d3dim
20426 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20427 wine_fn_config_makefile dlls/d3drm enable_d3drm
20428 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20429 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20430 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20431 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20432 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20433 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20434 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20435 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20436 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20437 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20438 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20439 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20440 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20441 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20442 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
20443 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20444 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20445 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20446 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20447 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20448 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20449 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20450 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20451 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20452 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20453 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20454 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20455 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20456 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20457 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20458 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20459 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20460 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20461 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20462 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20463 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20464 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20465 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20466 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20467 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20468 wine_fn_config_makefile dlls/davclnt enable_davclnt
20469 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20470 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20471 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20472 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20473 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20474 wine_fn_config_makefile dlls/dcomp enable_dcomp
20475 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20476 wine_fn_config_makefile dlls/ddraw enable_ddraw
20477 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20478 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20479 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20480 wine_fn_config_makefile dlls/devenum enable_devenum
20481 wine_fn_config_makefile dlls/devenum/tests enable_tests
20482 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20483 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20484 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20485 wine_fn_config_makefile dlls/difxapi enable_difxapi
20486 wine_fn_config_makefile dlls/dinput enable_dinput
20487 wine_fn_config_makefile dlls/dinput/tests enable_tests
20488 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20489 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20490 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20491 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20492 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20493 wine_fn_config_makefile dlls/dispex enable_dispex
20494 wine_fn_config_makefile dlls/dispex/tests enable_tests
20495 wine_fn_config_makefile dlls/display.drv16 enable_win16
20496 wine_fn_config_makefile dlls/dmband enable_dmband
20497 wine_fn_config_makefile dlls/dmband/tests enable_tests
20498 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20499 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20500 wine_fn_config_makefile dlls/dmime enable_dmime
20501 wine_fn_config_makefile dlls/dmime/tests enable_tests
20502 wine_fn_config_makefile dlls/dmloader enable_dmloader
20503 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20504 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20505 wine_fn_config_makefile dlls/dmscript enable_dmscript
20506 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20507 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20508 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20509 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20510 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20511 wine_fn_config_makefile dlls/dmusic enable_dmusic
20512 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20513 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20514 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20515 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20516 wine_fn_config_makefile dlls/dplay enable_dplay
20517 wine_fn_config_makefile dlls/dplayx enable_dplayx
20518 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20519 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20520 wine_fn_config_makefile dlls/dpnet enable_dpnet
20521 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20522 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20523 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20524 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20525 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20526 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20527 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20528 wine_fn_config_makefile dlls/drmclien enable_drmclien
20529 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20530 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20531 wine_fn_config_makefile dlls/dsound enable_dsound
20532 wine_fn_config_makefile dlls/dsound/tests enable_tests
20533 wine_fn_config_makefile dlls/dsquery enable_dsquery
20534 wine_fn_config_makefile dlls/dssenh enable_dssenh
20535 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20536 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20537 wine_fn_config_makefile dlls/dswave enable_dswave
20538 wine_fn_config_makefile dlls/dswave/tests enable_tests
20539 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20540 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20541 wine_fn_config_makefile dlls/dwrite enable_dwrite
20542 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20543 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20544 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20545 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20546 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20547 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20548 wine_fn_config_makefile dlls/dxgi enable_dxgi
20549 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20550 wine_fn_config_makefile dlls/dxguid enable_dxguid
20551 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
20552 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20553 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20554 wine_fn_config_makefile dlls/esent enable_esent
20555 wine_fn_config_makefile dlls/evr enable_evr
20556 wine_fn_config_makefile dlls/evr/tests enable_tests
20557 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20558 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20559 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20562 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20563 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20564 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20565 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20566 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20568 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20570 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20575 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20576 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20577 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20578 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20579 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20580 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20582 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20583 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20584 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20585 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20586 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20590 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20591 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20593 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20597 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20598 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20599 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
20600 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20601 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20602 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20603 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20604 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20605 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20606 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20607 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20608 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20609 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20610 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20611 wine_fn_config_makefile dlls/faultrep enable_faultrep
20612 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20613 wine_fn_config_makefile dlls/feclient enable_feclient
20614 wine_fn_config_makefile dlls/fltlib enable_fltlib
20615 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20616 wine_fn_config_makefile dlls/fntcache enable_fntcache
20617 wine_fn_config_makefile dlls/fontsub enable_fontsub
20618 wine_fn_config_makefile dlls/fusion enable_fusion
20619 wine_fn_config_makefile dlls/fusion/tests enable_tests
20620 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20621 wine_fn_config_makefile dlls/gameux enable_gameux
20622 wine_fn_config_makefile dlls/gameux/tests enable_tests
20623 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20624 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20625 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20626 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20627 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20628 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20629 wine_fn_config_makefile dlls/glu32 enable_glu32
20630 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20631 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20632 wine_fn_config_makefile dlls/hal enable_hal
20633 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20634 wine_fn_config_makefile dlls/hid enable_hid
20635 wine_fn_config_makefile dlls/hid/tests enable_tests
20636 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20637 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
20638 wine_fn_config_makefile dlls/hlink enable_hlink
20639 wine_fn_config_makefile dlls/hlink/tests enable_tests
20640 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20641 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20642 wine_fn_config_makefile dlls/http.sys enable_http_sys
20643 wine_fn_config_makefile dlls/httpapi enable_httpapi
20644 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20645 wine_fn_config_makefile dlls/iccvid enable_iccvid
20646 wine_fn_config_makefile dlls/icmp enable_icmp
20647 wine_fn_config_makefile dlls/ieframe enable_ieframe
20648 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20649 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20650 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20651 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20652 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20653 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20654 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20655 wine_fn_config_makefile dlls/imm32 enable_imm32
20656 wine_fn_config_makefile dlls/imm32/tests enable_tests
20657 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20658 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20659 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20660 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20661 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20662 wine_fn_config_makefile dlls/infosoft enable_infosoft
20663 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20664 wine_fn_config_makefile dlls/initpki enable_initpki
20665 wine_fn_config_makefile dlls/inkobj enable_inkobj
20666 wine_fn_config_makefile dlls/inseng enable_inseng
20667 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20668 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20669 wine_fn_config_makefile dlls/iprop enable_iprop
20670 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20671 wine_fn_config_makefile dlls/itircl enable_itircl
20672 wine_fn_config_makefile dlls/itss enable_itss
20673 wine_fn_config_makefile dlls/itss/tests enable_tests
20674 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20675 wine_fn_config_makefile dlls/jscript enable_jscript
20676 wine_fn_config_makefile dlls/jscript/tests enable_tests
20677 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20678 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20679 wine_fn_config_makefile dlls/kerberos enable_kerberos
20680 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20681 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20682 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20683 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20684 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20685 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20686 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20687 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20688 wine_fn_config_makefile dlls/ksuser enable_ksuser
20689 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20690 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20691 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
20692 wine_fn_config_makefile dlls/loadperf enable_loadperf
20693 wine_fn_config_makefile dlls/localspl enable_localspl
20694 wine_fn_config_makefile dlls/localspl/tests enable_tests
20695 wine_fn_config_makefile dlls/localui enable_localui
20696 wine_fn_config_makefile dlls/localui/tests enable_tests
20697 wine_fn_config_makefile dlls/lz32 enable_lz32
20698 wine_fn_config_makefile dlls/lz32/tests enable_tests
20699 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20700 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20701 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20702 wine_fn_config_makefile dlls/mapistub enable_mapistub
20703 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20704 wine_fn_config_makefile dlls/mcicda enable_mcicda
20705 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20706 wine_fn_config_makefile dlls/mciseq enable_mciseq
20707 wine_fn_config_makefile dlls/mciwave enable_mciwave
20708 wine_fn_config_makefile dlls/mf enable_mf
20709 wine_fn_config_makefile dlls/mf/tests enable_tests
20710 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20711 wine_fn_config_makefile dlls/mferror enable_mferror
20712 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20713 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20714 wine_fn_config_makefile dlls/mfplat enable_mfplat
20715 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20716 wine_fn_config_makefile dlls/mfplay enable_mfplay
20717 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20718 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20719 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20720 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20721 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20722 wine_fn_config_makefile dlls/midimap enable_midimap
20723 wine_fn_config_makefile dlls/mlang enable_mlang
20724 wine_fn_config_makefile dlls/mlang/tests enable_tests
20725 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20726 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20727 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20728 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20729 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20730 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20731 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20732 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20733 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20734 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20735 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20736 wine_fn_config_makefile dlls/mpr enable_mpr
20737 wine_fn_config_makefile dlls/mpr/tests enable_tests
20738 wine_fn_config_makefile dlls/mprapi enable_mprapi
20739 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20740 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20741 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20742 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20743 wine_fn_config_makefile dlls/msado15 enable_msado15
20744 wine_fn_config_makefile dlls/msado15/tests enable_tests
20745 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20746 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20747 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20748 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20749 wine_fn_config_makefile dlls/mscms enable_mscms
20750 wine_fn_config_makefile dlls/mscms/tests enable_tests
20751 wine_fn_config_makefile dlls/mscoree enable_mscoree
20752 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20753 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20754 wine_fn_config_makefile dlls/msctf enable_msctf
20755 wine_fn_config_makefile dlls/msctf/tests enable_tests
20756 wine_fn_config_makefile dlls/msctfp enable_msctfp
20757 wine_fn_config_makefile dlls/msdaps enable_msdaps
20758 wine_fn_config_makefile dlls/msdelta enable_msdelta
20759 wine_fn_config_makefile dlls/msdmo enable_msdmo
20760 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20761 wine_fn_config_makefile dlls/msdrm enable_msdrm
20762 wine_fn_config_makefile dlls/msftedit enable_msftedit
20763 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20764 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20765 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20766 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20767 wine_fn_config_makefile dlls/mshtml enable_mshtml
20768 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20769 wine_fn_config_makefile dlls/msi enable_msi
20770 wine_fn_config_makefile dlls/msi/tests enable_tests
20771 wine_fn_config_makefile dlls/msident enable_msident
20772 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20773 wine_fn_config_makefile dlls/msimsg enable_msimsg
20774 wine_fn_config_makefile dlls/msimtf enable_msimtf
20775 wine_fn_config_makefile dlls/msisip enable_msisip
20776 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20777 wine_fn_config_makefile dlls/msls31 enable_msls31
20778 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20779 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20780 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20781 wine_fn_config_makefile dlls/msports enable_msports
20782 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20783 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20784 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20785 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20786 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20787 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20788 wine_fn_config_makefile dlls/mstask enable_mstask
20789 wine_fn_config_makefile dlls/mstask/tests enable_tests
20790 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20791 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20792 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20793 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20794 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20795 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20796 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20797 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20798 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20799 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20800 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20801 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20802 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20803 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20804 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20805 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20806 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20807 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20808 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20809 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20810 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20811 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20812 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20813 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20814 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20815 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20816 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20817 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20818 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20819 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20820 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20821 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20822 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20823 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20824 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20825 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20826 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20827 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20828 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20829 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20830 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20831 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20832 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20833 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20834 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20835 wine_fn_config_makefile dlls/mswsock enable_mswsock
20836 wine_fn_config_makefile dlls/msxml enable_msxml
20837 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20838 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20839 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20840 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20841 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20842 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20843 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20844 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20845 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20846 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20847 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20848 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20849 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20850 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20851 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20852 wine_fn_config_makefile dlls/netprofm enable_netprofm
20853 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20854 wine_fn_config_makefile dlls/netutils enable_netutils
20855 wine_fn_config_makefile dlls/newdev enable_newdev
20856 wine_fn_config_makefile dlls/ninput enable_ninput
20857 wine_fn_config_makefile dlls/ninput/tests enable_tests
20858 wine_fn_config_makefile dlls/normaliz enable_normaliz
20859 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20860 wine_fn_config_makefile dlls/npptools enable_npptools
20861 wine_fn_config_makefile dlls/nsi enable_nsi
20862 wine_fn_config_makefile dlls/nsi/tests enable_tests
20863 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
20864 wine_fn_config_makefile dlls/ntdll enable_ntdll
20865 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20866 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20867 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20868 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20869 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20870 wine_fn_config_makefile dlls/ntprint enable_ntprint
20871 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20872 wine_fn_config_makefile dlls/objsel enable_objsel
20873 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20874 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20875 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20876 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20877 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20878 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20879 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20880 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20881 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20882 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20883 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20884 wine_fn_config_makefile dlls/ole32 enable_ole32
20885 wine_fn_config_makefile dlls/ole32/tests enable_tests
20886 wine_fn_config_makefile dlls/oleacc enable_oleacc
20887 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20888 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20889 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20890 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20891 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20892 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20893 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20894 wine_fn_config_makefile dlls/oledlg enable_oledlg
20895 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20896 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20897 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20898 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20899 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20900 wine_fn_config_makefile dlls/opcservices enable_opcservices
20901 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20902 wine_fn_config_makefile dlls/openal32 enable_openal32
20903 wine_fn_config_makefile dlls/opencl enable_opencl
20904 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20905 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20906 wine_fn_config_makefile dlls/packager enable_packager
20907 wine_fn_config_makefile dlls/packager/tests enable_tests
20908 wine_fn_config_makefile dlls/pdh enable_pdh
20909 wine_fn_config_makefile dlls/pdh/tests enable_tests
20910 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20911 wine_fn_config_makefile dlls/pidgen enable_pidgen
20912 wine_fn_config_makefile dlls/powrprof enable_powrprof
20913 wine_fn_config_makefile dlls/printui enable_printui
20914 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20915 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20916 wine_fn_config_makefile dlls/propsys enable_propsys
20917 wine_fn_config_makefile dlls/propsys/tests enable_tests
20918 wine_fn_config_makefile dlls/psapi enable_psapi
20919 wine_fn_config_makefile dlls/psapi/tests enable_tests
20920 wine_fn_config_makefile dlls/pstorec enable_pstorec
20921 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20922 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20923 wine_fn_config_makefile dlls/qasf enable_qasf
20924 wine_fn_config_makefile dlls/qasf/tests enable_tests
20925 wine_fn_config_makefile dlls/qcap enable_qcap
20926 wine_fn_config_makefile dlls/qcap/tests enable_tests
20927 wine_fn_config_makefile dlls/qdvd enable_qdvd
20928 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20929 wine_fn_config_makefile dlls/qedit enable_qedit
20930 wine_fn_config_makefile dlls/qedit/tests enable_tests
20931 wine_fn_config_makefile dlls/qmgr enable_qmgr
20932 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20933 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20934 wine_fn_config_makefile dlls/quartz enable_quartz
20935 wine_fn_config_makefile dlls/quartz/tests enable_tests
20936 wine_fn_config_makefile dlls/query enable_query
20937 wine_fn_config_makefile dlls/qwave enable_qwave
20938 wine_fn_config_makefile dlls/qwave/tests enable_tests
20939 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20940 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20941 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20942 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20943 wine_fn_config_makefile dlls/regapi enable_regapi
20944 wine_fn_config_makefile dlls/resutils enable_resutils
20945 wine_fn_config_makefile dlls/riched20 enable_riched20
20946 wine_fn_config_makefile dlls/riched20/tests enable_tests
20947 wine_fn_config_makefile dlls/riched32 enable_riched32
20948 wine_fn_config_makefile dlls/riched32/tests enable_tests
20949 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20950 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20951 wine_fn_config_makefile dlls/rsabase enable_rsabase
20952 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20953 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20954 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20955 wine_fn_config_makefile dlls/rtutils enable_rtutils
20956 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20957 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20958 wine_fn_config_makefile dlls/samlib enable_samlib
20959 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20960 wine_fn_config_makefile dlls/sapi enable_sapi
20961 wine_fn_config_makefile dlls/sapi/tests enable_tests
20962 wine_fn_config_makefile dlls/sas enable_sas
20963 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20964 wine_fn_config_makefile dlls/sccbase enable_sccbase
20965 wine_fn_config_makefile dlls/schannel enable_schannel
20966 wine_fn_config_makefile dlls/schannel/tests enable_tests
20967 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20968 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20969 wine_fn_config_makefile dlls/scrobj enable_scrobj
20970 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20971 wine_fn_config_makefile dlls/scrrun enable_scrrun
20972 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20973 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20974 wine_fn_config_makefile dlls/sechost enable_sechost
20975 wine_fn_config_makefile dlls/secur32 enable_secur32
20976 wine_fn_config_makefile dlls/secur32/tests enable_tests
20977 wine_fn_config_makefile dlls/security enable_security
20978 wine_fn_config_makefile dlls/sensapi enable_sensapi
20979 wine_fn_config_makefile dlls/serialui enable_serialui
20980 wine_fn_config_makefile dlls/serialui/tests enable_tests
20981 wine_fn_config_makefile dlls/setupapi enable_setupapi
20982 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20983 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20984 wine_fn_config_makefile dlls/sfc enable_sfc
20985 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20986 wine_fn_config_makefile dlls/shcore enable_shcore
20987 wine_fn_config_makefile dlls/shcore/tests enable_tests
20988 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20989 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20990 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20991 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20992 wine_fn_config_makefile dlls/shell32 enable_shell32
20993 wine_fn_config_makefile dlls/shell32/tests enable_tests
20994 wine_fn_config_makefile dlls/shfolder enable_shfolder
20995 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20996 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20997 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20998 wine_fn_config_makefile dlls/slc enable_slc
20999 wine_fn_config_makefile dlls/slc/tests enable_tests
21000 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21001 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21002 wine_fn_config_makefile dlls/softpub enable_softpub
21003 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21004 wine_fn_config_makefile dlls/spoolss enable_spoolss
21005 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21006 wine_fn_config_makefile dlls/sppc enable_sppc
21007 wine_fn_config_makefile dlls/srclient enable_srclient
21008 wine_fn_config_makefile dlls/srvcli enable_srvcli
21009 wine_fn_config_makefile dlls/sspicli enable_sspicli
21010 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21011 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21012 wine_fn_config_makefile dlls/sti enable_sti
21013 wine_fn_config_makefile dlls/sti/tests enable_tests
21014 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21015 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21016 wine_fn_config_makefile dlls/strmbase enable_strmbase
21017 wine_fn_config_makefile dlls/strmdll enable_strmdll
21018 wine_fn_config_makefile dlls/strmiids enable_strmiids
21019 wine_fn_config_makefile dlls/svrapi enable_svrapi
21020 wine_fn_config_makefile dlls/sxs enable_sxs
21021 wine_fn_config_makefile dlls/sxs/tests enable_tests
21022 wine_fn_config_makefile dlls/system.drv16 enable_win16
21023 wine_fn_config_makefile dlls/t2embed enable_t2embed
21024 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21025 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21026 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21027 wine_fn_config_makefile dlls/taskschd enable_taskschd
21028 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21029 wine_fn_config_makefile dlls/tbs enable_tbs
21030 wine_fn_config_makefile dlls/tdh enable_tdh
21031 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21032 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21033 wine_fn_config_makefile dlls/traffic enable_traffic
21034 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21035 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21036 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21037 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21038 wine_fn_config_makefile dlls/tzres enable_tzres
21039 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21040 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21041 wine_fn_config_makefile dlls/uianimation enable_uianimation
21042 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21043 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21044 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21045 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21046 wine_fn_config_makefile dlls/unicows enable_unicows
21047 wine_fn_config_makefile dlls/updspapi enable_updspapi
21048 wine_fn_config_makefile dlls/url enable_url
21049 wine_fn_config_makefile dlls/urlmon enable_urlmon
21050 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21051 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21052 wine_fn_config_makefile dlls/user.exe16 enable_win16
21053 wine_fn_config_makefile dlls/user32 enable_user32
21054 wine_fn_config_makefile dlls/user32/tests enable_tests
21055 wine_fn_config_makefile dlls/userenv enable_userenv
21056 wine_fn_config_makefile dlls/userenv/tests enable_tests
21057 wine_fn_config_makefile dlls/usp10 enable_usp10
21058 wine_fn_config_makefile dlls/usp10/tests enable_tests
21059 wine_fn_config_makefile dlls/utildll enable_utildll
21060 wine_fn_config_makefile dlls/uuid enable_uuid
21061 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21062 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21063 wine_fn_config_makefile dlls/vbscript enable_vbscript
21064 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21065 wine_fn_config_makefile dlls/vcomp enable_vcomp
21066 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21067 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21068 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21069 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21070 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21071 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21072 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21073 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21074 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21075 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21076 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21077 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21078 wine_fn_config_makefile dlls/version enable_version
21079 wine_fn_config_makefile dlls/version/tests enable_tests
21080 wine_fn_config_makefile dlls/vga enable_vga
21081 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21082 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21083 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21084 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21085 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21086 wine_fn_config_makefile dlls/vssapi enable_vssapi
21087 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21088 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21089 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21090 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21091 wine_fn_config_makefile dlls/w32skrnl enable_win16
21092 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21093 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21094 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21095 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21096 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21097 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21098 wine_fn_config_makefile dlls/wdscore enable_wdscore
21099 wine_fn_config_makefile dlls/webservices enable_webservices
21100 wine_fn_config_makefile dlls/webservices/tests enable_tests
21101 wine_fn_config_makefile dlls/websocket enable_websocket
21102 wine_fn_config_makefile dlls/wer enable_wer
21103 wine_fn_config_makefile dlls/wer/tests enable_tests
21104 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21105 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21106 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21107 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21108 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21109 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21110 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21111 wine_fn_config_makefile dlls/win32u enable_win32u
21112 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21113 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21114 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21115 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21116 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21117 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21118 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21119 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21120 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21121 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21122 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21123 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21124 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21125 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21126 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21127 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21128 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21129 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21130 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21131 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21132 wine_fn_config_makefile dlls/wined3d enable_wined3d
21133 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21134 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21135 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21136 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21137 wine_fn_config_makefile dlls/winemapi enable_winemapi
21138 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21139 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21140 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21141 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21142 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21143 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21144 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21145 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21146 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21147 wine_fn_config_makefile dlls/wing32 enable_wing32
21148 wine_fn_config_makefile dlls/winhttp enable_winhttp
21149 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21150 wine_fn_config_makefile dlls/wininet enable_wininet
21151 wine_fn_config_makefile dlls/wininet/tests enable_tests
21152 wine_fn_config_makefile dlls/winmm enable_winmm
21153 wine_fn_config_makefile dlls/winmm/tests enable_tests
21154 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21155 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21156 wine_fn_config_makefile dlls/winscard enable_winscard
21157 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21158 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21159 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21160 wine_fn_config_makefile dlls/winsta enable_winsta
21161 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21162 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21163 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21164 wine_fn_config_makefile dlls/wintrust enable_wintrust
21165 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21166 wine_fn_config_makefile dlls/winusb enable_winusb
21167 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21168 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21169 wine_fn_config_makefile dlls/wlanui enable_wlanui
21170 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21171 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21172 wine_fn_config_makefile dlls/wmasf enable_wmasf
21173 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21174 wine_fn_config_makefile dlls/wmi enable_wmi
21175 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21176 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21177 wine_fn_config_makefile dlls/wmp enable_wmp
21178 wine_fn_config_makefile dlls/wmp/tests enable_tests
21179 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21180 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21181 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21182 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21183 wine_fn_config_makefile dlls/wow32 enable_win16
21184 wine_fn_config_makefile dlls/wow64 enable_wow64
21185 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21186 wine_fn_config_makefile dlls/wow64win enable_wow64win
21187 wine_fn_config_makefile dlls/wpc enable_wpc
21188 wine_fn_config_makefile dlls/wpc/tests enable_tests
21189 wine_fn_config_makefile dlls/wpcap enable_wpcap
21190 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21191 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21192 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21193 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21194 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21195 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21196 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21197 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21198 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21199 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21200 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21201 wine_fn_config_makefile dlls/wuapi enable_wuapi
21202 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21203 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21204 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21205 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21206 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21207 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21208 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21209 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21210 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21211 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21212 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21213 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21214 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21215 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21216 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21217 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21218 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21219 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21220 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21221 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21222 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21223 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21224 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21225 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21226 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21227 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21228 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21229 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21230 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21231 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21232 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21233 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21234 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21235 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21236 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21237 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21238 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21239 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21240 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21241 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21242 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21243 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21244 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21245 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21246 wine_fn_config_makefile dlls/xmllite enable_xmllite
21247 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21248 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21249 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21250 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21251 wine_fn_config_makefile fonts enable_fonts
21252 wine_fn_config_makefile include enable_include
21253 wine_fn_config_makefile libs/port enable_port
21254 wine_fn_config_makefile libs/wine enable_wine
21255 wine_fn_config_makefile libs/wpp enable_wpp
21256 wine_fn_config_makefile loader enable_loader
21257 wine_fn_config_makefile nls enable_nls
21258 wine_fn_config_makefile po enable_po
21259 wine_fn_config_makefile programs/arp enable_arp
21260 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21261 wine_fn_config_makefile programs/attrib enable_attrib
21262 wine_fn_config_makefile programs/cabarc enable_cabarc
21263 wine_fn_config_makefile programs/cacls enable_cacls
21264 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21265 wine_fn_config_makefile programs/clock enable_clock
21266 wine_fn_config_makefile programs/cmd enable_cmd
21267 wine_fn_config_makefile programs/cmd/tests enable_tests
21268 wine_fn_config_makefile programs/conhost enable_conhost
21269 wine_fn_config_makefile programs/conhost/tests enable_tests
21270 wine_fn_config_makefile programs/control enable_control
21271 wine_fn_config_makefile programs/cscript enable_cscript
21272 wine_fn_config_makefile programs/dism enable_dism
21273 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21274 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21275 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21276 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21277 wine_fn_config_makefile programs/eject enable_eject
21278 wine_fn_config_makefile programs/expand enable_expand
21279 wine_fn_config_makefile programs/explorer enable_explorer
21280 wine_fn_config_makefile programs/extrac32 enable_extrac32
21281 wine_fn_config_makefile programs/fc enable_fc
21282 wine_fn_config_makefile programs/find enable_find
21283 wine_fn_config_makefile programs/find/tests enable_tests
21284 wine_fn_config_makefile programs/findstr enable_findstr
21285 wine_fn_config_makefile programs/fsutil enable_fsutil
21286 wine_fn_config_makefile programs/fsutil/tests enable_tests
21287 wine_fn_config_makefile programs/hh enable_hh
21288 wine_fn_config_makefile programs/hostname enable_hostname
21289 wine_fn_config_makefile programs/icacls enable_icacls
21290 wine_fn_config_makefile programs/icinfo enable_icinfo
21291 wine_fn_config_makefile programs/iexplore enable_iexplore
21292 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21293 wine_fn_config_makefile programs/lodctr enable_lodctr
21294 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21295 wine_fn_config_makefile programs/mshta enable_mshta
21296 wine_fn_config_makefile programs/msidb enable_msidb
21297 wine_fn_config_makefile programs/msiexec enable_msiexec
21298 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21299 wine_fn_config_makefile programs/net enable_net
21300 wine_fn_config_makefile programs/netsh enable_netsh
21301 wine_fn_config_makefile programs/netstat enable_netstat
21302 wine_fn_config_makefile programs/ngen enable_ngen
21303 wine_fn_config_makefile programs/notepad enable_notepad
21304 wine_fn_config_makefile programs/oleview enable_oleview
21305 wine_fn_config_makefile programs/ping enable_ping
21306 wine_fn_config_makefile programs/plugplay enable_plugplay
21307 wine_fn_config_makefile programs/powershell enable_powershell
21308 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21309 wine_fn_config_makefile programs/progman enable_progman
21310 wine_fn_config_makefile programs/reg enable_reg
21311 wine_fn_config_makefile programs/reg/tests enable_tests
21312 wine_fn_config_makefile programs/regasm enable_regasm
21313 wine_fn_config_makefile programs/regedit enable_regedit
21314 wine_fn_config_makefile programs/regedit/tests enable_tests
21315 wine_fn_config_makefile programs/regini enable_regini
21316 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21317 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21318 wine_fn_config_makefile programs/rpcss enable_rpcss
21319 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21320 wine_fn_config_makefile programs/rundll32 enable_rundll32
21321 wine_fn_config_makefile programs/sc enable_sc
21322 wine_fn_config_makefile programs/schtasks enable_schtasks
21323 wine_fn_config_makefile programs/schtasks/tests enable_tests
21324 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21325 wine_fn_config_makefile programs/secedit enable_secedit
21326 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21327 wine_fn_config_makefile programs/services enable_services
21328 wine_fn_config_makefile programs/services/tests enable_tests
21329 wine_fn_config_makefile programs/shutdown enable_shutdown
21330 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21331 wine_fn_config_makefile programs/start enable_start
21332 wine_fn_config_makefile programs/subst enable_subst
21333 wine_fn_config_makefile programs/svchost enable_svchost
21334 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21335 wine_fn_config_makefile programs/taskkill enable_taskkill
21336 wine_fn_config_makefile programs/tasklist enable_tasklist
21337 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21338 wine_fn_config_makefile programs/termsv enable_termsv
21339 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21340 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21341 wine_fn_config_makefile programs/view enable_view
21342 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21343 wine_fn_config_makefile programs/where enable_where
21344 wine_fn_config_makefile programs/whoami enable_whoami
21345 wine_fn_config_makefile programs/wineboot enable_wineboot
21346 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21347 wine_fn_config_makefile programs/winecfg enable_winecfg
21348 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21349 wine_fn_config_makefile programs/winedbg enable_winedbg
21350 wine_fn_config_makefile programs/winedevice enable_winedevice
21351 wine_fn_config_makefile programs/winefile enable_winefile
21352 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21353 wine_fn_config_makefile programs/winemine enable_winemine
21354 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21355 wine_fn_config_makefile programs/winepath enable_winepath
21356 wine_fn_config_makefile programs/winetest enable_winetest
21357 wine_fn_config_makefile programs/winevdm enable_win16
21358 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21359 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21360 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21361 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21362 wine_fn_config_makefile programs/winver enable_winver
21363 wine_fn_config_makefile programs/wmic enable_wmic
21364 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21365 wine_fn_config_makefile programs/wordpad enable_wordpad
21366 wine_fn_config_makefile programs/write enable_write
21367 wine_fn_config_makefile programs/wscript enable_wscript
21368 wine_fn_config_makefile programs/wscript/tests enable_tests
21369 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21370 wine_fn_config_makefile programs/wusa enable_wusa
21371 wine_fn_config_makefile programs/xcopy enable_xcopy
21372 wine_fn_config_makefile programs/xcopy/tests enable_tests
21373 wine_fn_config_makefile server enable_server
21374 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21375 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21376 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21377 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21378 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21379 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21380 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21381 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21382 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21385 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21386 wine_fn_append_file CONFIGURE_TARGETS "tags"
21387 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21388 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21389 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21390 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21391 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21392 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21394 if test "x$enable_tools" != xno
21395 then
21396 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21397 ac_config_commands="$ac_config_commands tools/makedep"
21401 ac_config_commands="$ac_config_commands Makefile"
21404 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21408 if test "x$enable_maintainer_mode" = xyes
21409 then
21410 wine_fn_append_rule "configure: configure.ac aclocal.m4
21411 autoconf --warnings=all
21412 include/config.h.in: include/stamp-h.in
21413 include/stamp-h.in: configure.ac aclocal.m4
21414 autoheader --warnings=all
21415 @echo timestamp > \$@"
21418 if test "x$enable_tools" != xno
21419 then
21420 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21421 @./config.status tools/makedep
21422 Makefile: tools/makedep$ac_exeext"
21423 else
21424 wine_fn_append_rule "\$(MAKEDEP):
21425 @echo \"You need to run make in $TOOLSDIR first\" && false"
21428 if test -n "$with_wine64"
21429 then
21430 case "$with_wine64" in
21431 /*) reldir="" ;;
21432 *) reldir="../" ;;
21433 esac
21434 rm -f fonts server 2>/dev/null
21435 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21436 loader/wine64 loader/wine64-preloader:
21437 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21438 $with_wine64/loader/wine:
21439 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21440 $with_wine64/loader/wine-preloader:
21441 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21442 clean::
21443 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21444 else
21445 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21446 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21447 fonts \
21448 loader/wine.inf \
21449 nls \
21450 programs/msidb/msidb \
21451 programs/msiexec/msiexec \
21452 programs/notepad/notepad \
21453 programs/regedit/regedit \
21454 programs/regsvr32/regsvr32 \
21455 programs/wineboot/wineboot \
21456 programs/winecfg/winecfg \
21457 programs/wineconsole/wineconsole \
21458 programs/winedbg/winedbg \
21459 programs/winefile/winefile \
21460 programs/winemine/winemine \
21461 programs/winepath/winepath \
21462 server/wineserver"
21464 case $host_os in
21465 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21466 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21467 esac
21470 $as_echo " done" >&6
21471 cat >confcache <<\_ACEOF
21472 # This file is a shell script that caches the results of configure
21473 # tests run on this system so they can be shared between configure
21474 # scripts and configure runs, see configure's option --config-cache.
21475 # It is not useful on other systems. If it contains results you don't
21476 # want to keep, you may remove or edit it.
21478 # config.status only pays attention to the cache file if you give it
21479 # the --recheck option to rerun configure.
21481 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21482 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21483 # following values.
21485 _ACEOF
21487 # The following way of writing the cache mishandles newlines in values,
21488 # but we know of no workaround that is simple, portable, and efficient.
21489 # So, we kill variables containing newlines.
21490 # Ultrix sh set writes to stderr and can't be redirected directly,
21491 # and sets the high bit in the cache file unless we assign to the vars.
21493 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21494 eval ac_val=\$$ac_var
21495 case $ac_val in #(
21496 *${as_nl}*)
21497 case $ac_var in #(
21498 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21499 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21500 esac
21501 case $ac_var in #(
21502 _ | IFS | as_nl) ;; #(
21503 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21504 *) { eval $ac_var=; unset $ac_var;} ;;
21505 esac ;;
21506 esac
21507 done
21509 (set) 2>&1 |
21510 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21511 *${as_nl}ac_space=\ *)
21512 # `set' does not quote correctly, so add quotes: double-quote
21513 # substitution turns \\\\ into \\, and sed turns \\ into \.
21514 sed -n \
21515 "s/'/'\\\\''/g;
21516 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21517 ;; #(
21519 # `set' quotes correctly as required by POSIX, so do not add quotes.
21520 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21522 esac |
21523 sort
21525 sed '
21526 /^ac_cv_env_/b end
21527 t clear
21528 :clear
21529 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21530 t end
21531 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21532 :end' >>confcache
21533 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21534 if test -w "$cache_file"; then
21535 if test "x$cache_file" != "x/dev/null"; then
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21537 $as_echo "$as_me: updating cache $cache_file" >&6;}
21538 if test ! -f "$cache_file" || test -h "$cache_file"; then
21539 cat confcache >"$cache_file"
21540 else
21541 case $cache_file in #(
21542 */* | ?:*)
21543 mv -f confcache "$cache_file"$$ &&
21544 mv -f "$cache_file"$$ "$cache_file" ;; #(
21546 mv -f confcache "$cache_file" ;;
21547 esac
21550 else
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21552 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21555 rm -f confcache
21557 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21558 # Let make expand exec_prefix.
21559 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21561 DEFS=-DHAVE_CONFIG_H
21563 ac_libobjs=
21564 ac_ltlibobjs=
21566 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21567 # 1. Remove the extension, and $U if already installed.
21568 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21569 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21570 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21571 # will be set to the directory where LIBOBJS objects are built.
21572 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21573 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21574 done
21575 LIBOBJS=$ac_libobjs
21577 LTLIBOBJS=$ac_ltlibobjs
21581 : "${CONFIG_STATUS=./config.status}"
21582 ac_write_fail=0
21583 ac_clean_files_save=$ac_clean_files
21584 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21586 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21587 as_write_fail=0
21588 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21589 #! $SHELL
21590 # Generated by $as_me.
21591 # Run this file to recreate the current configuration.
21592 # Compiler output produced by configure, useful for debugging
21593 # configure, is in config.log if it exists.
21595 debug=false
21596 ac_cs_recheck=false
21597 ac_cs_silent=false
21599 SHELL=\${CONFIG_SHELL-$SHELL}
21600 export SHELL
21601 _ASEOF
21602 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21603 ## -------------------- ##
21604 ## M4sh Initialization. ##
21605 ## -------------------- ##
21607 # Be more Bourne compatible
21608 DUALCASE=1; export DUALCASE # for MKS sh
21609 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21610 emulate sh
21611 NULLCMD=:
21612 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21613 # is contrary to our usage. Disable this feature.
21614 alias -g '${1+"$@"}'='"$@"'
21615 setopt NO_GLOB_SUBST
21616 else
21617 case `(set -o) 2>/dev/null` in #(
21618 *posix*) :
21619 set -o posix ;; #(
21620 *) :
21622 esac
21626 as_nl='
21628 export as_nl
21629 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21630 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21631 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21632 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21633 # Prefer a ksh shell builtin over an external printf program on Solaris,
21634 # but without wasting forks for bash or zsh.
21635 if test -z "$BASH_VERSION$ZSH_VERSION" \
21636 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21637 as_echo='print -r --'
21638 as_echo_n='print -rn --'
21639 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21640 as_echo='printf %s\n'
21641 as_echo_n='printf %s'
21642 else
21643 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21644 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21645 as_echo_n='/usr/ucb/echo -n'
21646 else
21647 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21648 as_echo_n_body='eval
21649 arg=$1;
21650 case $arg in #(
21651 *"$as_nl"*)
21652 expr "X$arg" : "X\\(.*\\)$as_nl";
21653 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21654 esac;
21655 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21657 export as_echo_n_body
21658 as_echo_n='sh -c $as_echo_n_body as_echo'
21660 export as_echo_body
21661 as_echo='sh -c $as_echo_body as_echo'
21664 # The user is always right.
21665 if test "${PATH_SEPARATOR+set}" != set; then
21666 PATH_SEPARATOR=:
21667 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21668 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21669 PATH_SEPARATOR=';'
21674 # IFS
21675 # We need space, tab and new line, in precisely that order. Quoting is
21676 # there to prevent editors from complaining about space-tab.
21677 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21678 # splitting by setting IFS to empty value.)
21679 IFS=" "" $as_nl"
21681 # Find who we are. Look in the path if we contain no directory separator.
21682 as_myself=
21683 case $0 in #((
21684 *[\\/]* ) as_myself=$0 ;;
21685 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21686 for as_dir in $PATH
21688 IFS=$as_save_IFS
21689 test -z "$as_dir" && as_dir=.
21690 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21691 done
21692 IFS=$as_save_IFS
21695 esac
21696 # We did not find ourselves, most probably we were run as `sh COMMAND'
21697 # in which case we are not to be found in the path.
21698 if test "x$as_myself" = x; then
21699 as_myself=$0
21701 if test ! -f "$as_myself"; then
21702 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21703 exit 1
21706 # Unset variables that we do not need and which cause bugs (e.g. in
21707 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21708 # suppresses any "Segmentation fault" message there. '((' could
21709 # trigger a bug in pdksh 5.2.14.
21710 for as_var in BASH_ENV ENV MAIL MAILPATH
21711 do eval test x\${$as_var+set} = xset \
21712 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21713 done
21714 PS1='$ '
21715 PS2='> '
21716 PS4='+ '
21718 # NLS nuisances.
21719 LC_ALL=C
21720 export LC_ALL
21721 LANGUAGE=C
21722 export LANGUAGE
21724 # CDPATH.
21725 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21728 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21729 # ----------------------------------------
21730 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21731 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21732 # script with STATUS, using 1 if that was 0.
21733 as_fn_error ()
21735 as_status=$1; test $as_status -eq 0 && as_status=1
21736 if test "$4"; then
21737 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21738 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21740 $as_echo "$as_me: error: $2" >&2
21741 as_fn_exit $as_status
21742 } # as_fn_error
21745 # as_fn_set_status STATUS
21746 # -----------------------
21747 # Set $? to STATUS, without forking.
21748 as_fn_set_status ()
21750 return $1
21751 } # as_fn_set_status
21753 # as_fn_exit STATUS
21754 # -----------------
21755 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21756 as_fn_exit ()
21758 set +e
21759 as_fn_set_status $1
21760 exit $1
21761 } # as_fn_exit
21763 # as_fn_unset VAR
21764 # ---------------
21765 # Portably unset VAR.
21766 as_fn_unset ()
21768 { eval $1=; unset $1;}
21770 as_unset=as_fn_unset
21771 # as_fn_append VAR VALUE
21772 # ----------------------
21773 # Append the text in VALUE to the end of the definition contained in VAR. Take
21774 # advantage of any shell optimizations that allow amortized linear growth over
21775 # repeated appends, instead of the typical quadratic growth present in naive
21776 # implementations.
21777 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21778 eval 'as_fn_append ()
21780 eval $1+=\$2
21782 else
21783 as_fn_append ()
21785 eval $1=\$$1\$2
21787 fi # as_fn_append
21789 # as_fn_arith ARG...
21790 # ------------------
21791 # Perform arithmetic evaluation on the ARGs, and store the result in the
21792 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21793 # must be portable across $(()) and expr.
21794 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21795 eval 'as_fn_arith ()
21797 as_val=$(( $* ))
21799 else
21800 as_fn_arith ()
21802 as_val=`expr "$@" || test $? -eq 1`
21804 fi # as_fn_arith
21807 if expr a : '\(a\)' >/dev/null 2>&1 &&
21808 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21809 as_expr=expr
21810 else
21811 as_expr=false
21814 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21815 as_basename=basename
21816 else
21817 as_basename=false
21820 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21821 as_dirname=dirname
21822 else
21823 as_dirname=false
21826 as_me=`$as_basename -- "$0" ||
21827 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21828 X"$0" : 'X\(//\)$' \| \
21829 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21830 $as_echo X/"$0" |
21831 sed '/^.*\/\([^/][^/]*\)\/*$/{
21832 s//\1/
21835 /^X\/\(\/\/\)$/{
21836 s//\1/
21839 /^X\/\(\/\).*/{
21840 s//\1/
21843 s/.*/./; q'`
21845 # Avoid depending upon Character Ranges.
21846 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21847 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21848 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21849 as_cr_digits='0123456789'
21850 as_cr_alnum=$as_cr_Letters$as_cr_digits
21852 ECHO_C= ECHO_N= ECHO_T=
21853 case `echo -n x` in #(((((
21854 -n*)
21855 case `echo 'xy\c'` in
21856 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21857 xy) ECHO_C='\c';;
21858 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21859 ECHO_T=' ';;
21860 esac;;
21862 ECHO_N='-n';;
21863 esac
21865 rm -f conf$$ conf$$.exe conf$$.file
21866 if test -d conf$$.dir; then
21867 rm -f conf$$.dir/conf$$.file
21868 else
21869 rm -f conf$$.dir
21870 mkdir conf$$.dir 2>/dev/null
21872 if (echo >conf$$.file) 2>/dev/null; then
21873 if ln -s conf$$.file conf$$ 2>/dev/null; then
21874 as_ln_s='ln -s'
21875 # ... but there are two gotchas:
21876 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21877 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21878 # In both cases, we have to default to `cp -pR'.
21879 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21880 as_ln_s='cp -pR'
21881 elif ln conf$$.file conf$$ 2>/dev/null; then
21882 as_ln_s=ln
21883 else
21884 as_ln_s='cp -pR'
21886 else
21887 as_ln_s='cp -pR'
21889 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21890 rmdir conf$$.dir 2>/dev/null
21893 # as_fn_mkdir_p
21894 # -------------
21895 # Create "$as_dir" as a directory, including parents if necessary.
21896 as_fn_mkdir_p ()
21899 case $as_dir in #(
21900 -*) as_dir=./$as_dir;;
21901 esac
21902 test -d "$as_dir" || eval $as_mkdir_p || {
21903 as_dirs=
21904 while :; do
21905 case $as_dir in #(
21906 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21907 *) as_qdir=$as_dir;;
21908 esac
21909 as_dirs="'$as_qdir' $as_dirs"
21910 as_dir=`$as_dirname -- "$as_dir" ||
21911 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21912 X"$as_dir" : 'X\(//\)[^/]' \| \
21913 X"$as_dir" : 'X\(//\)$' \| \
21914 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21915 $as_echo X"$as_dir" |
21916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21917 s//\1/
21920 /^X\(\/\/\)[^/].*/{
21921 s//\1/
21924 /^X\(\/\/\)$/{
21925 s//\1/
21928 /^X\(\/\).*/{
21929 s//\1/
21932 s/.*/./; q'`
21933 test -d "$as_dir" && break
21934 done
21935 test -z "$as_dirs" || eval "mkdir $as_dirs"
21936 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21939 } # as_fn_mkdir_p
21940 if mkdir -p . 2>/dev/null; then
21941 as_mkdir_p='mkdir -p "$as_dir"'
21942 else
21943 test -d ./-p && rmdir ./-p
21944 as_mkdir_p=false
21948 # as_fn_executable_p FILE
21949 # -----------------------
21950 # Test if FILE is an executable regular file.
21951 as_fn_executable_p ()
21953 test -f "$1" && test -x "$1"
21954 } # as_fn_executable_p
21955 as_test_x='test -x'
21956 as_executable_p=as_fn_executable_p
21958 # Sed expression to map a string onto a valid CPP name.
21959 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21961 # Sed expression to map a string onto a valid variable name.
21962 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21965 exec 6>&1
21966 ## ----------------------------------- ##
21967 ## Main body of $CONFIG_STATUS script. ##
21968 ## ----------------------------------- ##
21969 _ASEOF
21970 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21973 # Save the log message, to keep $0 and so on meaningful, and to
21974 # report actual input values of CONFIG_FILES etc. instead of their
21975 # values after options handling.
21976 ac_log="
21977 This file was extended by Wine $as_me 6.15, which was
21978 generated by GNU Autoconf 2.69. Invocation command line was
21980 CONFIG_FILES = $CONFIG_FILES
21981 CONFIG_HEADERS = $CONFIG_HEADERS
21982 CONFIG_LINKS = $CONFIG_LINKS
21983 CONFIG_COMMANDS = $CONFIG_COMMANDS
21984 $ $0 $@
21986 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21989 _ACEOF
21991 case $ac_config_files in *"
21992 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21993 esac
21995 case $ac_config_headers in *"
21996 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21997 esac
22000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22001 # Files that config.status was made for.
22002 config_files="$ac_config_files"
22003 config_headers="$ac_config_headers"
22004 config_links="$ac_config_links"
22005 config_commands="$ac_config_commands"
22007 _ACEOF
22009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22010 ac_cs_usage="\
22011 \`$as_me' instantiates files and other configuration actions
22012 from templates according to the current configuration. Unless the files
22013 and actions are specified as TAGs, all are instantiated by default.
22015 Usage: $0 [OPTION]... [TAG]...
22017 -h, --help print this help, then exit
22018 -V, --version print version number and configuration settings, then exit
22019 --config print configuration, then exit
22020 -q, --quiet, --silent
22021 do not print progress messages
22022 -d, --debug don't remove temporary files
22023 --recheck update $as_me by reconfiguring in the same conditions
22024 --file=FILE[:TEMPLATE]
22025 instantiate the configuration file FILE
22026 --header=FILE[:TEMPLATE]
22027 instantiate the configuration header FILE
22029 Configuration files:
22030 $config_files
22032 Configuration headers:
22033 $config_headers
22035 Configuration links:
22036 $config_links
22038 Configuration commands:
22039 $config_commands
22041 Report bugs to <wine-devel@winehq.org>.
22042 Wine home page: <https://www.winehq.org>."
22044 _ACEOF
22045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22046 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22047 ac_cs_version="\\
22048 Wine config.status 6.15
22049 configured by $0, generated by GNU Autoconf 2.69,
22050 with options \\"\$ac_cs_config\\"
22052 Copyright (C) 2012 Free Software Foundation, Inc.
22053 This config.status script is free software; the Free Software Foundation
22054 gives unlimited permission to copy, distribute and modify it."
22056 ac_pwd='$ac_pwd'
22057 srcdir='$srcdir'
22058 test -n "\$AWK" || AWK=awk
22059 _ACEOF
22061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22062 # The default lists apply if the user does not specify any file.
22063 ac_need_defaults=:
22064 while test $# != 0
22066 case $1 in
22067 --*=?*)
22068 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22069 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22070 ac_shift=:
22072 --*=)
22073 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22074 ac_optarg=
22075 ac_shift=:
22078 ac_option=$1
22079 ac_optarg=$2
22080 ac_shift=shift
22082 esac
22084 case $ac_option in
22085 # Handling of the options.
22086 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22087 ac_cs_recheck=: ;;
22088 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22089 $as_echo "$ac_cs_version"; exit ;;
22090 --config | --confi | --conf | --con | --co | --c )
22091 $as_echo "$ac_cs_config"; exit ;;
22092 --debug | --debu | --deb | --de | --d | -d )
22093 debug=: ;;
22094 --file | --fil | --fi | --f )
22095 $ac_shift
22096 case $ac_optarg in
22097 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22098 '') as_fn_error $? "missing file argument" ;;
22099 esac
22100 as_fn_append CONFIG_FILES " '$ac_optarg'"
22101 ac_need_defaults=false;;
22102 --header | --heade | --head | --hea )
22103 $ac_shift
22104 case $ac_optarg in
22105 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22106 esac
22107 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22108 ac_need_defaults=false;;
22109 --he | --h)
22110 # Conflict between --help and --header
22111 as_fn_error $? "ambiguous option: \`$1'
22112 Try \`$0 --help' for more information.";;
22113 --help | --hel | -h )
22114 $as_echo "$ac_cs_usage"; exit ;;
22115 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22116 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22117 ac_cs_silent=: ;;
22119 # This is an error.
22120 -*) as_fn_error $? "unrecognized option: \`$1'
22121 Try \`$0 --help' for more information." ;;
22123 *) as_fn_append ac_config_targets " $1"
22124 ac_need_defaults=false ;;
22126 esac
22127 shift
22128 done
22130 ac_configure_extra_args=
22132 if $ac_cs_silent; then
22133 exec 6>/dev/null
22134 ac_configure_extra_args="$ac_configure_extra_args --silent"
22137 _ACEOF
22138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22139 if \$ac_cs_recheck; then
22140 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22141 shift
22142 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22143 CONFIG_SHELL='$SHELL'
22144 export CONFIG_SHELL
22145 exec "\$@"
22148 _ACEOF
22149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22150 exec 5>>config.log
22152 echo
22153 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22154 ## Running $as_me. ##
22155 _ASBOX
22156 $as_echo "$ac_log"
22157 } >&5
22159 _ACEOF
22160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22162 # INIT-COMMANDS
22164 wine_fn_output_makedep ()
22166 as_dir=tools; as_fn_mkdir_p
22167 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22169 wine_fn_output_makefile ()
22171 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22172 `cat $wine_rules_file`
22173 _WINE_EOF
22174 as_fn_error $? "could not create Makefile" "$LINENO" 5
22177 _ACEOF
22179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22181 # Handling of arguments.
22182 for ac_config_target in $ac_config_targets
22184 case $ac_config_target in
22185 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22186 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22187 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22188 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22189 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22190 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22191 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22193 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22194 esac
22195 done
22198 # If the user did not use the arguments to specify the items to instantiate,
22199 # then the envvar interface is used. Set only those that are not.
22200 # We use the long form for the default assignment because of an extremely
22201 # bizarre bug on SunOS 4.1.3.
22202 if $ac_need_defaults; then
22203 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22204 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22205 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22206 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22209 # Have a temporary directory for convenience. Make it in the build tree
22210 # simply because there is no reason against having it here, and in addition,
22211 # creating and moving files from /tmp can sometimes cause problems.
22212 # Hook for its removal unless debugging.
22213 # Note that there is a small window in which the directory will not be cleaned:
22214 # after its creation but before its name has been assigned to `$tmp'.
22215 $debug ||
22217 tmp= ac_tmp=
22218 trap 'exit_status=$?
22219 : "${ac_tmp:=$tmp}"
22220 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22222 trap 'as_fn_exit 1' 1 2 13 15
22224 # Create a (secure) tmp directory for tmp files.
22227 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22228 test -d "$tmp"
22229 } ||
22231 tmp=./conf$$-$RANDOM
22232 (umask 077 && mkdir "$tmp")
22233 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22234 ac_tmp=$tmp
22236 # Set up the scripts for CONFIG_FILES section.
22237 # No need to generate them if there are no CONFIG_FILES.
22238 # This happens for instance with `./config.status config.h'.
22239 if test -n "$CONFIG_FILES"; then
22242 ac_cr=`echo X | tr X '\015'`
22243 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22244 # But we know of no other shell where ac_cr would be empty at this
22245 # point, so we can use a bashism as a fallback.
22246 if test "x$ac_cr" = x; then
22247 eval ac_cr=\$\'\\r\'
22249 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22250 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22251 ac_cs_awk_cr='\\r'
22252 else
22253 ac_cs_awk_cr=$ac_cr
22256 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22257 _ACEOF
22261 echo "cat >conf$$subs.awk <<_ACEOF" &&
22262 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22263 echo "_ACEOF"
22264 } >conf$$subs.sh ||
22265 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22266 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22267 ac_delim='%!_!# '
22268 for ac_last_try in false false false false false :; do
22269 . ./conf$$subs.sh ||
22270 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22272 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22273 if test $ac_delim_n = $ac_delim_num; then
22274 break
22275 elif $ac_last_try; then
22276 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22277 else
22278 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22280 done
22281 rm -f conf$$subs.sh
22283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22284 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22285 _ACEOF
22286 sed -n '
22288 s/^/S["/; s/!.*/"]=/
22291 s/^[^!]*!//
22292 :repl
22293 t repl
22294 s/'"$ac_delim"'$//
22295 t delim
22298 s/\(.\{148\}\)..*/\1/
22299 t more1
22300 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22303 b repl
22304 :more1
22305 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22308 s/.\{148\}//
22309 t nl
22310 :delim
22312 s/\(.\{148\}\)..*/\1/
22313 t more2
22314 s/["\\]/\\&/g; s/^/"/; s/$/"/
22317 :more2
22318 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22321 s/.\{148\}//
22322 t delim
22323 ' <conf$$subs.awk | sed '
22324 /^[^""]/{
22326 s/\n//
22328 ' >>$CONFIG_STATUS || ac_write_fail=1
22329 rm -f conf$$subs.awk
22330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22331 _ACAWK
22332 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22333 for (key in S) S_is_set[key] = 1
22334 FS = "\a"
22338 line = $ 0
22339 nfields = split(line, field, "@")
22340 substed = 0
22341 len = length(field[1])
22342 for (i = 2; i < nfields; i++) {
22343 key = field[i]
22344 keylen = length(key)
22345 if (S_is_set[key]) {
22346 value = S[key]
22347 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22348 len += length(value) + length(field[++i])
22349 substed = 1
22350 } else
22351 len += 1 + keylen
22354 print line
22357 _ACAWK
22358 _ACEOF
22359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22360 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22361 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22362 else
22364 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22365 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22366 _ACEOF
22368 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22369 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22370 # trailing colons and then remove the whole line if VPATH becomes empty
22371 # (actually we leave an empty line to preserve line numbers).
22372 if test "x$srcdir" = x.; then
22373 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22375 s///
22376 s/^/:/
22377 s/[ ]*$/:/
22378 s/:\$(srcdir):/:/g
22379 s/:\${srcdir}:/:/g
22380 s/:@srcdir@:/:/g
22381 s/^:*//
22382 s/:*$//
22384 s/\(=[ ]*\).*/\1/
22386 s/\n//
22387 s/^[^=]*=[ ]*$//
22391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22392 fi # test -n "$CONFIG_FILES"
22394 # Set up the scripts for CONFIG_HEADERS section.
22395 # No need to generate them if there are no CONFIG_HEADERS.
22396 # This happens for instance with `./config.status Makefile'.
22397 if test -n "$CONFIG_HEADERS"; then
22398 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22399 BEGIN {
22400 _ACEOF
22402 # Transform confdefs.h into an awk script `defines.awk', embedded as
22403 # here-document in config.status, that substitutes the proper values into
22404 # config.h.in to produce config.h.
22406 # Create a delimiter string that does not exist in confdefs.h, to ease
22407 # handling of long lines.
22408 ac_delim='%!_!# '
22409 for ac_last_try in false false :; do
22410 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22411 if test -z "$ac_tt"; then
22412 break
22413 elif $ac_last_try; then
22414 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22415 else
22416 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22418 done
22420 # For the awk script, D is an array of macro values keyed by name,
22421 # likewise P contains macro parameters if any. Preserve backslash
22422 # newline sequences.
22424 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22425 sed -n '
22426 s/.\{148\}/&'"$ac_delim"'/g
22427 t rset
22428 :rset
22429 s/^[ ]*#[ ]*define[ ][ ]*/ /
22430 t def
22432 :def
22433 s/\\$//
22434 t bsnl
22435 s/["\\]/\\&/g
22436 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22437 D["\1"]=" \3"/p
22438 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22440 :bsnl
22441 s/["\\]/\\&/g
22442 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22443 D["\1"]=" \3\\\\\\n"\\/p
22444 t cont
22445 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22446 t cont
22448 :cont
22450 s/.\{148\}/&'"$ac_delim"'/g
22451 t clear
22452 :clear
22453 s/\\$//
22454 t bsnlc
22455 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22457 :bsnlc
22458 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22459 b cont
22460 ' <confdefs.h | sed '
22461 s/'"$ac_delim"'/"\\\
22462 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22465 for (key in D) D_is_set[key] = 1
22466 FS = "\a"
22468 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22469 line = \$ 0
22470 split(line, arg, " ")
22471 if (arg[1] == "#") {
22472 defundef = arg[2]
22473 mac1 = arg[3]
22474 } else {
22475 defundef = substr(arg[1], 2)
22476 mac1 = arg[2]
22478 split(mac1, mac2, "(") #)
22479 macro = mac2[1]
22480 prefix = substr(line, 1, index(line, defundef) - 1)
22481 if (D_is_set[macro]) {
22482 # Preserve the white space surrounding the "#".
22483 print prefix "define", macro P[macro] D[macro]
22484 next
22485 } else {
22486 # Replace #undef with comments. This is necessary, for example,
22487 # in the case of _POSIX_SOURCE, which is predefined and required
22488 # on some systems where configure will not decide to define it.
22489 if (defundef == "undef") {
22490 print "/*", prefix defundef, macro, "*/"
22491 next
22495 { print }
22496 _ACAWK
22497 _ACEOF
22498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22499 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22500 fi # test -n "$CONFIG_HEADERS"
22503 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22504 shift
22505 for ac_tag
22507 case $ac_tag in
22508 :[FHLC]) ac_mode=$ac_tag; continue;;
22509 esac
22510 case $ac_mode$ac_tag in
22511 :[FHL]*:*);;
22512 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22513 :[FH]-) ac_tag=-:-;;
22514 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22515 esac
22516 ac_save_IFS=$IFS
22517 IFS=:
22518 set x $ac_tag
22519 IFS=$ac_save_IFS
22520 shift
22521 ac_file=$1
22522 shift
22524 case $ac_mode in
22525 :L) ac_source=$1;;
22526 :[FH])
22527 ac_file_inputs=
22528 for ac_f
22530 case $ac_f in
22531 -) ac_f="$ac_tmp/stdin";;
22532 *) # Look for the file first in the build tree, then in the source tree
22533 # (if the path is not absolute). The absolute path cannot be DOS-style,
22534 # because $ac_f cannot contain `:'.
22535 test -f "$ac_f" ||
22536 case $ac_f in
22537 [\\/$]*) false;;
22538 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22539 esac ||
22540 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22541 esac
22542 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22543 as_fn_append ac_file_inputs " '$ac_f'"
22544 done
22546 # Let's still pretend it is `configure' which instantiates (i.e., don't
22547 # use $as_me), people would be surprised to read:
22548 # /* config.h. Generated by config.status. */
22549 configure_input='Generated from '`
22550 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22551 `' by configure.'
22552 if test x"$ac_file" != x-; then
22553 configure_input="$ac_file. $configure_input"
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22555 $as_echo "$as_me: creating $ac_file" >&6;}
22557 # Neutralize special characters interpreted by sed in replacement strings.
22558 case $configure_input in #(
22559 *\&* | *\|* | *\\* )
22560 ac_sed_conf_input=`$as_echo "$configure_input" |
22561 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22562 *) ac_sed_conf_input=$configure_input;;
22563 esac
22565 case $ac_tag in
22566 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22567 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22568 esac
22570 esac
22572 ac_dir=`$as_dirname -- "$ac_file" ||
22573 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22574 X"$ac_file" : 'X\(//\)[^/]' \| \
22575 X"$ac_file" : 'X\(//\)$' \| \
22576 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22577 $as_echo X"$ac_file" |
22578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22579 s//\1/
22582 /^X\(\/\/\)[^/].*/{
22583 s//\1/
22586 /^X\(\/\/\)$/{
22587 s//\1/
22590 /^X\(\/\).*/{
22591 s//\1/
22594 s/.*/./; q'`
22595 as_dir="$ac_dir"; as_fn_mkdir_p
22596 ac_builddir=.
22598 case "$ac_dir" in
22599 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22601 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22602 # A ".." for each directory in $ac_dir_suffix.
22603 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22604 case $ac_top_builddir_sub in
22605 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22606 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22607 esac ;;
22608 esac
22609 ac_abs_top_builddir=$ac_pwd
22610 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22611 # for backward compatibility:
22612 ac_top_builddir=$ac_top_build_prefix
22614 case $srcdir in
22615 .) # We are building in place.
22616 ac_srcdir=.
22617 ac_top_srcdir=$ac_top_builddir_sub
22618 ac_abs_top_srcdir=$ac_pwd ;;
22619 [\\/]* | ?:[\\/]* ) # Absolute name.
22620 ac_srcdir=$srcdir$ac_dir_suffix;
22621 ac_top_srcdir=$srcdir
22622 ac_abs_top_srcdir=$srcdir ;;
22623 *) # Relative name.
22624 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22625 ac_top_srcdir=$ac_top_build_prefix$srcdir
22626 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22627 esac
22628 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22631 case $ac_mode in
22634 # CONFIG_FILE
22637 _ACEOF
22639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22640 # If the template does not know about datarootdir, expand it.
22641 # FIXME: This hack should be removed a few years after 2.60.
22642 ac_datarootdir_hack=; ac_datarootdir_seen=
22643 ac_sed_dataroot='
22644 /datarootdir/ {
22648 /@datadir@/p
22649 /@docdir@/p
22650 /@infodir@/p
22651 /@localedir@/p
22652 /@mandir@/p'
22653 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22654 *datarootdir*) ac_datarootdir_seen=yes;;
22655 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22657 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22658 _ACEOF
22659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22660 ac_datarootdir_hack='
22661 s&@datadir@&$datadir&g
22662 s&@docdir@&$docdir&g
22663 s&@infodir@&$infodir&g
22664 s&@localedir@&$localedir&g
22665 s&@mandir@&$mandir&g
22666 s&\\\${datarootdir}&$datarootdir&g' ;;
22667 esac
22668 _ACEOF
22670 # Neutralize VPATH when `$srcdir' = `.'.
22671 # Shell code in configure.ac might set extrasub.
22672 # FIXME: do we really want to maintain this feature?
22673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22674 ac_sed_extra="$ac_vpsub
22675 $extrasub
22676 _ACEOF
22677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22679 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22680 s|@configure_input@|$ac_sed_conf_input|;t t
22681 s&@top_builddir@&$ac_top_builddir_sub&;t t
22682 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22683 s&@srcdir@&$ac_srcdir&;t t
22684 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22685 s&@top_srcdir@&$ac_top_srcdir&;t t
22686 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22687 s&@builddir@&$ac_builddir&;t t
22688 s&@abs_builddir@&$ac_abs_builddir&;t t
22689 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22690 $ac_datarootdir_hack
22692 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22693 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22695 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22696 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22697 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22698 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22700 which seems to be undefined. Please make sure it is defined" >&5
22701 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22702 which seems to be undefined. Please make sure it is defined" >&2;}
22704 rm -f "$ac_tmp/stdin"
22705 case $ac_file in
22706 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22707 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22708 esac \
22709 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22713 # CONFIG_HEADER
22715 if test x"$ac_file" != x-; then
22717 $as_echo "/* $configure_input */" \
22718 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22719 } >"$ac_tmp/config.h" \
22720 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22721 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22723 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22724 else
22725 rm -f "$ac_file"
22726 mv "$ac_tmp/config.h" "$ac_file" \
22727 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22729 else
22730 $as_echo "/* $configure_input */" \
22731 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22732 || as_fn_error $? "could not create -" "$LINENO" 5
22737 # CONFIG_LINK
22740 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22742 else
22743 # Prefer the file from the source tree if names are identical.
22744 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22745 ac_source=$srcdir/$ac_source
22748 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22749 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22751 if test ! -r "$ac_source"; then
22752 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22754 rm -f "$ac_file"
22756 # Try a relative symlink, then a hard link, then a copy.
22757 case $ac_source in
22758 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22759 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22760 esac
22761 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22762 ln "$ac_source" "$ac_file" 2>/dev/null ||
22763 cp -p "$ac_source" "$ac_file" ||
22764 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22767 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22768 $as_echo "$as_me: executing $ac_file commands" >&6;}
22770 esac
22773 case $ac_file$ac_mode in
22774 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22775 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22776 "Makefile":C) wine_fn_output_makefile Makefile ;;
22778 esac
22779 done # for ac_tag
22782 as_fn_exit 0
22783 _ACEOF
22784 ac_clean_files=$ac_clean_files_save
22786 test $ac_write_fail = 0 ||
22787 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22790 # configure is writing to config.log, and then calls config.status.
22791 # config.status does its own redirection, appending to config.log.
22792 # Unfortunately, on DOS this fails, as config.log is still kept open
22793 # by configure, so config.status won't be able to write to it; its
22794 # output is simply discarded. So we exec the FD to /dev/null,
22795 # effectively closing config.log, so it can be properly (re)opened and
22796 # appended to by config.status. When coming back to configure, we
22797 # need to make the FD available again.
22798 if test "$no_create" != yes; then
22799 ac_cs_success=:
22800 ac_config_status_args=
22801 test "$silent" = yes &&
22802 ac_config_status_args="$ac_config_status_args --quiet"
22803 exec 5>/dev/null
22804 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22805 exec 5>>config.log
22806 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22807 # would make configure fail if this is the last instruction.
22808 $ac_cs_success || as_fn_exit 1
22810 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22812 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22816 if test "$no_create" = "yes"
22817 then
22818 exit 0
22821 ac_save_IFS="$IFS"
22822 if test "x$wine_notices" != x; then
22823 echo >&6
22824 IFS="|"
22825 for msg in $wine_notices; do
22826 IFS="$ac_save_IFS"
22827 if ${msg:+false} :; then :
22829 else
22830 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22831 $as_echo "$as_me: $msg" >&6;}
22833 done
22835 IFS="|"
22836 for msg in $wine_warnings; do
22837 IFS="$ac_save_IFS"
22838 if ${msg:+false} :; then :
22840 else
22841 echo >&2
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22843 $as_echo "$as_me: WARNING: $msg" >&2;}
22845 done
22846 IFS="$ac_save_IFS"
22848 $as_echo "
22849 $as_me: Finished. Do '${ac_make}' to compile Wine.
22850 " >&6