oleaut32: Fix handling of hexadecimal/octal numbers in VarParseNumFromStr().
[wine.git] / configure
blob1be0aa9d2174187b751fb34cf0f9cdbbb19c86da
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.14.
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.14'
584 PACKAGE_STRING='Wine 6.14'
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_hlink
1385 enable_hnetcfg
1386 enable_http_sys
1387 enable_httpapi
1388 enable_iccvid
1389 enable_icmp
1390 enable_ieframe
1391 enable_ieproxy
1392 enable_imaadp32_acm
1393 enable_imagehlp
1394 enable_imm32
1395 enable_inetcomm
1396 enable_inetcpl_cpl
1397 enable_inetmib1
1398 enable_infosoft
1399 enable_initpki
1400 enable_inkobj
1401 enable_inseng
1402 enable_iphlpapi
1403 enable_iprop
1404 enable_irprops_cpl
1405 enable_itircl
1406 enable_itss
1407 enable_joy_cpl
1408 enable_jscript
1409 enable_jsproxy
1410 enable_kerberos
1411 enable_kernel32
1412 enable_kernelbase
1413 enable_ksecdd_sys
1414 enable_ksproxy_ax
1415 enable_ksuser
1416 enable_ktmw32
1417 enable_l3codeca_acm
1418 enable_light_msstyles
1419 enable_loadperf
1420 enable_localspl
1421 enable_localui
1422 enable_lz32
1423 enable_mapi32
1424 enable_mapistub
1425 enable_mciavi32
1426 enable_mcicda
1427 enable_mciqtz32
1428 enable_mciseq
1429 enable_mciwave
1430 enable_mf
1431 enable_mf3216
1432 enable_mferror
1433 enable_mfmediaengine
1434 enable_mfplat
1435 enable_mfplay
1436 enable_mfreadwrite
1437 enable_mfuuid
1438 enable_mgmtapi
1439 enable_midimap
1440 enable_mlang
1441 enable_mmcndmgr
1442 enable_mmdevapi
1443 enable_mountmgr_sys
1444 enable_mp3dmod
1445 enable_mpr
1446 enable_mprapi
1447 enable_msacm32_drv
1448 enable_msacm32
1449 enable_msado15
1450 enable_msadp32_acm
1451 enable_msasn1
1452 enable_mscat32
1453 enable_mscms
1454 enable_mscoree
1455 enable_mscorwks
1456 enable_msctf
1457 enable_msctfp
1458 enable_msdaps
1459 enable_msdelta
1460 enable_msdmo
1461 enable_msdrm
1462 enable_msftedit
1463 enable_msg711_acm
1464 enable_msgsm32_acm
1465 enable_mshtml_tlb
1466 enable_mshtml
1467 enable_msi
1468 enable_msident
1469 enable_msimg32
1470 enable_msimsg
1471 enable_msimtf
1472 enable_msisip
1473 enable_msisys_ocx
1474 enable_msls31
1475 enable_msnet32
1476 enable_mspatcha
1477 enable_msports
1478 enable_msrle32
1479 enable_msscript_ocx
1480 enable_mssign32
1481 enable_mssip32
1482 enable_mstask
1483 enable_msv1_0
1484 enable_msvcirt
1485 enable_msvcm80
1486 enable_msvcm90
1487 enable_msvcp100
1488 enable_msvcp110
1489 enable_msvcp120
1490 enable_msvcp120_app
1491 enable_msvcp140
1492 enable_msvcp140_1
1493 enable_msvcp60
1494 enable_msvcp70
1495 enable_msvcp71
1496 enable_msvcp80
1497 enable_msvcp90
1498 enable_msvcr100
1499 enable_msvcr110
1500 enable_msvcr120
1501 enable_msvcr120_app
1502 enable_msvcr70
1503 enable_msvcr71
1504 enable_msvcr80
1505 enable_msvcr90
1506 enable_msvcrt
1507 enable_msvcrt20
1508 enable_msvcrt40
1509 enable_msvcrtd
1510 enable_msvfw32
1511 enable_msvidc32
1512 enable_mswsock
1513 enable_msxml
1514 enable_msxml2
1515 enable_msxml3
1516 enable_msxml4
1517 enable_msxml6
1518 enable_mtxdm
1519 enable_ncrypt
1520 enable_nddeapi
1521 enable_ndis_sys
1522 enable_netapi32
1523 enable_netcfgx
1524 enable_netio_sys
1525 enable_netprofm
1526 enable_netutils
1527 enable_newdev
1528 enable_ninput
1529 enable_normaliz
1530 enable_npmshtml
1531 enable_npptools
1532 enable_nsi
1533 enable_nsiproxy_sys
1534 enable_ntdll
1535 enable_ntdsapi
1536 enable_ntoskrnl_exe
1537 enable_ntprint
1538 enable_objsel
1539 enable_odbc32
1540 enable_odbcbcp
1541 enable_odbccp32
1542 enable_odbccu32
1543 enable_ole32
1544 enable_oleacc
1545 enable_oleaut32
1546 enable_olecli32
1547 enable_oledb32
1548 enable_oledlg
1549 enable_olepro32
1550 enable_olesvr32
1551 enable_olethk32
1552 enable_opcservices
1553 enable_openal32
1554 enable_opencl
1555 enable_opengl32
1556 enable_packager
1557 enable_pdh
1558 enable_photometadatahandler
1559 enable_pidgen
1560 enable_powrprof
1561 enable_printui
1562 enable_prntvpt
1563 enable_propsys
1564 enable_psapi
1565 enable_pstorec
1566 enable_pwrshplugin
1567 enable_qasf
1568 enable_qcap
1569 enable_qdvd
1570 enable_qedit
1571 enable_qmgr
1572 enable_qmgrprxy
1573 enable_quartz
1574 enable_query
1575 enable_qwave
1576 enable_rasapi32
1577 enable_rasdlg
1578 enable_regapi
1579 enable_resutils
1580 enable_riched20
1581 enable_riched32
1582 enable_rpcrt4
1583 enable_rsabase
1584 enable_rsaenh
1585 enable_rstrtmgr
1586 enable_rtutils
1587 enable_rtworkq
1588 enable_samlib
1589 enable_sane_ds
1590 enable_sapi
1591 enable_sas
1592 enable_scarddlg
1593 enable_sccbase
1594 enable_schannel
1595 enable_schedsvc
1596 enable_scrobj
1597 enable_scrrun
1598 enable_scsiport_sys
1599 enable_sechost
1600 enable_secur32
1601 enable_security
1602 enable_sensapi
1603 enable_serialui
1604 enable_setupapi
1605 enable_sfc
1606 enable_sfc_os
1607 enable_shcore
1608 enable_shdoclc
1609 enable_shdocvw
1610 enable_shell32
1611 enable_shfolder
1612 enable_shlwapi
1613 enable_slbcsp
1614 enable_slc
1615 enable_snmpapi
1616 enable_softpub
1617 enable_spoolss
1618 enable_sppc
1619 enable_srclient
1620 enable_srvcli
1621 enable_sspicli
1622 enable_stdole2_tlb
1623 enable_stdole32_tlb
1624 enable_sti
1625 enable_strmbase
1626 enable_strmdll
1627 enable_strmiids
1628 enable_svrapi
1629 enable_sxs
1630 enable_t2embed
1631 enable_tapi32
1632 enable_taskschd
1633 enable_tbs
1634 enable_tdh
1635 enable_tdi_sys
1636 enable_traffic
1637 enable_twain_32
1638 enable_tzres
1639 enable_ucrtbase
1640 enable_uianimation
1641 enable_uiautomationcore
1642 enable_uiribbon
1643 enable_unicows
1644 enable_updspapi
1645 enable_url
1646 enable_urlmon
1647 enable_usbd_sys
1648 enable_user32
1649 enable_userenv
1650 enable_usp10
1651 enable_utildll
1652 enable_uuid
1653 enable_uxtheme
1654 enable_vbscript
1655 enable_vcomp
1656 enable_vcomp100
1657 enable_vcomp110
1658 enable_vcomp120
1659 enable_vcomp140
1660 enable_vcomp90
1661 enable_vcruntime140
1662 enable_vcruntime140_1
1663 enable_vdmdbg
1664 enable_version
1665 enable_vga
1666 enable_virtdisk
1667 enable_vssapi
1668 enable_vulkan_1
1669 enable_wbemdisp
1670 enable_wbemprox
1671 enable_wbemuuid
1672 enable_wdscore
1673 enable_webservices
1674 enable_websocket
1675 enable_wer
1676 enable_wevtapi
1677 enable_wevtsvc
1678 enable_wiaservc
1679 enable_wimgapi
1680 enable_win32u
1681 enable_windows_gaming_input
1682 enable_windows_globalization
1683 enable_windows_media_devices
1684 enable_windows_media_speech
1685 enable_windowscodecs
1686 enable_windowscodecsext
1687 enable_winealsa_drv
1688 enable_wineandroid_drv
1689 enable_winebus_sys
1690 enable_winecoreaudio_drv
1691 enable_winecrt0
1692 enable_wined3d
1693 enable_winegstreamer
1694 enable_winehid_sys
1695 enable_winejoystick_drv
1696 enable_winemac_drv
1697 enable_winemapi
1698 enable_wineoss_drv
1699 enable_wineps_drv
1700 enable_winepulse_drv
1701 enable_wineqtdecoder
1702 enable_wineusb_sys
1703 enable_winevulkan
1704 enable_winex11_drv
1705 enable_wing32
1706 enable_winhttp
1707 enable_wininet
1708 enable_winmm
1709 enable_winnls32
1710 enable_winscard
1711 enable_winspool_drv
1712 enable_winsta
1713 enable_wintab32
1714 enable_wintrust
1715 enable_winusb
1716 enable_wlanapi
1717 enable_wlanui
1718 enable_wldap32
1719 enable_wmasf
1720 enable_wmcodecdspuuid
1721 enable_wmi
1722 enable_wmiutils
1723 enable_wmp
1724 enable_wmphoto
1725 enable_wmvcore
1726 enable_wnaspi32
1727 enable_wow64
1728 enable_wow64cpu
1729 enable_wow64win
1730 enable_wpc
1731 enable_wpcap
1732 enable_ws2_32
1733 enable_wsdapi
1734 enable_wshom_ocx
1735 enable_wsnmp32
1736 enable_wsock32
1737 enable_wtsapi32
1738 enable_wuapi
1739 enable_wuaueng
1740 enable_x3daudio1_0
1741 enable_x3daudio1_1
1742 enable_x3daudio1_2
1743 enable_x3daudio1_3
1744 enable_x3daudio1_4
1745 enable_x3daudio1_5
1746 enable_x3daudio1_6
1747 enable_x3daudio1_7
1748 enable_xactengine2_0
1749 enable_xactengine2_4
1750 enable_xactengine2_7
1751 enable_xactengine2_9
1752 enable_xactengine3_0
1753 enable_xactengine3_1
1754 enable_xactengine3_2
1755 enable_xactengine3_3
1756 enable_xactengine3_4
1757 enable_xactengine3_5
1758 enable_xactengine3_6
1759 enable_xactengine3_7
1760 enable_xapofx1_1
1761 enable_xapofx1_2
1762 enable_xapofx1_3
1763 enable_xapofx1_4
1764 enable_xapofx1_5
1765 enable_xaudio2_0
1766 enable_xaudio2_1
1767 enable_xaudio2_2
1768 enable_xaudio2_3
1769 enable_xaudio2_4
1770 enable_xaudio2_5
1771 enable_xaudio2_6
1772 enable_xaudio2_7
1773 enable_xaudio2_8
1774 enable_xaudio2_9
1775 enable_xinput1_1
1776 enable_xinput1_2
1777 enable_xinput1_3
1778 enable_xinput1_4
1779 enable_xinput9_1_0
1780 enable_xmllite
1781 enable_xolehlp
1782 enable_xpsprint
1783 enable_xpssvcs
1784 enable_fonts
1785 enable_include
1786 enable_port
1787 enable_wine
1788 enable_wpp
1789 enable_loader
1790 enable_nls
1791 enable_po
1792 enable_arp
1793 enable_aspnet_regiis
1794 enable_attrib
1795 enable_cabarc
1796 enable_cacls
1797 enable_chcp_com
1798 enable_clock
1799 enable_cmd
1800 enable_conhost
1801 enable_control
1802 enable_cscript
1803 enable_dism
1804 enable_dplaysvr
1805 enable_dpnsvr
1806 enable_dpvsetup
1807 enable_dxdiag
1808 enable_eject
1809 enable_expand
1810 enable_explorer
1811 enable_extrac32
1812 enable_fc
1813 enable_find
1814 enable_findstr
1815 enable_fsutil
1816 enable_hh
1817 enable_hostname
1818 enable_icacls
1819 enable_icinfo
1820 enable_iexplore
1821 enable_ipconfig
1822 enable_lodctr
1823 enable_mofcomp
1824 enable_mshta
1825 enable_msidb
1826 enable_msiexec
1827 enable_msinfo32
1828 enable_net
1829 enable_netsh
1830 enable_netstat
1831 enable_ngen
1832 enable_notepad
1833 enable_oleview
1834 enable_ping
1835 enable_plugplay
1836 enable_powershell
1837 enable_presentationfontcache
1838 enable_progman
1839 enable_reg
1840 enable_regasm
1841 enable_regedit
1842 enable_regini
1843 enable_regsvcs
1844 enable_regsvr32
1845 enable_rpcss
1846 enable_rundll32
1847 enable_sc
1848 enable_schtasks
1849 enable_sdbinst
1850 enable_secedit
1851 enable_servicemodelreg
1852 enable_services
1853 enable_shutdown
1854 enable_spoolsv
1855 enable_start
1856 enable_subst
1857 enable_svchost
1858 enable_systeminfo
1859 enable_taskkill
1860 enable_tasklist
1861 enable_taskmgr
1862 enable_termsv
1863 enable_uninstaller
1864 enable_unlodctr
1865 enable_view
1866 enable_wevtutil
1867 enable_where
1868 enable_whoami
1869 enable_wineboot
1870 enable_winebrowser
1871 enable_winecfg
1872 enable_wineconsole
1873 enable_winedbg
1874 enable_winedevice
1875 enable_winefile
1876 enable_winemenubuilder
1877 enable_winemine
1878 enable_winemsibuilder
1879 enable_winepath
1880 enable_winetest
1881 enable_winhlp32
1882 enable_winmgmt
1883 enable_winver
1884 enable_wmic
1885 enable_wmplayer
1886 enable_wordpad
1887 enable_write
1888 enable_wscript
1889 enable_wuauserv
1890 enable_wusa
1891 enable_xcopy
1892 enable_server
1893 enable_tools
1894 enable_sfnt2fon
1895 enable_widl
1896 enable_winebuild
1897 enable_winedump
1898 enable_winegcc
1899 enable_winemaker
1900 enable_wmc
1901 enable_wrc
1903 ac_precious_vars='build_alias
1904 host_alias
1905 target_alias
1907 CFLAGS
1908 LDFLAGS
1909 LIBS
1910 CPPFLAGS
1912 CXXFLAGS
1915 OBJC
1916 OBJCFLAGS
1917 OBJCPP
1918 XMKMF
1919 XML2_CFLAGS
1920 XML2_LIBS
1921 XSLT_CFLAGS
1922 XSLT_LIBS
1923 INOTIFY_CFLAGS
1924 INOTIFY_LIBS
1925 DBUS_CFLAGS
1926 DBUS_LIBS
1927 HAL_CFLAGS
1928 HAL_LIBS
1929 GNUTLS_CFLAGS
1930 GNUTLS_LIBS
1931 SANE_CFLAGS
1932 SANE_LIBS
1933 USB_CFLAGS
1934 USB_LIBS
1935 GPHOTO2_CFLAGS
1936 GPHOTO2_LIBS
1937 GPHOTO2_PORT_CFLAGS
1938 GPHOTO2_PORT_LIBS
1939 LCMS2_CFLAGS
1940 LCMS2_LIBS
1941 FREETYPE_CFLAGS
1942 FREETYPE_LIBS
1943 PULSE_CFLAGS
1944 PULSE_LIBS
1945 GSTREAMER_CFLAGS
1946 GSTREAMER_LIBS
1947 UDEV_CFLAGS
1948 UDEV_LIBS
1949 UNWIND_CFLAGS
1950 UNWIND_LIBS
1951 SDL2_CFLAGS
1952 SDL2_LIBS
1953 FAUDIO_CFLAGS
1954 FAUDIO_LIBS
1955 CAPI20_CFLAGS
1956 CAPI20_LIBS
1957 CUPS_CFLAGS
1958 CUPS_LIBS
1959 FONTCONFIG_CFLAGS
1960 FONTCONFIG_LIBS
1961 KRB5_CFLAGS
1962 KRB5_LIBS
1963 GSSAPI_CFLAGS
1964 GSSAPI_LIBS
1965 JPEG_CFLAGS
1966 JPEG_LIBS
1967 JXRLIB_CFLAGS
1968 JXRLIB_LIBS
1969 PNG_CFLAGS
1970 PNG_LIBS
1971 TIFF_CFLAGS
1972 TIFF_LIBS
1973 MPG123_CFLAGS
1974 MPG123_LIBS
1975 NETAPI_CFLAGS
1976 NETAPI_LIBS
1977 VKD3D_CFLAGS
1978 VKD3D_LIBS
1979 VKD3D_SHADER_CFLAGS
1980 VKD3D_SHADER_LIBS
1981 LDAP_CFLAGS
1982 LDAP_LIBS'
1985 # Initialize some variables set by options.
1986 ac_init_help=
1987 ac_init_version=false
1988 ac_unrecognized_opts=
1989 ac_unrecognized_sep=
1990 # The variables have the same names as the options, with
1991 # dashes changed to underlines.
1992 cache_file=/dev/null
1993 exec_prefix=NONE
1994 no_create=
1995 no_recursion=
1996 prefix=NONE
1997 program_prefix=NONE
1998 program_suffix=NONE
1999 program_transform_name=s,x,x,
2000 silent=
2001 site=
2002 srcdir=
2003 verbose=
2004 x_includes=NONE
2005 x_libraries=NONE
2007 # Installation directory options.
2008 # These are left unexpanded so users can "make install exec_prefix=/foo"
2009 # and all the variables that are supposed to be based on exec_prefix
2010 # by default will actually change.
2011 # Use braces instead of parens because sh, perl, etc. also accept them.
2012 # (The list follows the same order as the GNU Coding Standards.)
2013 bindir='${exec_prefix}/bin'
2014 sbindir='${exec_prefix}/sbin'
2015 libexecdir='${exec_prefix}/libexec'
2016 datarootdir='${prefix}/share'
2017 datadir='${datarootdir}'
2018 sysconfdir='${prefix}/etc'
2019 sharedstatedir='${prefix}/com'
2020 localstatedir='${prefix}/var'
2021 runstatedir='${localstatedir}/run'
2022 includedir='${prefix}/include'
2023 oldincludedir='/usr/include'
2024 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2025 infodir='${datarootdir}/info'
2026 htmldir='${docdir}'
2027 dvidir='${docdir}'
2028 pdfdir='${docdir}'
2029 psdir='${docdir}'
2030 libdir='${exec_prefix}/lib'
2031 localedir='${datarootdir}/locale'
2032 mandir='${datarootdir}/man'
2034 ac_prev=
2035 ac_dashdash=
2036 for ac_option
2038 # If the previous option needs an argument, assign it.
2039 if test -n "$ac_prev"; then
2040 eval $ac_prev=\$ac_option
2041 ac_prev=
2042 continue
2045 case $ac_option in
2046 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2047 *=) ac_optarg= ;;
2048 *) ac_optarg=yes ;;
2049 esac
2051 # Accept the important Cygnus configure options, so we can diagnose typos.
2053 case $ac_dashdash$ac_option in
2055 ac_dashdash=yes ;;
2057 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2058 ac_prev=bindir ;;
2059 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2060 bindir=$ac_optarg ;;
2062 -build | --build | --buil | --bui | --bu)
2063 ac_prev=build_alias ;;
2064 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2065 build_alias=$ac_optarg ;;
2067 -cache-file | --cache-file | --cache-fil | --cache-fi \
2068 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2069 ac_prev=cache_file ;;
2070 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2071 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2072 cache_file=$ac_optarg ;;
2074 --config-cache | -C)
2075 cache_file=config.cache ;;
2077 -datadir | --datadir | --datadi | --datad)
2078 ac_prev=datadir ;;
2079 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2080 datadir=$ac_optarg ;;
2082 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2083 | --dataroo | --dataro | --datar)
2084 ac_prev=datarootdir ;;
2085 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2086 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2087 datarootdir=$ac_optarg ;;
2089 -disable-* | --disable-*)
2090 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2091 # Reject names that are not valid shell variable names.
2092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2093 as_fn_error $? "invalid feature name: $ac_useropt"
2094 ac_useropt_orig=$ac_useropt
2095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2096 case $ac_user_opts in
2098 "enable_$ac_useropt"
2099 "*) ;;
2100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2101 ac_unrecognized_sep=', ';;
2102 esac
2103 eval enable_$ac_useropt=no ;;
2105 -docdir | --docdir | --docdi | --doc | --do)
2106 ac_prev=docdir ;;
2107 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2108 docdir=$ac_optarg ;;
2110 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2111 ac_prev=dvidir ;;
2112 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2113 dvidir=$ac_optarg ;;
2115 -enable-* | --enable-*)
2116 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2117 # Reject names that are not valid shell variable names.
2118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2119 as_fn_error $? "invalid feature name: $ac_useropt"
2120 ac_useropt_orig=$ac_useropt
2121 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2122 case $ac_user_opts in
2124 "enable_$ac_useropt"
2125 "*) ;;
2126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2127 ac_unrecognized_sep=', ';;
2128 esac
2129 eval enable_$ac_useropt=\$ac_optarg ;;
2131 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2132 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2133 | --exec | --exe | --ex)
2134 ac_prev=exec_prefix ;;
2135 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2136 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2137 | --exec=* | --exe=* | --ex=*)
2138 exec_prefix=$ac_optarg ;;
2140 -gas | --gas | --ga | --g)
2141 # Obsolete; use --with-gas.
2142 with_gas=yes ;;
2144 -help | --help | --hel | --he | -h)
2145 ac_init_help=long ;;
2146 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2147 ac_init_help=recursive ;;
2148 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2149 ac_init_help=short ;;
2151 -host | --host | --hos | --ho)
2152 ac_prev=host_alias ;;
2153 -host=* | --host=* | --hos=* | --ho=*)
2154 host_alias=$ac_optarg ;;
2156 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2157 ac_prev=htmldir ;;
2158 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2159 | --ht=*)
2160 htmldir=$ac_optarg ;;
2162 -includedir | --includedir | --includedi | --included | --include \
2163 | --includ | --inclu | --incl | --inc)
2164 ac_prev=includedir ;;
2165 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2166 | --includ=* | --inclu=* | --incl=* | --inc=*)
2167 includedir=$ac_optarg ;;
2169 -infodir | --infodir | --infodi | --infod | --info | --inf)
2170 ac_prev=infodir ;;
2171 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2172 infodir=$ac_optarg ;;
2174 -libdir | --libdir | --libdi | --libd)
2175 ac_prev=libdir ;;
2176 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2177 libdir=$ac_optarg ;;
2179 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2180 | --libexe | --libex | --libe)
2181 ac_prev=libexecdir ;;
2182 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2183 | --libexe=* | --libex=* | --libe=*)
2184 libexecdir=$ac_optarg ;;
2186 -localedir | --localedir | --localedi | --localed | --locale)
2187 ac_prev=localedir ;;
2188 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2189 localedir=$ac_optarg ;;
2191 -localstatedir | --localstatedir | --localstatedi | --localstated \
2192 | --localstate | --localstat | --localsta | --localst | --locals)
2193 ac_prev=localstatedir ;;
2194 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2195 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2196 localstatedir=$ac_optarg ;;
2198 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2199 ac_prev=mandir ;;
2200 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2201 mandir=$ac_optarg ;;
2203 -nfp | --nfp | --nf)
2204 # Obsolete; use --without-fp.
2205 with_fp=no ;;
2207 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2208 | --no-cr | --no-c | -n)
2209 no_create=yes ;;
2211 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2212 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2213 no_recursion=yes ;;
2215 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2216 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2217 | --oldin | --oldi | --old | --ol | --o)
2218 ac_prev=oldincludedir ;;
2219 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2220 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2221 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2222 oldincludedir=$ac_optarg ;;
2224 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2225 ac_prev=prefix ;;
2226 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2227 prefix=$ac_optarg ;;
2229 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2230 | --program-pre | --program-pr | --program-p)
2231 ac_prev=program_prefix ;;
2232 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2233 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2234 program_prefix=$ac_optarg ;;
2236 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2237 | --program-suf | --program-su | --program-s)
2238 ac_prev=program_suffix ;;
2239 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2240 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2241 program_suffix=$ac_optarg ;;
2243 -program-transform-name | --program-transform-name \
2244 | --program-transform-nam | --program-transform-na \
2245 | --program-transform-n | --program-transform- \
2246 | --program-transform | --program-transfor \
2247 | --program-transfo | --program-transf \
2248 | --program-trans | --program-tran \
2249 | --progr-tra | --program-tr | --program-t)
2250 ac_prev=program_transform_name ;;
2251 -program-transform-name=* | --program-transform-name=* \
2252 | --program-transform-nam=* | --program-transform-na=* \
2253 | --program-transform-n=* | --program-transform-=* \
2254 | --program-transform=* | --program-transfor=* \
2255 | --program-transfo=* | --program-transf=* \
2256 | --program-trans=* | --program-tran=* \
2257 | --progr-tra=* | --program-tr=* | --program-t=*)
2258 program_transform_name=$ac_optarg ;;
2260 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2261 ac_prev=pdfdir ;;
2262 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2263 pdfdir=$ac_optarg ;;
2265 -psdir | --psdir | --psdi | --psd | --ps)
2266 ac_prev=psdir ;;
2267 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2268 psdir=$ac_optarg ;;
2270 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2271 | -silent | --silent | --silen | --sile | --sil)
2272 silent=yes ;;
2274 -runstatedir | --runstatedir | --runstatedi | --runstated \
2275 | --runstate | --runstat | --runsta | --runst | --runs \
2276 | --run | --ru | --r)
2277 ac_prev=runstatedir ;;
2278 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2279 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2280 | --run=* | --ru=* | --r=*)
2281 runstatedir=$ac_optarg ;;
2283 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2284 ac_prev=sbindir ;;
2285 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2286 | --sbi=* | --sb=*)
2287 sbindir=$ac_optarg ;;
2289 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2290 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2291 | --sharedst | --shareds | --shared | --share | --shar \
2292 | --sha | --sh)
2293 ac_prev=sharedstatedir ;;
2294 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2295 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2296 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2297 | --sha=* | --sh=*)
2298 sharedstatedir=$ac_optarg ;;
2300 -site | --site | --sit)
2301 ac_prev=site ;;
2302 -site=* | --site=* | --sit=*)
2303 site=$ac_optarg ;;
2305 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2306 ac_prev=srcdir ;;
2307 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2308 srcdir=$ac_optarg ;;
2310 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2311 | --syscon | --sysco | --sysc | --sys | --sy)
2312 ac_prev=sysconfdir ;;
2313 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2314 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2315 sysconfdir=$ac_optarg ;;
2317 -target | --target | --targe | --targ | --tar | --ta | --t)
2318 ac_prev=target_alias ;;
2319 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2320 target_alias=$ac_optarg ;;
2322 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2323 verbose=yes ;;
2325 -version | --version | --versio | --versi | --vers | -V)
2326 ac_init_version=: ;;
2328 -with-* | --with-*)
2329 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2330 # Reject names that are not valid shell variable names.
2331 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2332 as_fn_error $? "invalid package name: $ac_useropt"
2333 ac_useropt_orig=$ac_useropt
2334 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2335 case $ac_user_opts in
2337 "with_$ac_useropt"
2338 "*) ;;
2339 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2340 ac_unrecognized_sep=', ';;
2341 esac
2342 eval with_$ac_useropt=\$ac_optarg ;;
2344 -without-* | --without-*)
2345 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2346 # Reject names that are not valid shell variable names.
2347 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2348 as_fn_error $? "invalid package name: $ac_useropt"
2349 ac_useropt_orig=$ac_useropt
2350 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2351 case $ac_user_opts in
2353 "with_$ac_useropt"
2354 "*) ;;
2355 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2356 ac_unrecognized_sep=', ';;
2357 esac
2358 eval with_$ac_useropt=no ;;
2360 --x)
2361 # Obsolete; use --with-x.
2362 with_x=yes ;;
2364 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2365 | --x-incl | --x-inc | --x-in | --x-i)
2366 ac_prev=x_includes ;;
2367 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2368 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2369 x_includes=$ac_optarg ;;
2371 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2372 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2373 ac_prev=x_libraries ;;
2374 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2375 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2376 x_libraries=$ac_optarg ;;
2378 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2379 Try \`$0 --help' for more information"
2382 *=*)
2383 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2384 # Reject names that are not valid shell variable names.
2385 case $ac_envvar in #(
2386 '' | [0-9]* | *[!_$as_cr_alnum]* )
2387 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2388 esac
2389 eval $ac_envvar=\$ac_optarg
2390 export $ac_envvar ;;
2393 # FIXME: should be removed in autoconf 3.0.
2394 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2395 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2396 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2397 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2400 esac
2401 done
2403 if test -n "$ac_prev"; then
2404 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2405 as_fn_error $? "missing argument to $ac_option"
2408 if test -n "$ac_unrecognized_opts"; then
2409 case $enable_option_checking in
2410 no) ;;
2411 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2412 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2413 esac
2416 # Check all directory arguments for consistency.
2417 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2418 datadir sysconfdir sharedstatedir localstatedir includedir \
2419 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2420 libdir localedir mandir runstatedir
2422 eval ac_val=\$$ac_var
2423 # Remove trailing slashes.
2424 case $ac_val in
2425 */ )
2426 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2427 eval $ac_var=\$ac_val;;
2428 esac
2429 # Be sure to have absolute directory names.
2430 case $ac_val in
2431 [\\/$]* | ?:[\\/]* ) continue;;
2432 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2433 esac
2434 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2435 done
2437 # There might be people who depend on the old broken behavior: `$host'
2438 # used to hold the argument of --host etc.
2439 # FIXME: To remove some day.
2440 build=$build_alias
2441 host=$host_alias
2442 target=$target_alias
2444 # FIXME: To remove some day.
2445 if test "x$host_alias" != x; then
2446 if test "x$build_alias" = x; then
2447 cross_compiling=maybe
2448 elif test "x$build_alias" != "x$host_alias"; then
2449 cross_compiling=yes
2453 ac_tool_prefix=
2454 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2456 test "$silent" = yes && exec 6>/dev/null
2459 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2460 ac_ls_di=`ls -di .` &&
2461 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2462 as_fn_error $? "working directory cannot be determined"
2463 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2464 as_fn_error $? "pwd does not report name of working directory"
2467 # Find the source files, if location was not specified.
2468 if test -z "$srcdir"; then
2469 ac_srcdir_defaulted=yes
2470 # Try the directory containing this script, then the parent directory.
2471 ac_confdir=`$as_dirname -- "$as_myself" ||
2472 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2473 X"$as_myself" : 'X\(//\)[^/]' \| \
2474 X"$as_myself" : 'X\(//\)$' \| \
2475 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2476 $as_echo X"$as_myself" |
2477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2478 s//\1/
2481 /^X\(\/\/\)[^/].*/{
2482 s//\1/
2485 /^X\(\/\/\)$/{
2486 s//\1/
2489 /^X\(\/\).*/{
2490 s//\1/
2493 s/.*/./; q'`
2494 srcdir=$ac_confdir
2495 if test ! -r "$srcdir/$ac_unique_file"; then
2496 srcdir=..
2498 else
2499 ac_srcdir_defaulted=no
2501 if test ! -r "$srcdir/$ac_unique_file"; then
2502 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2503 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2505 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2506 ac_abs_confdir=`(
2507 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2508 pwd)`
2509 # When building in place, set srcdir=.
2510 if test "$ac_abs_confdir" = "$ac_pwd"; then
2511 srcdir=.
2513 # Remove unnecessary trailing slashes from srcdir.
2514 # Double slashes in file names in object file debugging info
2515 # mess up M-x gdb in Emacs.
2516 case $srcdir in
2517 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2518 esac
2519 for ac_var in $ac_precious_vars; do
2520 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2521 eval ac_env_${ac_var}_value=\$${ac_var}
2522 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2523 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2524 done
2527 # Report the --help message.
2529 if test "$ac_init_help" = "long"; then
2530 # Omit some internal or obsolete options to make the list less imposing.
2531 # This message is too long to be a string in the A/UX 3.1 sh.
2532 cat <<_ACEOF
2533 \`configure' configures Wine 6.14 to adapt to many kinds of systems.
2535 Usage: $0 [OPTION]... [VAR=VALUE]...
2537 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2538 VAR=VALUE. See below for descriptions of some of the useful variables.
2540 Defaults for the options are specified in brackets.
2542 Configuration:
2543 -h, --help display this help and exit
2544 --help=short display options specific to this package
2545 --help=recursive display the short help of all the included packages
2546 -V, --version display version information and exit
2547 -q, --quiet, --silent do not print \`checking ...' messages
2548 --cache-file=FILE cache test results in FILE [disabled]
2549 -C, --config-cache alias for \`--cache-file=config.cache'
2550 -n, --no-create do not create output files
2551 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2553 Installation directories:
2554 --prefix=PREFIX install architecture-independent files in PREFIX
2555 [$ac_default_prefix]
2556 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2557 [PREFIX]
2559 By default, \`make install' will install all the files in
2560 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2561 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2562 for instance \`--prefix=\$HOME'.
2564 For better control, use the options below.
2566 Fine tuning of the installation directories:
2567 --bindir=DIR user executables [EPREFIX/bin]
2568 --sbindir=DIR system admin executables [EPREFIX/sbin]
2569 --libexecdir=DIR program executables [EPREFIX/libexec]
2570 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2571 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2572 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2573 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2574 --libdir=DIR object code libraries [EPREFIX/lib]
2575 --includedir=DIR C header files [PREFIX/include]
2576 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2577 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2578 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2579 --infodir=DIR info documentation [DATAROOTDIR/info]
2580 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2581 --mandir=DIR man documentation [DATAROOTDIR/man]
2582 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2583 --htmldir=DIR html documentation [DOCDIR]
2584 --dvidir=DIR dvi documentation [DOCDIR]
2585 --pdfdir=DIR pdf documentation [DOCDIR]
2586 --psdir=DIR ps documentation [DOCDIR]
2587 _ACEOF
2589 cat <<\_ACEOF
2591 X features:
2592 --x-includes=DIR X include files are in DIR
2593 --x-libraries=DIR X library files are in DIR
2595 System types:
2596 --build=BUILD configure for building on BUILD [guessed]
2597 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2598 _ACEOF
2601 if test -n "$ac_init_help"; then
2602 case $ac_init_help in
2603 short | recursive ) echo "Configuration of Wine 6.14:";;
2604 esac
2605 cat <<\_ACEOF
2607 Optional Features:
2608 --disable-option-checking ignore unrecognized --enable/--with options
2609 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2610 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2611 --disable-win16 do not include Win16 support
2612 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2613 binaries)
2614 --disable-tests do not build the regression tests
2615 --enable-build-id include .buildid section in output objects
2616 --enable-maintainer-mode
2617 enable maintainer-specific build rules
2618 --enable-silent-rules use silent build rules (override: "make V=1")
2619 --enable-werror treat compilation warnings as errors
2620 --disable-largefile omit support for large files
2622 Optional Packages:
2623 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2624 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2625 --without-alsa do not use the Alsa sound support
2626 --without-capi do not use CAPI (ISDN support)
2627 --without-cms do not use CMS (color management support)
2628 --without-coreaudio do not use the CoreAudio sound support
2629 --without-cups do not use CUPS
2630 --without-dbus do not use DBus (dynamic device support)
2631 --without-faudio do not use FAudio (XAudio2 support)
2632 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2633 --without-fontconfig do not use fontconfig
2634 --without-freetype do not use the FreeType library
2635 --without-gettext do not use gettext
2636 --with-gettextpo use the GetTextPO library to rebuild po files
2637 --without-gphoto do not use gphoto (Digital Camera support)
2638 --without-gnutls do not use GnuTLS (schannel support)
2639 --without-gsm do not use libgsm (GSM 06.10 codec support)
2640 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2641 --without-gstreamer do not use GStreamer (codecs support)
2642 --without-hal do not use HAL (dynamic device support)
2643 --without-inotify do not use inotify (filesystem change notifications)
2644 --without-jpeg do not use JPEG
2645 --without-jxrlib do not use JPEG-XR
2646 --without-krb5 do not use krb5 (Kerberos)
2647 --without-ldap do not use LDAP
2648 --without-mingw do not use the MinGW cross-compiler
2649 --without-mpg123 do not use the mpg123 library
2650 --without-netapi do not use the Samba NetAPI library
2651 --without-openal do not use OpenAL
2652 --without-opencl do not use OpenCL
2653 --without-opengl do not use OpenGL
2654 --without-osmesa do not use the OSMesa library
2655 --without-oss do not use the OSS sound support
2656 --without-pcap do not use the Packet Capture library
2657 --without-png do not use PNG
2658 --without-pthread do not use the pthread library
2659 --without-pulse do not use PulseAudio sound support
2660 --without-quicktime do not use QuickTime support
2661 --without-sane do not use SANE (scanner support)
2662 --without-sdl do not use SDL
2663 --without-tiff do not use TIFF
2664 --without-udev do not use udev (plug and play support)
2665 --without-unwind do not use the libunwind library (exception
2666 handling)
2667 --without-usb do not use the libusb library
2668 --without-v4l2 do not use v4l2 (video capture)
2669 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2670 --without-vulkan do not use Vulkan
2671 --without-xcomposite do not use the Xcomposite extension
2672 --without-xcursor do not use the Xcursor extension
2673 --without-xfixes do not use Xfixes for clipboard change notifications
2674 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2675 --without-xinput do not use the Xinput extension
2676 --without-xinput2 do not use the Xinput 2 extension
2677 --without-xml do not use XML
2678 --without-xrandr do not use Xrandr (multi-monitor support)
2679 --without-xrender do not use the Xrender extension
2680 --without-xshape do not use the Xshape extension
2681 --without-xshm do not use XShm (shared memory extension)
2682 --without-xslt do not use XSLT
2683 --without-xxf86vm do not use XFree video mode extension
2684 --with-wine-tools=DIR use Wine tools from directory DIR
2685 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2686 --with-x use the X Window System
2688 Some influential environment variables:
2689 CC C compiler command
2690 CFLAGS C compiler flags
2691 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2692 nonstandard directory <lib dir>
2693 LIBS libraries to pass to the linker, e.g. -l<library>
2694 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2695 you have headers in a nonstandard directory <include dir>
2696 CXX C++ compiler command
2697 CXXFLAGS C++ compiler flags
2698 CPP C preprocessor
2699 OBJC Objective C compiler command
2700 OBJCFLAGS Objective C compiler flags
2701 OBJCPP Objective C preprocessor
2702 XMKMF Path to xmkmf, Makefile generator for X Window System
2703 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2704 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2705 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2706 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2707 INOTIFY_CFLAGS
2708 C compiler flags for libinotify, overriding pkg-config
2709 INOTIFY_LIBS
2710 Linker flags for libinotify, overriding pkg-config
2711 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2712 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2713 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2714 HAL_LIBS Linker flags for hal, overriding pkg-config
2715 GNUTLS_CFLAGS
2716 C compiler flags for gnutls, overriding pkg-config
2717 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2718 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2719 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2720 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2721 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2722 GPHOTO2_CFLAGS
2723 C compiler flags for libgphoto2, overriding pkg-config
2724 GPHOTO2_LIBS
2725 Linker flags for libgphoto2, overriding pkg-config
2726 GPHOTO2_PORT_CFLAGS
2727 C compiler flags for libgphoto2_port, overriding pkg-config
2728 GPHOTO2_PORT_LIBS
2729 Linker flags for libgphoto2_port, overriding pkg-config
2730 LCMS2_CFLAGS
2731 C compiler flags for lcms2, overriding pkg-config
2732 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2733 FREETYPE_CFLAGS
2734 C compiler flags for freetype2, overriding pkg-config
2735 FREETYPE_LIBS
2736 Linker flags for freetype2, overriding pkg-config
2737 PULSE_CFLAGS
2738 C compiler flags for libpulse, overriding pkg-config
2739 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2740 GSTREAMER_CFLAGS
2741 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2742 gstreamer-audio-1.0, overriding pkg-config
2743 GSTREAMER_LIBS
2744 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2745 gstreamer-audio-1.0, overriding pkg-config
2746 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2747 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2748 UNWIND_CFLAGS
2749 C compiler flags for libunwind, overriding pkg-config
2750 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2751 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2752 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2753 FAUDIO_CFLAGS
2754 C compiler flags for FAudio, overriding pkg-config
2755 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2756 CAPI20_CFLAGS
2757 C compiler flags for capi20, overriding pkg-config
2758 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2759 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2760 CUPS_LIBS Linker flags for cups, overriding pkg-config
2761 FONTCONFIG_CFLAGS
2762 C compiler flags for fontconfig, overriding pkg-config
2763 FONTCONFIG_LIBS
2764 Linker flags for fontconfig, overriding pkg-config
2765 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2766 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2767 GSSAPI_CFLAGS
2768 C compiler flags for krb5-gssapi, overriding pkg-config
2769 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2770 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2771 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2772 JXRLIB_CFLAGS
2773 C compiler flags for jxrlib, overriding pkg-config
2774 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2775 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2776 PNG_LIBS Linker flags for libpng, overriding pkg-config
2777 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2778 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2779 MPG123_CFLAGS
2780 C compiler flags for libmpg123, overriding pkg-config
2781 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2782 NETAPI_CFLAGS
2783 C compiler flags for netapi, overriding pkg-config
2784 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2785 VKD3D_CFLAGS
2786 C compiler flags for libvkd3d, overriding pkg-config
2787 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2788 VKD3D_SHADER_CFLAGS
2789 C compiler flags for libvkd3d-shader, overriding pkg-config
2790 VKD3D_SHADER_LIBS
2791 Linker flags for libvkd3d-shader, overriding pkg-config
2792 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2793 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2795 Use these variables to override the choices made by `configure' or to help
2796 it to find libraries and programs with nonstandard names/locations.
2798 Report bugs to <wine-devel@winehq.org>.
2799 Wine home page: <https://www.winehq.org>.
2800 _ACEOF
2801 ac_status=$?
2804 if test "$ac_init_help" = "recursive"; then
2805 # If there are subdirs, report their specific --help.
2806 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2807 test -d "$ac_dir" ||
2808 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2809 continue
2810 ac_builddir=.
2812 case "$ac_dir" in
2813 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2815 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2816 # A ".." for each directory in $ac_dir_suffix.
2817 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2818 case $ac_top_builddir_sub in
2819 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2820 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2821 esac ;;
2822 esac
2823 ac_abs_top_builddir=$ac_pwd
2824 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2825 # for backward compatibility:
2826 ac_top_builddir=$ac_top_build_prefix
2828 case $srcdir in
2829 .) # We are building in place.
2830 ac_srcdir=.
2831 ac_top_srcdir=$ac_top_builddir_sub
2832 ac_abs_top_srcdir=$ac_pwd ;;
2833 [\\/]* | ?:[\\/]* ) # Absolute name.
2834 ac_srcdir=$srcdir$ac_dir_suffix;
2835 ac_top_srcdir=$srcdir
2836 ac_abs_top_srcdir=$srcdir ;;
2837 *) # Relative name.
2838 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2839 ac_top_srcdir=$ac_top_build_prefix$srcdir
2840 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2841 esac
2842 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2844 cd "$ac_dir" || { ac_status=$?; continue; }
2845 # Check for guested configure.
2846 if test -f "$ac_srcdir/configure.gnu"; then
2847 echo &&
2848 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2849 elif test -f "$ac_srcdir/configure"; then
2850 echo &&
2851 $SHELL "$ac_srcdir/configure" --help=recursive
2852 else
2853 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2854 fi || ac_status=$?
2855 cd "$ac_pwd" || { ac_status=$?; break; }
2856 done
2859 test -n "$ac_init_help" && exit $ac_status
2860 if $ac_init_version; then
2861 cat <<\_ACEOF
2862 Wine configure 6.14
2863 generated by GNU Autoconf 2.69
2865 Copyright (C) 2012 Free Software Foundation, Inc.
2866 This configure script is free software; the Free Software Foundation
2867 gives unlimited permission to copy, distribute and modify it.
2868 _ACEOF
2869 exit
2872 ## ------------------------ ##
2873 ## Autoconf initialization. ##
2874 ## ------------------------ ##
2876 # ac_fn_c_try_compile LINENO
2877 # --------------------------
2878 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2879 ac_fn_c_try_compile ()
2881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2882 rm -f conftest.$ac_objext
2883 if { { ac_try="$ac_compile"
2884 case "(($ac_try" in
2885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2887 esac
2888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2889 $as_echo "$ac_try_echo"; } >&5
2890 (eval "$ac_compile") 2>conftest.err
2891 ac_status=$?
2892 if test -s conftest.err; then
2893 grep -v '^ *+' conftest.err >conftest.er1
2894 cat conftest.er1 >&5
2895 mv -f conftest.er1 conftest.err
2897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2898 test $ac_status = 0; } && {
2899 test -z "$ac_c_werror_flag" ||
2900 test ! -s conftest.err
2901 } && test -s conftest.$ac_objext; then :
2902 ac_retval=0
2903 else
2904 $as_echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2907 ac_retval=1
2909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2910 as_fn_set_status $ac_retval
2912 } # ac_fn_c_try_compile
2914 # ac_fn_cxx_try_compile LINENO
2915 # ----------------------------
2916 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2917 ac_fn_cxx_try_compile ()
2919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2920 rm -f conftest.$ac_objext
2921 if { { ac_try="$ac_compile"
2922 case "(($ac_try" in
2923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2925 esac
2926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2927 $as_echo "$ac_try_echo"; } >&5
2928 (eval "$ac_compile") 2>conftest.err
2929 ac_status=$?
2930 if test -s conftest.err; then
2931 grep -v '^ *+' conftest.err >conftest.er1
2932 cat conftest.er1 >&5
2933 mv -f conftest.er1 conftest.err
2935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2936 test $ac_status = 0; } && {
2937 test -z "$ac_cxx_werror_flag" ||
2938 test ! -s conftest.err
2939 } && test -s conftest.$ac_objext; then :
2940 ac_retval=0
2941 else
2942 $as_echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.$ac_ext >&5
2945 ac_retval=1
2947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2948 as_fn_set_status $ac_retval
2950 } # ac_fn_cxx_try_compile
2952 # ac_fn_c_try_link LINENO
2953 # -----------------------
2954 # Try to link conftest.$ac_ext, and return whether this succeeded.
2955 ac_fn_c_try_link ()
2957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2958 rm -f conftest.$ac_objext conftest$ac_exeext
2959 if { { ac_try="$ac_link"
2960 case "(($ac_try" in
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2963 esac
2964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2965 $as_echo "$ac_try_echo"; } >&5
2966 (eval "$ac_link") 2>conftest.err
2967 ac_status=$?
2968 if test -s conftest.err; then
2969 grep -v '^ *+' conftest.err >conftest.er1
2970 cat conftest.er1 >&5
2971 mv -f conftest.er1 conftest.err
2973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2974 test $ac_status = 0; } && {
2975 test -z "$ac_c_werror_flag" ||
2976 test ! -s conftest.err
2977 } && test -s conftest$ac_exeext && {
2978 test "$cross_compiling" = yes ||
2979 test -x conftest$ac_exeext
2980 }; then :
2981 ac_retval=0
2982 else
2983 $as_echo "$as_me: failed program was:" >&5
2984 sed 's/^/| /' conftest.$ac_ext >&5
2986 ac_retval=1
2988 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2989 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2990 # interfere with the next link command; also delete a directory that is
2991 # left behind by Apple's compiler. We do this before executing the actions.
2992 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2994 as_fn_set_status $ac_retval
2996 } # ac_fn_c_try_link
2998 # ac_fn_c_try_cpp LINENO
2999 # ----------------------
3000 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3001 ac_fn_c_try_cpp ()
3003 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3004 if { { ac_try="$ac_cpp conftest.$ac_ext"
3005 case "(($ac_try" in
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3008 esac
3009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3010 $as_echo "$ac_try_echo"; } >&5
3011 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3012 ac_status=$?
3013 if test -s conftest.err; then
3014 grep -v '^ *+' conftest.err >conftest.er1
3015 cat conftest.er1 >&5
3016 mv -f conftest.er1 conftest.err
3018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3019 test $ac_status = 0; } > conftest.i && {
3020 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3021 test ! -s conftest.err
3022 }; then :
3023 ac_retval=0
3024 else
3025 $as_echo "$as_me: failed program was:" >&5
3026 sed 's/^/| /' conftest.$ac_ext >&5
3028 ac_retval=1
3030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3031 as_fn_set_status $ac_retval
3033 } # ac_fn_c_try_cpp
3035 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3036 # -------------------------------------------------------
3037 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3038 # the include files in INCLUDES and setting the cache variable VAR
3039 # accordingly.
3040 ac_fn_c_check_header_mongrel ()
3042 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3043 if eval \${$3+:} false; then :
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3045 $as_echo_n "checking for $2... " >&6; }
3046 if eval \${$3+:} false; then :
3047 $as_echo_n "(cached) " >&6
3049 eval ac_res=\$$3
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3051 $as_echo "$ac_res" >&6; }
3052 else
3053 # Is the header compilable?
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3055 $as_echo_n "checking $2 usability... " >&6; }
3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3059 #include <$2>
3060 _ACEOF
3061 if ac_fn_c_try_compile "$LINENO"; then :
3062 ac_header_compiler=yes
3063 else
3064 ac_header_compiler=no
3066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3068 $as_echo "$ac_header_compiler" >&6; }
3070 # Is the header present?
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3072 $as_echo_n "checking $2 presence... " >&6; }
3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3074 /* end confdefs.h. */
3075 #include <$2>
3076 _ACEOF
3077 if ac_fn_c_try_cpp "$LINENO"; then :
3078 ac_header_preproc=yes
3079 else
3080 ac_header_preproc=no
3082 rm -f conftest.err conftest.i conftest.$ac_ext
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3084 $as_echo "$ac_header_preproc" >&6; }
3086 # So? What about this header?
3087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3088 yes:no: )
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3090 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3092 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3094 no:yes:* )
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3096 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3098 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3100 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3102 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3104 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3105 ( $as_echo "## ------------------------------------ ##
3106 ## Report this to wine-devel@winehq.org ##
3107 ## ------------------------------------ ##"
3108 ) | sed "s/^/$as_me: WARNING: /" >&2
3110 esac
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3112 $as_echo_n "checking for $2... " >&6; }
3113 if eval \${$3+:} false; then :
3114 $as_echo_n "(cached) " >&6
3115 else
3116 eval "$3=\$ac_header_compiler"
3118 eval ac_res=\$$3
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3120 $as_echo "$ac_res" >&6; }
3122 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3124 } # ac_fn_c_check_header_mongrel
3126 # ac_fn_c_try_run LINENO
3127 # ----------------------
3128 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3129 # that executables *can* be run.
3130 ac_fn_c_try_run ()
3132 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3133 if { { ac_try="$ac_link"
3134 case "(($ac_try" in
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3137 esac
3138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3139 $as_echo "$ac_try_echo"; } >&5
3140 (eval "$ac_link") 2>&5
3141 ac_status=$?
3142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3143 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3144 { { case "(($ac_try" in
3145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146 *) ac_try_echo=$ac_try;;
3147 esac
3148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3149 $as_echo "$ac_try_echo"; } >&5
3150 (eval "$ac_try") 2>&5
3151 ac_status=$?
3152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3153 test $ac_status = 0; }; }; then :
3154 ac_retval=0
3155 else
3156 $as_echo "$as_me: program exited with status $ac_status" >&5
3157 $as_echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3160 ac_retval=$ac_status
3162 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3163 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3164 as_fn_set_status $ac_retval
3166 } # ac_fn_c_try_run
3168 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3169 # -------------------------------------------------------
3170 # Tests whether HEADER exists and can be compiled using the include files in
3171 # INCLUDES, setting the cache variable VAR accordingly.
3172 ac_fn_c_check_header_compile ()
3174 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3176 $as_echo_n "checking for $2... " >&6; }
3177 if eval \${$3+:} false; then :
3178 $as_echo_n "(cached) " >&6
3179 else
3180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3181 /* end confdefs.h. */
3183 #include <$2>
3184 _ACEOF
3185 if ac_fn_c_try_compile "$LINENO"; then :
3186 eval "$3=yes"
3187 else
3188 eval "$3=no"
3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 eval ac_res=\$$3
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3194 $as_echo "$ac_res" >&6; }
3195 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3197 } # ac_fn_c_check_header_compile
3199 # ac_fn_objc_try_compile LINENO
3200 # -----------------------------
3201 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3202 ac_fn_objc_try_compile ()
3204 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3205 rm -f conftest.$ac_objext
3206 if { { ac_try="$ac_compile"
3207 case "(($ac_try" in
3208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3209 *) ac_try_echo=$ac_try;;
3210 esac
3211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3212 $as_echo "$ac_try_echo"; } >&5
3213 (eval "$ac_compile") 2>conftest.err
3214 ac_status=$?
3215 if test -s conftest.err; then
3216 grep -v '^ *+' conftest.err >conftest.er1
3217 cat conftest.er1 >&5
3218 mv -f conftest.er1 conftest.err
3220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3221 test $ac_status = 0; } && {
3222 test -z "$ac_objc_werror_flag" ||
3223 test ! -s conftest.err
3224 } && test -s conftest.$ac_objext; then :
3225 ac_retval=0
3226 else
3227 $as_echo "$as_me: failed program was:" >&5
3228 sed 's/^/| /' conftest.$ac_ext >&5
3230 ac_retval=1
3232 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3233 as_fn_set_status $ac_retval
3235 } # ac_fn_objc_try_compile
3237 # ac_fn_objc_try_cpp LINENO
3238 # -------------------------
3239 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3240 ac_fn_objc_try_cpp ()
3242 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3243 if { { ac_try="$ac_cpp conftest.$ac_ext"
3244 case "(($ac_try" in
3245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246 *) ac_try_echo=$ac_try;;
3247 esac
3248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3249 $as_echo "$ac_try_echo"; } >&5
3250 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3251 ac_status=$?
3252 if test -s conftest.err; then
3253 grep -v '^ *+' conftest.err >conftest.er1
3254 cat conftest.er1 >&5
3255 mv -f conftest.er1 conftest.err
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; } > conftest.i && {
3259 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3260 test ! -s conftest.err
3261 }; then :
3262 ac_retval=0
3263 else
3264 $as_echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3267 ac_retval=1
3269 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3270 as_fn_set_status $ac_retval
3272 } # ac_fn_objc_try_cpp
3274 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3275 # ----------------------------------------------------------
3276 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3277 # the include files in INCLUDES and setting the cache variable VAR
3278 # accordingly.
3279 ac_fn_objc_check_header_mongrel ()
3281 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3282 if eval \${$3+:} false; then :
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3284 $as_echo_n "checking for $2... " >&6; }
3285 if eval \${$3+:} false; then :
3286 $as_echo_n "(cached) " >&6
3288 eval ac_res=\$$3
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3290 $as_echo "$ac_res" >&6; }
3291 else
3292 # Is the header compilable?
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3294 $as_echo_n "checking $2 usability... " >&6; }
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3298 #include <$2>
3299 _ACEOF
3300 if ac_fn_objc_try_compile "$LINENO"; then :
3301 ac_header_compiler=yes
3302 else
3303 ac_header_compiler=no
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3307 $as_echo "$ac_header_compiler" >&6; }
3309 # Is the header present?
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3311 $as_echo_n "checking $2 presence... " >&6; }
3312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3314 #include <$2>
3315 _ACEOF
3316 if ac_fn_objc_try_cpp "$LINENO"; then :
3317 ac_header_preproc=yes
3318 else
3319 ac_header_preproc=no
3321 rm -f conftest.err conftest.i conftest.$ac_ext
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3323 $as_echo "$ac_header_preproc" >&6; }
3325 # So? What about this header?
3326 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3327 yes:no: )
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3329 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3331 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3333 no:yes:* )
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3335 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3337 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3339 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3341 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3343 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3344 ( $as_echo "## ------------------------------------ ##
3345 ## Report this to wine-devel@winehq.org ##
3346 ## ------------------------------------ ##"
3347 ) | sed "s/^/$as_me: WARNING: /" >&2
3349 esac
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3351 $as_echo_n "checking for $2... " >&6; }
3352 if eval \${$3+:} false; then :
3353 $as_echo_n "(cached) " >&6
3354 else
3355 eval "$3=\$ac_header_compiler"
3357 eval ac_res=\$$3
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3359 $as_echo "$ac_res" >&6; }
3361 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3363 } # ac_fn_objc_check_header_mongrel
3365 # ac_fn_c_check_func LINENO FUNC VAR
3366 # ----------------------------------
3367 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3368 ac_fn_c_check_func ()
3370 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3372 $as_echo_n "checking for $2... " >&6; }
3373 if eval \${$3+:} false; then :
3374 $as_echo_n "(cached) " >&6
3375 else
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3378 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3380 #define $2 innocuous_$2
3382 /* System header to define __stub macros and hopefully few prototypes,
3383 which can conflict with char $2 (); below.
3384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3385 <limits.h> exists even on freestanding compilers. */
3387 #ifdef __STDC__
3388 # include <limits.h>
3389 #else
3390 # include <assert.h>
3391 #endif
3393 #undef $2
3395 /* Override any GCC internal prototype to avoid an error.
3396 Use char because int might match the return type of a GCC
3397 builtin and then its argument prototype would still apply. */
3398 #ifdef __cplusplus
3399 extern "C"
3400 #endif
3401 char $2 ();
3402 /* The GNU C library defines this for functions which it implements
3403 to always fail with ENOSYS. Some functions are actually named
3404 something starting with __ and the normal name is an alias. */
3405 #if defined __stub_$2 || defined __stub___$2
3406 choke me
3407 #endif
3410 main ()
3412 return $2 ();
3414 return 0;
3416 _ACEOF
3417 if ac_fn_c_try_link "$LINENO"; then :
3418 eval "$3=yes"
3419 else
3420 eval "$3=no"
3422 rm -f core conftest.err conftest.$ac_objext \
3423 conftest$ac_exeext conftest.$ac_ext
3425 eval ac_res=\$$3
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3427 $as_echo "$ac_res" >&6; }
3428 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3430 } # ac_fn_c_check_func
3432 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3433 # ----------------------------------------------------
3434 # Tries to find if the field MEMBER exists in type AGGR, after including
3435 # INCLUDES, setting cache variable VAR accordingly.
3436 ac_fn_c_check_member ()
3438 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3440 $as_echo_n "checking for $2.$3... " >&6; }
3441 if eval \${$4+:} false; then :
3442 $as_echo_n "(cached) " >&6
3443 else
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3448 main ()
3450 static $2 ac_aggr;
3451 if (ac_aggr.$3)
3452 return 0;
3454 return 0;
3456 _ACEOF
3457 if ac_fn_c_try_compile "$LINENO"; then :
3458 eval "$4=yes"
3459 else
3460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3461 /* end confdefs.h. */
3464 main ()
3466 static $2 ac_aggr;
3467 if (sizeof ac_aggr.$3)
3468 return 0;
3470 return 0;
3472 _ACEOF
3473 if ac_fn_c_try_compile "$LINENO"; then :
3474 eval "$4=yes"
3475 else
3476 eval "$4=no"
3478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3482 eval ac_res=\$$4
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3484 $as_echo "$ac_res" >&6; }
3485 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3487 } # ac_fn_c_check_member
3489 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3490 # -------------------------------------------
3491 # Tests whether TYPE exists after having included INCLUDES, setting cache
3492 # variable VAR accordingly.
3493 ac_fn_c_check_type ()
3495 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3497 $as_echo_n "checking for $2... " >&6; }
3498 if eval \${$3+:} false; then :
3499 $as_echo_n "(cached) " >&6
3500 else
3501 eval "$3=no"
3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503 /* end confdefs.h. */
3506 main ()
3508 if (sizeof ($2))
3509 return 0;
3511 return 0;
3513 _ACEOF
3514 if ac_fn_c_try_compile "$LINENO"; then :
3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3516 /* end confdefs.h. */
3519 main ()
3521 if (sizeof (($2)))
3522 return 0;
3524 return 0;
3526 _ACEOF
3527 if ac_fn_c_try_compile "$LINENO"; then :
3529 else
3530 eval "$3=yes"
3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 eval ac_res=\$$3
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3538 $as_echo "$ac_res" >&6; }
3539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3541 } # ac_fn_c_check_type
3542 cat >config.log <<_ACEOF
3543 This file contains any messages produced by compilers while
3544 running configure, to aid debugging if configure makes a mistake.
3546 It was created by Wine $as_me 6.14, which was
3547 generated by GNU Autoconf 2.69. Invocation command line was
3549 $ $0 $@
3551 _ACEOF
3552 exec 5>>config.log
3554 cat <<_ASUNAME
3555 ## --------- ##
3556 ## Platform. ##
3557 ## --------- ##
3559 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3560 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3561 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3562 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3563 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3565 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3566 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3568 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3569 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3570 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3571 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3572 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3573 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3574 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3576 _ASUNAME
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579 for as_dir in $PATH
3581 IFS=$as_save_IFS
3582 test -z "$as_dir" && as_dir=.
3583 $as_echo "PATH: $as_dir"
3584 done
3585 IFS=$as_save_IFS
3587 } >&5
3589 cat >&5 <<_ACEOF
3592 ## ----------- ##
3593 ## Core tests. ##
3594 ## ----------- ##
3596 _ACEOF
3599 # Keep a trace of the command line.
3600 # Strip out --no-create and --no-recursion so they do not pile up.
3601 # Strip out --silent because we don't want to record it for future runs.
3602 # Also quote any args containing shell meta-characters.
3603 # Make two passes to allow for proper duplicate-argument suppression.
3604 ac_configure_args=
3605 ac_configure_args0=
3606 ac_configure_args1=
3607 ac_must_keep_next=false
3608 for ac_pass in 1 2
3610 for ac_arg
3612 case $ac_arg in
3613 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3614 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3615 | -silent | --silent | --silen | --sile | --sil)
3616 continue ;;
3617 *\'*)
3618 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3619 esac
3620 case $ac_pass in
3621 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3623 as_fn_append ac_configure_args1 " '$ac_arg'"
3624 if test $ac_must_keep_next = true; then
3625 ac_must_keep_next=false # Got value, back to normal.
3626 else
3627 case $ac_arg in
3628 *=* | --config-cache | -C | -disable-* | --disable-* \
3629 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3630 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3631 | -with-* | --with-* | -without-* | --without-* | --x)
3632 case "$ac_configure_args0 " in
3633 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3634 esac
3636 -* ) ac_must_keep_next=true ;;
3637 esac
3639 as_fn_append ac_configure_args " '$ac_arg'"
3641 esac
3642 done
3643 done
3644 { ac_configure_args0=; unset ac_configure_args0;}
3645 { ac_configure_args1=; unset ac_configure_args1;}
3647 # When interrupted or exit'd, cleanup temporary files, and complete
3648 # config.log. We remove comments because anyway the quotes in there
3649 # would cause problems or look ugly.
3650 # WARNING: Use '\'' to represent an apostrophe within the trap.
3651 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3652 trap 'exit_status=$?
3653 # Save into config.log some information that might help in debugging.
3655 echo
3657 $as_echo "## ---------------- ##
3658 ## Cache variables. ##
3659 ## ---------------- ##"
3660 echo
3661 # The following way of writing the cache mishandles newlines in values,
3663 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3664 eval ac_val=\$$ac_var
3665 case $ac_val in #(
3666 *${as_nl}*)
3667 case $ac_var in #(
3668 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3669 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3670 esac
3671 case $ac_var in #(
3672 _ | IFS | as_nl) ;; #(
3673 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3674 *) { eval $ac_var=; unset $ac_var;} ;;
3675 esac ;;
3676 esac
3677 done
3678 (set) 2>&1 |
3679 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3680 *${as_nl}ac_space=\ *)
3681 sed -n \
3682 "s/'\''/'\''\\\\'\'''\''/g;
3683 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3684 ;; #(
3686 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3688 esac |
3689 sort
3691 echo
3693 $as_echo "## ----------------- ##
3694 ## Output variables. ##
3695 ## ----------------- ##"
3696 echo
3697 for ac_var in $ac_subst_vars
3699 eval ac_val=\$$ac_var
3700 case $ac_val in
3701 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3702 esac
3703 $as_echo "$ac_var='\''$ac_val'\''"
3704 done | sort
3705 echo
3707 if test -n "$ac_subst_files"; then
3708 $as_echo "## ------------------- ##
3709 ## File substitutions. ##
3710 ## ------------------- ##"
3711 echo
3712 for ac_var in $ac_subst_files
3714 eval ac_val=\$$ac_var
3715 case $ac_val in
3716 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3717 esac
3718 $as_echo "$ac_var='\''$ac_val'\''"
3719 done | sort
3720 echo
3723 if test -s confdefs.h; then
3724 $as_echo "## ----------- ##
3725 ## confdefs.h. ##
3726 ## ----------- ##"
3727 echo
3728 cat confdefs.h
3729 echo
3731 test "$ac_signal" != 0 &&
3732 $as_echo "$as_me: caught signal $ac_signal"
3733 $as_echo "$as_me: exit $exit_status"
3734 } >&5
3735 rm -f core *.core core.conftest.* &&
3736 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3737 exit $exit_status
3739 for ac_signal in 1 2 13 15; do
3740 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3741 done
3742 ac_signal=0
3744 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3745 rm -f -r conftest* confdefs.h
3747 $as_echo "/* confdefs.h */" > confdefs.h
3749 # Predefined preprocessor variables.
3751 cat >>confdefs.h <<_ACEOF
3752 #define PACKAGE_NAME "$PACKAGE_NAME"
3753 _ACEOF
3755 cat >>confdefs.h <<_ACEOF
3756 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3757 _ACEOF
3759 cat >>confdefs.h <<_ACEOF
3760 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3761 _ACEOF
3763 cat >>confdefs.h <<_ACEOF
3764 #define PACKAGE_STRING "$PACKAGE_STRING"
3765 _ACEOF
3767 cat >>confdefs.h <<_ACEOF
3768 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3769 _ACEOF
3771 cat >>confdefs.h <<_ACEOF
3772 #define PACKAGE_URL "$PACKAGE_URL"
3773 _ACEOF
3776 # Let the site file select an alternate cache file if it wants to.
3777 # Prefer an explicitly selected file to automatically selected ones.
3778 ac_site_file1=NONE
3779 ac_site_file2=NONE
3780 if test -n "$CONFIG_SITE"; then
3781 # We do not want a PATH search for config.site.
3782 case $CONFIG_SITE in #((
3783 -*) ac_site_file1=./$CONFIG_SITE;;
3784 */*) ac_site_file1=$CONFIG_SITE;;
3785 *) ac_site_file1=./$CONFIG_SITE;;
3786 esac
3787 elif test "x$prefix" != xNONE; then
3788 ac_site_file1=$prefix/share/config.site
3789 ac_site_file2=$prefix/etc/config.site
3790 else
3791 ac_site_file1=$ac_default_prefix/share/config.site
3792 ac_site_file2=$ac_default_prefix/etc/config.site
3794 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3796 test "x$ac_site_file" = xNONE && continue
3797 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3799 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3800 sed 's/^/| /' "$ac_site_file" >&5
3801 . "$ac_site_file" \
3802 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3804 as_fn_error $? "failed to load site script $ac_site_file
3805 See \`config.log' for more details" "$LINENO" 5; }
3807 done
3809 if test -r "$cache_file"; then
3810 # Some versions of bash will fail to source /dev/null (special files
3811 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3812 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3814 $as_echo "$as_me: loading cache $cache_file" >&6;}
3815 case $cache_file in
3816 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3817 *) . "./$cache_file";;
3818 esac
3820 else
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3822 $as_echo "$as_me: creating cache $cache_file" >&6;}
3823 >$cache_file
3826 # Check that the precious variables saved in the cache have kept the same
3827 # value.
3828 ac_cache_corrupted=false
3829 for ac_var in $ac_precious_vars; do
3830 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3831 eval ac_new_set=\$ac_env_${ac_var}_set
3832 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3833 eval ac_new_val=\$ac_env_${ac_var}_value
3834 case $ac_old_set,$ac_new_set in
3835 set,)
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3837 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3838 ac_cache_corrupted=: ;;
3839 ,set)
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3841 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3842 ac_cache_corrupted=: ;;
3843 ,);;
3845 if test "x$ac_old_val" != "x$ac_new_val"; then
3846 # differences in whitespace do not lead to failure.
3847 ac_old_val_w=`echo x $ac_old_val`
3848 ac_new_val_w=`echo x $ac_new_val`
3849 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3851 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3852 ac_cache_corrupted=:
3853 else
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3855 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3856 eval $ac_var=\$ac_old_val
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3859 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3861 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3862 fi;;
3863 esac
3864 # Pass precious variables to config.status.
3865 if test "$ac_new_set" = set; then
3866 case $ac_new_val in
3867 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3868 *) ac_arg=$ac_var=$ac_new_val ;;
3869 esac
3870 case " $ac_configure_args " in
3871 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3872 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3873 esac
3875 done
3876 if $ac_cache_corrupted; then
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3880 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3881 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3883 ## -------------------- ##
3884 ## Main body of script. ##
3885 ## -------------------- ##
3887 ac_ext=c
3888 ac_cpp='$CPP $CPPFLAGS'
3889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3895 ac_config_headers="$ac_config_headers include/config.h"
3897 ac_aux_dir=
3898 for ac_dir in tools "$srcdir"/tools; do
3899 if test -f "$ac_dir/install-sh"; then
3900 ac_aux_dir=$ac_dir
3901 ac_install_sh="$ac_aux_dir/install-sh -c"
3902 break
3903 elif test -f "$ac_dir/install.sh"; then
3904 ac_aux_dir=$ac_dir
3905 ac_install_sh="$ac_aux_dir/install.sh -c"
3906 break
3907 elif test -f "$ac_dir/shtool"; then
3908 ac_aux_dir=$ac_dir
3909 ac_install_sh="$ac_aux_dir/shtool install -c"
3910 break
3912 done
3913 if test -z "$ac_aux_dir"; then
3914 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3917 # These three variables are undocumented and unsupported,
3918 # and are intended to be withdrawn in a future Autoconf release.
3919 # They can cause serious problems if a builder's source tree is in a directory
3920 # whose full name contains unusual characters.
3921 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3922 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3923 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3927 libwine_version="1.0"
3931 # Check whether --enable-win16 was given.
3932 if test "${enable_win16+set}" = set; then :
3933 enableval=$enable_win16;
3936 # Check whether --enable-win64 was given.
3937 if test "${enable_win64+set}" = set; then :
3938 enableval=$enable_win64;
3941 # Check whether --enable-tests was given.
3942 if test "${enable_tests+set}" = set; then :
3943 enableval=$enable_tests;
3946 # Check whether --enable-build-id was given.
3947 if test "${enable_build_id+set}" = set; then :
3948 enableval=$enable_build_id;
3951 # Check whether --enable-maintainer-mode was given.
3952 if test "${enable_maintainer_mode+set}" = set; then :
3953 enableval=$enable_maintainer_mode;
3956 # Check whether --enable-silent-rules was given.
3957 if test "${enable_silent_rules+set}" = set; then :
3958 enableval=$enable_silent_rules;
3961 # Check whether --enable-werror was given.
3962 if test "${enable_werror+set}" = set; then :
3963 enableval=$enable_werror;
3968 # Check whether --with-alsa was given.
3969 if test "${with_alsa+set}" = set; then :
3970 withval=$with_alsa;
3974 # Check whether --with-capi was given.
3975 if test "${with_capi+set}" = set; then :
3976 withval=$with_capi;
3980 # Check whether --with-cms was given.
3981 if test "${with_cms+set}" = set; then :
3982 withval=$with_cms;
3986 # Check whether --with-coreaudio was given.
3987 if test "${with_coreaudio+set}" = set; then :
3988 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3992 # Check whether --with-cups was given.
3993 if test "${with_cups+set}" = set; then :
3994 withval=$with_cups;
3998 # Check whether --with-dbus was given.
3999 if test "${with_dbus+set}" = set; then :
4000 withval=$with_dbus;
4004 # Check whether --with-faudio was given.
4005 if test "${with_faudio+set}" = set; then :
4006 withval=$with_faudio;
4010 # Check whether --with-float-abi was given.
4011 if test "${with_float_abi+set}" = set; then :
4012 withval=$with_float_abi;
4016 # Check whether --with-fontconfig was given.
4017 if test "${with_fontconfig+set}" = set; then :
4018 withval=$with_fontconfig;
4022 # Check whether --with-freetype was given.
4023 if test "${with_freetype+set}" = set; then :
4024 withval=$with_freetype;
4028 # Check whether --with-gettext was given.
4029 if test "${with_gettext+set}" = set; then :
4030 withval=$with_gettext;
4034 # Check whether --with-gettextpo was given.
4035 if test "${with_gettextpo+set}" = set; then :
4036 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4040 # Check whether --with-gphoto was given.
4041 if test "${with_gphoto+set}" = set; then :
4042 withval=$with_gphoto;
4046 # Check whether --with-gnutls was given.
4047 if test "${with_gnutls+set}" = set; then :
4048 withval=$with_gnutls;
4052 # Check whether --with-gsm was given.
4053 if test "${with_gsm+set}" = set; then :
4054 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4058 # Check whether --with-gssapi was given.
4059 if test "${with_gssapi+set}" = set; then :
4060 withval=$with_gssapi;
4064 # Check whether --with-gstreamer was given.
4065 if test "${with_gstreamer+set}" = set; then :
4066 withval=$with_gstreamer;
4070 # Check whether --with-hal was given.
4071 if test "${with_hal+set}" = set; then :
4072 withval=$with_hal;
4076 # Check whether --with-inotify was given.
4077 if test "${with_inotify+set}" = set; then :
4078 withval=$with_inotify;
4082 # Check whether --with-jpeg was given.
4083 if test "${with_jpeg+set}" = set; then :
4084 withval=$with_jpeg;
4088 # Check whether --with-jxrlib was given.
4089 if test "${with_jxrlib+set}" = set; then :
4090 withval=$with_jxrlib;
4094 # Check whether --with-krb5 was given.
4095 if test "${with_krb5+set}" = set; then :
4096 withval=$with_krb5;
4100 # Check whether --with-ldap was given.
4101 if test "${with_ldap+set}" = set; then :
4102 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4106 # Check whether --with-mingw was given.
4107 if test "${with_mingw+set}" = set; then :
4108 withval=$with_mingw;
4112 # Check whether --with-mpg123 was given.
4113 if test "${with_mpg123+set}" = set; then :
4114 withval=$with_mpg123;
4118 # Check whether --with-netapi was given.
4119 if test "${with_netapi+set}" = set; then :
4120 withval=$with_netapi;
4124 # Check whether --with-openal was given.
4125 if test "${with_openal+set}" = set; then :
4126 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4130 # Check whether --with-opencl was given.
4131 if test "${with_opencl+set}" = set; then :
4132 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4136 # Check whether --with-opengl was given.
4137 if test "${with_opengl+set}" = set; then :
4138 withval=$with_opengl;
4142 # Check whether --with-osmesa was given.
4143 if test "${with_osmesa+set}" = set; then :
4144 withval=$with_osmesa;
4148 # Check whether --with-oss was given.
4149 if test "${with_oss+set}" = set; then :
4150 withval=$with_oss;
4154 # Check whether --with-pcap was given.
4155 if test "${with_pcap+set}" = set; then :
4156 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4160 # Check whether --with-png was given.
4161 if test "${with_png+set}" = set; then :
4162 withval=$with_png;
4166 # Check whether --with-pthread was given.
4167 if test "${with_pthread+set}" = set; then :
4168 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4172 # Check whether --with-pulse was given.
4173 if test "${with_pulse+set}" = set; then :
4174 withval=$with_pulse;
4178 # Check whether --with-quicktime was given.
4179 if test "${with_quicktime+set}" = set; then :
4180 withval=$with_quicktime;
4184 # Check whether --with-sane was given.
4185 if test "${with_sane+set}" = set; then :
4186 withval=$with_sane;
4190 # Check whether --with-sdl was given.
4191 if test "${with_sdl+set}" = set; then :
4192 withval=$with_sdl;
4196 # Check whether --with-tiff was given.
4197 if test "${with_tiff+set}" = set; then :
4198 withval=$with_tiff;
4202 # Check whether --with-udev was given.
4203 if test "${with_udev+set}" = set; then :
4204 withval=$with_udev;
4208 # Check whether --with-unwind was given.
4209 if test "${with_unwind+set}" = set; then :
4210 withval=$with_unwind;
4214 # Check whether --with-usb was given.
4215 if test "${with_usb+set}" = set; then :
4216 withval=$with_usb;
4220 # Check whether --with-v4l2 was given.
4221 if test "${with_v4l2+set}" = set; then :
4222 withval=$with_v4l2;
4226 # Check whether --with-vkd3d was given.
4227 if test "${with_vkd3d+set}" = set; then :
4228 withval=$with_vkd3d;
4232 # Check whether --with-vulkan was given.
4233 if test "${with_vulkan+set}" = set; then :
4234 withval=$with_vulkan;
4238 # Check whether --with-xcomposite was given.
4239 if test "${with_xcomposite+set}" = set; then :
4240 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4244 # Check whether --with-xcursor was given.
4245 if test "${with_xcursor+set}" = set; then :
4246 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4250 # Check whether --with-xfixes was given.
4251 if test "${with_xfixes+set}" = set; then :
4252 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4256 # Check whether --with-xinerama was given.
4257 if test "${with_xinerama+set}" = set; then :
4258 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4262 # Check whether --with-xinput was given.
4263 if test "${with_xinput+set}" = set; then :
4264 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4268 # Check whether --with-xinput2 was given.
4269 if test "${with_xinput2+set}" = set; then :
4270 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4274 # Check whether --with-xml was given.
4275 if test "${with_xml+set}" = set; then :
4276 withval=$with_xml;
4280 # Check whether --with-xrandr was given.
4281 if test "${with_xrandr+set}" = set; then :
4282 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4286 # Check whether --with-xrender was given.
4287 if test "${with_xrender+set}" = set; then :
4288 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4292 # Check whether --with-xshape was given.
4293 if test "${with_xshape+set}" = set; then :
4294 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4298 # Check whether --with-xshm was given.
4299 if test "${with_xshm+set}" = set; then :
4300 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4304 # Check whether --with-xslt was given.
4305 if test "${with_xslt+set}" = set; then :
4306 withval=$with_xslt;
4310 # Check whether --with-xxf86vm was given.
4311 if test "${with_xxf86vm+set}" = set; then :
4312 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
4317 # Check whether --with-wine-tools was given.
4318 if test "${with_wine_tools+set}" = set; then :
4319 withval=$with_wine_tools;
4323 # Check whether --with-wine64 was given.
4324 if test "${with_wine64+set}" = set; then :
4325 withval=$with_wine64;
4329 # Make sure we can run config.sub.
4330 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4331 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4334 $as_echo_n "checking build system type... " >&6; }
4335 if ${ac_cv_build+:} false; then :
4336 $as_echo_n "(cached) " >&6
4337 else
4338 ac_build_alias=$build_alias
4339 test "x$ac_build_alias" = x &&
4340 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4341 test "x$ac_build_alias" = x &&
4342 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4343 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4344 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4348 $as_echo "$ac_cv_build" >&6; }
4349 case $ac_cv_build in
4350 *-*-*) ;;
4351 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4352 esac
4353 build=$ac_cv_build
4354 ac_save_IFS=$IFS; IFS='-'
4355 set x $ac_cv_build
4356 shift
4357 build_cpu=$1
4358 build_vendor=$2
4359 shift; shift
4360 # Remember, the first character of IFS is used to create $*,
4361 # except with old shells:
4362 build_os=$*
4363 IFS=$ac_save_IFS
4364 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4368 $as_echo_n "checking host system type... " >&6; }
4369 if ${ac_cv_host+:} false; then :
4370 $as_echo_n "(cached) " >&6
4371 else
4372 if test "x$host_alias" = x; then
4373 ac_cv_host=$ac_cv_build
4374 else
4375 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4376 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4381 $as_echo "$ac_cv_host" >&6; }
4382 case $ac_cv_host in
4383 *-*-*) ;;
4384 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4385 esac
4386 host=$ac_cv_host
4387 ac_save_IFS=$IFS; IFS='-'
4388 set x $ac_cv_host
4389 shift
4390 host_cpu=$1
4391 host_vendor=$2
4392 shift; shift
4393 # Remember, the first character of IFS is used to create $*,
4394 # except with old shells:
4395 host_os=$*
4396 IFS=$ac_save_IFS
4397 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4403 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4404 set x ${MAKE-make}
4405 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4406 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4407 $as_echo_n "(cached) " >&6
4408 else
4409 cat >conftest.make <<\_ACEOF
4410 SHELL = /bin/sh
4411 all:
4412 @echo '@@@%%%=$(MAKE)=@@@%%%'
4413 _ACEOF
4414 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4415 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4416 *@@@%%%=?*=@@@%%%*)
4417 eval ac_cv_prog_make_${ac_make}_set=yes;;
4419 eval ac_cv_prog_make_${ac_make}_set=no;;
4420 esac
4421 rm -f conftest.make
4423 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4425 $as_echo "yes" >&6; }
4426 SET_MAKE=
4427 else
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4430 SET_MAKE="MAKE=${MAKE-make}"
4433 ac_ext=c
4434 ac_cpp='$CPP $CPPFLAGS'
4435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4438 if test -n "$ac_tool_prefix"; then
4439 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4440 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4442 $as_echo_n "checking for $ac_word... " >&6; }
4443 if ${ac_cv_prog_CC+:} false; then :
4444 $as_echo_n "(cached) " >&6
4445 else
4446 if test -n "$CC"; then
4447 ac_cv_prog_CC="$CC" # Let the user override the test.
4448 else
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 for as_dir in $PATH
4452 IFS=$as_save_IFS
4453 test -z "$as_dir" && as_dir=.
4454 for ac_exec_ext in '' $ac_executable_extensions; do
4455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4456 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4458 break 2
4460 done
4461 done
4462 IFS=$as_save_IFS
4466 CC=$ac_cv_prog_CC
4467 if test -n "$CC"; then
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4469 $as_echo "$CC" >&6; }
4470 else
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472 $as_echo "no" >&6; }
4477 if test -z "$ac_cv_prog_CC"; then
4478 ac_ct_CC=$CC
4479 # Extract the first word of "gcc", so it can be a program name with args.
4480 set dummy gcc; ac_word=$2
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4482 $as_echo_n "checking for $ac_word... " >&6; }
4483 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 if test -n "$ac_ct_CC"; then
4487 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4488 else
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4492 IFS=$as_save_IFS
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4496 ac_cv_prog_ac_ct_CC="gcc"
4497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 break 2
4500 done
4501 done
4502 IFS=$as_save_IFS
4506 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4507 if test -n "$ac_ct_CC"; then
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4509 $as_echo "$ac_ct_CC" >&6; }
4510 else
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4512 $as_echo "no" >&6; }
4515 if test "x$ac_ct_CC" = x; then
4516 CC=""
4517 else
4518 case $cross_compiling:$ac_tool_warned in
4519 yes:)
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4522 ac_tool_warned=yes ;;
4523 esac
4524 CC=$ac_ct_CC
4526 else
4527 CC="$ac_cv_prog_CC"
4530 if test -z "$CC"; then
4531 if test -n "$ac_tool_prefix"; then
4532 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4533 set dummy ${ac_tool_prefix}cc; ac_word=$2
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4535 $as_echo_n "checking for $ac_word... " >&6; }
4536 if ${ac_cv_prog_CC+:} false; then :
4537 $as_echo_n "(cached) " >&6
4538 else
4539 if test -n "$CC"; then
4540 ac_cv_prog_CC="$CC" # Let the user override the test.
4541 else
4542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4543 for as_dir in $PATH
4545 IFS=$as_save_IFS
4546 test -z "$as_dir" && as_dir=.
4547 for ac_exec_ext in '' $ac_executable_extensions; do
4548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4549 ac_cv_prog_CC="${ac_tool_prefix}cc"
4550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4551 break 2
4553 done
4554 done
4555 IFS=$as_save_IFS
4559 CC=$ac_cv_prog_CC
4560 if test -n "$CC"; then
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4562 $as_echo "$CC" >&6; }
4563 else
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4565 $as_echo "no" >&6; }
4571 if test -z "$CC"; then
4572 # Extract the first word of "cc", so it can be a program name with args.
4573 set dummy cc; ac_word=$2
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4575 $as_echo_n "checking for $ac_word... " >&6; }
4576 if ${ac_cv_prog_CC+:} false; then :
4577 $as_echo_n "(cached) " >&6
4578 else
4579 if test -n "$CC"; then
4580 ac_cv_prog_CC="$CC" # Let the user override the test.
4581 else
4582 ac_prog_rejected=no
4583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 for as_dir in $PATH
4586 IFS=$as_save_IFS
4587 test -z "$as_dir" && as_dir=.
4588 for ac_exec_ext in '' $ac_executable_extensions; do
4589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4590 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4591 ac_prog_rejected=yes
4592 continue
4594 ac_cv_prog_CC="cc"
4595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 break 2
4598 done
4599 done
4600 IFS=$as_save_IFS
4602 if test $ac_prog_rejected = yes; then
4603 # We found a bogon in the path, so make sure we never use it.
4604 set dummy $ac_cv_prog_CC
4605 shift
4606 if test $# != 0; then
4607 # We chose a different compiler from the bogus one.
4608 # However, it has the same basename, so the bogon will be chosen
4609 # first if we set CC to just the basename; use the full file name.
4610 shift
4611 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4616 CC=$ac_cv_prog_CC
4617 if test -n "$CC"; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4619 $as_echo "$CC" >&6; }
4620 else
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4622 $as_echo "no" >&6; }
4627 if test -z "$CC"; then
4628 if test -n "$ac_tool_prefix"; then
4629 for ac_prog in cl.exe
4631 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4632 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4634 $as_echo_n "checking for $ac_word... " >&6; }
4635 if ${ac_cv_prog_CC+:} false; then :
4636 $as_echo_n "(cached) " >&6
4637 else
4638 if test -n "$CC"; then
4639 ac_cv_prog_CC="$CC" # Let the user override the test.
4640 else
4641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4642 for as_dir in $PATH
4644 IFS=$as_save_IFS
4645 test -z "$as_dir" && as_dir=.
4646 for ac_exec_ext in '' $ac_executable_extensions; do
4647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4648 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4650 break 2
4652 done
4653 done
4654 IFS=$as_save_IFS
4658 CC=$ac_cv_prog_CC
4659 if test -n "$CC"; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4661 $as_echo "$CC" >&6; }
4662 else
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664 $as_echo "no" >&6; }
4668 test -n "$CC" && break
4669 done
4671 if test -z "$CC"; then
4672 ac_ct_CC=$CC
4673 for ac_prog in cl.exe
4675 # Extract the first word of "$ac_prog", so it can be a program name with args.
4676 set dummy $ac_prog; ac_word=$2
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4678 $as_echo_n "checking for $ac_word... " >&6; }
4679 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4680 $as_echo_n "(cached) " >&6
4681 else
4682 if test -n "$ac_ct_CC"; then
4683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4684 else
4685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686 for as_dir in $PATH
4688 IFS=$as_save_IFS
4689 test -z "$as_dir" && as_dir=.
4690 for ac_exec_ext in '' $ac_executable_extensions; do
4691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4692 ac_cv_prog_ac_ct_CC="$ac_prog"
4693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4694 break 2
4696 done
4697 done
4698 IFS=$as_save_IFS
4702 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4703 if test -n "$ac_ct_CC"; then
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4705 $as_echo "$ac_ct_CC" >&6; }
4706 else
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4708 $as_echo "no" >&6; }
4712 test -n "$ac_ct_CC" && break
4713 done
4715 if test "x$ac_ct_CC" = x; then
4716 CC=""
4717 else
4718 case $cross_compiling:$ac_tool_warned in
4719 yes:)
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4722 ac_tool_warned=yes ;;
4723 esac
4724 CC=$ac_ct_CC
4731 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4733 as_fn_error $? "no acceptable C compiler found in \$PATH
4734 See \`config.log' for more details" "$LINENO" 5; }
4736 # Provide some information about the compiler.
4737 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4738 set X $ac_compile
4739 ac_compiler=$2
4740 for ac_option in --version -v -V -qversion; do
4741 { { ac_try="$ac_compiler $ac_option >&5"
4742 case "(($ac_try" in
4743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4744 *) ac_try_echo=$ac_try;;
4745 esac
4746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4747 $as_echo "$ac_try_echo"; } >&5
4748 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4749 ac_status=$?
4750 if test -s conftest.err; then
4751 sed '10a\
4752 ... rest of stderr output deleted ...
4753 10q' conftest.err >conftest.er1
4754 cat conftest.er1 >&5
4756 rm -f conftest.er1 conftest.err
4757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4758 test $ac_status = 0; }
4759 done
4761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4762 /* end confdefs.h. */
4765 main ()
4769 return 0;
4771 _ACEOF
4772 ac_clean_files_save=$ac_clean_files
4773 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4774 # Try to create an executable without -o first, disregard a.out.
4775 # It will help us diagnose broken compilers, and finding out an intuition
4776 # of exeext.
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4778 $as_echo_n "checking whether the C compiler works... " >&6; }
4779 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4781 # The possible output files:
4782 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4784 ac_rmfiles=
4785 for ac_file in $ac_files
4787 case $ac_file in
4788 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4789 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4790 esac
4791 done
4792 rm -f $ac_rmfiles
4794 if { { ac_try="$ac_link_default"
4795 case "(($ac_try" in
4796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4797 *) ac_try_echo=$ac_try;;
4798 esac
4799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4800 $as_echo "$ac_try_echo"; } >&5
4801 (eval "$ac_link_default") 2>&5
4802 ac_status=$?
4803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4804 test $ac_status = 0; }; then :
4805 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4806 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4807 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4808 # so that the user can short-circuit this test for compilers unknown to
4809 # Autoconf.
4810 for ac_file in $ac_files ''
4812 test -f "$ac_file" || continue
4813 case $ac_file in
4814 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4816 [ab].out )
4817 # We found the default executable, but exeext='' is most
4818 # certainly right.
4819 break;;
4820 *.* )
4821 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4822 then :; else
4823 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4825 # We set ac_cv_exeext here because the later test for it is not
4826 # safe: cross compilers may not add the suffix if given an `-o'
4827 # argument, so we may need to know it at that point already.
4828 # Even if this section looks crufty: it has the advantage of
4829 # actually working.
4830 break;;
4832 break;;
4833 esac
4834 done
4835 test "$ac_cv_exeext" = no && ac_cv_exeext=
4837 else
4838 ac_file=''
4840 if test -z "$ac_file"; then :
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842 $as_echo "no" >&6; }
4843 $as_echo "$as_me: failed program was:" >&5
4844 sed 's/^/| /' conftest.$ac_ext >&5
4846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4848 as_fn_error 77 "C compiler cannot create executables
4849 See \`config.log' for more details" "$LINENO" 5; }
4850 else
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4852 $as_echo "yes" >&6; }
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4855 $as_echo_n "checking for C compiler default output file name... " >&6; }
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4857 $as_echo "$ac_file" >&6; }
4858 ac_exeext=$ac_cv_exeext
4860 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4861 ac_clean_files=$ac_clean_files_save
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4863 $as_echo_n "checking for suffix of executables... " >&6; }
4864 if { { ac_try="$ac_link"
4865 case "(($ac_try" in
4866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4867 *) ac_try_echo=$ac_try;;
4868 esac
4869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4870 $as_echo "$ac_try_echo"; } >&5
4871 (eval "$ac_link") 2>&5
4872 ac_status=$?
4873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4874 test $ac_status = 0; }; then :
4875 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4876 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4877 # work properly (i.e., refer to `conftest.exe'), while it won't with
4878 # `rm'.
4879 for ac_file in conftest.exe conftest conftest.*; do
4880 test -f "$ac_file" || continue
4881 case $ac_file in
4882 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4883 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4884 break;;
4885 * ) break;;
4886 esac
4887 done
4888 else
4889 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4891 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4892 See \`config.log' for more details" "$LINENO" 5; }
4894 rm -f conftest conftest$ac_cv_exeext
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4896 $as_echo "$ac_cv_exeext" >&6; }
4898 rm -f conftest.$ac_ext
4899 EXEEXT=$ac_cv_exeext
4900 ac_exeext=$EXEEXT
4901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4902 /* end confdefs.h. */
4903 #include <stdio.h>
4905 main ()
4907 FILE *f = fopen ("conftest.out", "w");
4908 return ferror (f) || fclose (f) != 0;
4911 return 0;
4913 _ACEOF
4914 ac_clean_files="$ac_clean_files conftest.out"
4915 # Check that the compiler produces executables we can run. If not, either
4916 # the compiler is broken, or we cross compile.
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4918 $as_echo_n "checking whether we are cross compiling... " >&6; }
4919 if test "$cross_compiling" != yes; then
4920 { { ac_try="$ac_link"
4921 case "(($ac_try" in
4922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4923 *) ac_try_echo=$ac_try;;
4924 esac
4925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4926 $as_echo "$ac_try_echo"; } >&5
4927 (eval "$ac_link") 2>&5
4928 ac_status=$?
4929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4930 test $ac_status = 0; }
4931 if { ac_try='./conftest$ac_cv_exeext'
4932 { { case "(($ac_try" in
4933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4934 *) ac_try_echo=$ac_try;;
4935 esac
4936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4937 $as_echo "$ac_try_echo"; } >&5
4938 (eval "$ac_try") 2>&5
4939 ac_status=$?
4940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4941 test $ac_status = 0; }; }; then
4942 cross_compiling=no
4943 else
4944 if test "$cross_compiling" = maybe; then
4945 cross_compiling=yes
4946 else
4947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4949 as_fn_error $? "cannot run C compiled programs.
4950 If you meant to cross compile, use \`--host'.
4951 See \`config.log' for more details" "$LINENO" 5; }
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4956 $as_echo "$cross_compiling" >&6; }
4958 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4959 ac_clean_files=$ac_clean_files_save
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4961 $as_echo_n "checking for suffix of object files... " >&6; }
4962 if ${ac_cv_objext+:} false; then :
4963 $as_echo_n "(cached) " >&6
4964 else
4965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4966 /* end confdefs.h. */
4969 main ()
4973 return 0;
4975 _ACEOF
4976 rm -f conftest.o conftest.obj
4977 if { { ac_try="$ac_compile"
4978 case "(($ac_try" in
4979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4980 *) ac_try_echo=$ac_try;;
4981 esac
4982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4983 $as_echo "$ac_try_echo"; } >&5
4984 (eval "$ac_compile") 2>&5
4985 ac_status=$?
4986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4987 test $ac_status = 0; }; then :
4988 for ac_file in conftest.o conftest.obj conftest.*; do
4989 test -f "$ac_file" || continue;
4990 case $ac_file in
4991 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4992 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4993 break;;
4994 esac
4995 done
4996 else
4997 $as_echo "$as_me: failed program was:" >&5
4998 sed 's/^/| /' conftest.$ac_ext >&5
5000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5002 as_fn_error $? "cannot compute suffix of object files: cannot compile
5003 See \`config.log' for more details" "$LINENO" 5; }
5005 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5008 $as_echo "$ac_cv_objext" >&6; }
5009 OBJEXT=$ac_cv_objext
5010 ac_objext=$OBJEXT
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5012 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5013 if ${ac_cv_c_compiler_gnu+:} false; then :
5014 $as_echo_n "(cached) " >&6
5015 else
5016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5017 /* end confdefs.h. */
5020 main ()
5022 #ifndef __GNUC__
5023 choke me
5024 #endif
5027 return 0;
5029 _ACEOF
5030 if ac_fn_c_try_compile "$LINENO"; then :
5031 ac_compiler_gnu=yes
5032 else
5033 ac_compiler_gnu=no
5035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5036 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5040 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5041 if test $ac_compiler_gnu = yes; then
5042 GCC=yes
5043 else
5044 GCC=
5046 ac_test_CFLAGS=${CFLAGS+set}
5047 ac_save_CFLAGS=$CFLAGS
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5049 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5050 if ${ac_cv_prog_cc_g+:} false; then :
5051 $as_echo_n "(cached) " >&6
5052 else
5053 ac_save_c_werror_flag=$ac_c_werror_flag
5054 ac_c_werror_flag=yes
5055 ac_cv_prog_cc_g=no
5056 CFLAGS="-g"
5057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5058 /* end confdefs.h. */
5061 main ()
5065 return 0;
5067 _ACEOF
5068 if ac_fn_c_try_compile "$LINENO"; then :
5069 ac_cv_prog_cc_g=yes
5070 else
5071 CFLAGS=""
5072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* end confdefs.h. */
5076 main ()
5080 return 0;
5082 _ACEOF
5083 if ac_fn_c_try_compile "$LINENO"; then :
5085 else
5086 ac_c_werror_flag=$ac_save_c_werror_flag
5087 CFLAGS="-g"
5088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5089 /* end confdefs.h. */
5092 main ()
5096 return 0;
5098 _ACEOF
5099 if ac_fn_c_try_compile "$LINENO"; then :
5100 ac_cv_prog_cc_g=yes
5102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5107 ac_c_werror_flag=$ac_save_c_werror_flag
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5110 $as_echo "$ac_cv_prog_cc_g" >&6; }
5111 if test "$ac_test_CFLAGS" = set; then
5112 CFLAGS=$ac_save_CFLAGS
5113 elif test $ac_cv_prog_cc_g = yes; then
5114 if test "$GCC" = yes; then
5115 CFLAGS="-g -O2"
5116 else
5117 CFLAGS="-g"
5119 else
5120 if test "$GCC" = yes; then
5121 CFLAGS="-O2"
5122 else
5123 CFLAGS=
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5127 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5128 if ${ac_cv_prog_cc_c89+:} false; then :
5129 $as_echo_n "(cached) " >&6
5130 else
5131 ac_cv_prog_cc_c89=no
5132 ac_save_CC=$CC
5133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5134 /* end confdefs.h. */
5135 #include <stdarg.h>
5136 #include <stdio.h>
5137 struct stat;
5138 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5139 struct buf { int x; };
5140 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5141 static char *e (p, i)
5142 char **p;
5143 int i;
5145 return p[i];
5147 static char *f (char * (*g) (char **, int), char **p, ...)
5149 char *s;
5150 va_list v;
5151 va_start (v,p);
5152 s = g (p, va_arg (v,int));
5153 va_end (v);
5154 return s;
5157 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5158 function prototypes and stuff, but not '\xHH' hex character constants.
5159 These don't provoke an error unfortunately, instead are silently treated
5160 as 'x'. The following induces an error, until -std is added to get
5161 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5162 array size at least. It's necessary to write '\x00'==0 to get something
5163 that's true only with -std. */
5164 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5166 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5167 inside strings and character constants. */
5168 #define FOO(x) 'x'
5169 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5171 int test (int i, double x);
5172 struct s1 {int (*f) (int a);};
5173 struct s2 {int (*f) (double a);};
5174 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5175 int argc;
5176 char **argv;
5178 main ()
5180 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5182 return 0;
5184 _ACEOF
5185 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5186 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5188 CC="$ac_save_CC $ac_arg"
5189 if ac_fn_c_try_compile "$LINENO"; then :
5190 ac_cv_prog_cc_c89=$ac_arg
5192 rm -f core conftest.err conftest.$ac_objext
5193 test "x$ac_cv_prog_cc_c89" != "xno" && break
5194 done
5195 rm -f conftest.$ac_ext
5196 CC=$ac_save_CC
5199 # AC_CACHE_VAL
5200 case "x$ac_cv_prog_cc_c89" in
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5203 $as_echo "none needed" >&6; } ;;
5204 xno)
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5206 $as_echo "unsupported" >&6; } ;;
5208 CC="$CC $ac_cv_prog_cc_c89"
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5210 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5211 esac
5212 if test "x$ac_cv_prog_cc_c89" != xno; then :
5216 ac_ext=c
5217 ac_cpp='$CPP $CPPFLAGS'
5218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5222 ac_ext=cpp
5223 ac_cpp='$CXXCPP $CPPFLAGS'
5224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5227 if test -z "$CXX"; then
5228 if test -n "$CCC"; then
5229 CXX=$CCC
5230 else
5231 if test -n "$ac_tool_prefix"; then
5232 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5234 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5235 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if ${ac_cv_prog_CXX+:} false; then :
5239 $as_echo_n "(cached) " >&6
5240 else
5241 if test -n "$CXX"; then
5242 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5243 else
5244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5245 for as_dir in $PATH
5247 IFS=$as_save_IFS
5248 test -z "$as_dir" && as_dir=.
5249 for ac_exec_ext in '' $ac_executable_extensions; do
5250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5251 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 break 2
5255 done
5256 done
5257 IFS=$as_save_IFS
5261 CXX=$ac_cv_prog_CXX
5262 if test -n "$CXX"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5264 $as_echo "$CXX" >&6; }
5265 else
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5271 test -n "$CXX" && break
5272 done
5274 if test -z "$CXX"; then
5275 ac_ct_CXX=$CXX
5276 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5278 # Extract the first word of "$ac_prog", so it can be a program name with args.
5279 set dummy $ac_prog; ac_word=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; }
5282 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5283 $as_echo_n "(cached) " >&6
5284 else
5285 if test -n "$ac_ct_CXX"; then
5286 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5287 else
5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5289 for as_dir in $PATH
5291 IFS=$as_save_IFS
5292 test -z "$as_dir" && as_dir=.
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5295 ac_cv_prog_ac_ct_CXX="$ac_prog"
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5297 break 2
5299 done
5300 done
5301 IFS=$as_save_IFS
5305 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5306 if test -n "$ac_ct_CXX"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5308 $as_echo "$ac_ct_CXX" >&6; }
5309 else
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 $as_echo "no" >&6; }
5315 test -n "$ac_ct_CXX" && break
5316 done
5318 if test "x$ac_ct_CXX" = x; then
5319 CXX="g++"
5320 else
5321 case $cross_compiling:$ac_tool_warned in
5322 yes:)
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5325 ac_tool_warned=yes ;;
5326 esac
5327 CXX=$ac_ct_CXX
5333 # Provide some information about the compiler.
5334 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5335 set X $ac_compile
5336 ac_compiler=$2
5337 for ac_option in --version -v -V -qversion; do
5338 { { ac_try="$ac_compiler $ac_option >&5"
5339 case "(($ac_try" in
5340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5341 *) ac_try_echo=$ac_try;;
5342 esac
5343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5344 $as_echo "$ac_try_echo"; } >&5
5345 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5346 ac_status=$?
5347 if test -s conftest.err; then
5348 sed '10a\
5349 ... rest of stderr output deleted ...
5350 10q' conftest.err >conftest.er1
5351 cat conftest.er1 >&5
5353 rm -f conftest.er1 conftest.err
5354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5355 test $ac_status = 0; }
5356 done
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5359 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5360 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5361 $as_echo_n "(cached) " >&6
5362 else
5363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h. */
5367 main ()
5369 #ifndef __GNUC__
5370 choke me
5371 #endif
5374 return 0;
5376 _ACEOF
5377 if ac_fn_cxx_try_compile "$LINENO"; then :
5378 ac_compiler_gnu=yes
5379 else
5380 ac_compiler_gnu=no
5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5383 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5387 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5388 if test $ac_compiler_gnu = yes; then
5389 GXX=yes
5390 else
5391 GXX=
5393 ac_test_CXXFLAGS=${CXXFLAGS+set}
5394 ac_save_CXXFLAGS=$CXXFLAGS
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5396 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5397 if ${ac_cv_prog_cxx_g+:} false; then :
5398 $as_echo_n "(cached) " >&6
5399 else
5400 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5401 ac_cxx_werror_flag=yes
5402 ac_cv_prog_cxx_g=no
5403 CXXFLAGS="-g"
5404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5405 /* end confdefs.h. */
5408 main ()
5412 return 0;
5414 _ACEOF
5415 if ac_fn_cxx_try_compile "$LINENO"; then :
5416 ac_cv_prog_cxx_g=yes
5417 else
5418 CXXFLAGS=""
5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5420 /* end confdefs.h. */
5423 main ()
5427 return 0;
5429 _ACEOF
5430 if ac_fn_cxx_try_compile "$LINENO"; then :
5432 else
5433 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5434 CXXFLAGS="-g"
5435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5436 /* end confdefs.h. */
5439 main ()
5443 return 0;
5445 _ACEOF
5446 if ac_fn_cxx_try_compile "$LINENO"; then :
5447 ac_cv_prog_cxx_g=yes
5449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5454 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5457 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5458 if test "$ac_test_CXXFLAGS" = set; then
5459 CXXFLAGS=$ac_save_CXXFLAGS
5460 elif test $ac_cv_prog_cxx_g = yes; then
5461 if test "$GXX" = yes; then
5462 CXXFLAGS="-g -O2"
5463 else
5464 CXXFLAGS="-g"
5466 else
5467 if test "$GXX" = yes; then
5468 CXXFLAGS="-O2"
5469 else
5470 CXXFLAGS=
5473 ac_ext=c
5474 ac_cpp='$CPP $CPPFLAGS'
5475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5479 if test -n "$ac_tool_prefix"; then
5480 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5481 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5483 $as_echo_n "checking for $ac_word... " >&6; }
5484 if ${ac_cv_prog_CPPBIN+:} false; then :
5485 $as_echo_n "(cached) " >&6
5486 else
5487 if test -n "$CPPBIN"; then
5488 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5489 else
5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5491 for as_dir in $PATH
5493 IFS=$as_save_IFS
5494 test -z "$as_dir" && as_dir=.
5495 for ac_exec_ext in '' $ac_executable_extensions; do
5496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5497 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5499 break 2
5501 done
5502 done
5503 IFS=$as_save_IFS
5507 CPPBIN=$ac_cv_prog_CPPBIN
5508 if test -n "$CPPBIN"; then
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5510 $as_echo "$CPPBIN" >&6; }
5511 else
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5513 $as_echo "no" >&6; }
5518 if test -z "$ac_cv_prog_CPPBIN"; then
5519 ac_ct_CPPBIN=$CPPBIN
5520 # Extract the first word of "cpp", so it can be a program name with args.
5521 set dummy cpp; ac_word=$2
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5523 $as_echo_n "checking for $ac_word... " >&6; }
5524 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5525 $as_echo_n "(cached) " >&6
5526 else
5527 if test -n "$ac_ct_CPPBIN"; then
5528 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5529 else
5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531 for as_dir in $PATH
5533 IFS=$as_save_IFS
5534 test -z "$as_dir" && as_dir=.
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_ac_ct_CPPBIN="cpp"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 break 2
5541 done
5542 done
5543 IFS=$as_save_IFS
5547 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5548 if test -n "$ac_ct_CPPBIN"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5550 $as_echo "$ac_ct_CPPBIN" >&6; }
5551 else
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5553 $as_echo "no" >&6; }
5556 if test "x$ac_ct_CPPBIN" = x; then
5557 CPPBIN="cpp"
5558 else
5559 case $cross_compiling:$ac_tool_warned in
5560 yes:)
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5563 ac_tool_warned=yes ;;
5564 esac
5565 CPPBIN=$ac_ct_CPPBIN
5567 else
5568 CPPBIN="$ac_cv_prog_CPPBIN"
5572 cat >>confdefs.h <<_ACEOF
5573 #define EXEEXT "$ac_exeext"
5574 _ACEOF
5576 if test -n "$ac_tool_prefix"; then
5577 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5578 set dummy ${ac_tool_prefix}ld; ac_word=$2
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5580 $as_echo_n "checking for $ac_word... " >&6; }
5581 if ${ac_cv_prog_LD+:} false; then :
5582 $as_echo_n "(cached) " >&6
5583 else
5584 if test -n "$LD"; then
5585 ac_cv_prog_LD="$LD" # Let the user override the test.
5586 else
5587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5588 for as_dir in $PATH
5590 IFS=$as_save_IFS
5591 test -z "$as_dir" && as_dir=.
5592 for ac_exec_ext in '' $ac_executable_extensions; do
5593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5594 ac_cv_prog_LD="${ac_tool_prefix}ld"
5595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5596 break 2
5598 done
5599 done
5600 IFS=$as_save_IFS
5604 LD=$ac_cv_prog_LD
5605 if test -n "$LD"; then
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5607 $as_echo "$LD" >&6; }
5608 else
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5610 $as_echo "no" >&6; }
5615 if test -z "$ac_cv_prog_LD"; then
5616 ac_ct_LD=$LD
5617 # Extract the first word of "ld", so it can be a program name with args.
5618 set dummy ld; ac_word=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5622 $as_echo_n "(cached) " >&6
5623 else
5624 if test -n "$ac_ct_LD"; then
5625 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5626 else
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628 for as_dir in $PATH
5630 IFS=$as_save_IFS
5631 test -z "$as_dir" && as_dir=.
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5634 ac_cv_prog_ac_ct_LD="ld"
5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5636 break 2
5638 done
5639 done
5640 IFS=$as_save_IFS
5644 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5645 if test -n "$ac_ct_LD"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5647 $as_echo "$ac_ct_LD" >&6; }
5648 else
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5653 if test "x$ac_ct_LD" = x; then
5654 LD=""
5655 else
5656 case $cross_compiling:$ac_tool_warned in
5657 yes:)
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5660 ac_tool_warned=yes ;;
5661 esac
5662 LD=$ac_ct_LD
5664 else
5665 LD="$ac_cv_prog_LD"
5669 case $host in
5670 *-darwin*)
5671 with_fontconfig=${with_fontconfig:-no}
5673 *-mingw32*|*-cygwin*)
5674 enable_win16=${enable_win16:-no}
5675 with_mingw=${with_mingw:-no}
5676 CFLAGS="$CFLAGS -D_WIN32"
5678 esac
5681 case $host in
5682 x86_64*|amd64*)
5683 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5684 then
5685 CC="$CC -m32"
5686 CXX="$CXX -m32"
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5689 $as_echo_n "checking whether $CC works... " >&6; }
5690 if ${wine_cv_cc_m32+:} false; then :
5691 $as_echo_n "(cached) " >&6
5692 else
5693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5694 /* end confdefs.h. */
5697 main ()
5701 return 0;
5703 _ACEOF
5704 if ac_fn_c_try_link "$LINENO"; then :
5705 wine_cv_cc_m32=yes
5706 else
5707 wine_cv_cc_m32=no
5709 rm -f core conftest.err conftest.$ac_objext \
5710 conftest$ac_exeext conftest.$ac_ext
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5713 $as_echo "$wine_cv_cc_m32" >&6; }
5714 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
5715 host_cpu="i386"
5716 notice_platform="32-bit "
5717 TARGETFLAGS="$TARGETFLAGS -m32"
5718 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5719 export PKG_CONFIG_PATH
5720 enable_win16=${enable_win16:-yes}
5721 with_unwind=${with_unwind:-no}
5722 else
5723 if test "x${GCC}" = "xyes"
5724 then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5726 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5727 if ${wine_cv_builtin_ms_va_list+:} false; then :
5728 $as_echo_n "(cached) " >&6
5729 else
5730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5731 /* end confdefs.h. */
5732 #include <stdarg.h>
5734 main ()
5736 void func(__builtin_ms_va_list *args);
5738 return 0;
5740 _ACEOF
5741 if ac_fn_c_try_compile "$LINENO"; then :
5742 wine_cv_builtin_ms_va_list=yes
5743 else
5744 wine_cv_builtin_ms_va_list=no
5746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5749 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5750 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
5752 CC="$CC -m64"
5753 CXX="$CXX -m64"
5754 host_cpu="x86_64"
5755 notice_platform="64-bit "
5756 TARGETFLAGS="$TARGETFLAGS -m64"
5757 enable_wow64=${enable_wow64:-yes}
5758 enable_wow64win=${enable_wow64win:-yes}
5759 enable_wow64cpu=${enable_wow64cpu:-yes}
5762 arm*)
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5764 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5765 if ${wine_cv_thumb2+:} false; then :
5766 $as_echo_n "(cached) " >&6
5767 else
5768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5769 /* end confdefs.h. */
5772 main ()
5774 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5776 return 0;
5778 _ACEOF
5779 if ac_fn_c_try_link "$LINENO"; then :
5780 wine_cv_thumb2=yes
5781 else
5782 wine_cv_thumb2=no
5784 rm -f core conftest.err conftest.$ac_objext \
5785 conftest$ac_exeext conftest.$ac_ext
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5788 $as_echo "$wine_cv_thumb2" >&6; }
5789 if test x"$wine_cv_thumb2" = xyes
5790 then
5791 CFLAGS="$CFLAGS -mthumb"
5792 TARGETFLAGS="$TARGETFLAGS -mthumb"
5793 else
5794 CFLAGS="$CFLAGS -marm"
5795 TARGETFLAGS="$TARGETFLAGS -marm"
5797 case $with_float_abi in
5798 soft|softfp|hard)
5799 float_abi=$with_float_abi ;;
5801 case $host_os in
5802 *eabihf)
5803 float_abi=hard ;;
5805 float_abi=softfp
5806 saved_CFLAGS=$CFLAGS
5807 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5809 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5810 if ${wine_cv_float_abi+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5814 /* end confdefs.h. */
5817 main ()
5819 asm("vmrs r2,fpscr");
5821 return 0;
5823 _ACEOF
5824 if ac_fn_c_try_link "$LINENO"; then :
5825 wine_cv_float_abi=yes
5826 else
5827 wine_cv_float_abi=no
5829 rm -f core conftest.err conftest.$ac_objext \
5830 conftest$ac_exeext conftest.$ac_ext
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5833 $as_echo "$wine_cv_float_abi" >&6; }
5834 if test $wine_cv_float_abi = no
5835 then
5836 float_abi=soft
5837 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5839 CFLAGS=$saved_CFLAGS
5840 esac
5842 esac
5843 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5844 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5846 aarch64*)
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5848 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5849 if ${wine_cv_builtin_ms_va_list+:} false; then :
5850 $as_echo_n "(cached) " >&6
5851 else
5852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5853 /* end confdefs.h. */
5854 #include <stdarg.h>
5856 main ()
5858 void func(__builtin_ms_va_list *args);
5860 return 0;
5862 _ACEOF
5863 if ac_fn_c_try_compile "$LINENO"; then :
5864 wine_cv_builtin_ms_va_list=yes
5865 else
5866 wine_cv_builtin_ms_va_list=no
5868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5871 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5872 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5873 enable_wow64=${enable_wow64:-yes}
5874 enable_wow64win=${enable_wow64win:-yes}
5876 i[3456789]86*)
5877 enable_win16=${enable_win16:-yes}
5878 with_unwind=${with_unwind:-no}
5880 esac
5882 enable_win16=${enable_win16:-no}
5883 enable_win64=${enable_win64:-no}
5884 enable_wow64=${enable_wow64:-no}
5885 enable_wow64win=${enable_wow64win:-no}
5886 enable_wow64cpu=${enable_wow64cpu:-no}
5888 enable_winetest=${enable_winetest:-$enable_tests}
5890 if test "x$enable_win64" = "xyes"
5891 then
5892 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5893 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5896 case $host_cpu in
5897 *i[3456789]86*) ARCH="i386"
5899 *x86_64*) ARCH="x86_64"
5901 *aarch64*) ARCH="aarch64"
5903 *arm*) ARCH="arm"
5905 *) ARCH=""
5907 esac
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5910 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5911 if ${wine_cv_toolsdir+:} false; then :
5912 $as_echo_n "(cached) " >&6
5913 else
5914 wine_cv_toolsdir="$with_wine_tools"
5915 if test -z "$with_wine_tools"; then
5916 if test "$cross_compiling" = "yes"; then
5917 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5918 elif test -n "$with_wine64"; then
5919 wine_cv_toolsdir="$with_wine64"
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5924 $as_echo "$wine_cv_toolsdir" >&6; }
5925 if test -z "$wine_cv_toolsdir"; then
5926 wine_makedep=tools/makedep
5927 TOOLSDIR="."
5929 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5930 wine_makedep=$wine_cv_toolsdir/tools/makedep
5931 TOOLSDIR=$wine_cv_toolsdir
5933 enable_tools=${enable_tools:-no}
5934 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5935 else
5936 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5938 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5939 then
5940 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5943 for ac_prog in flex
5945 # Extract the first word of "$ac_prog", so it can be a program name with args.
5946 set dummy $ac_prog; ac_word=$2
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5948 $as_echo_n "checking for $ac_word... " >&6; }
5949 if ${ac_cv_prog_FLEX+:} false; then :
5950 $as_echo_n "(cached) " >&6
5951 else
5952 if test -n "$FLEX"; then
5953 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5954 else
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 for as_dir in $PATH
5958 IFS=$as_save_IFS
5959 test -z "$as_dir" && as_dir=.
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5962 ac_cv_prog_FLEX="$ac_prog"
5963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5964 break 2
5966 done
5967 done
5968 IFS=$as_save_IFS
5972 FLEX=$ac_cv_prog_FLEX
5973 if test -n "$FLEX"; then
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5975 $as_echo "$FLEX" >&6; }
5976 else
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5978 $as_echo "no" >&6; }
5982 test -n "$FLEX" && break
5983 done
5984 test -n "$FLEX" || FLEX="none"
5986 if test "$FLEX" = "none"
5987 then
5988 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5991 $as_echo_n "checking whether flex is recent enough... " >&6; }
5992 if ${wine_cv_recent_flex+:} false; then :
5993 $as_echo_n "(cached) " >&6
5994 else
5995 cat >conftest.l <<EOF
5996 %top{
5997 #include "prediluvian.h"
6001 if $FLEX -t conftest.l >/dev/null 2>&5
6002 then
6003 wine_cv_recent_flex=yes
6004 else
6005 wine_cv_recent_flex=no
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6009 $as_echo "$wine_cv_recent_flex" >&6; }
6010 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
6012 for ac_prog in bison
6014 # Extract the first word of "$ac_prog", so it can be a program name with args.
6015 set dummy $ac_prog; ac_word=$2
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017 $as_echo_n "checking for $ac_word... " >&6; }
6018 if ${ac_cv_prog_BISON+:} false; then :
6019 $as_echo_n "(cached) " >&6
6020 else
6021 if test -n "$BISON"; then
6022 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6023 else
6024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 for as_dir in $PATH
6027 IFS=$as_save_IFS
6028 test -z "$as_dir" && as_dir=.
6029 for ac_exec_ext in '' $ac_executable_extensions; do
6030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6031 ac_cv_prog_BISON="$ac_prog"
6032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033 break 2
6035 done
6036 done
6037 IFS=$as_save_IFS
6041 BISON=$ac_cv_prog_BISON
6042 if test -n "$BISON"; then
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6044 $as_echo "$BISON" >&6; }
6045 else
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 $as_echo "no" >&6; }
6051 test -n "$BISON" && break
6052 done
6053 test -n "$BISON" || BISON="none"
6055 if test "$BISON" = "none"
6056 then
6057 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6060 $as_echo_n "checking whether bison is recent enough... " >&6; }
6061 if ${wine_cv_recent_bison+:} false; then :
6062 $as_echo_n "(cached) " >&6
6063 else
6064 cat >conftest.y <<EOF
6065 %define parse.error verbose
6067 empty: ;
6069 if $BISON conftest.y >/dev/null 2>&5
6070 then
6071 wine_cv_recent_bison=yes
6072 else
6073 wine_cv_recent_bison=no
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6077 $as_echo "$wine_cv_recent_bison" >&6; }
6078 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
6080 if test -n "$ac_tool_prefix"; then
6081 for ac_prog in ar gar
6083 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6084 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086 $as_echo_n "checking for $ac_word... " >&6; }
6087 if ${ac_cv_prog_AR+:} false; then :
6088 $as_echo_n "(cached) " >&6
6089 else
6090 if test -n "$AR"; then
6091 ac_cv_prog_AR="$AR" # Let the user override the test.
6092 else
6093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6094 for as_dir in $PATH
6096 IFS=$as_save_IFS
6097 test -z "$as_dir" && as_dir=.
6098 for ac_exec_ext in '' $ac_executable_extensions; do
6099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6100 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6102 break 2
6104 done
6105 done
6106 IFS=$as_save_IFS
6110 AR=$ac_cv_prog_AR
6111 if test -n "$AR"; then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6113 $as_echo "$AR" >&6; }
6114 else
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6120 test -n "$AR" && break
6121 done
6123 if test -z "$AR"; then
6124 ac_ct_AR=$AR
6125 for ac_prog in ar gar
6127 # Extract the first word of "$ac_prog", so it can be a program name with args.
6128 set dummy $ac_prog; ac_word=$2
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6130 $as_echo_n "checking for $ac_word... " >&6; }
6131 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6132 $as_echo_n "(cached) " >&6
6133 else
6134 if test -n "$ac_ct_AR"; then
6135 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6136 else
6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6138 for as_dir in $PATH
6140 IFS=$as_save_IFS
6141 test -z "$as_dir" && as_dir=.
6142 for ac_exec_ext in '' $ac_executable_extensions; do
6143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6144 ac_cv_prog_ac_ct_AR="$ac_prog"
6145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6146 break 2
6148 done
6149 done
6150 IFS=$as_save_IFS
6154 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6155 if test -n "$ac_ct_AR"; then
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6157 $as_echo "$ac_ct_AR" >&6; }
6158 else
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6160 $as_echo "no" >&6; }
6164 test -n "$ac_ct_AR" && break
6165 done
6167 if test "x$ac_ct_AR" = x; then
6168 AR="ar"
6169 else
6170 case $cross_compiling:$ac_tool_warned in
6171 yes:)
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6174 ac_tool_warned=yes ;;
6175 esac
6176 AR=$ac_ct_AR
6180 if test -n "$ac_tool_prefix"; then
6181 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6182 set dummy ${ac_tool_prefix}strip; ac_word=$2
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6184 $as_echo_n "checking for $ac_word... " >&6; }
6185 if ${ac_cv_prog_STRIP+:} false; then :
6186 $as_echo_n "(cached) " >&6
6187 else
6188 if test -n "$STRIP"; then
6189 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6190 else
6191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6192 for as_dir in $PATH
6194 IFS=$as_save_IFS
6195 test -z "$as_dir" && as_dir=.
6196 for ac_exec_ext in '' $ac_executable_extensions; do
6197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6198 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6200 break 2
6202 done
6203 done
6204 IFS=$as_save_IFS
6208 STRIP=$ac_cv_prog_STRIP
6209 if test -n "$STRIP"; then
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6211 $as_echo "$STRIP" >&6; }
6212 else
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6214 $as_echo "no" >&6; }
6219 if test -z "$ac_cv_prog_STRIP"; then
6220 ac_ct_STRIP=$STRIP
6221 # Extract the first word of "strip", so it can be a program name with args.
6222 set dummy strip; ac_word=$2
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6224 $as_echo_n "checking for $ac_word... " >&6; }
6225 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6226 $as_echo_n "(cached) " >&6
6227 else
6228 if test -n "$ac_ct_STRIP"; then
6229 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6230 else
6231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6232 for as_dir in $PATH
6234 IFS=$as_save_IFS
6235 test -z "$as_dir" && as_dir=.
6236 for ac_exec_ext in '' $ac_executable_extensions; do
6237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6238 ac_cv_prog_ac_ct_STRIP="strip"
6239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6240 break 2
6242 done
6243 done
6244 IFS=$as_save_IFS
6248 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6249 if test -n "$ac_ct_STRIP"; then
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6251 $as_echo "$ac_ct_STRIP" >&6; }
6252 else
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6254 $as_echo "no" >&6; }
6257 if test "x$ac_ct_STRIP" = x; then
6258 STRIP="strip"
6259 else
6260 case $cross_compiling:$ac_tool_warned in
6261 yes:)
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6264 ac_tool_warned=yes ;;
6265 esac
6266 STRIP=$ac_ct_STRIP
6268 else
6269 STRIP="$ac_cv_prog_STRIP"
6272 if test -n "$ac_tool_prefix"; then
6273 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6274 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6276 $as_echo_n "checking for $ac_word... " >&6; }
6277 if ${ac_cv_prog_RANLIB+:} false; then :
6278 $as_echo_n "(cached) " >&6
6279 else
6280 if test -n "$RANLIB"; then
6281 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6282 else
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 for as_dir in $PATH
6286 IFS=$as_save_IFS
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6290 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6292 break 2
6294 done
6295 done
6296 IFS=$as_save_IFS
6300 RANLIB=$ac_cv_prog_RANLIB
6301 if test -n "$RANLIB"; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6303 $as_echo "$RANLIB" >&6; }
6304 else
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6306 $as_echo "no" >&6; }
6311 if test -z "$ac_cv_prog_RANLIB"; then
6312 ac_ct_RANLIB=$RANLIB
6313 # Extract the first word of "ranlib", so it can be a program name with args.
6314 set dummy ranlib; ac_word=$2
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6316 $as_echo_n "checking for $ac_word... " >&6; }
6317 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6318 $as_echo_n "(cached) " >&6
6319 else
6320 if test -n "$ac_ct_RANLIB"; then
6321 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6322 else
6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6324 for as_dir in $PATH
6326 IFS=$as_save_IFS
6327 test -z "$as_dir" && as_dir=.
6328 for ac_exec_ext in '' $ac_executable_extensions; do
6329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6330 ac_cv_prog_ac_ct_RANLIB="ranlib"
6331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6332 break 2
6334 done
6335 done
6336 IFS=$as_save_IFS
6340 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6341 if test -n "$ac_ct_RANLIB"; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6343 $as_echo "$ac_ct_RANLIB" >&6; }
6344 else
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346 $as_echo "no" >&6; }
6349 if test "x$ac_ct_RANLIB" = x; then
6350 RANLIB=":"
6351 else
6352 case $cross_compiling:$ac_tool_warned in
6353 yes:)
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6356 ac_tool_warned=yes ;;
6357 esac
6358 RANLIB=$ac_ct_RANLIB
6360 else
6361 RANLIB="$ac_cv_prog_RANLIB"
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6365 $as_echo_n "checking whether ln -s works... " >&6; }
6366 LN_S=$as_ln_s
6367 if test "$LN_S" = "ln -s"; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6369 $as_echo "yes" >&6; }
6370 else
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6372 $as_echo "no, using $LN_S" >&6; }
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6376 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6377 if ${ac_cv_path_GREP+:} false; then :
6378 $as_echo_n "(cached) " >&6
6379 else
6380 if test -z "$GREP"; then
6381 ac_path_GREP_found=false
6382 # Loop through the user's path and test for each of PROGNAME-LIST
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6386 IFS=$as_save_IFS
6387 test -z "$as_dir" && as_dir=.
6388 for ac_prog in grep ggrep; do
6389 for ac_exec_ext in '' $ac_executable_extensions; do
6390 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6391 as_fn_executable_p "$ac_path_GREP" || continue
6392 # Check for GNU ac_path_GREP and select it if it is found.
6393 # Check for GNU $ac_path_GREP
6394 case `"$ac_path_GREP" --version 2>&1` in
6395 *GNU*)
6396 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6398 ac_count=0
6399 $as_echo_n 0123456789 >"conftest.in"
6400 while :
6402 cat "conftest.in" "conftest.in" >"conftest.tmp"
6403 mv "conftest.tmp" "conftest.in"
6404 cp "conftest.in" "conftest.nl"
6405 $as_echo 'GREP' >> "conftest.nl"
6406 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6407 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6408 as_fn_arith $ac_count + 1 && ac_count=$as_val
6409 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6410 # Best one so far, save it but keep looking for a better one
6411 ac_cv_path_GREP="$ac_path_GREP"
6412 ac_path_GREP_max=$ac_count
6414 # 10*(2^10) chars as input seems more than enough
6415 test $ac_count -gt 10 && break
6416 done
6417 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6418 esac
6420 $ac_path_GREP_found && break 3
6421 done
6422 done
6423 done
6424 IFS=$as_save_IFS
6425 if test -z "$ac_cv_path_GREP"; then
6426 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6428 else
6429 ac_cv_path_GREP=$GREP
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6434 $as_echo "$ac_cv_path_GREP" >&6; }
6435 GREP="$ac_cv_path_GREP"
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6439 $as_echo_n "checking for egrep... " >&6; }
6440 if ${ac_cv_path_EGREP+:} false; then :
6441 $as_echo_n "(cached) " >&6
6442 else
6443 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6444 then ac_cv_path_EGREP="$GREP -E"
6445 else
6446 if test -z "$EGREP"; then
6447 ac_path_EGREP_found=false
6448 # Loop through the user's path and test for each of PROGNAME-LIST
6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6452 IFS=$as_save_IFS
6453 test -z "$as_dir" && as_dir=.
6454 for ac_prog in egrep; do
6455 for ac_exec_ext in '' $ac_executable_extensions; do
6456 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6457 as_fn_executable_p "$ac_path_EGREP" || continue
6458 # Check for GNU ac_path_EGREP and select it if it is found.
6459 # Check for GNU $ac_path_EGREP
6460 case `"$ac_path_EGREP" --version 2>&1` in
6461 *GNU*)
6462 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6464 ac_count=0
6465 $as_echo_n 0123456789 >"conftest.in"
6466 while :
6468 cat "conftest.in" "conftest.in" >"conftest.tmp"
6469 mv "conftest.tmp" "conftest.in"
6470 cp "conftest.in" "conftest.nl"
6471 $as_echo 'EGREP' >> "conftest.nl"
6472 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6473 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6474 as_fn_arith $ac_count + 1 && ac_count=$as_val
6475 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6476 # Best one so far, save it but keep looking for a better one
6477 ac_cv_path_EGREP="$ac_path_EGREP"
6478 ac_path_EGREP_max=$ac_count
6480 # 10*(2^10) chars as input seems more than enough
6481 test $ac_count -gt 10 && break
6482 done
6483 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6484 esac
6486 $ac_path_EGREP_found && break 3
6487 done
6488 done
6489 done
6490 IFS=$as_save_IFS
6491 if test -z "$ac_cv_path_EGREP"; then
6492 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6494 else
6495 ac_cv_path_EGREP=$EGREP
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6501 $as_echo "$ac_cv_path_EGREP" >&6; }
6502 EGREP="$ac_cv_path_EGREP"
6505 # Extract the first word of "ldconfig", so it can be a program name with args.
6506 set dummy ldconfig; ac_word=$2
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6508 $as_echo_n "checking for $ac_word... " >&6; }
6509 if ${ac_cv_path_LDCONFIG+:} false; then :
6510 $as_echo_n "(cached) " >&6
6511 else
6512 case $LDCONFIG in
6513 [\\/]* | ?:[\\/]*)
6514 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6518 for as_dir in /sbin /usr/sbin $PATH
6520 IFS=$as_save_IFS
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6524 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 break 2
6528 done
6529 done
6530 IFS=$as_save_IFS
6532 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6534 esac
6536 LDCONFIG=$ac_cv_path_LDCONFIG
6537 if test -n "$LDCONFIG"; then
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6539 $as_echo "$LDCONFIG" >&6; }
6540 else
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6542 $as_echo "no" >&6; }
6546 for ac_prog in msgfmt
6548 # Extract the first word of "$ac_prog", so it can be a program name with args.
6549 set dummy $ac_prog; ac_word=$2
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 $as_echo_n "checking for $ac_word... " >&6; }
6552 if ${ac_cv_prog_MSGFMT+:} false; then :
6553 $as_echo_n "(cached) " >&6
6554 else
6555 if test -n "$MSGFMT"; then
6556 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6557 else
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 for as_dir in $PATH
6561 IFS=$as_save_IFS
6562 test -z "$as_dir" && as_dir=.
6563 for ac_exec_ext in '' $ac_executable_extensions; do
6564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6565 ac_cv_prog_MSGFMT="$ac_prog"
6566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 break 2
6569 done
6570 done
6571 IFS=$as_save_IFS
6575 MSGFMT=$ac_cv_prog_MSGFMT
6576 if test -n "$MSGFMT"; then
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6578 $as_echo "$MSGFMT" >&6; }
6579 else
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6581 $as_echo "no" >&6; }
6585 test -n "$MSGFMT" && break
6586 done
6587 test -n "$MSGFMT" || MSGFMT="false"
6589 if ${ac_tool_prefix+:} false; then :
6590 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6591 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6593 $as_echo_n "checking for $ac_word... " >&6; }
6594 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6595 $as_echo_n "(cached) " >&6
6596 else
6597 if test -n "$PKG_CONFIG"; then
6598 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6599 else
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6601 for as_dir in $PATH
6603 IFS=$as_save_IFS
6604 test -z "$as_dir" && as_dir=.
6605 for ac_exec_ext in '' $ac_executable_extensions; do
6606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6607 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6609 break 2
6611 done
6612 done
6613 IFS=$as_save_IFS
6617 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6618 if test -n "$PKG_CONFIG"; then
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6620 $as_echo "$PKG_CONFIG" >&6; }
6621 else
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6623 $as_echo "no" >&6; }
6628 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6629 if test "x$cross_compiling" = xyes; then :
6631 else
6632 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6633 # Extract the first word of "pkg-config", so it can be a program name with args.
6634 set dummy pkg-config; ac_word=$2
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6636 $as_echo_n "checking for $ac_word... " >&6; }
6637 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6638 $as_echo_n "(cached) " >&6
6639 else
6640 if test -n "$PKG_CONFIG"; then
6641 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6642 else
6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6644 for as_dir in $PATH
6646 IFS=$as_save_IFS
6647 test -z "$as_dir" && as_dir=.
6648 for ac_exec_ext in '' $ac_executable_extensions; do
6649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6650 ac_cv_prog_PKG_CONFIG="pkg-config"
6651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6652 break 2
6654 done
6655 done
6656 IFS=$as_save_IFS
6660 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6661 if test -n "$PKG_CONFIG"; then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6663 $as_echo "$PKG_CONFIG" >&6; }
6664 else
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6666 $as_echo "no" >&6; }
6671 else
6672 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6675 if test "x$enable_maintainer_mode" != "xyes"
6676 then
6677 FONTFORGE=""
6678 RSVG=""
6679 CONVERT=""
6680 ICOTOOL=""
6681 else
6682 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6683 for ac_prog in fontforge
6685 # Extract the first word of "$ac_prog", so it can be a program name with args.
6686 set dummy $ac_prog; ac_word=$2
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 $as_echo_n "checking for $ac_word... " >&6; }
6689 if ${ac_cv_prog_FONTFORGE+:} false; then :
6690 $as_echo_n "(cached) " >&6
6691 else
6692 if test -n "$FONTFORGE"; then
6693 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6694 else
6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 for as_dir in $PATH
6698 IFS=$as_save_IFS
6699 test -z "$as_dir" && as_dir=.
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_FONTFORGE="$ac_prog"
6703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 break 2
6706 done
6707 done
6708 IFS=$as_save_IFS
6712 FONTFORGE=$ac_cv_prog_FONTFORGE
6713 if test -n "$FONTFORGE"; then
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6715 $as_echo "$FONTFORGE" >&6; }
6716 else
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 $as_echo "no" >&6; }
6722 test -n "$FONTFORGE" && break
6723 done
6724 test -n "$FONTFORGE" || FONTFORGE="false"
6726 for ac_prog in rsvg-convert rsvg
6728 # Extract the first word of "$ac_prog", so it can be a program name with args.
6729 set dummy $ac_prog; ac_word=$2
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6731 $as_echo_n "checking for $ac_word... " >&6; }
6732 if ${ac_cv_prog_RSVG+:} false; then :
6733 $as_echo_n "(cached) " >&6
6734 else
6735 if test -n "$RSVG"; then
6736 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6737 else
6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739 for as_dir in $PATH
6741 IFS=$as_save_IFS
6742 test -z "$as_dir" && as_dir=.
6743 for ac_exec_ext in '' $ac_executable_extensions; do
6744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6745 ac_cv_prog_RSVG="$ac_prog"
6746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6747 break 2
6749 done
6750 done
6751 IFS=$as_save_IFS
6755 RSVG=$ac_cv_prog_RSVG
6756 if test -n "$RSVG"; then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6758 $as_echo "$RSVG" >&6; }
6759 else
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761 $as_echo "no" >&6; }
6765 test -n "$RSVG" && break
6766 done
6767 test -n "$RSVG" || RSVG="false"
6769 for ac_prog in convert
6771 # Extract the first word of "$ac_prog", so it can be a program name with args.
6772 set dummy $ac_prog; ac_word=$2
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774 $as_echo_n "checking for $ac_word... " >&6; }
6775 if ${ac_cv_prog_CONVERT+:} false; then :
6776 $as_echo_n "(cached) " >&6
6777 else
6778 if test -n "$CONVERT"; then
6779 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6780 else
6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 for as_dir in $PATH
6784 IFS=$as_save_IFS
6785 test -z "$as_dir" && as_dir=.
6786 for ac_exec_ext in '' $ac_executable_extensions; do
6787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6788 ac_cv_prog_CONVERT="$ac_prog"
6789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6790 break 2
6792 done
6793 done
6794 IFS=$as_save_IFS
6798 CONVERT=$ac_cv_prog_CONVERT
6799 if test -n "$CONVERT"; then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6801 $as_echo "$CONVERT" >&6; }
6802 else
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 $as_echo "no" >&6; }
6808 test -n "$CONVERT" && break
6809 done
6810 test -n "$CONVERT" || CONVERT="false"
6812 for ac_prog in icotool
6814 # Extract the first word of "$ac_prog", so it can be a program name with args.
6815 set dummy $ac_prog; ac_word=$2
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817 $as_echo_n "checking for $ac_word... " >&6; }
6818 if ${ac_cv_prog_ICOTOOL+:} false; then :
6819 $as_echo_n "(cached) " >&6
6820 else
6821 if test -n "$ICOTOOL"; then
6822 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6823 else
6824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825 for as_dir in $PATH
6827 IFS=$as_save_IFS
6828 test -z "$as_dir" && as_dir=.
6829 for ac_exec_ext in '' $ac_executable_extensions; do
6830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6831 ac_cv_prog_ICOTOOL="$ac_prog"
6832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6833 break 2
6835 done
6836 done
6837 IFS=$as_save_IFS
6841 ICOTOOL=$ac_cv_prog_ICOTOOL
6842 if test -n "$ICOTOOL"; then
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6844 $as_echo "$ICOTOOL" >&6; }
6845 else
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 $as_echo "no" >&6; }
6851 test -n "$ICOTOOL" && break
6852 done
6853 test -n "$ICOTOOL" || ICOTOOL="false"
6855 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6856 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6858 if test "$CONVERT" = false
6859 then
6860 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6861 else
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6863 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6864 convert_version=`convert --version | head -n1`
6865 if test "x$convert_version" != "x"
6866 then
6867 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6868 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6869 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6870 then
6871 CONVERT=false
6874 if test "$CONVERT" = false
6875 then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6877 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6878 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6879 else
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6881 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6885 if test "$ICOTOOL" = false
6886 then
6887 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6888 else
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6890 $as_echo_n "checking for recent enough icotool... " >&6; }
6891 icotool_version=`icotool --version | head -n1`
6892 if test "x$icotool_version" != "x"
6893 then
6894 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6895 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6896 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6897 then
6898 ICOTOOL=false
6899 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6902 if test "$ICOTOOL" = false
6903 then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6905 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6906 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6907 else
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6909 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6913 with_gettext=yes
6914 with_gettextpo=yes
6916 enable_werror=yes
6919 test "x$with_gettext" != xno || MSGFMT=false
6920 if test "$MSGFMT" != "false"
6921 then
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6923 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6924 if ${wine_cv_msgfmt_contexts+:} false; then :
6925 $as_echo_n "(cached) " >&6
6926 else
6927 cat >conftest.po <<EOF
6928 # comment
6929 msgctxt "ctxt"
6930 msgid "id"
6931 msgstr "str"
6933 if $MSGFMT -o /dev/null conftest.po 2>&5
6934 then
6935 wine_cv_msgfmt_contexts=yes
6936 else
6937 wine_cv_msgfmt_contexts=no
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6941 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6942 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6944 if test "$MSGFMT" = false; then :
6945 case "x$with_gettext" in
6946 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6947 xno) ;;
6948 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6949 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6950 esac
6951 enable_po=${enable_po:-no}
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6956 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6957 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6958 $as_echo_n "(cached) " >&6
6959 else
6960 ac_check_lib_save_LIBS=$LIBS
6961 LIBS="-li386 $LIBS"
6962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6963 /* end confdefs.h. */
6965 /* Override any GCC internal prototype to avoid an error.
6966 Use char because int might match the return type of a GCC
6967 builtin and then its argument prototype would still apply. */
6968 #ifdef __cplusplus
6969 extern "C"
6970 #endif
6971 char i386_set_ldt ();
6973 main ()
6975 return i386_set_ldt ();
6977 return 0;
6979 _ACEOF
6980 if ac_fn_c_try_link "$LINENO"; then :
6981 ac_cv_lib_i386_i386_set_ldt=yes
6982 else
6983 ac_cv_lib_i386_i386_set_ldt=no
6985 rm -f core conftest.err conftest.$ac_objext \
6986 conftest$ac_exeext conftest.$ac_ext
6987 LIBS=$ac_check_lib_save_LIBS
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6990 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6991 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6992 I386_LIBS="-li386"
6997 OPENGL_LIBS=""
7001 # Check whether --enable-largefile was given.
7002 if test "${enable_largefile+set}" = set; then :
7003 enableval=$enable_largefile;
7006 if test "$enable_largefile" != no; then
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7009 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
7010 if ${ac_cv_sys_largefile_CC+:} false; then :
7011 $as_echo_n "(cached) " >&6
7012 else
7013 ac_cv_sys_largefile_CC=no
7014 if test "$GCC" != yes; then
7015 ac_save_CC=$CC
7016 while :; do
7017 # IRIX 6.2 and later do not support large files by default,
7018 # so use the C compiler's -n32 option if that helps.
7019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7020 /* end confdefs.h. */
7021 #include <sys/types.h>
7022 /* Check that off_t can represent 2**63 - 1 correctly.
7023 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7024 since some C++ compilers masquerading as C compilers
7025 incorrectly reject 9223372036854775807. */
7026 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7027 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7028 && LARGE_OFF_T % 2147483647 == 1)
7029 ? 1 : -1];
7031 main ()
7035 return 0;
7037 _ACEOF
7038 if ac_fn_c_try_compile "$LINENO"; then :
7039 break
7041 rm -f core conftest.err conftest.$ac_objext
7042 CC="$CC -n32"
7043 if ac_fn_c_try_compile "$LINENO"; then :
7044 ac_cv_sys_largefile_CC=' -n32'; break
7046 rm -f core conftest.err conftest.$ac_objext
7047 break
7048 done
7049 CC=$ac_save_CC
7050 rm -f conftest.$ac_ext
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7054 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7055 if test "$ac_cv_sys_largefile_CC" != no; then
7056 CC=$CC$ac_cv_sys_largefile_CC
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7060 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7061 if ${ac_cv_sys_file_offset_bits+:} false; then :
7062 $as_echo_n "(cached) " >&6
7063 else
7064 while :; do
7065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7066 /* end confdefs.h. */
7067 #include <sys/types.h>
7068 /* Check that off_t can represent 2**63 - 1 correctly.
7069 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7070 since some C++ compilers masquerading as C compilers
7071 incorrectly reject 9223372036854775807. */
7072 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7073 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7074 && LARGE_OFF_T % 2147483647 == 1)
7075 ? 1 : -1];
7077 main ()
7081 return 0;
7083 _ACEOF
7084 if ac_fn_c_try_compile "$LINENO"; then :
7085 ac_cv_sys_file_offset_bits=no; break
7087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7089 /* end confdefs.h. */
7090 #define _FILE_OFFSET_BITS 64
7091 #include <sys/types.h>
7092 /* Check that off_t can represent 2**63 - 1 correctly.
7093 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7094 since some C++ compilers masquerading as C compilers
7095 incorrectly reject 9223372036854775807. */
7096 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7097 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7098 && LARGE_OFF_T % 2147483647 == 1)
7099 ? 1 : -1];
7101 main ()
7105 return 0;
7107 _ACEOF
7108 if ac_fn_c_try_compile "$LINENO"; then :
7109 ac_cv_sys_file_offset_bits=64; break
7111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7112 ac_cv_sys_file_offset_bits=unknown
7113 break
7114 done
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7117 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7118 case $ac_cv_sys_file_offset_bits in #(
7119 no | unknown) ;;
7121 cat >>confdefs.h <<_ACEOF
7122 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7123 _ACEOF
7125 esac
7126 rm -rf conftest*
7127 if test $ac_cv_sys_file_offset_bits = unknown; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7129 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7130 if ${ac_cv_sys_large_files+:} false; then :
7131 $as_echo_n "(cached) " >&6
7132 else
7133 while :; do
7134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135 /* end confdefs.h. */
7136 #include <sys/types.h>
7137 /* Check that off_t can represent 2**63 - 1 correctly.
7138 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7139 since some C++ compilers masquerading as C compilers
7140 incorrectly reject 9223372036854775807. */
7141 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7142 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7143 && LARGE_OFF_T % 2147483647 == 1)
7144 ? 1 : -1];
7146 main ()
7150 return 0;
7152 _ACEOF
7153 if ac_fn_c_try_compile "$LINENO"; then :
7154 ac_cv_sys_large_files=no; break
7156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7159 #define _LARGE_FILES 1
7160 #include <sys/types.h>
7161 /* Check that off_t can represent 2**63 - 1 correctly.
7162 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7163 since some C++ compilers masquerading as C compilers
7164 incorrectly reject 9223372036854775807. */
7165 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7166 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7167 && LARGE_OFF_T % 2147483647 == 1)
7168 ? 1 : -1];
7170 main ()
7174 return 0;
7176 _ACEOF
7177 if ac_fn_c_try_compile "$LINENO"; then :
7178 ac_cv_sys_large_files=1; break
7180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7181 ac_cv_sys_large_files=unknown
7182 break
7183 done
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7186 $as_echo "$ac_cv_sys_large_files" >&6; }
7187 case $ac_cv_sys_large_files in #(
7188 no | unknown) ;;
7190 cat >>confdefs.h <<_ACEOF
7191 #define _LARGE_FILES $ac_cv_sys_large_files
7192 _ACEOF
7194 esac
7195 rm -rf conftest*
7202 ac_ext=c
7203 ac_cpp='$CPP $CPPFLAGS'
7204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7208 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7209 # On Suns, sometimes $CPP names a directory.
7210 if test -n "$CPP" && test -d "$CPP"; then
7211 CPP=
7213 if test -z "$CPP"; then
7214 if ${ac_cv_prog_CPP+:} false; then :
7215 $as_echo_n "(cached) " >&6
7216 else
7217 # Double quotes because CPP needs to be expanded
7218 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7220 ac_preproc_ok=false
7221 for ac_c_preproc_warn_flag in '' yes
7223 # Use a header file that comes with gcc, so configuring glibc
7224 # with a fresh cross-compiler works.
7225 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7226 # <limits.h> exists even on freestanding compilers.
7227 # On the NeXT, cc -E runs the code through the compiler's parser,
7228 # not just through cpp. "Syntax error" is here to catch this case.
7229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7230 /* end confdefs.h. */
7231 #ifdef __STDC__
7232 # include <limits.h>
7233 #else
7234 # include <assert.h>
7235 #endif
7236 Syntax error
7237 _ACEOF
7238 if ac_fn_c_try_cpp "$LINENO"; then :
7240 else
7241 # Broken: fails on valid input.
7242 continue
7244 rm -f conftest.err conftest.i conftest.$ac_ext
7246 # OK, works on sane cases. Now check whether nonexistent headers
7247 # can be detected and how.
7248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7249 /* end confdefs.h. */
7250 #include <ac_nonexistent.h>
7251 _ACEOF
7252 if ac_fn_c_try_cpp "$LINENO"; then :
7253 # Broken: success on invalid input.
7254 continue
7255 else
7256 # Passes both tests.
7257 ac_preproc_ok=:
7258 break
7260 rm -f conftest.err conftest.i conftest.$ac_ext
7262 done
7263 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7264 rm -f conftest.i conftest.err conftest.$ac_ext
7265 if $ac_preproc_ok; then :
7266 break
7269 done
7270 ac_cv_prog_CPP=$CPP
7273 CPP=$ac_cv_prog_CPP
7274 else
7275 ac_cv_prog_CPP=$CPP
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7278 $as_echo "$CPP" >&6; }
7279 ac_preproc_ok=false
7280 for ac_c_preproc_warn_flag in '' yes
7282 # Use a header file that comes with gcc, so configuring glibc
7283 # with a fresh cross-compiler works.
7284 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7285 # <limits.h> exists even on freestanding compilers.
7286 # On the NeXT, cc -E runs the code through the compiler's parser,
7287 # not just through cpp. "Syntax error" is here to catch this case.
7288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7289 /* end confdefs.h. */
7290 #ifdef __STDC__
7291 # include <limits.h>
7292 #else
7293 # include <assert.h>
7294 #endif
7295 Syntax error
7296 _ACEOF
7297 if ac_fn_c_try_cpp "$LINENO"; then :
7299 else
7300 # Broken: fails on valid input.
7301 continue
7303 rm -f conftest.err conftest.i conftest.$ac_ext
7305 # OK, works on sane cases. Now check whether nonexistent headers
7306 # can be detected and how.
7307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7308 /* end confdefs.h. */
7309 #include <ac_nonexistent.h>
7310 _ACEOF
7311 if ac_fn_c_try_cpp "$LINENO"; then :
7312 # Broken: success on invalid input.
7313 continue
7314 else
7315 # Passes both tests.
7316 ac_preproc_ok=:
7317 break
7319 rm -f conftest.err conftest.i conftest.$ac_ext
7321 done
7322 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7323 rm -f conftest.i conftest.err conftest.$ac_ext
7324 if $ac_preproc_ok; then :
7326 else
7327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7329 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7330 See \`config.log' for more details" "$LINENO" 5; }
7333 ac_ext=c
7334 ac_cpp='$CPP $CPPFLAGS'
7335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7341 $as_echo_n "checking for ANSI C header files... " >&6; }
7342 if ${ac_cv_header_stdc+:} false; then :
7343 $as_echo_n "(cached) " >&6
7344 else
7345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7346 /* end confdefs.h. */
7347 #include <stdlib.h>
7348 #include <stdarg.h>
7349 #include <string.h>
7350 #include <float.h>
7353 main ()
7357 return 0;
7359 _ACEOF
7360 if ac_fn_c_try_compile "$LINENO"; then :
7361 ac_cv_header_stdc=yes
7362 else
7363 ac_cv_header_stdc=no
7365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7367 if test $ac_cv_header_stdc = yes; then
7368 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7370 /* end confdefs.h. */
7371 #include <string.h>
7373 _ACEOF
7374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7375 $EGREP "memchr" >/dev/null 2>&1; then :
7377 else
7378 ac_cv_header_stdc=no
7380 rm -f conftest*
7384 if test $ac_cv_header_stdc = yes; then
7385 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7387 /* end confdefs.h. */
7388 #include <stdlib.h>
7390 _ACEOF
7391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7392 $EGREP "free" >/dev/null 2>&1; then :
7394 else
7395 ac_cv_header_stdc=no
7397 rm -f conftest*
7401 if test $ac_cv_header_stdc = yes; then
7402 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7403 if test "$cross_compiling" = yes; then :
7405 else
7406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7407 /* end confdefs.h. */
7408 #include <ctype.h>
7409 #include <stdlib.h>
7410 #if ((' ' & 0x0FF) == 0x020)
7411 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7412 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7413 #else
7414 # define ISLOWER(c) \
7415 (('a' <= (c) && (c) <= 'i') \
7416 || ('j' <= (c) && (c) <= 'r') \
7417 || ('s' <= (c) && (c) <= 'z'))
7418 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7419 #endif
7421 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7423 main ()
7425 int i;
7426 for (i = 0; i < 256; i++)
7427 if (XOR (islower (i), ISLOWER (i))
7428 || toupper (i) != TOUPPER (i))
7429 return 2;
7430 return 0;
7432 _ACEOF
7433 if ac_fn_c_try_run "$LINENO"; then :
7435 else
7436 ac_cv_header_stdc=no
7438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7439 conftest.$ac_objext conftest.beam conftest.$ac_ext
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7445 $as_echo "$ac_cv_header_stdc" >&6; }
7446 if test $ac_cv_header_stdc = yes; then
7448 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7452 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7453 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7454 inttypes.h stdint.h unistd.h
7455 do :
7456 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7457 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7459 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7460 cat >>confdefs.h <<_ACEOF
7461 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7462 _ACEOF
7466 done
7469 for ac_header in \
7470 AL/al.h \
7471 ApplicationServices/ApplicationServices.h \
7472 CL/cl.h \
7473 Carbon/Carbon.h \
7474 CommonCrypto/CommonCryptor.h \
7475 CoreAudio/CoreAudio.h \
7476 DiskArbitration/DiskArbitration.h \
7477 EGL/egl.h \
7478 IOKit/IOKitLib.h \
7479 IOKit/hid/IOHIDLib.h \
7480 OpenAL/al.h \
7481 OpenCL/opencl.h \
7482 QuickTime/ImageCompression.h \
7483 Security/Security.h \
7484 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7485 SystemConfiguration/SCNetworkConfiguration.h \
7486 alias.h \
7487 arpa/inet.h \
7488 arpa/nameser.h \
7489 asm/types.h \
7490 asm/user.h \
7491 dirent.h \
7492 dlfcn.h \
7493 elf.h \
7494 float.h \
7495 fnmatch.h \
7496 getopt.h \
7497 gettext-po.h \
7498 grp.h \
7499 gsm.h \
7500 gsm/gsm.h \
7501 ieeefp.h \
7502 inet/mib2.h \
7503 kstat.h \
7504 libproc.h \
7505 link.h \
7506 linux/cdrom.h \
7507 linux/filter.h \
7508 linux/hdreg.h \
7509 linux/hidraw.h \
7510 linux/input.h \
7511 linux/ioctl.h \
7512 linux/joystick.h \
7513 linux/major.h \
7514 linux/param.h \
7515 linux/serial.h \
7516 linux/types.h \
7517 linux/ucdrom.h \
7518 lwp.h \
7519 mach-o/loader.h \
7520 mach/mach.h \
7521 machine/cpu.h \
7522 machine/sysarch.h \
7523 mntent.h \
7524 netdb.h \
7525 netinet/in.h \
7526 netinet/in_systm.h \
7527 netinet/tcp.h \
7528 netinet/tcp_fsm.h \
7529 pcap/pcap.h \
7530 poll.h \
7531 port.h \
7532 pthread.h \
7533 pwd.h \
7534 sasl/sasl.h \
7535 sched.h \
7536 scsi/scsi.h \
7537 scsi/scsi_ioctl.h \
7538 scsi/sg.h \
7539 stdint.h \
7540 stropts.h \
7541 sys/attr.h \
7542 sys/auxv.h \
7543 sys/cdio.h \
7544 sys/epoll.h \
7545 sys/event.h \
7546 sys/filio.h \
7547 sys/ioctl.h \
7548 sys/ipc.h \
7549 sys/link.h \
7550 sys/mman.h \
7551 sys/modem.h \
7552 sys/msg.h \
7553 sys/mtio.h \
7554 sys/param.h \
7555 sys/poll.h \
7556 sys/prctl.h \
7557 sys/protosw.h \
7558 sys/ptrace.h \
7559 sys/queue.h \
7560 sys/random.h \
7561 sys/resource.h \
7562 sys/scsiio.h \
7563 sys/shm.h \
7564 sys/signal.h \
7565 sys/socket.h \
7566 sys/socketvar.h \
7567 sys/sockio.h \
7568 sys/statvfs.h \
7569 sys/strtio.h \
7570 sys/syscall.h \
7571 sys/sysinfo.h \
7572 sys/tihdr.h \
7573 sys/time.h \
7574 sys/timeout.h \
7575 sys/times.h \
7576 sys/uio.h \
7577 sys/user.h \
7578 sys/utsname.h \
7579 sys/vnode.h \
7580 sys/wait.h \
7581 syscall.h \
7582 termios.h \
7583 unistd.h \
7584 utime.h \
7585 valgrind/memcheck.h \
7586 valgrind/valgrind.h
7588 do :
7589 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7590 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7591 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7592 cat >>confdefs.h <<_ACEOF
7593 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7594 _ACEOF
7598 done
7600 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7601 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7603 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7608 if test $ac_cv_header_sys_mkdev_h = no; then
7609 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7610 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7612 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7619 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7620 if ${ac_cv_header_stat_broken+:} false; then :
7621 $as_echo_n "(cached) " >&6
7622 else
7623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7624 /* end confdefs.h. */
7625 #include <sys/types.h>
7626 #include <sys/stat.h>
7628 #if defined S_ISBLK && defined S_IFDIR
7629 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7630 #endif
7632 #if defined S_ISBLK && defined S_IFCHR
7633 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7634 #endif
7636 #if defined S_ISLNK && defined S_IFREG
7637 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7638 #endif
7640 #if defined S_ISSOCK && defined S_IFREG
7641 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7642 #endif
7644 _ACEOF
7645 if ac_fn_c_try_compile "$LINENO"; then :
7646 ac_cv_header_stat_broken=no
7647 else
7648 ac_cv_header_stat_broken=yes
7650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7653 $as_echo "$ac_cv_header_stat_broken" >&6; }
7654 if test $ac_cv_header_stat_broken = yes; then
7656 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7662 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7663 do :
7664 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7665 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7666 #ifdef HAVE_SYS_PARAM_H
7667 # include <sys/param.h>
7668 #endif
7670 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7671 cat >>confdefs.h <<_ACEOF
7672 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7673 _ACEOF
7677 done
7680 saved_sysctl_h_CFLAGS=$CFLAGS
7681 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7682 for ac_header in sys/sysctl.h
7683 do :
7684 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7685 #ifdef HAVE_SYS_PARAM_H
7686 # include <sys/param.h>
7687 #endif
7689 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7690 cat >>confdefs.h <<_ACEOF
7691 #define HAVE_SYS_SYSCTL_H 1
7692 _ACEOF
7696 done
7698 CFLAGS=$saved_sysctl_h_CFLAGS
7700 for ac_header in \
7701 netinet/ip.h \
7702 net/if.h \
7703 net/if_arp.h \
7704 net/if_dl.h \
7705 net/if_types.h \
7706 net/route.h \
7707 netinet/if_ether.h \
7708 netinet/if_inarp.h \
7709 netinet/in_pcb.h \
7710 netinet/ip_icmp.h \
7711 netinet/ip_var.h \
7712 netinet/udp.h \
7713 netipx/ipx.h \
7714 sys/un.h \
7716 do :
7717 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7718 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7719 #ifdef HAVE_SYS_SOCKET_H
7720 # include <sys/socket.h>
7721 #endif
7722 #ifdef HAVE_SYS_SOCKETVAR_H
7723 # include <sys/socketvar.h>
7724 #endif
7725 #ifdef HAVE_NET_ROUTE_H
7726 # include <net/route.h>
7727 #endif
7728 #ifdef HAVE_NETINET_IN_H
7729 # include <netinet/in.h>
7730 #endif
7731 #ifdef HAVE_NETINET_IN_SYSTM_H
7732 # include <netinet/in_systm.h>
7733 #endif
7734 #ifdef HAVE_NET_IF_H
7735 # include <net/if.h>
7736 #endif
7737 #ifdef HAVE_NETINET_IP_H
7738 # include <netinet/ip.h>
7739 #endif
7741 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7742 cat >>confdefs.h <<_ACEOF
7743 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7744 _ACEOF
7748 done
7751 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7752 do :
7753 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7754 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7755 #ifdef HAVE_ALIAS_H
7756 # include <alias.h>
7757 #endif
7758 #ifdef HAVE_SYS_SOCKET_H
7759 # include <sys/socket.h>
7760 #endif
7761 #ifdef HAVE_SYS_SOCKETVAR_H
7762 # include <sys/socketvar.h>
7763 #endif
7764 #ifdef HAVE_SYS_TIMEOUT_H
7765 # include <sys/timeout.h>
7766 #endif
7767 #ifdef HAVE_NETINET_IN_H
7768 # include <netinet/in.h>
7769 #endif
7770 #ifdef HAVE_NETINET_IN_SYSTM_H
7771 # include <netinet/in_systm.h>
7772 #endif
7773 #ifdef HAVE_NETINET_IP_H
7774 # include <netinet/ip.h>
7775 #endif
7776 #ifdef HAVE_NETINET_IP_VAR_H
7777 # include <netinet/ip_var.h>
7778 #endif
7779 #ifdef HAVE_NETINET_IP_ICMP_H
7780 # include <netinet/ip_icmp.h>
7781 #endif
7782 #ifdef HAVE_NETINET_UDP_H
7783 # include <netinet/udp.h>
7784 #endif
7785 #ifdef HAVE_NETINET_TCP_H
7786 # include <netinet/tcp.h>
7787 #endif
7788 #ifdef HAVE_NETINET_TCP_TIMER_H
7789 #include <netinet/tcp_timer.h>
7790 #endif
7792 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7793 cat >>confdefs.h <<_ACEOF
7794 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7795 _ACEOF
7799 done
7802 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7803 do :
7804 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7805 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7806 #ifdef HAVE_ASM_TYPES_H
7807 # include <asm/types.h>
7808 #endif
7809 #ifdef HAVE_SYS_SOCKET_H
7810 # include <sys/socket.h>
7811 #endif
7812 #ifdef HAVE_LINUX_TYPES_H
7813 # include <linux/types.h>
7814 #endif
7816 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7817 cat >>confdefs.h <<_ACEOF
7818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7819 _ACEOF
7823 done
7826 for ac_header in resolv.h
7827 do :
7828 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7829 #ifdef HAVE_SYS_SOCKET_H
7830 # include <sys/socket.h>
7831 #endif
7832 #ifdef HAVE_NETINET_IN_H
7833 # include <netinet/in.h>
7834 #endif
7835 #ifdef HAVE_ARPA_NAMESER_H
7836 # include <arpa/nameser.h>
7837 #endif
7839 if test "x$ac_cv_header_resolv_h" = xyes; then :
7840 cat >>confdefs.h <<_ACEOF
7841 #define HAVE_RESOLV_H 1
7842 _ACEOF
7846 done
7849 for ac_header in ifaddrs.h
7850 do :
7851 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7853 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7854 cat >>confdefs.h <<_ACEOF
7855 #define HAVE_IFADDRS_H 1
7856 _ACEOF
7860 done
7863 for ac_header in sys/ucontext.h
7864 do :
7865 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7867 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7868 cat >>confdefs.h <<_ACEOF
7869 #define HAVE_SYS_UCONTEXT_H 1
7870 _ACEOF
7874 done
7877 for ac_header in sys/thr.h
7878 do :
7879 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7880 #ifdef HAVE_SYS_UCONTEXT_H
7881 #include <sys/ucontext.h>
7882 #endif
7884 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7885 cat >>confdefs.h <<_ACEOF
7886 #define HAVE_SYS_THR_H 1
7887 _ACEOF
7891 done
7894 for ac_header in pthread_np.h
7895 do :
7896 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7897 #include <pthread.h>
7898 #endif
7900 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7901 cat >>confdefs.h <<_ACEOF
7902 #define HAVE_PTHREAD_NP_H 1
7903 _ACEOF
7907 done
7910 for ac_header in linux/videodev2.h
7911 do :
7912 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7913 #include <sys/time.h>
7914 #endif
7915 #include <sys/types.h>
7916 #ifdef HAVE_ASM_TYPES_H
7917 #include <asm/types.h>
7918 #endif
7920 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7921 cat >>confdefs.h <<_ACEOF
7922 #define HAVE_LINUX_VIDEODEV2_H 1
7923 _ACEOF
7927 done
7930 for ac_header in libprocstat.h
7931 do :
7932 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7933 #include <sys/param.h>
7934 #endif
7935 #ifdef HAVE_SYS_QUEUE_H
7936 #include <sys/queue.h>
7937 #endif
7938 #ifdef HAVE_SYS_SOCKET_H
7939 #include <sys/socket.h>
7940 #endif
7942 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7943 cat >>confdefs.h <<_ACEOF
7944 #define HAVE_LIBPROCSTAT_H 1
7945 _ACEOF
7949 done
7953 DLLFLAGS="-D_REENTRANT"
7955 LDDLLFLAGS=""
7957 LDEXECFLAGS=""
7959 TOP_INSTALL_LIB=""
7961 TOP_INSTALL_DEV=""
7963 WINELOADER_LDFLAGS=""
7965 WINEPRELOADER_LDFLAGS=""
7967 LIBEXT="so"
7968 DLLEXT=".so"
7969 # Extract the first word of "ldd", so it can be a program name with args.
7970 set dummy ldd; ac_word=$2
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7972 $as_echo_n "checking for $ac_word... " >&6; }
7973 if ${ac_cv_path_LDD+:} false; then :
7974 $as_echo_n "(cached) " >&6
7975 else
7976 case $LDD in
7977 [\\/]* | ?:[\\/]*)
7978 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982 as_dummy="/sbin:/usr/sbin:$PATH"
7983 for as_dir in $as_dummy
7985 IFS=$as_save_IFS
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991 break 2
7993 done
7994 done
7995 IFS=$as_save_IFS
7997 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7999 esac
8001 LDD=$ac_cv_path_LDD
8002 if test -n "$LDD"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
8004 $as_echo "$LDD" >&6; }
8005 else
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8011 if test -n "$ac_tool_prefix"; then
8012 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8013 set dummy ${ac_tool_prefix}otool; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8015 $as_echo_n "checking for $ac_word... " >&6; }
8016 if ${ac_cv_prog_OTOOL+:} false; then :
8017 $as_echo_n "(cached) " >&6
8018 else
8019 if test -n "$OTOOL"; then
8020 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8021 else
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 for as_dir in $PATH
8025 IFS=$as_save_IFS
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8029 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 break 2
8033 done
8034 done
8035 IFS=$as_save_IFS
8039 OTOOL=$ac_cv_prog_OTOOL
8040 if test -n "$OTOOL"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8042 $as_echo "$OTOOL" >&6; }
8043 else
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8050 if test -z "$ac_cv_prog_OTOOL"; then
8051 ac_ct_OTOOL=$OTOOL
8052 # Extract the first word of "otool", so it can be a program name with args.
8053 set dummy otool; ac_word=$2
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8055 $as_echo_n "checking for $ac_word... " >&6; }
8056 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8057 $as_echo_n "(cached) " >&6
8058 else
8059 if test -n "$ac_ct_OTOOL"; then
8060 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8061 else
8062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8063 for as_dir in $PATH
8065 IFS=$as_save_IFS
8066 test -z "$as_dir" && as_dir=.
8067 for ac_exec_ext in '' $ac_executable_extensions; do
8068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8069 ac_cv_prog_ac_ct_OTOOL="otool"
8070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8071 break 2
8073 done
8074 done
8075 IFS=$as_save_IFS
8079 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8080 if test -n "$ac_ct_OTOOL"; then
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8082 $as_echo "$ac_ct_OTOOL" >&6; }
8083 else
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8085 $as_echo "no" >&6; }
8088 if test "x$ac_ct_OTOOL" = x; then
8089 OTOOL="otool"
8090 else
8091 case $cross_compiling:$ac_tool_warned in
8092 yes:)
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8095 ac_tool_warned=yes ;;
8096 esac
8097 OTOOL=$ac_ct_OTOOL
8099 else
8100 OTOOL="$ac_cv_prog_OTOOL"
8103 if test -n "$ac_tool_prefix"; then
8104 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8105 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8107 $as_echo_n "checking for $ac_word... " >&6; }
8108 if ${ac_cv_prog_READELF+:} false; then :
8109 $as_echo_n "(cached) " >&6
8110 else
8111 if test -n "$READELF"; then
8112 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8113 else
8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8115 for as_dir in $PATH
8117 IFS=$as_save_IFS
8118 test -z "$as_dir" && as_dir=.
8119 for ac_exec_ext in '' $ac_executable_extensions; do
8120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8121 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8123 break 2
8125 done
8126 done
8127 IFS=$as_save_IFS
8131 READELF=$ac_cv_prog_READELF
8132 if test -n "$READELF"; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8134 $as_echo "$READELF" >&6; }
8135 else
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137 $as_echo "no" >&6; }
8142 if test -z "$ac_cv_prog_READELF"; then
8143 ac_ct_READELF=$READELF
8144 # Extract the first word of "readelf", so it can be a program name with args.
8145 set dummy readelf; ac_word=$2
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8147 $as_echo_n "checking for $ac_word... " >&6; }
8148 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8149 $as_echo_n "(cached) " >&6
8150 else
8151 if test -n "$ac_ct_READELF"; then
8152 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8153 else
8154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8155 for as_dir in $PATH
8157 IFS=$as_save_IFS
8158 test -z "$as_dir" && as_dir=.
8159 for ac_exec_ext in '' $ac_executable_extensions; do
8160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8161 ac_cv_prog_ac_ct_READELF="readelf"
8162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8163 break 2
8165 done
8166 done
8167 IFS=$as_save_IFS
8171 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8172 if test -n "$ac_ct_READELF"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8174 $as_echo "$ac_ct_READELF" >&6; }
8175 else
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8180 if test "x$ac_ct_READELF" = x; then
8181 READELF="true"
8182 else
8183 case $cross_compiling:$ac_tool_warned in
8184 yes:)
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8187 ac_tool_warned=yes ;;
8188 esac
8189 READELF=$ac_ct_READELF
8191 else
8192 READELF="$ac_cv_prog_READELF"
8195 wine_rules_file=conf$$rules.make
8196 rm -f $wine_rules_file
8197 SUBDIRS=""
8199 DISABLED_SUBDIRS=""
8201 CONFIGURE_TARGETS=""
8204 wine_fn_append_file ()
8206 as_fn_append $1 " \\$as_nl $2"
8209 wine_fn_append_rule ()
8211 $as_echo "$1" >>$wine_rules_file
8214 wine_fn_config_makefile ()
8216 wine_fn_append_file SUBDIRS $1
8217 if eval test \"x\$"$2"\" = x"no"; then :
8218 wine_fn_append_file DISABLED_SUBDIRS $1
8222 wine_fn_config_symlink ()
8224 ac_links=$@
8225 wine_fn_append_rule \
8226 "$ac_links:
8227 @./config.status \$@"
8228 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8231 wine_binary="wine"
8232 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8233 WINELOADER_PROGRAMS="$wine_binary"
8235 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8237 case $host_os in
8238 cygwin*|mingw32*)
8239 if test -n "$ac_tool_prefix"; then
8240 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8241 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8243 $as_echo_n "checking for $ac_word... " >&6; }
8244 if ${ac_cv_prog_DLLTOOL+:} false; then :
8245 $as_echo_n "(cached) " >&6
8246 else
8247 if test -n "$DLLTOOL"; then
8248 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8249 else
8250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8251 for as_dir in $PATH
8253 IFS=$as_save_IFS
8254 test -z "$as_dir" && as_dir=.
8255 for ac_exec_ext in '' $ac_executable_extensions; do
8256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8257 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8259 break 2
8261 done
8262 done
8263 IFS=$as_save_IFS
8267 DLLTOOL=$ac_cv_prog_DLLTOOL
8268 if test -n "$DLLTOOL"; then
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8270 $as_echo "$DLLTOOL" >&6; }
8271 else
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8273 $as_echo "no" >&6; }
8278 if test -z "$ac_cv_prog_DLLTOOL"; then
8279 ac_ct_DLLTOOL=$DLLTOOL
8280 # Extract the first word of "dlltool", so it can be a program name with args.
8281 set dummy dlltool; ac_word=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8283 $as_echo_n "checking for $ac_word... " >&6; }
8284 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8285 $as_echo_n "(cached) " >&6
8286 else
8287 if test -n "$ac_ct_DLLTOOL"; then
8288 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8289 else
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8291 for as_dir in $PATH
8293 IFS=$as_save_IFS
8294 test -z "$as_dir" && as_dir=.
8295 for ac_exec_ext in '' $ac_executable_extensions; do
8296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8297 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8299 break 2
8301 done
8302 done
8303 IFS=$as_save_IFS
8307 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8308 if test -n "$ac_ct_DLLTOOL"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8310 $as_echo "$ac_ct_DLLTOOL" >&6; }
8311 else
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8316 if test "x$ac_ct_DLLTOOL" = x; then
8317 DLLTOOL="false"
8318 else
8319 case $cross_compiling:$ac_tool_warned in
8320 yes:)
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8323 ac_tool_warned=yes ;;
8324 esac
8325 DLLTOOL=$ac_ct_DLLTOOL
8327 else
8328 DLLTOOL="$ac_cv_prog_DLLTOOL"
8331 LIBEXT="dll"
8332 DLLEXT=""
8333 case $host_cpu in
8334 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8335 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8336 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8337 $as_echo_n "(cached) " >&6
8338 else
8339 ac_wine_try_cflags_saved=$CFLAGS
8340 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8343 int main(int argc, char **argv) { return 0; }
8344 _ACEOF
8345 if ac_fn_c_try_link "$LINENO"; then :
8346 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8347 else
8348 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8350 rm -f core conftest.err conftest.$ac_objext \
8351 conftest$ac_exeext conftest.$ac_ext
8352 CFLAGS=$ac_wine_try_cflags_saved
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8355 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8356 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8357 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8358 fi ;;
8359 esac
8360 enable_iphlpapi=${enable_iphlpapi:-no}
8361 enable_nsiproxy_sys=${enable_nsiproxy_sys:-no}
8362 enable_ws2_32=${enable_ws2_32:-no}
8363 enable_loader=${enable_loader:-no}
8364 enable_server=${enable_server:-no}
8365 with_x=${with_x:-no}
8366 with_pthread=${with_pthread:-no}
8369 darwin*|macosx*)
8370 ac_ext=m
8371 ac_cpp='$OBJCPP $CPPFLAGS'
8372 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8373 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8374 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8376 ac_ext=m
8377 ac_cpp='$OBJCPP $CPPFLAGS'
8378 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8379 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8380 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8381 if test -n "$ac_tool_prefix"; then
8382 for ac_prog in gcc objcc objc cc CC
8384 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8385 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8387 $as_echo_n "checking for $ac_word... " >&6; }
8388 if ${ac_cv_prog_OBJC+:} false; then :
8389 $as_echo_n "(cached) " >&6
8390 else
8391 if test -n "$OBJC"; then
8392 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8393 else
8394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8395 for as_dir in $PATH
8397 IFS=$as_save_IFS
8398 test -z "$as_dir" && as_dir=.
8399 for ac_exec_ext in '' $ac_executable_extensions; do
8400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8401 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8403 break 2
8405 done
8406 done
8407 IFS=$as_save_IFS
8411 OBJC=$ac_cv_prog_OBJC
8412 if test -n "$OBJC"; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8414 $as_echo "$OBJC" >&6; }
8415 else
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8417 $as_echo "no" >&6; }
8421 test -n "$OBJC" && break
8422 done
8424 if test -z "$OBJC"; then
8425 ac_ct_OBJC=$OBJC
8426 for ac_prog in gcc objcc objc cc CC
8428 # Extract the first word of "$ac_prog", so it can be a program name with args.
8429 set dummy $ac_prog; ac_word=$2
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8431 $as_echo_n "checking for $ac_word... " >&6; }
8432 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8433 $as_echo_n "(cached) " >&6
8434 else
8435 if test -n "$ac_ct_OBJC"; then
8436 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8437 else
8438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8439 for as_dir in $PATH
8441 IFS=$as_save_IFS
8442 test -z "$as_dir" && as_dir=.
8443 for ac_exec_ext in '' $ac_executable_extensions; do
8444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8445 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8447 break 2
8449 done
8450 done
8451 IFS=$as_save_IFS
8455 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8456 if test -n "$ac_ct_OBJC"; then
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8458 $as_echo "$ac_ct_OBJC" >&6; }
8459 else
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8461 $as_echo "no" >&6; }
8465 test -n "$ac_ct_OBJC" && break
8466 done
8468 if test "x$ac_ct_OBJC" = x; then
8469 OBJC="gcc"
8470 else
8471 case $cross_compiling:$ac_tool_warned in
8472 yes:)
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8475 ac_tool_warned=yes ;;
8476 esac
8477 OBJC=$ac_ct_OBJC
8481 # Provide some information about the compiler.
8482 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8483 set X $ac_compile
8484 ac_compiler=$2
8485 for ac_option in --version -v -V -qversion; do
8486 { { ac_try="$ac_compiler $ac_option >&5"
8487 case "(($ac_try" in
8488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8489 *) ac_try_echo=$ac_try;;
8490 esac
8491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8492 $as_echo "$ac_try_echo"; } >&5
8493 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8494 ac_status=$?
8495 if test -s conftest.err; then
8496 sed '10a\
8497 ... rest of stderr output deleted ...
8498 10q' conftest.err >conftest.er1
8499 cat conftest.er1 >&5
8501 rm -f conftest.er1 conftest.err
8502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8503 test $ac_status = 0; }
8504 done
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8507 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8508 if ${ac_cv_objc_compiler_gnu+:} false; then :
8509 $as_echo_n "(cached) " >&6
8510 else
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8515 main ()
8517 #ifndef __GNUC__
8518 choke me
8519 #endif
8522 return 0;
8524 _ACEOF
8525 if ac_fn_objc_try_compile "$LINENO"; then :
8526 ac_compiler_gnu=yes
8527 else
8528 ac_compiler_gnu=no
8530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8531 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8535 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8536 if test $ac_compiler_gnu = yes; then
8537 GOBJC=yes
8538 else
8539 GOBJC=
8541 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8542 ac_save_OBJCFLAGS=$OBJCFLAGS
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8544 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8545 if ${ac_cv_prog_objc_g+:} false; then :
8546 $as_echo_n "(cached) " >&6
8547 else
8548 ac_save_objc_werror_flag=$ac_objc_werror_flag
8549 ac_objc_werror_flag=yes
8550 ac_cv_prog_objc_g=no
8551 OBJCFLAGS="-g"
8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8556 main ()
8560 return 0;
8562 _ACEOF
8563 if ac_fn_objc_try_compile "$LINENO"; then :
8564 ac_cv_prog_objc_g=yes
8565 else
8566 OBJCFLAGS=""
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8571 main ()
8575 return 0;
8577 _ACEOF
8578 if ac_fn_objc_try_compile "$LINENO"; then :
8580 else
8581 ac_objc_werror_flag=$ac_save_objc_werror_flag
8582 OBJCFLAGS="-g"
8583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8584 /* end confdefs.h. */
8587 main ()
8591 return 0;
8593 _ACEOF
8594 if ac_fn_objc_try_compile "$LINENO"; then :
8595 ac_cv_prog_objc_g=yes
8597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8602 ac_objc_werror_flag=$ac_save_objc_werror_flag
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8605 $as_echo "$ac_cv_prog_objc_g" >&6; }
8606 if test "$ac_test_OBJCFLAGS" = set; then
8607 OBJCFLAGS=$ac_save_OBJCFLAGS
8608 elif test $ac_cv_prog_objc_g = yes; then
8609 if test "$GOBJC" = yes; then
8610 OBJCFLAGS="-g -O2"
8611 else
8612 OBJCFLAGS="-g"
8614 else
8615 if test "$GOBJC" = yes; then
8616 OBJCFLAGS="-O2"
8617 else
8618 OBJCFLAGS=
8621 ac_ext=m
8622 ac_cpp='$OBJCPP $CPPFLAGS'
8623 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8624 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8625 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8628 ac_ext=m
8629 ac_cpp='$OBJCPP $CPPFLAGS'
8630 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8631 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8632 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8634 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8635 if test -z "$OBJCPP"; then
8636 if ${ac_cv_prog_OBJCPP+:} false; then :
8637 $as_echo_n "(cached) " >&6
8638 else
8639 # Double quotes because OBJCPP needs to be expanded
8640 for OBJCPP in "$OBJC -E" "/lib/cpp"
8642 ac_preproc_ok=false
8643 for ac_objc_preproc_warn_flag in '' yes
8645 # Use a header file that comes with gcc, so configuring glibc
8646 # with a fresh cross-compiler works.
8647 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8648 # <limits.h> exists even on freestanding compilers.
8649 # On the NeXT, cc -E runs the code through the compiler's parser,
8650 # not just through cpp. "Syntax error" is here to catch this case.
8651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8652 /* end confdefs.h. */
8653 #ifdef __STDC__
8654 # include <limits.h>
8655 #else
8656 # include <assert.h>
8657 #endif
8658 Syntax error
8659 _ACEOF
8660 if ac_fn_objc_try_cpp "$LINENO"; then :
8662 else
8663 # Broken: fails on valid input.
8664 continue
8666 rm -f conftest.err conftest.i conftest.$ac_ext
8668 # OK, works on sane cases. Now check whether nonexistent headers
8669 # can be detected and how.
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8672 #include <ac_nonexistent.h>
8673 _ACEOF
8674 if ac_fn_objc_try_cpp "$LINENO"; then :
8675 # Broken: success on invalid input.
8676 continue
8677 else
8678 # Passes both tests.
8679 ac_preproc_ok=:
8680 break
8682 rm -f conftest.err conftest.i conftest.$ac_ext
8684 done
8685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8686 rm -f conftest.i conftest.err conftest.$ac_ext
8687 if $ac_preproc_ok; then :
8688 break
8691 done
8692 ac_cv_prog_OBJCPP=$OBJCPP
8695 OBJCPP=$ac_cv_prog_OBJCPP
8696 else
8697 ac_cv_prog_OBJCPP=$OBJCPP
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8700 $as_echo "$OBJCPP" >&6; }
8701 ac_preproc_ok=false
8702 for ac_objc_preproc_warn_flag in '' yes
8704 # Use a header file that comes with gcc, so configuring glibc
8705 # with a fresh cross-compiler works.
8706 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8707 # <limits.h> exists even on freestanding compilers.
8708 # On the NeXT, cc -E runs the code through the compiler's parser,
8709 # not just through cpp. "Syntax error" is here to catch this case.
8710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8711 /* end confdefs.h. */
8712 #ifdef __STDC__
8713 # include <limits.h>
8714 #else
8715 # include <assert.h>
8716 #endif
8717 Syntax error
8718 _ACEOF
8719 if ac_fn_objc_try_cpp "$LINENO"; then :
8721 else
8722 # Broken: fails on valid input.
8723 continue
8725 rm -f conftest.err conftest.i conftest.$ac_ext
8727 # OK, works on sane cases. Now check whether nonexistent headers
8728 # can be detected and how.
8729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8730 /* end confdefs.h. */
8731 #include <ac_nonexistent.h>
8732 _ACEOF
8733 if ac_fn_objc_try_cpp "$LINENO"; then :
8734 # Broken: success on invalid input.
8735 continue
8736 else
8737 # Passes both tests.
8738 ac_preproc_ok=:
8739 break
8741 rm -f conftest.err conftest.i conftest.$ac_ext
8743 done
8744 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8745 rm -f conftest.i conftest.err conftest.$ac_ext
8746 if $ac_preproc_ok; then :
8748 else
8749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8751 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8752 See \`config.log' for more details" "$LINENO" 5; }
8755 ac_ext=m
8756 ac_cpp='$OBJCPP $CPPFLAGS'
8757 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8758 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8759 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8762 for ac_header in Metal/Metal.h
8763 do :
8764 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8765 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8766 cat >>confdefs.h <<_ACEOF
8767 #define HAVE_METAL_METAL_H 1
8768 _ACEOF
8772 done
8774 ac_ext=c
8775 ac_cpp='$CPP $CPPFLAGS'
8776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8780 LIBEXT="dylib"
8781 DLLFLAGS="$DLLFLAGS -fPIC"
8782 LDDLLFLAGS="-fPIC"
8783 COREFOUNDATION_LIBS="-framework CoreFoundation"
8785 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8787 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8789 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8791 CORESERVICES_LIBS="-framework CoreServices"
8793 APPKIT_LIBS="-framework AppKit"
8795 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8798 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8800 wine_can_build_preloader=yes
8801 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8803 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8804 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8805 $as_echo_n "(cached) " >&6
8806 else
8807 ac_wine_try_cflags_saved=$CFLAGS
8808 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8810 /* end confdefs.h. */
8811 int main(int argc, char **argv) { return 0; }
8812 _ACEOF
8813 if ac_fn_c_try_link "$LINENO"; then :
8814 ac_cv_cflags__Wl__no_new_main__e__main=yes
8815 else
8816 ac_cv_cflags__Wl__no_new_main__e__main=no
8818 rm -f core conftest.err conftest.$ac_objext \
8819 conftest$ac_exeext conftest.$ac_ext
8820 CFLAGS=$ac_wine_try_cflags_saved
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8823 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8824 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8825 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8827 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8828 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 ac_wine_try_cflags_saved=$CFLAGS
8832 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8834 /* end confdefs.h. */
8835 int main(int argc, char **argv) { return 0; }
8836 _ACEOF
8837 if ac_fn_c_try_link "$LINENO"; then :
8838 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8839 else
8840 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8842 rm -f core conftest.err conftest.$ac_objext \
8843 conftest$ac_exeext conftest.$ac_ext
8844 CFLAGS=$ac_wine_try_cflags_saved
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8847 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8848 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8849 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8850 else
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8852 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8853 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8854 $as_echo_n "(cached) " >&6
8855 else
8856 ac_wine_try_cflags_saved=$CFLAGS
8857 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8859 /* end confdefs.h. */
8860 int main(int argc, char **argv) { return 0; }
8861 _ACEOF
8862 if ac_fn_c_try_link "$LINENO"; then :
8863 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8864 else
8865 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8867 rm -f core conftest.err conftest.$ac_objext \
8868 conftest$ac_exeext conftest.$ac_ext
8869 CFLAGS=$ac_wine_try_cflags_saved
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8872 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8873 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8874 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8875 else
8876 wine_can_build_preloader=no
8879 else
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8881 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8882 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8883 $as_echo_n "(cached) " >&6
8884 else
8885 ac_wine_try_cflags_saved=$CFLAGS
8886 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8888 /* end confdefs.h. */
8889 int main(int argc, char **argv) { return 0; }
8890 _ACEOF
8891 if ac_fn_c_try_link "$LINENO"; then :
8892 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8893 else
8894 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8896 rm -f core conftest.err conftest.$ac_objext \
8897 conftest$ac_exeext conftest.$ac_ext
8898 CFLAGS=$ac_wine_try_cflags_saved
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8901 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8902 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8903 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8904 else
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8906 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8907 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8908 $as_echo_n "(cached) " >&6
8909 else
8910 ac_wine_try_cflags_saved=$CFLAGS
8911 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8913 /* end confdefs.h. */
8914 int main(int argc, char **argv) { return 0; }
8915 _ACEOF
8916 if ac_fn_c_try_link "$LINENO"; then :
8917 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8918 else
8919 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8921 rm -f core conftest.err conftest.$ac_objext \
8922 conftest$ac_exeext conftest.$ac_ext
8923 CFLAGS=$ac_wine_try_cflags_saved
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8926 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8927 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8928 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8929 else
8930 wine_can_build_preloader=no
8934 if test "$wine_can_build_preloader" = "yes"
8935 then
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8937 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8938 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8939 $as_echo_n "(cached) " >&6
8940 else
8941 ac_wine_try_cflags_saved=$CFLAGS
8942 CFLAGS="$CFLAGS -Wl,-no_pie"
8943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8945 int main(int argc, char **argv) { return 0; }
8946 _ACEOF
8947 if ac_fn_c_try_link "$LINENO"; then :
8948 ac_cv_cflags__Wl__no_pie=yes
8949 else
8950 ac_cv_cflags__Wl__no_pie=no
8952 rm -f core conftest.err conftest.$ac_objext \
8953 conftest$ac_exeext conftest.$ac_ext
8954 CFLAGS=$ac_wine_try_cflags_saved
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8957 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8958 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8959 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8961 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8962 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8963 else
8964 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8967 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8968 then
8969 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8972 if test "$ac_cv_header_Security_Security_h" = "yes"
8973 then
8974 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8976 ac_save_LIBS="$LIBS"
8977 LIBS="$LIBS $SECURITY_LIBS"
8978 for ac_func in SSLCopyPeerCertificates
8979 do :
8980 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8981 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8982 cat >>confdefs.h <<_ACEOF
8983 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8984 _ACEOF
8987 done
8989 LIBS="$ac_save_LIBS"
8991 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8992 then
8993 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8995 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8997 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8998 then
8999 OPENAL_LIBS="-framework OpenAL"
9002 cat >>confdefs.h <<_ACEOF
9003 #define HAVE_OPENAL 1
9004 _ACEOF
9006 ac_cv_lib_openal=yes
9008 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9009 then
9010 OPENCL_LIBS="-framework OpenCL"
9012 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9014 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9015 then
9016 ac_save_LIBS="$LIBS"
9017 LIBS="$LIBS $IOKIT_LIBS"
9018 for ac_func in IOHIDManagerCreate
9019 do :
9020 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9021 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9022 cat >>confdefs.h <<_ACEOF
9023 #define HAVE_IOHIDMANAGERCREATE 1
9024 _ACEOF
9027 done
9029 LIBS="$ac_save_LIBS"
9032 if test "x$with_quicktime" != "xno"
9033 then
9034 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9035 then
9036 ac_save_LIBS="$LIBS"
9037 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9039 $as_echo_n "checking for the QuickTime framework... " >&6; }
9040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9041 /* end confdefs.h. */
9042 #include <QuickTime/ImageCompression.h>
9044 main ()
9046 CodecManagerVersion(NULL);
9048 return 0;
9050 _ACEOF
9051 if ac_fn_c_try_link "$LINENO"; then :
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9053 $as_echo "yes" >&6; }
9054 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9056 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9057 else
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9059 $as_echo "no" >&6; }
9060 ac_cv_header_QuickTime_ImageCompression_h=no
9062 rm -f core conftest.err conftest.$ac_objext \
9063 conftest$ac_exeext conftest.$ac_ext
9064 LIBS="$ac_save_LIBS"
9067 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9068 case "x$with_quicktime" in
9069 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9070 xno) ;;
9071 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9072 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9073 esac
9077 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9078 then
9079 CARBON_LIBS="-framework Carbon"
9082 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9083 then
9084 METAL_LIBS="-framework Metal -framework QuartzCore"
9088 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9089 then
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9091 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9092 ac_ext=m
9093 ac_cpp='$OBJCPP $CPPFLAGS'
9094 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9095 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9096 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h. */
9100 #include <Metal/Metal.h>
9102 main ()
9104 id<MTLDevice> device; device.registryID;
9106 return 0;
9108 _ACEOF
9109 if ac_fn_objc_try_compile "$LINENO"; then :
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9111 $as_echo "yes" >&6; }
9113 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9115 else
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9117 $as_echo "no" >&6; }
9119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9120 ac_ext=c
9121 ac_cpp='$CPP $CPPFLAGS'
9122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9128 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9129 then
9130 ac_save_LIBS="$LIBS"
9131 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9132 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9133 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9134 enable_winemac_drv=${enable_winemac_drv:-yes}
9137 LIBS="$ac_save_LIBS"
9140 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9142 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9144 WINELOADER_DEPENDS="wine_info.plist"
9146 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9149 linux-android*)
9150 DLLFLAGS="$DLLFLAGS -fPIC"
9151 LDDLLFLAGS="-fPIC"
9152 LDEXECFLAGS="-Wl,-pie"
9153 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9155 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9156 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9157 $as_echo_n "(cached) " >&6
9158 else
9159 ac_wine_try_cflags_saved=$CFLAGS
9160 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9163 int main(int argc, char **argv) { return 0; }
9164 _ACEOF
9165 if ac_fn_c_try_link "$LINENO"; then :
9166 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9167 else
9168 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9170 rm -f core conftest.err conftest.$ac_objext \
9171 conftest$ac_exeext conftest.$ac_ext
9172 CFLAGS=$ac_wine_try_cflags_saved
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9175 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9176 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9177 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9179 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9182 $as_echo_n "checking for -lEGL... " >&6; }
9183 if ${ac_cv_lib_soname_EGL+:} false; then :
9184 $as_echo_n "(cached) " >&6
9185 else
9186 ac_check_soname_save_LIBS=$LIBS
9187 LIBS="-lEGL $LIBS"
9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9194 #ifdef __cplusplus
9195 extern "C"
9196 #endif
9197 char eglGetProcAddress ();
9199 main ()
9201 return eglGetProcAddress ();
9203 return 0;
9205 _ACEOF
9206 if ac_fn_c_try_link "$LINENO"; then :
9207 case "$LIBEXT" in
9208 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9209 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9210 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9211 if ${ac_cv_lib_soname_EGL:+false} :; then :
9212 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9213 fi ;;
9214 esac
9215 else
9216 ac_cv_lib_soname_EGL=
9218 rm -f core conftest.err conftest.$ac_objext \
9219 conftest$ac_exeext conftest.$ac_ext
9220 LIBS=$ac_check_soname_save_LIBS
9222 if ${ac_cv_lib_soname_EGL:+false} :; then :
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9224 $as_echo "not found" >&6; }
9226 else
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9228 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9230 cat >>confdefs.h <<_ACEOF
9231 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9232 _ACEOF
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9237 $as_echo_n "checking for -lGLESv2... " >&6; }
9238 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9239 $as_echo_n "(cached) " >&6
9240 else
9241 ac_check_soname_save_LIBS=$LIBS
9242 LIBS="-lGLESv2 $LIBS"
9243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9246 /* Override any GCC internal prototype to avoid an error.
9247 Use char because int might match the return type of a GCC
9248 builtin and then its argument prototype would still apply. */
9249 #ifdef __cplusplus
9250 extern "C"
9251 #endif
9252 char glFlush ();
9254 main ()
9256 return glFlush ();
9258 return 0;
9260 _ACEOF
9261 if ac_fn_c_try_link "$LINENO"; then :
9262 case "$LIBEXT" in
9263 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9264 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9265 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9266 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9267 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9268 fi ;;
9269 esac
9270 else
9271 ac_cv_lib_soname_GLESv2=
9273 rm -f core conftest.err conftest.$ac_objext \
9274 conftest$ac_exeext conftest.$ac_ext
9275 LIBS=$ac_check_soname_save_LIBS
9277 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9279 $as_echo "not found" >&6; }
9281 else
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9283 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9285 cat >>confdefs.h <<_ACEOF
9286 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9287 _ACEOF
9292 if test "x$exec_prefix" = xNONE
9293 then
9294 case $host_cpu in
9295 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9296 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9297 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9298 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9299 esac
9304 case $host_cpu in
9305 *i[3456789]86*)
9306 DLLFLAGS="$DLLFLAGS -fno-PIC"
9307 LDDLLFLAGS="-fno-PIC"
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9309 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9310 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9311 $as_echo_n "(cached) " >&6
9312 else
9313 ac_wine_try_cflags_saved=$CFLAGS
9314 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9317 int main(int argc, char **argv) { return 0; }
9318 _ACEOF
9319 if ac_fn_c_try_link "$LINENO"; then :
9320 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9321 else
9322 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9324 rm -f core conftest.err conftest.$ac_objext \
9325 conftest$ac_exeext conftest.$ac_ext
9326 CFLAGS=$ac_wine_try_cflags_saved
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9329 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9330 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9331 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9335 DLLFLAGS="$DLLFLAGS -fPIC"
9336 LDDLLFLAGS="-fPIC" ;;
9337 esac
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9339 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9340 if ${ac_cv_c_dll_gnuelf+:} false; then :
9341 $as_echo_n "(cached) " >&6
9342 else
9343 ac_wine_try_cflags_saved=$CFLAGS
9344 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9347 void myfunc() {}
9348 _ACEOF
9349 if ac_fn_c_try_link "$LINENO"; then :
9350 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9351 else
9352 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9354 rm -f core conftest.err conftest.$ac_objext \
9355 conftest$ac_exeext conftest.$ac_ext
9356 CFLAGS=$ac_wine_try_cflags_saved
9357 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9358 ac_cv_c_dll_gnuelf="yes"
9359 else
9360 ac_cv_c_dll_gnuelf="no"
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9364 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9365 if test "$ac_cv_c_dll_gnuelf" = "yes"
9366 then
9367 LIBWINE_LDFLAGS="-shared"
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9369 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9370 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9371 $as_echo_n "(cached) " >&6
9372 else
9373 ac_wine_try_cflags_saved=$CFLAGS
9374 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9376 /* end confdefs.h. */
9377 int main(int argc, char **argv) { return 0; }
9378 _ACEOF
9379 if ac_fn_c_try_link "$LINENO"; then :
9380 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9381 else
9382 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9384 rm -f core conftest.err conftest.$ac_objext \
9385 conftest$ac_exeext conftest.$ac_ext
9386 CFLAGS=$ac_wine_try_cflags_saved
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9389 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9390 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9391 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9392 else
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9394 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9395 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9396 $as_echo_n "(cached) " >&6
9397 else
9398 ac_wine_try_cflags_saved=$CFLAGS
9399 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9401 /* end confdefs.h. */
9402 int main(int argc, char **argv) { return 0; }
9403 _ACEOF
9404 if ac_fn_c_try_link "$LINENO"; then :
9405 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9406 else
9407 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9409 rm -f core conftest.err conftest.$ac_objext \
9410 conftest$ac_exeext conftest.$ac_ext
9411 CFLAGS=$ac_wine_try_cflags_saved
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9414 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9415 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9416 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9420 echo '{ global: *; };' >conftest.map
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9422 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9423 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9424 $as_echo_n "(cached) " >&6
9425 else
9426 ac_wine_try_cflags_saved=$CFLAGS
9427 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9429 /* end confdefs.h. */
9430 int main(int argc, char **argv) { return 0; }
9431 _ACEOF
9432 if ac_fn_c_try_link "$LINENO"; then :
9433 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9434 else
9435 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9437 rm -f core conftest.err conftest.$ac_objext \
9438 conftest$ac_exeext conftest.$ac_ext
9439 CFLAGS=$ac_wine_try_cflags_saved
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9442 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9443 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9444 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9446 rm -f conftest.map
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9449 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9450 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 ac_wine_try_cflags_saved=$CFLAGS
9454 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9457 int main(int argc, char **argv) { return 0; }
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 ac_cv_cflags__Wl___export_dynamic=yes
9461 else
9462 ac_cv_cflags__Wl___export_dynamic=no
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9466 CFLAGS=$ac_wine_try_cflags_saved
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9469 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9470 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9471 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9473 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9475 case $host_cpu in
9476 *i[3456789]86* | x86_64 | *aarch64* | arm*)
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9478 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9479 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9480 $as_echo_n "(cached) " >&6
9481 else
9482 ac_wine_try_cflags_saved=$CFLAGS
9483 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9486 int main(int argc, char **argv) { return 0; }
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"; then :
9489 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9490 else
9491 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9493 rm -f core conftest.err conftest.$ac_objext \
9494 conftest$ac_exeext conftest.$ac_ext
9495 CFLAGS=$ac_wine_try_cflags_saved
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9498 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9499 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9500 case $host_os in
9501 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9502 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9503 esac
9504 else
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9506 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9507 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9508 $as_echo_n "(cached) " >&6
9509 else
9510 ac_wine_try_cflags_saved=$CFLAGS
9511 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9514 int main(int argc, char **argv) { return 0; }
9515 _ACEOF
9516 if ac_fn_c_try_link "$LINENO"; then :
9517 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9518 else
9519 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9521 rm -f core conftest.err conftest.$ac_objext \
9522 conftest$ac_exeext conftest.$ac_ext
9523 CFLAGS=$ac_wine_try_cflags_saved
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9526 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9527 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9528 case $host_os in
9529 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9530 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9531 esac
9533 # Extract the first word of "prelink", so it can be a program name with args.
9534 set dummy prelink; ac_word=$2
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9536 $as_echo_n "checking for $ac_word... " >&6; }
9537 if ${ac_cv_path_PRELINK+:} false; then :
9538 $as_echo_n "(cached) " >&6
9539 else
9540 case $PRELINK in
9541 [\\/]* | ?:[\\/]*)
9542 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9546 for as_dir in /sbin /usr/sbin $PATH
9548 IFS=$as_save_IFS
9549 test -z "$as_dir" && as_dir=.
9550 for ac_exec_ext in '' $ac_executable_extensions; do
9551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9552 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9554 break 2
9556 done
9557 done
9558 IFS=$as_save_IFS
9560 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9562 esac
9564 PRELINK=$ac_cv_path_PRELINK
9565 if test -n "$PRELINK"; then
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9567 $as_echo "$PRELINK" >&6; }
9568 else
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9570 $as_echo "no" >&6; }
9574 if test "x$PRELINK" = xfalse
9575 then
9576 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9580 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9581 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9582 $as_echo_n "(cached) " >&6
9583 else
9584 ac_wine_try_cflags_saved=$CFLAGS
9585 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9588 int main(int argc, char **argv) { return 0; }
9589 _ACEOF
9590 if ac_fn_c_try_link "$LINENO"; then :
9591 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9592 else
9593 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9595 rm -f core conftest.err conftest.$ac_objext \
9596 conftest$ac_exeext conftest.$ac_ext
9597 CFLAGS=$ac_wine_try_cflags_saved
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9600 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9601 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9602 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9605 esac
9607 else
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9609 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9610 if ${ac_cv_c_dll_unixware+:} false; then :
9611 $as_echo_n "(cached) " >&6
9612 else
9613 ac_wine_try_cflags_saved=$CFLAGS
9614 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9616 /* end confdefs.h. */
9617 void myfunc() {}
9618 _ACEOF
9619 if ac_fn_c_try_link "$LINENO"; then :
9620 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9621 else
9622 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9624 rm -f core conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 CFLAGS=$ac_wine_try_cflags_saved
9627 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9628 ac_cv_c_dll_unixware="yes"
9629 else
9630 ac_cv_c_dll_unixware="no"
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9634 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9635 if test "$ac_cv_c_dll_unixware" = "yes"
9636 then
9637 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9640 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9642 LIBWINE_DEPENDS="wine.map"
9644 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9646 esac
9648 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9649 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9650 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9651 enable_winemac_drv=${enable_winemac_drv:-no}
9652 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9655 if test "x$with_mingw" != xno
9656 then
9657 case "x$with_mingw" in
9658 x|xyes) case "$host_cpu" in
9659 aarch64*)
9660 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9661 arm*)
9662 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9663 i[3456789]86*)
9664 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
9665 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9666 mingw32-gcc clang" ;;
9667 x86_64)
9668 ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
9669 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9671 ac_prefix_list="" ;;
9672 esac
9673 for ac_prog in $ac_prefix_list
9675 # Extract the first word of "$ac_prog", so it can be a program name with args.
9676 set dummy $ac_prog; ac_word=$2
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9678 $as_echo_n "checking for $ac_word... " >&6; }
9679 if ${ac_cv_prog_CROSSCC+:} false; then :
9680 $as_echo_n "(cached) " >&6
9681 else
9682 if test -n "$CROSSCC"; then
9683 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9684 else
9685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9686 for as_dir in $PATH
9688 IFS=$as_save_IFS
9689 test -z "$as_dir" && as_dir=.
9690 for ac_exec_ext in '' $ac_executable_extensions; do
9691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9692 ac_cv_prog_CROSSCC="$ac_prog"
9693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9694 break 2
9696 done
9697 done
9698 IFS=$as_save_IFS
9702 CROSSCC=$ac_cv_prog_CROSSCC
9703 if test -n "$CROSSCC"; then
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9705 $as_echo "$CROSSCC" >&6; }
9706 else
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9708 $as_echo "no" >&6; }
9712 test -n "$CROSSCC" && break
9713 done
9714 test -n "$CROSSCC" || CROSSCC="false"
9716 *) CROSSCC=$with_mingw ;;
9717 esac
9718 if test "$CROSSCC" != "false"
9719 then
9720 ac_save_CC="$CC"
9721 saved_CFLAGS=$CFLAGS
9722 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9724 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9728 CC="$CROSSCC"
9729 CFLAGS=$CROSSCFLAGS
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9731 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9732 if ${wine_cv_crosscc+:} false; then :
9733 $as_echo_n "(cached) " >&6
9734 else
9735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9736 /* end confdefs.h. */
9739 main ()
9743 return 0;
9745 _ACEOF
9746 if ac_fn_c_try_compile "$LINENO"; then :
9747 wine_cv_crosscc=yes
9748 else
9749 wine_cv_crosscc=no
9751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9754 $as_echo "$wine_cv_crosscc" >&6; }
9755 if test $wine_cv_crosscc = yes
9756 then
9757 set x $CROSSCC
9758 shift
9759 while test $# -ge 1
9761 case "$1" in
9762 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9763 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9764 esac
9765 shift
9766 done
9768 llvm_target=$CROSSTARGET
9769 llvm_cflags="-fuse-ld=lld"
9770 if test -z "$llvm_target"
9771 then
9772 case $host_cpu in
9773 *i[3456789]86*) llvm_target=i686-windows ;;
9774 *) llvm_target=$host_cpu-windows ;;
9775 esac
9777 case $llvm_target in
9778 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9779 esac
9780 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9782 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9783 if eval \${$as_ac_var+:} false; then :
9784 $as_echo_n "(cached) " >&6
9785 else
9786 ac_wine_try_cflags_saved=$CFLAGS
9787 ac_wine_try_cflags_saved_cc=$CC
9788 ac_wine_try_cflags_saved_exeext=$ac_exeext
9789 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9790 CC="$CROSSCC"
9791 ac_exeext=".exe"
9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9794 int __cdecl mainCRTStartup(void) { return 0; }
9795 _ACEOF
9796 if ac_fn_c_try_link "$LINENO"; then :
9797 eval "$as_ac_var=yes"
9798 else
9799 eval "$as_ac_var=no"
9801 rm -f core conftest.err conftest.$ac_objext \
9802 conftest$ac_exeext conftest.$ac_ext
9803 CFLAGS=$ac_wine_try_cflags_saved
9804 CC=$ac_wine_try_cflags_saved_cc
9805 ac_exeext=$ac_wine_try_cflags_saved_exeext
9807 eval ac_res=\$$as_ac_var
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9809 $as_echo "$ac_res" >&6; }
9810 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9811 CROSSTARGET=$llvm_target
9812 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9813 DELAYLOADFLAG="-Wl,-delayload,"
9815 CFLAGS="$CFLAGS $llvm_cflags"
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9819 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9820 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 ac_wine_try_cflags_saved=$CFLAGS
9824 ac_wine_try_cflags_saved_cc=$CC
9825 ac_wine_try_cflags_saved_exeext=$ac_exeext
9826 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9827 CC="$CROSSCC"
9828 ac_exeext=".exe"
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9831 int __cdecl mainCRTStartup(void) { return 0; }
9832 _ACEOF
9833 if ac_fn_c_try_link "$LINENO"; then :
9834 ac_cv_crosscflags__fno_strict_aliasing=yes
9835 else
9836 ac_cv_crosscflags__fno_strict_aliasing=no
9838 rm -f core conftest.err conftest.$ac_objext \
9839 conftest$ac_exeext conftest.$ac_ext
9840 CFLAGS=$ac_wine_try_cflags_saved
9841 CC=$ac_wine_try_cflags_saved_cc
9842 ac_exeext=$ac_wine_try_cflags_saved_exeext
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9845 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9846 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9847 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9850 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9851 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9852 $as_echo_n "(cached) " >&6
9853 else
9854 ac_wine_try_cflags_saved=$CFLAGS
9855 ac_wine_try_cflags_saved_cc=$CC
9856 ac_wine_try_cflags_saved_exeext=$ac_exeext
9857 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9858 CC="$CROSSCC"
9859 ac_exeext=".exe"
9860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9861 /* end confdefs.h. */
9862 int __cdecl mainCRTStartup(void) { return 0; }
9863 _ACEOF
9864 if ac_fn_c_try_link "$LINENO"; then :
9865 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9866 else
9867 ac_cv_crosscflags__Werror_unknown_warning_option=no
9869 rm -f core conftest.err conftest.$ac_objext \
9870 conftest$ac_exeext conftest.$ac_ext
9871 CFLAGS=$ac_wine_try_cflags_saved
9872 CC=$ac_wine_try_cflags_saved_cc
9873 ac_exeext=$ac_wine_try_cflags_saved_exeext
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9876 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9877 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9878 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9881 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9882 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9883 $as_echo_n "(cached) " >&6
9884 else
9885 ac_wine_try_cflags_saved=$CFLAGS
9886 ac_wine_try_cflags_saved_cc=$CC
9887 ac_wine_try_cflags_saved_exeext=$ac_exeext
9888 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9889 CC="$CROSSCC"
9890 ac_exeext=".exe"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 int __cdecl mainCRTStartup(void) { return 0; }
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9897 else
9898 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9900 rm -f core conftest.err conftest.$ac_objext \
9901 conftest$ac_exeext conftest.$ac_ext
9902 CFLAGS=$ac_wine_try_cflags_saved
9903 CC=$ac_wine_try_cflags_saved_cc
9904 ac_exeext=$ac_wine_try_cflags_saved_exeext
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9907 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9908 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9909 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9912 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9913 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9914 $as_echo_n "(cached) " >&6
9915 else
9916 ac_wine_try_cflags_saved=$CFLAGS
9917 ac_wine_try_cflags_saved_cc=$CC
9918 ac_wine_try_cflags_saved_exeext=$ac_exeext
9919 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9920 CC="$CROSSCC"
9921 ac_exeext=".exe"
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9924 int __cdecl mainCRTStartup(void) { return 0; }
9925 _ACEOF
9926 if ac_fn_c_try_link "$LINENO"; then :
9927 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9928 else
9929 ac_cv_crosscflags__Wdeclaration_after_statement=no
9931 rm -f core conftest.err conftest.$ac_objext \
9932 conftest$ac_exeext conftest.$ac_ext
9933 CFLAGS=$ac_wine_try_cflags_saved
9934 CC=$ac_wine_try_cflags_saved_cc
9935 ac_exeext=$ac_wine_try_cflags_saved_exeext
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9938 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9939 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9940 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9943 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9944 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9945 $as_echo_n "(cached) " >&6
9946 else
9947 ac_wine_try_cflags_saved=$CFLAGS
9948 ac_wine_try_cflags_saved_cc=$CC
9949 ac_wine_try_cflags_saved_exeext=$ac_exeext
9950 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9951 CC="$CROSSCC"
9952 ac_exeext=".exe"
9953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9954 /* end confdefs.h. */
9955 int __cdecl mainCRTStartup(void) { return 0; }
9956 _ACEOF
9957 if ac_fn_c_try_link "$LINENO"; then :
9958 ac_cv_crosscflags__Wempty_body=yes
9959 else
9960 ac_cv_crosscflags__Wempty_body=no
9962 rm -f core conftest.err conftest.$ac_objext \
9963 conftest$ac_exeext conftest.$ac_ext
9964 CFLAGS=$ac_wine_try_cflags_saved
9965 CC=$ac_wine_try_cflags_saved_cc
9966 ac_exeext=$ac_wine_try_cflags_saved_exeext
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9969 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9970 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9971 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9974 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9975 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9976 $as_echo_n "(cached) " >&6
9977 else
9978 ac_wine_try_cflags_saved=$CFLAGS
9979 ac_wine_try_cflags_saved_cc=$CC
9980 ac_wine_try_cflags_saved_exeext=$ac_exeext
9981 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9982 CC="$CROSSCC"
9983 ac_exeext=".exe"
9984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9985 /* end confdefs.h. */
9986 int __cdecl mainCRTStartup(void) { return 0; }
9987 _ACEOF
9988 if ac_fn_c_try_link "$LINENO"; then :
9989 ac_cv_crosscflags__Wignored_qualifiers=yes
9990 else
9991 ac_cv_crosscflags__Wignored_qualifiers=no
9993 rm -f core conftest.err conftest.$ac_objext \
9994 conftest$ac_exeext conftest.$ac_ext
9995 CFLAGS=$ac_wine_try_cflags_saved
9996 CC=$ac_wine_try_cflags_saved_cc
9997 ac_exeext=$ac_wine_try_cflags_saved_exeext
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10000 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10001 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10002 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10005 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
10006 if ${ac_cv_crosscflags__Winit_self+:} false; then :
10007 $as_echo_n "(cached) " >&6
10008 else
10009 ac_wine_try_cflags_saved=$CFLAGS
10010 ac_wine_try_cflags_saved_cc=$CC
10011 ac_wine_try_cflags_saved_exeext=$ac_exeext
10012 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10013 CC="$CROSSCC"
10014 ac_exeext=".exe"
10015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10016 /* end confdefs.h. */
10017 int __cdecl mainCRTStartup(void) { return 0; }
10018 _ACEOF
10019 if ac_fn_c_try_link "$LINENO"; then :
10020 ac_cv_crosscflags__Winit_self=yes
10021 else
10022 ac_cv_crosscflags__Winit_self=no
10024 rm -f core conftest.err conftest.$ac_objext \
10025 conftest$ac_exeext conftest.$ac_ext
10026 CFLAGS=$ac_wine_try_cflags_saved
10027 CC=$ac_wine_try_cflags_saved_cc
10028 ac_exeext=$ac_wine_try_cflags_saved_exeext
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10031 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10032 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10033 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10036 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10037 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10038 $as_echo_n "(cached) " >&6
10039 else
10040 ac_wine_try_cflags_saved=$CFLAGS
10041 ac_wine_try_cflags_saved_cc=$CC
10042 ac_wine_try_cflags_saved_exeext=$ac_exeext
10043 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10044 CC="$CROSSCC"
10045 ac_exeext=".exe"
10046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10047 /* end confdefs.h. */
10048 int __cdecl mainCRTStartup(void) { return 0; }
10049 _ACEOF
10050 if ac_fn_c_try_link "$LINENO"; then :
10051 ac_cv_crosscflags__Wpacked_not_aligned=yes
10052 else
10053 ac_cv_crosscflags__Wpacked_not_aligned=no
10055 rm -f core conftest.err conftest.$ac_objext \
10056 conftest$ac_exeext conftest.$ac_ext
10057 CFLAGS=$ac_wine_try_cflags_saved
10058 CC=$ac_wine_try_cflags_saved_cc
10059 ac_exeext=$ac_wine_try_cflags_saved_exeext
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10062 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10063 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10064 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10067 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10068 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10069 $as_echo_n "(cached) " >&6
10070 else
10071 ac_wine_try_cflags_saved=$CFLAGS
10072 ac_wine_try_cflags_saved_cc=$CC
10073 ac_wine_try_cflags_saved_exeext=$ac_exeext
10074 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10075 CC="$CROSSCC"
10076 ac_exeext=".exe"
10077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10079 int __cdecl mainCRTStartup(void) { return 0; }
10080 _ACEOF
10081 if ac_fn_c_try_link "$LINENO"; then :
10082 ac_cv_crosscflags__Wpragma_pack=yes
10083 else
10084 ac_cv_crosscflags__Wpragma_pack=no
10086 rm -f core conftest.err conftest.$ac_objext \
10087 conftest$ac_exeext conftest.$ac_ext
10088 CFLAGS=$ac_wine_try_cflags_saved
10089 CC=$ac_wine_try_cflags_saved_cc
10090 ac_exeext=$ac_wine_try_cflags_saved_exeext
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10093 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10094 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10095 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10098 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10099 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10100 $as_echo_n "(cached) " >&6
10101 else
10102 ac_wine_try_cflags_saved=$CFLAGS
10103 ac_wine_try_cflags_saved_cc=$CC
10104 ac_wine_try_cflags_saved_exeext=$ac_exeext
10105 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10106 CC="$CROSSCC"
10107 ac_exeext=".exe"
10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
10110 int __cdecl mainCRTStartup(void) { return 0; }
10111 _ACEOF
10112 if ac_fn_c_try_link "$LINENO"; then :
10113 ac_cv_crosscflags__Wshift_overflow_2=yes
10114 else
10115 ac_cv_crosscflags__Wshift_overflow_2=no
10117 rm -f core conftest.err conftest.$ac_objext \
10118 conftest$ac_exeext conftest.$ac_ext
10119 CFLAGS=$ac_wine_try_cflags_saved
10120 CC=$ac_wine_try_cflags_saved_cc
10121 ac_exeext=$ac_wine_try_cflags_saved_exeext
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10124 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10125 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10126 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10129 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10130 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10131 $as_echo_n "(cached) " >&6
10132 else
10133 ac_wine_try_cflags_saved=$CFLAGS
10134 ac_wine_try_cflags_saved_cc=$CC
10135 ac_wine_try_cflags_saved_exeext=$ac_exeext
10136 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10137 CC="$CROSSCC"
10138 ac_exeext=".exe"
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10141 int __cdecl mainCRTStartup(void) { return 0; }
10142 _ACEOF
10143 if ac_fn_c_try_link "$LINENO"; then :
10144 ac_cv_crosscflags__Wstrict_prototypes=yes
10145 else
10146 ac_cv_crosscflags__Wstrict_prototypes=no
10148 rm -f core conftest.err conftest.$ac_objext \
10149 conftest$ac_exeext conftest.$ac_ext
10150 CFLAGS=$ac_wine_try_cflags_saved
10151 CC=$ac_wine_try_cflags_saved_cc
10152 ac_exeext=$ac_wine_try_cflags_saved_exeext
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10155 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10156 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10157 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10160 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10161 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10162 $as_echo_n "(cached) " >&6
10163 else
10164 ac_wine_try_cflags_saved=$CFLAGS
10165 ac_wine_try_cflags_saved_cc=$CC
10166 ac_wine_try_cflags_saved_exeext=$ac_exeext
10167 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10168 CC="$CROSSCC"
10169 ac_exeext=".exe"
10170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10172 int __cdecl mainCRTStartup(void) { return 0; }
10173 _ACEOF
10174 if ac_fn_c_try_link "$LINENO"; then :
10175 ac_cv_crosscflags__Wtype_limits=yes
10176 else
10177 ac_cv_crosscflags__Wtype_limits=no
10179 rm -f core conftest.err conftest.$ac_objext \
10180 conftest$ac_exeext conftest.$ac_ext
10181 CFLAGS=$ac_wine_try_cflags_saved
10182 CC=$ac_wine_try_cflags_saved_cc
10183 ac_exeext=$ac_wine_try_cflags_saved_exeext
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10186 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10187 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10188 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10191 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10192 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10193 $as_echo_n "(cached) " >&6
10194 else
10195 ac_wine_try_cflags_saved=$CFLAGS
10196 ac_wine_try_cflags_saved_cc=$CC
10197 ac_wine_try_cflags_saved_exeext=$ac_exeext
10198 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10199 CC="$CROSSCC"
10200 ac_exeext=".exe"
10201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10203 int __cdecl mainCRTStartup(void) { return 0; }
10204 _ACEOF
10205 if ac_fn_c_try_link "$LINENO"; then :
10206 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10207 else
10208 ac_cv_crosscflags__Wunused_but_set_parameter=no
10210 rm -f core conftest.err conftest.$ac_objext \
10211 conftest$ac_exeext conftest.$ac_ext
10212 CFLAGS=$ac_wine_try_cflags_saved
10213 CC=$ac_wine_try_cflags_saved_cc
10214 ac_exeext=$ac_wine_try_cflags_saved_exeext
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10217 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10218 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10219 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10222 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10223 if ${ac_cv_crosscflags__Wvla+:} false; then :
10224 $as_echo_n "(cached) " >&6
10225 else
10226 ac_wine_try_cflags_saved=$CFLAGS
10227 ac_wine_try_cflags_saved_cc=$CC
10228 ac_wine_try_cflags_saved_exeext=$ac_exeext
10229 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10230 CC="$CROSSCC"
10231 ac_exeext=".exe"
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10234 int __cdecl mainCRTStartup(void) { return 0; }
10235 _ACEOF
10236 if ac_fn_c_try_link "$LINENO"; then :
10237 ac_cv_crosscflags__Wvla=yes
10238 else
10239 ac_cv_crosscflags__Wvla=no
10241 rm -f core conftest.err conftest.$ac_objext \
10242 conftest$ac_exeext conftest.$ac_ext
10243 CFLAGS=$ac_wine_try_cflags_saved
10244 CC=$ac_wine_try_cflags_saved_cc
10245 ac_exeext=$ac_wine_try_cflags_saved_exeext
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10248 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10249 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10250 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10253 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10254 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10255 $as_echo_n "(cached) " >&6
10256 else
10257 ac_wine_try_cflags_saved=$CFLAGS
10258 ac_wine_try_cflags_saved_cc=$CC
10259 ac_wine_try_cflags_saved_exeext=$ac_exeext
10260 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10261 CC="$CROSSCC"
10262 ac_exeext=".exe"
10263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10264 /* end confdefs.h. */
10265 int __cdecl mainCRTStartup(void) { return 0; }
10266 _ACEOF
10267 if ac_fn_c_try_link "$LINENO"; then :
10268 ac_cv_crosscflags__Wwrite_strings=yes
10269 else
10270 ac_cv_crosscflags__Wwrite_strings=no
10272 rm -f core conftest.err conftest.$ac_objext \
10273 conftest$ac_exeext conftest.$ac_ext
10274 CFLAGS=$ac_wine_try_cflags_saved
10275 CC=$ac_wine_try_cflags_saved_cc
10276 ac_exeext=$ac_wine_try_cflags_saved_exeext
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10279 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10280 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10281 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10284 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10285 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10286 $as_echo_n "(cached) " >&6
10287 else
10288 ac_wine_try_cflags_saved=$CFLAGS
10289 ac_wine_try_cflags_saved_cc=$CC
10290 ac_wine_try_cflags_saved_exeext=$ac_exeext
10291 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10292 CC="$CROSSCC"
10293 ac_exeext=".exe"
10294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10295 /* end confdefs.h. */
10296 int __cdecl mainCRTStartup(void) { return 0; }
10297 _ACEOF
10298 if ac_fn_c_try_link "$LINENO"; then :
10299 ac_cv_crosscflags__Wpointer_arith=yes
10300 else
10301 ac_cv_crosscflags__Wpointer_arith=no
10303 rm -f core conftest.err conftest.$ac_objext \
10304 conftest$ac_exeext conftest.$ac_ext
10305 CFLAGS=$ac_wine_try_cflags_saved
10306 CC=$ac_wine_try_cflags_saved_cc
10307 ac_exeext=$ac_wine_try_cflags_saved_exeext
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10310 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10311 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10312 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10315 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10316 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10317 $as_echo_n "(cached) " >&6
10318 else
10319 ac_wine_try_cflags_saved=$CFLAGS
10320 ac_wine_try_cflags_saved_cc=$CC
10321 ac_wine_try_cflags_saved_exeext=$ac_exeext
10322 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10323 CC="$CROSSCC"
10324 ac_exeext=".exe"
10325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10327 int __cdecl mainCRTStartup(void) { return 0; }
10328 _ACEOF
10329 if ac_fn_c_try_link "$LINENO"; then :
10330 ac_cv_crosscflags__Wlogical_op=yes
10331 else
10332 ac_cv_crosscflags__Wlogical_op=no
10334 rm -f core conftest.err conftest.$ac_objext \
10335 conftest$ac_exeext conftest.$ac_ext
10336 CFLAGS=$ac_wine_try_cflags_saved
10337 CC=$ac_wine_try_cflags_saved_cc
10338 ac_exeext=$ac_wine_try_cflags_saved_exeext
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10341 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10342 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10343 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10346 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10347 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10348 $as_echo_n "(cached) " >&6
10349 else
10350 ac_wine_try_cflags_saved=$CFLAGS
10351 ac_wine_try_cflags_saved_cc=$CC
10352 ac_wine_try_cflags_saved_exeext=$ac_exeext
10353 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10354 CC="$CROSSCC"
10355 ac_exeext=".exe"
10356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10358 int __cdecl mainCRTStartup(void) { return 0; }
10359 _ACEOF
10360 if ac_fn_c_try_link "$LINENO"; then :
10361 ac_cv_crosscflags__Wabsolute_value=yes
10362 else
10363 ac_cv_crosscflags__Wabsolute_value=no
10365 rm -f core conftest.err conftest.$ac_objext \
10366 conftest$ac_exeext conftest.$ac_ext
10367 CFLAGS=$ac_wine_try_cflags_saved
10368 CC=$ac_wine_try_cflags_saved_cc
10369 ac_exeext=$ac_wine_try_cflags_saved_exeext
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10372 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10373 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10374 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10377 case $host_cpu in
10378 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10379 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10380 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10381 $as_echo_n "(cached) " >&6
10382 else
10383 ac_wine_try_cflags_saved=$CFLAGS
10384 ac_wine_try_cflags_saved_cc=$CC
10385 ac_wine_try_cflags_saved_exeext=$ac_exeext
10386 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10387 CC="$CROSSCC"
10388 ac_exeext=".exe"
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 int __cdecl mainCRTStartup(void) { return 0; }
10392 _ACEOF
10393 if ac_fn_c_try_link "$LINENO"; then :
10394 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10395 else
10396 ac_cv_crosscflags__fno_omit_frame_pointer=no
10398 rm -f core conftest.err conftest.$ac_objext \
10399 conftest$ac_exeext conftest.$ac_ext
10400 CFLAGS=$ac_wine_try_cflags_saved
10401 CC=$ac_wine_try_cflags_saved_cc
10402 ac_exeext=$ac_wine_try_cflags_saved_exeext
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10405 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10406 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10407 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10408 fi ;;
10409 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10410 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10411 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10412 $as_echo_n "(cached) " >&6
10413 else
10414 ac_wine_try_cflags_saved=$CFLAGS
10415 ac_wine_try_cflags_saved_cc=$CC
10416 ac_wine_try_cflags_saved_exeext=$ac_exeext
10417 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10418 CC="$CROSSCC"
10419 ac_exeext=".exe"
10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10422 int __cdecl mainCRTStartup(void) { return 0; }
10423 _ACEOF
10424 if ac_fn_c_try_link "$LINENO"; then :
10425 ac_cv_crosscflags__Wno_format=yes
10426 else
10427 ac_cv_crosscflags__Wno_format=no
10429 rm -f core conftest.err conftest.$ac_objext \
10430 conftest$ac_exeext conftest.$ac_ext
10431 CFLAGS=$ac_wine_try_cflags_saved
10432 CC=$ac_wine_try_cflags_saved_cc
10433 ac_exeext=$ac_wine_try_cflags_saved_exeext
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10436 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10437 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10438 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10441 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10442 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10443 $as_echo_n "(cached) " >&6
10444 else
10445 ac_wine_try_cflags_saved=$CFLAGS
10446 ac_wine_try_cflags_saved_cc=$CC
10447 ac_wine_try_cflags_saved_exeext=$ac_exeext
10448 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10449 CC="$CROSSCC"
10450 ac_exeext=".exe"
10451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10453 int __cdecl mainCRTStartup(void) { return 0; }
10454 _ACEOF
10455 if ac_fn_c_try_link "$LINENO"; then :
10456 ac_cv_crosscflags__Wformat_overflow=yes
10457 else
10458 ac_cv_crosscflags__Wformat_overflow=no
10460 rm -f core conftest.err conftest.$ac_objext \
10461 conftest$ac_exeext conftest.$ac_ext
10462 CFLAGS=$ac_wine_try_cflags_saved
10463 CC=$ac_wine_try_cflags_saved_cc
10464 ac_exeext=$ac_wine_try_cflags_saved_exeext
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10467 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10468 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10469 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10472 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10473 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10474 $as_echo_n "(cached) " >&6
10475 else
10476 ac_wine_try_cflags_saved=$CFLAGS
10477 ac_wine_try_cflags_saved_cc=$CC
10478 ac_wine_try_cflags_saved_exeext=$ac_exeext
10479 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10480 CC="$CROSSCC"
10481 ac_exeext=".exe"
10482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10483 /* end confdefs.h. */
10484 int __cdecl mainCRTStartup(void) { return 0; }
10485 _ACEOF
10486 if ac_fn_c_try_link "$LINENO"; then :
10487 ac_cv_crosscflags__Wnonnull=yes
10488 else
10489 ac_cv_crosscflags__Wnonnull=no
10491 rm -f core conftest.err conftest.$ac_objext \
10492 conftest$ac_exeext conftest.$ac_ext
10493 CFLAGS=$ac_wine_try_cflags_saved
10494 CC=$ac_wine_try_cflags_saved_cc
10495 ac_exeext=$ac_wine_try_cflags_saved_exeext
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10498 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10499 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10500 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10503 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10504 if ${ac_cv_crosscflags__mcx16+:} false; then :
10505 $as_echo_n "(cached) " >&6
10506 else
10507 ac_wine_try_cflags_saved=$CFLAGS
10508 ac_wine_try_cflags_saved_cc=$CC
10509 ac_wine_try_cflags_saved_exeext=$ac_exeext
10510 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10511 CC="$CROSSCC"
10512 ac_exeext=".exe"
10513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h. */
10515 int __cdecl mainCRTStartup(void) { return 0; }
10516 _ACEOF
10517 if ac_fn_c_try_link "$LINENO"; then :
10518 ac_cv_crosscflags__mcx16=yes
10519 else
10520 ac_cv_crosscflags__mcx16=no
10522 rm -f core conftest.err conftest.$ac_objext \
10523 conftest$ac_exeext conftest.$ac_ext
10524 CFLAGS=$ac_wine_try_cflags_saved
10525 CC=$ac_wine_try_cflags_saved_cc
10526 ac_exeext=$ac_wine_try_cflags_saved_exeext
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10529 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10530 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10531 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10532 fi ;;
10533 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10534 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10535 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10536 $as_echo_n "(cached) " >&6
10537 else
10538 ac_wine_try_cflags_saved=$CFLAGS
10539 ac_wine_try_cflags_saved_cc=$CC
10540 ac_wine_try_cflags_saved_exeext=$ac_exeext
10541 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10542 CC="$CROSSCC"
10543 ac_exeext=".exe"
10544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10545 /* end confdefs.h. */
10546 int __cdecl mainCRTStartup(void) { return 0; }
10547 _ACEOF
10548 if ac_fn_c_try_link "$LINENO"; then :
10549 ac_cv_crosscflags__Wno_format=yes
10550 else
10551 ac_cv_crosscflags__Wno_format=no
10553 rm -f core conftest.err conftest.$ac_objext \
10554 conftest$ac_exeext conftest.$ac_ext
10555 CFLAGS=$ac_wine_try_cflags_saved
10556 CC=$ac_wine_try_cflags_saved_cc
10557 ac_exeext=$ac_wine_try_cflags_saved_exeext
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10560 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10561 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10562 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10563 fi ;;
10564 esac
10567 if test -z "$CROSSDEBUG"
10568 then
10569 for ac_flag in $CROSSCFLAGS; do
10570 case $ac_flag in
10571 -gdwarf*) CROSSDEBUG=dwarf ;;
10572 -gcodeview) CROSSDEBUG=pdb ;;
10573 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10574 esac
10575 done
10577 case $CROSSDEBUG in
10578 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10579 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10580 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10581 $as_echo_n "(cached) " >&6
10582 else
10583 ac_wine_try_cflags_saved=$CFLAGS
10584 ac_wine_try_cflags_saved_cc=$CC
10585 ac_wine_try_cflags_saved_exeext=$ac_exeext
10586 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10587 CC="$CROSSCC"
10588 ac_exeext=".exe"
10589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10591 int __cdecl mainCRTStartup(void) { return 0; }
10592 _ACEOF
10593 if ac_fn_c_try_link "$LINENO"; then :
10594 ac_cv_crosscflags__gdwarf_2=yes
10595 else
10596 ac_cv_crosscflags__gdwarf_2=no
10598 rm -f core conftest.err conftest.$ac_objext \
10599 conftest$ac_exeext conftest.$ac_ext
10600 CFLAGS=$ac_wine_try_cflags_saved
10601 CC=$ac_wine_try_cflags_saved_cc
10602 ac_exeext=$ac_wine_try_cflags_saved_exeext
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10605 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10606 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10607 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10610 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10611 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10612 $as_echo_n "(cached) " >&6
10613 else
10614 ac_wine_try_cflags_saved=$CFLAGS
10615 ac_wine_try_cflags_saved_cc=$CC
10616 ac_wine_try_cflags_saved_exeext=$ac_exeext
10617 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10618 CC="$CROSSCC"
10619 ac_exeext=".exe"
10620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h. */
10622 int __cdecl mainCRTStartup(void) { return 0; }
10623 _ACEOF
10624 if ac_fn_c_try_link "$LINENO"; then :
10625 ac_cv_crosscflags__gstrict_dwarf=yes
10626 else
10627 ac_cv_crosscflags__gstrict_dwarf=no
10629 rm -f core conftest.err conftest.$ac_objext \
10630 conftest$ac_exeext conftest.$ac_ext
10631 CFLAGS=$ac_wine_try_cflags_saved
10632 CC=$ac_wine_try_cflags_saved_cc
10633 ac_exeext=$ac_wine_try_cflags_saved_exeext
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10636 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10637 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10638 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10639 fi ;;
10640 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10641 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10642 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10643 $as_echo_n "(cached) " >&6
10644 else
10645 ac_wine_try_cflags_saved=$CFLAGS
10646 ac_wine_try_cflags_saved_cc=$CC
10647 ac_wine_try_cflags_saved_exeext=$ac_exeext
10648 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10649 CC="$CROSSCC"
10650 ac_exeext=".exe"
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10653 int __cdecl mainCRTStartup(void) { return 0; }
10654 _ACEOF
10655 if ac_fn_c_try_link "$LINENO"; then :
10656 ac_cv_crosscflags__gcodeview=yes
10657 else
10658 ac_cv_crosscflags__gcodeview=no
10660 rm -f core conftest.err conftest.$ac_objext \
10661 conftest$ac_exeext conftest.$ac_ext
10662 CFLAGS=$ac_wine_try_cflags_saved
10663 CC=$ac_wine_try_cflags_saved_cc
10664 ac_exeext=$ac_wine_try_cflags_saved_exeext
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10667 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10668 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10669 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10670 fi ;;
10671 esac
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10674 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10675 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10676 $as_echo_n "(cached) " >&6
10677 else
10678 ac_wine_try_cflags_saved=$CFLAGS
10679 ac_wine_try_cflags_saved_cc=$CC
10680 ac_wine_try_cflags_saved_exeext=$ac_exeext
10681 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10682 CC="$CROSSCC"
10683 ac_exeext=".exe"
10684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10685 /* end confdefs.h. */
10686 int __cdecl mainCRTStartup(void) { return 0; }
10687 _ACEOF
10688 if ac_fn_c_try_link "$LINENO"; then :
10689 ac_cv_crosscflags__fexcess_precision_standard=yes
10690 else
10691 ac_cv_crosscflags__fexcess_precision_standard=no
10693 rm -f core conftest.err conftest.$ac_objext \
10694 conftest$ac_exeext conftest.$ac_ext
10695 CFLAGS=$ac_wine_try_cflags_saved
10696 CC=$ac_wine_try_cflags_saved_cc
10697 ac_exeext=$ac_wine_try_cflags_saved_exeext
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10700 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10701 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10702 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10706 if test "x$enable_werror" = "xyes"
10707 then
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10709 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10710 if ${ac_cv_crosscflags__Werror+:} false; then :
10711 $as_echo_n "(cached) " >&6
10712 else
10713 ac_wine_try_cflags_saved=$CFLAGS
10714 ac_wine_try_cflags_saved_cc=$CC
10715 ac_wine_try_cflags_saved_exeext=$ac_exeext
10716 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10717 CC="$CROSSCC"
10718 ac_exeext=".exe"
10719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10720 /* end confdefs.h. */
10721 int __cdecl mainCRTStartup(void) { return 0; }
10722 _ACEOF
10723 if ac_fn_c_try_link "$LINENO"; then :
10724 ac_cv_crosscflags__Werror=yes
10725 else
10726 ac_cv_crosscflags__Werror=no
10728 rm -f core conftest.err conftest.$ac_objext \
10729 conftest$ac_exeext conftest.$ac_ext
10730 CFLAGS=$ac_wine_try_cflags_saved
10731 CC=$ac_wine_try_cflags_saved_cc
10732 ac_exeext=$ac_wine_try_cflags_saved_exeext
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10735 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10736 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10737 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10740 if test "x$enable_build_id" = "xyes"
10741 then
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10743 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10744 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10745 $as_echo_n "(cached) " >&6
10746 else
10747 ac_wine_try_cflags_saved=$CFLAGS
10748 ac_wine_try_cflags_saved_cc=$CC
10749 ac_wine_try_cflags_saved_exeext=$ac_exeext
10750 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10751 CC="$CROSSCC"
10752 ac_exeext=".exe"
10753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10755 int __cdecl mainCRTStartup(void) { return 0; }
10756 _ACEOF
10757 if ac_fn_c_try_link "$LINENO"; then :
10758 ac_cv_crosscflags__Wl___build_id=yes
10759 else
10760 ac_cv_crosscflags__Wl___build_id=no
10762 rm -f core conftest.err conftest.$ac_objext \
10763 conftest$ac_exeext conftest.$ac_ext
10764 CFLAGS=$ac_wine_try_cflags_saved
10765 CC=$ac_wine_try_cflags_saved_cc
10766 ac_exeext=$ac_wine_try_cflags_saved_exeext
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10769 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10770 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10771 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10772 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10776 CFLAGS=$saved_CFLAGS
10777 CC="$ac_save_CC"
10780 if test "x$CROSSTARGET" = "x"; then :
10781 case "x$with_mingw" in
10782 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10783 xno) ;;
10784 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10785 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10786 esac
10791 if test "$ac_cv_header_pthread_h" = "yes"
10792 then
10793 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10794 if test "x$ac_cv_func_pthread_create" = xyes; then :
10796 else
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10798 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10799 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10800 $as_echo_n "(cached) " >&6
10801 else
10802 ac_check_lib_save_LIBS=$LIBS
10803 LIBS="-lpthread $LIBS"
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10807 /* Override any GCC internal prototype to avoid an error.
10808 Use char because int might match the return type of a GCC
10809 builtin and then its argument prototype would still apply. */
10810 #ifdef __cplusplus
10811 extern "C"
10812 #endif
10813 char pthread_create ();
10815 main ()
10817 return pthread_create ();
10819 return 0;
10821 _ACEOF
10822 if ac_fn_c_try_link "$LINENO"; then :
10823 ac_cv_lib_pthread_pthread_create=yes
10824 else
10825 ac_cv_lib_pthread_pthread_create=no
10827 rm -f core conftest.err conftest.$ac_objext \
10828 conftest$ac_exeext conftest.$ac_ext
10829 LIBS=$ac_check_lib_save_LIBS
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10832 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10833 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10834 PTHREAD_LIBS="-lpthread"
10841 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10842 case "x$with_pthread" in
10843 xno) ;;
10844 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10845 Wine cannot support threads without libpthread.
10846 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10847 esac
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10853 $as_echo_n "checking for X... " >&6; }
10856 # Check whether --with-x was given.
10857 if test "${with_x+set}" = set; then :
10858 withval=$with_x;
10861 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10862 if test "x$with_x" = xno; then
10863 # The user explicitly disabled X.
10864 have_x=disabled
10865 else
10866 case $x_includes,$x_libraries in #(
10867 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10868 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10869 $as_echo_n "(cached) " >&6
10870 else
10871 # One or both of the vars are not set, and there is no cached value.
10872 ac_x_includes=no ac_x_libraries=no
10873 rm -f -r conftest.dir
10874 if mkdir conftest.dir; then
10875 cd conftest.dir
10876 cat >Imakefile <<'_ACEOF'
10877 incroot:
10878 @echo incroot='${INCROOT}'
10879 usrlibdir:
10880 @echo usrlibdir='${USRLIBDIR}'
10881 libdir:
10882 @echo libdir='${LIBDIR}'
10883 _ACEOF
10884 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10885 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10886 for ac_var in incroot usrlibdir libdir; do
10887 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10888 done
10889 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10890 for ac_extension in a so sl dylib la dll; do
10891 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10892 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10893 ac_im_usrlibdir=$ac_im_libdir; break
10895 done
10896 # Screen out bogus values from the imake configuration. They are
10897 # bogus both because they are the default anyway, and because
10898 # using them would break gcc on systems where it needs fixed includes.
10899 case $ac_im_incroot in
10900 /usr/include) ac_x_includes= ;;
10901 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10902 esac
10903 case $ac_im_usrlibdir in
10904 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10905 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10906 esac
10908 cd ..
10909 rm -f -r conftest.dir
10912 # Standard set of common directories for X headers.
10913 # Check X11 before X11Rn because it is often a symlink to the current release.
10914 ac_x_header_dirs='
10915 /usr/X11/include
10916 /usr/X11R7/include
10917 /usr/X11R6/include
10918 /usr/X11R5/include
10919 /usr/X11R4/include
10921 /usr/include/X11
10922 /usr/include/X11R7
10923 /usr/include/X11R6
10924 /usr/include/X11R5
10925 /usr/include/X11R4
10927 /usr/local/X11/include
10928 /usr/local/X11R7/include
10929 /usr/local/X11R6/include
10930 /usr/local/X11R5/include
10931 /usr/local/X11R4/include
10933 /usr/local/include/X11
10934 /usr/local/include/X11R7
10935 /usr/local/include/X11R6
10936 /usr/local/include/X11R5
10937 /usr/local/include/X11R4
10939 /usr/X386/include
10940 /usr/x386/include
10941 /usr/XFree86/include/X11
10943 /usr/include
10944 /usr/local/include
10945 /usr/unsupported/include
10946 /usr/athena/include
10947 /usr/local/x11r5/include
10948 /usr/lpp/Xamples/include
10950 /usr/openwin/include
10951 /usr/openwin/share/include'
10953 if test "$ac_x_includes" = no; then
10954 # Guess where to find include files, by looking for Xlib.h.
10955 # First, try using that file with no special directory specified.
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10958 #include <X11/Xlib.h>
10959 _ACEOF
10960 if ac_fn_c_try_cpp "$LINENO"; then :
10961 # We can compile using X headers with no special include directory.
10962 ac_x_includes=
10963 else
10964 for ac_dir in $ac_x_header_dirs; do
10965 if test -r "$ac_dir/X11/Xlib.h"; then
10966 ac_x_includes=$ac_dir
10967 break
10969 done
10971 rm -f conftest.err conftest.i conftest.$ac_ext
10972 fi # $ac_x_includes = no
10974 if test "$ac_x_libraries" = no; then
10975 # Check for the libraries.
10976 # See if we find them without any special options.
10977 # Don't add to $LIBS permanently.
10978 ac_save_LIBS=$LIBS
10979 LIBS="-lX11 $LIBS"
10980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10982 #include <X11/Xlib.h>
10984 main ()
10986 XrmInitialize ()
10988 return 0;
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"; then :
10992 LIBS=$ac_save_LIBS
10993 # We can link X programs with no special library path.
10994 ac_x_libraries=
10995 else
10996 LIBS=$ac_save_LIBS
10997 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10999 # Don't even attempt the hair of trying to link an X program!
11000 for ac_extension in a so sl dylib la dll; do
11001 if test -r "$ac_dir/libX11.$ac_extension"; then
11002 ac_x_libraries=$ac_dir
11003 break 2
11005 done
11006 done
11008 rm -f core conftest.err conftest.$ac_objext \
11009 conftest$ac_exeext conftest.$ac_ext
11010 fi # $ac_x_libraries = no
11012 case $ac_x_includes,$ac_x_libraries in #(
11013 no,* | *,no | *\'*)
11014 # Didn't find X, or a directory has "'" in its name.
11015 ac_cv_have_x="have_x=no";; #(
11017 # Record where we found X for the cache.
11018 ac_cv_have_x="have_x=yes\
11019 ac_x_includes='$ac_x_includes'\
11020 ac_x_libraries='$ac_x_libraries'"
11021 esac
11023 ;; #(
11024 *) have_x=yes;;
11025 esac
11026 eval "$ac_cv_have_x"
11027 fi # $with_x != no
11029 if test "$have_x" != yes; then
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11031 $as_echo "$have_x" >&6; }
11032 no_x=yes
11033 else
11034 # If each of the values was on the command line, it overrides each guess.
11035 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11036 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11037 # Update the cache value to reflect the command line values.
11038 ac_cv_have_x="have_x=yes\
11039 ac_x_includes='$x_includes'\
11040 ac_x_libraries='$x_libraries'"
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11042 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11045 if test "$no_x" = yes; then
11046 # Not all programs may use this symbol, but it does not hurt to define it.
11048 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11050 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11051 else
11052 if test -n "$x_includes"; then
11053 X_CFLAGS="$X_CFLAGS -I$x_includes"
11056 # It would also be nice to do this for all -L options, not just this one.
11057 if test -n "$x_libraries"; then
11058 X_LIBS="$X_LIBS -L$x_libraries"
11059 # For Solaris; some versions of Sun CC require a space after -R and
11060 # others require no space. Words are not sufficient . . . .
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11062 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11063 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11064 ac_xsave_c_werror_flag=$ac_c_werror_flag
11065 ac_c_werror_flag=yes
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11070 main ()
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"; then :
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11079 $as_echo "no" >&6; }
11080 X_LIBS="$X_LIBS -R$x_libraries"
11081 else
11082 LIBS="$ac_xsave_LIBS -R $x_libraries"
11083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11087 main ()
11091 return 0;
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"; then :
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11096 $as_echo "yes" >&6; }
11097 X_LIBS="$X_LIBS -R $x_libraries"
11098 else
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11100 $as_echo "neither works" >&6; }
11102 rm -f core conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11105 rm -f core conftest.err conftest.$ac_objext \
11106 conftest$ac_exeext conftest.$ac_ext
11107 ac_c_werror_flag=$ac_xsave_c_werror_flag
11108 LIBS=$ac_xsave_LIBS
11111 # Check for system-dependent libraries X programs must link with.
11112 # Do this before checking for the system-independent R6 libraries
11113 # (-lICE), since we may need -lsocket or whatever for X linking.
11115 if test "$ISC" = yes; then
11116 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11117 else
11118 # Martyn Johnson says this is needed for Ultrix, if the X
11119 # libraries were built with DECnet support. And Karl Berry says
11120 # the Alpha needs dnet_stub (dnet does not exist).
11121 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11128 #ifdef __cplusplus
11129 extern "C"
11130 #endif
11131 char XOpenDisplay ();
11133 main ()
11135 return XOpenDisplay ();
11137 return 0;
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"; then :
11142 else
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11144 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11145 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11146 $as_echo_n "(cached) " >&6
11147 else
11148 ac_check_lib_save_LIBS=$LIBS
11149 LIBS="-ldnet $LIBS"
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11153 /* Override any GCC internal prototype to avoid an error.
11154 Use char because int might match the return type of a GCC
11155 builtin and then its argument prototype would still apply. */
11156 #ifdef __cplusplus
11157 extern "C"
11158 #endif
11159 char dnet_ntoa ();
11161 main ()
11163 return dnet_ntoa ();
11165 return 0;
11167 _ACEOF
11168 if ac_fn_c_try_link "$LINENO"; then :
11169 ac_cv_lib_dnet_dnet_ntoa=yes
11170 else
11171 ac_cv_lib_dnet_dnet_ntoa=no
11173 rm -f core conftest.err conftest.$ac_objext \
11174 conftest$ac_exeext conftest.$ac_ext
11175 LIBS=$ac_check_lib_save_LIBS
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11178 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11179 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11180 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11183 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11185 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11186 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11187 $as_echo_n "(cached) " >&6
11188 else
11189 ac_check_lib_save_LIBS=$LIBS
11190 LIBS="-ldnet_stub $LIBS"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11197 #ifdef __cplusplus
11198 extern "C"
11199 #endif
11200 char dnet_ntoa ();
11202 main ()
11204 return dnet_ntoa ();
11206 return 0;
11208 _ACEOF
11209 if ac_fn_c_try_link "$LINENO"; then :
11210 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11211 else
11212 ac_cv_lib_dnet_stub_dnet_ntoa=no
11214 rm -f core conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS=$ac_check_lib_save_LIBS
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11219 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11220 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11221 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11226 rm -f core conftest.err conftest.$ac_objext \
11227 conftest$ac_exeext conftest.$ac_ext
11228 LIBS="$ac_xsave_LIBS"
11230 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11231 # to get the SysV transport functions.
11232 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11233 # needs -lnsl.
11234 # The nsl library prevents programs from opening the X display
11235 # on Irix 5.2, according to T.E. Dickey.
11236 # The functions gethostbyname, getservbyname, and inet_addr are
11237 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11238 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11239 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11243 if test $ac_cv_func_gethostbyname = no; then
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11245 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11246 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11247 $as_echo_n "(cached) " >&6
11248 else
11249 ac_check_lib_save_LIBS=$LIBS
11250 LIBS="-lnsl $LIBS"
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char gethostbyname ();
11262 main ()
11264 return gethostbyname ();
11266 return 0;
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_nsl_gethostbyname=yes
11271 else
11272 ac_cv_lib_nsl_gethostbyname=no
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11279 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11280 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11281 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11284 if test $ac_cv_lib_nsl_gethostbyname = no; then
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11286 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11287 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11288 $as_echo_n "(cached) " >&6
11289 else
11290 ac_check_lib_save_LIBS=$LIBS
11291 LIBS="-lbsd $LIBS"
11292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11293 /* end confdefs.h. */
11295 /* Override any GCC internal prototype to avoid an error.
11296 Use char because int might match the return type of a GCC
11297 builtin and then its argument prototype would still apply. */
11298 #ifdef __cplusplus
11299 extern "C"
11300 #endif
11301 char gethostbyname ();
11303 main ()
11305 return gethostbyname ();
11307 return 0;
11309 _ACEOF
11310 if ac_fn_c_try_link "$LINENO"; then :
11311 ac_cv_lib_bsd_gethostbyname=yes
11312 else
11313 ac_cv_lib_bsd_gethostbyname=no
11315 rm -f core conftest.err conftest.$ac_objext \
11316 conftest$ac_exeext conftest.$ac_ext
11317 LIBS=$ac_check_lib_save_LIBS
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11320 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11321 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11322 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11328 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11329 # socket/setsockopt and other routines are undefined under SCO ODT
11330 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11331 # on later versions), says Simon Leinen: it contains gethostby*
11332 # variants that don't use the name server (or something). -lsocket
11333 # must be given before -lnsl if both are needed. We assume that
11334 # if connect needs -lnsl, so does gethostbyname.
11335 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11336 if test "x$ac_cv_func_connect" = xyes; then :
11340 if test $ac_cv_func_connect = no; then
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11342 $as_echo_n "checking for connect in -lsocket... " >&6; }
11343 if ${ac_cv_lib_socket_connect+:} false; then :
11344 $as_echo_n "(cached) " >&6
11345 else
11346 ac_check_lib_save_LIBS=$LIBS
11347 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11349 /* end confdefs.h. */
11351 /* Override any GCC internal prototype to avoid an error.
11352 Use char because int might match the return type of a GCC
11353 builtin and then its argument prototype would still apply. */
11354 #ifdef __cplusplus
11355 extern "C"
11356 #endif
11357 char connect ();
11359 main ()
11361 return connect ();
11363 return 0;
11365 _ACEOF
11366 if ac_fn_c_try_link "$LINENO"; then :
11367 ac_cv_lib_socket_connect=yes
11368 else
11369 ac_cv_lib_socket_connect=no
11371 rm -f core conftest.err conftest.$ac_objext \
11372 conftest$ac_exeext conftest.$ac_ext
11373 LIBS=$ac_check_lib_save_LIBS
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11376 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11377 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11378 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11383 # Guillermo Gomez says -lposix is necessary on A/UX.
11384 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11385 if test "x$ac_cv_func_remove" = xyes; then :
11389 if test $ac_cv_func_remove = no; then
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11391 $as_echo_n "checking for remove in -lposix... " >&6; }
11392 if ${ac_cv_lib_posix_remove+:} false; then :
11393 $as_echo_n "(cached) " >&6
11394 else
11395 ac_check_lib_save_LIBS=$LIBS
11396 LIBS="-lposix $LIBS"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11400 /* Override any GCC internal prototype to avoid an error.
11401 Use char because int might match the return type of a GCC
11402 builtin and then its argument prototype would still apply. */
11403 #ifdef __cplusplus
11404 extern "C"
11405 #endif
11406 char remove ();
11408 main ()
11410 return remove ();
11412 return 0;
11414 _ACEOF
11415 if ac_fn_c_try_link "$LINENO"; then :
11416 ac_cv_lib_posix_remove=yes
11417 else
11418 ac_cv_lib_posix_remove=no
11420 rm -f core conftest.err conftest.$ac_objext \
11421 conftest$ac_exeext conftest.$ac_ext
11422 LIBS=$ac_check_lib_save_LIBS
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11425 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11426 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11427 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11432 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11433 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11434 if test "x$ac_cv_func_shmat" = xyes; then :
11438 if test $ac_cv_func_shmat = no; then
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11440 $as_echo_n "checking for shmat in -lipc... " >&6; }
11441 if ${ac_cv_lib_ipc_shmat+:} false; then :
11442 $as_echo_n "(cached) " >&6
11443 else
11444 ac_check_lib_save_LIBS=$LIBS
11445 LIBS="-lipc $LIBS"
11446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h. */
11449 /* Override any GCC internal prototype to avoid an error.
11450 Use char because int might match the return type of a GCC
11451 builtin and then its argument prototype would still apply. */
11452 #ifdef __cplusplus
11453 extern "C"
11454 #endif
11455 char shmat ();
11457 main ()
11459 return shmat ();
11461 return 0;
11463 _ACEOF
11464 if ac_fn_c_try_link "$LINENO"; then :
11465 ac_cv_lib_ipc_shmat=yes
11466 else
11467 ac_cv_lib_ipc_shmat=no
11469 rm -f core conftest.err conftest.$ac_objext \
11470 conftest$ac_exeext conftest.$ac_ext
11471 LIBS=$ac_check_lib_save_LIBS
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11474 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11475 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11476 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11482 # Check for libraries that X11R6 Xt/Xaw programs need.
11483 ac_save_LDFLAGS=$LDFLAGS
11484 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11485 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11486 # check for ICE first), but we must link in the order -lSM -lICE or
11487 # we get undefined symbols. So assume we have SM if we have ICE.
11488 # These have to be linked with before -lX11, unlike the other
11489 # libraries we check for below, so use a different variable.
11490 # John Interrante, Karl Berry
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11492 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11493 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11494 $as_echo_n "(cached) " >&6
11495 else
11496 ac_check_lib_save_LIBS=$LIBS
11497 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11501 /* Override any GCC internal prototype to avoid an error.
11502 Use char because int might match the return type of a GCC
11503 builtin and then its argument prototype would still apply. */
11504 #ifdef __cplusplus
11505 extern "C"
11506 #endif
11507 char IceConnectionNumber ();
11509 main ()
11511 return IceConnectionNumber ();
11513 return 0;
11515 _ACEOF
11516 if ac_fn_c_try_link "$LINENO"; then :
11517 ac_cv_lib_ICE_IceConnectionNumber=yes
11518 else
11519 ac_cv_lib_ICE_IceConnectionNumber=no
11521 rm -f core conftest.err conftest.$ac_objext \
11522 conftest$ac_exeext conftest.$ac_ext
11523 LIBS=$ac_check_lib_save_LIBS
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11526 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11527 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11528 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11531 LDFLAGS=$ac_save_LDFLAGS
11536 if test "$have_x" = "yes"
11537 then
11538 ac_save_CPPFLAGS="$CPPFLAGS"
11539 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11542 $as_echo_n "checking for -lX11... " >&6; }
11543 if ${ac_cv_lib_soname_X11+:} false; then :
11544 $as_echo_n "(cached) " >&6
11545 else
11546 ac_check_soname_save_LIBS=$LIBS
11547 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11554 #ifdef __cplusplus
11555 extern "C"
11556 #endif
11557 char XCreateWindow ();
11559 main ()
11561 return XCreateWindow ();
11563 return 0;
11565 _ACEOF
11566 if ac_fn_c_try_link "$LINENO"; then :
11567 case "$LIBEXT" in
11568 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11569 dylib) ac_cv_lib_soname_X11=`$OTOOL -L conftest$ac_exeext | grep "libX11\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libX11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11570 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11571 if ${ac_cv_lib_soname_X11:+false} :; then :
11572 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11573 fi ;;
11574 esac
11575 else
11576 ac_cv_lib_soname_X11=
11578 rm -f core conftest.err conftest.$ac_objext \
11579 conftest$ac_exeext conftest.$ac_ext
11580 LIBS=$ac_check_soname_save_LIBS
11582 if ${ac_cv_lib_soname_X11:+false} :; then :
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11584 $as_echo "not found" >&6; }
11586 else
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11588 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11590 cat >>confdefs.h <<_ACEOF
11591 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11592 _ACEOF
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11597 $as_echo_n "checking for -lXext... " >&6; }
11598 if ${ac_cv_lib_soname_Xext+:} false; then :
11599 $as_echo_n "(cached) " >&6
11600 else
11601 ac_check_soname_save_LIBS=$LIBS
11602 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11606 /* Override any GCC internal prototype to avoid an error.
11607 Use char because int might match the return type of a GCC
11608 builtin and then its argument prototype would still apply. */
11609 #ifdef __cplusplus
11610 extern "C"
11611 #endif
11612 char XextCreateExtension ();
11614 main ()
11616 return XextCreateExtension ();
11618 return 0;
11620 _ACEOF
11621 if ac_fn_c_try_link "$LINENO"; then :
11622 case "$LIBEXT" in
11623 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11624 dylib) ac_cv_lib_soname_Xext=`$OTOOL -L conftest$ac_exeext | grep "libXext\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXext\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11625 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11626 if ${ac_cv_lib_soname_Xext:+false} :; then :
11627 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11628 fi ;;
11629 esac
11630 else
11631 ac_cv_lib_soname_Xext=
11633 rm -f core conftest.err conftest.$ac_objext \
11634 conftest$ac_exeext conftest.$ac_ext
11635 LIBS=$ac_check_soname_save_LIBS
11637 if ${ac_cv_lib_soname_Xext:+false} :; then :
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11639 $as_echo "not found" >&6; }
11641 else
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11643 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11645 cat >>confdefs.h <<_ACEOF
11646 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11647 _ACEOF
11649 X_LIBS="$X_LIBS -lXext"
11651 X_LIBS="$X_LIBS -lX11"
11653 for ac_header in X11/Xlib.h \
11654 X11/XKBlib.h \
11655 X11/Xutil.h \
11656 X11/Xcursor/Xcursor.h \
11657 X11/extensions/shape.h \
11658 X11/extensions/XInput.h \
11659 X11/extensions/XInput2.h \
11660 X11/extensions/XShm.h \
11661 X11/extensions/Xcomposite.h \
11662 X11/extensions/Xfixes.h \
11663 X11/extensions/Xinerama.h \
11664 X11/extensions/Xrandr.h \
11665 X11/extensions/Xrender.h \
11666 X11/extensions/xf86vmode.h \
11667 X11/extensions/xf86vmproto.h
11668 do :
11669 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11670 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11671 # include <X11/Xlib.h>
11672 #endif
11673 #ifdef HAVE_X11_XUTIL_H
11674 # include <X11/Xutil.h>
11675 #endif
11677 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11678 cat >>confdefs.h <<_ACEOF
11679 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11680 _ACEOF
11684 done
11687 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11688 then
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11690 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11691 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11692 $as_echo_n "(cached) " >&6
11693 else
11694 ac_check_lib_save_LIBS=$LIBS
11695 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11697 /* end confdefs.h. */
11699 /* Override any GCC internal prototype to avoid an error.
11700 Use char because int might match the return type of a GCC
11701 builtin and then its argument prototype would still apply. */
11702 #ifdef __cplusplus
11703 extern "C"
11704 #endif
11705 char XkbQueryExtension ();
11707 main ()
11709 return XkbQueryExtension ();
11711 return 0;
11713 _ACEOF
11714 if ac_fn_c_try_link "$LINENO"; then :
11715 ac_cv_lib_X11_XkbQueryExtension=yes
11716 else
11717 ac_cv_lib_X11_XkbQueryExtension=no
11719 rm -f core conftest.err conftest.$ac_objext \
11720 conftest$ac_exeext conftest.$ac_ext
11721 LIBS=$ac_check_lib_save_LIBS
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11724 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11725 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11727 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11733 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11734 then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11736 $as_echo_n "checking for -lXcursor... " >&6; }
11737 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11738 $as_echo_n "(cached) " >&6
11739 else
11740 ac_check_soname_save_LIBS=$LIBS
11741 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11743 /* end confdefs.h. */
11745 /* Override any GCC internal prototype to avoid an error.
11746 Use char because int might match the return type of a GCC
11747 builtin and then its argument prototype would still apply. */
11748 #ifdef __cplusplus
11749 extern "C"
11750 #endif
11751 char XcursorImageLoadCursor ();
11753 main ()
11755 return XcursorImageLoadCursor ();
11757 return 0;
11759 _ACEOF
11760 if ac_fn_c_try_link "$LINENO"; then :
11761 case "$LIBEXT" in
11762 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11763 dylib) ac_cv_lib_soname_Xcursor=`$OTOOL -L conftest$ac_exeext | grep "libXcursor\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11764 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11765 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11766 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11767 fi ;;
11768 esac
11769 else
11770 ac_cv_lib_soname_Xcursor=
11772 rm -f core conftest.err conftest.$ac_objext \
11773 conftest$ac_exeext conftest.$ac_ext
11774 LIBS=$ac_check_soname_save_LIBS
11776 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11778 $as_echo "not found" >&6; }
11780 else
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11782 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11784 cat >>confdefs.h <<_ACEOF
11785 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11786 _ACEOF
11791 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11792 case "x$with_xcursor" in
11793 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11794 xno) ;;
11795 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11796 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11797 esac
11801 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11802 then
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11804 $as_echo_n "checking for -lXi... " >&6; }
11805 if ${ac_cv_lib_soname_Xi+:} false; then :
11806 $as_echo_n "(cached) " >&6
11807 else
11808 ac_check_soname_save_LIBS=$LIBS
11809 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11813 /* Override any GCC internal prototype to avoid an error.
11814 Use char because int might match the return type of a GCC
11815 builtin and then its argument prototype would still apply. */
11816 #ifdef __cplusplus
11817 extern "C"
11818 #endif
11819 char XOpenDevice ();
11821 main ()
11823 return XOpenDevice ();
11825 return 0;
11827 _ACEOF
11828 if ac_fn_c_try_link "$LINENO"; then :
11829 case "$LIBEXT" in
11830 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11831 dylib) ac_cv_lib_soname_Xi=`$OTOOL -L conftest$ac_exeext | grep "libXi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11832 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11833 if ${ac_cv_lib_soname_Xi:+false} :; then :
11834 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11835 fi ;;
11836 esac
11837 else
11838 ac_cv_lib_soname_Xi=
11840 rm -f core conftest.err conftest.$ac_objext \
11841 conftest$ac_exeext conftest.$ac_ext
11842 LIBS=$ac_check_soname_save_LIBS
11844 if ${ac_cv_lib_soname_Xi:+false} :; then :
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11846 $as_echo "not found" >&6; }
11848 else
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11850 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11852 cat >>confdefs.h <<_ACEOF
11853 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11854 _ACEOF
11859 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11860 case "x$with_xinput" in
11861 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11862 xno) ;;
11863 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11864 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11865 esac
11869 if test "x$ac_cv_lib_soname_Xi" != x
11870 then
11871 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11872 case "x$with_xinput2" in
11873 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11874 xno) ;;
11875 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11876 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11877 esac
11882 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11883 then
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11885 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11886 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11887 $as_echo_n "(cached) " >&6
11888 else
11889 ac_check_lib_save_LIBS=$LIBS
11890 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11897 #ifdef __cplusplus
11898 extern "C"
11899 #endif
11900 char XShmQueryExtension ();
11902 main ()
11904 return XShmQueryExtension ();
11906 return 0;
11908 _ACEOF
11909 if ac_fn_c_try_link "$LINENO"; then :
11910 ac_cv_lib_Xext_XShmQueryExtension=yes
11911 else
11912 ac_cv_lib_Xext_XShmQueryExtension=no
11914 rm -f core conftest.err conftest.$ac_objext \
11915 conftest$ac_exeext conftest.$ac_ext
11916 LIBS=$ac_check_lib_save_LIBS
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11919 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11920 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11922 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11927 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11928 case "x$with_xshm" in
11929 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11930 xno) ;;
11931 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11932 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11933 esac
11937 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11938 then
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11940 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11941 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11942 $as_echo_n "(cached) " >&6
11943 else
11944 ac_check_lib_save_LIBS=$LIBS
11945 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11949 /* Override any GCC internal prototype to avoid an error.
11950 Use char because int might match the return type of a GCC
11951 builtin and then its argument prototype would still apply. */
11952 #ifdef __cplusplus
11953 extern "C"
11954 #endif
11955 char XShapeQueryExtension ();
11957 main ()
11959 return XShapeQueryExtension ();
11961 return 0;
11963 _ACEOF
11964 if ac_fn_c_try_link "$LINENO"; then :
11965 ac_cv_lib_Xext_XShapeQueryExtension=yes
11966 else
11967 ac_cv_lib_Xext_XShapeQueryExtension=no
11969 rm -f core conftest.err conftest.$ac_objext \
11970 conftest$ac_exeext conftest.$ac_ext
11971 LIBS=$ac_check_lib_save_LIBS
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11974 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11975 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11977 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11982 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11983 case "x$with_xshape" in
11984 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11985 xno) ;;
11986 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11987 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11988 esac
11992 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11993 then
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11995 $as_echo_n "checking for -lXxf86vm... " >&6; }
11996 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11997 $as_echo_n "(cached) " >&6
11998 else
11999 ac_check_soname_save_LIBS=$LIBS
12000 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12004 /* Override any GCC internal prototype to avoid an error.
12005 Use char because int might match the return type of a GCC
12006 builtin and then its argument prototype would still apply. */
12007 #ifdef __cplusplus
12008 extern "C"
12009 #endif
12010 char XF86VidModeQueryExtension ();
12012 main ()
12014 return XF86VidModeQueryExtension ();
12016 return 0;
12018 _ACEOF
12019 if ac_fn_c_try_link "$LINENO"; then :
12020 case "$LIBEXT" in
12021 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12022 dylib) ac_cv_lib_soname_Xxf86vm=`$OTOOL -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12023 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12024 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12025 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12026 fi ;;
12027 esac
12028 else
12029 ac_cv_lib_soname_Xxf86vm=
12031 rm -f core conftest.err conftest.$ac_objext \
12032 conftest$ac_exeext conftest.$ac_ext
12033 LIBS=$ac_check_soname_save_LIBS
12035 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12037 $as_echo "not found" >&6; }
12039 else
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12041 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12043 cat >>confdefs.h <<_ACEOF
12044 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12045 _ACEOF
12050 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12051 case "x$with_xxf86vm" in
12052 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12053 xno) ;;
12054 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12055 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12056 esac
12060 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12061 then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12063 $as_echo_n "checking for -lXrender... " >&6; }
12064 if ${ac_cv_lib_soname_Xrender+:} false; then :
12065 $as_echo_n "(cached) " >&6
12066 else
12067 ac_check_soname_save_LIBS=$LIBS
12068 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char XRenderQueryExtension ();
12080 main ()
12082 return XRenderQueryExtension ();
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 case "$LIBEXT" in
12089 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12090 dylib) ac_cv_lib_soname_Xrender=`$OTOOL -L conftest$ac_exeext | grep "libXrender\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12091 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12092 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12093 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12094 fi ;;
12095 esac
12096 else
12097 ac_cv_lib_soname_Xrender=
12099 rm -f core conftest.err conftest.$ac_objext \
12100 conftest$ac_exeext conftest.$ac_ext
12101 LIBS=$ac_check_soname_save_LIBS
12103 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12105 $as_echo "not found" >&6; }
12107 else
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12109 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12111 cat >>confdefs.h <<_ACEOF
12112 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12113 _ACEOF
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12116 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12117 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12118 $as_echo_n "(cached) " >&6
12119 else
12120 ac_check_lib_save_LIBS=$LIBS
12121 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12125 /* Override any GCC internal prototype to avoid an error.
12126 Use char because int might match the return type of a GCC
12127 builtin and then its argument prototype would still apply. */
12128 #ifdef __cplusplus
12129 extern "C"
12130 #endif
12131 char XRenderSetPictureTransform ();
12133 main ()
12135 return XRenderSetPictureTransform ();
12137 return 0;
12139 _ACEOF
12140 if ac_fn_c_try_link "$LINENO"; then :
12141 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12142 else
12143 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12145 rm -f core conftest.err conftest.$ac_objext \
12146 conftest$ac_exeext conftest.$ac_ext
12147 LIBS=$ac_check_lib_save_LIBS
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12150 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12151 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12153 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12158 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12159 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12160 $as_echo_n "(cached) " >&6
12161 else
12162 ac_check_lib_save_LIBS=$LIBS
12163 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 /* Override any GCC internal prototype to avoid an error.
12168 Use char because int might match the return type of a GCC
12169 builtin and then its argument prototype would still apply. */
12170 #ifdef __cplusplus
12171 extern "C"
12172 #endif
12173 char XRenderCreateLinearGradient ();
12175 main ()
12177 return XRenderCreateLinearGradient ();
12179 return 0;
12181 _ACEOF
12182 if ac_fn_c_try_link "$LINENO"; then :
12183 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12184 else
12185 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12187 rm -f core conftest.err conftest.$ac_objext \
12188 conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_lib_save_LIBS
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12192 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12193 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12195 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12202 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12203 case "x$with_xrender" in
12204 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12205 xno) ;;
12206 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12207 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12208 esac
12212 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12213 then
12214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12215 /* end confdefs.h. */
12216 #include <X11/Xlib.h>
12217 #include <X11/extensions/Xrandr.h>
12219 main ()
12221 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12223 return 0;
12225 _ACEOF
12226 if ac_fn_c_try_compile "$LINENO"; then :
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12228 $as_echo_n "checking for -lXrandr... " >&6; }
12229 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12230 $as_echo_n "(cached) " >&6
12231 else
12232 ac_check_soname_save_LIBS=$LIBS
12233 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12235 /* end confdefs.h. */
12237 /* Override any GCC internal prototype to avoid an error.
12238 Use char because int might match the return type of a GCC
12239 builtin and then its argument prototype would still apply. */
12240 #ifdef __cplusplus
12241 extern "C"
12242 #endif
12243 char XRRQueryExtension ();
12245 main ()
12247 return XRRQueryExtension ();
12249 return 0;
12251 _ACEOF
12252 if ac_fn_c_try_link "$LINENO"; then :
12253 case "$LIBEXT" in
12254 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12255 dylib) ac_cv_lib_soname_Xrandr=`$OTOOL -L conftest$ac_exeext | grep "libXrandr\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12256 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12257 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12258 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12259 fi ;;
12260 esac
12261 else
12262 ac_cv_lib_soname_Xrandr=
12264 rm -f core conftest.err conftest.$ac_objext \
12265 conftest$ac_exeext conftest.$ac_ext
12266 LIBS=$ac_check_soname_save_LIBS
12268 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12270 $as_echo "not found" >&6; }
12272 else
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12274 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12276 cat >>confdefs.h <<_ACEOF
12277 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12278 _ACEOF
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12282 #include <X11/Xlib.h>
12283 #include <X11/extensions/Xrandr.h>
12285 main ()
12287 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12289 return 0;
12291 _ACEOF
12292 if ac_fn_c_try_compile "$LINENO"; then :
12294 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12296 else
12297 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12304 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12305 case "x$with_xrandr" in
12306 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12307 xno) ;;
12308 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12309 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12310 esac
12314 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12315 then
12316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12318 #include <X11/Xlib.h>
12319 #include <X11/extensions/Xfixes.h>
12321 main ()
12323 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12325 return 0;
12327 _ACEOF
12328 if ac_fn_c_try_compile "$LINENO"; then :
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12330 $as_echo_n "checking for -lXfixes... " >&6; }
12331 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12332 $as_echo_n "(cached) " >&6
12333 else
12334 ac_check_soname_save_LIBS=$LIBS
12335 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12339 /* Override any GCC internal prototype to avoid an error.
12340 Use char because int might match the return type of a GCC
12341 builtin and then its argument prototype would still apply. */
12342 #ifdef __cplusplus
12343 extern "C"
12344 #endif
12345 char XFixesQueryVersion ();
12347 main ()
12349 return XFixesQueryVersion ();
12351 return 0;
12353 _ACEOF
12354 if ac_fn_c_try_link "$LINENO"; then :
12355 case "$LIBEXT" in
12356 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12357 dylib) ac_cv_lib_soname_Xfixes=`$OTOOL -L conftest$ac_exeext | grep "libXfixes\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXfixes\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12358 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12359 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12360 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12361 fi ;;
12362 esac
12363 else
12364 ac_cv_lib_soname_Xfixes=
12366 rm -f core conftest.err conftest.$ac_objext \
12367 conftest$ac_exeext conftest.$ac_ext
12368 LIBS=$ac_check_soname_save_LIBS
12370 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12372 $as_echo "not found" >&6; }
12374 else
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12376 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12378 cat >>confdefs.h <<_ACEOF
12379 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12380 _ACEOF
12385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12387 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12388 case "x$with_xfixes" in
12389 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12390 xno) ;;
12391 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12392 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12393 esac
12397 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12398 then
12399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12401 #include <X11/Xlib.h>
12402 #include <X11/extensions/Xinerama.h>
12404 main ()
12406 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12408 return 0;
12410 _ACEOF
12411 if ac_fn_c_try_compile "$LINENO"; then :
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12413 $as_echo_n "checking for -lXinerama... " >&6; }
12414 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12415 $as_echo_n "(cached) " >&6
12416 else
12417 ac_check_soname_save_LIBS=$LIBS
12418 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12422 /* Override any GCC internal prototype to avoid an error.
12423 Use char because int might match the return type of a GCC
12424 builtin and then its argument prototype would still apply. */
12425 #ifdef __cplusplus
12426 extern "C"
12427 #endif
12428 char XineramaQueryScreens ();
12430 main ()
12432 return XineramaQueryScreens ();
12434 return 0;
12436 _ACEOF
12437 if ac_fn_c_try_link "$LINENO"; then :
12438 case "$LIBEXT" in
12439 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12440 dylib) ac_cv_lib_soname_Xinerama=`$OTOOL -L conftest$ac_exeext | grep "libXinerama\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12441 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12442 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12443 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12444 fi ;;
12445 esac
12446 else
12447 ac_cv_lib_soname_Xinerama=
12449 rm -f core conftest.err conftest.$ac_objext \
12450 conftest$ac_exeext conftest.$ac_ext
12451 LIBS=$ac_check_soname_save_LIBS
12453 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12455 $as_echo "not found" >&6; }
12457 else
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12459 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12461 cat >>confdefs.h <<_ACEOF
12462 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12463 _ACEOF
12468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12470 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12471 case "x$with_xinerama" in
12472 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12473 xno) ;;
12474 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12475 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12476 esac
12480 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12481 then
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12483 $as_echo_n "checking for -lXcomposite... " >&6; }
12484 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12485 $as_echo_n "(cached) " >&6
12486 else
12487 ac_check_soname_save_LIBS=$LIBS
12488 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12492 /* Override any GCC internal prototype to avoid an error.
12493 Use char because int might match the return type of a GCC
12494 builtin and then its argument prototype would still apply. */
12495 #ifdef __cplusplus
12496 extern "C"
12497 #endif
12498 char XCompositeRedirectWindow ();
12500 main ()
12502 return XCompositeRedirectWindow ();
12504 return 0;
12506 _ACEOF
12507 if ac_fn_c_try_link "$LINENO"; then :
12508 case "$LIBEXT" in
12509 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12510 dylib) ac_cv_lib_soname_Xcomposite=`$OTOOL -L conftest$ac_exeext | grep "libXcomposite\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12511 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12512 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12513 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12514 fi ;;
12515 esac
12516 else
12517 ac_cv_lib_soname_Xcomposite=
12519 rm -f core conftest.err conftest.$ac_objext \
12520 conftest$ac_exeext conftest.$ac_ext
12521 LIBS=$ac_check_soname_save_LIBS
12523 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12525 $as_echo "not found" >&6; }
12527 else
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12529 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12531 cat >>confdefs.h <<_ACEOF
12532 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12533 _ACEOF
12538 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12539 case "x$with_xcomposite" in
12540 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12541 xno) ;;
12542 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12543 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12544 esac
12548 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12549 #include <X11/Xlib.h>
12550 #endif
12552 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12554 cat >>confdefs.h <<_ACEOF
12555 #define HAVE_XICCALLBACK_CALLBACK 1
12556 _ACEOF
12560 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12561 #include <X11/Xlib.h>
12562 #endif
12564 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12566 cat >>confdefs.h <<_ACEOF
12567 #define HAVE_XEVENT_XCOOKIE 1
12568 _ACEOF
12575 opengl_msg=""
12576 if test "x$with_opengl" != "xno"
12577 then
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12579 $as_echo_n "checking for -lGL... " >&6; }
12580 if ${ac_cv_lib_soname_GL+:} false; then :
12581 $as_echo_n "(cached) " >&6
12582 else
12583 ac_check_soname_save_LIBS=$LIBS
12584 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12586 /* end confdefs.h. */
12588 /* Override any GCC internal prototype to avoid an error.
12589 Use char because int might match the return type of a GCC
12590 builtin and then its argument prototype would still apply. */
12591 #ifdef __cplusplus
12592 extern "C"
12593 #endif
12594 char glXCreateContext ();
12596 main ()
12598 return glXCreateContext ();
12600 return 0;
12602 _ACEOF
12603 if ac_fn_c_try_link "$LINENO"; then :
12604 case "$LIBEXT" in
12605 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12606 dylib) ac_cv_lib_soname_GL=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12607 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12608 if ${ac_cv_lib_soname_GL:+false} :; then :
12609 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12610 fi ;;
12611 esac
12612 else
12613 ac_cv_lib_soname_GL=
12615 rm -f core conftest.err conftest.$ac_objext \
12616 conftest$ac_exeext conftest.$ac_ext
12617 LIBS=$ac_check_soname_save_LIBS
12619 if ${ac_cv_lib_soname_GL:+false} :; then :
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12621 $as_echo "not found" >&6; }
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12623 $as_echo_n "checking for -lGL... " >&6; }
12624 if ${ac_cv_lib_soname_GL+:} false; then :
12625 $as_echo_n "(cached) " >&6
12626 else
12627 ac_check_soname_save_LIBS=$LIBS
12628 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
12629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12632 /* Override any GCC internal prototype to avoid an error.
12633 Use char because int might match the return type of a GCC
12634 builtin and then its argument prototype would still apply. */
12635 #ifdef __cplusplus
12636 extern "C"
12637 #endif
12638 char glXCreateContext ();
12640 main ()
12642 return glXCreateContext ();
12644 return 0;
12646 _ACEOF
12647 if ac_fn_c_try_link "$LINENO"; then :
12648 case "$LIBEXT" in
12649 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12650 dylib) ac_cv_lib_soname_GL=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12651 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12652 if ${ac_cv_lib_soname_GL:+false} :; then :
12653 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12654 fi ;;
12655 esac
12656 else
12657 ac_cv_lib_soname_GL=
12659 rm -f core conftest.err conftest.$ac_objext \
12660 conftest$ac_exeext conftest.$ac_ext
12661 LIBS=$ac_check_soname_save_LIBS
12663 if ${ac_cv_lib_soname_GL:+false} :; then :
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12665 $as_echo "not found" >&6; }
12666 if test -f /usr/X11R6/lib/libGL.a
12667 then
12668 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12669 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12670 else
12671 opengl_msg="No OpenGL library found on this system."
12673 else
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12675 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12677 cat >>confdefs.h <<_ACEOF
12678 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12679 _ACEOF
12681 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
12683 else
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12685 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12687 cat >>confdefs.h <<_ACEOF
12688 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12689 _ACEOF
12691 OPENGL_LIBS="-lGL"
12693 if test "x$with_osmesa" != "xno"
12694 then
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12696 $as_echo_n "checking for -lOSMesa... " >&6; }
12697 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12698 $as_echo_n "(cached) " >&6
12699 else
12700 ac_check_soname_save_LIBS=$LIBS
12701 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12703 /* end confdefs.h. */
12705 /* Override any GCC internal prototype to avoid an error.
12706 Use char because int might match the return type of a GCC
12707 builtin and then its argument prototype would still apply. */
12708 #ifdef __cplusplus
12709 extern "C"
12710 #endif
12711 char OSMesaGetProcAddress ();
12713 main ()
12715 return OSMesaGetProcAddress ();
12717 return 0;
12719 _ACEOF
12720 if ac_fn_c_try_link "$LINENO"; then :
12721 case "$LIBEXT" in
12722 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12723 dylib) ac_cv_lib_soname_OSMesa=`$OTOOL -L conftest$ac_exeext | grep "libOSMesa\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libOSMesa\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12724 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12725 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12726 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12727 fi ;;
12728 esac
12729 else
12730 ac_cv_lib_soname_OSMesa=
12732 rm -f core conftest.err conftest.$ac_objext \
12733 conftest$ac_exeext conftest.$ac_ext
12734 LIBS=$ac_check_soname_save_LIBS
12736 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12738 $as_echo "not found" >&6; }
12740 else
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12742 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12744 cat >>confdefs.h <<_ACEOF
12745 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12746 _ACEOF
12750 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12751 case "x$with_osmesa" in
12752 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12753 xno) ;;
12754 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12755 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12756 esac
12761 if test -n "$opengl_msg"; then :
12762 case "x$with_opengl" in
12763 x) as_fn_append wine_warnings "|$opengl_msg
12764 OpenGL and Direct3D won't be supported." ;;
12765 xno) ;;
12766 *) as_fn_error $? "$opengl_msg
12767 OpenGL and Direct3D won't be supported.
12768 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12769 esac
12773 CPPFLAGS="$ac_save_CPPFLAGS"
12774 else
12775 X_CFLAGS=""
12776 X_LIBS=""
12779 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12780 then
12781 if test "x$X_LIBS" = "x"; then :
12782 case "x$with_x" in
12783 xno) ;;
12784 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12785 without X support, which probably isn't what you want. You will need
12786 to install ${notice_platform}development packages of Xlib at the very least.
12787 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12788 esac
12789 enable_winex11_drv=${enable_winex11_drv:-no}
12791 else
12792 if test "x$X_LIBS" = "x"; then :
12793 case "x$with_x" in
12794 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12795 xno) ;;
12796 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12797 This is an error since --with-x was requested." "$LINENO" 5 ;;
12798 esac
12799 enable_winex11_drv=${enable_winex11_drv:-no}
12803 if test "$ac_cv_header_CL_cl_h" = "yes"
12804 then
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12806 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12807 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12808 $as_echo_n "(cached) " >&6
12809 else
12810 ac_check_lib_save_LIBS=$LIBS
12811 LIBS="-lOpenCL $LIBS"
12812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12815 /* Override any GCC internal prototype to avoid an error.
12816 Use char because int might match the return type of a GCC
12817 builtin and then its argument prototype would still apply. */
12818 #ifdef __cplusplus
12819 extern "C"
12820 #endif
12821 char clGetPlatformInfo ();
12823 main ()
12825 return clGetPlatformInfo ();
12827 return 0;
12829 _ACEOF
12830 if ac_fn_c_try_link "$LINENO"; then :
12831 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12832 else
12833 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12835 rm -f core conftest.err conftest.$ac_objext \
12836 conftest$ac_exeext conftest.$ac_ext
12837 LIBS=$ac_check_lib_save_LIBS
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12840 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12841 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12842 OPENCL_LIBS="-lOpenCL"
12847 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12848 case "x$with_opencl" in
12849 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12850 xno) ;;
12851 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12852 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12853 esac
12854 enable_opencl=${enable_opencl:-no}
12857 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12858 then
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12860 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12861 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12862 $as_echo_n "(cached) " >&6
12863 else
12864 ac_check_lib_save_LIBS=$LIBS
12865 LIBS="-lpcap $LIBS"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12872 #ifdef __cplusplus
12873 extern "C"
12874 #endif
12875 char pcap_create ();
12877 main ()
12879 return pcap_create ();
12881 return 0;
12883 _ACEOF
12884 if ac_fn_c_try_link "$LINENO"; then :
12885 ac_cv_lib_pcap_pcap_create=yes
12886 else
12887 ac_cv_lib_pcap_pcap_create=no
12889 rm -f core conftest.err conftest.$ac_objext \
12890 conftest$ac_exeext conftest.$ac_ext
12891 LIBS=$ac_check_lib_save_LIBS
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12894 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12895 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12896 PCAP_LIBS="-lpcap"
12901 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12902 case "x$with_pcap" in
12903 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12904 xno) ;;
12905 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12906 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12907 esac
12908 enable_wpcap=${enable_wpcap:-no}
12912 if test "x$with_xml" != "xno"
12913 then
12914 if ${XML2_CFLAGS:+false} :; then :
12915 if ${PKG_CONFIG+:} false; then :
12916 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12919 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12920 if ${XML2_LIBS:+false} :; then :
12921 if ${PKG_CONFIG+:} false; then :
12922 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12925 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12926 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12927 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12928 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12929 ac_save_CPPFLAGS=$CPPFLAGS
12930 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12931 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12932 do :
12933 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12934 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12935 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12936 cat >>confdefs.h <<_ACEOF
12937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12938 _ACEOF
12942 done
12944 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
12945 then
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12947 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12948 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12949 $as_echo_n "(cached) " >&6
12950 else
12951 ac_check_lib_save_LIBS=$LIBS
12952 LIBS="-lxml2 $XML2_LIBS $LIBS"
12953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12956 /* Override any GCC internal prototype to avoid an error.
12957 Use char because int might match the return type of a GCC
12958 builtin and then its argument prototype would still apply. */
12959 #ifdef __cplusplus
12960 extern "C"
12961 #endif
12962 char xmlParseMemory ();
12964 main ()
12966 return xmlParseMemory ();
12968 return 0;
12970 _ACEOF
12971 if ac_fn_c_try_link "$LINENO"; then :
12972 ac_cv_lib_xml2_xmlParseMemory=yes
12973 else
12974 ac_cv_lib_xml2_xmlParseMemory=no
12976 rm -f core conftest.err conftest.$ac_objext \
12977 conftest$ac_exeext conftest.$ac_ext
12978 LIBS=$ac_check_lib_save_LIBS
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12981 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12982 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12984 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12986 else
12987 XML2_LIBS=""
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12991 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12992 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12993 $as_echo_n "(cached) " >&6
12994 else
12995 ac_check_lib_save_LIBS=$LIBS
12996 LIBS="-lxml2 $XML2_LIBS $LIBS"
12997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12998 /* end confdefs.h. */
13000 /* Override any GCC internal prototype to avoid an error.
13001 Use char because int might match the return type of a GCC
13002 builtin and then its argument prototype would still apply. */
13003 #ifdef __cplusplus
13004 extern "C"
13005 #endif
13006 char xmlReadMemory ();
13008 main ()
13010 return xmlReadMemory ();
13012 return 0;
13014 _ACEOF
13015 if ac_fn_c_try_link "$LINENO"; then :
13016 ac_cv_lib_xml2_xmlReadMemory=yes
13017 else
13018 ac_cv_lib_xml2_xmlReadMemory=no
13020 rm -f core conftest.err conftest.$ac_objext \
13021 conftest$ac_exeext conftest.$ac_ext
13022 LIBS=$ac_check_lib_save_LIBS
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13025 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13026 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13028 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13033 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13034 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13035 $as_echo_n "(cached) " >&6
13036 else
13037 ac_check_lib_save_LIBS=$LIBS
13038 LIBS="-lxml2 $XML2_LIBS $LIBS"
13039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13040 /* end confdefs.h. */
13042 /* Override any GCC internal prototype to avoid an error.
13043 Use char because int might match the return type of a GCC
13044 builtin and then its argument prototype would still apply. */
13045 #ifdef __cplusplus
13046 extern "C"
13047 #endif
13048 char xmlNewDocPI ();
13050 main ()
13052 return xmlNewDocPI ();
13054 return 0;
13056 _ACEOF
13057 if ac_fn_c_try_link "$LINENO"; then :
13058 ac_cv_lib_xml2_xmlNewDocPI=yes
13059 else
13060 ac_cv_lib_xml2_xmlNewDocPI=no
13062 rm -f core conftest.err conftest.$ac_objext \
13063 conftest$ac_exeext conftest.$ac_ext
13064 LIBS=$ac_check_lib_save_LIBS
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13067 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13068 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13070 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13075 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13076 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13077 $as_echo_n "(cached) " >&6
13078 else
13079 ac_check_lib_save_LIBS=$LIBS
13080 LIBS="-lxml2 $XML2_LIBS $LIBS"
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13084 /* Override any GCC internal prototype to avoid an error.
13085 Use char because int might match the return type of a GCC
13086 builtin and then its argument prototype would still apply. */
13087 #ifdef __cplusplus
13088 extern "C"
13089 #endif
13090 char xmlSchemaSetParserStructuredErrors ();
13092 main ()
13094 return xmlSchemaSetParserStructuredErrors ();
13096 return 0;
13098 _ACEOF
13099 if ac_fn_c_try_link "$LINENO"; then :
13100 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13101 else
13102 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13104 rm -f core conftest.err conftest.$ac_objext \
13105 conftest$ac_exeext conftest.$ac_ext
13106 LIBS=$ac_check_lib_save_LIBS
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13109 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13110 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13112 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13117 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13118 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13119 $as_echo_n "(cached) " >&6
13120 else
13121 ac_check_lib_save_LIBS=$LIBS
13122 LIBS="-lxml2 $XML2_LIBS $LIBS"
13123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13126 /* Override any GCC internal prototype to avoid an error.
13127 Use char because int might match the return type of a GCC
13128 builtin and then its argument prototype would still apply. */
13129 #ifdef __cplusplus
13130 extern "C"
13131 #endif
13132 char xmlSchemaSetValidStructuredErrors ();
13134 main ()
13136 return xmlSchemaSetValidStructuredErrors ();
13138 return 0;
13140 _ACEOF
13141 if ac_fn_c_try_link "$LINENO"; then :
13142 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13143 else
13144 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13146 rm -f core conftest.err conftest.$ac_objext \
13147 conftest$ac_exeext conftest.$ac_ext
13148 LIBS=$ac_check_lib_save_LIBS
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13151 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13152 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13154 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13159 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13160 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13161 $as_echo_n "(cached) " >&6
13162 else
13163 ac_check_lib_save_LIBS=$LIBS
13164 LIBS="-lxml2 $XML2_LIBS $LIBS"
13165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13166 /* end confdefs.h. */
13168 /* Override any GCC internal prototype to avoid an error.
13169 Use char because int might match the return type of a GCC
13170 builtin and then its argument prototype would still apply. */
13171 #ifdef __cplusplus
13172 extern "C"
13173 #endif
13174 char xmlFirstElementChild ();
13176 main ()
13178 return xmlFirstElementChild ();
13180 return 0;
13182 _ACEOF
13183 if ac_fn_c_try_link "$LINENO"; then :
13184 ac_cv_lib_xml2_xmlFirstElementChild=yes
13185 else
13186 ac_cv_lib_xml2_xmlFirstElementChild=no
13188 rm -f core conftest.err conftest.$ac_objext \
13189 conftest$ac_exeext conftest.$ac_ext
13190 LIBS=$ac_check_lib_save_LIBS
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13193 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13194 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13196 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13200 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13202 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13204 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13208 else
13209 XML2_CFLAGS=""
13210 XML2_LIBS=""
13212 CPPFLAGS=$ac_save_CPPFLAGS
13215 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13216 case "x$with_xml" in
13217 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13218 xno) ;;
13219 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13220 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13221 esac
13225 if test "x$with_xslt" != "xno"
13226 then
13227 if ${XSLT_CFLAGS:+false} :; then :
13228 if ${PKG_CONFIG+:} false; then :
13229 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13232 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13233 if ${XSLT_LIBS:+false} :; then :
13234 if ${PKG_CONFIG+:} false; then :
13235 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13238 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13239 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13240 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13241 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13242 ac_save_CPPFLAGS=$CPPFLAGS
13243 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13244 for ac_header in libxslt/pattern.h libxslt/transform.h
13245 do :
13246 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13247 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13248 # include <libxslt/pattern.h>
13249 #endif
13251 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13252 cat >>confdefs.h <<_ACEOF
13253 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13254 _ACEOF
13258 done
13260 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13261 then
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13263 $as_echo_n "checking for -lxslt... " >&6; }
13264 if ${ac_cv_lib_soname_xslt+:} false; then :
13265 $as_echo_n "(cached) " >&6
13266 else
13267 ac_check_soname_save_LIBS=$LIBS
13268 LIBS="-lxslt $XSLT_LIBS $LIBS"
13269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13270 /* end confdefs.h. */
13272 /* Override any GCC internal prototype to avoid an error.
13273 Use char because int might match the return type of a GCC
13274 builtin and then its argument prototype would still apply. */
13275 #ifdef __cplusplus
13276 extern "C"
13277 #endif
13278 char xsltCompilePattern ();
13280 main ()
13282 return xsltCompilePattern ();
13284 return 0;
13286 _ACEOF
13287 if ac_fn_c_try_link "$LINENO"; then :
13288 case "$LIBEXT" in
13289 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13290 dylib) ac_cv_lib_soname_xslt=`$OTOOL -L conftest$ac_exeext | grep "libxslt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libxslt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13291 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13292 if ${ac_cv_lib_soname_xslt:+false} :; then :
13293 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13294 fi ;;
13295 esac
13296 else
13297 ac_cv_lib_soname_xslt=
13299 rm -f core conftest.err conftest.$ac_objext \
13300 conftest$ac_exeext conftest.$ac_ext
13301 LIBS=$ac_check_soname_save_LIBS
13303 if ${ac_cv_lib_soname_xslt:+false} :; then :
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13305 $as_echo "not found" >&6; }
13307 else
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13309 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13311 cat >>confdefs.h <<_ACEOF
13312 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13313 _ACEOF
13317 else
13318 XSLT_CFLAGS=""
13320 CPPFLAGS=$ac_save_CPPFLAGS
13323 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13324 case "x$with_xslt" in
13325 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13326 xno) ;;
13327 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13328 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13329 esac
13333 if test "x$with_inotify" != "xno"
13334 then
13335 if ${INOTIFY_CFLAGS:+false} :; then :
13336 if ${PKG_CONFIG+:} false; then :
13337 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13341 if ${INOTIFY_LIBS:+false} :; then :
13342 if ${PKG_CONFIG+:} false; then :
13343 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13348 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13349 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13350 ac_save_CPPFLAGS=$CPPFLAGS
13351 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13352 for ac_header in sys/inotify.h
13353 do :
13354 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13355 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13356 cat >>confdefs.h <<_ACEOF
13357 #define HAVE_SYS_INOTIFY_H 1
13358 _ACEOF
13362 done
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13365 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13366 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13367 $as_echo_n "(cached) " >&6
13368 else
13369 ac_check_lib_save_LIBS=$LIBS
13370 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13377 #ifdef __cplusplus
13378 extern "C"
13379 #endif
13380 char inotify_add_watch ();
13382 main ()
13384 return inotify_add_watch ();
13386 return 0;
13388 _ACEOF
13389 if ac_fn_c_try_link "$LINENO"; then :
13390 ac_cv_lib_inotify_inotify_add_watch=yes
13391 else
13392 ac_cv_lib_inotify_inotify_add_watch=no
13394 rm -f core conftest.err conftest.$ac_objext \
13395 conftest$ac_exeext conftest.$ac_ext
13396 LIBS=$ac_check_lib_save_LIBS
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13399 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13400 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13402 else
13403 INOTIFY_LIBS=""
13406 CPPFLAGS=$ac_save_CPPFLAGS
13409 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13410 case "x$with_inotify" in
13411 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13412 xno) ;;
13413 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13414 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13415 esac
13419 if test "x$with_dbus" != "xno"
13420 then
13421 if ${DBUS_CFLAGS:+false} :; then :
13422 if ${PKG_CONFIG+:} false; then :
13423 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13427 if ${DBUS_LIBS:+false} :; then :
13428 if ${PKG_CONFIG+:} false; then :
13429 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13434 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13435 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13436 ac_save_CPPFLAGS=$CPPFLAGS
13437 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13438 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13439 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13441 $as_echo_n "checking for -ldbus-1... " >&6; }
13442 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13443 $as_echo_n "(cached) " >&6
13444 else
13445 ac_check_soname_save_LIBS=$LIBS
13446 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h. */
13450 /* Override any GCC internal prototype to avoid an error.
13451 Use char because int might match the return type of a GCC
13452 builtin and then its argument prototype would still apply. */
13453 #ifdef __cplusplus
13454 extern "C"
13455 #endif
13456 char dbus_connection_close ();
13458 main ()
13460 return dbus_connection_close ();
13462 return 0;
13464 _ACEOF
13465 if ac_fn_c_try_link "$LINENO"; then :
13466 case "$LIBEXT" in
13467 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13468 dylib) ac_cv_lib_soname_dbus_1=`$OTOOL -L conftest$ac_exeext | grep "libdbus-1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13469 *) ac_cv_lib_soname_dbus_1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libdbus-1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libdbus-1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13470 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13471 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13472 fi ;;
13473 esac
13474 else
13475 ac_cv_lib_soname_dbus_1=
13477 rm -f core conftest.err conftest.$ac_objext \
13478 conftest$ac_exeext conftest.$ac_ext
13479 LIBS=$ac_check_soname_save_LIBS
13481 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13483 $as_echo "not found" >&6; }
13484 DBUS_CFLAGS=""
13485 else
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13487 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13489 cat >>confdefs.h <<_ACEOF
13490 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13491 _ACEOF
13495 else
13496 DBUS_CFLAGS=""
13500 CPPFLAGS=$ac_save_CPPFLAGS
13503 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13504 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13505 case "x$with_dbus" in
13506 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13507 xno) ;;
13508 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13509 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13510 esac
13514 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13515 then
13516 if ${HAL_CFLAGS:+false} :; then :
13517 if ${PKG_CONFIG+:} false; then :
13518 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13522 if ${HAL_LIBS:+false} :; then :
13523 if ${PKG_CONFIG+:} false; then :
13524 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13528 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13529 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13530 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13531 ac_save_CPPFLAGS=$CPPFLAGS
13532 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13533 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13534 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13536 $as_echo_n "checking for -lhal... " >&6; }
13537 if ${ac_cv_lib_soname_hal+:} false; then :
13538 $as_echo_n "(cached) " >&6
13539 else
13540 ac_check_soname_save_LIBS=$LIBS
13541 LIBS="-lhal $HAL_LIBS $LIBS"
13542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13543 /* end confdefs.h. */
13545 /* Override any GCC internal prototype to avoid an error.
13546 Use char because int might match the return type of a GCC
13547 builtin and then its argument prototype would still apply. */
13548 #ifdef __cplusplus
13549 extern "C"
13550 #endif
13551 char libhal_ctx_new ();
13553 main ()
13555 return libhal_ctx_new ();
13557 return 0;
13559 _ACEOF
13560 if ac_fn_c_try_link "$LINENO"; then :
13561 case "$LIBEXT" in
13562 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13563 dylib) ac_cv_lib_soname_hal=`$OTOOL -L conftest$ac_exeext | grep "libhal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13564 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13565 if ${ac_cv_lib_soname_hal:+false} :; then :
13566 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13567 fi ;;
13568 esac
13569 else
13570 ac_cv_lib_soname_hal=
13572 rm -f core conftest.err conftest.$ac_objext \
13573 conftest$ac_exeext conftest.$ac_ext
13574 LIBS=$ac_check_soname_save_LIBS
13576 if ${ac_cv_lib_soname_hal:+false} :; then :
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13578 $as_echo "not found" >&6; }
13579 HAL_CFLAGS=""
13580 else
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13582 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13584 cat >>confdefs.h <<_ACEOF
13585 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13586 _ACEOF
13590 else
13591 HAL_CFLAGS=""
13595 CPPFLAGS=$ac_save_CPPFLAGS
13597 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13598 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13599 case "x$with_hal" in
13600 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13601 xno) ;;
13602 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13603 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13604 esac
13609 if test "x$with_gnutls" != "xno"
13610 then
13611 if ${GNUTLS_CFLAGS:+false} :; then :
13612 if ${PKG_CONFIG+:} false; then :
13613 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13617 if ${GNUTLS_LIBS:+false} :; then :
13618 if ${PKG_CONFIG+:} false; then :
13619 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13623 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13624 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13625 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13626 ac_save_CPPFLAGS=$CPPFLAGS
13627 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13628 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13629 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13631 /* end confdefs.h. */
13632 #include <gnutls/gnutls.h>
13633 #include <gnutls/crypto.h>
13635 main ()
13637 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13639 return 0;
13641 _ACEOF
13642 if ac_fn_c_try_compile "$LINENO"; then :
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13644 $as_echo_n "checking for -lgnutls... " >&6; }
13645 if ${ac_cv_lib_soname_gnutls+:} false; then :
13646 $as_echo_n "(cached) " >&6
13647 else
13648 ac_check_soname_save_LIBS=$LIBS
13649 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13653 /* Override any GCC internal prototype to avoid an error.
13654 Use char because int might match the return type of a GCC
13655 builtin and then its argument prototype would still apply. */
13656 #ifdef __cplusplus
13657 extern "C"
13658 #endif
13659 char gnutls_global_init ();
13661 main ()
13663 return gnutls_global_init ();
13665 return 0;
13667 _ACEOF
13668 if ac_fn_c_try_link "$LINENO"; then :
13669 case "$LIBEXT" in
13670 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13671 dylib) ac_cv_lib_soname_gnutls=`$OTOOL -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13672 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13673 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13674 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13675 fi ;;
13676 esac
13677 else
13678 ac_cv_lib_soname_gnutls=
13680 rm -f core conftest.err conftest.$ac_objext \
13681 conftest$ac_exeext conftest.$ac_ext
13682 LIBS=$ac_check_soname_save_LIBS
13684 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13686 $as_echo "not found" >&6; }
13687 GNUTLS_CFLAGS=""
13688 else
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13690 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13692 cat >>confdefs.h <<_ACEOF
13693 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13694 _ACEOF
13698 ac_wine_check_funcs_save_LIBS="$LIBS"
13699 LIBS="$LIBS $GNUTLS_LIBS"
13700 for ac_func in gnutls_cipher_init
13701 do :
13702 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13703 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13704 cat >>confdefs.h <<_ACEOF
13705 #define HAVE_GNUTLS_CIPHER_INIT 1
13706 _ACEOF
13708 else
13709 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13711 done
13713 LIBS="$ac_wine_check_funcs_save_LIBS"
13715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13716 else
13717 GNUTLS_CFLAGS=""
13721 CPPFLAGS=$ac_save_CPPFLAGS
13724 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13725 case "x$with_gnutls" in
13726 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13727 xno) ;;
13728 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13729 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13730 esac
13734 if test "x$with_sane" != "xno"
13735 then
13736 if ${SANE_CFLAGS:+false} :; then :
13737 if ${PKG_CONFIG+:} false; then :
13738 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13741 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13742 if ${SANE_LIBS:+false} :; then :
13743 if ${PKG_CONFIG+:} false; then :
13744 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13747 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13749 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13750 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13751 ac_save_CPPFLAGS=$CPPFLAGS
13752 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13753 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13754 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13756 $as_echo_n "checking for -lsane... " >&6; }
13757 if ${ac_cv_lib_soname_sane+:} false; then :
13758 $as_echo_n "(cached) " >&6
13759 else
13760 ac_check_soname_save_LIBS=$LIBS
13761 LIBS="-lsane $SANE_LIBS $LIBS"
13762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13763 /* end confdefs.h. */
13765 /* Override any GCC internal prototype to avoid an error.
13766 Use char because int might match the return type of a GCC
13767 builtin and then its argument prototype would still apply. */
13768 #ifdef __cplusplus
13769 extern "C"
13770 #endif
13771 char sane_init ();
13773 main ()
13775 return sane_init ();
13777 return 0;
13779 _ACEOF
13780 if ac_fn_c_try_link "$LINENO"; then :
13781 case "$LIBEXT" in
13782 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13783 dylib) ac_cv_lib_soname_sane=`$OTOOL -L conftest$ac_exeext | grep "libsane\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13784 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13785 if ${ac_cv_lib_soname_sane:+false} :; then :
13786 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13787 fi ;;
13788 esac
13789 else
13790 ac_cv_lib_soname_sane=
13792 rm -f core conftest.err conftest.$ac_objext \
13793 conftest$ac_exeext conftest.$ac_ext
13794 LIBS=$ac_check_soname_save_LIBS
13796 if ${ac_cv_lib_soname_sane:+false} :; then :
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13798 $as_echo "not found" >&6; }
13799 SANE_CFLAGS=""
13800 else
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13802 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13804 cat >>confdefs.h <<_ACEOF
13805 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13806 _ACEOF
13810 else
13811 SANE_CFLAGS=""
13815 CPPFLAGS=$ac_save_CPPFLAGS
13818 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13819 case "x$with_sane" in
13820 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13821 xno) ;;
13822 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13823 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13824 esac
13828 if test "x$with_usb" != "xno"
13829 then
13830 if ${USB_CFLAGS:+false} :; then :
13831 if ${PKG_CONFIG+:} false; then :
13832 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13836 if ${USB_LIBS:+false} :; then :
13837 if ${PKG_CONFIG+:} false; then :
13838 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13842 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13843 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13844 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13845 ac_save_CPPFLAGS=$CPPFLAGS
13846 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13847 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13848 if test "x$ac_cv_header_libusb_h" = xyes; then :
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13850 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13851 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13852 $as_echo_n "(cached) " >&6
13853 else
13854 ac_check_lib_save_LIBS=$LIBS
13855 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13859 /* Override any GCC internal prototype to avoid an error.
13860 Use char because int might match the return type of a GCC
13861 builtin and then its argument prototype would still apply. */
13862 #ifdef __cplusplus
13863 extern "C"
13864 #endif
13865 char libusb_interrupt_event_handler ();
13867 main ()
13869 return libusb_interrupt_event_handler ();
13871 return 0;
13873 _ACEOF
13874 if ac_fn_c_try_link "$LINENO"; then :
13875 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13876 else
13877 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13879 rm -f core conftest.err conftest.$ac_objext \
13880 conftest$ac_exeext conftest.$ac_ext
13881 LIBS=$ac_check_lib_save_LIBS
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13884 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13885 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13887 else
13888 USB_LIBS=""
13891 else
13892 USB_LIBS=""
13896 CPPFLAGS=$ac_save_CPPFLAGS
13899 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13900 case "x$with_usb" in
13901 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13902 xno) ;;
13903 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13904 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13905 esac
13906 enable_wineusb_sys=${enable_wineusb_sys:-no}
13909 if test "x$with_v4l2" != "xno"
13910 then
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13912 $as_echo_n "checking for -lv4l2... " >&6; }
13913 if ${ac_cv_lib_soname_v4l2+:} false; then :
13914 $as_echo_n "(cached) " >&6
13915 else
13916 ac_check_soname_save_LIBS=$LIBS
13917 LIBS="-lv4l2 $LIBS"
13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13921 /* Override any GCC internal prototype to avoid an error.
13922 Use char because int might match the return type of a GCC
13923 builtin and then its argument prototype would still apply. */
13924 #ifdef __cplusplus
13925 extern "C"
13926 #endif
13927 char v4l2_open ();
13929 main ()
13931 return v4l2_open ();
13933 return 0;
13935 _ACEOF
13936 if ac_fn_c_try_link "$LINENO"; then :
13937 case "$LIBEXT" in
13938 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13939 dylib) ac_cv_lib_soname_v4l2=`$OTOOL -L conftest$ac_exeext | grep "libv4l2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13940 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13941 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13942 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13943 fi ;;
13944 esac
13945 else
13946 ac_cv_lib_soname_v4l2=
13948 rm -f core conftest.err conftest.$ac_objext \
13949 conftest$ac_exeext conftest.$ac_ext
13950 LIBS=$ac_check_soname_save_LIBS
13952 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13954 $as_echo "not found" >&6; }
13956 else
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13958 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13960 cat >>confdefs.h <<_ACEOF
13961 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13962 _ACEOF
13967 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13968 case "x$with_v4l2" in
13969 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13970 xno) ;;
13971 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13972 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13973 esac
13977 if test "x$with_gphoto" != "xno"
13978 then
13979 if ${GPHOTO2_CFLAGS:+false} :; then :
13980 if ${PKG_CONFIG+:} false; then :
13981 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13984 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13985 if ${GPHOTO2_LIBS:+false} :; then :
13986 if ${PKG_CONFIG+:} false; then :
13987 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13990 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13991 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13992 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13993 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13994 ac_save_CPPFLAGS=$CPPFLAGS
13995 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13996 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13997 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13999 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14000 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 ac_check_lib_save_LIBS=$LIBS
14004 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14008 /* Override any GCC internal prototype to avoid an error.
14009 Use char because int might match the return type of a GCC
14010 builtin and then its argument prototype would still apply. */
14011 #ifdef __cplusplus
14012 extern "C"
14013 #endif
14014 char gp_camera_new ();
14016 main ()
14018 return gp_camera_new ();
14020 return 0;
14022 _ACEOF
14023 if ac_fn_c_try_link "$LINENO"; then :
14024 ac_cv_lib_gphoto2_gp_camera_new=yes
14025 else
14026 ac_cv_lib_gphoto2_gp_camera_new=no
14028 rm -f core conftest.err conftest.$ac_objext \
14029 conftest$ac_exeext conftest.$ac_ext
14030 LIBS=$ac_check_lib_save_LIBS
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14033 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14034 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14036 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14038 else
14039 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14042 else
14043 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14047 CPPFLAGS=$ac_save_CPPFLAGS
14049 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14050 if ${PKG_CONFIG+:} false; then :
14051 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14054 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14055 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14056 if ${PKG_CONFIG+:} false; then :
14057 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14060 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14061 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14062 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14063 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14064 ac_save_CPPFLAGS=$CPPFLAGS
14065 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14066 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14067 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14069 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14070 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14071 $as_echo_n "(cached) " >&6
14072 else
14073 ac_check_lib_save_LIBS=$LIBS
14074 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14078 /* Override any GCC internal prototype to avoid an error.
14079 Use char because int might match the return type of a GCC
14080 builtin and then its argument prototype would still apply. */
14081 #ifdef __cplusplus
14082 extern "C"
14083 #endif
14084 char gp_port_info_list_new ();
14086 main ()
14088 return gp_port_info_list_new ();
14090 return 0;
14092 _ACEOF
14093 if ac_fn_c_try_link "$LINENO"; then :
14094 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14095 else
14096 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14098 rm -f core conftest.err conftest.$ac_objext \
14099 conftest$ac_exeext conftest.$ac_ext
14100 LIBS=$ac_check_lib_save_LIBS
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14103 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14104 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14106 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14108 else
14109 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14112 else
14113 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14117 CPPFLAGS=$ac_save_CPPFLAGS
14120 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14121 case "x$with_gphoto" in
14122 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14123 xno) ;;
14124 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14125 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14126 esac
14129 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14130 case "x$with_gphoto" in
14131 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14132 xno) ;;
14133 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14134 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14135 esac
14140 if test "$ac_cv_header_resolv_h" = "yes"
14141 then
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14143 $as_echo_n "checking for resolver library... " >&6; }
14144 if ${ac_cv_have_resolv+:} false; then :
14145 $as_echo_n "(cached) " >&6
14146 else
14147 ac_save_LIBS="$LIBS"
14148 for lib in '' -lresolv
14150 LIBS="$lib $ac_save_LIBS"
14151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14153 #ifdef HAVE_NETINET_IN_H
14154 #include <netinet/in.h>
14155 #endif
14156 #include <resolv.h>
14158 main ()
14160 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14162 return 0;
14164 _ACEOF
14165 if ac_fn_c_try_link "$LINENO"; then :
14166 ac_cv_have_resolv=${lib:-"none required"}
14167 else
14168 ac_cv_have_resolv="not found"
14170 rm -f core conftest.err conftest.$ac_objext \
14171 conftest$ac_exeext conftest.$ac_ext
14172 test "x$ac_cv_have_resolv" = "xnot found" || break
14173 done
14174 LIBS="$ac_save_LIBS"
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14177 $as_echo "$ac_cv_have_resolv" >&6; }
14179 case "$ac_cv_have_resolv" in
14180 "not found") ;;
14181 "none required")
14183 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14186 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14188 RESOLV_LIBS=$ac_cv_have_resolv
14190 esac
14192 if test "x$ac_cv_have_resolv" != "xnot found"
14193 then
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14195 $as_echo_n "checking for res_getservers... " >&6; }
14196 if ${ac_cv_have_res_getservers+:} false; then :
14197 $as_echo_n "(cached) " >&6
14198 else
14199 ac_save_LIBS="$LIBS"
14200 LIBS="$RESOLV_LIBS $LIBS"
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14203 #include <resolv.h>
14205 main ()
14207 res_getservers(NULL, NULL, 0);
14209 return 0;
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"; then :
14213 ac_cv_have_res_getservers=yes
14214 else
14215 ac_cv_have_res_getservers=no
14217 rm -f core conftest.err conftest.$ac_objext \
14218 conftest$ac_exeext conftest.$ac_ext
14219 LIBS="$ac_save_LIBS"
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14222 $as_echo "$ac_cv_have_res_getservers" >&6; }
14223 if test "$ac_cv_have_res_getservers" = "yes"
14224 then
14226 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14232 if test "x$with_cms" != "xno"
14233 then
14234 if ${LCMS2_CFLAGS:+false} :; then :
14235 if ${PKG_CONFIG+:} false; then :
14236 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14240 if ${LCMS2_LIBS:+false} :; then :
14241 if ${PKG_CONFIG+:} false; then :
14242 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14246 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14247 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14248 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14249 ac_save_CPPFLAGS=$CPPFLAGS
14250 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14251 for ac_header in lcms2.h
14252 do :
14253 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14254 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14255 cat >>confdefs.h <<_ACEOF
14256 #define HAVE_LCMS2_H 1
14257 _ACEOF
14261 done
14263 if test "$ac_cv_header_lcms2_h" = "yes"
14264 then
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14266 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14267 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14268 $as_echo_n "(cached) " >&6
14269 else
14270 ac_check_lib_save_LIBS=$LIBS
14271 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14275 /* Override any GCC internal prototype to avoid an error.
14276 Use char because int might match the return type of a GCC
14277 builtin and then its argument prototype would still apply. */
14278 #ifdef __cplusplus
14279 extern "C"
14280 #endif
14281 char cmsOpenProfileFromFile ();
14283 main ()
14285 return cmsOpenProfileFromFile ();
14287 return 0;
14289 _ACEOF
14290 if ac_fn_c_try_link "$LINENO"; then :
14291 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14292 else
14293 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14295 rm -f core conftest.err conftest.$ac_objext \
14296 conftest$ac_exeext conftest.$ac_ext
14297 LIBS=$ac_check_lib_save_LIBS
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14300 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14301 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14303 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14305 else
14306 LCMS2_LIBS=""
14309 else
14310 LCMS2_CFLAGS=""
14311 LCMS2_LIBS=""
14313 CPPFLAGS=$ac_save_CPPFLAGS
14316 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14317 case "x$with_cms" in
14318 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14319 xno) ;;
14320 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14321 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14322 esac
14326 if test "x$with_freetype" != "xno"
14327 then
14328 if ${FREETYPE_CFLAGS:+false} :; then :
14329 if ${PKG_CONFIG+:} false; then :
14330 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14333 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14334 if ${FREETYPE_LIBS:+false} :; then :
14335 if ${PKG_CONFIG+:} false; then :
14336 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14339 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14340 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14341 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14342 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14343 ac_save_CPPFLAGS=$CPPFLAGS
14344 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14345 for ac_header in ft2build.h
14346 do :
14347 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14348 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14349 cat >>confdefs.h <<_ACEOF
14350 #define HAVE_FT2BUILD_H 1
14351 _ACEOF
14355 done
14357 if test "$ac_cv_header_ft2build_h" = "yes"
14358 then
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14360 $as_echo_n "checking for -lfreetype... " >&6; }
14361 if ${ac_cv_lib_soname_freetype+:} false; then :
14362 $as_echo_n "(cached) " >&6
14363 else
14364 ac_check_soname_save_LIBS=$LIBS
14365 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14369 /* Override any GCC internal prototype to avoid an error.
14370 Use char because int might match the return type of a GCC
14371 builtin and then its argument prototype would still apply. */
14372 #ifdef __cplusplus
14373 extern "C"
14374 #endif
14375 char FT_Init_FreeType ();
14377 main ()
14379 return FT_Init_FreeType ();
14381 return 0;
14383 _ACEOF
14384 if ac_fn_c_try_link "$LINENO"; then :
14385 case "$LIBEXT" in
14386 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14387 dylib) ac_cv_lib_soname_freetype=`$OTOOL -L conftest$ac_exeext | grep "libfreetype\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfreetype\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14388 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14389 if ${ac_cv_lib_soname_freetype:+false} :; then :
14390 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14391 fi ;;
14392 esac
14393 else
14394 ac_cv_lib_soname_freetype=
14396 rm -f core conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext conftest.$ac_ext
14398 LIBS=$ac_check_soname_save_LIBS
14400 if ${ac_cv_lib_soname_freetype:+false} :; then :
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14402 $as_echo "not found" >&6; }
14403 FREETYPE_LIBS=""
14404 else
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14406 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14408 cat >>confdefs.h <<_ACEOF
14409 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14410 _ACEOF
14413 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14415 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14416 #include FT_MODULE_H
14418 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14420 cat >>confdefs.h <<_ACEOF
14421 #define HAVE_FT_TRUETYPEENGINETYPE 1
14422 _ACEOF
14428 else
14429 FREETYPE_CFLAGS=""
14430 FREETYPE_LIBS=""
14432 CPPFLAGS=$ac_save_CPPFLAGS
14435 if test "x$ac_cv_lib_soname_freetype" = x; then :
14436 case "x$with_freetype" in
14437 xno) ;;
14438 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14439 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14440 esac
14441 enable_fonts=${enable_fonts:-no}
14444 ac_wine_check_funcs_save_LIBS="$LIBS"
14445 LIBS="$LIBS $PTHREAD_LIBS"
14446 for ac_func in \
14447 pthread_getthreadid_np
14448 do :
14449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14451 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14452 cat >>confdefs.h <<_ACEOF
14453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14454 _ACEOF
14457 done
14459 LIBS="$ac_wine_check_funcs_save_LIBS"
14461 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14462 then
14463 if test "$ac_cv_header_gettext_po_h" = "yes"
14464 then
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14466 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14467 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14468 $as_echo_n "(cached) " >&6
14469 else
14470 ac_check_lib_save_LIBS=$LIBS
14471 LIBS="-lgettextpo $LIBS"
14472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14475 /* Override any GCC internal prototype to avoid an error.
14476 Use char because int might match the return type of a GCC
14477 builtin and then its argument prototype would still apply. */
14478 #ifdef __cplusplus
14479 extern "C"
14480 #endif
14481 char po_message_msgctxt ();
14483 main ()
14485 return po_message_msgctxt ();
14487 return 0;
14489 _ACEOF
14490 if ac_fn_c_try_link "$LINENO"; then :
14491 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14492 else
14493 ac_cv_lib_gettextpo_po_message_msgctxt=no
14495 rm -f core conftest.err conftest.$ac_objext \
14496 conftest$ac_exeext conftest.$ac_ext
14497 LIBS=$ac_check_lib_save_LIBS
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14500 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14501 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14503 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14505 GETTEXTPO_LIBS="-lgettextpo"
14510 if test "x$GETTEXTPO_LIBS" = "x"; then :
14511 case "x$with_gettextpo" in
14512 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14513 xno) ;;
14514 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14515 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14516 esac
14519 if test "$srcdir" != .; then :
14520 case "x$with_gettextpo" in
14521 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14522 xno) ;;
14523 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14524 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14525 esac
14530 if test "x$with_pulse" != "xno";
14531 then
14532 if ${PULSE_CFLAGS:+false} :; then :
14533 if ${PKG_CONFIG+:} false; then :
14534 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14538 if ${PULSE_LIBS:+false} :; then :
14539 if ${PKG_CONFIG+:} false; then :
14540 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14545 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14546 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14547 ac_save_CPPFLAGS=$CPPFLAGS
14548 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14549 for ac_header in pulse/pulseaudio.h
14550 do :
14551 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14552 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14553 cat >>confdefs.h <<_ACEOF
14554 #define HAVE_PULSE_PULSEAUDIO_H 1
14555 _ACEOF
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14557 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14558 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14559 $as_echo_n "(cached) " >&6
14560 else
14561 ac_check_lib_save_LIBS=$LIBS
14562 LIBS="-lpulse $PULSE_LIBS $LIBS"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14566 /* Override any GCC internal prototype to avoid an error.
14567 Use char because int might match the return type of a GCC
14568 builtin and then its argument prototype would still apply. */
14569 #ifdef __cplusplus
14570 extern "C"
14571 #endif
14572 char pa_stream_is_corked ();
14574 main ()
14576 return pa_stream_is_corked ();
14578 return 0;
14580 _ACEOF
14581 if ac_fn_c_try_link "$LINENO"; then :
14582 ac_cv_lib_pulse_pa_stream_is_corked=yes
14583 else
14584 ac_cv_lib_pulse_pa_stream_is_corked=no
14586 rm -f core conftest.err conftest.$ac_objext \
14587 conftest$ac_exeext conftest.$ac_ext
14588 LIBS=$ac_check_lib_save_LIBS
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14591 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14592 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14594 else
14595 PULSE_LIBS=""
14598 else
14599 PULSE_LIBS=""
14602 done
14604 CPPFLAGS=$ac_save_CPPFLAGS
14607 if test -z "$PULSE_LIBS"; then :
14608 case "x$with_pulse" in
14609 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14610 xno) ;;
14611 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14612 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14613 esac
14614 enable_winepulse_drv=${enable_winepulse_drv:-no}
14617 if test "x$with_gstreamer" != "xno"
14618 then
14619 if ${GSTREAMER_CFLAGS:+false} :; then :
14620 if ${PKG_CONFIG+:} false; then :
14621 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14625 if ${GSTREAMER_LIBS:+false} :; then :
14626 if ${PKG_CONFIG+:} false; then :
14627 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14632 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14633 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14634 ac_save_CPPFLAGS=$CPPFLAGS
14635 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14636 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14637 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14639 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14642 #include <gst/gst.h>
14644 main ()
14646 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14648 return 0;
14650 _ACEOF
14651 if ac_fn_c_try_compile "$LINENO"; then :
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14653 $as_echo "yes" >&6; }
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14655 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14656 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14657 $as_echo_n "(cached) " >&6
14658 else
14659 ac_check_lib_save_LIBS=$LIBS
14660 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14664 /* Override any GCC internal prototype to avoid an error.
14665 Use char because int might match the return type of a GCC
14666 builtin and then its argument prototype would still apply. */
14667 #ifdef __cplusplus
14668 extern "C"
14669 #endif
14670 char gst_pad_new ();
14672 main ()
14674 return gst_pad_new ();
14676 return 0;
14678 _ACEOF
14679 if ac_fn_c_try_link "$LINENO"; then :
14680 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14681 else
14682 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14684 rm -f core conftest.err conftest.$ac_objext \
14685 conftest$ac_exeext conftest.$ac_ext
14686 LIBS=$ac_check_lib_save_LIBS
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14689 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14690 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14694 else
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14696 $as_echo "no" >&6; }
14697 ac_glib2_broken=yes
14698 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14704 CPPFLAGS=$ac_save_CPPFLAGS
14707 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14708 then
14709 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14710 case "x$with_gstreamer" in
14711 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14712 xno) ;;
14713 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14714 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14715 esac
14719 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14721 ALSA_LIBS=""
14723 if test "x$with_alsa" != "xno"
14724 then
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14726 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14727 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14728 $as_echo_n "(cached) " >&6
14729 else
14730 ac_check_lib_save_LIBS=$LIBS
14731 LIBS="-lasound $LIBS"
14732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14733 /* end confdefs.h. */
14735 /* Override any GCC internal prototype to avoid an error.
14736 Use char because int might match the return type of a GCC
14737 builtin and then its argument prototype would still apply. */
14738 #ifdef __cplusplus
14739 extern "C"
14740 #endif
14741 char snd_pcm_hw_params_get_access_mask ();
14743 main ()
14745 return snd_pcm_hw_params_get_access_mask ();
14747 return 0;
14749 _ACEOF
14750 if ac_fn_c_try_link "$LINENO"; then :
14751 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14752 else
14753 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14755 rm -f core conftest.err conftest.$ac_objext \
14756 conftest$ac_exeext conftest.$ac_ext
14757 LIBS=$ac_check_lib_save_LIBS
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14760 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14761 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14764 #include <alsa/asoundlib.h>
14766 main ()
14768 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14770 return 0;
14772 _ACEOF
14773 if ac_fn_c_try_compile "$LINENO"; then :
14774 ALSA_LIBS="-lasound"
14776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14780 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14782 if test "x$with_oss" != xno
14783 then
14784 ac_save_CPPFLAGS="$CPPFLAGS"
14785 if test -f /etc/oss.conf
14786 then
14787 . /etc/oss.conf
14789 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14790 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14791 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14792 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14793 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14795 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14797 cat >>confdefs.h <<_ACEOF
14798 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14799 _ACEOF
14801 OSS4_CFLAGS="$ac_oss_incl"
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14804 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14805 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14806 $as_echo_n "(cached) " >&6
14807 else
14808 ac_check_lib_save_LIBS=$LIBS
14809 LIBS="-lossaudio $LIBS"
14810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14811 /* end confdefs.h. */
14813 /* Override any GCC internal prototype to avoid an error.
14814 Use char because int might match the return type of a GCC
14815 builtin and then its argument prototype would still apply. */
14816 #ifdef __cplusplus
14817 extern "C"
14818 #endif
14819 char _oss_ioctl ();
14821 main ()
14823 return _oss_ioctl ();
14825 return 0;
14827 _ACEOF
14828 if ac_fn_c_try_link "$LINENO"; then :
14829 ac_cv_lib_ossaudio__oss_ioctl=yes
14830 else
14831 ac_cv_lib_ossaudio__oss_ioctl=no
14833 rm -f core conftest.err conftest.$ac_objext \
14834 conftest$ac_exeext conftest.$ac_ext
14835 LIBS=$ac_check_lib_save_LIBS
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14838 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14839 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14840 OSS4_LIBS="-lossaudio"
14849 CPPFLAGS="$ac_save_CPPFLAGS"
14851 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14852 case "x$with_oss" in
14853 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14854 xno) ;;
14855 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14856 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14857 esac
14858 enable_wineoss_drv=${enable_wineoss_drv:-no}
14861 if test "x$with_udev" != "xno"
14862 then
14863 if ${UDEV_CFLAGS:+false} :; then :
14864 if ${PKG_CONFIG+:} false; then :
14865 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14869 if ${UDEV_LIBS:+false} :; then :
14870 if ${PKG_CONFIG+:} false; then :
14871 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14875 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14876 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14877 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14878 ac_save_CPPFLAGS=$CPPFLAGS
14879 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14880 for ac_header in libudev.h
14881 do :
14882 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14883 if test "x$ac_cv_header_libudev_h" = xyes; then :
14884 cat >>confdefs.h <<_ACEOF
14885 #define HAVE_LIBUDEV_H 1
14886 _ACEOF
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14888 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14889 if ${ac_cv_lib_udev_udev_new+:} false; then :
14890 $as_echo_n "(cached) " >&6
14891 else
14892 ac_check_lib_save_LIBS=$LIBS
14893 LIBS="-ludev $UDEV_LIBS $LIBS"
14894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14895 /* end confdefs.h. */
14897 /* Override any GCC internal prototype to avoid an error.
14898 Use char because int might match the return type of a GCC
14899 builtin and then its argument prototype would still apply. */
14900 #ifdef __cplusplus
14901 extern "C"
14902 #endif
14903 char udev_new ();
14905 main ()
14907 return udev_new ();
14909 return 0;
14911 _ACEOF
14912 if ac_fn_c_try_link "$LINENO"; then :
14913 ac_cv_lib_udev_udev_new=yes
14914 else
14915 ac_cv_lib_udev_udev_new=no
14917 rm -f core conftest.err conftest.$ac_objext \
14918 conftest$ac_exeext conftest.$ac_ext
14919 LIBS=$ac_check_lib_save_LIBS
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14922 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14923 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14925 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14927 else
14928 UDEV_LIBS=""
14931 else
14932 UDEV_LIBS=""
14935 done
14937 CPPFLAGS=$ac_save_CPPFLAGS
14940 if test "x$UDEV_LIBS" = "x"; then :
14941 case "x$with_udev" in
14942 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14943 xno) ;;
14944 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14945 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14946 esac
14950 if test "x$with_unwind" != xno
14951 then
14952 if ${UNWIND_CFLAGS:+false} :; then :
14953 if ${PKG_CONFIG+:} false; then :
14954 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14958 if ${UNWIND_LIBS:+false} :; then :
14959 if ${PKG_CONFIG+:} false; then :
14960 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14964 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14965 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14966 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14967 ac_save_CPPFLAGS=$CPPFLAGS
14968 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14970 $as_echo_n "checking for unw_step... " >&6; }
14971 if ${wine_cv_have_unw_step+:} false; then :
14972 $as_echo_n "(cached) " >&6
14973 else
14974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */
14976 #define UNW_LOCAL_ONLY
14977 #include <libunwind.h>
14979 main ()
14981 unw_cursor_t cursor; unw_step( &cursor );
14983 return 0;
14985 _ACEOF
14986 if ac_fn_c_try_link "$LINENO"; then :
14987 wine_cv_have_unw_step="yes"
14988 else
14989 wine_cv_have_unw_step="no"
14991 rm -f core conftest.err conftest.$ac_objext \
14992 conftest$ac_exeext conftest.$ac_ext
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14995 $as_echo "$wine_cv_have_unw_step" >&6; }
14996 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14997 then
14998 save_libs=$LIBS
14999 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
15000 LIBS="$UNWIND_LIBS $LIBS"
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15002 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15003 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15004 $as_echo_n "(cached) " >&6
15005 else
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15008 #define UNW_LOCAL_ONLY
15009 #include <libunwind.h>
15011 main ()
15013 unw_cursor_t cursor; unw_step( &cursor );
15015 return 0;
15017 _ACEOF
15018 if ac_fn_c_try_link "$LINENO"; then :
15019 wine_cv_have_libunwind_unw_step="yes"
15020 else
15021 wine_cv_have_libunwind_unw_step="no"
15023 rm -f core conftest.err conftest.$ac_objext \
15024 conftest$ac_exeext conftest.$ac_ext
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15027 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15028 LIBS=$save_libs
15030 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15031 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15032 then
15034 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15037 CPPFLAGS=$ac_save_CPPFLAGS
15040 case $host in
15041 aarch64*|*-darwin*)
15042 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15043 case "x$with_unwind" in
15044 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15045 xno) ;;
15046 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15047 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15048 esac
15050 fi ;;
15051 esac
15053 if test "x$with_sdl" != "xno"
15054 then
15055 if ${SDL2_CFLAGS:+false} :; then :
15056 if ${PKG_CONFIG+:} false; then :
15057 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15061 if ${SDL2_LIBS:+false} :; then :
15062 if ${PKG_CONFIG+:} false; then :
15063 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15067 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15068 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15069 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15070 ac_save_CPPFLAGS=$CPPFLAGS
15071 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15072 for ac_header in SDL.h
15073 do :
15074 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15075 if test "x$ac_cv_header_SDL_h" = xyes; then :
15076 cat >>confdefs.h <<_ACEOF
15077 #define HAVE_SDL_H 1
15078 _ACEOF
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15080 $as_echo_n "checking for -lSDL2... " >&6; }
15081 if ${ac_cv_lib_soname_SDL2+:} false; then :
15082 $as_echo_n "(cached) " >&6
15083 else
15084 ac_check_soname_save_LIBS=$LIBS
15085 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h. */
15089 /* Override any GCC internal prototype to avoid an error.
15090 Use char because int might match the return type of a GCC
15091 builtin and then its argument prototype would still apply. */
15092 #ifdef __cplusplus
15093 extern "C"
15094 #endif
15095 char SDL_Init ();
15097 main ()
15099 return SDL_Init ();
15101 return 0;
15103 _ACEOF
15104 if ac_fn_c_try_link "$LINENO"; then :
15105 case "$LIBEXT" in
15106 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15107 dylib) ac_cv_lib_soname_SDL2=`$OTOOL -L conftest$ac_exeext | grep "libSDL2-2.0*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libSDL2-2.0*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15108 *) ac_cv_lib_soname_SDL2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libSDL2-2.0*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15109 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15110 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15111 fi ;;
15112 esac
15113 else
15114 ac_cv_lib_soname_SDL2=
15116 rm -f core conftest.err conftest.$ac_objext \
15117 conftest$ac_exeext conftest.$ac_ext
15118 LIBS=$ac_check_soname_save_LIBS
15120 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15122 $as_echo "not found" >&6; }
15124 else
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15126 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15128 cat >>confdefs.h <<_ACEOF
15129 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15130 _ACEOF
15136 done
15138 CPPFLAGS=$ac_save_CPPFLAGS
15141 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15142 case "x$with_sdl" in
15143 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15144 xno) ;;
15145 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15146 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15147 esac
15151 if test "x$with_faudio" != "xno"
15152 then
15153 if ${FAUDIO_CFLAGS:+false} :; then :
15154 if ${PKG_CONFIG+:} false; then :
15155 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15159 if ${FAUDIO_LIBS:+false} :; then :
15160 if ${PKG_CONFIG+:} false; then :
15161 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15165 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15166 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15167 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15168 ac_save_CPPFLAGS=$CPPFLAGS
15169 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15170 for ac_header in FAudio.h
15171 do :
15172 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15173 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15174 cat >>confdefs.h <<_ACEOF
15175 #define HAVE_FAUDIO_H 1
15176 _ACEOF
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15178 $as_echo_n "checking for -lFAudio... " >&6; }
15179 if ${ac_cv_lib_soname_FAudio+:} false; then :
15180 $as_echo_n "(cached) " >&6
15181 else
15182 ac_check_soname_save_LIBS=$LIBS
15183 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15187 /* Override any GCC internal prototype to avoid an error.
15188 Use char because int might match the return type of a GCC
15189 builtin and then its argument prototype would still apply. */
15190 #ifdef __cplusplus
15191 extern "C"
15192 #endif
15193 char FAudioCreate ();
15195 main ()
15197 return FAudioCreate ();
15199 return 0;
15201 _ACEOF
15202 if ac_fn_c_try_link "$LINENO"; then :
15203 case "$LIBEXT" in
15204 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15205 dylib) ac_cv_lib_soname_FAudio=`$OTOOL -L conftest$ac_exeext | grep "libFAudio*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libFAudio*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15206 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15207 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15208 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15209 fi ;;
15210 esac
15211 else
15212 ac_cv_lib_soname_FAudio=
15214 rm -f core conftest.err conftest.$ac_objext \
15215 conftest$ac_exeext conftest.$ac_ext
15216 LIBS=$ac_check_soname_save_LIBS
15218 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15220 $as_echo "not found" >&6; }
15222 else
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15224 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15226 cat >>confdefs.h <<_ACEOF
15227 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15228 _ACEOF
15234 done
15236 ac_wine_check_funcs_save_LIBS="$LIBS"
15237 LIBS="$LIBS $FAUDIO_LIBS"
15238 for ac_func in FAudio_CommitOperationSet \
15239 F3DAudioInitialize8 \
15240 FAudioLinkedVersion \
15241 FAudioCreateReverb9WithCustomAllocatorEXT
15242 do :
15243 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15244 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15245 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15246 cat >>confdefs.h <<_ACEOF
15247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15248 _ACEOF
15251 done
15253 LIBS="$ac_wine_check_funcs_save_LIBS"
15255 CPPFLAGS=$ac_save_CPPFLAGS
15258 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15259 case "x$with_faudio" in
15260 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15261 xno) ;;
15262 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15263 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15264 esac
15268 if test "x$with_capi" != "xno"
15269 then
15270 if ${CAPI20_CFLAGS:+false} :; then :
15271 if ${PKG_CONFIG+:} false; then :
15272 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15276 if ${CAPI20_LIBS:+false} :; then :
15277 if ${PKG_CONFIG+:} false; then :
15278 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15283 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15284 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15285 ac_save_CPPFLAGS=$CPPFLAGS
15286 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15287 for ac_header in capi20.h linux/capi.h
15288 do :
15289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15290 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15292 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15293 cat >>confdefs.h <<_ACEOF
15294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15295 _ACEOF
15299 done
15301 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15302 then
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15304 $as_echo_n "checking for -lcapi20... " >&6; }
15305 if ${ac_cv_lib_soname_capi20+:} false; then :
15306 $as_echo_n "(cached) " >&6
15307 else
15308 ac_check_soname_save_LIBS=$LIBS
15309 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15313 /* Override any GCC internal prototype to avoid an error.
15314 Use char because int might match the return type of a GCC
15315 builtin and then its argument prototype would still apply. */
15316 #ifdef __cplusplus
15317 extern "C"
15318 #endif
15319 char capi20_register ();
15321 main ()
15323 return capi20_register ();
15325 return 0;
15327 _ACEOF
15328 if ac_fn_c_try_link "$LINENO"; then :
15329 case "$LIBEXT" in
15330 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15331 dylib) ac_cv_lib_soname_capi20=`$OTOOL -L conftest$ac_exeext | grep "libcapi20\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15332 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15333 if ${ac_cv_lib_soname_capi20:+false} :; then :
15334 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15335 fi ;;
15336 esac
15337 else
15338 ac_cv_lib_soname_capi20=
15340 rm -f core conftest.err conftest.$ac_objext \
15341 conftest$ac_exeext conftest.$ac_ext
15342 LIBS=$ac_check_soname_save_LIBS
15344 if ${ac_cv_lib_soname_capi20:+false} :; then :
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15346 $as_echo "not found" >&6; }
15348 else
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15350 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15352 cat >>confdefs.h <<_ACEOF
15353 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15354 _ACEOF
15359 CPPFLAGS=$ac_save_CPPFLAGS
15362 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15363 case "x$with_capi" in
15364 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15365 xno) ;;
15366 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15367 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15368 esac
15372 if test "x$with_cups" != "xno"
15373 then
15374 if ${CUPS_CFLAGS:+false} :; then :
15375 if ${PKG_CONFIG+:} false; then :
15376 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15379 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15380 if ${CUPS_LIBS:+false} :; then :
15381 if ${PKG_CONFIG+:} false; then :
15382 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15385 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15386 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15387 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15388 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15389 ac_save_CPPFLAGS=$CPPFLAGS
15390 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15391 for ac_header in cups/cups.h cups/ppd.h
15392 do :
15393 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15394 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15395 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15396 cat >>confdefs.h <<_ACEOF
15397 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15398 _ACEOF
15402 done
15404 if test "$ac_cv_header_cups_cups_h" = "yes"
15405 then
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15407 $as_echo_n "checking for -lcups... " >&6; }
15408 if ${ac_cv_lib_soname_cups+:} false; then :
15409 $as_echo_n "(cached) " >&6
15410 else
15411 ac_check_soname_save_LIBS=$LIBS
15412 LIBS="-lcups $CUPS_LIBS $LIBS"
15413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15414 /* end confdefs.h. */
15416 /* Override any GCC internal prototype to avoid an error.
15417 Use char because int might match the return type of a GCC
15418 builtin and then its argument prototype would still apply. */
15419 #ifdef __cplusplus
15420 extern "C"
15421 #endif
15422 char cupsGetDefault ();
15424 main ()
15426 return cupsGetDefault ();
15428 return 0;
15430 _ACEOF
15431 if ac_fn_c_try_link "$LINENO"; then :
15432 case "$LIBEXT" in
15433 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15434 dylib) ac_cv_lib_soname_cups=`$OTOOL -L conftest$ac_exeext | grep "libcups\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15435 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15436 if ${ac_cv_lib_soname_cups:+false} :; then :
15437 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15438 fi ;;
15439 esac
15440 else
15441 ac_cv_lib_soname_cups=
15443 rm -f core conftest.err conftest.$ac_objext \
15444 conftest$ac_exeext conftest.$ac_ext
15445 LIBS=$ac_check_soname_save_LIBS
15447 if ${ac_cv_lib_soname_cups:+false} :; then :
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15449 $as_echo "not found" >&6; }
15450 CUPS_LIBS=""
15451 else
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15453 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15455 cat >>confdefs.h <<_ACEOF
15456 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15457 _ACEOF
15461 else
15462 CUPS_CFLAGS=""
15463 CUPS_LIBS=""
15465 CPPFLAGS=$ac_save_CPPFLAGS
15468 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15469 case "x$with_cups" in
15470 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15471 xno) ;;
15472 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15473 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15474 esac
15478 if test "x$with_fontconfig" != "xno"
15479 then
15480 if ${FONTCONFIG_CFLAGS:+false} :; then :
15481 if ${PKG_CONFIG+:} false; then :
15482 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15485 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15486 if ${FONTCONFIG_LIBS:+false} :; then :
15487 if ${PKG_CONFIG+:} false; then :
15488 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15491 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15493 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15494 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15495 ac_save_CPPFLAGS=$CPPFLAGS
15496 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15497 for ac_header in fontconfig/fontconfig.h
15498 do :
15499 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15500 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15501 cat >>confdefs.h <<_ACEOF
15502 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15503 _ACEOF
15507 done
15509 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15510 then
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15512 $as_echo_n "checking for -lfontconfig... " >&6; }
15513 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15514 $as_echo_n "(cached) " >&6
15515 else
15516 ac_check_soname_save_LIBS=$LIBS
15517 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15521 /* Override any GCC internal prototype to avoid an error.
15522 Use char because int might match the return type of a GCC
15523 builtin and then its argument prototype would still apply. */
15524 #ifdef __cplusplus
15525 extern "C"
15526 #endif
15527 char FcInit ();
15529 main ()
15531 return FcInit ();
15533 return 0;
15535 _ACEOF
15536 if ac_fn_c_try_link "$LINENO"; then :
15537 case "$LIBEXT" in
15538 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15539 dylib) ac_cv_lib_soname_fontconfig=`$OTOOL -L conftest$ac_exeext | grep "libfontconfig\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15540 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15541 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15542 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15543 fi ;;
15544 esac
15545 else
15546 ac_cv_lib_soname_fontconfig=
15548 rm -f core conftest.err conftest.$ac_objext \
15549 conftest$ac_exeext conftest.$ac_ext
15550 LIBS=$ac_check_soname_save_LIBS
15552 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15554 $as_echo "not found" >&6; }
15555 FONTCONFIG_CFLAGS=""
15556 else
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15558 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15560 cat >>confdefs.h <<_ACEOF
15561 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15562 _ACEOF
15566 else
15567 FONTCONFIG_CFLAGS=""
15569 CPPFLAGS=$ac_save_CPPFLAGS
15572 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15573 case "x$with_fontconfig" in
15574 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15575 xno) ;;
15576 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15577 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15578 esac
15582 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15583 then
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15585 $as_echo_n "checking for -lgsm... " >&6; }
15586 if ${ac_cv_lib_soname_gsm+:} false; then :
15587 $as_echo_n "(cached) " >&6
15588 else
15589 ac_check_soname_save_LIBS=$LIBS
15590 LIBS="-lgsm $LIBS"
15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15594 /* Override any GCC internal prototype to avoid an error.
15595 Use char because int might match the return type of a GCC
15596 builtin and then its argument prototype would still apply. */
15597 #ifdef __cplusplus
15598 extern "C"
15599 #endif
15600 char gsm_create ();
15602 main ()
15604 return gsm_create ();
15606 return 0;
15608 _ACEOF
15609 if ac_fn_c_try_link "$LINENO"; then :
15610 case "$LIBEXT" in
15611 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15612 dylib) ac_cv_lib_soname_gsm=`$OTOOL -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15613 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15614 if ${ac_cv_lib_soname_gsm:+false} :; then :
15615 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15616 fi ;;
15617 esac
15618 else
15619 ac_cv_lib_soname_gsm=
15621 rm -f core conftest.err conftest.$ac_objext \
15622 conftest$ac_exeext conftest.$ac_ext
15623 LIBS=$ac_check_soname_save_LIBS
15625 if ${ac_cv_lib_soname_gsm:+false} :; then :
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15627 $as_echo "not found" >&6; }
15629 else
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15631 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15633 cat >>confdefs.h <<_ACEOF
15634 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15635 _ACEOF
15640 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15641 case "x$with_gsm" in
15642 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15643 xno) ;;
15644 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15645 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15646 esac
15650 if test "x$with_krb5" != "xno"
15651 then
15652 if ${KRB5_CFLAGS:+false} :; then :
15653 if ${PKG_CONFIG+:} false; then :
15654 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15657 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15658 if ${KRB5_LIBS:+false} :; then :
15659 if ${PKG_CONFIG+:} false; then :
15660 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15663 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15665 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15666 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15667 ac_save_CPPFLAGS=$CPPFLAGS
15668 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15669 for ac_header in krb5/krb5.h
15670 do :
15671 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15672 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15673 cat >>confdefs.h <<_ACEOF
15674 #define HAVE_KRB5_KRB5_H 1
15675 _ACEOF
15679 done
15681 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15682 then
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15684 $as_echo_n "checking for -lkrb5... " >&6; }
15685 if ${ac_cv_lib_soname_krb5+:} false; then :
15686 $as_echo_n "(cached) " >&6
15687 else
15688 ac_check_soname_save_LIBS=$LIBS
15689 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15693 /* Override any GCC internal prototype to avoid an error.
15694 Use char because int might match the return type of a GCC
15695 builtin and then its argument prototype would still apply. */
15696 #ifdef __cplusplus
15697 extern "C"
15698 #endif
15699 char krb5_is_config_principal ();
15701 main ()
15703 return krb5_is_config_principal ();
15705 return 0;
15707 _ACEOF
15708 if ac_fn_c_try_link "$LINENO"; then :
15709 case "$LIBEXT" in
15710 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15711 dylib) ac_cv_lib_soname_krb5=`$OTOOL -L conftest$ac_exeext | grep "libkrb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libkrb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15712 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15713 if ${ac_cv_lib_soname_krb5:+false} :; then :
15714 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15715 fi ;;
15716 esac
15717 else
15718 ac_cv_lib_soname_krb5=
15720 rm -f core conftest.err conftest.$ac_objext \
15721 conftest$ac_exeext conftest.$ac_ext
15722 LIBS=$ac_check_soname_save_LIBS
15724 if ${ac_cv_lib_soname_krb5:+false} :; then :
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15726 $as_echo "not found" >&6; }
15727 KRB5_CFLAGS=""
15728 else
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15730 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15732 cat >>confdefs.h <<_ACEOF
15733 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15734 _ACEOF
15738 else
15739 KRB5_CFLAGS=""
15741 CPPFLAGS=$ac_save_CPPFLAGS
15744 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15745 case "x$with_krb5" in
15746 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15747 xno) ;;
15748 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15749 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15750 esac
15753 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15755 if test "x$with_gssapi" != "xno"
15756 then
15757 if ${GSSAPI_CFLAGS:+false} :; then :
15758 if ${PKG_CONFIG+:} false; then :
15759 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15762 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15763 if ${GSSAPI_LIBS:+false} :; then :
15764 if ${PKG_CONFIG+:} false; then :
15765 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15768 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15770 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15771 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15772 ac_save_CPPFLAGS=$CPPFLAGS
15773 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15774 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15775 do :
15776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15777 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15779 cat >>confdefs.h <<_ACEOF
15780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15781 _ACEOF
15785 done
15787 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15788 then
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15790 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15791 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15792 $as_echo_n "(cached) " >&6
15793 else
15794 ac_check_soname_save_LIBS=$LIBS
15795 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15797 /* end confdefs.h. */
15799 /* Override any GCC internal prototype to avoid an error.
15800 Use char because int might match the return type of a GCC
15801 builtin and then its argument prototype would still apply. */
15802 #ifdef __cplusplus
15803 extern "C"
15804 #endif
15805 char gss_init_sec_context ();
15807 main ()
15809 return gss_init_sec_context ();
15811 return 0;
15813 _ACEOF
15814 if ac_fn_c_try_link "$LINENO"; then :
15815 case "$LIBEXT" in
15816 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15817 dylib) ac_cv_lib_soname_gssapi_krb5=`$OTOOL -L conftest$ac_exeext | grep "libgssapi_krb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgssapi_krb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15818 *) ac_cv_lib_soname_gssapi_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgssapi_krb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15819 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15820 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15821 fi ;;
15822 esac
15823 else
15824 ac_cv_lib_soname_gssapi_krb5=
15826 rm -f core conftest.err conftest.$ac_objext \
15827 conftest$ac_exeext conftest.$ac_ext
15828 LIBS=$ac_check_soname_save_LIBS
15830 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15832 $as_echo "not found" >&6; }
15833 GSSAPI_CFLAGS=""
15834 else
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15836 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15838 cat >>confdefs.h <<_ACEOF
15839 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15840 _ACEOF
15844 else
15845 GSSAPI_CFLAGS=""
15847 CPPFLAGS=$ac_save_CPPFLAGS
15850 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15851 case "x$with_gssapi" in
15852 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15853 xno) ;;
15854 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15855 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15856 esac
15860 if test "x$with_jpeg" != "xno"
15861 then
15862 if ${JPEG_CFLAGS:+false} :; then :
15863 if ${PKG_CONFIG+:} false; then :
15864 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15868 if ${JPEG_LIBS:+false} :; then :
15869 if ${PKG_CONFIG+:} false; then :
15870 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15875 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15876 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15877 ac_save_CPPFLAGS=$CPPFLAGS
15878 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15879 for ac_header in jpeglib.h
15880 do :
15881 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15882 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define HAVE_JPEGLIB_H 1
15885 _ACEOF
15889 done
15891 if test "$ac_cv_header_jpeglib_h" = "yes"
15892 then
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15894 $as_echo_n "checking for -ljpeg... " >&6; }
15895 if ${ac_cv_lib_soname_jpeg+:} false; then :
15896 $as_echo_n "(cached) " >&6
15897 else
15898 ac_check_soname_save_LIBS=$LIBS
15899 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15901 /* end confdefs.h. */
15903 /* Override any GCC internal prototype to avoid an error.
15904 Use char because int might match the return type of a GCC
15905 builtin and then its argument prototype would still apply. */
15906 #ifdef __cplusplus
15907 extern "C"
15908 #endif
15909 char jpeg_start_decompress ();
15911 main ()
15913 return jpeg_start_decompress ();
15915 return 0;
15917 _ACEOF
15918 if ac_fn_c_try_link "$LINENO"; then :
15919 case "$LIBEXT" in
15920 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15921 dylib) ac_cv_lib_soname_jpeg=`$OTOOL -L conftest$ac_exeext | grep "libjpeg\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15922 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15923 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15924 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15925 fi ;;
15926 esac
15927 else
15928 ac_cv_lib_soname_jpeg=
15930 rm -f core conftest.err conftest.$ac_objext \
15931 conftest$ac_exeext conftest.$ac_ext
15932 LIBS=$ac_check_soname_save_LIBS
15934 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15936 $as_echo "not found" >&6; }
15937 JPEG_CFLAGS=""
15938 else
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15940 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15942 cat >>confdefs.h <<_ACEOF
15943 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15944 _ACEOF
15948 else
15949 JPEG_CFLAGS=""
15951 CPPFLAGS=$ac_save_CPPFLAGS
15954 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15955 case "x$with_jpeg" in
15956 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15957 xno) ;;
15958 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15959 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15960 esac
15964 if test "x$with_jxrlib" != "xno"
15965 then
15966 if ${JXRLIB_CFLAGS:+false} :; then :
15967 if ${PKG_CONFIG+:} false; then :
15968 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15971 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15972 if ${JXRLIB_LIBS:+false} :; then :
15973 if ${PKG_CONFIG+:} false; then :
15974 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15979 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15980 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15981 ac_save_CPPFLAGS=$CPPFLAGS
15982 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15983 for ac_header in JXRGlue.h
15984 do :
15985 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15987 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15988 cat >>confdefs.h <<_ACEOF
15989 #define HAVE_JXRGLUE_H 1
15990 _ACEOF
15994 done
15996 if test "$ac_cv_header_JXRGlue_h" = "yes"
15997 then
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15999 $as_echo_n "checking for -ljxrglue... " >&6; }
16000 if ${ac_cv_lib_soname_jxrglue+:} false; then :
16001 $as_echo_n "(cached) " >&6
16002 else
16003 ac_check_soname_save_LIBS=$LIBS
16004 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
16005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16011 #ifdef __cplusplus
16012 extern "C"
16013 #endif
16014 char PKImageDecode_Create_WMP ();
16016 main ()
16018 return PKImageDecode_Create_WMP ();
16020 return 0;
16022 _ACEOF
16023 if ac_fn_c_try_link "$LINENO"; then :
16024 case "$LIBEXT" in
16025 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16026 dylib) ac_cv_lib_soname_jxrglue=`$OTOOL -L conftest$ac_exeext | grep "libjxrglue\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjxrglue\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16027 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16028 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16029 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16030 fi ;;
16031 esac
16032 else
16033 ac_cv_lib_soname_jxrglue=
16035 rm -f core conftest.err conftest.$ac_objext \
16036 conftest$ac_exeext conftest.$ac_ext
16037 LIBS=$ac_check_soname_save_LIBS
16039 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16041 $as_echo "not found" >&6; }
16042 JXRLIB_CFLAGS=""
16043 else
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16045 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16047 cat >>confdefs.h <<_ACEOF
16048 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16049 _ACEOF
16053 else
16054 JXRLIB_CFLAGS=""
16056 CPPFLAGS=$ac_save_CPPFLAGS
16059 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16060 case "x$with_jxrlib" in
16061 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16062 xno) ;;
16063 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16064 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16065 esac
16069 if test "x$with_png" != "xno"
16070 then
16071 if ${PNG_CFLAGS:+false} :; then :
16072 if ${PKG_CONFIG+:} false; then :
16073 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16076 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16077 if ${PNG_LIBS:+false} :; then :
16078 if ${PKG_CONFIG+:} false; then :
16079 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16082 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16084 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16085 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16086 ac_save_CPPFLAGS=$CPPFLAGS
16087 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16088 for ac_header in png.h
16089 do :
16090 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16091 if test "x$ac_cv_header_png_h" = xyes; then :
16092 cat >>confdefs.h <<_ACEOF
16093 #define HAVE_PNG_H 1
16094 _ACEOF
16098 done
16100 if test "$ac_cv_header_png_h" = "yes"
16101 then
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16103 $as_echo_n "checking for -lpng... " >&6; }
16104 if ${ac_cv_lib_soname_png+:} false; then :
16105 $as_echo_n "(cached) " >&6
16106 else
16107 ac_check_soname_save_LIBS=$LIBS
16108 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16110 /* end confdefs.h. */
16112 /* Override any GCC internal prototype to avoid an error.
16113 Use char because int might match the return type of a GCC
16114 builtin and then its argument prototype would still apply. */
16115 #ifdef __cplusplus
16116 extern "C"
16117 #endif
16118 char png_create_read_struct ();
16120 main ()
16122 return png_create_read_struct ();
16124 return 0;
16126 _ACEOF
16127 if ac_fn_c_try_link "$LINENO"; then :
16128 case "$LIBEXT" in
16129 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16130 dylib) ac_cv_lib_soname_png=`$OTOOL -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16131 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16132 if ${ac_cv_lib_soname_png:+false} :; then :
16133 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16134 fi ;;
16135 esac
16136 else
16137 ac_cv_lib_soname_png=
16139 rm -f core conftest.err conftest.$ac_objext \
16140 conftest$ac_exeext conftest.$ac_ext
16141 LIBS=$ac_check_soname_save_LIBS
16143 if ${ac_cv_lib_soname_png:+false} :; then :
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16145 $as_echo "not found" >&6; }
16146 PNG_CFLAGS=""
16147 else
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16149 $as_echo "$ac_cv_lib_soname_png" >&6; }
16151 cat >>confdefs.h <<_ACEOF
16152 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16153 _ACEOF
16157 else
16158 PNG_CFLAGS=""
16160 CPPFLAGS=$ac_save_CPPFLAGS
16163 if test "x$ac_cv_lib_soname_png" = "x"; then :
16164 case "x$with_png" in
16165 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16166 xno) ;;
16167 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16168 This is an error since --with-png was requested." "$LINENO" 5 ;;
16169 esac
16173 if test "x$with_tiff" != "xno"
16174 then
16175 if ${TIFF_CFLAGS:+false} :; then :
16176 if ${PKG_CONFIG+:} false; then :
16177 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16181 if ${TIFF_LIBS:+false} :; then :
16182 if ${PKG_CONFIG+:} false; then :
16183 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16188 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16189 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16190 ac_save_CPPFLAGS=$CPPFLAGS
16191 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16192 for ac_header in tiffio.h
16193 do :
16194 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16195 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16196 cat >>confdefs.h <<_ACEOF
16197 #define HAVE_TIFFIO_H 1
16198 _ACEOF
16202 done
16204 if test "$ac_cv_header_tiffio_h" = "yes"
16205 then
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16207 $as_echo_n "checking for -ltiff... " >&6; }
16208 if ${ac_cv_lib_soname_tiff+:} false; then :
16209 $as_echo_n "(cached) " >&6
16210 else
16211 ac_check_soname_save_LIBS=$LIBS
16212 LIBS="-ltiff $TIFF_LIBS $LIBS"
16213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16216 /* Override any GCC internal prototype to avoid an error.
16217 Use char because int might match the return type of a GCC
16218 builtin and then its argument prototype would still apply. */
16219 #ifdef __cplusplus
16220 extern "C"
16221 #endif
16222 char TIFFClientOpen ();
16224 main ()
16226 return TIFFClientOpen ();
16228 return 0;
16230 _ACEOF
16231 if ac_fn_c_try_link "$LINENO"; then :
16232 case "$LIBEXT" in
16233 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16234 dylib) ac_cv_lib_soname_tiff=`$OTOOL -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16235 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16236 if ${ac_cv_lib_soname_tiff:+false} :; then :
16237 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16238 fi ;;
16239 esac
16240 else
16241 ac_cv_lib_soname_tiff=
16243 rm -f core conftest.err conftest.$ac_objext \
16244 conftest$ac_exeext conftest.$ac_ext
16245 LIBS=$ac_check_soname_save_LIBS
16247 if ${ac_cv_lib_soname_tiff:+false} :; then :
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16249 $as_echo "not found" >&6; }
16251 else
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16253 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16255 cat >>confdefs.h <<_ACEOF
16256 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16257 _ACEOF
16262 CPPFLAGS=$ac_save_CPPFLAGS
16265 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16266 case "x$with_tiff" in
16267 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16268 xno) ;;
16269 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16270 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16271 esac
16275 if test "x$with_mpg123" != "xno"
16276 then
16277 if ${MPG123_CFLAGS:+false} :; then :
16278 if ${PKG_CONFIG+:} false; then :
16279 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16283 if ${MPG123_LIBS:+false} :; then :
16284 if ${PKG_CONFIG+:} false; then :
16285 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16289 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16290 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16291 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16292 ac_save_CPPFLAGS=$CPPFLAGS
16293 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16294 for ac_header in mpg123.h
16295 do :
16296 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16297 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16298 cat >>confdefs.h <<_ACEOF
16299 #define HAVE_MPG123_H 1
16300 _ACEOF
16304 done
16306 if test "$ac_cv_header_mpg123_h" = "yes"
16307 then
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16309 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16310 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16311 $as_echo_n "(cached) " >&6
16312 else
16313 ac_check_lib_save_LIBS=$LIBS
16314 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16316 /* end confdefs.h. */
16318 /* Override any GCC internal prototype to avoid an error.
16319 Use char because int might match the return type of a GCC
16320 builtin and then its argument prototype would still apply. */
16321 #ifdef __cplusplus
16322 extern "C"
16323 #endif
16324 char mpg123_feed ();
16326 main ()
16328 return mpg123_feed ();
16330 return 0;
16332 _ACEOF
16333 if ac_fn_c_try_link "$LINENO"; then :
16334 ac_cv_lib_mpg123_mpg123_feed=yes
16335 else
16336 ac_cv_lib_mpg123_mpg123_feed=no
16338 rm -f core conftest.err conftest.$ac_objext \
16339 conftest$ac_exeext conftest.$ac_ext
16340 LIBS=$ac_check_lib_save_LIBS
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16343 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16344 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16346 else
16347 MPG123_LIBS=""
16350 else
16351 MPG123_CFLAGS=""
16352 MPG123_LIBS=""
16354 CPPFLAGS=$ac_save_CPPFLAGS
16357 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16358 case "x$with_mpg123" in
16359 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16360 xno) ;;
16361 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16362 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16363 esac
16364 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16366 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16368 if test "$ac_cv_header_AL_al_h" = "yes"
16369 then
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16371 $as_echo_n "checking for -lopenal... " >&6; }
16372 if ${ac_cv_lib_soname_openal+:} false; then :
16373 $as_echo_n "(cached) " >&6
16374 else
16375 ac_check_soname_save_LIBS=$LIBS
16376 LIBS="-lopenal $LIBS"
16377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h. */
16380 /* Override any GCC internal prototype to avoid an error.
16381 Use char because int might match the return type of a GCC
16382 builtin and then its argument prototype would still apply. */
16383 #ifdef __cplusplus
16384 extern "C"
16385 #endif
16386 char alGetSource3i ();
16388 main ()
16390 return alGetSource3i ();
16392 return 0;
16394 _ACEOF
16395 if ac_fn_c_try_link "$LINENO"; then :
16396 case "$LIBEXT" in
16397 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16398 dylib) ac_cv_lib_soname_openal=`$OTOOL -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16399 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16400 if ${ac_cv_lib_soname_openal:+false} :; then :
16401 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16402 fi ;;
16403 esac
16404 else
16405 ac_cv_lib_soname_openal=
16407 rm -f core conftest.err conftest.$ac_objext \
16408 conftest$ac_exeext conftest.$ac_ext
16409 LIBS=$ac_check_soname_save_LIBS
16411 if ${ac_cv_lib_soname_openal:+false} :; then :
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16413 $as_echo "not found" >&6; }
16415 else
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16417 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16419 cat >>confdefs.h <<_ACEOF
16420 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16421 _ACEOF
16423 OPENAL_LIBS="-lopenal"
16425 ac_cv_lib_openal=yes
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_OPENAL 1
16429 _ACEOF
16433 if test "x$ac_cv_lib_openal" != xyes; then :
16434 case "x$with_openal" in
16435 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16436 xno) ;;
16437 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16438 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16439 esac
16440 enable_openal32=${enable_openal32:-no}
16443 if test "x$ac_cv_lib_soname_FAudio" = "x"
16444 then
16445 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16446 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16447 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16448 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16449 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16450 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16451 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16452 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16453 enable_xactengine2_0=${enable_xactengine2_0:-no}
16454 enable_xactengine2_4=${enable_xactengine2_4:-no}
16455 enable_xactengine2_7=${enable_xactengine2_7:-no}
16456 enable_xactengine2_9=${enable_xactengine2_9:-no}
16457 enable_xactengine3_0=${enable_xactengine3_0:-no}
16458 enable_xactengine3_1=${enable_xactengine3_1:-no}
16459 enable_xactengine3_2=${enable_xactengine3_2:-no}
16460 enable_xactengine3_3=${enable_xactengine3_3:-no}
16461 enable_xactengine3_4=${enable_xactengine3_4:-no}
16462 enable_xactengine3_5=${enable_xactengine3_5:-no}
16463 enable_xactengine3_6=${enable_xactengine3_6:-no}
16464 enable_xactengine3_7=${enable_xactengine3_7:-no}
16465 enable_xapofx1_1=${enable_xapofx1_1:-no}
16466 enable_xapofx1_2=${enable_xapofx1_2:-no}
16467 enable_xapofx1_3=${enable_xapofx1_3:-no}
16468 enable_xapofx1_4=${enable_xapofx1_4:-no}
16469 enable_xapofx1_5=${enable_xapofx1_5:-no}
16470 enable_xaudio2_0=${enable_xaudio2_0:-no}
16471 enable_xaudio2_1=${enable_xaudio2_1:-no}
16472 enable_xaudio2_2=${enable_xaudio2_2:-no}
16473 enable_xaudio2_3=${enable_xaudio2_3:-no}
16474 enable_xaudio2_4=${enable_xaudio2_4:-no}
16475 enable_xaudio2_5=${enable_xaudio2_5:-no}
16476 enable_xaudio2_6=${enable_xaudio2_6:-no}
16477 enable_xaudio2_7=${enable_xaudio2_7:-no}
16478 enable_xaudio2_8=${enable_xaudio2_8:-no}
16479 enable_xaudio2_9=${enable_xaudio2_9:-no}
16482 if test "$ac_cv_header_kstat_h" = "yes"
16483 then
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16485 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16486 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16487 $as_echo_n "(cached) " >&6
16488 else
16489 ac_check_lib_save_LIBS=$LIBS
16490 LIBS="-lkstat $LIBS"
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16494 /* Override any GCC internal prototype to avoid an error.
16495 Use char because int might match the return type of a GCC
16496 builtin and then its argument prototype would still apply. */
16497 #ifdef __cplusplus
16498 extern "C"
16499 #endif
16500 char kstat_open ();
16502 main ()
16504 return kstat_open ();
16506 return 0;
16508 _ACEOF
16509 if ac_fn_c_try_link "$LINENO"; then :
16510 ac_cv_lib_kstat_kstat_open=yes
16511 else
16512 ac_cv_lib_kstat_kstat_open=no
16514 rm -f core conftest.err conftest.$ac_objext \
16515 conftest$ac_exeext conftest.$ac_ext
16516 LIBS=$ac_check_lib_save_LIBS
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16519 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16520 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16522 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16524 KSTAT_LIBS="-lkstat"
16530 if test "$ac_cv_header_libprocstat_h" = "yes"
16531 then
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16533 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16534 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16535 $as_echo_n "(cached) " >&6
16536 else
16537 ac_check_lib_save_LIBS=$LIBS
16538 LIBS="-lprocstat $LIBS"
16539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16540 /* end confdefs.h. */
16542 /* Override any GCC internal prototype to avoid an error.
16543 Use char because int might match the return type of a GCC
16544 builtin and then its argument prototype would still apply. */
16545 #ifdef __cplusplus
16546 extern "C"
16547 #endif
16548 char procstat_open_sysctl ();
16550 main ()
16552 return procstat_open_sysctl ();
16554 return 0;
16556 _ACEOF
16557 if ac_fn_c_try_link "$LINENO"; then :
16558 ac_cv_lib_procstat_procstat_open_sysctl=yes
16559 else
16560 ac_cv_lib_procstat_procstat_open_sysctl=no
16562 rm -f core conftest.err conftest.$ac_objext \
16563 conftest$ac_exeext conftest.$ac_ext
16564 LIBS=$ac_check_lib_save_LIBS
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16567 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16568 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16570 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16572 PROCSTAT_LIBS="-lprocstat"
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16579 $as_echo_n "checking for -lodbc... " >&6; }
16580 if ${ac_cv_lib_soname_odbc+:} false; then :
16581 $as_echo_n "(cached) " >&6
16582 else
16583 ac_check_soname_save_LIBS=$LIBS
16584 LIBS="-lodbc $LIBS"
16585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16586 /* end confdefs.h. */
16588 /* Override any GCC internal prototype to avoid an error.
16589 Use char because int might match the return type of a GCC
16590 builtin and then its argument prototype would still apply. */
16591 #ifdef __cplusplus
16592 extern "C"
16593 #endif
16594 char SQLConnect ();
16596 main ()
16598 return SQLConnect ();
16600 return 0;
16602 _ACEOF
16603 if ac_fn_c_try_link "$LINENO"; then :
16604 case "$LIBEXT" in
16605 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16606 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'` ;;
16607 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16608 if ${ac_cv_lib_soname_odbc:+false} :; then :
16609 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16610 fi ;;
16611 esac
16612 else
16613 ac_cv_lib_soname_odbc=
16615 rm -f core conftest.err conftest.$ac_objext \
16616 conftest$ac_exeext conftest.$ac_ext
16617 LIBS=$ac_check_soname_save_LIBS
16619 if ${ac_cv_lib_soname_odbc:+false} :; then :
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16621 $as_echo "not found" >&6; }
16622 cat >>confdefs.h <<_ACEOF
16623 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16624 _ACEOF
16626 else
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16628 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16630 cat >>confdefs.h <<_ACEOF
16631 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16632 _ACEOF
16637 if test "x$with_netapi" != "xno"
16638 then
16639 if ${NETAPI_CFLAGS:+false} :; then :
16640 if ${PKG_CONFIG+:} false; then :
16641 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16645 if ${NETAPI_LIBS:+false} :; then :
16646 if ${PKG_CONFIG+:} false; then :
16647 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16652 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16653 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16654 ac_save_CPPFLAGS=$CPPFLAGS
16655 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16657 $as_echo_n "checking for -lnetapi... " >&6; }
16658 if ${ac_cv_lib_soname_netapi+:} false; then :
16659 $as_echo_n "(cached) " >&6
16660 else
16661 ac_check_soname_save_LIBS=$LIBS
16662 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16666 /* Override any GCC internal prototype to avoid an error.
16667 Use char because int might match the return type of a GCC
16668 builtin and then its argument prototype would still apply. */
16669 #ifdef __cplusplus
16670 extern "C"
16671 #endif
16672 char libnetapi_init ();
16674 main ()
16676 return libnetapi_init ();
16678 return 0;
16680 _ACEOF
16681 if ac_fn_c_try_link "$LINENO"; then :
16682 case "$LIBEXT" in
16683 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16684 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'` ;;
16685 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16686 if ${ac_cv_lib_soname_netapi:+false} :; then :
16687 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16688 fi ;;
16689 esac
16690 else
16691 ac_cv_lib_soname_netapi=
16693 rm -f core conftest.err conftest.$ac_objext \
16694 conftest$ac_exeext conftest.$ac_ext
16695 LIBS=$ac_check_soname_save_LIBS
16697 if ${ac_cv_lib_soname_netapi:+false} :; then :
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16699 $as_echo "not found" >&6; }
16700 cat >>confdefs.h <<_ACEOF
16701 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16702 _ACEOF
16704 else
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16706 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16708 cat >>confdefs.h <<_ACEOF
16709 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16710 _ACEOF
16714 CPPFLAGS=$ac_save_CPPFLAGS
16718 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16719 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16720 then
16721 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16724 if test "x$with_vulkan" != "xno"
16725 then
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16727 $as_echo_n "checking for -lvulkan... " >&6; }
16728 if ${ac_cv_lib_soname_vulkan+:} false; then :
16729 $as_echo_n "(cached) " >&6
16730 else
16731 ac_check_soname_save_LIBS=$LIBS
16732 LIBS="-lvulkan $LIBS"
16733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16734 /* end confdefs.h. */
16736 /* Override any GCC internal prototype to avoid an error.
16737 Use char because int might match the return type of a GCC
16738 builtin and then its argument prototype would still apply. */
16739 #ifdef __cplusplus
16740 extern "C"
16741 #endif
16742 char vkGetInstanceProcAddr ();
16744 main ()
16746 return vkGetInstanceProcAddr ();
16748 return 0;
16750 _ACEOF
16751 if ac_fn_c_try_link "$LINENO"; then :
16752 case "$LIBEXT" in
16753 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16754 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'` ;;
16755 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16756 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16757 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16758 fi ;;
16759 esac
16760 else
16761 ac_cv_lib_soname_vulkan=
16763 rm -f core conftest.err conftest.$ac_objext \
16764 conftest$ac_exeext conftest.$ac_ext
16765 LIBS=$ac_check_soname_save_LIBS
16767 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16769 $as_echo "not found" >&6; }
16771 else
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16773 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16775 cat >>confdefs.h <<_ACEOF
16776 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16777 _ACEOF
16781 if test "x$ac_cv_lib_soname_vulkan" = "x"
16782 then
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16784 $as_echo_n "checking for -lMoltenVK... " >&6; }
16785 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16786 $as_echo_n "(cached) " >&6
16787 else
16788 ac_check_soname_save_LIBS=$LIBS
16789 LIBS="-lMoltenVK $LIBS"
16790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16791 /* end confdefs.h. */
16793 /* Override any GCC internal prototype to avoid an error.
16794 Use char because int might match the return type of a GCC
16795 builtin and then its argument prototype would still apply. */
16796 #ifdef __cplusplus
16797 extern "C"
16798 #endif
16799 char vkGetInstanceProcAddr ();
16801 main ()
16803 return vkGetInstanceProcAddr ();
16805 return 0;
16807 _ACEOF
16808 if ac_fn_c_try_link "$LINENO"; then :
16809 case "$LIBEXT" in
16810 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16811 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'` ;;
16812 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16813 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16814 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16815 fi ;;
16816 esac
16817 else
16818 ac_cv_lib_soname_MoltenVK=
16820 rm -f core conftest.err conftest.$ac_objext \
16821 conftest$ac_exeext conftest.$ac_ext
16822 LIBS=$ac_check_soname_save_LIBS
16824 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16826 $as_echo "not found" >&6; }
16828 else
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16830 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16832 cat >>confdefs.h <<_ACEOF
16833 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16834 _ACEOF
16840 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16841 case "x$with_vulkan" in
16842 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16843 xno) ;;
16844 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16845 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16846 esac
16850 if test "x$with_vkd3d" != "xno"
16851 then
16852 if ${VKD3D_CFLAGS:+false} :; then :
16853 if ${PKG_CONFIG+:} false; then :
16854 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16858 if ${VKD3D_LIBS:+false} :; then :
16859 if ${PKG_CONFIG+:} false; then :
16860 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16865 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16866 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16867 ac_save_CPPFLAGS=$CPPFLAGS
16868 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16870 $as_echo_n "checking for -lvkd3d... " >&6; }
16871 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16872 $as_echo_n "(cached) " >&6
16873 else
16874 ac_check_soname_save_LIBS=$LIBS
16875 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16877 /* end confdefs.h. */
16879 /* Override any GCC internal prototype to avoid an error.
16880 Use char because int might match the return type of a GCC
16881 builtin and then its argument prototype would still apply. */
16882 #ifdef __cplusplus
16883 extern "C"
16884 #endif
16885 char vkd3d_serialize_versioned_root_signature ();
16887 main ()
16889 return vkd3d_serialize_versioned_root_signature ();
16891 return 0;
16893 _ACEOF
16894 if ac_fn_c_try_link "$LINENO"; then :
16895 case "$LIBEXT" in
16896 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16897 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'` ;;
16898 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16899 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16900 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16901 fi ;;
16902 esac
16903 else
16904 ac_cv_lib_soname_vkd3d=
16906 rm -f core conftest.err conftest.$ac_objext \
16907 conftest$ac_exeext conftest.$ac_ext
16908 LIBS=$ac_check_soname_save_LIBS
16910 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16912 $as_echo "not found" >&6; }
16914 else
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16916 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16918 cat >>confdefs.h <<_ACEOF
16919 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16920 _ACEOF
16924 CPPFLAGS=$ac_save_CPPFLAGS
16926 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16927 if ${PKG_CONFIG+:} false; then :
16928 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16932 if ${VKD3D_SHADER_LIBS:+false} :; then :
16933 if ${PKG_CONFIG+:} false; then :
16934 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16939 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16940 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16941 ac_save_CPPFLAGS=$CPPFLAGS
16942 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16944 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16945 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16946 $as_echo_n "(cached) " >&6
16947 else
16948 ac_check_soname_save_LIBS=$LIBS
16949 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16951 /* end confdefs.h. */
16953 /* Override any GCC internal prototype to avoid an error.
16954 Use char because int might match the return type of a GCC
16955 builtin and then its argument prototype would still apply. */
16956 #ifdef __cplusplus
16957 extern "C"
16958 #endif
16959 char vkd3d_shader_compile ();
16961 main ()
16963 return vkd3d_shader_compile ();
16965 return 0;
16967 _ACEOF
16968 if ac_fn_c_try_link "$LINENO"; then :
16969 case "$LIBEXT" in
16970 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16971 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'` ;;
16972 *) 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'`
16973 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16974 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16975 fi ;;
16976 esac
16977 else
16978 ac_cv_lib_soname_vkd3d_shader=
16980 rm -f core conftest.err conftest.$ac_objext \
16981 conftest$ac_exeext conftest.$ac_ext
16982 LIBS=$ac_check_soname_save_LIBS
16984 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16986 $as_echo "not found" >&6; }
16988 else
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16990 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16992 cat >>confdefs.h <<_ACEOF
16993 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16994 _ACEOF
16998 CPPFLAGS=$ac_save_CPPFLAGS
17001 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17002 case "x$with_vkd3d" in
17003 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17004 xno) ;;
17005 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17006 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17007 esac
17010 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17013 EXTRACFLAGS=""
17015 if test "x${GCC}" = "xyes"
17016 then
17017 EXTRACFLAGS="-Wall -pipe"
17019 saved_CFLAGS=$CFLAGS
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17021 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17022 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 ac_wine_try_cflags_saved=$CFLAGS
17026 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17029 int main(int argc, char **argv) { return 0; }
17030 _ACEOF
17031 if ac_fn_c_try_link "$LINENO"; then :
17032 ac_cv_cflags__Werror_unknown_warning_option=yes
17033 else
17034 ac_cv_cflags__Werror_unknown_warning_option=no
17036 rm -f core conftest.err conftest.$ac_objext \
17037 conftest$ac_exeext conftest.$ac_ext
17038 CFLAGS=$ac_wine_try_cflags_saved
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17041 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17042 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17043 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17046 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17047 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17048 $as_echo_n "(cached) " >&6
17049 else
17050 ac_wine_try_cflags_saved=$CFLAGS
17051 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17054 int main(int argc, char **argv) { return 0; }
17055 _ACEOF
17056 if ac_fn_c_try_link "$LINENO"; then :
17057 ac_cv_cflags__Werror_unused_command_line_argument=yes
17058 else
17059 ac_cv_cflags__Werror_unused_command_line_argument=no
17061 rm -f core conftest.err conftest.$ac_objext \
17062 conftest$ac_exeext conftest.$ac_ext
17063 CFLAGS=$ac_wine_try_cflags_saved
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17066 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17067 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17068 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17071 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17072 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17073 $as_echo_n "(cached) " >&6
17074 else
17075 ac_wine_try_cflags_saved=$CFLAGS
17076 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 int main(int argc, char **argv) { return 0; }
17080 _ACEOF
17081 if ac_fn_c_try_link "$LINENO"; then :
17082 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17083 else
17084 ac_cv_cflags__Werror_ignored_optimization_argument=no
17086 rm -f core conftest.err conftest.$ac_objext \
17087 conftest$ac_exeext conftest.$ac_ext
17088 CFLAGS=$ac_wine_try_cflags_saved
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17091 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17092 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17093 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17096 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17097 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17098 $as_echo_n "(cached) " >&6
17099 else
17100 ac_wine_try_cflags_saved=$CFLAGS
17101 CFLAGS="$CFLAGS -fcf-protection=none"
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 int main(int argc, char **argv) { return 0; }
17105 _ACEOF
17106 if ac_fn_c_try_link "$LINENO"; then :
17107 ac_cv_cflags__fcf_protection_none=yes
17108 else
17109 ac_cv_cflags__fcf_protection_none=no
17111 rm -f core conftest.err conftest.$ac_objext \
17112 conftest$ac_exeext conftest.$ac_ext
17113 CFLAGS=$ac_wine_try_cflags_saved
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17116 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17117 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17118 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17121 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17122 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17123 $as_echo_n "(cached) " >&6
17124 else
17125 ac_wine_try_cflags_saved=$CFLAGS
17126 CFLAGS="$CFLAGS -fno-stack-protector"
17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17129 int main(int argc, char **argv) { return 0; }
17130 _ACEOF
17131 if ac_fn_c_try_link "$LINENO"; then :
17132 ac_cv_cflags__fno_stack_protector=yes
17133 else
17134 ac_cv_cflags__fno_stack_protector=no
17136 rm -f core conftest.err conftest.$ac_objext \
17137 conftest$ac_exeext conftest.$ac_ext
17138 CFLAGS=$ac_wine_try_cflags_saved
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17141 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17142 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17143 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17146 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17147 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17148 $as_echo_n "(cached) " >&6
17149 else
17150 ac_wine_try_cflags_saved=$CFLAGS
17151 CFLAGS="$CFLAGS -fno-strict-aliasing"
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 int main(int argc, char **argv) { return 0; }
17155 _ACEOF
17156 if ac_fn_c_try_link "$LINENO"; then :
17157 ac_cv_cflags__fno_strict_aliasing=yes
17158 else
17159 ac_cv_cflags__fno_strict_aliasing=no
17161 rm -f core conftest.err conftest.$ac_objext \
17162 conftest$ac_exeext conftest.$ac_ext
17163 CFLAGS=$ac_wine_try_cflags_saved
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17166 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17167 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17168 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17171 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17172 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17173 $as_echo_n "(cached) " >&6
17174 else
17175 ac_wine_try_cflags_saved=$CFLAGS
17176 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17179 int main(int argc, char **argv) { return 0; }
17180 _ACEOF
17181 if ac_fn_c_try_link "$LINENO"; then :
17182 ac_cv_cflags__Wdeclaration_after_statement=yes
17183 else
17184 ac_cv_cflags__Wdeclaration_after_statement=no
17186 rm -f core conftest.err conftest.$ac_objext \
17187 conftest$ac_exeext conftest.$ac_ext
17188 CFLAGS=$ac_wine_try_cflags_saved
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17191 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17192 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17193 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17196 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17197 if ${ac_cv_cflags__Wempty_body+:} false; then :
17198 $as_echo_n "(cached) " >&6
17199 else
17200 ac_wine_try_cflags_saved=$CFLAGS
17201 CFLAGS="$CFLAGS -Wempty-body"
17202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17204 int main(int argc, char **argv) { return 0; }
17205 _ACEOF
17206 if ac_fn_c_try_link "$LINENO"; then :
17207 ac_cv_cflags__Wempty_body=yes
17208 else
17209 ac_cv_cflags__Wempty_body=no
17211 rm -f core conftest.err conftest.$ac_objext \
17212 conftest$ac_exeext conftest.$ac_ext
17213 CFLAGS=$ac_wine_try_cflags_saved
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17216 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17217 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17218 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17221 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17222 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17223 $as_echo_n "(cached) " >&6
17224 else
17225 ac_wine_try_cflags_saved=$CFLAGS
17226 CFLAGS="$CFLAGS -Wignored-qualifiers"
17227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229 int main(int argc, char **argv) { return 0; }
17230 _ACEOF
17231 if ac_fn_c_try_link "$LINENO"; then :
17232 ac_cv_cflags__Wignored_qualifiers=yes
17233 else
17234 ac_cv_cflags__Wignored_qualifiers=no
17236 rm -f core conftest.err conftest.$ac_objext \
17237 conftest$ac_exeext conftest.$ac_ext
17238 CFLAGS=$ac_wine_try_cflags_saved
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17241 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17242 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17243 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17246 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17247 if ${ac_cv_cflags__Winit_self+:} false; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17250 ac_wine_try_cflags_saved=$CFLAGS
17251 CFLAGS="$CFLAGS -Winit-self"
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17254 int main(int argc, char **argv) { return 0; }
17255 _ACEOF
17256 if ac_fn_c_try_link "$LINENO"; then :
17257 ac_cv_cflags__Winit_self=yes
17258 else
17259 ac_cv_cflags__Winit_self=no
17261 rm -f core conftest.err conftest.$ac_objext \
17262 conftest$ac_exeext conftest.$ac_ext
17263 CFLAGS=$ac_wine_try_cflags_saved
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17266 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17267 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17268 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17271 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17272 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17273 $as_echo_n "(cached) " >&6
17274 else
17275 ac_wine_try_cflags_saved=$CFLAGS
17276 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17279 int main(int argc, char **argv) { return 0; }
17280 _ACEOF
17281 if ac_fn_c_try_link "$LINENO"; then :
17282 ac_cv_cflags__Wpacked_not_aligned=yes
17283 else
17284 ac_cv_cflags__Wpacked_not_aligned=no
17286 rm -f core conftest.err conftest.$ac_objext \
17287 conftest$ac_exeext conftest.$ac_ext
17288 CFLAGS=$ac_wine_try_cflags_saved
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17291 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17292 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17293 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17296 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17297 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300 ac_wine_try_cflags_saved=$CFLAGS
17301 CFLAGS="$CFLAGS -Wpragma-pack"
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17304 int main(int argc, char **argv) { return 0; }
17305 _ACEOF
17306 if ac_fn_c_try_link "$LINENO"; then :
17307 ac_cv_cflags__Wpragma_pack=yes
17308 else
17309 ac_cv_cflags__Wpragma_pack=no
17311 rm -f core conftest.err conftest.$ac_objext \
17312 conftest$ac_exeext conftest.$ac_ext
17313 CFLAGS=$ac_wine_try_cflags_saved
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17316 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17317 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17318 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17321 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17322 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17323 $as_echo_n "(cached) " >&6
17324 else
17325 ac_wine_try_cflags_saved=$CFLAGS
17326 CFLAGS="$CFLAGS -Wshift-overflow=2"
17327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17329 int main(int argc, char **argv) { return 0; }
17330 _ACEOF
17331 if ac_fn_c_try_link "$LINENO"; then :
17332 ac_cv_cflags__Wshift_overflow_2=yes
17333 else
17334 ac_cv_cflags__Wshift_overflow_2=no
17336 rm -f core conftest.err conftest.$ac_objext \
17337 conftest$ac_exeext conftest.$ac_ext
17338 CFLAGS=$ac_wine_try_cflags_saved
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17341 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17342 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17343 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17346 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17347 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17348 $as_echo_n "(cached) " >&6
17349 else
17350 ac_wine_try_cflags_saved=$CFLAGS
17351 CFLAGS="$CFLAGS -Wstrict-prototypes"
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17354 int main(int argc, char **argv) { return 0; }
17355 _ACEOF
17356 if ac_fn_c_try_link "$LINENO"; then :
17357 ac_cv_cflags__Wstrict_prototypes=yes
17358 else
17359 ac_cv_cflags__Wstrict_prototypes=no
17361 rm -f core conftest.err conftest.$ac_objext \
17362 conftest$ac_exeext conftest.$ac_ext
17363 CFLAGS=$ac_wine_try_cflags_saved
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17366 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17367 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17368 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17371 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17372 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17373 $as_echo_n "(cached) " >&6
17374 else
17375 ac_wine_try_cflags_saved=$CFLAGS
17376 CFLAGS="$CFLAGS -Wtype-limits"
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17379 int main(int argc, char **argv) { return 0; }
17380 _ACEOF
17381 if ac_fn_c_try_link "$LINENO"; then :
17382 ac_cv_cflags__Wtype_limits=yes
17383 else
17384 ac_cv_cflags__Wtype_limits=no
17386 rm -f core conftest.err conftest.$ac_objext \
17387 conftest$ac_exeext conftest.$ac_ext
17388 CFLAGS=$ac_wine_try_cflags_saved
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17391 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17392 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17393 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17396 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17397 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17398 $as_echo_n "(cached) " >&6
17399 else
17400 ac_wine_try_cflags_saved=$CFLAGS
17401 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17404 int main(int argc, char **argv) { return 0; }
17405 _ACEOF
17406 if ac_fn_c_try_link "$LINENO"; then :
17407 ac_cv_cflags__Wunused_but_set_parameter=yes
17408 else
17409 ac_cv_cflags__Wunused_but_set_parameter=no
17411 rm -f core conftest.err conftest.$ac_objext \
17412 conftest$ac_exeext conftest.$ac_ext
17413 CFLAGS=$ac_wine_try_cflags_saved
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17416 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17417 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17418 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17421 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17422 if ${ac_cv_cflags__Wvla+:} false; then :
17423 $as_echo_n "(cached) " >&6
17424 else
17425 ac_wine_try_cflags_saved=$CFLAGS
17426 CFLAGS="$CFLAGS -Wvla"
17427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17428 /* end confdefs.h. */
17429 int main(int argc, char **argv) { return 0; }
17430 _ACEOF
17431 if ac_fn_c_try_link "$LINENO"; then :
17432 ac_cv_cflags__Wvla=yes
17433 else
17434 ac_cv_cflags__Wvla=no
17436 rm -f core conftest.err conftest.$ac_objext \
17437 conftest$ac_exeext conftest.$ac_ext
17438 CFLAGS=$ac_wine_try_cflags_saved
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17441 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17442 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17443 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17446 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17447 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17448 $as_echo_n "(cached) " >&6
17449 else
17450 ac_wine_try_cflags_saved=$CFLAGS
17451 CFLAGS="$CFLAGS -Wwrite-strings"
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h. */
17454 int main(int argc, char **argv) { return 0; }
17455 _ACEOF
17456 if ac_fn_c_try_link "$LINENO"; then :
17457 ac_cv_cflags__Wwrite_strings=yes
17458 else
17459 ac_cv_cflags__Wwrite_strings=no
17461 rm -f core conftest.err conftest.$ac_objext \
17462 conftest$ac_exeext conftest.$ac_ext
17463 CFLAGS=$ac_wine_try_cflags_saved
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17466 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17467 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17468 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17471 if test -z "$CROSSTARGET"
17472 then
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17474 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17475 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17476 $as_echo_n "(cached) " >&6
17477 else
17478 ac_wine_try_cflags_saved=$CFLAGS
17479 CFLAGS="$CFLAGS -fexcess-precision=standard"
17480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17481 /* end confdefs.h. */
17482 int main(int argc, char **argv) { return 0; }
17483 _ACEOF
17484 if ac_fn_c_try_link "$LINENO"; then :
17485 ac_cv_cflags__fexcess_precision_standard=yes
17486 else
17487 ac_cv_cflags__fexcess_precision_standard=no
17489 rm -f core conftest.err conftest.$ac_objext \
17490 conftest$ac_exeext conftest.$ac_ext
17491 CFLAGS=$ac_wine_try_cflags_saved
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17494 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17495 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17496 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17502 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17503 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506 ac_wine_try_cflags_saved=$CFLAGS
17507 CFLAGS="$CFLAGS -Wpointer-arith"
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 int main(int argc, char **argv) { return 0; }
17511 _ACEOF
17512 if ac_fn_c_try_link "$LINENO"; then :
17513 ac_cv_cflags__Wpointer_arith=yes
17514 else
17515 ac_cv_cflags__Wpointer_arith=no
17517 rm -f core conftest.err conftest.$ac_objext \
17518 conftest$ac_exeext conftest.$ac_ext
17519 CFLAGS=$ac_wine_try_cflags_saved
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17522 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17523 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17524 saved_string_h_CFLAGS=$CFLAGS
17525 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17527 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17528 if ${ac_cv_c_string_h_warnings+:} false; then :
17529 $as_echo_n "(cached) " >&6
17530 else
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17533 #include <string.h>
17535 main ()
17539 return 0;
17541 _ACEOF
17542 if ac_fn_c_try_compile "$LINENO"; then :
17543 ac_cv_c_string_h_warnings=no
17544 else
17545 ac_cv_c_string_h_warnings=yes
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17550 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17551 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17552 CFLAGS=$saved_string_h_CFLAGS
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17556 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17557 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17558 $as_echo_n "(cached) " >&6
17559 else
17560 ac_wine_try_cflags_saved=$CFLAGS
17561 CFLAGS="$CFLAGS -Wlogical-op"
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 int main(int argc, char **argv) { return 0; }
17565 _ACEOF
17566 if ac_fn_c_try_link "$LINENO"; then :
17567 ac_cv_cflags__Wlogical_op=yes
17568 else
17569 ac_cv_cflags__Wlogical_op=no
17571 rm -f core conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17573 CFLAGS=$ac_wine_try_cflags_saved
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17576 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17577 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17578 saved_string_h_CFLAGS=$CFLAGS
17579 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17581 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17582 if ${ac_cv_c_logicalop_noisy+:} false; then :
17583 $as_echo_n "(cached) " >&6
17584 else
17585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17586 /* end confdefs.h. */
17587 #include <string.h>
17588 char*f(const char *h,char n) {return strchr(h,n);}
17590 main ()
17594 return 0;
17596 _ACEOF
17597 if ac_fn_c_try_compile "$LINENO"; then :
17598 ac_cv_c_logicalop_noisy=no
17599 else
17600 ac_cv_c_logicalop_noisy=yes
17602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17605 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17606 CFLAGS=$saved_string_h_CFLAGS
17607 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17611 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17612 if ${wine_cv_64bit_compare_swap+:} false; then :
17613 $as_echo_n "(cached) " >&6
17614 else
17615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17616 /* end confdefs.h. */
17617 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17618 #error no
17619 #endif
17621 main ()
17625 return 0;
17627 _ACEOF
17628 if ac_fn_c_try_compile "$LINENO"; then :
17629 wine_cv_64bit_compare_swap="none needed"
17630 else
17631 case $host_cpu in
17632 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17633 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17634 *) wine_cv_64bit_compare_swap="unknown" ;;
17635 esac
17636 if test "x$wine_cv_64bit_compare_swap" != xunknown
17637 then
17638 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17642 #error no
17643 #endif
17645 main ()
17649 return 0;
17651 _ACEOF
17652 if ac_fn_c_try_compile "$LINENO"; then :
17654 else
17655 wine_cv_64bit_compare_swap="unknown"
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17658 CFLAGS=$saved_CFLAGS
17661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17664 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17665 case "$wine_cv_64bit_compare_swap" in
17666 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17667 "none needed") ;;
17668 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17669 esac
17671 for ac_flag in $CFLAGS; do
17672 case $ac_flag in
17673 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17674 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17675 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17676 $as_echo_n "(cached) " >&6
17677 else
17678 ac_wine_try_cflags_saved=$CFLAGS
17679 CFLAGS="$CFLAGS -gdwarf-2"
17680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17681 /* end confdefs.h. */
17682 int main(int argc, char **argv) { return 0; }
17683 _ACEOF
17684 if ac_fn_c_try_link "$LINENO"; then :
17685 ac_cv_cflags__gdwarf_2=yes
17686 else
17687 ac_cv_cflags__gdwarf_2=no
17689 rm -f core conftest.err conftest.$ac_objext \
17690 conftest$ac_exeext conftest.$ac_ext
17691 CFLAGS=$ac_wine_try_cflags_saved
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17694 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17695 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17696 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17699 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17700 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17701 $as_echo_n "(cached) " >&6
17702 else
17703 ac_wine_try_cflags_saved=$CFLAGS
17704 CFLAGS="$CFLAGS -gstrict-dwarf"
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17707 int main(int argc, char **argv) { return 0; }
17708 _ACEOF
17709 if ac_fn_c_try_link "$LINENO"; then :
17710 ac_cv_cflags__gstrict_dwarf=yes
17711 else
17712 ac_cv_cflags__gstrict_dwarf=no
17714 rm -f core conftest.err conftest.$ac_objext \
17715 conftest$ac_exeext conftest.$ac_ext
17716 CFLAGS=$ac_wine_try_cflags_saved
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17719 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17720 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17721 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17722 fi ;;
17723 esac
17724 done
17726 MSVCRTFLAGS=""
17728 case $host_os in
17729 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17730 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17731 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17732 $as_echo_n "(cached) " >&6
17733 else
17734 ac_wine_try_cflags_saved=$CFLAGS
17735 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17737 /* end confdefs.h. */
17738 int main(int argc, char **argv) { return 0; }
17739 _ACEOF
17740 if ac_fn_c_try_link "$LINENO"; then :
17741 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17742 else
17743 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17745 rm -f core conftest.err conftest.$ac_objext \
17746 conftest$ac_exeext conftest.$ac_ext
17747 CFLAGS=$ac_wine_try_cflags_saved
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17750 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17751 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17752 DELAYLOADFLAG="-Wl,-delayload,"
17754 fi ;;
17755 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17756 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17757 if ${ac_cv_cflags__fno_builtin+:} false; then :
17758 $as_echo_n "(cached) " >&6
17759 else
17760 ac_wine_try_cflags_saved=$CFLAGS
17761 CFLAGS="$CFLAGS -fno-builtin"
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17764 int main(int argc, char **argv) { return 0; }
17765 _ACEOF
17766 if ac_fn_c_try_link "$LINENO"; then :
17767 ac_cv_cflags__fno_builtin=yes
17768 else
17769 ac_cv_cflags__fno_builtin=no
17771 rm -f core conftest.err conftest.$ac_objext \
17772 conftest$ac_exeext conftest.$ac_ext
17773 CFLAGS=$ac_wine_try_cflags_saved
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17776 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17777 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17778 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17781 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17782 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17783 $as_echo_n "(cached) " >&6
17784 else
17785 ac_wine_try_cflags_saved=$CFLAGS
17786 CFLAGS="$CFLAGS -fshort-wchar"
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 int main(int argc, char **argv) { return 0; }
17790 _ACEOF
17791 if ac_fn_c_try_link "$LINENO"; then :
17792 ac_cv_cflags__fshort_wchar=yes
17793 else
17794 ac_cv_cflags__fshort_wchar=no
17796 rm -f core conftest.err conftest.$ac_objext \
17797 conftest$ac_exeext conftest.$ac_ext
17798 CFLAGS=$ac_wine_try_cflags_saved
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17801 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17802 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17803 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17804 fi ;;
17805 esac
17807 case $host_cpu in
17808 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17809 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17810 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17811 $as_echo_n "(cached) " >&6
17812 else
17813 ac_wine_try_cflags_saved=$CFLAGS
17814 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17816 /* end confdefs.h. */
17817 int main(int argc, char **argv) { return 0; }
17818 _ACEOF
17819 if ac_fn_c_try_link "$LINENO"; then :
17820 ac_cv_cflags__fno_omit_frame_pointer=yes
17821 else
17822 ac_cv_cflags__fno_omit_frame_pointer=no
17824 rm -f core conftest.err conftest.$ac_objext \
17825 conftest$ac_exeext conftest.$ac_ext
17826 CFLAGS=$ac_wine_try_cflags_saved
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17829 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17830 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17831 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17832 fi ;;
17833 *x86_64*)
17834 case $host_os in
17835 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17836 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17837 if ${ac_cv_cflags__Wno_format+:} false; then :
17838 $as_echo_n "(cached) " >&6
17839 else
17840 ac_wine_try_cflags_saved=$CFLAGS
17841 CFLAGS="$CFLAGS -Wno-format"
17842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17843 /* end confdefs.h. */
17844 int main(int argc, char **argv) { return 0; }
17845 _ACEOF
17846 if ac_fn_c_try_link "$LINENO"; then :
17847 ac_cv_cflags__Wno_format=yes
17848 else
17849 ac_cv_cflags__Wno_format=no
17851 rm -f core conftest.err conftest.$ac_objext \
17852 conftest$ac_exeext conftest.$ac_ext
17853 CFLAGS=$ac_wine_try_cflags_saved
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17856 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17857 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17858 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17859 fi ;;
17860 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17861 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17862 if ${ac_cv_cflags__mabi_ms+:} false; then :
17863 $as_echo_n "(cached) " >&6
17864 else
17865 ac_wine_try_cflags_saved=$CFLAGS
17866 CFLAGS="$CFLAGS -mabi=ms"
17867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17868 /* end confdefs.h. */
17869 int main(int argc, char **argv) { return 0; }
17870 _ACEOF
17871 if ac_fn_c_try_link "$LINENO"; then :
17872 ac_cv_cflags__mabi_ms=yes
17873 else
17874 ac_cv_cflags__mabi_ms=no
17876 rm -f core conftest.err conftest.$ac_objext \
17877 conftest$ac_exeext conftest.$ac_ext
17878 CFLAGS=$ac_wine_try_cflags_saved
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17881 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17882 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17883 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17884 fi ;;
17885 esac ;;
17886 esac
17888 CFLAGS=$saved_CFLAGS
17890 if test "x$enable_werror" = "xyes"
17891 then
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17893 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17894 if ${ac_cv_cflags__Werror+:} false; then :
17895 $as_echo_n "(cached) " >&6
17896 else
17897 ac_wine_try_cflags_saved=$CFLAGS
17898 CFLAGS="$CFLAGS -Werror"
17899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17900 /* end confdefs.h. */
17901 int main(int argc, char **argv) { return 0; }
17902 _ACEOF
17903 if ac_fn_c_try_link "$LINENO"; then :
17904 ac_cv_cflags__Werror=yes
17905 else
17906 ac_cv_cflags__Werror=no
17908 rm -f core conftest.err conftest.$ac_objext \
17909 conftest$ac_exeext conftest.$ac_ext
17910 CFLAGS=$ac_wine_try_cflags_saved
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17913 $as_echo "$ac_cv_cflags__Werror" >&6; }
17914 if test "x$ac_cv_cflags__Werror" = xyes; then :
17915 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17918 if test "x$enable_build_id" = "xyes"
17919 then
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17921 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17922 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17923 $as_echo_n "(cached) " >&6
17924 else
17925 ac_wine_try_cflags_saved=$CFLAGS
17926 CFLAGS="$CFLAGS -Wl,--build-id"
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17929 int main(int argc, char **argv) { return 0; }
17930 _ACEOF
17931 if ac_fn_c_try_link "$LINENO"; then :
17932 ac_cv_cflags__Wl___build_id=yes
17933 else
17934 ac_cv_cflags__Wl___build_id=no
17936 rm -f core conftest.err conftest.$ac_objext \
17937 conftest$ac_exeext conftest.$ac_ext
17938 CFLAGS=$ac_wine_try_cflags_saved
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17941 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17942 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17943 CFLAGS="$CFLAGS -Wl,--build-id"
17944 LDFLAGS="$LDFLAGS -Wl,--build-id"
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17951 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17952 if ${ac_cv_c_fortify_enabled+:} false; then :
17953 $as_echo_n "(cached) " >&6
17954 else
17955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17956 /* end confdefs.h. */
17957 #include <string.h>
17959 main ()
17961 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17962 #error Fortify enabled
17963 #endif
17965 return 0;
17967 _ACEOF
17968 if ac_fn_c_try_compile "$LINENO"; then :
17969 ac_cv_c_fortify_enabled=no
17970 else
17971 ac_cv_c_fortify_enabled=yes
17973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17976 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17977 if test "$ac_cv_c_fortify_enabled" = yes
17978 then
17979 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17984 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17985 if ${ac_cv_c_cfi_support+:} false; then :
17986 $as_echo_n "(cached) " >&6
17987 else
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17990 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17992 main ()
17996 return 0;
17998 _ACEOF
17999 if ac_fn_c_try_compile "$LINENO"; then :
18000 ac_cv_c_cfi_support="yes"
18001 else
18002 ac_cv_c_cfi_support="no"
18004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18007 $as_echo "$ac_cv_c_cfi_support" >&6; }
18008 if test "$ac_cv_c_cfi_support" = "yes"
18009 then
18010 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18011 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18012 else
18013 if test "x$enable_win64" = "xyes"
18014 then
18015 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18020 case $build_os in
18021 cygwin*|mingw32*) TOOLSEXT=".exe"
18023 esac
18025 case $host_os in
18026 linux*)
18027 case $host_cpu in
18028 *i[3456789]86*|x86_64*|*aarch64*|arm*)
18029 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18030 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18032 esac
18034 esac
18037 ac_save_CFLAGS="$CFLAGS"
18038 CFLAGS="$CFLAGS $BUILTINFLAG"
18039 for ac_func in \
18040 __res_get_state \
18041 __res_getservers \
18042 _spawnvp \
18043 epoll_create \
18044 fnmatch \
18045 fork \
18046 fstatfs \
18047 futimens \
18048 futimes \
18049 futimesat \
18050 getattrlist \
18051 getauxval \
18052 getifaddrs \
18053 getopt_long_only \
18054 getrandom \
18055 kqueue \
18056 lstat \
18057 mach_continuous_time \
18058 pipe2 \
18059 poll \
18060 port_create \
18061 prctl \
18062 pread \
18063 proc_pidinfo \
18064 pwrite \
18065 readlink \
18066 sched_yield \
18067 setproctitle \
18068 setprogname \
18069 sigprocmask \
18070 symlink \
18071 tcdrain \
18072 thr_kill2
18074 do :
18075 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18076 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18077 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18078 cat >>confdefs.h <<_ACEOF
18079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18080 _ACEOF
18083 done
18085 CFLAGS="$ac_save_CFLAGS"
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18088 $as_echo_n "checking for library containing dlopen... " >&6; }
18089 if ${ac_cv_search_dlopen+:} false; then :
18090 $as_echo_n "(cached) " >&6
18091 else
18092 ac_func_search_save_LIBS=$LIBS
18093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18094 /* end confdefs.h. */
18096 /* Override any GCC internal prototype to avoid an error.
18097 Use char because int might match the return type of a GCC
18098 builtin and then its argument prototype would still apply. */
18099 #ifdef __cplusplus
18100 extern "C"
18101 #endif
18102 char dlopen ();
18104 main ()
18106 return dlopen ();
18108 return 0;
18110 _ACEOF
18111 for ac_lib in '' dl; do
18112 if test -z "$ac_lib"; then
18113 ac_res="none required"
18114 else
18115 ac_res=-l$ac_lib
18116 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18118 if ac_fn_c_try_link "$LINENO"; then :
18119 ac_cv_search_dlopen=$ac_res
18121 rm -f core conftest.err conftest.$ac_objext \
18122 conftest$ac_exeext
18123 if ${ac_cv_search_dlopen+:} false; then :
18124 break
18126 done
18127 if ${ac_cv_search_dlopen+:} false; then :
18129 else
18130 ac_cv_search_dlopen=no
18132 rm conftest.$ac_ext
18133 LIBS=$ac_func_search_save_LIBS
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18136 $as_echo "$ac_cv_search_dlopen" >&6; }
18137 ac_res=$ac_cv_search_dlopen
18138 if test "$ac_res" != no; then :
18139 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18143 ac_wine_check_funcs_save_LIBS="$LIBS"
18144 LIBS="$LIBS $DL_LIBS"
18145 for ac_func in dladdr dlinfo
18146 do :
18147 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18148 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18149 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18150 cat >>confdefs.h <<_ACEOF
18151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18152 _ACEOF
18155 done
18157 LIBS="$ac_wine_check_funcs_save_LIBS"
18159 if test "$ac_cv_func_poll" = no
18160 then
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18162 $as_echo_n "checking for poll in -lpoll... " >&6; }
18163 if ${ac_cv_lib_poll_poll+:} false; then :
18164 $as_echo_n "(cached) " >&6
18165 else
18166 ac_check_lib_save_LIBS=$LIBS
18167 LIBS="-lpoll $LIBS"
18168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18169 /* end confdefs.h. */
18171 /* Override any GCC internal prototype to avoid an error.
18172 Use char because int might match the return type of a GCC
18173 builtin and then its argument prototype would still apply. */
18174 #ifdef __cplusplus
18175 extern "C"
18176 #endif
18177 char poll ();
18179 main ()
18181 return poll ();
18183 return 0;
18185 _ACEOF
18186 if ac_fn_c_try_link "$LINENO"; then :
18187 ac_cv_lib_poll_poll=yes
18188 else
18189 ac_cv_lib_poll_poll=no
18191 rm -f core conftest.err conftest.$ac_objext \
18192 conftest$ac_exeext conftest.$ac_ext
18193 LIBS=$ac_check_lib_save_LIBS
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18196 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18197 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18198 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18199 POLL_LIBS="-lpoll"
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18206 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18207 if ${ac_cv_search_gethostbyname+:} false; then :
18208 $as_echo_n "(cached) " >&6
18209 else
18210 ac_func_search_save_LIBS=$LIBS
18211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */
18214 /* Override any GCC internal prototype to avoid an error.
18215 Use char because int might match the return type of a GCC
18216 builtin and then its argument prototype would still apply. */
18217 #ifdef __cplusplus
18218 extern "C"
18219 #endif
18220 char gethostbyname ();
18222 main ()
18224 return gethostbyname ();
18226 return 0;
18228 _ACEOF
18229 for ac_lib in '' nsl; do
18230 if test -z "$ac_lib"; then
18231 ac_res="none required"
18232 else
18233 ac_res=-l$ac_lib
18234 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18236 if ac_fn_c_try_link "$LINENO"; then :
18237 ac_cv_search_gethostbyname=$ac_res
18239 rm -f core conftest.err conftest.$ac_objext \
18240 conftest$ac_exeext
18241 if ${ac_cv_search_gethostbyname+:} false; then :
18242 break
18244 done
18245 if ${ac_cv_search_gethostbyname+:} false; then :
18247 else
18248 ac_cv_search_gethostbyname=no
18250 rm conftest.$ac_ext
18251 LIBS=$ac_func_search_save_LIBS
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18254 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18255 ac_res=$ac_cv_search_gethostbyname
18256 if test "$ac_res" != no; then :
18257 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18263 $as_echo_n "checking for library containing connect... " >&6; }
18264 if ${ac_cv_search_connect+:} false; then :
18265 $as_echo_n "(cached) " >&6
18266 else
18267 ac_func_search_save_LIBS=$LIBS
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18271 /* Override any GCC internal prototype to avoid an error.
18272 Use char because int might match the return type of a GCC
18273 builtin and then its argument prototype would still apply. */
18274 #ifdef __cplusplus
18275 extern "C"
18276 #endif
18277 char connect ();
18279 main ()
18281 return connect ();
18283 return 0;
18285 _ACEOF
18286 for ac_lib in '' socket; do
18287 if test -z "$ac_lib"; then
18288 ac_res="none required"
18289 else
18290 ac_res=-l$ac_lib
18291 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18293 if ac_fn_c_try_link "$LINENO"; then :
18294 ac_cv_search_connect=$ac_res
18296 rm -f core conftest.err conftest.$ac_objext \
18297 conftest$ac_exeext
18298 if ${ac_cv_search_connect+:} false; then :
18299 break
18301 done
18302 if ${ac_cv_search_connect+:} false; then :
18304 else
18305 ac_cv_search_connect=no
18307 rm conftest.$ac_ext
18308 LIBS=$ac_func_search_save_LIBS
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18311 $as_echo "$ac_cv_search_connect" >&6; }
18312 ac_res=$ac_cv_search_connect
18313 if test "$ac_res" != no; then :
18314 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18320 $as_echo_n "checking for library containing inet_aton... " >&6; }
18321 if ${ac_cv_search_inet_aton+:} false; then :
18322 $as_echo_n "(cached) " >&6
18323 else
18324 ac_func_search_save_LIBS=$LIBS
18325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h. */
18328 /* Override any GCC internal prototype to avoid an error.
18329 Use char because int might match the return type of a GCC
18330 builtin and then its argument prototype would still apply. */
18331 #ifdef __cplusplus
18332 extern "C"
18333 #endif
18334 char inet_aton ();
18336 main ()
18338 return inet_aton ();
18340 return 0;
18342 _ACEOF
18343 for ac_lib in '' resolv; do
18344 if test -z "$ac_lib"; then
18345 ac_res="none required"
18346 else
18347 ac_res=-l$ac_lib
18348 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18350 if ac_fn_c_try_link "$LINENO"; then :
18351 ac_cv_search_inet_aton=$ac_res
18353 rm -f core conftest.err conftest.$ac_objext \
18354 conftest$ac_exeext
18355 if ${ac_cv_search_inet_aton+:} false; then :
18356 break
18358 done
18359 if ${ac_cv_search_inet_aton+:} false; then :
18361 else
18362 ac_cv_search_inet_aton=no
18364 rm conftest.$ac_ext
18365 LIBS=$ac_func_search_save_LIBS
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18368 $as_echo "$ac_cv_search_inet_aton" >&6; }
18369 ac_res=$ac_cv_search_inet_aton
18370 if test "$ac_res" != no; then :
18371 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18376 for ac_func in \
18377 getaddrinfo \
18378 getnameinfo \
18379 getservbyport \
18381 do :
18382 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18384 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18385 cat >>confdefs.h <<_ACEOF
18386 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18387 _ACEOF
18390 done
18393 case $host_os in
18394 darwin*|macosx*) ;;
18395 *) ac_save_LIBS=$LIBS
18396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18397 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18398 if ${ac_cv_search_clock_gettime+:} false; then :
18399 $as_echo_n "(cached) " >&6
18400 else
18401 ac_func_search_save_LIBS=$LIBS
18402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18403 /* end confdefs.h. */
18405 /* Override any GCC internal prototype to avoid an error.
18406 Use char because int might match the return type of a GCC
18407 builtin and then its argument prototype would still apply. */
18408 #ifdef __cplusplus
18409 extern "C"
18410 #endif
18411 char clock_gettime ();
18413 main ()
18415 return clock_gettime ();
18417 return 0;
18419 _ACEOF
18420 for ac_lib in '' rt; do
18421 if test -z "$ac_lib"; then
18422 ac_res="none required"
18423 else
18424 ac_res=-l$ac_lib
18425 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18427 if ac_fn_c_try_link "$LINENO"; then :
18428 ac_cv_search_clock_gettime=$ac_res
18430 rm -f core conftest.err conftest.$ac_objext \
18431 conftest$ac_exeext
18432 if ${ac_cv_search_clock_gettime+:} false; then :
18433 break
18435 done
18436 if ${ac_cv_search_clock_gettime+:} false; then :
18438 else
18439 ac_cv_search_clock_gettime=no
18441 rm conftest.$ac_ext
18442 LIBS=$ac_func_search_save_LIBS
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18445 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18446 ac_res=$ac_cv_search_clock_gettime
18447 if test "$ac_res" != no; then :
18448 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18450 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18452 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18456 LIBS=$ac_save_LIBS
18458 esac
18460 if test "x$with_ldap" != "xno"
18461 then
18462 if ${LDAP_CFLAGS:+false} :; then :
18463 if ${PKG_CONFIG+:} false; then :
18464 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18468 if ${LDAP_LIBS:+false} :; then :
18469 if ${PKG_CONFIG+:} false; then :
18470 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18474 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18475 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18476 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18477 ac_save_CPPFLAGS=$CPPFLAGS
18478 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18479 for ac_header in ldap.h lber.h
18480 do :
18481 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18482 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18483 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18484 cat >>confdefs.h <<_ACEOF
18485 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18486 _ACEOF
18490 done
18492 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18493 then
18494 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18496 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18498 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18499 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18500 $as_echo_n "(cached) " >&6
18501 else
18502 ac_check_lib_save_LIBS=$LIBS
18503 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18505 /* end confdefs.h. */
18507 /* Override any GCC internal prototype to avoid an error.
18508 Use char because int might match the return type of a GCC
18509 builtin and then its argument prototype would still apply. */
18510 #ifdef __cplusplus
18511 extern "C"
18512 #endif
18513 char ldap_initialize ();
18515 main ()
18517 return ldap_initialize ();
18519 return 0;
18521 _ACEOF
18522 if ac_fn_c_try_link "$LINENO"; then :
18523 ac_cv_lib_ldap_r_ldap_initialize=yes
18524 else
18525 ac_cv_lib_ldap_r_ldap_initialize=no
18527 rm -f core conftest.err conftest.$ac_objext \
18528 conftest$ac_exeext conftest.$ac_ext
18529 LIBS=$ac_check_lib_save_LIBS
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18532 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18533 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18535 $as_echo_n "checking for ber_init in -llber... " >&6; }
18536 if ${ac_cv_lib_lber_ber_init+:} false; then :
18537 $as_echo_n "(cached) " >&6
18538 else
18539 ac_check_lib_save_LIBS=$LIBS
18540 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18542 /* end confdefs.h. */
18544 /* Override any GCC internal prototype to avoid an error.
18545 Use char because int might match the return type of a GCC
18546 builtin and then its argument prototype would still apply. */
18547 #ifdef __cplusplus
18548 extern "C"
18549 #endif
18550 char ber_init ();
18552 main ()
18554 return ber_init ();
18556 return 0;
18558 _ACEOF
18559 if ac_fn_c_try_link "$LINENO"; then :
18560 ac_cv_lib_lber_ber_init=yes
18561 else
18562 ac_cv_lib_lber_ber_init=no
18564 rm -f core conftest.err conftest.$ac_objext \
18565 conftest$ac_exeext conftest.$ac_ext
18566 LIBS=$ac_check_lib_save_LIBS
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18569 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18570 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18572 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18574 else
18575 LDAP_LIBS=""
18578 else
18579 LDAP_LIBS=""
18582 else
18583 LDAP_LIBS=""
18586 ac_wine_check_funcs_save_LIBS="$LIBS"
18587 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18588 for ac_func in \
18589 ldap_count_references \
18590 ldap_first_reference \
18591 ldap_next_reference \
18592 ldap_parse_reference \
18593 ldap_parse_sort_control \
18594 ldap_parse_sortresponse_control \
18595 ldap_parse_vlv_control \
18596 ldap_parse_vlvresponse_control
18597 do :
18598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18600 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18601 cat >>confdefs.h <<_ACEOF
18602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18603 _ACEOF
18606 done
18608 LIBS="$ac_wine_check_funcs_save_LIBS"
18609 else
18610 LDAP_LIBS=""
18612 CPPFLAGS=$ac_save_CPPFLAGS
18615 if test "x$LDAP_LIBS" = "x"; then :
18616 case "x$with_ldap" in
18617 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18618 xno) ;;
18619 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18620 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18621 esac
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18626 $as_echo_n "checking for sched_setaffinity... " >&6; }
18627 if ${wine_cv_have_sched_setaffinity+:} false; then :
18628 $as_echo_n "(cached) " >&6
18629 else
18630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18631 /* end confdefs.h. */
18632 #define _GNU_SOURCE
18633 #include <sched.h>
18635 main ()
18637 sched_setaffinity(0, 0, 0);
18639 return 0;
18641 _ACEOF
18642 if ac_fn_c_try_link "$LINENO"; then :
18643 wine_cv_have_sched_setaffinity=yes
18644 else
18645 wine_cv_have_sched_setaffinity=no
18647 rm -f core conftest.err conftest.$ac_objext \
18648 conftest$ac_exeext conftest.$ac_ext
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18651 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18652 if test "$wine_cv_have_sched_setaffinity" = "yes"
18653 then
18655 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18660 $as_echo_n "checking for fallocate... " >&6; }
18661 if ${wine_cv_have_fallocate+:} false; then :
18662 $as_echo_n "(cached) " >&6
18663 else
18664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18666 #define _GNU_SOURCE
18667 #include <fcntl.h>
18669 main ()
18671 fallocate(-1, 0, 0, 0);
18673 return 0;
18675 _ACEOF
18676 if ac_fn_c_try_link "$LINENO"; then :
18677 wine_cv_have_fallocate=yes
18678 else
18679 wine_cv_have_fallocate=no
18681 rm -f core conftest.err conftest.$ac_objext \
18682 conftest$ac_exeext conftest.$ac_ext
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18685 $as_echo "$wine_cv_have_fallocate" >&6; }
18686 if test "$wine_cv_have_fallocate" = "yes"
18687 then
18689 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18695 $as_echo_n "checking for inline... " >&6; }
18696 if ${ac_cv_c_inline+:} false; then :
18697 $as_echo_n "(cached) " >&6
18698 else
18699 ac_cv_c_inline=no
18700 for ac_kw in inline __inline__ __inline; do
18701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h. */
18703 #ifndef __cplusplus
18704 typedef int foo_t;
18705 static $ac_kw foo_t static_foo () {return 0; }
18706 $ac_kw foo_t foo () {return 0; }
18707 #endif
18709 _ACEOF
18710 if ac_fn_c_try_compile "$LINENO"; then :
18711 ac_cv_c_inline=$ac_kw
18713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18714 test "$ac_cv_c_inline" != no && break
18715 done
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18719 $as_echo "$ac_cv_c_inline" >&6; }
18721 case $ac_cv_c_inline in
18722 inline | yes) ;;
18724 case $ac_cv_c_inline in
18725 no) ac_val=;;
18726 *) ac_val=$ac_cv_c_inline;;
18727 esac
18728 cat >>confdefs.h <<_ACEOF
18729 #ifndef __cplusplus
18730 #define inline $ac_val
18731 #endif
18732 _ACEOF
18734 esac
18736 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18737 #include <signal.h>
18739 if test "x$ac_cv_type_sigset_t" = xyes; then :
18741 cat >>confdefs.h <<_ACEOF
18742 #define HAVE_SIGSET_T 1
18743 _ACEOF
18748 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18750 if test "x$ac_cv_type_request_sense" = xyes; then :
18752 cat >>confdefs.h <<_ACEOF
18753 #define HAVE_REQUEST_SENSE 1
18754 _ACEOF
18760 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18761 #ifdef HAVE_SYS_SOCKET_H
18762 #include <sys/socket.h>
18763 #endif
18764 #ifdef HAVE_SYS_SOCKETVAR_H
18765 #include <sys/socketvar.h>
18766 #endif
18767 #ifdef HAVE_NET_ROUTE_H
18768 #include <net/route.h>
18769 #endif
18770 #ifdef HAVE_NETINET_IN_H
18771 #include <netinet/in.h>
18772 #endif
18773 #ifdef HAVE_NETINET_IN_SYSTM_H
18774 #include <netinet/in_systm.h>
18775 #endif
18776 #ifdef HAVE_NETINET_IP_H
18777 #include <netinet/ip.h>
18778 #endif
18779 #ifdef HAVE_NETINET_IN_PCB_H
18780 #include <netinet/in_pcb.h>
18781 #endif
18783 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18785 cat >>confdefs.h <<_ACEOF
18786 #define HAVE_STRUCT_XINPGEN 1
18787 _ACEOF
18793 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18794 #include <linux/input.h>
18795 #endif
18797 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18799 cat >>confdefs.h <<_ACEOF
18800 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18801 _ACEOF
18807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18808 $as_echo_n "checking for if_nameindex... " >&6; }
18809 if ${wine_cv_have_if_nameindex+:} false; then :
18810 $as_echo_n "(cached) " >&6
18811 else
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18814 #ifdef HAVE_SYS_TYPES_H
18815 #include <sys/types.h>
18816 #endif
18817 #ifdef HAVE_SYS_SOCKET_H
18818 #include <sys/socket.h>
18819 #endif
18820 #ifdef HAVE_NET_IF_H
18821 # include <net/if.h>
18822 #endif
18824 main ()
18826 struct if_nameindex *p = if_nameindex(); return p->if_index;
18828 return 0;
18830 _ACEOF
18831 if ac_fn_c_try_link "$LINENO"; then :
18832 wine_cv_have_if_nameindex=yes
18833 else
18834 wine_cv_have_if_nameindex=no
18836 rm -f core conftest.err conftest.$ac_objext \
18837 conftest$ac_exeext conftest.$ac_ext
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18840 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18841 if test "$wine_cv_have_if_nameindex" = "yes"
18842 then
18844 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18849 $as_echo_n "checking for sigaddset... " >&6; }
18850 if ${wine_cv_have_sigaddset+:} false; then :
18851 $as_echo_n "(cached) " >&6
18852 else
18853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18855 #include <signal.h>
18857 main ()
18859 sigset_t set; sigaddset(&set,SIGTERM);
18861 return 0;
18863 _ACEOF
18864 if ac_fn_c_try_link "$LINENO"; then :
18865 wine_cv_have_sigaddset=yes
18866 else
18867 wine_cv_have_sigaddset=no
18869 rm -f core conftest.err conftest.$ac_objext \
18870 conftest$ac_exeext conftest.$ac_ext
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18873 $as_echo "$wine_cv_have_sigaddset" >&6; }
18874 if test "$wine_cv_have_sigaddset" = "yes"
18875 then
18877 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18883 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18884 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18885 $as_echo_n "(cached) " >&6
18886 else
18887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18889 #include <netdb.h>
18891 main ()
18894 char *name=0;
18895 struct hostent he;
18896 struct hostent *result;
18897 char *buf=0;
18898 int bufsize=0;
18899 int errnr;
18900 char *addr=0;
18901 int addrlen=0;
18902 int addrtype=0;
18903 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18904 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18907 return 0;
18909 _ACEOF
18910 if ac_fn_c_try_link "$LINENO"; then :
18911 wine_cv_linux_gethostbyname_r_6=yes
18912 else
18913 wine_cv_linux_gethostbyname_r_6=no
18916 rm -f core conftest.err conftest.$ac_objext \
18917 conftest$ac_exeext conftest.$ac_ext
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18921 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18922 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18923 then
18925 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18929 if test "$ac_cv_header_linux_joystick_h" = "yes"
18930 then
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18932 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18933 if ${wine_cv_linux_joystick_22_api+:} false; then :
18934 $as_echo_n "(cached) " >&6
18935 else
18936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18937 /* end confdefs.h. */
18939 #include <sys/ioctl.h>
18940 #include <sys/types.h>
18941 #include <linux/joystick.h>
18943 struct js_event blub;
18944 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18945 #error "no 2.2 header"
18946 #endif
18949 main ()
18951 /*empty*/
18953 return 0;
18955 _ACEOF
18956 if ac_fn_c_try_compile "$LINENO"; then :
18957 wine_cv_linux_joystick_22_api=yes
18958 else
18959 wine_cv_linux_joystick_22_api=no
18961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18965 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18966 if test "$wine_cv_linux_joystick_22_api" = "yes"
18967 then
18969 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18974 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18975 #ifdef HAVE_SYS_SOCKET_H
18976 # include <sys/socket.h>
18977 #endif
18978 #ifdef HAVE_SYS_UN_H
18979 # include <sys/un.h>
18980 #endif
18982 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18986 _ACEOF
18990 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18991 #ifdef HAVE_SYS_SOCKET_H
18992 # include <sys/socket.h>
18993 #endif
18994 #ifdef HAVE_SYS_UN_H
18995 # include <sys/un.h>
18996 #endif
18998 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19000 cat >>confdefs.h <<_ACEOF
19001 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19002 _ACEOF
19006 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19007 #ifdef HAVE_SYS_SOCKET_H
19008 # include <sys/socket.h>
19009 #endif
19010 #ifdef HAVE_SYS_UN_H
19011 # include <sys/un.h>
19012 #endif
19014 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19016 cat >>confdefs.h <<_ACEOF
19017 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19018 _ACEOF
19024 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19025 #ifdef HAVE_SCSI_SG_H
19026 #include <scsi/sg.h>
19027 #endif
19029 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19031 cat >>confdefs.h <<_ACEOF
19032 #define HAVE_SCSIREQ_T_CMD 1
19033 _ACEOF
19037 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>
19038 #ifdef HAVE_SCSI_SG_H
19039 #include <scsi/sg.h>
19040 #endif
19042 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19044 cat >>confdefs.h <<_ACEOF
19045 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19046 _ACEOF
19052 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19054 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19056 cat >>confdefs.h <<_ACEOF
19057 #define HAVE_SIGINFO_T_SI_FD 1
19058 _ACEOF
19064 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19065 #ifdef HAVE_SYS_MTIO_H
19066 #include <sys/mtio.h>
19067 #endif
19069 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19071 cat >>confdefs.h <<_ACEOF
19072 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19073 _ACEOF
19077 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19078 #ifdef HAVE_SYS_MTIO_H
19079 #include <sys/mtio.h>
19080 #endif
19082 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19084 cat >>confdefs.h <<_ACEOF
19085 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19086 _ACEOF
19090 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19091 #ifdef HAVE_SYS_MTIO_H
19092 #include <sys/mtio.h>
19093 #endif
19095 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19097 cat >>confdefs.h <<_ACEOF
19098 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19099 _ACEOF
19105 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19106 #include <getopt.h>
19107 #endif
19109 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19111 cat >>confdefs.h <<_ACEOF
19112 #define HAVE_STRUCT_OPTION_NAME 1
19113 _ACEOF
19119 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19120 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19122 cat >>confdefs.h <<_ACEOF
19123 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19124 _ACEOF
19128 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19129 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19131 cat >>confdefs.h <<_ACEOF
19132 #define HAVE_STRUCT_STAT_ST_MTIM 1
19133 _ACEOF
19137 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19138 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19140 cat >>confdefs.h <<_ACEOF
19141 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19142 _ACEOF
19146 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19147 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19149 cat >>confdefs.h <<_ACEOF
19150 #define HAVE_STRUCT_STAT_ST_CTIM 1
19151 _ACEOF
19155 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19156 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19158 cat >>confdefs.h <<_ACEOF
19159 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19160 _ACEOF
19164 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19165 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19167 cat >>confdefs.h <<_ACEOF
19168 #define HAVE_STRUCT_STAT_ST_ATIM 1
19169 _ACEOF
19173 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19174 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19176 cat >>confdefs.h <<_ACEOF
19177 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19178 _ACEOF
19182 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19183 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19185 cat >>confdefs.h <<_ACEOF
19186 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19187 _ACEOF
19191 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19192 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19194 cat >>confdefs.h <<_ACEOF
19195 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19196 _ACEOF
19200 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19201 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19203 cat >>confdefs.h <<_ACEOF
19204 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19205 _ACEOF
19209 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19210 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19212 cat >>confdefs.h <<_ACEOF
19213 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19214 _ACEOF
19218 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19219 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19221 cat >>confdefs.h <<_ACEOF
19222 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19223 _ACEOF
19229 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
19230 #include <sys/types.h>
19231 #endif
19232 #ifdef HAVE_NETINET_IN_H
19233 #include <netinet/in.h>
19234 #endif
19236 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19238 cat >>confdefs.h <<_ACEOF
19239 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19240 _ACEOF
19246 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19247 #include <sys/types.h>
19248 #endif
19249 #ifdef HAVE_NETINET_IN_H
19250 #include <netinet/in.h>
19251 #endif
19252 #ifdef HAVE_RESOLV_H
19253 #include <resolv.h>
19254 #endif
19256 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19258 cat >>confdefs.h <<_ACEOF
19259 #define HAVE_STRUCT___RES_STATE 1
19260 _ACEOF
19266 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
19267 #include <resolv.h>
19268 #endif
19270 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19272 cat >>confdefs.h <<_ACEOF
19273 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19274 _ACEOF
19280 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19281 #include <sys/types.h>
19282 #endif
19283 #ifdef HAVE_NETINET_IN_H
19284 # include <netinet/in.h>
19285 #endif
19286 #ifdef HAVE_ARPA_NAMESER_H
19287 # include <arpa/nameser.h>
19288 #endif
19290 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19292 cat >>confdefs.h <<_ACEOF
19293 #define HAVE_NS_MSG__MSG_PTR 1
19294 _ACEOF
19300 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19301 #include <sys/types.h>
19302 #endif
19303 #ifdef HAVE_NETINET_IN_H
19304 #include <netinet/in.h>
19305 #endif
19306 #ifdef HAVE_NETINET_IP_H
19307 #include <netinet/ip.h>
19308 #endif
19309 #ifdef HAVE_NETINET_IP_ICMP_H
19310 #include <netinet/ip_icmp.h>
19311 #endif
19312 #ifdef HAVE_NETINET_ICMP_VAR_H
19313 #include <netinet/icmp_var.h>
19314 #endif
19316 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19318 cat >>confdefs.h <<_ACEOF
19319 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19320 _ACEOF
19326 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19327 #include <sys/types.h>
19328 #endif
19329 #ifdef HAVE_ALIAS_H
19330 #include <alias.h>
19331 #endif
19332 #ifdef HAVE_SYS_SOCKET_H
19333 #include <sys/socket.h>
19334 #endif
19335 #ifdef HAVE_SYS_SOCKETVAR_H
19336 #include <sys/socketvar.h>
19337 #endif
19338 #ifdef HAVE_SYS_TIMEOUT_H
19339 #include <sys/timeout.h>
19340 #endif
19341 #ifdef HAVE_NETINET_IN_H
19342 #include <netinet/in.h>
19343 #endif
19344 #ifdef HAVE_NETINET_IN_SYSTM_H
19345 #include <netinet/in_systm.h>
19346 #endif
19347 #ifdef HAVE_NETINET_IP_H
19348 #include <netinet/ip.h>
19349 #endif
19350 #ifdef HAVE_NETINET_IP_VAR_H
19351 #include <netinet/ip_var.h>
19352 #endif
19353 #ifdef HAVE_NETINET_IP_ICMP_H
19354 #include <netinet/ip_icmp.h>
19355 #endif
19356 #ifdef HAVE_NETINET_ICMP_VAR_H
19357 #include <netinet/icmp_var.h>
19358 #endif
19360 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19362 cat >>confdefs.h <<_ACEOF
19363 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19364 _ACEOF
19370 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
19371 #define _GNU_SOURCE
19372 #include <netinet/in.h>
19373 #endif
19375 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes; then :
19377 cat >>confdefs.h <<_ACEOF
19378 #define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1
19379 _ACEOF
19385 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19386 #include <sys/types.h>
19387 #endif
19388 #ifdef HAVE_SYS_SOCKETVAR_H
19389 #include <sys/socketvar.h>
19390 #endif
19391 #ifdef HAVE_NETINET_IN_H
19392 #include <netinet/in.h>
19393 #endif
19394 #ifdef HAVE_NETINET_IP_VAR_H
19395 #include <netinet/ip_var.h>
19396 #endif
19398 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19400 cat >>confdefs.h <<_ACEOF
19401 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19402 _ACEOF
19408 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
19409 #include <netinet/ip_var.h>
19410 #endif
19412 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19414 cat >>confdefs.h <<_ACEOF
19415 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19416 _ACEOF
19422 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19423 #include <sys/types.h>
19424 #endif
19425 #ifdef HAVE_SYS_SOCKETVAR_H
19426 #include <sys/socketvar.h>
19427 #endif
19428 #ifdef HAVE_NETINET_IN_H
19429 #include <netinet/in.h>
19430 #endif
19431 #ifdef HAVE_NETINET_TCP_H
19432 #include <netinet/tcp.h>
19433 #endif
19434 #ifdef HAVE_NETINET_TCP_VAR_H
19435 #include <netinet/tcp_var.h>
19436 #endif
19438 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19440 cat >>confdefs.h <<_ACEOF
19441 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19442 _ACEOF
19448 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
19449 #include <netinet/tcp_var.h>
19450 #endif
19452 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19454 cat >>confdefs.h <<_ACEOF
19455 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19456 _ACEOF
19462 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19463 #include <sys/types.h>
19464 #endif
19465 #ifdef HAVE_NETINET_IN_H
19466 #include <netinet/in.h>
19467 #endif
19468 #ifdef HAVE_NETINET_IP_VAR_H
19469 #include <netinet/ip_var.h>
19470 #endif
19471 #ifdef HAVE_NETINET_UDP_H
19472 #include <netinet/udp.h>
19473 #endif
19474 #ifdef HAVE_NETINET_UDP_VAR_H
19475 #include <netinet/udp_var.h>
19476 #endif
19478 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19480 cat >>confdefs.h <<_ACEOF
19481 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19482 _ACEOF
19488 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19489 #include <sys/types.h>
19490 #endif
19491 #ifdef HAVE_NET_IF_H
19492 # include <net/if.h>
19493 #endif
19495 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19497 cat >>confdefs.h <<_ACEOF
19498 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19499 _ACEOF
19505 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19506 # include <sys/sysinfo.h>
19507 #endif
19509 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19511 cat >>confdefs.h <<_ACEOF
19512 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19513 _ACEOF
19517 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19518 # include <sys/sysinfo.h>
19519 #endif
19521 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19523 cat >>confdefs.h <<_ACEOF
19524 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19525 _ACEOF
19531 ac_save_LIBS="$LIBS"
19532 LIBS="$LIBS -lm"
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19534 $as_echo_n "checking for isfinite... " >&6; }
19535 if ${ac_cv_have_isfinite+:} false; then :
19536 $as_echo_n "(cached) " >&6
19537 else
19538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19539 /* end confdefs.h. */
19540 #define _GNU_SOURCE
19541 #include <math.h>
19543 main ()
19545 float f = 0.0; return isfinite(f)
19547 return 0;
19549 _ACEOF
19550 if ac_fn_c_try_link "$LINENO"; then :
19551 ac_cv_have_isfinite="yes"
19552 else
19553 ac_cv_have_isfinite="no"
19555 rm -f core conftest.err conftest.$ac_objext \
19556 conftest$ac_exeext conftest.$ac_ext
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19559 $as_echo "$ac_cv_have_isfinite" >&6; }
19560 if test "$ac_cv_have_isfinite" = "yes"
19561 then
19563 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19568 $as_echo_n "checking for isinf... " >&6; }
19569 if ${ac_cv_have_isinf+:} false; then :
19570 $as_echo_n "(cached) " >&6
19571 else
19572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19573 /* end confdefs.h. */
19574 #include <math.h>
19576 main ()
19578 float f = 0.0; return isinf(f)
19580 return 0;
19582 _ACEOF
19583 if ac_fn_c_try_link "$LINENO"; then :
19584 ac_cv_have_isinf="yes"
19585 else
19586 ac_cv_have_isinf="no"
19588 rm -f core conftest.err conftest.$ac_objext \
19589 conftest$ac_exeext conftest.$ac_ext
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19592 $as_echo "$ac_cv_have_isinf" >&6; }
19593 if test "$ac_cv_have_isinf" = "yes"
19594 then
19596 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19601 $as_echo_n "checking for isnan... " >&6; }
19602 if ${ac_cv_have_isnan+:} false; then :
19603 $as_echo_n "(cached) " >&6
19604 else
19605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19606 /* end confdefs.h. */
19607 #include <math.h>
19609 main ()
19611 float f = 0.0; return isnan(f)
19613 return 0;
19615 _ACEOF
19616 if ac_fn_c_try_link "$LINENO"; then :
19617 ac_cv_have_isnan="yes"
19618 else
19619 ac_cv_have_isnan="no"
19621 rm -f core conftest.err conftest.$ac_objext \
19622 conftest$ac_exeext conftest.$ac_ext
19624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19625 $as_echo "$ac_cv_have_isnan" >&6; }
19626 if test "$ac_cv_have_isnan" = "yes"
19627 then
19629 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19633 LIBS="$ac_save_LIBS"
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19636 $as_echo_n "checking for __builtin_popcount... " >&6; }
19637 if ${ac_cv_have___builtin_popcount+:} false; then :
19638 $as_echo_n "(cached) " >&6
19639 else
19640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19641 /* end confdefs.h. */
19644 main ()
19646 return __builtin_popcount(1)
19648 return 0;
19650 _ACEOF
19651 if ac_fn_c_try_link "$LINENO"; then :
19652 ac_cv_have___builtin_popcount="yes"
19653 else
19654 ac_cv_have___builtin_popcount="no"
19656 rm -f core conftest.err conftest.$ac_objext \
19657 conftest$ac_exeext conftest.$ac_ext
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19660 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19661 if test "$ac_cv_have___builtin_popcount" = "yes"
19662 then
19664 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19669 $as_echo_n "checking for __clear_cache... " >&6; }
19670 if ${ac_cv_have___clear_cache+:} false; then :
19671 $as_echo_n "(cached) " >&6
19672 else
19673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19674 /* end confdefs.h. */
19677 main ()
19679 __clear_cache((void*)0, (void*)0); return 0;
19681 return 0;
19683 _ACEOF
19684 if ac_fn_c_try_link "$LINENO"; then :
19685 ac_cv_have___clear_cache="yes"
19686 else
19687 ac_cv_have___clear_cache="no"
19689 rm -f core conftest.err conftest.$ac_objext \
19690 conftest$ac_exeext conftest.$ac_ext
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19693 $as_echo "$ac_cv_have___clear_cache" >&6; }
19694 if test "$ac_cv_have___clear_cache" = "yes"
19695 then
19697 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19702 case $host_cpu in
19703 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19704 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19705 if ${ac_cv_cpp_def___i386__+:} false; then :
19706 $as_echo_n "(cached) " >&6
19707 else
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19710 #ifndef __i386__
19712 #endif
19713 _ACEOF
19714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19715 $EGREP "yes" >/dev/null 2>&1; then :
19716 ac_cv_cpp_def___i386__=yes
19717 else
19718 ac_cv_cpp_def___i386__=no
19720 rm -f conftest*
19723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19724 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19725 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19726 CFLAGS="$CFLAGS -D__i386__"
19727 LINTFLAGS="$LINTFLAGS -D__i386__"
19728 fi ;;
19729 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19730 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19731 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19732 $as_echo_n "(cached) " >&6
19733 else
19734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19735 /* end confdefs.h. */
19736 #ifndef __x86_64__
19738 #endif
19739 _ACEOF
19740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19741 $EGREP "yes" >/dev/null 2>&1; then :
19742 ac_cv_cpp_def___x86_64__=yes
19743 else
19744 ac_cv_cpp_def___x86_64__=no
19746 rm -f conftest*
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19750 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19751 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19752 CFLAGS="$CFLAGS -D__x86_64__"
19753 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19754 fi ;;
19755 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19756 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19757 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19758 $as_echo_n "(cached) " >&6
19759 else
19760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19761 /* end confdefs.h. */
19762 #ifndef __sparc64__
19764 #endif
19765 _ACEOF
19766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19767 $EGREP "yes" >/dev/null 2>&1; then :
19768 ac_cv_cpp_def___sparc64__=yes
19769 else
19770 ac_cv_cpp_def___sparc64__=no
19772 rm -f conftest*
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19776 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19777 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19778 CFLAGS="$CFLAGS -D__sparc64__"
19779 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19780 fi ;;
19781 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19782 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19783 if ${ac_cv_cpp_def___sparc__+:} false; then :
19784 $as_echo_n "(cached) " >&6
19785 else
19786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19787 /* end confdefs.h. */
19788 #ifndef __sparc__
19790 #endif
19791 _ACEOF
19792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19793 $EGREP "yes" >/dev/null 2>&1; then :
19794 ac_cv_cpp_def___sparc__=yes
19795 else
19796 ac_cv_cpp_def___sparc__=no
19798 rm -f conftest*
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19802 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19803 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19804 CFLAGS="$CFLAGS -D__sparc__"
19805 LINTFLAGS="$LINTFLAGS -D__sparc__"
19806 fi ;;
19807 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19808 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19809 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19810 $as_echo_n "(cached) " >&6
19811 else
19812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19813 /* end confdefs.h. */
19814 #ifndef __powerpc64__
19816 #endif
19817 _ACEOF
19818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19819 $EGREP "yes" >/dev/null 2>&1; then :
19820 ac_cv_cpp_def___powerpc64__=yes
19821 else
19822 ac_cv_cpp_def___powerpc64__=no
19824 rm -f conftest*
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19828 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19829 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19830 CFLAGS="$CFLAGS -D__powerpc64__"
19831 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19832 fi ;;
19833 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19834 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19835 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19836 $as_echo_n "(cached) " >&6
19837 else
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19840 #ifndef __powerpc__
19842 #endif
19843 _ACEOF
19844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19845 $EGREP "yes" >/dev/null 2>&1; then :
19846 ac_cv_cpp_def___powerpc__=yes
19847 else
19848 ac_cv_cpp_def___powerpc__=no
19850 rm -f conftest*
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19854 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19855 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19856 CFLAGS="$CFLAGS -D__powerpc__"
19857 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19858 fi ;;
19859 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19860 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19861 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19862 $as_echo_n "(cached) " >&6
19863 else
19864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19865 /* end confdefs.h. */
19866 #ifndef __aarch64__
19868 #endif
19869 _ACEOF
19870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19871 $EGREP "yes" >/dev/null 2>&1; then :
19872 ac_cv_cpp_def___aarch64__=yes
19873 else
19874 ac_cv_cpp_def___aarch64__=no
19876 rm -f conftest*
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19880 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19881 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19882 CFLAGS="$CFLAGS -D__aarch64__"
19883 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19884 fi ;;
19885 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19886 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19887 if ${ac_cv_cpp_def___arm__+:} false; then :
19888 $as_echo_n "(cached) " >&6
19889 else
19890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19891 /* end confdefs.h. */
19892 #ifndef __arm__
19894 #endif
19895 _ACEOF
19896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19897 $EGREP "yes" >/dev/null 2>&1; then :
19898 ac_cv_cpp_def___arm__=yes
19899 else
19900 ac_cv_cpp_def___arm__=no
19902 rm -f conftest*
19905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19906 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19907 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19908 CFLAGS="$CFLAGS -D__arm__"
19909 LINTFLAGS="$LINTFLAGS -D__arm__"
19910 fi ;;
19911 esac
19913 case $host_vendor in
19914 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19915 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19916 if ${ac_cv_cpp_def___sun__+:} false; then :
19917 $as_echo_n "(cached) " >&6
19918 else
19919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19920 /* end confdefs.h. */
19921 #ifndef __sun__
19923 #endif
19924 _ACEOF
19925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19926 $EGREP "yes" >/dev/null 2>&1; then :
19927 ac_cv_cpp_def___sun__=yes
19928 else
19929 ac_cv_cpp_def___sun__=no
19931 rm -f conftest*
19934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19935 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19936 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19937 CFLAGS="$CFLAGS -D__sun__"
19938 LINTFLAGS="$LINTFLAGS -D__sun__"
19939 fi ;;
19940 esac
19946 ac_config_commands="$ac_config_commands include/stamp-h"
19948 $as_echo_n "creating Makefile rules..." >&6
19950 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19951 OPENGL_LIBS = $OPENGL_LIBS
19952 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19953 IOKIT_LIBS = $IOKIT_LIBS
19954 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19955 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19956 CORESERVICES_LIBS = $CORESERVICES_LIBS
19957 APPKIT_LIBS = $APPKIT_LIBS
19958 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19959 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19960 SECURITY_LIBS = $SECURITY_LIBS
19961 COREAUDIO_LIBS = $COREAUDIO_LIBS
19962 OPENAL_LIBS = $OPENAL_LIBS
19963 OPENCL_LIBS = $OPENCL_LIBS
19964 QUICKTIME_LIBS = $QUICKTIME_LIBS
19965 CARBON_LIBS = $CARBON_LIBS
19966 METAL_LIBS = $METAL_LIBS
19967 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19968 PTHREAD_LIBS = $PTHREAD_LIBS
19969 X_CFLAGS = $X_CFLAGS
19970 X_PRE_LIBS = $X_PRE_LIBS
19971 X_LIBS = $X_LIBS
19972 X_EXTRA_LIBS = $X_EXTRA_LIBS
19973 PCAP_LIBS = $PCAP_LIBS
19974 XML2_CFLAGS = $XML2_CFLAGS
19975 XML2_LIBS = $XML2_LIBS
19976 XSLT_CFLAGS = $XSLT_CFLAGS
19977 XSLT_LIBS = $XSLT_LIBS
19978 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19979 INOTIFY_LIBS = $INOTIFY_LIBS
19980 DBUS_CFLAGS = $DBUS_CFLAGS
19981 DBUS_LIBS = $DBUS_LIBS
19982 HAL_CFLAGS = $HAL_CFLAGS
19983 HAL_LIBS = $HAL_LIBS
19984 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19985 GNUTLS_LIBS = $GNUTLS_LIBS
19986 SANE_CFLAGS = $SANE_CFLAGS
19987 SANE_LIBS = $SANE_LIBS
19988 USB_CFLAGS = $USB_CFLAGS
19989 USB_LIBS = $USB_LIBS
19990 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19991 GPHOTO2_LIBS = $GPHOTO2_LIBS
19992 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19993 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19994 RESOLV_LIBS = $RESOLV_LIBS
19995 LCMS2_CFLAGS = $LCMS2_CFLAGS
19996 LCMS2_LIBS = $LCMS2_LIBS
19997 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19998 FREETYPE_LIBS = $FREETYPE_LIBS
19999 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20000 PULSE_CFLAGS = $PULSE_CFLAGS
20001 PULSE_LIBS = $PULSE_LIBS
20002 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20003 GSTREAMER_LIBS = $GSTREAMER_LIBS
20004 ALSA_LIBS = $ALSA_LIBS
20005 OSS4_CFLAGS = $OSS4_CFLAGS
20006 OSS4_LIBS = $OSS4_LIBS
20007 UDEV_CFLAGS = $UDEV_CFLAGS
20008 UDEV_LIBS = $UDEV_LIBS
20009 UNWIND_CFLAGS = $UNWIND_CFLAGS
20010 UNWIND_LIBS = $UNWIND_LIBS
20011 SDL2_CFLAGS = $SDL2_CFLAGS
20012 SDL2_LIBS = $SDL2_LIBS
20013 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20014 FAUDIO_LIBS = $FAUDIO_LIBS
20015 CAPI20_CFLAGS = $CAPI20_CFLAGS
20016 CAPI20_LIBS = $CAPI20_LIBS
20017 CUPS_CFLAGS = $CUPS_CFLAGS
20018 CUPS_LIBS = $CUPS_LIBS
20019 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20020 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20021 KRB5_CFLAGS = $KRB5_CFLAGS
20022 KRB5_LIBS = $KRB5_LIBS
20023 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20024 GSSAPI_LIBS = $GSSAPI_LIBS
20025 JPEG_CFLAGS = $JPEG_CFLAGS
20026 JPEG_LIBS = $JPEG_LIBS
20027 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20028 JXRLIB_LIBS = $JXRLIB_LIBS
20029 PNG_CFLAGS = $PNG_CFLAGS
20030 PNG_LIBS = $PNG_LIBS
20031 TIFF_CFLAGS = $TIFF_CFLAGS
20032 TIFF_LIBS = $TIFF_LIBS
20033 MPG123_CFLAGS = $MPG123_CFLAGS
20034 MPG123_LIBS = $MPG123_LIBS
20035 KSTAT_LIBS = $KSTAT_LIBS
20036 PROCSTAT_LIBS = $PROCSTAT_LIBS
20037 NETAPI_CFLAGS = $NETAPI_CFLAGS
20038 NETAPI_LIBS = $NETAPI_LIBS
20039 VKD3D_CFLAGS = $VKD3D_CFLAGS
20040 VKD3D_LIBS = $VKD3D_LIBS
20041 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20042 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20043 POLL_LIBS = $POLL_LIBS
20044 RT_LIBS = $RT_LIBS
20045 LDAP_CFLAGS = $LDAP_CFLAGS
20046 LDAP_LIBS = $LDAP_LIBS
20050 makedep_flags=""
20051 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20054 wine_fn_append_rule "
20055 # Rules automatically generated by configure
20057 .INIT: Makefile
20058 .MAKEFILEDEPS:
20059 all: Makefile
20060 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20061 @./config.status Make.tmp Makefile
20062 depend: \$(MAKEDEP)
20063 \$(MAKEDEP)$makedep_flags
20064 dummy:
20065 .PHONY: depend dummy"
20067 ac_config_links="$ac_config_links wine:tools/winewrapper"
20068 wine_fn_config_symlink wine
20069 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20070 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20071 wine_fn_config_symlink wine64
20074 wine_fn_config_makefile dlls/acledit enable_acledit
20075 wine_fn_config_makefile dlls/aclui enable_aclui
20076 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20077 wine_fn_config_makefile dlls/activeds enable_activeds
20078 wine_fn_config_makefile dlls/activeds/tests enable_tests
20079 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20080 wine_fn_config_makefile dlls/adsiid enable_adsiid
20081 wine_fn_config_makefile dlls/adsldp enable_adsldp
20082 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20083 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20084 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20085 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20086 wine_fn_config_makefile dlls/advpack enable_advpack
20087 wine_fn_config_makefile dlls/advpack/tests enable_tests
20088 wine_fn_config_makefile dlls/amsi enable_amsi
20089 wine_fn_config_makefile dlls/amstream enable_amstream
20090 wine_fn_config_makefile dlls/amstream/tests enable_tests
20091 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20093 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20094 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20096 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20101 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20111 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20118 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20119 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20122 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20127 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20128 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20130 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20131 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20140 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20144 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20145 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
20146 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20150 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20153 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20157 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20158 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20166 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20167 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20168 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20169 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20177 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20182 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20183 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20206 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20210 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20213 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20224 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20229 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20230 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20235 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20237 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20256 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20257 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20278 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20289 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20293 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20295 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20297 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20298 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20303 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20305 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20311 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20314 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20316 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20319 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20324 wine_fn_config_makefile dlls/apphelp enable_apphelp
20325 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20326 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20327 wine_fn_config_makefile dlls/atl enable_atl
20328 wine_fn_config_makefile dlls/atl/tests enable_tests
20329 wine_fn_config_makefile dlls/atl100 enable_atl100
20330 wine_fn_config_makefile dlls/atl100/tests enable_tests
20331 wine_fn_config_makefile dlls/atl110 enable_atl110
20332 wine_fn_config_makefile dlls/atl80 enable_atl80
20333 wine_fn_config_makefile dlls/atl80/tests enable_tests
20334 wine_fn_config_makefile dlls/atl90 enable_atl90
20335 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20336 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20337 wine_fn_config_makefile dlls/atmlib enable_atmlib
20338 wine_fn_config_makefile dlls/authz enable_authz
20339 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20340 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20341 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20342 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20343 wine_fn_config_makefile dlls/avrt enable_avrt
20344 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20345 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20346 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20347 wine_fn_config_makefile dlls/browseui enable_browseui
20348 wine_fn_config_makefile dlls/browseui/tests enable_tests
20349 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20350 wine_fn_config_makefile dlls/cabinet enable_cabinet
20351 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20352 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20353 wine_fn_config_makefile dlls/cards enable_cards
20354 wine_fn_config_makefile dlls/cdosys enable_cdosys
20355 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20356 wine_fn_config_makefile dlls/clusapi enable_clusapi
20357 wine_fn_config_makefile dlls/combase enable_combase
20358 wine_fn_config_makefile dlls/combase/tests enable_tests
20359 wine_fn_config_makefile dlls/comcat enable_comcat
20360 wine_fn_config_makefile dlls/comcat/tests enable_tests
20361 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20362 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20363 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20364 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20365 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20366 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20367 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20368 wine_fn_config_makefile dlls/compstui enable_compstui
20369 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20370 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20371 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20372 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20373 wine_fn_config_makefile dlls/connect enable_connect
20374 wine_fn_config_makefile dlls/credui enable_credui
20375 wine_fn_config_makefile dlls/credui/tests enable_tests
20376 wine_fn_config_makefile dlls/crtdll enable_crtdll
20377 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20378 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20379 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20380 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20381 wine_fn_config_makefile dlls/cryptext enable_cryptext
20382 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20383 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20384 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20385 wine_fn_config_makefile dlls/cryptui enable_cryptui
20386 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20387 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20388 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20389 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20390 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20391 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20392 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20393 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20394 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20395 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20396 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20397 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20398 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20399 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20400 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20401 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20402 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20403 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20404 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20405 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20406 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20407 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20408 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20409 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20410 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20411 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20412 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20413 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20414 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20415 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20416 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20417 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20418 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20419 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20420 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20421 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20422 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20423 wine_fn_config_makefile dlls/d3dim enable_d3dim
20424 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20425 wine_fn_config_makefile dlls/d3drm enable_d3drm
20426 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20427 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20428 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20429 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20430 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20431 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20432 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20433 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20434 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20435 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20436 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20437 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20438 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20439 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20440 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20441 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20442 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20443 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20444 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20445 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20446 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20447 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20448 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20449 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20450 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20451 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20452 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20453 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20454 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20455 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20456 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20457 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20458 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20459 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20460 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20461 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20462 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20463 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20464 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20465 wine_fn_config_makefile dlls/davclnt enable_davclnt
20466 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20467 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20468 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20469 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20470 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20471 wine_fn_config_makefile dlls/dcomp enable_dcomp
20472 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20473 wine_fn_config_makefile dlls/ddraw enable_ddraw
20474 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20475 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20476 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20477 wine_fn_config_makefile dlls/devenum enable_devenum
20478 wine_fn_config_makefile dlls/devenum/tests enable_tests
20479 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20480 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20481 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20482 wine_fn_config_makefile dlls/difxapi enable_difxapi
20483 wine_fn_config_makefile dlls/dinput enable_dinput
20484 wine_fn_config_makefile dlls/dinput/tests enable_tests
20485 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20486 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20487 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20488 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20489 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20490 wine_fn_config_makefile dlls/dispex enable_dispex
20491 wine_fn_config_makefile dlls/dispex/tests enable_tests
20492 wine_fn_config_makefile dlls/display.drv16 enable_win16
20493 wine_fn_config_makefile dlls/dmband enable_dmband
20494 wine_fn_config_makefile dlls/dmband/tests enable_tests
20495 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20496 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20497 wine_fn_config_makefile dlls/dmime enable_dmime
20498 wine_fn_config_makefile dlls/dmime/tests enable_tests
20499 wine_fn_config_makefile dlls/dmloader enable_dmloader
20500 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20501 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20502 wine_fn_config_makefile dlls/dmscript enable_dmscript
20503 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20504 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20505 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20506 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20507 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20508 wine_fn_config_makefile dlls/dmusic enable_dmusic
20509 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20510 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20511 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20512 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20513 wine_fn_config_makefile dlls/dplay enable_dplay
20514 wine_fn_config_makefile dlls/dplayx enable_dplayx
20515 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20516 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20517 wine_fn_config_makefile dlls/dpnet enable_dpnet
20518 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20519 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20520 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20521 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20522 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20523 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20524 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20525 wine_fn_config_makefile dlls/drmclien enable_drmclien
20526 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20527 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20528 wine_fn_config_makefile dlls/dsound enable_dsound
20529 wine_fn_config_makefile dlls/dsound/tests enable_tests
20530 wine_fn_config_makefile dlls/dsquery enable_dsquery
20531 wine_fn_config_makefile dlls/dssenh enable_dssenh
20532 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20533 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20534 wine_fn_config_makefile dlls/dswave enable_dswave
20535 wine_fn_config_makefile dlls/dswave/tests enable_tests
20536 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20537 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20538 wine_fn_config_makefile dlls/dwrite enable_dwrite
20539 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20540 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20541 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20542 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20543 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20544 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20545 wine_fn_config_makefile dlls/dxgi enable_dxgi
20546 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20547 wine_fn_config_makefile dlls/dxguid enable_dxguid
20548 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
20549 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20550 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20551 wine_fn_config_makefile dlls/esent enable_esent
20552 wine_fn_config_makefile dlls/evr enable_evr
20553 wine_fn_config_makefile dlls/evr/tests enable_tests
20554 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20555 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20556 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20557 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20561 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20562 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20563 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20565 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20566 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20567 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20570 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20575 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20576 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20577 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20578 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20579 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20580 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20582 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20583 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20584 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20587 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20588 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20590 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20596 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
20597 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20598 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20599 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20600 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20601 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20602 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20603 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20604 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20605 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20606 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20607 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20608 wine_fn_config_makefile dlls/faultrep enable_faultrep
20609 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20610 wine_fn_config_makefile dlls/feclient enable_feclient
20611 wine_fn_config_makefile dlls/fltlib enable_fltlib
20612 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20613 wine_fn_config_makefile dlls/fntcache enable_fntcache
20614 wine_fn_config_makefile dlls/fontsub enable_fontsub
20615 wine_fn_config_makefile dlls/fusion enable_fusion
20616 wine_fn_config_makefile dlls/fusion/tests enable_tests
20617 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20618 wine_fn_config_makefile dlls/gameux enable_gameux
20619 wine_fn_config_makefile dlls/gameux/tests enable_tests
20620 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20621 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20622 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20623 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20624 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20625 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20626 wine_fn_config_makefile dlls/glu32 enable_glu32
20627 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20628 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20629 wine_fn_config_makefile dlls/hal enable_hal
20630 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20631 wine_fn_config_makefile dlls/hid enable_hid
20632 wine_fn_config_makefile dlls/hid/tests enable_tests
20633 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20634 wine_fn_config_makefile dlls/hlink enable_hlink
20635 wine_fn_config_makefile dlls/hlink/tests enable_tests
20636 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20637 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20638 wine_fn_config_makefile dlls/http.sys enable_http_sys
20639 wine_fn_config_makefile dlls/httpapi enable_httpapi
20640 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20641 wine_fn_config_makefile dlls/iccvid enable_iccvid
20642 wine_fn_config_makefile dlls/icmp enable_icmp
20643 wine_fn_config_makefile dlls/ieframe enable_ieframe
20644 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20645 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20646 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20647 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20648 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20649 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20650 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20651 wine_fn_config_makefile dlls/imm32 enable_imm32
20652 wine_fn_config_makefile dlls/imm32/tests enable_tests
20653 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20654 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20655 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20656 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20657 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20658 wine_fn_config_makefile dlls/infosoft enable_infosoft
20659 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20660 wine_fn_config_makefile dlls/initpki enable_initpki
20661 wine_fn_config_makefile dlls/inkobj enable_inkobj
20662 wine_fn_config_makefile dlls/inseng enable_inseng
20663 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20664 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20665 wine_fn_config_makefile dlls/iprop enable_iprop
20666 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20667 wine_fn_config_makefile dlls/itircl enable_itircl
20668 wine_fn_config_makefile dlls/itss enable_itss
20669 wine_fn_config_makefile dlls/itss/tests enable_tests
20670 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20671 wine_fn_config_makefile dlls/jscript enable_jscript
20672 wine_fn_config_makefile dlls/jscript/tests enable_tests
20673 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20674 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20675 wine_fn_config_makefile dlls/kerberos enable_kerberos
20676 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20677 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20678 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20679 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20680 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20681 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20682 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20683 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20684 wine_fn_config_makefile dlls/ksuser enable_ksuser
20685 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20686 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20687 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
20688 wine_fn_config_makefile dlls/loadperf enable_loadperf
20689 wine_fn_config_makefile dlls/localspl enable_localspl
20690 wine_fn_config_makefile dlls/localspl/tests enable_tests
20691 wine_fn_config_makefile dlls/localui enable_localui
20692 wine_fn_config_makefile dlls/localui/tests enable_tests
20693 wine_fn_config_makefile dlls/lz32 enable_lz32
20694 wine_fn_config_makefile dlls/lz32/tests enable_tests
20695 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20696 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20697 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20698 wine_fn_config_makefile dlls/mapistub enable_mapistub
20699 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20700 wine_fn_config_makefile dlls/mcicda enable_mcicda
20701 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20702 wine_fn_config_makefile dlls/mciseq enable_mciseq
20703 wine_fn_config_makefile dlls/mciwave enable_mciwave
20704 wine_fn_config_makefile dlls/mf enable_mf
20705 wine_fn_config_makefile dlls/mf/tests enable_tests
20706 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20707 wine_fn_config_makefile dlls/mferror enable_mferror
20708 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20709 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20710 wine_fn_config_makefile dlls/mfplat enable_mfplat
20711 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20712 wine_fn_config_makefile dlls/mfplay enable_mfplay
20713 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20714 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20715 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20716 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20717 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20718 wine_fn_config_makefile dlls/midimap enable_midimap
20719 wine_fn_config_makefile dlls/mlang enable_mlang
20720 wine_fn_config_makefile dlls/mlang/tests enable_tests
20721 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20722 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20723 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20724 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20725 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20726 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20727 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20728 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20729 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20730 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20731 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20732 wine_fn_config_makefile dlls/mpr enable_mpr
20733 wine_fn_config_makefile dlls/mpr/tests enable_tests
20734 wine_fn_config_makefile dlls/mprapi enable_mprapi
20735 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20736 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20737 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20738 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20739 wine_fn_config_makefile dlls/msado15 enable_msado15
20740 wine_fn_config_makefile dlls/msado15/tests enable_tests
20741 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20742 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20743 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20744 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20745 wine_fn_config_makefile dlls/mscms enable_mscms
20746 wine_fn_config_makefile dlls/mscms/tests enable_tests
20747 wine_fn_config_makefile dlls/mscoree enable_mscoree
20748 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20749 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20750 wine_fn_config_makefile dlls/msctf enable_msctf
20751 wine_fn_config_makefile dlls/msctf/tests enable_tests
20752 wine_fn_config_makefile dlls/msctfp enable_msctfp
20753 wine_fn_config_makefile dlls/msdaps enable_msdaps
20754 wine_fn_config_makefile dlls/msdelta enable_msdelta
20755 wine_fn_config_makefile dlls/msdmo enable_msdmo
20756 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20757 wine_fn_config_makefile dlls/msdrm enable_msdrm
20758 wine_fn_config_makefile dlls/msftedit enable_msftedit
20759 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20760 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20761 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20762 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20763 wine_fn_config_makefile dlls/mshtml enable_mshtml
20764 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20765 wine_fn_config_makefile dlls/msi enable_msi
20766 wine_fn_config_makefile dlls/msi/tests enable_tests
20767 wine_fn_config_makefile dlls/msident enable_msident
20768 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20769 wine_fn_config_makefile dlls/msimsg enable_msimsg
20770 wine_fn_config_makefile dlls/msimtf enable_msimtf
20771 wine_fn_config_makefile dlls/msisip enable_msisip
20772 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20773 wine_fn_config_makefile dlls/msls31 enable_msls31
20774 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20775 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20776 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20777 wine_fn_config_makefile dlls/msports enable_msports
20778 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20779 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20780 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20781 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20782 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20783 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20784 wine_fn_config_makefile dlls/mstask enable_mstask
20785 wine_fn_config_makefile dlls/mstask/tests enable_tests
20786 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20787 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20788 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20789 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20790 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20791 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20792 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20793 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20794 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20795 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20796 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20797 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20798 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20799 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20800 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20801 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20802 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20803 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20804 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20805 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20806 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20807 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20808 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20809 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20810 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20811 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20812 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20813 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20814 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20815 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20816 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20817 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20818 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20819 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20820 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20821 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20822 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20823 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20824 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20825 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20826 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20827 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20828 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20829 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20830 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20831 wine_fn_config_makefile dlls/mswsock enable_mswsock
20832 wine_fn_config_makefile dlls/msxml enable_msxml
20833 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20834 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20835 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20836 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20837 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20838 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20839 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20840 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20841 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20842 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20843 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20844 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20845 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20846 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20847 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20848 wine_fn_config_makefile dlls/netprofm enable_netprofm
20849 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20850 wine_fn_config_makefile dlls/netutils enable_netutils
20851 wine_fn_config_makefile dlls/newdev enable_newdev
20852 wine_fn_config_makefile dlls/ninput enable_ninput
20853 wine_fn_config_makefile dlls/ninput/tests enable_tests
20854 wine_fn_config_makefile dlls/normaliz enable_normaliz
20855 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20856 wine_fn_config_makefile dlls/npptools enable_npptools
20857 wine_fn_config_makefile dlls/nsi enable_nsi
20858 wine_fn_config_makefile dlls/nsi/tests enable_tests
20859 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
20860 wine_fn_config_makefile dlls/ntdll enable_ntdll
20861 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20862 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20863 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20864 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20865 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20866 wine_fn_config_makefile dlls/ntprint enable_ntprint
20867 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20868 wine_fn_config_makefile dlls/objsel enable_objsel
20869 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20870 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20871 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20872 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20873 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20874 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20875 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20876 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20877 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20878 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20879 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20880 wine_fn_config_makefile dlls/ole32 enable_ole32
20881 wine_fn_config_makefile dlls/ole32/tests enable_tests
20882 wine_fn_config_makefile dlls/oleacc enable_oleacc
20883 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20884 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20885 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20886 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20887 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20888 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20889 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20890 wine_fn_config_makefile dlls/oledlg enable_oledlg
20891 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20892 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20893 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20894 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20895 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20896 wine_fn_config_makefile dlls/opcservices enable_opcservices
20897 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20898 wine_fn_config_makefile dlls/openal32 enable_openal32
20899 wine_fn_config_makefile dlls/opencl enable_opencl
20900 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20901 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20902 wine_fn_config_makefile dlls/packager enable_packager
20903 wine_fn_config_makefile dlls/packager/tests enable_tests
20904 wine_fn_config_makefile dlls/pdh enable_pdh
20905 wine_fn_config_makefile dlls/pdh/tests enable_tests
20906 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20907 wine_fn_config_makefile dlls/pidgen enable_pidgen
20908 wine_fn_config_makefile dlls/powrprof enable_powrprof
20909 wine_fn_config_makefile dlls/printui enable_printui
20910 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20911 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20912 wine_fn_config_makefile dlls/propsys enable_propsys
20913 wine_fn_config_makefile dlls/propsys/tests enable_tests
20914 wine_fn_config_makefile dlls/psapi enable_psapi
20915 wine_fn_config_makefile dlls/psapi/tests enable_tests
20916 wine_fn_config_makefile dlls/pstorec enable_pstorec
20917 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20918 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20919 wine_fn_config_makefile dlls/qasf enable_qasf
20920 wine_fn_config_makefile dlls/qasf/tests enable_tests
20921 wine_fn_config_makefile dlls/qcap enable_qcap
20922 wine_fn_config_makefile dlls/qcap/tests enable_tests
20923 wine_fn_config_makefile dlls/qdvd enable_qdvd
20924 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20925 wine_fn_config_makefile dlls/qedit enable_qedit
20926 wine_fn_config_makefile dlls/qedit/tests enable_tests
20927 wine_fn_config_makefile dlls/qmgr enable_qmgr
20928 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20929 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20930 wine_fn_config_makefile dlls/quartz enable_quartz
20931 wine_fn_config_makefile dlls/quartz/tests enable_tests
20932 wine_fn_config_makefile dlls/query enable_query
20933 wine_fn_config_makefile dlls/qwave enable_qwave
20934 wine_fn_config_makefile dlls/qwave/tests enable_tests
20935 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20936 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20937 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20938 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20939 wine_fn_config_makefile dlls/regapi enable_regapi
20940 wine_fn_config_makefile dlls/resutils enable_resutils
20941 wine_fn_config_makefile dlls/riched20 enable_riched20
20942 wine_fn_config_makefile dlls/riched20/tests enable_tests
20943 wine_fn_config_makefile dlls/riched32 enable_riched32
20944 wine_fn_config_makefile dlls/riched32/tests enable_tests
20945 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20946 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20947 wine_fn_config_makefile dlls/rsabase enable_rsabase
20948 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20949 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20950 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20951 wine_fn_config_makefile dlls/rtutils enable_rtutils
20952 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20953 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20954 wine_fn_config_makefile dlls/samlib enable_samlib
20955 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20956 wine_fn_config_makefile dlls/sapi enable_sapi
20957 wine_fn_config_makefile dlls/sapi/tests enable_tests
20958 wine_fn_config_makefile dlls/sas enable_sas
20959 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20960 wine_fn_config_makefile dlls/sccbase enable_sccbase
20961 wine_fn_config_makefile dlls/schannel enable_schannel
20962 wine_fn_config_makefile dlls/schannel/tests enable_tests
20963 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20964 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20965 wine_fn_config_makefile dlls/scrobj enable_scrobj
20966 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20967 wine_fn_config_makefile dlls/scrrun enable_scrrun
20968 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20969 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20970 wine_fn_config_makefile dlls/sechost enable_sechost
20971 wine_fn_config_makefile dlls/secur32 enable_secur32
20972 wine_fn_config_makefile dlls/secur32/tests enable_tests
20973 wine_fn_config_makefile dlls/security enable_security
20974 wine_fn_config_makefile dlls/sensapi enable_sensapi
20975 wine_fn_config_makefile dlls/serialui enable_serialui
20976 wine_fn_config_makefile dlls/serialui/tests enable_tests
20977 wine_fn_config_makefile dlls/setupapi enable_setupapi
20978 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20979 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20980 wine_fn_config_makefile dlls/sfc enable_sfc
20981 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20982 wine_fn_config_makefile dlls/shcore enable_shcore
20983 wine_fn_config_makefile dlls/shcore/tests enable_tests
20984 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20985 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20986 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20987 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20988 wine_fn_config_makefile dlls/shell32 enable_shell32
20989 wine_fn_config_makefile dlls/shell32/tests enable_tests
20990 wine_fn_config_makefile dlls/shfolder enable_shfolder
20991 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20992 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20993 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20994 wine_fn_config_makefile dlls/slc enable_slc
20995 wine_fn_config_makefile dlls/slc/tests enable_tests
20996 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20997 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20998 wine_fn_config_makefile dlls/softpub enable_softpub
20999 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21000 wine_fn_config_makefile dlls/spoolss enable_spoolss
21001 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21002 wine_fn_config_makefile dlls/sppc enable_sppc
21003 wine_fn_config_makefile dlls/srclient enable_srclient
21004 wine_fn_config_makefile dlls/srvcli enable_srvcli
21005 wine_fn_config_makefile dlls/sspicli enable_sspicli
21006 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21007 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21008 wine_fn_config_makefile dlls/sti enable_sti
21009 wine_fn_config_makefile dlls/sti/tests enable_tests
21010 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21011 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21012 wine_fn_config_makefile dlls/strmbase enable_strmbase
21013 wine_fn_config_makefile dlls/strmdll enable_strmdll
21014 wine_fn_config_makefile dlls/strmiids enable_strmiids
21015 wine_fn_config_makefile dlls/svrapi enable_svrapi
21016 wine_fn_config_makefile dlls/sxs enable_sxs
21017 wine_fn_config_makefile dlls/sxs/tests enable_tests
21018 wine_fn_config_makefile dlls/system.drv16 enable_win16
21019 wine_fn_config_makefile dlls/t2embed enable_t2embed
21020 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21021 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21022 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21023 wine_fn_config_makefile dlls/taskschd enable_taskschd
21024 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21025 wine_fn_config_makefile dlls/tbs enable_tbs
21026 wine_fn_config_makefile dlls/tdh enable_tdh
21027 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21028 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21029 wine_fn_config_makefile dlls/traffic enable_traffic
21030 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21031 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21032 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21033 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21034 wine_fn_config_makefile dlls/tzres enable_tzres
21035 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21036 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21037 wine_fn_config_makefile dlls/uianimation enable_uianimation
21038 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21039 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21040 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21041 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21042 wine_fn_config_makefile dlls/unicows enable_unicows
21043 wine_fn_config_makefile dlls/updspapi enable_updspapi
21044 wine_fn_config_makefile dlls/url enable_url
21045 wine_fn_config_makefile dlls/urlmon enable_urlmon
21046 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21047 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21048 wine_fn_config_makefile dlls/user.exe16 enable_win16
21049 wine_fn_config_makefile dlls/user32 enable_user32
21050 wine_fn_config_makefile dlls/user32/tests enable_tests
21051 wine_fn_config_makefile dlls/userenv enable_userenv
21052 wine_fn_config_makefile dlls/userenv/tests enable_tests
21053 wine_fn_config_makefile dlls/usp10 enable_usp10
21054 wine_fn_config_makefile dlls/usp10/tests enable_tests
21055 wine_fn_config_makefile dlls/utildll enable_utildll
21056 wine_fn_config_makefile dlls/uuid enable_uuid
21057 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21058 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21059 wine_fn_config_makefile dlls/vbscript enable_vbscript
21060 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21061 wine_fn_config_makefile dlls/vcomp enable_vcomp
21062 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21063 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21064 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21065 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21066 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21067 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21068 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21069 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21070 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21071 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21072 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21073 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21074 wine_fn_config_makefile dlls/version enable_version
21075 wine_fn_config_makefile dlls/version/tests enable_tests
21076 wine_fn_config_makefile dlls/vga enable_vga
21077 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21078 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21079 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21080 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21081 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21082 wine_fn_config_makefile dlls/vssapi enable_vssapi
21083 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21084 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21085 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21086 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21087 wine_fn_config_makefile dlls/w32skrnl enable_win16
21088 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21089 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21090 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21091 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21092 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21093 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21094 wine_fn_config_makefile dlls/wdscore enable_wdscore
21095 wine_fn_config_makefile dlls/webservices enable_webservices
21096 wine_fn_config_makefile dlls/webservices/tests enable_tests
21097 wine_fn_config_makefile dlls/websocket enable_websocket
21098 wine_fn_config_makefile dlls/wer enable_wer
21099 wine_fn_config_makefile dlls/wer/tests enable_tests
21100 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21101 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21102 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21103 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21104 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21105 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21106 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21107 wine_fn_config_makefile dlls/win32u enable_win32u
21108 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21109 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21110 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21111 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21112 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21113 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21114 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21115 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21116 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21117 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21118 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21119 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21120 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21121 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21122 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21123 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21124 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21125 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21126 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21127 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21128 wine_fn_config_makefile dlls/wined3d enable_wined3d
21129 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21130 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21131 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21132 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21133 wine_fn_config_makefile dlls/winemapi enable_winemapi
21134 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21135 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21136 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21137 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21138 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21139 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21140 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21141 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21142 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21143 wine_fn_config_makefile dlls/wing32 enable_wing32
21144 wine_fn_config_makefile dlls/winhttp enable_winhttp
21145 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21146 wine_fn_config_makefile dlls/wininet enable_wininet
21147 wine_fn_config_makefile dlls/wininet/tests enable_tests
21148 wine_fn_config_makefile dlls/winmm enable_winmm
21149 wine_fn_config_makefile dlls/winmm/tests enable_tests
21150 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21151 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21152 wine_fn_config_makefile dlls/winscard enable_winscard
21153 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21154 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21155 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21156 wine_fn_config_makefile dlls/winsta enable_winsta
21157 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21158 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21159 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21160 wine_fn_config_makefile dlls/wintrust enable_wintrust
21161 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21162 wine_fn_config_makefile dlls/winusb enable_winusb
21163 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21164 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21165 wine_fn_config_makefile dlls/wlanui enable_wlanui
21166 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21167 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21168 wine_fn_config_makefile dlls/wmasf enable_wmasf
21169 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21170 wine_fn_config_makefile dlls/wmi enable_wmi
21171 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21172 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21173 wine_fn_config_makefile dlls/wmp enable_wmp
21174 wine_fn_config_makefile dlls/wmp/tests enable_tests
21175 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21176 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21177 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21178 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21179 wine_fn_config_makefile dlls/wow32 enable_win16
21180 wine_fn_config_makefile dlls/wow64 enable_wow64
21181 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21182 wine_fn_config_makefile dlls/wow64win enable_wow64win
21183 wine_fn_config_makefile dlls/wpc enable_wpc
21184 wine_fn_config_makefile dlls/wpc/tests enable_tests
21185 wine_fn_config_makefile dlls/wpcap enable_wpcap
21186 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21187 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21188 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21189 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21190 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21191 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21192 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21193 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21194 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21195 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21196 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21197 wine_fn_config_makefile dlls/wuapi enable_wuapi
21198 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21199 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21200 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21201 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21202 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21203 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21204 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21205 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21206 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21207 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21208 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21209 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21210 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21211 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21212 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21213 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21214 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21215 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21216 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21217 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21218 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21219 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21220 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21221 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21222 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21223 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21224 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21225 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21226 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21227 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21228 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21229 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21230 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21231 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21232 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21233 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21234 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21235 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21236 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21237 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21238 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21239 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21240 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21241 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21242 wine_fn_config_makefile dlls/xmllite enable_xmllite
21243 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21244 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21245 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21246 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21247 wine_fn_config_makefile fonts enable_fonts
21248 wine_fn_config_makefile include enable_include
21249 wine_fn_config_makefile libs/port enable_port
21250 wine_fn_config_makefile libs/wine enable_wine
21251 wine_fn_config_makefile libs/wpp enable_wpp
21252 wine_fn_config_makefile loader enable_loader
21253 wine_fn_config_makefile nls enable_nls
21254 wine_fn_config_makefile po enable_po
21255 wine_fn_config_makefile programs/arp enable_arp
21256 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21257 wine_fn_config_makefile programs/attrib enable_attrib
21258 wine_fn_config_makefile programs/cabarc enable_cabarc
21259 wine_fn_config_makefile programs/cacls enable_cacls
21260 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21261 wine_fn_config_makefile programs/clock enable_clock
21262 wine_fn_config_makefile programs/cmd enable_cmd
21263 wine_fn_config_makefile programs/cmd/tests enable_tests
21264 wine_fn_config_makefile programs/conhost enable_conhost
21265 wine_fn_config_makefile programs/conhost/tests enable_tests
21266 wine_fn_config_makefile programs/control enable_control
21267 wine_fn_config_makefile programs/cscript enable_cscript
21268 wine_fn_config_makefile programs/dism enable_dism
21269 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21270 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21271 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21272 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21273 wine_fn_config_makefile programs/eject enable_eject
21274 wine_fn_config_makefile programs/expand enable_expand
21275 wine_fn_config_makefile programs/explorer enable_explorer
21276 wine_fn_config_makefile programs/extrac32 enable_extrac32
21277 wine_fn_config_makefile programs/fc enable_fc
21278 wine_fn_config_makefile programs/find enable_find
21279 wine_fn_config_makefile programs/find/tests enable_tests
21280 wine_fn_config_makefile programs/findstr enable_findstr
21281 wine_fn_config_makefile programs/fsutil enable_fsutil
21282 wine_fn_config_makefile programs/fsutil/tests enable_tests
21283 wine_fn_config_makefile programs/hh enable_hh
21284 wine_fn_config_makefile programs/hostname enable_hostname
21285 wine_fn_config_makefile programs/icacls enable_icacls
21286 wine_fn_config_makefile programs/icinfo enable_icinfo
21287 wine_fn_config_makefile programs/iexplore enable_iexplore
21288 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21289 wine_fn_config_makefile programs/lodctr enable_lodctr
21290 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21291 wine_fn_config_makefile programs/mshta enable_mshta
21292 wine_fn_config_makefile programs/msidb enable_msidb
21293 wine_fn_config_makefile programs/msiexec enable_msiexec
21294 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21295 wine_fn_config_makefile programs/net enable_net
21296 wine_fn_config_makefile programs/netsh enable_netsh
21297 wine_fn_config_makefile programs/netstat enable_netstat
21298 wine_fn_config_makefile programs/ngen enable_ngen
21299 wine_fn_config_makefile programs/notepad enable_notepad
21300 wine_fn_config_makefile programs/oleview enable_oleview
21301 wine_fn_config_makefile programs/ping enable_ping
21302 wine_fn_config_makefile programs/plugplay enable_plugplay
21303 wine_fn_config_makefile programs/powershell enable_powershell
21304 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21305 wine_fn_config_makefile programs/progman enable_progman
21306 wine_fn_config_makefile programs/reg enable_reg
21307 wine_fn_config_makefile programs/reg/tests enable_tests
21308 wine_fn_config_makefile programs/regasm enable_regasm
21309 wine_fn_config_makefile programs/regedit enable_regedit
21310 wine_fn_config_makefile programs/regedit/tests enable_tests
21311 wine_fn_config_makefile programs/regini enable_regini
21312 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21313 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21314 wine_fn_config_makefile programs/rpcss enable_rpcss
21315 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21316 wine_fn_config_makefile programs/rundll32 enable_rundll32
21317 wine_fn_config_makefile programs/sc enable_sc
21318 wine_fn_config_makefile programs/schtasks enable_schtasks
21319 wine_fn_config_makefile programs/schtasks/tests enable_tests
21320 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21321 wine_fn_config_makefile programs/secedit enable_secedit
21322 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21323 wine_fn_config_makefile programs/services enable_services
21324 wine_fn_config_makefile programs/services/tests enable_tests
21325 wine_fn_config_makefile programs/shutdown enable_shutdown
21326 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21327 wine_fn_config_makefile programs/start enable_start
21328 wine_fn_config_makefile programs/subst enable_subst
21329 wine_fn_config_makefile programs/svchost enable_svchost
21330 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21331 wine_fn_config_makefile programs/taskkill enable_taskkill
21332 wine_fn_config_makefile programs/tasklist enable_tasklist
21333 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21334 wine_fn_config_makefile programs/termsv enable_termsv
21335 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21336 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21337 wine_fn_config_makefile programs/view enable_view
21338 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21339 wine_fn_config_makefile programs/where enable_where
21340 wine_fn_config_makefile programs/whoami enable_whoami
21341 wine_fn_config_makefile programs/wineboot enable_wineboot
21342 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21343 wine_fn_config_makefile programs/winecfg enable_winecfg
21344 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21345 wine_fn_config_makefile programs/winedbg enable_winedbg
21346 wine_fn_config_makefile programs/winedevice enable_winedevice
21347 wine_fn_config_makefile programs/winefile enable_winefile
21348 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21349 wine_fn_config_makefile programs/winemine enable_winemine
21350 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21351 wine_fn_config_makefile programs/winepath enable_winepath
21352 wine_fn_config_makefile programs/winetest enable_winetest
21353 wine_fn_config_makefile programs/winevdm enable_win16
21354 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21355 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21356 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21357 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21358 wine_fn_config_makefile programs/winver enable_winver
21359 wine_fn_config_makefile programs/wmic enable_wmic
21360 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21361 wine_fn_config_makefile programs/wordpad enable_wordpad
21362 wine_fn_config_makefile programs/write enable_write
21363 wine_fn_config_makefile programs/wscript enable_wscript
21364 wine_fn_config_makefile programs/wscript/tests enable_tests
21365 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21366 wine_fn_config_makefile programs/wusa enable_wusa
21367 wine_fn_config_makefile programs/xcopy enable_xcopy
21368 wine_fn_config_makefile programs/xcopy/tests enable_tests
21369 wine_fn_config_makefile server enable_server
21370 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21371 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21372 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21373 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21374 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21375 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21376 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21377 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21378 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21381 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21382 wine_fn_append_file CONFIGURE_TARGETS "tags"
21383 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21384 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21385 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21386 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21387 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21388 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21390 if test "x$enable_tools" != xno
21391 then
21392 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21393 ac_config_commands="$ac_config_commands tools/makedep"
21397 ac_config_commands="$ac_config_commands Makefile"
21400 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21404 if test "x$enable_maintainer_mode" = xyes
21405 then
21406 wine_fn_append_rule "configure: configure.ac aclocal.m4
21407 autoconf --warnings=all
21408 include/config.h.in: include/stamp-h.in
21409 include/stamp-h.in: configure.ac aclocal.m4
21410 autoheader --warnings=all
21411 @echo timestamp > \$@"
21414 if test "x$enable_tools" != xno
21415 then
21416 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21417 @./config.status tools/makedep
21418 Makefile: tools/makedep$ac_exeext"
21419 else
21420 wine_fn_append_rule "\$(MAKEDEP):
21421 @echo \"You need to run make in $TOOLSDIR first\" && false"
21424 if test -n "$with_wine64"
21425 then
21426 case "$with_wine64" in
21427 /*) reldir="" ;;
21428 *) reldir="../" ;;
21429 esac
21430 rm -f fonts server 2>/dev/null
21431 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21432 loader/wine64 loader/wine64-preloader:
21433 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21434 $with_wine64/loader/wine:
21435 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21436 $with_wine64/loader/wine-preloader:
21437 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21438 clean::
21439 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21440 else
21441 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21442 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21443 fonts \
21444 loader/wine.inf \
21445 nls \
21446 programs/msidb/msidb \
21447 programs/msiexec/msiexec \
21448 programs/notepad/notepad \
21449 programs/regedit/regedit \
21450 programs/regsvr32/regsvr32 \
21451 programs/wineboot/wineboot \
21452 programs/winecfg/winecfg \
21453 programs/wineconsole/wineconsole \
21454 programs/winedbg/winedbg \
21455 programs/winefile/winefile \
21456 programs/winemine/winemine \
21457 programs/winepath/winepath \
21458 server/wineserver"
21460 case $host_os in
21461 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21462 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21463 esac
21466 $as_echo " done" >&6
21467 cat >confcache <<\_ACEOF
21468 # This file is a shell script that caches the results of configure
21469 # tests run on this system so they can be shared between configure
21470 # scripts and configure runs, see configure's option --config-cache.
21471 # It is not useful on other systems. If it contains results you don't
21472 # want to keep, you may remove or edit it.
21474 # config.status only pays attention to the cache file if you give it
21475 # the --recheck option to rerun configure.
21477 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21478 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21479 # following values.
21481 _ACEOF
21483 # The following way of writing the cache mishandles newlines in values,
21484 # but we know of no workaround that is simple, portable, and efficient.
21485 # So, we kill variables containing newlines.
21486 # Ultrix sh set writes to stderr and can't be redirected directly,
21487 # and sets the high bit in the cache file unless we assign to the vars.
21489 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21490 eval ac_val=\$$ac_var
21491 case $ac_val in #(
21492 *${as_nl}*)
21493 case $ac_var in #(
21494 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21495 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21496 esac
21497 case $ac_var in #(
21498 _ | IFS | as_nl) ;; #(
21499 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21500 *) { eval $ac_var=; unset $ac_var;} ;;
21501 esac ;;
21502 esac
21503 done
21505 (set) 2>&1 |
21506 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21507 *${as_nl}ac_space=\ *)
21508 # `set' does not quote correctly, so add quotes: double-quote
21509 # substitution turns \\\\ into \\, and sed turns \\ into \.
21510 sed -n \
21511 "s/'/'\\\\''/g;
21512 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21513 ;; #(
21515 # `set' quotes correctly as required by POSIX, so do not add quotes.
21516 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21518 esac |
21519 sort
21521 sed '
21522 /^ac_cv_env_/b end
21523 t clear
21524 :clear
21525 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21526 t end
21527 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21528 :end' >>confcache
21529 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21530 if test -w "$cache_file"; then
21531 if test "x$cache_file" != "x/dev/null"; then
21532 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21533 $as_echo "$as_me: updating cache $cache_file" >&6;}
21534 if test ! -f "$cache_file" || test -h "$cache_file"; then
21535 cat confcache >"$cache_file"
21536 else
21537 case $cache_file in #(
21538 */* | ?:*)
21539 mv -f confcache "$cache_file"$$ &&
21540 mv -f "$cache_file"$$ "$cache_file" ;; #(
21542 mv -f confcache "$cache_file" ;;
21543 esac
21546 else
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21548 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21551 rm -f confcache
21553 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21554 # Let make expand exec_prefix.
21555 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21557 DEFS=-DHAVE_CONFIG_H
21559 ac_libobjs=
21560 ac_ltlibobjs=
21562 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21563 # 1. Remove the extension, and $U if already installed.
21564 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21565 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21566 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21567 # will be set to the directory where LIBOBJS objects are built.
21568 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21569 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21570 done
21571 LIBOBJS=$ac_libobjs
21573 LTLIBOBJS=$ac_ltlibobjs
21577 : "${CONFIG_STATUS=./config.status}"
21578 ac_write_fail=0
21579 ac_clean_files_save=$ac_clean_files
21580 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21582 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21583 as_write_fail=0
21584 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21585 #! $SHELL
21586 # Generated by $as_me.
21587 # Run this file to recreate the current configuration.
21588 # Compiler output produced by configure, useful for debugging
21589 # configure, is in config.log if it exists.
21591 debug=false
21592 ac_cs_recheck=false
21593 ac_cs_silent=false
21595 SHELL=\${CONFIG_SHELL-$SHELL}
21596 export SHELL
21597 _ASEOF
21598 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21599 ## -------------------- ##
21600 ## M4sh Initialization. ##
21601 ## -------------------- ##
21603 # Be more Bourne compatible
21604 DUALCASE=1; export DUALCASE # for MKS sh
21605 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21606 emulate sh
21607 NULLCMD=:
21608 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21609 # is contrary to our usage. Disable this feature.
21610 alias -g '${1+"$@"}'='"$@"'
21611 setopt NO_GLOB_SUBST
21612 else
21613 case `(set -o) 2>/dev/null` in #(
21614 *posix*) :
21615 set -o posix ;; #(
21616 *) :
21618 esac
21622 as_nl='
21624 export as_nl
21625 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21626 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21627 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21628 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21629 # Prefer a ksh shell builtin over an external printf program on Solaris,
21630 # but without wasting forks for bash or zsh.
21631 if test -z "$BASH_VERSION$ZSH_VERSION" \
21632 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21633 as_echo='print -r --'
21634 as_echo_n='print -rn --'
21635 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21636 as_echo='printf %s\n'
21637 as_echo_n='printf %s'
21638 else
21639 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21640 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21641 as_echo_n='/usr/ucb/echo -n'
21642 else
21643 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21644 as_echo_n_body='eval
21645 arg=$1;
21646 case $arg in #(
21647 *"$as_nl"*)
21648 expr "X$arg" : "X\\(.*\\)$as_nl";
21649 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21650 esac;
21651 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21653 export as_echo_n_body
21654 as_echo_n='sh -c $as_echo_n_body as_echo'
21656 export as_echo_body
21657 as_echo='sh -c $as_echo_body as_echo'
21660 # The user is always right.
21661 if test "${PATH_SEPARATOR+set}" != set; then
21662 PATH_SEPARATOR=:
21663 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21664 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21665 PATH_SEPARATOR=';'
21670 # IFS
21671 # We need space, tab and new line, in precisely that order. Quoting is
21672 # there to prevent editors from complaining about space-tab.
21673 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21674 # splitting by setting IFS to empty value.)
21675 IFS=" "" $as_nl"
21677 # Find who we are. Look in the path if we contain no directory separator.
21678 as_myself=
21679 case $0 in #((
21680 *[\\/]* ) as_myself=$0 ;;
21681 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21682 for as_dir in $PATH
21684 IFS=$as_save_IFS
21685 test -z "$as_dir" && as_dir=.
21686 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21687 done
21688 IFS=$as_save_IFS
21691 esac
21692 # We did not find ourselves, most probably we were run as `sh COMMAND'
21693 # in which case we are not to be found in the path.
21694 if test "x$as_myself" = x; then
21695 as_myself=$0
21697 if test ! -f "$as_myself"; then
21698 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21699 exit 1
21702 # Unset variables that we do not need and which cause bugs (e.g. in
21703 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21704 # suppresses any "Segmentation fault" message there. '((' could
21705 # trigger a bug in pdksh 5.2.14.
21706 for as_var in BASH_ENV ENV MAIL MAILPATH
21707 do eval test x\${$as_var+set} = xset \
21708 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21709 done
21710 PS1='$ '
21711 PS2='> '
21712 PS4='+ '
21714 # NLS nuisances.
21715 LC_ALL=C
21716 export LC_ALL
21717 LANGUAGE=C
21718 export LANGUAGE
21720 # CDPATH.
21721 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21724 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21725 # ----------------------------------------
21726 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21727 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21728 # script with STATUS, using 1 if that was 0.
21729 as_fn_error ()
21731 as_status=$1; test $as_status -eq 0 && as_status=1
21732 if test "$4"; then
21733 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21734 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21736 $as_echo "$as_me: error: $2" >&2
21737 as_fn_exit $as_status
21738 } # as_fn_error
21741 # as_fn_set_status STATUS
21742 # -----------------------
21743 # Set $? to STATUS, without forking.
21744 as_fn_set_status ()
21746 return $1
21747 } # as_fn_set_status
21749 # as_fn_exit STATUS
21750 # -----------------
21751 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21752 as_fn_exit ()
21754 set +e
21755 as_fn_set_status $1
21756 exit $1
21757 } # as_fn_exit
21759 # as_fn_unset VAR
21760 # ---------------
21761 # Portably unset VAR.
21762 as_fn_unset ()
21764 { eval $1=; unset $1;}
21766 as_unset=as_fn_unset
21767 # as_fn_append VAR VALUE
21768 # ----------------------
21769 # Append the text in VALUE to the end of the definition contained in VAR. Take
21770 # advantage of any shell optimizations that allow amortized linear growth over
21771 # repeated appends, instead of the typical quadratic growth present in naive
21772 # implementations.
21773 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21774 eval 'as_fn_append ()
21776 eval $1+=\$2
21778 else
21779 as_fn_append ()
21781 eval $1=\$$1\$2
21783 fi # as_fn_append
21785 # as_fn_arith ARG...
21786 # ------------------
21787 # Perform arithmetic evaluation on the ARGs, and store the result in the
21788 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21789 # must be portable across $(()) and expr.
21790 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21791 eval 'as_fn_arith ()
21793 as_val=$(( $* ))
21795 else
21796 as_fn_arith ()
21798 as_val=`expr "$@" || test $? -eq 1`
21800 fi # as_fn_arith
21803 if expr a : '\(a\)' >/dev/null 2>&1 &&
21804 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21805 as_expr=expr
21806 else
21807 as_expr=false
21810 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21811 as_basename=basename
21812 else
21813 as_basename=false
21816 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21817 as_dirname=dirname
21818 else
21819 as_dirname=false
21822 as_me=`$as_basename -- "$0" ||
21823 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21824 X"$0" : 'X\(//\)$' \| \
21825 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21826 $as_echo X/"$0" |
21827 sed '/^.*\/\([^/][^/]*\)\/*$/{
21828 s//\1/
21831 /^X\/\(\/\/\)$/{
21832 s//\1/
21835 /^X\/\(\/\).*/{
21836 s//\1/
21839 s/.*/./; q'`
21841 # Avoid depending upon Character Ranges.
21842 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21843 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21844 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21845 as_cr_digits='0123456789'
21846 as_cr_alnum=$as_cr_Letters$as_cr_digits
21848 ECHO_C= ECHO_N= ECHO_T=
21849 case `echo -n x` in #(((((
21850 -n*)
21851 case `echo 'xy\c'` in
21852 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21853 xy) ECHO_C='\c';;
21854 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21855 ECHO_T=' ';;
21856 esac;;
21858 ECHO_N='-n';;
21859 esac
21861 rm -f conf$$ conf$$.exe conf$$.file
21862 if test -d conf$$.dir; then
21863 rm -f conf$$.dir/conf$$.file
21864 else
21865 rm -f conf$$.dir
21866 mkdir conf$$.dir 2>/dev/null
21868 if (echo >conf$$.file) 2>/dev/null; then
21869 if ln -s conf$$.file conf$$ 2>/dev/null; then
21870 as_ln_s='ln -s'
21871 # ... but there are two gotchas:
21872 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21873 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21874 # In both cases, we have to default to `cp -pR'.
21875 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21876 as_ln_s='cp -pR'
21877 elif ln conf$$.file conf$$ 2>/dev/null; then
21878 as_ln_s=ln
21879 else
21880 as_ln_s='cp -pR'
21882 else
21883 as_ln_s='cp -pR'
21885 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21886 rmdir conf$$.dir 2>/dev/null
21889 # as_fn_mkdir_p
21890 # -------------
21891 # Create "$as_dir" as a directory, including parents if necessary.
21892 as_fn_mkdir_p ()
21895 case $as_dir in #(
21896 -*) as_dir=./$as_dir;;
21897 esac
21898 test -d "$as_dir" || eval $as_mkdir_p || {
21899 as_dirs=
21900 while :; do
21901 case $as_dir in #(
21902 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21903 *) as_qdir=$as_dir;;
21904 esac
21905 as_dirs="'$as_qdir' $as_dirs"
21906 as_dir=`$as_dirname -- "$as_dir" ||
21907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21908 X"$as_dir" : 'X\(//\)[^/]' \| \
21909 X"$as_dir" : 'X\(//\)$' \| \
21910 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21911 $as_echo X"$as_dir" |
21912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21913 s//\1/
21916 /^X\(\/\/\)[^/].*/{
21917 s//\1/
21920 /^X\(\/\/\)$/{
21921 s//\1/
21924 /^X\(\/\).*/{
21925 s//\1/
21928 s/.*/./; q'`
21929 test -d "$as_dir" && break
21930 done
21931 test -z "$as_dirs" || eval "mkdir $as_dirs"
21932 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21935 } # as_fn_mkdir_p
21936 if mkdir -p . 2>/dev/null; then
21937 as_mkdir_p='mkdir -p "$as_dir"'
21938 else
21939 test -d ./-p && rmdir ./-p
21940 as_mkdir_p=false
21944 # as_fn_executable_p FILE
21945 # -----------------------
21946 # Test if FILE is an executable regular file.
21947 as_fn_executable_p ()
21949 test -f "$1" && test -x "$1"
21950 } # as_fn_executable_p
21951 as_test_x='test -x'
21952 as_executable_p=as_fn_executable_p
21954 # Sed expression to map a string onto a valid CPP name.
21955 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21957 # Sed expression to map a string onto a valid variable name.
21958 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21961 exec 6>&1
21962 ## ----------------------------------- ##
21963 ## Main body of $CONFIG_STATUS script. ##
21964 ## ----------------------------------- ##
21965 _ASEOF
21966 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21969 # Save the log message, to keep $0 and so on meaningful, and to
21970 # report actual input values of CONFIG_FILES etc. instead of their
21971 # values after options handling.
21972 ac_log="
21973 This file was extended by Wine $as_me 6.14, which was
21974 generated by GNU Autoconf 2.69. Invocation command line was
21976 CONFIG_FILES = $CONFIG_FILES
21977 CONFIG_HEADERS = $CONFIG_HEADERS
21978 CONFIG_LINKS = $CONFIG_LINKS
21979 CONFIG_COMMANDS = $CONFIG_COMMANDS
21980 $ $0 $@
21982 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21985 _ACEOF
21987 case $ac_config_files in *"
21988 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21989 esac
21991 case $ac_config_headers in *"
21992 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21993 esac
21996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21997 # Files that config.status was made for.
21998 config_files="$ac_config_files"
21999 config_headers="$ac_config_headers"
22000 config_links="$ac_config_links"
22001 config_commands="$ac_config_commands"
22003 _ACEOF
22005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22006 ac_cs_usage="\
22007 \`$as_me' instantiates files and other configuration actions
22008 from templates according to the current configuration. Unless the files
22009 and actions are specified as TAGs, all are instantiated by default.
22011 Usage: $0 [OPTION]... [TAG]...
22013 -h, --help print this help, then exit
22014 -V, --version print version number and configuration settings, then exit
22015 --config print configuration, then exit
22016 -q, --quiet, --silent
22017 do not print progress messages
22018 -d, --debug don't remove temporary files
22019 --recheck update $as_me by reconfiguring in the same conditions
22020 --file=FILE[:TEMPLATE]
22021 instantiate the configuration file FILE
22022 --header=FILE[:TEMPLATE]
22023 instantiate the configuration header FILE
22025 Configuration files:
22026 $config_files
22028 Configuration headers:
22029 $config_headers
22031 Configuration links:
22032 $config_links
22034 Configuration commands:
22035 $config_commands
22037 Report bugs to <wine-devel@winehq.org>.
22038 Wine home page: <https://www.winehq.org>."
22040 _ACEOF
22041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22042 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22043 ac_cs_version="\\
22044 Wine config.status 6.14
22045 configured by $0, generated by GNU Autoconf 2.69,
22046 with options \\"\$ac_cs_config\\"
22048 Copyright (C) 2012 Free Software Foundation, Inc.
22049 This config.status script is free software; the Free Software Foundation
22050 gives unlimited permission to copy, distribute and modify it."
22052 ac_pwd='$ac_pwd'
22053 srcdir='$srcdir'
22054 test -n "\$AWK" || AWK=awk
22055 _ACEOF
22057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22058 # The default lists apply if the user does not specify any file.
22059 ac_need_defaults=:
22060 while test $# != 0
22062 case $1 in
22063 --*=?*)
22064 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22065 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22066 ac_shift=:
22068 --*=)
22069 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22070 ac_optarg=
22071 ac_shift=:
22074 ac_option=$1
22075 ac_optarg=$2
22076 ac_shift=shift
22078 esac
22080 case $ac_option in
22081 # Handling of the options.
22082 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22083 ac_cs_recheck=: ;;
22084 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22085 $as_echo "$ac_cs_version"; exit ;;
22086 --config | --confi | --conf | --con | --co | --c )
22087 $as_echo "$ac_cs_config"; exit ;;
22088 --debug | --debu | --deb | --de | --d | -d )
22089 debug=: ;;
22090 --file | --fil | --fi | --f )
22091 $ac_shift
22092 case $ac_optarg in
22093 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22094 '') as_fn_error $? "missing file argument" ;;
22095 esac
22096 as_fn_append CONFIG_FILES " '$ac_optarg'"
22097 ac_need_defaults=false;;
22098 --header | --heade | --head | --hea )
22099 $ac_shift
22100 case $ac_optarg in
22101 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22102 esac
22103 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22104 ac_need_defaults=false;;
22105 --he | --h)
22106 # Conflict between --help and --header
22107 as_fn_error $? "ambiguous option: \`$1'
22108 Try \`$0 --help' for more information.";;
22109 --help | --hel | -h )
22110 $as_echo "$ac_cs_usage"; exit ;;
22111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22112 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22113 ac_cs_silent=: ;;
22115 # This is an error.
22116 -*) as_fn_error $? "unrecognized option: \`$1'
22117 Try \`$0 --help' for more information." ;;
22119 *) as_fn_append ac_config_targets " $1"
22120 ac_need_defaults=false ;;
22122 esac
22123 shift
22124 done
22126 ac_configure_extra_args=
22128 if $ac_cs_silent; then
22129 exec 6>/dev/null
22130 ac_configure_extra_args="$ac_configure_extra_args --silent"
22133 _ACEOF
22134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22135 if \$ac_cs_recheck; then
22136 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22137 shift
22138 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22139 CONFIG_SHELL='$SHELL'
22140 export CONFIG_SHELL
22141 exec "\$@"
22144 _ACEOF
22145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22146 exec 5>>config.log
22148 echo
22149 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22150 ## Running $as_me. ##
22151 _ASBOX
22152 $as_echo "$ac_log"
22153 } >&5
22155 _ACEOF
22156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22158 # INIT-COMMANDS
22160 wine_fn_output_makedep ()
22162 as_dir=tools; as_fn_mkdir_p
22163 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22165 wine_fn_output_makefile ()
22167 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22168 `cat $wine_rules_file`
22169 _WINE_EOF
22170 as_fn_error $? "could not create Makefile" "$LINENO" 5
22173 _ACEOF
22175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22177 # Handling of arguments.
22178 for ac_config_target in $ac_config_targets
22180 case $ac_config_target in
22181 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22182 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22183 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22184 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22185 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22186 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22187 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22189 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22190 esac
22191 done
22194 # If the user did not use the arguments to specify the items to instantiate,
22195 # then the envvar interface is used. Set only those that are not.
22196 # We use the long form for the default assignment because of an extremely
22197 # bizarre bug on SunOS 4.1.3.
22198 if $ac_need_defaults; then
22199 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22200 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22201 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22202 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22205 # Have a temporary directory for convenience. Make it in the build tree
22206 # simply because there is no reason against having it here, and in addition,
22207 # creating and moving files from /tmp can sometimes cause problems.
22208 # Hook for its removal unless debugging.
22209 # Note that there is a small window in which the directory will not be cleaned:
22210 # after its creation but before its name has been assigned to `$tmp'.
22211 $debug ||
22213 tmp= ac_tmp=
22214 trap 'exit_status=$?
22215 : "${ac_tmp:=$tmp}"
22216 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22218 trap 'as_fn_exit 1' 1 2 13 15
22220 # Create a (secure) tmp directory for tmp files.
22223 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22224 test -d "$tmp"
22225 } ||
22227 tmp=./conf$$-$RANDOM
22228 (umask 077 && mkdir "$tmp")
22229 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22230 ac_tmp=$tmp
22232 # Set up the scripts for CONFIG_FILES section.
22233 # No need to generate them if there are no CONFIG_FILES.
22234 # This happens for instance with `./config.status config.h'.
22235 if test -n "$CONFIG_FILES"; then
22238 ac_cr=`echo X | tr X '\015'`
22239 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22240 # But we know of no other shell where ac_cr would be empty at this
22241 # point, so we can use a bashism as a fallback.
22242 if test "x$ac_cr" = x; then
22243 eval ac_cr=\$\'\\r\'
22245 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22246 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22247 ac_cs_awk_cr='\\r'
22248 else
22249 ac_cs_awk_cr=$ac_cr
22252 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22253 _ACEOF
22257 echo "cat >conf$$subs.awk <<_ACEOF" &&
22258 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22259 echo "_ACEOF"
22260 } >conf$$subs.sh ||
22261 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22262 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22263 ac_delim='%!_!# '
22264 for ac_last_try in false false false false false :; do
22265 . ./conf$$subs.sh ||
22266 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22268 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22269 if test $ac_delim_n = $ac_delim_num; then
22270 break
22271 elif $ac_last_try; then
22272 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22273 else
22274 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22276 done
22277 rm -f conf$$subs.sh
22279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22280 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22281 _ACEOF
22282 sed -n '
22284 s/^/S["/; s/!.*/"]=/
22287 s/^[^!]*!//
22288 :repl
22289 t repl
22290 s/'"$ac_delim"'$//
22291 t delim
22294 s/\(.\{148\}\)..*/\1/
22295 t more1
22296 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22299 b repl
22300 :more1
22301 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22304 s/.\{148\}//
22305 t nl
22306 :delim
22308 s/\(.\{148\}\)..*/\1/
22309 t more2
22310 s/["\\]/\\&/g; s/^/"/; s/$/"/
22313 :more2
22314 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22317 s/.\{148\}//
22318 t delim
22319 ' <conf$$subs.awk | sed '
22320 /^[^""]/{
22322 s/\n//
22324 ' >>$CONFIG_STATUS || ac_write_fail=1
22325 rm -f conf$$subs.awk
22326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22327 _ACAWK
22328 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22329 for (key in S) S_is_set[key] = 1
22330 FS = "\a"
22334 line = $ 0
22335 nfields = split(line, field, "@")
22336 substed = 0
22337 len = length(field[1])
22338 for (i = 2; i < nfields; i++) {
22339 key = field[i]
22340 keylen = length(key)
22341 if (S_is_set[key]) {
22342 value = S[key]
22343 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22344 len += length(value) + length(field[++i])
22345 substed = 1
22346 } else
22347 len += 1 + keylen
22350 print line
22353 _ACAWK
22354 _ACEOF
22355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22356 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22357 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22358 else
22360 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22361 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22362 _ACEOF
22364 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22365 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22366 # trailing colons and then remove the whole line if VPATH becomes empty
22367 # (actually we leave an empty line to preserve line numbers).
22368 if test "x$srcdir" = x.; then
22369 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22371 s///
22372 s/^/:/
22373 s/[ ]*$/:/
22374 s/:\$(srcdir):/:/g
22375 s/:\${srcdir}:/:/g
22376 s/:@srcdir@:/:/g
22377 s/^:*//
22378 s/:*$//
22380 s/\(=[ ]*\).*/\1/
22382 s/\n//
22383 s/^[^=]*=[ ]*$//
22387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22388 fi # test -n "$CONFIG_FILES"
22390 # Set up the scripts for CONFIG_HEADERS section.
22391 # No need to generate them if there are no CONFIG_HEADERS.
22392 # This happens for instance with `./config.status Makefile'.
22393 if test -n "$CONFIG_HEADERS"; then
22394 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22395 BEGIN {
22396 _ACEOF
22398 # Transform confdefs.h into an awk script `defines.awk', embedded as
22399 # here-document in config.status, that substitutes the proper values into
22400 # config.h.in to produce config.h.
22402 # Create a delimiter string that does not exist in confdefs.h, to ease
22403 # handling of long lines.
22404 ac_delim='%!_!# '
22405 for ac_last_try in false false :; do
22406 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22407 if test -z "$ac_tt"; then
22408 break
22409 elif $ac_last_try; then
22410 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22411 else
22412 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22414 done
22416 # For the awk script, D is an array of macro values keyed by name,
22417 # likewise P contains macro parameters if any. Preserve backslash
22418 # newline sequences.
22420 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22421 sed -n '
22422 s/.\{148\}/&'"$ac_delim"'/g
22423 t rset
22424 :rset
22425 s/^[ ]*#[ ]*define[ ][ ]*/ /
22426 t def
22428 :def
22429 s/\\$//
22430 t bsnl
22431 s/["\\]/\\&/g
22432 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22433 D["\1"]=" \3"/p
22434 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22436 :bsnl
22437 s/["\\]/\\&/g
22438 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22439 D["\1"]=" \3\\\\\\n"\\/p
22440 t cont
22441 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22442 t cont
22444 :cont
22446 s/.\{148\}/&'"$ac_delim"'/g
22447 t clear
22448 :clear
22449 s/\\$//
22450 t bsnlc
22451 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22453 :bsnlc
22454 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22455 b cont
22456 ' <confdefs.h | sed '
22457 s/'"$ac_delim"'/"\\\
22458 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22461 for (key in D) D_is_set[key] = 1
22462 FS = "\a"
22464 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22465 line = \$ 0
22466 split(line, arg, " ")
22467 if (arg[1] == "#") {
22468 defundef = arg[2]
22469 mac1 = arg[3]
22470 } else {
22471 defundef = substr(arg[1], 2)
22472 mac1 = arg[2]
22474 split(mac1, mac2, "(") #)
22475 macro = mac2[1]
22476 prefix = substr(line, 1, index(line, defundef) - 1)
22477 if (D_is_set[macro]) {
22478 # Preserve the white space surrounding the "#".
22479 print prefix "define", macro P[macro] D[macro]
22480 next
22481 } else {
22482 # Replace #undef with comments. This is necessary, for example,
22483 # in the case of _POSIX_SOURCE, which is predefined and required
22484 # on some systems where configure will not decide to define it.
22485 if (defundef == "undef") {
22486 print "/*", prefix defundef, macro, "*/"
22487 next
22491 { print }
22492 _ACAWK
22493 _ACEOF
22494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22495 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22496 fi # test -n "$CONFIG_HEADERS"
22499 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22500 shift
22501 for ac_tag
22503 case $ac_tag in
22504 :[FHLC]) ac_mode=$ac_tag; continue;;
22505 esac
22506 case $ac_mode$ac_tag in
22507 :[FHL]*:*);;
22508 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22509 :[FH]-) ac_tag=-:-;;
22510 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22511 esac
22512 ac_save_IFS=$IFS
22513 IFS=:
22514 set x $ac_tag
22515 IFS=$ac_save_IFS
22516 shift
22517 ac_file=$1
22518 shift
22520 case $ac_mode in
22521 :L) ac_source=$1;;
22522 :[FH])
22523 ac_file_inputs=
22524 for ac_f
22526 case $ac_f in
22527 -) ac_f="$ac_tmp/stdin";;
22528 *) # Look for the file first in the build tree, then in the source tree
22529 # (if the path is not absolute). The absolute path cannot be DOS-style,
22530 # because $ac_f cannot contain `:'.
22531 test -f "$ac_f" ||
22532 case $ac_f in
22533 [\\/$]*) false;;
22534 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22535 esac ||
22536 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22537 esac
22538 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22539 as_fn_append ac_file_inputs " '$ac_f'"
22540 done
22542 # Let's still pretend it is `configure' which instantiates (i.e., don't
22543 # use $as_me), people would be surprised to read:
22544 # /* config.h. Generated by config.status. */
22545 configure_input='Generated from '`
22546 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22547 `' by configure.'
22548 if test x"$ac_file" != x-; then
22549 configure_input="$ac_file. $configure_input"
22550 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22551 $as_echo "$as_me: creating $ac_file" >&6;}
22553 # Neutralize special characters interpreted by sed in replacement strings.
22554 case $configure_input in #(
22555 *\&* | *\|* | *\\* )
22556 ac_sed_conf_input=`$as_echo "$configure_input" |
22557 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22558 *) ac_sed_conf_input=$configure_input;;
22559 esac
22561 case $ac_tag in
22562 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22563 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22564 esac
22566 esac
22568 ac_dir=`$as_dirname -- "$ac_file" ||
22569 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22570 X"$ac_file" : 'X\(//\)[^/]' \| \
22571 X"$ac_file" : 'X\(//\)$' \| \
22572 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22573 $as_echo X"$ac_file" |
22574 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22575 s//\1/
22578 /^X\(\/\/\)[^/].*/{
22579 s//\1/
22582 /^X\(\/\/\)$/{
22583 s//\1/
22586 /^X\(\/\).*/{
22587 s//\1/
22590 s/.*/./; q'`
22591 as_dir="$ac_dir"; as_fn_mkdir_p
22592 ac_builddir=.
22594 case "$ac_dir" in
22595 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22597 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22598 # A ".." for each directory in $ac_dir_suffix.
22599 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22600 case $ac_top_builddir_sub in
22601 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22602 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22603 esac ;;
22604 esac
22605 ac_abs_top_builddir=$ac_pwd
22606 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22607 # for backward compatibility:
22608 ac_top_builddir=$ac_top_build_prefix
22610 case $srcdir in
22611 .) # We are building in place.
22612 ac_srcdir=.
22613 ac_top_srcdir=$ac_top_builddir_sub
22614 ac_abs_top_srcdir=$ac_pwd ;;
22615 [\\/]* | ?:[\\/]* ) # Absolute name.
22616 ac_srcdir=$srcdir$ac_dir_suffix;
22617 ac_top_srcdir=$srcdir
22618 ac_abs_top_srcdir=$srcdir ;;
22619 *) # Relative name.
22620 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22621 ac_top_srcdir=$ac_top_build_prefix$srcdir
22622 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22623 esac
22624 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22627 case $ac_mode in
22630 # CONFIG_FILE
22633 _ACEOF
22635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22636 # If the template does not know about datarootdir, expand it.
22637 # FIXME: This hack should be removed a few years after 2.60.
22638 ac_datarootdir_hack=; ac_datarootdir_seen=
22639 ac_sed_dataroot='
22640 /datarootdir/ {
22644 /@datadir@/p
22645 /@docdir@/p
22646 /@infodir@/p
22647 /@localedir@/p
22648 /@mandir@/p'
22649 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22650 *datarootdir*) ac_datarootdir_seen=yes;;
22651 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22653 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22654 _ACEOF
22655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22656 ac_datarootdir_hack='
22657 s&@datadir@&$datadir&g
22658 s&@docdir@&$docdir&g
22659 s&@infodir@&$infodir&g
22660 s&@localedir@&$localedir&g
22661 s&@mandir@&$mandir&g
22662 s&\\\${datarootdir}&$datarootdir&g' ;;
22663 esac
22664 _ACEOF
22666 # Neutralize VPATH when `$srcdir' = `.'.
22667 # Shell code in configure.ac might set extrasub.
22668 # FIXME: do we really want to maintain this feature?
22669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22670 ac_sed_extra="$ac_vpsub
22671 $extrasub
22672 _ACEOF
22673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22675 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22676 s|@configure_input@|$ac_sed_conf_input|;t t
22677 s&@top_builddir@&$ac_top_builddir_sub&;t t
22678 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22679 s&@srcdir@&$ac_srcdir&;t t
22680 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22681 s&@top_srcdir@&$ac_top_srcdir&;t t
22682 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22683 s&@builddir@&$ac_builddir&;t t
22684 s&@abs_builddir@&$ac_abs_builddir&;t t
22685 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22686 $ac_datarootdir_hack
22688 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22689 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22691 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22692 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22693 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22694 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22696 which seems to be undefined. Please make sure it is defined" >&5
22697 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22698 which seems to be undefined. Please make sure it is defined" >&2;}
22700 rm -f "$ac_tmp/stdin"
22701 case $ac_file in
22702 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22703 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22704 esac \
22705 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22709 # CONFIG_HEADER
22711 if test x"$ac_file" != x-; then
22713 $as_echo "/* $configure_input */" \
22714 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22715 } >"$ac_tmp/config.h" \
22716 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22717 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22718 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22719 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22720 else
22721 rm -f "$ac_file"
22722 mv "$ac_tmp/config.h" "$ac_file" \
22723 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22725 else
22726 $as_echo "/* $configure_input */" \
22727 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22728 || as_fn_error $? "could not create -" "$LINENO" 5
22733 # CONFIG_LINK
22736 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22738 else
22739 # Prefer the file from the source tree if names are identical.
22740 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22741 ac_source=$srcdir/$ac_source
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22745 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22747 if test ! -r "$ac_source"; then
22748 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22750 rm -f "$ac_file"
22752 # Try a relative symlink, then a hard link, then a copy.
22753 case $ac_source in
22754 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22755 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22756 esac
22757 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22758 ln "$ac_source" "$ac_file" 2>/dev/null ||
22759 cp -p "$ac_source" "$ac_file" ||
22760 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22763 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22764 $as_echo "$as_me: executing $ac_file commands" >&6;}
22766 esac
22769 case $ac_file$ac_mode in
22770 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22771 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22772 "Makefile":C) wine_fn_output_makefile Makefile ;;
22774 esac
22775 done # for ac_tag
22778 as_fn_exit 0
22779 _ACEOF
22780 ac_clean_files=$ac_clean_files_save
22782 test $ac_write_fail = 0 ||
22783 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22786 # configure is writing to config.log, and then calls config.status.
22787 # config.status does its own redirection, appending to config.log.
22788 # Unfortunately, on DOS this fails, as config.log is still kept open
22789 # by configure, so config.status won't be able to write to it; its
22790 # output is simply discarded. So we exec the FD to /dev/null,
22791 # effectively closing config.log, so it can be properly (re)opened and
22792 # appended to by config.status. When coming back to configure, we
22793 # need to make the FD available again.
22794 if test "$no_create" != yes; then
22795 ac_cs_success=:
22796 ac_config_status_args=
22797 test "$silent" = yes &&
22798 ac_config_status_args="$ac_config_status_args --quiet"
22799 exec 5>/dev/null
22800 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22801 exec 5>>config.log
22802 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22803 # would make configure fail if this is the last instruction.
22804 $ac_cs_success || as_fn_exit 1
22806 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22808 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22812 if test "$no_create" = "yes"
22813 then
22814 exit 0
22817 ac_save_IFS="$IFS"
22818 if test "x$wine_notices" != x; then
22819 echo >&6
22820 IFS="|"
22821 for msg in $wine_notices; do
22822 IFS="$ac_save_IFS"
22823 if ${msg:+false} :; then :
22825 else
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22827 $as_echo "$as_me: $msg" >&6;}
22829 done
22831 IFS="|"
22832 for msg in $wine_warnings; do
22833 IFS="$ac_save_IFS"
22834 if ${msg:+false} :; then :
22836 else
22837 echo >&2
22838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22839 $as_echo "$as_me: WARNING: $msg" >&2;}
22841 done
22842 IFS="$ac_save_IFS"
22844 $as_echo "
22845 $as_me: Finished. Do '${ac_make}' to compile Wine.
22846 " >&6