tbs: Add stub dll.
[wine.git] / configure
blob1789634ea84ecc8c8539223d856f17e965118182
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.11.
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.11'
584 PACKAGE_STRING='Wine 6.11'
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_crt_l1_1_0
940 enable_api_ms_win_core_crt_l2_1_0
941 enable_api_ms_win_core_datetime_l1_1_0
942 enable_api_ms_win_core_datetime_l1_1_1
943 enable_api_ms_win_core_debug_l1_1_0
944 enable_api_ms_win_core_debug_l1_1_1
945 enable_api_ms_win_core_delayload_l1_1_0
946 enable_api_ms_win_core_delayload_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_0
948 enable_api_ms_win_core_errorhandling_l1_1_1
949 enable_api_ms_win_core_errorhandling_l1_1_2
950 enable_api_ms_win_core_errorhandling_l1_1_3
951 enable_api_ms_win_core_fibers_l1_1_0
952 enable_api_ms_win_core_fibers_l1_1_1
953 enable_api_ms_win_core_file_ansi_l2_1_0
954 enable_api_ms_win_core_file_fromapp_l1_1_0
955 enable_api_ms_win_core_file_l1_1_0
956 enable_api_ms_win_core_file_l1_2_0
957 enable_api_ms_win_core_file_l1_2_1
958 enable_api_ms_win_core_file_l1_2_2
959 enable_api_ms_win_core_file_l2_1_0
960 enable_api_ms_win_core_file_l2_1_1
961 enable_api_ms_win_core_file_l2_1_2
962 enable_api_ms_win_core_handle_l1_1_0
963 enable_api_ms_win_core_heap_l1_1_0
964 enable_api_ms_win_core_heap_l1_2_0
965 enable_api_ms_win_core_heap_l2_1_0
966 enable_api_ms_win_core_heap_obsolete_l1_1_0
967 enable_api_ms_win_core_interlocked_l1_1_0
968 enable_api_ms_win_core_interlocked_l1_2_0
969 enable_api_ms_win_core_io_l1_1_0
970 enable_api_ms_win_core_io_l1_1_1
971 enable_api_ms_win_core_job_l1_1_0
972 enable_api_ms_win_core_job_l2_1_0
973 enable_api_ms_win_core_kernel32_legacy_l1_1_0
974 enable_api_ms_win_core_kernel32_legacy_l1_1_1
975 enable_api_ms_win_core_kernel32_legacy_l1_1_2
976 enable_api_ms_win_core_kernel32_private_l1_1_1
977 enable_api_ms_win_core_largeinteger_l1_1_0
978 enable_api_ms_win_core_libraryloader_l1_1_0
979 enable_api_ms_win_core_libraryloader_l1_1_1
980 enable_api_ms_win_core_libraryloader_l1_2_0
981 enable_api_ms_win_core_libraryloader_l1_2_1
982 enable_api_ms_win_core_libraryloader_l1_2_2
983 enable_api_ms_win_core_libraryloader_l2_1_0
984 enable_api_ms_win_core_localization_l1_1_0
985 enable_api_ms_win_core_localization_l1_2_0
986 enable_api_ms_win_core_localization_l1_2_1
987 enable_api_ms_win_core_localization_l1_2_2
988 enable_api_ms_win_core_localization_l2_1_0
989 enable_api_ms_win_core_localization_obsolete_l1_1_0
990 enable_api_ms_win_core_localization_obsolete_l1_2_0
991 enable_api_ms_win_core_localization_obsolete_l1_3_0
992 enable_api_ms_win_core_localization_private_l1_1_0
993 enable_api_ms_win_core_localregistry_l1_1_0
994 enable_api_ms_win_core_memory_l1_1_0
995 enable_api_ms_win_core_memory_l1_1_1
996 enable_api_ms_win_core_memory_l1_1_2
997 enable_api_ms_win_core_memory_l1_1_3
998 enable_api_ms_win_core_memory_l1_1_4
999 enable_api_ms_win_core_misc_l1_1_0
1000 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1001 enable_api_ms_win_core_namedpipe_l1_1_0
1002 enable_api_ms_win_core_namedpipe_l1_2_0
1003 enable_api_ms_win_core_namespace_l1_1_0
1004 enable_api_ms_win_core_normalization_l1_1_0
1005 enable_api_ms_win_core_path_l1_1_0
1006 enable_api_ms_win_core_privateprofile_l1_1_1
1007 enable_api_ms_win_core_processenvironment_l1_1_0
1008 enable_api_ms_win_core_processenvironment_l1_2_0
1009 enable_api_ms_win_core_processthreads_l1_1_0
1010 enable_api_ms_win_core_processthreads_l1_1_1
1011 enable_api_ms_win_core_processthreads_l1_1_2
1012 enable_api_ms_win_core_processthreads_l1_1_3
1013 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1014 enable_api_ms_win_core_profile_l1_1_0
1015 enable_api_ms_win_core_psapi_ansi_l1_1_0
1016 enable_api_ms_win_core_psapi_l1_1_0
1017 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1018 enable_api_ms_win_core_quirks_l1_1_0
1019 enable_api_ms_win_core_realtime_l1_1_0
1020 enable_api_ms_win_core_registry_l1_1_0
1021 enable_api_ms_win_core_registry_l2_1_0
1022 enable_api_ms_win_core_registry_l2_2_0
1023 enable_api_ms_win_core_registryuserspecific_l1_1_0
1024 enable_api_ms_win_core_rtlsupport_l1_1_0
1025 enable_api_ms_win_core_rtlsupport_l1_2_0
1026 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1027 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1028 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1029 enable_api_ms_win_core_shutdown_l1_1_0
1030 enable_api_ms_win_core_sidebyside_l1_1_0
1031 enable_api_ms_win_core_string_l1_1_0
1032 enable_api_ms_win_core_string_l2_1_0
1033 enable_api_ms_win_core_string_obsolete_l1_1_0
1034 enable_api_ms_win_core_stringansi_l1_1_0
1035 enable_api_ms_win_core_stringloader_l1_1_1
1036 enable_api_ms_win_core_synch_ansi_l1_1_0
1037 enable_api_ms_win_core_synch_l1_1_0
1038 enable_api_ms_win_core_synch_l1_2_0
1039 enable_api_ms_win_core_synch_l1_2_1
1040 enable_api_ms_win_core_sysinfo_l1_1_0
1041 enable_api_ms_win_core_sysinfo_l1_2_0
1042 enable_api_ms_win_core_sysinfo_l1_2_1
1043 enable_api_ms_win_core_systemtopology_l1_1_0
1044 enable_api_ms_win_core_threadpool_l1_1_0
1045 enable_api_ms_win_core_threadpool_l1_2_0
1046 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1047 enable_api_ms_win_core_threadpool_private_l1_1_0
1048 enable_api_ms_win_core_timezone_l1_1_0
1049 enable_api_ms_win_core_toolhelp_l1_1_0
1050 enable_api_ms_win_core_url_l1_1_0
1051 enable_api_ms_win_core_util_l1_1_0
1052 enable_api_ms_win_core_version_l1_1_0
1053 enable_api_ms_win_core_version_l1_1_1
1054 enable_api_ms_win_core_version_private_l1_1_0
1055 enable_api_ms_win_core_versionansi_l1_1_0
1056 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1057 enable_api_ms_win_core_winrt_error_l1_1_0
1058 enable_api_ms_win_core_winrt_error_l1_1_1
1059 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1060 enable_api_ms_win_core_winrt_l1_1_0
1061 enable_api_ms_win_core_winrt_registration_l1_1_0
1062 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1063 enable_api_ms_win_core_winrt_string_l1_1_0
1064 enable_api_ms_win_core_winrt_string_l1_1_1
1065 enable_api_ms_win_core_wow64_l1_1_0
1066 enable_api_ms_win_core_wow64_l1_1_1
1067 enable_api_ms_win_core_xstate_l1_1_0
1068 enable_api_ms_win_core_xstate_l2_1_0
1069 enable_api_ms_win_crt_conio_l1_1_0
1070 enable_api_ms_win_crt_convert_l1_1_0
1071 enable_api_ms_win_crt_environment_l1_1_0
1072 enable_api_ms_win_crt_filesystem_l1_1_0
1073 enable_api_ms_win_crt_heap_l1_1_0
1074 enable_api_ms_win_crt_locale_l1_1_0
1075 enable_api_ms_win_crt_math_l1_1_0
1076 enable_api_ms_win_crt_multibyte_l1_1_0
1077 enable_api_ms_win_crt_private_l1_1_0
1078 enable_api_ms_win_crt_process_l1_1_0
1079 enable_api_ms_win_crt_runtime_l1_1_0
1080 enable_api_ms_win_crt_stdio_l1_1_0
1081 enable_api_ms_win_crt_string_l1_1_0
1082 enable_api_ms_win_crt_time_l1_1_0
1083 enable_api_ms_win_crt_utility_l1_1_0
1084 enable_api_ms_win_devices_config_l1_1_0
1085 enable_api_ms_win_devices_config_l1_1_1
1086 enable_api_ms_win_devices_query_l1_1_1
1087 enable_api_ms_win_downlevel_advapi32_l1_1_0
1088 enable_api_ms_win_downlevel_advapi32_l2_1_0
1089 enable_api_ms_win_downlevel_kernel32_l2_1_0
1090 enable_api_ms_win_downlevel_normaliz_l1_1_0
1091 enable_api_ms_win_downlevel_ole32_l1_1_0
1092 enable_api_ms_win_downlevel_shell32_l1_1_0
1093 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1094 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1095 enable_api_ms_win_downlevel_user32_l1_1_0
1096 enable_api_ms_win_downlevel_version_l1_1_0
1097 enable_api_ms_win_dx_d3dkmt_l1_1_0
1098 enable_api_ms_win_eventing_classicprovider_l1_1_0
1099 enable_api_ms_win_eventing_consumer_l1_1_0
1100 enable_api_ms_win_eventing_controller_l1_1_0
1101 enable_api_ms_win_eventing_legacy_l1_1_0
1102 enable_api_ms_win_eventing_provider_l1_1_0
1103 enable_api_ms_win_eventlog_legacy_l1_1_0
1104 enable_api_ms_win_gaming_tcui_l1_1_0
1105 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1106 enable_api_ms_win_mm_joystick_l1_1_0
1107 enable_api_ms_win_mm_misc_l1_1_1
1108 enable_api_ms_win_mm_mme_l1_1_0
1109 enable_api_ms_win_mm_time_l1_1_0
1110 enable_api_ms_win_ntuser_dc_access_l1_1_0
1111 enable_api_ms_win_ntuser_rectangle_l1_1_0
1112 enable_api_ms_win_ntuser_sysparams_l1_1_0
1113 enable_api_ms_win_perf_legacy_l1_1_0
1114 enable_api_ms_win_power_base_l1_1_0
1115 enable_api_ms_win_power_setting_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1119 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1122 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1123 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1124 enable_api_ms_win_security_audit_l1_1_1
1125 enable_api_ms_win_security_base_l1_1_0
1126 enable_api_ms_win_security_base_l1_2_0
1127 enable_api_ms_win_security_base_private_l1_1_1
1128 enable_api_ms_win_security_credentials_l1_1_0
1129 enable_api_ms_win_security_cryptoapi_l1_1_0
1130 enable_api_ms_win_security_grouppolicy_l1_1_0
1131 enable_api_ms_win_security_lsalookup_l1_1_0
1132 enable_api_ms_win_security_lsalookup_l1_1_1
1133 enable_api_ms_win_security_lsalookup_l2_1_0
1134 enable_api_ms_win_security_lsalookup_l2_1_1
1135 enable_api_ms_win_security_lsapolicy_l1_1_0
1136 enable_api_ms_win_security_provider_l1_1_0
1137 enable_api_ms_win_security_sddl_l1_1_0
1138 enable_api_ms_win_security_systemfunctions_l1_1_0
1139 enable_api_ms_win_service_core_l1_1_0
1140 enable_api_ms_win_service_core_l1_1_1
1141 enable_api_ms_win_service_management_l1_1_0
1142 enable_api_ms_win_service_management_l2_1_0
1143 enable_api_ms_win_service_private_l1_1_1
1144 enable_api_ms_win_service_winsvc_l1_1_0
1145 enable_api_ms_win_service_winsvc_l1_2_0
1146 enable_api_ms_win_shcore_obsolete_l1_1_0
1147 enable_api_ms_win_shcore_scaling_l1_1_0
1148 enable_api_ms_win_shcore_scaling_l1_1_1
1149 enable_api_ms_win_shcore_stream_l1_1_0
1150 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1151 enable_api_ms_win_shcore_thread_l1_1_0
1152 enable_api_ms_win_shell_shellcom_l1_1_0
1153 enable_api_ms_win_shell_shellfolders_l1_1_0
1154 enable_apphelp
1155 enable_appwiz_cpl
1156 enable_atl
1157 enable_atl100
1158 enable_atl110
1159 enable_atl80
1160 enable_atl90
1161 enable_atlthunk
1162 enable_atmlib
1163 enable_authz
1164 enable_avicap32
1165 enable_avifil32
1166 enable_avrt
1167 enable_bcrypt
1168 enable_bluetoothapis
1169 enable_browseui
1170 enable_bthprops_cpl
1171 enable_cabinet
1172 enable_capi2032
1173 enable_cards
1174 enable_cdosys
1175 enable_cfgmgr32
1176 enable_clusapi
1177 enable_combase
1178 enable_comcat
1179 enable_comctl32
1180 enable_comdlg32
1181 enable_compstui
1182 enable_comsvcs
1183 enable_concrt140
1184 enable_connect
1185 enable_credui
1186 enable_crtdll
1187 enable_crypt32
1188 enable_cryptdlg
1189 enable_cryptdll
1190 enable_cryptext
1191 enable_cryptnet
1192 enable_cryptsp
1193 enable_cryptui
1194 enable_ctapi32
1195 enable_ctl3d32
1196 enable_d2d1
1197 enable_d3d10
1198 enable_d3d10_1
1199 enable_d3d10core
1200 enable_d3d11
1201 enable_d3d12
1202 enable_d3d8
1203 enable_d3d8thk
1204 enable_d3d9
1205 enable_d3dcompiler_33
1206 enable_d3dcompiler_34
1207 enable_d3dcompiler_35
1208 enable_d3dcompiler_36
1209 enable_d3dcompiler_37
1210 enable_d3dcompiler_38
1211 enable_d3dcompiler_39
1212 enable_d3dcompiler_40
1213 enable_d3dcompiler_41
1214 enable_d3dcompiler_42
1215 enable_d3dcompiler_43
1216 enable_d3dcompiler_46
1217 enable_d3dcompiler_47
1218 enable_d3dim
1219 enable_d3dim700
1220 enable_d3drm
1221 enable_d3dx10_33
1222 enable_d3dx10_34
1223 enable_d3dx10_35
1224 enable_d3dx10_36
1225 enable_d3dx10_37
1226 enable_d3dx10_38
1227 enable_d3dx10_39
1228 enable_d3dx10_40
1229 enable_d3dx10_41
1230 enable_d3dx10_42
1231 enable_d3dx10_43
1232 enable_d3dx11_42
1233 enable_d3dx11_43
1234 enable_d3dx9_24
1235 enable_d3dx9_25
1236 enable_d3dx9_26
1237 enable_d3dx9_27
1238 enable_d3dx9_28
1239 enable_d3dx9_29
1240 enable_d3dx9_30
1241 enable_d3dx9_31
1242 enable_d3dx9_32
1243 enable_d3dx9_33
1244 enable_d3dx9_34
1245 enable_d3dx9_35
1246 enable_d3dx9_36
1247 enable_d3dx9_37
1248 enable_d3dx9_38
1249 enable_d3dx9_39
1250 enable_d3dx9_40
1251 enable_d3dx9_41
1252 enable_d3dx9_42
1253 enable_d3dx9_43
1254 enable_d3dxof
1255 enable_davclnt
1256 enable_dbgeng
1257 enable_dbghelp
1258 enable_dciman32
1259 enable_dcomp
1260 enable_ddraw
1261 enable_ddrawex
1262 enable_devenum
1263 enable_dhcpcsvc
1264 enable_dhtmled_ocx
1265 enable_difxapi
1266 enable_dinput
1267 enable_dinput8
1268 enable_directmanipulation
1269 enable_dispex
1270 enable_dmband
1271 enable_dmcompos
1272 enable_dmime
1273 enable_dmloader
1274 enable_dmoguids
1275 enable_dmscript
1276 enable_dmstyle
1277 enable_dmsynth
1278 enable_dmusic
1279 enable_dmusic32
1280 enable_dnsapi
1281 enable_dplay
1282 enable_dplayx
1283 enable_dpnaddr
1284 enable_dpnet
1285 enable_dpnhpast
1286 enable_dpnhupnp
1287 enable_dpnlobby
1288 enable_dpvoice
1289 enable_dpwsockx
1290 enable_drmclien
1291 enable_dsdmo
1292 enable_dsound
1293 enable_dsquery
1294 enable_dssenh
1295 enable_dsuiext
1296 enable_dswave
1297 enable_dwmapi
1298 enable_dwrite
1299 enable_dx8vb
1300 enable_dxdiagn
1301 enable_dxerr8
1302 enable_dxerr9
1303 enable_dxgi
1304 enable_dxguid
1305 enable_dxva2
1306 enable_esent
1307 enable_evr
1308 enable_explorerframe
1309 enable_ext_ms_win_authz_context_l1_1_0
1310 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1311 enable_ext_ms_win_dwmapi_ext_l1_1_0
1312 enable_ext_ms_win_gdi_dc_create_l1_1_0
1313 enable_ext_ms_win_gdi_dc_create_l1_1_1
1314 enable_ext_ms_win_gdi_dc_l1_2_0
1315 enable_ext_ms_win_gdi_devcaps_l1_1_0
1316 enable_ext_ms_win_gdi_draw_l1_1_0
1317 enable_ext_ms_win_gdi_draw_l1_1_1
1318 enable_ext_ms_win_gdi_font_l1_1_0
1319 enable_ext_ms_win_gdi_font_l1_1_1
1320 enable_ext_ms_win_gdi_render_l1_1_0
1321 enable_ext_ms_win_kernel32_package_current_l1_1_0
1322 enable_ext_ms_win_kernel32_package_l1_1_1
1323 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1324 enable_ext_ms_win_ntuser_draw_l1_1_0
1325 enable_ext_ms_win_ntuser_gui_l1_1_0
1326 enable_ext_ms_win_ntuser_gui_l1_3_0
1327 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1328 enable_ext_ms_win_ntuser_message_l1_1_0
1329 enable_ext_ms_win_ntuser_message_l1_1_1
1330 enable_ext_ms_win_ntuser_misc_l1_1_0
1331 enable_ext_ms_win_ntuser_misc_l1_2_0
1332 enable_ext_ms_win_ntuser_misc_l1_5_1
1333 enable_ext_ms_win_ntuser_mouse_l1_1_0
1334 enable_ext_ms_win_ntuser_private_l1_1_1
1335 enable_ext_ms_win_ntuser_private_l1_3_1
1336 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1337 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1338 enable_ext_ms_win_ntuser_window_l1_1_0
1339 enable_ext_ms_win_ntuser_window_l1_1_1
1340 enable_ext_ms_win_ntuser_window_l1_1_4
1341 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1342 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1343 enable_ext_ms_win_oleacc_l1_1_0
1344 enable_ext_ms_win_ras_rasapi32_l1_1_0
1345 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1346 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1347 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1351 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1352 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1354 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1355 enable_ext_ms_win_security_credui_l1_1_0
1356 enable_ext_ms_win_security_cryptui_l1_1_0
1357 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1358 enable_ext_ms_win_shell_comdlg32_l1_1_0
1359 enable_ext_ms_win_shell_shell32_l1_2_0
1360 enable_ext_ms_win_uxtheme_themes_l1_1_0
1361 enable_faultrep
1362 enable_feclient
1363 enable_fltlib
1364 enable_fltmgr_sys
1365 enable_fntcache
1366 enable_fontsub
1367 enable_fusion
1368 enable_fwpuclnt
1369 enable_gameux
1370 enable_gamingtcui
1371 enable_gdi32
1372 enable_gdiplus
1373 enable_glu32
1374 enable_gphoto2_ds
1375 enable_gpkcsp
1376 enable_hal
1377 enable_hhctrl_ocx
1378 enable_hid
1379 enable_hidclass_sys
1380 enable_hlink
1381 enable_hnetcfg
1382 enable_http_sys
1383 enable_httpapi
1384 enable_iccvid
1385 enable_icmp
1386 enable_ieframe
1387 enable_ieproxy
1388 enable_imaadp32_acm
1389 enable_imagehlp
1390 enable_imm32
1391 enable_inetcomm
1392 enable_inetcpl_cpl
1393 enable_inetmib1
1394 enable_infosoft
1395 enable_initpki
1396 enable_inkobj
1397 enable_inseng
1398 enable_iphlpapi
1399 enable_iprop
1400 enable_irprops_cpl
1401 enable_itircl
1402 enable_itss
1403 enable_joy_cpl
1404 enable_jscript
1405 enable_jsproxy
1406 enable_kerberos
1407 enable_kernel32
1408 enable_kernelbase
1409 enable_ksecdd_sys
1410 enable_ksproxy_ax
1411 enable_ksuser
1412 enable_ktmw32
1413 enable_l3codeca_acm
1414 enable_light_msstyles
1415 enable_loadperf
1416 enable_localspl
1417 enable_localui
1418 enable_lz32
1419 enable_mapi32
1420 enable_mapistub
1421 enable_mciavi32
1422 enable_mcicda
1423 enable_mciqtz32
1424 enable_mciseq
1425 enable_mciwave
1426 enable_mf
1427 enable_mf3216
1428 enable_mferror
1429 enable_mfmediaengine
1430 enable_mfplat
1431 enable_mfplay
1432 enable_mfreadwrite
1433 enable_mfuuid
1434 enable_mgmtapi
1435 enable_midimap
1436 enable_mlang
1437 enable_mmcndmgr
1438 enable_mmdevapi
1439 enable_mountmgr_sys
1440 enable_mp3dmod
1441 enable_mpr
1442 enable_mprapi
1443 enable_msacm32_drv
1444 enable_msacm32
1445 enable_msado15
1446 enable_msadp32_acm
1447 enable_msasn1
1448 enable_mscat32
1449 enable_mscms
1450 enable_mscoree
1451 enable_mscorwks
1452 enable_msctf
1453 enable_msctfp
1454 enable_msdaps
1455 enable_msdelta
1456 enable_msdmo
1457 enable_msdrm
1458 enable_msftedit
1459 enable_msg711_acm
1460 enable_msgsm32_acm
1461 enable_mshtml_tlb
1462 enable_mshtml
1463 enable_msi
1464 enable_msident
1465 enable_msimg32
1466 enable_msimsg
1467 enable_msimtf
1468 enable_msisip
1469 enable_msisys_ocx
1470 enable_msls31
1471 enable_msnet32
1472 enable_mspatcha
1473 enable_msports
1474 enable_msrle32
1475 enable_msscript_ocx
1476 enable_mssign32
1477 enable_mssip32
1478 enable_mstask
1479 enable_msv1_0
1480 enable_msvcirt
1481 enable_msvcm80
1482 enable_msvcm90
1483 enable_msvcp100
1484 enable_msvcp110
1485 enable_msvcp120
1486 enable_msvcp120_app
1487 enable_msvcp140
1488 enable_msvcp140_1
1489 enable_msvcp60
1490 enable_msvcp70
1491 enable_msvcp71
1492 enable_msvcp80
1493 enable_msvcp90
1494 enable_msvcr100
1495 enable_msvcr110
1496 enable_msvcr120
1497 enable_msvcr120_app
1498 enable_msvcr70
1499 enable_msvcr71
1500 enable_msvcr80
1501 enable_msvcr90
1502 enable_msvcrt
1503 enable_msvcrt20
1504 enable_msvcrt40
1505 enable_msvcrtd
1506 enable_msvfw32
1507 enable_msvidc32
1508 enable_mswsock
1509 enable_msxml
1510 enable_msxml2
1511 enable_msxml3
1512 enable_msxml4
1513 enable_msxml6
1514 enable_mtxdm
1515 enable_ncrypt
1516 enable_nddeapi
1517 enable_ndis_sys
1518 enable_netapi32
1519 enable_netcfgx
1520 enable_netio_sys
1521 enable_netprofm
1522 enable_netutils
1523 enable_newdev
1524 enable_ninput
1525 enable_normaliz
1526 enable_npmshtml
1527 enable_npptools
1528 enable_nsi
1529 enable_nsiproxy_sys
1530 enable_ntdll
1531 enable_ntdsapi
1532 enable_ntoskrnl_exe
1533 enable_ntprint
1534 enable_objsel
1535 enable_odbc32
1536 enable_odbcbcp
1537 enable_odbccp32
1538 enable_odbccu32
1539 enable_ole32
1540 enable_oleacc
1541 enable_oleaut32
1542 enable_olecli32
1543 enable_oledb32
1544 enable_oledlg
1545 enable_olepro32
1546 enable_olesvr32
1547 enable_olethk32
1548 enable_opcservices
1549 enable_openal32
1550 enable_opencl
1551 enable_opengl32
1552 enable_packager
1553 enable_pdh
1554 enable_photometadatahandler
1555 enable_pidgen
1556 enable_powrprof
1557 enable_printui
1558 enable_prntvpt
1559 enable_propsys
1560 enable_psapi
1561 enable_pstorec
1562 enable_pwrshplugin
1563 enable_qasf
1564 enable_qcap
1565 enable_qdvd
1566 enable_qedit
1567 enable_qmgr
1568 enable_qmgrprxy
1569 enable_quartz
1570 enable_query
1571 enable_qwave
1572 enable_rasapi32
1573 enable_rasdlg
1574 enable_regapi
1575 enable_resutils
1576 enable_riched20
1577 enable_riched32
1578 enable_rpcrt4
1579 enable_rsabase
1580 enable_rsaenh
1581 enable_rstrtmgr
1582 enable_rtutils
1583 enable_rtworkq
1584 enable_samlib
1585 enable_sane_ds
1586 enable_sapi
1587 enable_sas
1588 enable_scarddlg
1589 enable_sccbase
1590 enable_schannel
1591 enable_schedsvc
1592 enable_scrobj
1593 enable_scrrun
1594 enable_scsiport_sys
1595 enable_sechost
1596 enable_secur32
1597 enable_security
1598 enable_sensapi
1599 enable_serialui
1600 enable_setupapi
1601 enable_sfc
1602 enable_sfc_os
1603 enable_shcore
1604 enable_shdoclc
1605 enable_shdocvw
1606 enable_shell32
1607 enable_shfolder
1608 enable_shlwapi
1609 enable_slbcsp
1610 enable_slc
1611 enable_snmpapi
1612 enable_softpub
1613 enable_spoolss
1614 enable_sppc
1615 enable_srclient
1616 enable_srvcli
1617 enable_sspicli
1618 enable_stdole2_tlb
1619 enable_stdole32_tlb
1620 enable_sti
1621 enable_strmbase
1622 enable_strmdll
1623 enable_strmiids
1624 enable_svrapi
1625 enable_sxs
1626 enable_t2embed
1627 enable_tapi32
1628 enable_taskschd
1629 enable_tbs
1630 enable_tdh
1631 enable_tdi_sys
1632 enable_traffic
1633 enable_twain_32
1634 enable_tzres
1635 enable_ucrtbase
1636 enable_uianimation
1637 enable_uiautomationcore
1638 enable_uiribbon
1639 enable_unicows
1640 enable_updspapi
1641 enable_url
1642 enable_urlmon
1643 enable_usbd_sys
1644 enable_user32
1645 enable_userenv
1646 enable_usp10
1647 enable_utildll
1648 enable_uuid
1649 enable_uxtheme
1650 enable_vbscript
1651 enable_vcomp
1652 enable_vcomp100
1653 enable_vcomp110
1654 enable_vcomp120
1655 enable_vcomp140
1656 enable_vcomp90
1657 enable_vcruntime140
1658 enable_vcruntime140_1
1659 enable_vdmdbg
1660 enable_version
1661 enable_vga
1662 enable_virtdisk
1663 enable_vssapi
1664 enable_vulkan_1
1665 enable_wbemdisp
1666 enable_wbemprox
1667 enable_wbemuuid
1668 enable_wdscore
1669 enable_webservices
1670 enable_websocket
1671 enable_wer
1672 enable_wevtapi
1673 enable_wevtsvc
1674 enable_wiaservc
1675 enable_wimgapi
1676 enable_win32u
1677 enable_windows_gaming_input
1678 enable_windows_globalization
1679 enable_windows_media_devices
1680 enable_windows_media_speech
1681 enable_windowscodecs
1682 enable_windowscodecsext
1683 enable_winealsa_drv
1684 enable_wineandroid_drv
1685 enable_winebus_sys
1686 enable_winecoreaudio_drv
1687 enable_winecrt0
1688 enable_wined3d
1689 enable_winegstreamer
1690 enable_winehid_sys
1691 enable_winejoystick_drv
1692 enable_winemac_drv
1693 enable_winemapi
1694 enable_wineoss_drv
1695 enable_wineps_drv
1696 enable_winepulse_drv
1697 enable_wineqtdecoder
1698 enable_wineusb_sys
1699 enable_winevulkan
1700 enable_winex11_drv
1701 enable_wing32
1702 enable_winhttp
1703 enable_wininet
1704 enable_winmm
1705 enable_winnls32
1706 enable_winscard
1707 enable_winspool_drv
1708 enable_winsta
1709 enable_wintab32
1710 enable_wintrust
1711 enable_winusb
1712 enable_wlanapi
1713 enable_wlanui
1714 enable_wldap32
1715 enable_wmasf
1716 enable_wmcodecdspuuid
1717 enable_wmi
1718 enable_wmiutils
1719 enable_wmp
1720 enable_wmphoto
1721 enable_wmvcore
1722 enable_wnaspi32
1723 enable_wow64cpu
1724 enable_wpc
1725 enable_wpcap
1726 enable_ws2_32
1727 enable_wsdapi
1728 enable_wshom_ocx
1729 enable_wsnmp32
1730 enable_wsock32
1731 enable_wtsapi32
1732 enable_wuapi
1733 enable_wuaueng
1734 enable_x3daudio1_0
1735 enable_x3daudio1_1
1736 enable_x3daudio1_2
1737 enable_x3daudio1_3
1738 enable_x3daudio1_4
1739 enable_x3daudio1_5
1740 enable_x3daudio1_6
1741 enable_x3daudio1_7
1742 enable_xactengine2_0
1743 enable_xactengine2_4
1744 enable_xactengine2_7
1745 enable_xactengine2_9
1746 enable_xactengine3_0
1747 enable_xactengine3_1
1748 enable_xactengine3_2
1749 enable_xactengine3_3
1750 enable_xactengine3_4
1751 enable_xactengine3_5
1752 enable_xactengine3_6
1753 enable_xactengine3_7
1754 enable_xapofx1_1
1755 enable_xapofx1_2
1756 enable_xapofx1_3
1757 enable_xapofx1_4
1758 enable_xapofx1_5
1759 enable_xaudio2_0
1760 enable_xaudio2_1
1761 enable_xaudio2_2
1762 enable_xaudio2_3
1763 enable_xaudio2_4
1764 enable_xaudio2_5
1765 enable_xaudio2_6
1766 enable_xaudio2_7
1767 enable_xaudio2_8
1768 enable_xaudio2_9
1769 enable_xinput1_1
1770 enable_xinput1_2
1771 enable_xinput1_3
1772 enable_xinput1_4
1773 enable_xinput9_1_0
1774 enable_xmllite
1775 enable_xolehlp
1776 enable_xpsprint
1777 enable_xpssvcs
1778 enable_fonts
1779 enable_include
1780 enable_port
1781 enable_wine
1782 enable_wpp
1783 enable_loader
1784 enable_nls
1785 enable_po
1786 enable_arp
1787 enable_aspnet_regiis
1788 enable_attrib
1789 enable_cabarc
1790 enable_cacls
1791 enable_chcp_com
1792 enable_clock
1793 enable_cmd
1794 enable_conhost
1795 enable_control
1796 enable_cscript
1797 enable_dism
1798 enable_dplaysvr
1799 enable_dpnsvr
1800 enable_dpvsetup
1801 enable_dxdiag
1802 enable_eject
1803 enable_expand
1804 enable_explorer
1805 enable_extrac32
1806 enable_fc
1807 enable_find
1808 enable_findstr
1809 enable_fsutil
1810 enable_hh
1811 enable_hostname
1812 enable_icacls
1813 enable_icinfo
1814 enable_iexplore
1815 enable_ipconfig
1816 enable_lodctr
1817 enable_mofcomp
1818 enable_mshta
1819 enable_msidb
1820 enable_msiexec
1821 enable_msinfo32
1822 enable_net
1823 enable_netsh
1824 enable_netstat
1825 enable_ngen
1826 enable_notepad
1827 enable_oleview
1828 enable_ping
1829 enable_plugplay
1830 enable_powershell
1831 enable_presentationfontcache
1832 enable_progman
1833 enable_reg
1834 enable_regasm
1835 enable_regedit
1836 enable_regini
1837 enable_regsvcs
1838 enable_regsvr32
1839 enable_rpcss
1840 enable_rundll32
1841 enable_sc
1842 enable_schtasks
1843 enable_sdbinst
1844 enable_secedit
1845 enable_servicemodelreg
1846 enable_services
1847 enable_shutdown
1848 enable_spoolsv
1849 enable_start
1850 enable_subst
1851 enable_svchost
1852 enable_systeminfo
1853 enable_taskkill
1854 enable_tasklist
1855 enable_taskmgr
1856 enable_termsv
1857 enable_uninstaller
1858 enable_unlodctr
1859 enable_view
1860 enable_wevtutil
1861 enable_where
1862 enable_whoami
1863 enable_wineboot
1864 enable_winebrowser
1865 enable_winecfg
1866 enable_wineconsole
1867 enable_winedbg
1868 enable_winedevice
1869 enable_winefile
1870 enable_winemenubuilder
1871 enable_winemine
1872 enable_winemsibuilder
1873 enable_winepath
1874 enable_winetest
1875 enable_winhlp32
1876 enable_winmgmt
1877 enable_winver
1878 enable_wmic
1879 enable_wmplayer
1880 enable_wordpad
1881 enable_write
1882 enable_wscript
1883 enable_wuauserv
1884 enable_wusa
1885 enable_xcopy
1886 enable_server
1887 enable_tools
1888 enable_sfnt2fon
1889 enable_widl
1890 enable_winebuild
1891 enable_winedump
1892 enable_winegcc
1893 enable_winemaker
1894 enable_wmc
1895 enable_wrc
1897 ac_precious_vars='build_alias
1898 host_alias
1899 target_alias
1901 CFLAGS
1902 LDFLAGS
1903 LIBS
1904 CPPFLAGS
1906 CXXFLAGS
1909 OBJC
1910 OBJCFLAGS
1911 OBJCPP
1912 XMKMF
1913 XML2_CFLAGS
1914 XML2_LIBS
1915 XSLT_CFLAGS
1916 XSLT_LIBS
1917 INOTIFY_CFLAGS
1918 INOTIFY_LIBS
1919 DBUS_CFLAGS
1920 DBUS_LIBS
1921 HAL_CFLAGS
1922 HAL_LIBS
1923 GNUTLS_CFLAGS
1924 GNUTLS_LIBS
1925 SANE_CFLAGS
1926 SANE_LIBS
1927 USB_CFLAGS
1928 USB_LIBS
1929 GPHOTO2_CFLAGS
1930 GPHOTO2_LIBS
1931 GPHOTO2_PORT_CFLAGS
1932 GPHOTO2_PORT_LIBS
1933 LCMS2_CFLAGS
1934 LCMS2_LIBS
1935 FREETYPE_CFLAGS
1936 FREETYPE_LIBS
1937 PULSE_CFLAGS
1938 PULSE_LIBS
1939 GSTREAMER_CFLAGS
1940 GSTREAMER_LIBS
1941 UDEV_CFLAGS
1942 UDEV_LIBS
1943 UNWIND_CFLAGS
1944 UNWIND_LIBS
1945 SDL2_CFLAGS
1946 SDL2_LIBS
1947 FAUDIO_CFLAGS
1948 FAUDIO_LIBS
1949 CAPI20_CFLAGS
1950 CAPI20_LIBS
1951 CUPS_CFLAGS
1952 CUPS_LIBS
1953 FONTCONFIG_CFLAGS
1954 FONTCONFIG_LIBS
1955 KRB5_CFLAGS
1956 KRB5_LIBS
1957 GSSAPI_CFLAGS
1958 GSSAPI_LIBS
1959 JPEG_CFLAGS
1960 JPEG_LIBS
1961 JXRLIB_CFLAGS
1962 JXRLIB_LIBS
1963 PNG_CFLAGS
1964 PNG_LIBS
1965 TIFF_CFLAGS
1966 TIFF_LIBS
1967 MPG123_CFLAGS
1968 MPG123_LIBS
1969 NETAPI_CFLAGS
1970 NETAPI_LIBS
1971 VKD3D_CFLAGS
1972 VKD3D_LIBS
1973 VKD3D_SHADER_CFLAGS
1974 VKD3D_SHADER_LIBS
1975 LDAP_CFLAGS
1976 LDAP_LIBS'
1979 # Initialize some variables set by options.
1980 ac_init_help=
1981 ac_init_version=false
1982 ac_unrecognized_opts=
1983 ac_unrecognized_sep=
1984 # The variables have the same names as the options, with
1985 # dashes changed to underlines.
1986 cache_file=/dev/null
1987 exec_prefix=NONE
1988 no_create=
1989 no_recursion=
1990 prefix=NONE
1991 program_prefix=NONE
1992 program_suffix=NONE
1993 program_transform_name=s,x,x,
1994 silent=
1995 site=
1996 srcdir=
1997 verbose=
1998 x_includes=NONE
1999 x_libraries=NONE
2001 # Installation directory options.
2002 # These are left unexpanded so users can "make install exec_prefix=/foo"
2003 # and all the variables that are supposed to be based on exec_prefix
2004 # by default will actually change.
2005 # Use braces instead of parens because sh, perl, etc. also accept them.
2006 # (The list follows the same order as the GNU Coding Standards.)
2007 bindir='${exec_prefix}/bin'
2008 sbindir='${exec_prefix}/sbin'
2009 libexecdir='${exec_prefix}/libexec'
2010 datarootdir='${prefix}/share'
2011 datadir='${datarootdir}'
2012 sysconfdir='${prefix}/etc'
2013 sharedstatedir='${prefix}/com'
2014 localstatedir='${prefix}/var'
2015 runstatedir='${localstatedir}/run'
2016 includedir='${prefix}/include'
2017 oldincludedir='/usr/include'
2018 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2019 infodir='${datarootdir}/info'
2020 htmldir='${docdir}'
2021 dvidir='${docdir}'
2022 pdfdir='${docdir}'
2023 psdir='${docdir}'
2024 libdir='${exec_prefix}/lib'
2025 localedir='${datarootdir}/locale'
2026 mandir='${datarootdir}/man'
2028 ac_prev=
2029 ac_dashdash=
2030 for ac_option
2032 # If the previous option needs an argument, assign it.
2033 if test -n "$ac_prev"; then
2034 eval $ac_prev=\$ac_option
2035 ac_prev=
2036 continue
2039 case $ac_option in
2040 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2041 *=) ac_optarg= ;;
2042 *) ac_optarg=yes ;;
2043 esac
2045 # Accept the important Cygnus configure options, so we can diagnose typos.
2047 case $ac_dashdash$ac_option in
2049 ac_dashdash=yes ;;
2051 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2052 ac_prev=bindir ;;
2053 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2054 bindir=$ac_optarg ;;
2056 -build | --build | --buil | --bui | --bu)
2057 ac_prev=build_alias ;;
2058 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2059 build_alias=$ac_optarg ;;
2061 -cache-file | --cache-file | --cache-fil | --cache-fi \
2062 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2063 ac_prev=cache_file ;;
2064 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2065 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2066 cache_file=$ac_optarg ;;
2068 --config-cache | -C)
2069 cache_file=config.cache ;;
2071 -datadir | --datadir | --datadi | --datad)
2072 ac_prev=datadir ;;
2073 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2074 datadir=$ac_optarg ;;
2076 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2077 | --dataroo | --dataro | --datar)
2078 ac_prev=datarootdir ;;
2079 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2080 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2081 datarootdir=$ac_optarg ;;
2083 -disable-* | --disable-*)
2084 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2085 # Reject names that are not valid shell variable names.
2086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2087 as_fn_error $? "invalid feature name: $ac_useropt"
2088 ac_useropt_orig=$ac_useropt
2089 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2090 case $ac_user_opts in
2092 "enable_$ac_useropt"
2093 "*) ;;
2094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2095 ac_unrecognized_sep=', ';;
2096 esac
2097 eval enable_$ac_useropt=no ;;
2099 -docdir | --docdir | --docdi | --doc | --do)
2100 ac_prev=docdir ;;
2101 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2102 docdir=$ac_optarg ;;
2104 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2105 ac_prev=dvidir ;;
2106 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2107 dvidir=$ac_optarg ;;
2109 -enable-* | --enable-*)
2110 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2111 # Reject names that are not valid shell variable names.
2112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2113 as_fn_error $? "invalid feature name: $ac_useropt"
2114 ac_useropt_orig=$ac_useropt
2115 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2116 case $ac_user_opts in
2118 "enable_$ac_useropt"
2119 "*) ;;
2120 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2121 ac_unrecognized_sep=', ';;
2122 esac
2123 eval enable_$ac_useropt=\$ac_optarg ;;
2125 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2126 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2127 | --exec | --exe | --ex)
2128 ac_prev=exec_prefix ;;
2129 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2130 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2131 | --exec=* | --exe=* | --ex=*)
2132 exec_prefix=$ac_optarg ;;
2134 -gas | --gas | --ga | --g)
2135 # Obsolete; use --with-gas.
2136 with_gas=yes ;;
2138 -help | --help | --hel | --he | -h)
2139 ac_init_help=long ;;
2140 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2141 ac_init_help=recursive ;;
2142 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2143 ac_init_help=short ;;
2145 -host | --host | --hos | --ho)
2146 ac_prev=host_alias ;;
2147 -host=* | --host=* | --hos=* | --ho=*)
2148 host_alias=$ac_optarg ;;
2150 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2151 ac_prev=htmldir ;;
2152 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2153 | --ht=*)
2154 htmldir=$ac_optarg ;;
2156 -includedir | --includedir | --includedi | --included | --include \
2157 | --includ | --inclu | --incl | --inc)
2158 ac_prev=includedir ;;
2159 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2160 | --includ=* | --inclu=* | --incl=* | --inc=*)
2161 includedir=$ac_optarg ;;
2163 -infodir | --infodir | --infodi | --infod | --info | --inf)
2164 ac_prev=infodir ;;
2165 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2166 infodir=$ac_optarg ;;
2168 -libdir | --libdir | --libdi | --libd)
2169 ac_prev=libdir ;;
2170 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2171 libdir=$ac_optarg ;;
2173 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2174 | --libexe | --libex | --libe)
2175 ac_prev=libexecdir ;;
2176 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2177 | --libexe=* | --libex=* | --libe=*)
2178 libexecdir=$ac_optarg ;;
2180 -localedir | --localedir | --localedi | --localed | --locale)
2181 ac_prev=localedir ;;
2182 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2183 localedir=$ac_optarg ;;
2185 -localstatedir | --localstatedir | --localstatedi | --localstated \
2186 | --localstate | --localstat | --localsta | --localst | --locals)
2187 ac_prev=localstatedir ;;
2188 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2189 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2190 localstatedir=$ac_optarg ;;
2192 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2193 ac_prev=mandir ;;
2194 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2195 mandir=$ac_optarg ;;
2197 -nfp | --nfp | --nf)
2198 # Obsolete; use --without-fp.
2199 with_fp=no ;;
2201 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2202 | --no-cr | --no-c | -n)
2203 no_create=yes ;;
2205 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2206 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2207 no_recursion=yes ;;
2209 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2210 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2211 | --oldin | --oldi | --old | --ol | --o)
2212 ac_prev=oldincludedir ;;
2213 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2214 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2215 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2216 oldincludedir=$ac_optarg ;;
2218 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2219 ac_prev=prefix ;;
2220 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2221 prefix=$ac_optarg ;;
2223 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2224 | --program-pre | --program-pr | --program-p)
2225 ac_prev=program_prefix ;;
2226 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2227 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2228 program_prefix=$ac_optarg ;;
2230 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2231 | --program-suf | --program-su | --program-s)
2232 ac_prev=program_suffix ;;
2233 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2234 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2235 program_suffix=$ac_optarg ;;
2237 -program-transform-name | --program-transform-name \
2238 | --program-transform-nam | --program-transform-na \
2239 | --program-transform-n | --program-transform- \
2240 | --program-transform | --program-transfor \
2241 | --program-transfo | --program-transf \
2242 | --program-trans | --program-tran \
2243 | --progr-tra | --program-tr | --program-t)
2244 ac_prev=program_transform_name ;;
2245 -program-transform-name=* | --program-transform-name=* \
2246 | --program-transform-nam=* | --program-transform-na=* \
2247 | --program-transform-n=* | --program-transform-=* \
2248 | --program-transform=* | --program-transfor=* \
2249 | --program-transfo=* | --program-transf=* \
2250 | --program-trans=* | --program-tran=* \
2251 | --progr-tra=* | --program-tr=* | --program-t=*)
2252 program_transform_name=$ac_optarg ;;
2254 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2255 ac_prev=pdfdir ;;
2256 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2257 pdfdir=$ac_optarg ;;
2259 -psdir | --psdir | --psdi | --psd | --ps)
2260 ac_prev=psdir ;;
2261 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2262 psdir=$ac_optarg ;;
2264 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2265 | -silent | --silent | --silen | --sile | --sil)
2266 silent=yes ;;
2268 -runstatedir | --runstatedir | --runstatedi | --runstated \
2269 | --runstate | --runstat | --runsta | --runst | --runs \
2270 | --run | --ru | --r)
2271 ac_prev=runstatedir ;;
2272 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2273 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2274 | --run=* | --ru=* | --r=*)
2275 runstatedir=$ac_optarg ;;
2277 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2278 ac_prev=sbindir ;;
2279 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2280 | --sbi=* | --sb=*)
2281 sbindir=$ac_optarg ;;
2283 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2284 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2285 | --sharedst | --shareds | --shared | --share | --shar \
2286 | --sha | --sh)
2287 ac_prev=sharedstatedir ;;
2288 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2289 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2290 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2291 | --sha=* | --sh=*)
2292 sharedstatedir=$ac_optarg ;;
2294 -site | --site | --sit)
2295 ac_prev=site ;;
2296 -site=* | --site=* | --sit=*)
2297 site=$ac_optarg ;;
2299 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2300 ac_prev=srcdir ;;
2301 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2302 srcdir=$ac_optarg ;;
2304 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2305 | --syscon | --sysco | --sysc | --sys | --sy)
2306 ac_prev=sysconfdir ;;
2307 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2308 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2309 sysconfdir=$ac_optarg ;;
2311 -target | --target | --targe | --targ | --tar | --ta | --t)
2312 ac_prev=target_alias ;;
2313 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2314 target_alias=$ac_optarg ;;
2316 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2317 verbose=yes ;;
2319 -version | --version | --versio | --versi | --vers | -V)
2320 ac_init_version=: ;;
2322 -with-* | --with-*)
2323 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2324 # Reject names that are not valid shell variable names.
2325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2326 as_fn_error $? "invalid package name: $ac_useropt"
2327 ac_useropt_orig=$ac_useropt
2328 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2329 case $ac_user_opts in
2331 "with_$ac_useropt"
2332 "*) ;;
2333 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2334 ac_unrecognized_sep=', ';;
2335 esac
2336 eval with_$ac_useropt=\$ac_optarg ;;
2338 -without-* | --without-*)
2339 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2340 # Reject names that are not valid shell variable names.
2341 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2342 as_fn_error $? "invalid package name: $ac_useropt"
2343 ac_useropt_orig=$ac_useropt
2344 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2345 case $ac_user_opts in
2347 "with_$ac_useropt"
2348 "*) ;;
2349 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2350 ac_unrecognized_sep=', ';;
2351 esac
2352 eval with_$ac_useropt=no ;;
2354 --x)
2355 # Obsolete; use --with-x.
2356 with_x=yes ;;
2358 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2359 | --x-incl | --x-inc | --x-in | --x-i)
2360 ac_prev=x_includes ;;
2361 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2362 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2363 x_includes=$ac_optarg ;;
2365 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2366 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2367 ac_prev=x_libraries ;;
2368 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2369 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2370 x_libraries=$ac_optarg ;;
2372 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2373 Try \`$0 --help' for more information"
2376 *=*)
2377 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2378 # Reject names that are not valid shell variable names.
2379 case $ac_envvar in #(
2380 '' | [0-9]* | *[!_$as_cr_alnum]* )
2381 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2382 esac
2383 eval $ac_envvar=\$ac_optarg
2384 export $ac_envvar ;;
2387 # FIXME: should be removed in autoconf 3.0.
2388 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2389 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2390 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2391 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2394 esac
2395 done
2397 if test -n "$ac_prev"; then
2398 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2399 as_fn_error $? "missing argument to $ac_option"
2402 if test -n "$ac_unrecognized_opts"; then
2403 case $enable_option_checking in
2404 no) ;;
2405 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2406 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2407 esac
2410 # Check all directory arguments for consistency.
2411 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2412 datadir sysconfdir sharedstatedir localstatedir includedir \
2413 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2414 libdir localedir mandir runstatedir
2416 eval ac_val=\$$ac_var
2417 # Remove trailing slashes.
2418 case $ac_val in
2419 */ )
2420 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2421 eval $ac_var=\$ac_val;;
2422 esac
2423 # Be sure to have absolute directory names.
2424 case $ac_val in
2425 [\\/$]* | ?:[\\/]* ) continue;;
2426 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2427 esac
2428 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2429 done
2431 # There might be people who depend on the old broken behavior: `$host'
2432 # used to hold the argument of --host etc.
2433 # FIXME: To remove some day.
2434 build=$build_alias
2435 host=$host_alias
2436 target=$target_alias
2438 # FIXME: To remove some day.
2439 if test "x$host_alias" != x; then
2440 if test "x$build_alias" = x; then
2441 cross_compiling=maybe
2442 elif test "x$build_alias" != "x$host_alias"; then
2443 cross_compiling=yes
2447 ac_tool_prefix=
2448 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2450 test "$silent" = yes && exec 6>/dev/null
2453 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2454 ac_ls_di=`ls -di .` &&
2455 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2456 as_fn_error $? "working directory cannot be determined"
2457 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2458 as_fn_error $? "pwd does not report name of working directory"
2461 # Find the source files, if location was not specified.
2462 if test -z "$srcdir"; then
2463 ac_srcdir_defaulted=yes
2464 # Try the directory containing this script, then the parent directory.
2465 ac_confdir=`$as_dirname -- "$as_myself" ||
2466 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2467 X"$as_myself" : 'X\(//\)[^/]' \| \
2468 X"$as_myself" : 'X\(//\)$' \| \
2469 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2470 $as_echo X"$as_myself" |
2471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2472 s//\1/
2475 /^X\(\/\/\)[^/].*/{
2476 s//\1/
2479 /^X\(\/\/\)$/{
2480 s//\1/
2483 /^X\(\/\).*/{
2484 s//\1/
2487 s/.*/./; q'`
2488 srcdir=$ac_confdir
2489 if test ! -r "$srcdir/$ac_unique_file"; then
2490 srcdir=..
2492 else
2493 ac_srcdir_defaulted=no
2495 if test ! -r "$srcdir/$ac_unique_file"; then
2496 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2497 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2499 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2500 ac_abs_confdir=`(
2501 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2502 pwd)`
2503 # When building in place, set srcdir=.
2504 if test "$ac_abs_confdir" = "$ac_pwd"; then
2505 srcdir=.
2507 # Remove unnecessary trailing slashes from srcdir.
2508 # Double slashes in file names in object file debugging info
2509 # mess up M-x gdb in Emacs.
2510 case $srcdir in
2511 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2512 esac
2513 for ac_var in $ac_precious_vars; do
2514 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2515 eval ac_env_${ac_var}_value=\$${ac_var}
2516 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2517 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2518 done
2521 # Report the --help message.
2523 if test "$ac_init_help" = "long"; then
2524 # Omit some internal or obsolete options to make the list less imposing.
2525 # This message is too long to be a string in the A/UX 3.1 sh.
2526 cat <<_ACEOF
2527 \`configure' configures Wine 6.11 to adapt to many kinds of systems.
2529 Usage: $0 [OPTION]... [VAR=VALUE]...
2531 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2532 VAR=VALUE. See below for descriptions of some of the useful variables.
2534 Defaults for the options are specified in brackets.
2536 Configuration:
2537 -h, --help display this help and exit
2538 --help=short display options specific to this package
2539 --help=recursive display the short help of all the included packages
2540 -V, --version display version information and exit
2541 -q, --quiet, --silent do not print \`checking ...' messages
2542 --cache-file=FILE cache test results in FILE [disabled]
2543 -C, --config-cache alias for \`--cache-file=config.cache'
2544 -n, --no-create do not create output files
2545 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2547 Installation directories:
2548 --prefix=PREFIX install architecture-independent files in PREFIX
2549 [$ac_default_prefix]
2550 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2551 [PREFIX]
2553 By default, \`make install' will install all the files in
2554 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2555 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2556 for instance \`--prefix=\$HOME'.
2558 For better control, use the options below.
2560 Fine tuning of the installation directories:
2561 --bindir=DIR user executables [EPREFIX/bin]
2562 --sbindir=DIR system admin executables [EPREFIX/sbin]
2563 --libexecdir=DIR program executables [EPREFIX/libexec]
2564 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2565 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2566 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2567 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2568 --libdir=DIR object code libraries [EPREFIX/lib]
2569 --includedir=DIR C header files [PREFIX/include]
2570 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2571 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2572 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2573 --infodir=DIR info documentation [DATAROOTDIR/info]
2574 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2575 --mandir=DIR man documentation [DATAROOTDIR/man]
2576 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2577 --htmldir=DIR html documentation [DOCDIR]
2578 --dvidir=DIR dvi documentation [DOCDIR]
2579 --pdfdir=DIR pdf documentation [DOCDIR]
2580 --psdir=DIR ps documentation [DOCDIR]
2581 _ACEOF
2583 cat <<\_ACEOF
2585 X features:
2586 --x-includes=DIR X include files are in DIR
2587 --x-libraries=DIR X library files are in DIR
2589 System types:
2590 --build=BUILD configure for building on BUILD [guessed]
2591 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2592 _ACEOF
2595 if test -n "$ac_init_help"; then
2596 case $ac_init_help in
2597 short | recursive ) echo "Configuration of Wine 6.11:";;
2598 esac
2599 cat <<\_ACEOF
2601 Optional Features:
2602 --disable-option-checking ignore unrecognized --enable/--with options
2603 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2604 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2605 --disable-win16 do not include Win16 support
2606 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2607 binaries)
2608 --disable-tests do not build the regression tests
2609 --enable-build-id include .buildid section in output objects
2610 --enable-maintainer-mode
2611 enable maintainer-specific build rules
2612 --enable-silent-rules use silent build rules (override: "make V=1")
2613 --enable-werror treat compilation warnings as errors
2614 --disable-largefile omit support for large files
2616 Optional Packages:
2617 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2618 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2619 --without-alsa do not use the Alsa sound support
2620 --without-capi do not use CAPI (ISDN support)
2621 --without-cms do not use CMS (color management support)
2622 --without-coreaudio do not use the CoreAudio sound support
2623 --without-cups do not use CUPS
2624 --without-dbus do not use DBus (dynamic device support)
2625 --without-faudio do not use FAudio (XAudio2 support)
2626 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2627 --without-fontconfig do not use fontconfig
2628 --without-freetype do not use the FreeType library
2629 --without-gettext do not use gettext
2630 --with-gettextpo use the GetTextPO library to rebuild po files
2631 --without-gphoto do not use gphoto (Digital Camera support)
2632 --without-gnutls do not use GnuTLS (schannel support)
2633 --without-gsm do not use libgsm (GSM 06.10 codec support)
2634 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2635 --without-gstreamer do not use GStreamer (codecs support)
2636 --without-hal do not use HAL (dynamic device support)
2637 --without-inotify do not use inotify (filesystem change notifications)
2638 --without-jpeg do not use JPEG
2639 --without-jxrlib do not use JPEG-XR
2640 --without-krb5 do not use krb5 (Kerberos)
2641 --without-ldap do not use LDAP
2642 --without-mingw do not use the MinGW cross-compiler
2643 --without-mpg123 do not use the mpg123 library
2644 --without-netapi do not use the Samba NetAPI library
2645 --without-openal do not use OpenAL
2646 --without-opencl do not use OpenCL
2647 --without-opengl do not use OpenGL
2648 --without-osmesa do not use the OSMesa library
2649 --without-oss do not use the OSS sound support
2650 --without-pcap do not use the Packet Capture library
2651 --without-png do not use PNG
2652 --without-pthread do not use the pthread library
2653 --without-pulse do not use PulseAudio sound support
2654 --without-quicktime do not use QuickTime support
2655 --without-sane do not use SANE (scanner support)
2656 --without-sdl do not use SDL
2657 --without-tiff do not use TIFF
2658 --without-udev do not use udev (plug and play support)
2659 --without-unwind do not use the libunwind library (exception
2660 handling)
2661 --without-usb do not use the libusb library
2662 --without-v4l2 do not use v4l2 (video capture)
2663 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2664 --without-vulkan do not use Vulkan
2665 --without-xcomposite do not use the Xcomposite extension
2666 --without-xcursor do not use the Xcursor extension
2667 --without-xfixes do not use Xfixes for clipboard change notifications
2668 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2669 --without-xinput do not use the Xinput extension
2670 --without-xinput2 do not use the Xinput 2 extension
2671 --without-xml do not use XML
2672 --without-xrandr do not use Xrandr (multi-monitor support)
2673 --without-xrender do not use the Xrender extension
2674 --without-xshape do not use the Xshape extension
2675 --without-xshm do not use XShm (shared memory extension)
2676 --without-xslt do not use XSLT
2677 --without-xxf86vm do not use XFree video mode extension
2678 --with-wine-tools=DIR use Wine tools from directory DIR
2679 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2680 --with-x use the X Window System
2682 Some influential environment variables:
2683 CC C compiler command
2684 CFLAGS C compiler flags
2685 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2686 nonstandard directory <lib dir>
2687 LIBS libraries to pass to the linker, e.g. -l<library>
2688 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2689 you have headers in a nonstandard directory <include dir>
2690 CXX C++ compiler command
2691 CXXFLAGS C++ compiler flags
2692 CPP C preprocessor
2693 OBJC Objective C compiler command
2694 OBJCFLAGS Objective C compiler flags
2695 OBJCPP Objective C preprocessor
2696 XMKMF Path to xmkmf, Makefile generator for X Window System
2697 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2698 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2699 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2700 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2701 INOTIFY_CFLAGS
2702 C compiler flags for libinotify, overriding pkg-config
2703 INOTIFY_LIBS
2704 Linker flags for libinotify, overriding pkg-config
2705 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2706 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2707 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2708 HAL_LIBS Linker flags for hal, overriding pkg-config
2709 GNUTLS_CFLAGS
2710 C compiler flags for gnutls, overriding pkg-config
2711 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2712 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2713 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2714 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2715 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2716 GPHOTO2_CFLAGS
2717 C compiler flags for libgphoto2, overriding pkg-config
2718 GPHOTO2_LIBS
2719 Linker flags for libgphoto2, overriding pkg-config
2720 GPHOTO2_PORT_CFLAGS
2721 C compiler flags for libgphoto2_port, overriding pkg-config
2722 GPHOTO2_PORT_LIBS
2723 Linker flags for libgphoto2_port, overriding pkg-config
2724 LCMS2_CFLAGS
2725 C compiler flags for lcms2, overriding pkg-config
2726 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2727 FREETYPE_CFLAGS
2728 C compiler flags for freetype2, overriding pkg-config
2729 FREETYPE_LIBS
2730 Linker flags for freetype2, overriding pkg-config
2731 PULSE_CFLAGS
2732 C compiler flags for libpulse, overriding pkg-config
2733 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2734 GSTREAMER_CFLAGS
2735 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2736 gstreamer-audio-1.0, overriding pkg-config
2737 GSTREAMER_LIBS
2738 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2739 gstreamer-audio-1.0, overriding pkg-config
2740 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2741 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2742 UNWIND_CFLAGS
2743 C compiler flags for libunwind, overriding pkg-config
2744 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2745 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2746 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2747 FAUDIO_CFLAGS
2748 C compiler flags for FAudio, overriding pkg-config
2749 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2750 CAPI20_CFLAGS
2751 C compiler flags for capi20, overriding pkg-config
2752 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2753 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2754 CUPS_LIBS Linker flags for cups, overriding pkg-config
2755 FONTCONFIG_CFLAGS
2756 C compiler flags for fontconfig, overriding pkg-config
2757 FONTCONFIG_LIBS
2758 Linker flags for fontconfig, overriding pkg-config
2759 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2760 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2761 GSSAPI_CFLAGS
2762 C compiler flags for krb5-gssapi, overriding pkg-config
2763 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2764 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2765 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2766 JXRLIB_CFLAGS
2767 C compiler flags for jxrlib, overriding pkg-config
2768 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2769 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2770 PNG_LIBS Linker flags for libpng, overriding pkg-config
2771 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2772 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2773 MPG123_CFLAGS
2774 C compiler flags for libmpg123, overriding pkg-config
2775 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2776 NETAPI_CFLAGS
2777 C compiler flags for netapi, overriding pkg-config
2778 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2779 VKD3D_CFLAGS
2780 C compiler flags for libvkd3d, overriding pkg-config
2781 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2782 VKD3D_SHADER_CFLAGS
2783 C compiler flags for libvkd3d-shader, overriding pkg-config
2784 VKD3D_SHADER_LIBS
2785 Linker flags for libvkd3d-shader, overriding pkg-config
2786 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2787 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2789 Use these variables to override the choices made by `configure' or to help
2790 it to find libraries and programs with nonstandard names/locations.
2792 Report bugs to <wine-devel@winehq.org>.
2793 Wine home page: <https://www.winehq.org>.
2794 _ACEOF
2795 ac_status=$?
2798 if test "$ac_init_help" = "recursive"; then
2799 # If there are subdirs, report their specific --help.
2800 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2801 test -d "$ac_dir" ||
2802 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2803 continue
2804 ac_builddir=.
2806 case "$ac_dir" in
2807 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2809 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2810 # A ".." for each directory in $ac_dir_suffix.
2811 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2812 case $ac_top_builddir_sub in
2813 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2814 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2815 esac ;;
2816 esac
2817 ac_abs_top_builddir=$ac_pwd
2818 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2819 # for backward compatibility:
2820 ac_top_builddir=$ac_top_build_prefix
2822 case $srcdir in
2823 .) # We are building in place.
2824 ac_srcdir=.
2825 ac_top_srcdir=$ac_top_builddir_sub
2826 ac_abs_top_srcdir=$ac_pwd ;;
2827 [\\/]* | ?:[\\/]* ) # Absolute name.
2828 ac_srcdir=$srcdir$ac_dir_suffix;
2829 ac_top_srcdir=$srcdir
2830 ac_abs_top_srcdir=$srcdir ;;
2831 *) # Relative name.
2832 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2833 ac_top_srcdir=$ac_top_build_prefix$srcdir
2834 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2835 esac
2836 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2838 cd "$ac_dir" || { ac_status=$?; continue; }
2839 # Check for guested configure.
2840 if test -f "$ac_srcdir/configure.gnu"; then
2841 echo &&
2842 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2843 elif test -f "$ac_srcdir/configure"; then
2844 echo &&
2845 $SHELL "$ac_srcdir/configure" --help=recursive
2846 else
2847 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2848 fi || ac_status=$?
2849 cd "$ac_pwd" || { ac_status=$?; break; }
2850 done
2853 test -n "$ac_init_help" && exit $ac_status
2854 if $ac_init_version; then
2855 cat <<\_ACEOF
2856 Wine configure 6.11
2857 generated by GNU Autoconf 2.69
2859 Copyright (C) 2012 Free Software Foundation, Inc.
2860 This configure script is free software; the Free Software Foundation
2861 gives unlimited permission to copy, distribute and modify it.
2862 _ACEOF
2863 exit
2866 ## ------------------------ ##
2867 ## Autoconf initialization. ##
2868 ## ------------------------ ##
2870 # ac_fn_c_try_compile LINENO
2871 # --------------------------
2872 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2873 ac_fn_c_try_compile ()
2875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2876 rm -f conftest.$ac_objext
2877 if { { ac_try="$ac_compile"
2878 case "(($ac_try" in
2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2881 esac
2882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2883 $as_echo "$ac_try_echo"; } >&5
2884 (eval "$ac_compile") 2>conftest.err
2885 ac_status=$?
2886 if test -s conftest.err; then
2887 grep -v '^ *+' conftest.err >conftest.er1
2888 cat conftest.er1 >&5
2889 mv -f conftest.er1 conftest.err
2891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2892 test $ac_status = 0; } && {
2893 test -z "$ac_c_werror_flag" ||
2894 test ! -s conftest.err
2895 } && test -s conftest.$ac_objext; then :
2896 ac_retval=0
2897 else
2898 $as_echo "$as_me: failed program was:" >&5
2899 sed 's/^/| /' conftest.$ac_ext >&5
2901 ac_retval=1
2903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2904 as_fn_set_status $ac_retval
2906 } # ac_fn_c_try_compile
2908 # ac_fn_cxx_try_compile LINENO
2909 # ----------------------------
2910 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2911 ac_fn_cxx_try_compile ()
2913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2914 rm -f conftest.$ac_objext
2915 if { { ac_try="$ac_compile"
2916 case "(($ac_try" in
2917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2919 esac
2920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2921 $as_echo "$ac_try_echo"; } >&5
2922 (eval "$ac_compile") 2>conftest.err
2923 ac_status=$?
2924 if test -s conftest.err; then
2925 grep -v '^ *+' conftest.err >conftest.er1
2926 cat conftest.er1 >&5
2927 mv -f conftest.er1 conftest.err
2929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2930 test $ac_status = 0; } && {
2931 test -z "$ac_cxx_werror_flag" ||
2932 test ! -s conftest.err
2933 } && test -s conftest.$ac_objext; then :
2934 ac_retval=0
2935 else
2936 $as_echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2939 ac_retval=1
2941 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2942 as_fn_set_status $ac_retval
2944 } # ac_fn_cxx_try_compile
2946 # ac_fn_c_try_link LINENO
2947 # -----------------------
2948 # Try to link conftest.$ac_ext, and return whether this succeeded.
2949 ac_fn_c_try_link ()
2951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2952 rm -f conftest.$ac_objext conftest$ac_exeext
2953 if { { ac_try="$ac_link"
2954 case "(($ac_try" in
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2957 esac
2958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2959 $as_echo "$ac_try_echo"; } >&5
2960 (eval "$ac_link") 2>conftest.err
2961 ac_status=$?
2962 if test -s conftest.err; then
2963 grep -v '^ *+' conftest.err >conftest.er1
2964 cat conftest.er1 >&5
2965 mv -f conftest.er1 conftest.err
2967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2968 test $ac_status = 0; } && {
2969 test -z "$ac_c_werror_flag" ||
2970 test ! -s conftest.err
2971 } && test -s conftest$ac_exeext && {
2972 test "$cross_compiling" = yes ||
2973 test -x conftest$ac_exeext
2974 }; then :
2975 ac_retval=0
2976 else
2977 $as_echo "$as_me: failed program was:" >&5
2978 sed 's/^/| /' conftest.$ac_ext >&5
2980 ac_retval=1
2982 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2983 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2984 # interfere with the next link command; also delete a directory that is
2985 # left behind by Apple's compiler. We do this before executing the actions.
2986 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2988 as_fn_set_status $ac_retval
2990 } # ac_fn_c_try_link
2992 # ac_fn_c_try_cpp LINENO
2993 # ----------------------
2994 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2995 ac_fn_c_try_cpp ()
2997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2998 if { { ac_try="$ac_cpp conftest.$ac_ext"
2999 case "(($ac_try" in
3000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001 *) ac_try_echo=$ac_try;;
3002 esac
3003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3004 $as_echo "$ac_try_echo"; } >&5
3005 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3006 ac_status=$?
3007 if test -s conftest.err; then
3008 grep -v '^ *+' conftest.err >conftest.er1
3009 cat conftest.er1 >&5
3010 mv -f conftest.er1 conftest.err
3012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3013 test $ac_status = 0; } > conftest.i && {
3014 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3015 test ! -s conftest.err
3016 }; then :
3017 ac_retval=0
3018 else
3019 $as_echo "$as_me: failed program was:" >&5
3020 sed 's/^/| /' conftest.$ac_ext >&5
3022 ac_retval=1
3024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3025 as_fn_set_status $ac_retval
3027 } # ac_fn_c_try_cpp
3029 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3030 # -------------------------------------------------------
3031 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3032 # the include files in INCLUDES and setting the cache variable VAR
3033 # accordingly.
3034 ac_fn_c_check_header_mongrel ()
3036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3037 if eval \${$3+:} false; then :
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3039 $as_echo_n "checking for $2... " >&6; }
3040 if eval \${$3+:} false; then :
3041 $as_echo_n "(cached) " >&6
3043 eval ac_res=\$$3
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3045 $as_echo "$ac_res" >&6; }
3046 else
3047 # Is the header compilable?
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3049 $as_echo_n "checking $2 usability... " >&6; }
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3053 #include <$2>
3054 _ACEOF
3055 if ac_fn_c_try_compile "$LINENO"; then :
3056 ac_header_compiler=yes
3057 else
3058 ac_header_compiler=no
3060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3062 $as_echo "$ac_header_compiler" >&6; }
3064 # Is the header present?
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3066 $as_echo_n "checking $2 presence... " >&6; }
3067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068 /* end confdefs.h. */
3069 #include <$2>
3070 _ACEOF
3071 if ac_fn_c_try_cpp "$LINENO"; then :
3072 ac_header_preproc=yes
3073 else
3074 ac_header_preproc=no
3076 rm -f conftest.err conftest.i conftest.$ac_ext
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3078 $as_echo "$ac_header_preproc" >&6; }
3080 # So? What about this header?
3081 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3082 yes:no: )
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3084 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3086 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3088 no:yes:* )
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3090 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3092 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3094 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3096 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3098 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3099 ( $as_echo "## ------------------------------------ ##
3100 ## Report this to wine-devel@winehq.org ##
3101 ## ------------------------------------ ##"
3102 ) | sed "s/^/$as_me: WARNING: /" >&2
3104 esac
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3106 $as_echo_n "checking for $2... " >&6; }
3107 if eval \${$3+:} false; then :
3108 $as_echo_n "(cached) " >&6
3109 else
3110 eval "$3=\$ac_header_compiler"
3112 eval ac_res=\$$3
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3114 $as_echo "$ac_res" >&6; }
3116 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3118 } # ac_fn_c_check_header_mongrel
3120 # ac_fn_c_try_run LINENO
3121 # ----------------------
3122 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3123 # that executables *can* be run.
3124 ac_fn_c_try_run ()
3126 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3127 if { { ac_try="$ac_link"
3128 case "(($ac_try" in
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3131 esac
3132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133 $as_echo "$ac_try_echo"; } >&5
3134 (eval "$ac_link") 2>&5
3135 ac_status=$?
3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3138 { { case "(($ac_try" in
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3141 esac
3142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3143 $as_echo "$ac_try_echo"; } >&5
3144 (eval "$ac_try") 2>&5
3145 ac_status=$?
3146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3147 test $ac_status = 0; }; }; then :
3148 ac_retval=0
3149 else
3150 $as_echo "$as_me: program exited with status $ac_status" >&5
3151 $as_echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3154 ac_retval=$ac_status
3156 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3157 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3158 as_fn_set_status $ac_retval
3160 } # ac_fn_c_try_run
3162 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3163 # -------------------------------------------------------
3164 # Tests whether HEADER exists and can be compiled using the include files in
3165 # INCLUDES, setting the cache variable VAR accordingly.
3166 ac_fn_c_check_header_compile ()
3168 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3170 $as_echo_n "checking for $2... " >&6; }
3171 if eval \${$3+:} false; then :
3172 $as_echo_n "(cached) " >&6
3173 else
3174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h. */
3177 #include <$2>
3178 _ACEOF
3179 if ac_fn_c_try_compile "$LINENO"; then :
3180 eval "$3=yes"
3181 else
3182 eval "$3=no"
3184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3186 eval ac_res=\$$3
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3188 $as_echo "$ac_res" >&6; }
3189 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3191 } # ac_fn_c_check_header_compile
3193 # ac_fn_objc_try_compile LINENO
3194 # -----------------------------
3195 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3196 ac_fn_objc_try_compile ()
3198 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3199 rm -f conftest.$ac_objext
3200 if { { ac_try="$ac_compile"
3201 case "(($ac_try" in
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3204 esac
3205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3206 $as_echo "$ac_try_echo"; } >&5
3207 (eval "$ac_compile") 2>conftest.err
3208 ac_status=$?
3209 if test -s conftest.err; then
3210 grep -v '^ *+' conftest.err >conftest.er1
3211 cat conftest.er1 >&5
3212 mv -f conftest.er1 conftest.err
3214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3215 test $ac_status = 0; } && {
3216 test -z "$ac_objc_werror_flag" ||
3217 test ! -s conftest.err
3218 } && test -s conftest.$ac_objext; then :
3219 ac_retval=0
3220 else
3221 $as_echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3224 ac_retval=1
3226 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3227 as_fn_set_status $ac_retval
3229 } # ac_fn_objc_try_compile
3231 # ac_fn_objc_try_cpp LINENO
3232 # -------------------------
3233 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3234 ac_fn_objc_try_cpp ()
3236 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3237 if { { ac_try="$ac_cpp conftest.$ac_ext"
3238 case "(($ac_try" in
3239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3241 esac
3242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3243 $as_echo "$ac_try_echo"; } >&5
3244 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3245 ac_status=$?
3246 if test -s conftest.err; then
3247 grep -v '^ *+' conftest.err >conftest.er1
3248 cat conftest.er1 >&5
3249 mv -f conftest.er1 conftest.err
3251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3252 test $ac_status = 0; } > conftest.i && {
3253 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3254 test ! -s conftest.err
3255 }; then :
3256 ac_retval=0
3257 else
3258 $as_echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.$ac_ext >&5
3261 ac_retval=1
3263 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3264 as_fn_set_status $ac_retval
3266 } # ac_fn_objc_try_cpp
3268 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3269 # ----------------------------------------------------------
3270 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3271 # the include files in INCLUDES and setting the cache variable VAR
3272 # accordingly.
3273 ac_fn_objc_check_header_mongrel ()
3275 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3276 if eval \${$3+:} false; then :
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3278 $as_echo_n "checking for $2... " >&6; }
3279 if eval \${$3+:} false; then :
3280 $as_echo_n "(cached) " >&6
3282 eval ac_res=\$$3
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3284 $as_echo "$ac_res" >&6; }
3285 else
3286 # Is the header compilable?
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3288 $as_echo_n "checking $2 usability... " >&6; }
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3292 #include <$2>
3293 _ACEOF
3294 if ac_fn_objc_try_compile "$LINENO"; then :
3295 ac_header_compiler=yes
3296 else
3297 ac_header_compiler=no
3299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3301 $as_echo "$ac_header_compiler" >&6; }
3303 # Is the header present?
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3305 $as_echo_n "checking $2 presence... " >&6; }
3306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3307 /* end confdefs.h. */
3308 #include <$2>
3309 _ACEOF
3310 if ac_fn_objc_try_cpp "$LINENO"; then :
3311 ac_header_preproc=yes
3312 else
3313 ac_header_preproc=no
3315 rm -f conftest.err conftest.i conftest.$ac_ext
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3317 $as_echo "$ac_header_preproc" >&6; }
3319 # So? What about this header?
3320 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3321 yes:no: )
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3323 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3325 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3327 no:yes:* )
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3329 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3331 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3333 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3335 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3337 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3338 ( $as_echo "## ------------------------------------ ##
3339 ## Report this to wine-devel@winehq.org ##
3340 ## ------------------------------------ ##"
3341 ) | sed "s/^/$as_me: WARNING: /" >&2
3343 esac
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3345 $as_echo_n "checking for $2... " >&6; }
3346 if eval \${$3+:} false; then :
3347 $as_echo_n "(cached) " >&6
3348 else
3349 eval "$3=\$ac_header_compiler"
3351 eval ac_res=\$$3
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3353 $as_echo "$ac_res" >&6; }
3355 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3357 } # ac_fn_objc_check_header_mongrel
3359 # ac_fn_c_check_func LINENO FUNC VAR
3360 # ----------------------------------
3361 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3362 ac_fn_c_check_func ()
3364 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3366 $as_echo_n "checking for $2... " >&6; }
3367 if eval \${$3+:} false; then :
3368 $as_echo_n "(cached) " >&6
3369 else
3370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3372 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3374 #define $2 innocuous_$2
3376 /* System header to define __stub macros and hopefully few prototypes,
3377 which can conflict with char $2 (); below.
3378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3379 <limits.h> exists even on freestanding compilers. */
3381 #ifdef __STDC__
3382 # include <limits.h>
3383 #else
3384 # include <assert.h>
3385 #endif
3387 #undef $2
3389 /* Override any GCC internal prototype to avoid an error.
3390 Use char because int might match the return type of a GCC
3391 builtin and then its argument prototype would still apply. */
3392 #ifdef __cplusplus
3393 extern "C"
3394 #endif
3395 char $2 ();
3396 /* The GNU C library defines this for functions which it implements
3397 to always fail with ENOSYS. Some functions are actually named
3398 something starting with __ and the normal name is an alias. */
3399 #if defined __stub_$2 || defined __stub___$2
3400 choke me
3401 #endif
3404 main ()
3406 return $2 ();
3408 return 0;
3410 _ACEOF
3411 if ac_fn_c_try_link "$LINENO"; then :
3412 eval "$3=yes"
3413 else
3414 eval "$3=no"
3416 rm -f core conftest.err conftest.$ac_objext \
3417 conftest$ac_exeext conftest.$ac_ext
3419 eval ac_res=\$$3
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3421 $as_echo "$ac_res" >&6; }
3422 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3424 } # ac_fn_c_check_func
3426 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3427 # ----------------------------------------------------
3428 # Tries to find if the field MEMBER exists in type AGGR, after including
3429 # INCLUDES, setting cache variable VAR accordingly.
3430 ac_fn_c_check_member ()
3432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3434 $as_echo_n "checking for $2.$3... " >&6; }
3435 if eval \${$4+:} false; then :
3436 $as_echo_n "(cached) " >&6
3437 else
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439 /* end confdefs.h. */
3442 main ()
3444 static $2 ac_aggr;
3445 if (ac_aggr.$3)
3446 return 0;
3448 return 0;
3450 _ACEOF
3451 if ac_fn_c_try_compile "$LINENO"; then :
3452 eval "$4=yes"
3453 else
3454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3455 /* end confdefs.h. */
3458 main ()
3460 static $2 ac_aggr;
3461 if (sizeof ac_aggr.$3)
3462 return 0;
3464 return 0;
3466 _ACEOF
3467 if ac_fn_c_try_compile "$LINENO"; then :
3468 eval "$4=yes"
3469 else
3470 eval "$4=no"
3472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3476 eval ac_res=\$$4
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3478 $as_echo "$ac_res" >&6; }
3479 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3481 } # ac_fn_c_check_member
3483 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3484 # -------------------------------------------
3485 # Tests whether TYPE exists after having included INCLUDES, setting cache
3486 # variable VAR accordingly.
3487 ac_fn_c_check_type ()
3489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3491 $as_echo_n "checking for $2... " >&6; }
3492 if eval \${$3+:} false; then :
3493 $as_echo_n "(cached) " >&6
3494 else
3495 eval "$3=no"
3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3500 main ()
3502 if (sizeof ($2))
3503 return 0;
3505 return 0;
3507 _ACEOF
3508 if ac_fn_c_try_compile "$LINENO"; then :
3509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3510 /* end confdefs.h. */
3513 main ()
3515 if (sizeof (($2)))
3516 return 0;
3518 return 0;
3520 _ACEOF
3521 if ac_fn_c_try_compile "$LINENO"; then :
3523 else
3524 eval "$3=yes"
3526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530 eval ac_res=\$$3
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3532 $as_echo "$ac_res" >&6; }
3533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3535 } # ac_fn_c_check_type
3536 cat >config.log <<_ACEOF
3537 This file contains any messages produced by compilers while
3538 running configure, to aid debugging if configure makes a mistake.
3540 It was created by Wine $as_me 6.11, which was
3541 generated by GNU Autoconf 2.69. Invocation command line was
3543 $ $0 $@
3545 _ACEOF
3546 exec 5>>config.log
3548 cat <<_ASUNAME
3549 ## --------- ##
3550 ## Platform. ##
3551 ## --------- ##
3553 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3554 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3555 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3556 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3557 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3559 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3560 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3562 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3563 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3564 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3565 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3566 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3567 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3568 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3570 _ASUNAME
3572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3573 for as_dir in $PATH
3575 IFS=$as_save_IFS
3576 test -z "$as_dir" && as_dir=.
3577 $as_echo "PATH: $as_dir"
3578 done
3579 IFS=$as_save_IFS
3581 } >&5
3583 cat >&5 <<_ACEOF
3586 ## ----------- ##
3587 ## Core tests. ##
3588 ## ----------- ##
3590 _ACEOF
3593 # Keep a trace of the command line.
3594 # Strip out --no-create and --no-recursion so they do not pile up.
3595 # Strip out --silent because we don't want to record it for future runs.
3596 # Also quote any args containing shell meta-characters.
3597 # Make two passes to allow for proper duplicate-argument suppression.
3598 ac_configure_args=
3599 ac_configure_args0=
3600 ac_configure_args1=
3601 ac_must_keep_next=false
3602 for ac_pass in 1 2
3604 for ac_arg
3606 case $ac_arg in
3607 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3608 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3609 | -silent | --silent | --silen | --sile | --sil)
3610 continue ;;
3611 *\'*)
3612 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3613 esac
3614 case $ac_pass in
3615 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3617 as_fn_append ac_configure_args1 " '$ac_arg'"
3618 if test $ac_must_keep_next = true; then
3619 ac_must_keep_next=false # Got value, back to normal.
3620 else
3621 case $ac_arg in
3622 *=* | --config-cache | -C | -disable-* | --disable-* \
3623 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3624 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3625 | -with-* | --with-* | -without-* | --without-* | --x)
3626 case "$ac_configure_args0 " in
3627 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3628 esac
3630 -* ) ac_must_keep_next=true ;;
3631 esac
3633 as_fn_append ac_configure_args " '$ac_arg'"
3635 esac
3636 done
3637 done
3638 { ac_configure_args0=; unset ac_configure_args0;}
3639 { ac_configure_args1=; unset ac_configure_args1;}
3641 # When interrupted or exit'd, cleanup temporary files, and complete
3642 # config.log. We remove comments because anyway the quotes in there
3643 # would cause problems or look ugly.
3644 # WARNING: Use '\'' to represent an apostrophe within the trap.
3645 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3646 trap 'exit_status=$?
3647 # Save into config.log some information that might help in debugging.
3649 echo
3651 $as_echo "## ---------------- ##
3652 ## Cache variables. ##
3653 ## ---------------- ##"
3654 echo
3655 # The following way of writing the cache mishandles newlines in values,
3657 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3658 eval ac_val=\$$ac_var
3659 case $ac_val in #(
3660 *${as_nl}*)
3661 case $ac_var in #(
3662 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3663 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3664 esac
3665 case $ac_var in #(
3666 _ | IFS | as_nl) ;; #(
3667 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3668 *) { eval $ac_var=; unset $ac_var;} ;;
3669 esac ;;
3670 esac
3671 done
3672 (set) 2>&1 |
3673 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3674 *${as_nl}ac_space=\ *)
3675 sed -n \
3676 "s/'\''/'\''\\\\'\'''\''/g;
3677 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3678 ;; #(
3680 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3682 esac |
3683 sort
3685 echo
3687 $as_echo "## ----------------- ##
3688 ## Output variables. ##
3689 ## ----------------- ##"
3690 echo
3691 for ac_var in $ac_subst_vars
3693 eval ac_val=\$$ac_var
3694 case $ac_val in
3695 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3696 esac
3697 $as_echo "$ac_var='\''$ac_val'\''"
3698 done | sort
3699 echo
3701 if test -n "$ac_subst_files"; then
3702 $as_echo "## ------------------- ##
3703 ## File substitutions. ##
3704 ## ------------------- ##"
3705 echo
3706 for ac_var in $ac_subst_files
3708 eval ac_val=\$$ac_var
3709 case $ac_val in
3710 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3711 esac
3712 $as_echo "$ac_var='\''$ac_val'\''"
3713 done | sort
3714 echo
3717 if test -s confdefs.h; then
3718 $as_echo "## ----------- ##
3719 ## confdefs.h. ##
3720 ## ----------- ##"
3721 echo
3722 cat confdefs.h
3723 echo
3725 test "$ac_signal" != 0 &&
3726 $as_echo "$as_me: caught signal $ac_signal"
3727 $as_echo "$as_me: exit $exit_status"
3728 } >&5
3729 rm -f core *.core core.conftest.* &&
3730 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3731 exit $exit_status
3733 for ac_signal in 1 2 13 15; do
3734 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3735 done
3736 ac_signal=0
3738 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3739 rm -f -r conftest* confdefs.h
3741 $as_echo "/* confdefs.h */" > confdefs.h
3743 # Predefined preprocessor variables.
3745 cat >>confdefs.h <<_ACEOF
3746 #define PACKAGE_NAME "$PACKAGE_NAME"
3747 _ACEOF
3749 cat >>confdefs.h <<_ACEOF
3750 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3751 _ACEOF
3753 cat >>confdefs.h <<_ACEOF
3754 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3755 _ACEOF
3757 cat >>confdefs.h <<_ACEOF
3758 #define PACKAGE_STRING "$PACKAGE_STRING"
3759 _ACEOF
3761 cat >>confdefs.h <<_ACEOF
3762 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3763 _ACEOF
3765 cat >>confdefs.h <<_ACEOF
3766 #define PACKAGE_URL "$PACKAGE_URL"
3767 _ACEOF
3770 # Let the site file select an alternate cache file if it wants to.
3771 # Prefer an explicitly selected file to automatically selected ones.
3772 ac_site_file1=NONE
3773 ac_site_file2=NONE
3774 if test -n "$CONFIG_SITE"; then
3775 # We do not want a PATH search for config.site.
3776 case $CONFIG_SITE in #((
3777 -*) ac_site_file1=./$CONFIG_SITE;;
3778 */*) ac_site_file1=$CONFIG_SITE;;
3779 *) ac_site_file1=./$CONFIG_SITE;;
3780 esac
3781 elif test "x$prefix" != xNONE; then
3782 ac_site_file1=$prefix/share/config.site
3783 ac_site_file2=$prefix/etc/config.site
3784 else
3785 ac_site_file1=$ac_default_prefix/share/config.site
3786 ac_site_file2=$ac_default_prefix/etc/config.site
3788 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3790 test "x$ac_site_file" = xNONE && continue
3791 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3793 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3794 sed 's/^/| /' "$ac_site_file" >&5
3795 . "$ac_site_file" \
3796 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3798 as_fn_error $? "failed to load site script $ac_site_file
3799 See \`config.log' for more details" "$LINENO" 5; }
3801 done
3803 if test -r "$cache_file"; then
3804 # Some versions of bash will fail to source /dev/null (special files
3805 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3806 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3808 $as_echo "$as_me: loading cache $cache_file" >&6;}
3809 case $cache_file in
3810 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3811 *) . "./$cache_file";;
3812 esac
3814 else
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3816 $as_echo "$as_me: creating cache $cache_file" >&6;}
3817 >$cache_file
3820 # Check that the precious variables saved in the cache have kept the same
3821 # value.
3822 ac_cache_corrupted=false
3823 for ac_var in $ac_precious_vars; do
3824 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3825 eval ac_new_set=\$ac_env_${ac_var}_set
3826 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3827 eval ac_new_val=\$ac_env_${ac_var}_value
3828 case $ac_old_set,$ac_new_set in
3829 set,)
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3831 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3832 ac_cache_corrupted=: ;;
3833 ,set)
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3835 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3836 ac_cache_corrupted=: ;;
3837 ,);;
3839 if test "x$ac_old_val" != "x$ac_new_val"; then
3840 # differences in whitespace do not lead to failure.
3841 ac_old_val_w=`echo x $ac_old_val`
3842 ac_new_val_w=`echo x $ac_new_val`
3843 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3845 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3846 ac_cache_corrupted=:
3847 else
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3849 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3850 eval $ac_var=\$ac_old_val
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3853 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3855 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3856 fi;;
3857 esac
3858 # Pass precious variables to config.status.
3859 if test "$ac_new_set" = set; then
3860 case $ac_new_val in
3861 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3862 *) ac_arg=$ac_var=$ac_new_val ;;
3863 esac
3864 case " $ac_configure_args " in
3865 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3866 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3867 esac
3869 done
3870 if $ac_cache_corrupted; then
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3874 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3875 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3877 ## -------------------- ##
3878 ## Main body of script. ##
3879 ## -------------------- ##
3881 ac_ext=c
3882 ac_cpp='$CPP $CPPFLAGS'
3883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3889 ac_config_headers="$ac_config_headers include/config.h"
3891 ac_aux_dir=
3892 for ac_dir in tools "$srcdir"/tools; do
3893 if test -f "$ac_dir/install-sh"; then
3894 ac_aux_dir=$ac_dir
3895 ac_install_sh="$ac_aux_dir/install-sh -c"
3896 break
3897 elif test -f "$ac_dir/install.sh"; then
3898 ac_aux_dir=$ac_dir
3899 ac_install_sh="$ac_aux_dir/install.sh -c"
3900 break
3901 elif test -f "$ac_dir/shtool"; then
3902 ac_aux_dir=$ac_dir
3903 ac_install_sh="$ac_aux_dir/shtool install -c"
3904 break
3906 done
3907 if test -z "$ac_aux_dir"; then
3908 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3911 # These three variables are undocumented and unsupported,
3912 # and are intended to be withdrawn in a future Autoconf release.
3913 # They can cause serious problems if a builder's source tree is in a directory
3914 # whose full name contains unusual characters.
3915 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3916 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3917 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3921 libwine_version="1.0"
3925 # Check whether --enable-win16 was given.
3926 if test "${enable_win16+set}" = set; then :
3927 enableval=$enable_win16;
3930 # Check whether --enable-win64 was given.
3931 if test "${enable_win64+set}" = set; then :
3932 enableval=$enable_win64;
3935 # Check whether --enable-tests was given.
3936 if test "${enable_tests+set}" = set; then :
3937 enableval=$enable_tests;
3940 # Check whether --enable-build-id was given.
3941 if test "${enable_build_id+set}" = set; then :
3942 enableval=$enable_build_id;
3945 # Check whether --enable-maintainer-mode was given.
3946 if test "${enable_maintainer_mode+set}" = set; then :
3947 enableval=$enable_maintainer_mode;
3950 # Check whether --enable-silent-rules was given.
3951 if test "${enable_silent_rules+set}" = set; then :
3952 enableval=$enable_silent_rules;
3955 # Check whether --enable-werror was given.
3956 if test "${enable_werror+set}" = set; then :
3957 enableval=$enable_werror;
3962 # Check whether --with-alsa was given.
3963 if test "${with_alsa+set}" = set; then :
3964 withval=$with_alsa;
3968 # Check whether --with-capi was given.
3969 if test "${with_capi+set}" = set; then :
3970 withval=$with_capi;
3974 # Check whether --with-cms was given.
3975 if test "${with_cms+set}" = set; then :
3976 withval=$with_cms;
3980 # Check whether --with-coreaudio was given.
3981 if test "${with_coreaudio+set}" = set; then :
3982 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3986 # Check whether --with-cups was given.
3987 if test "${with_cups+set}" = set; then :
3988 withval=$with_cups;
3992 # Check whether --with-dbus was given.
3993 if test "${with_dbus+set}" = set; then :
3994 withval=$with_dbus;
3998 # Check whether --with-faudio was given.
3999 if test "${with_faudio+set}" = set; then :
4000 withval=$with_faudio;
4004 # Check whether --with-float-abi was given.
4005 if test "${with_float_abi+set}" = set; then :
4006 withval=$with_float_abi;
4010 # Check whether --with-fontconfig was given.
4011 if test "${with_fontconfig+set}" = set; then :
4012 withval=$with_fontconfig;
4016 # Check whether --with-freetype was given.
4017 if test "${with_freetype+set}" = set; then :
4018 withval=$with_freetype;
4022 # Check whether --with-gettext was given.
4023 if test "${with_gettext+set}" = set; then :
4024 withval=$with_gettext;
4028 # Check whether --with-gettextpo was given.
4029 if test "${with_gettextpo+set}" = set; then :
4030 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4034 # Check whether --with-gphoto was given.
4035 if test "${with_gphoto+set}" = set; then :
4036 withval=$with_gphoto;
4040 # Check whether --with-gnutls was given.
4041 if test "${with_gnutls+set}" = set; then :
4042 withval=$with_gnutls;
4046 # Check whether --with-gsm was given.
4047 if test "${with_gsm+set}" = set; then :
4048 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4052 # Check whether --with-gssapi was given.
4053 if test "${with_gssapi+set}" = set; then :
4054 withval=$with_gssapi;
4058 # Check whether --with-gstreamer was given.
4059 if test "${with_gstreamer+set}" = set; then :
4060 withval=$with_gstreamer;
4064 # Check whether --with-hal was given.
4065 if test "${with_hal+set}" = set; then :
4066 withval=$with_hal;
4070 # Check whether --with-inotify was given.
4071 if test "${with_inotify+set}" = set; then :
4072 withval=$with_inotify;
4076 # Check whether --with-jpeg was given.
4077 if test "${with_jpeg+set}" = set; then :
4078 withval=$with_jpeg;
4082 # Check whether --with-jxrlib was given.
4083 if test "${with_jxrlib+set}" = set; then :
4084 withval=$with_jxrlib;
4088 # Check whether --with-krb5 was given.
4089 if test "${with_krb5+set}" = set; then :
4090 withval=$with_krb5;
4094 # Check whether --with-ldap was given.
4095 if test "${with_ldap+set}" = set; then :
4096 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4100 # Check whether --with-mingw was given.
4101 if test "${with_mingw+set}" = set; then :
4102 withval=$with_mingw;
4106 # Check whether --with-mpg123 was given.
4107 if test "${with_mpg123+set}" = set; then :
4108 withval=$with_mpg123;
4112 # Check whether --with-netapi was given.
4113 if test "${with_netapi+set}" = set; then :
4114 withval=$with_netapi;
4118 # Check whether --with-openal was given.
4119 if test "${with_openal+set}" = set; then :
4120 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4124 # Check whether --with-opencl was given.
4125 if test "${with_opencl+set}" = set; then :
4126 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4130 # Check whether --with-opengl was given.
4131 if test "${with_opengl+set}" = set; then :
4132 withval=$with_opengl;
4136 # Check whether --with-osmesa was given.
4137 if test "${with_osmesa+set}" = set; then :
4138 withval=$with_osmesa;
4142 # Check whether --with-oss was given.
4143 if test "${with_oss+set}" = set; then :
4144 withval=$with_oss;
4148 # Check whether --with-pcap was given.
4149 if test "${with_pcap+set}" = set; then :
4150 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4154 # Check whether --with-png was given.
4155 if test "${with_png+set}" = set; then :
4156 withval=$with_png;
4160 # Check whether --with-pthread was given.
4161 if test "${with_pthread+set}" = set; then :
4162 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4166 # Check whether --with-pulse was given.
4167 if test "${with_pulse+set}" = set; then :
4168 withval=$with_pulse;
4172 # Check whether --with-quicktime was given.
4173 if test "${with_quicktime+set}" = set; then :
4174 withval=$with_quicktime;
4178 # Check whether --with-sane was given.
4179 if test "${with_sane+set}" = set; then :
4180 withval=$with_sane;
4184 # Check whether --with-sdl was given.
4185 if test "${with_sdl+set}" = set; then :
4186 withval=$with_sdl;
4190 # Check whether --with-tiff was given.
4191 if test "${with_tiff+set}" = set; then :
4192 withval=$with_tiff;
4196 # Check whether --with-udev was given.
4197 if test "${with_udev+set}" = set; then :
4198 withval=$with_udev;
4202 # Check whether --with-unwind was given.
4203 if test "${with_unwind+set}" = set; then :
4204 withval=$with_unwind;
4208 # Check whether --with-usb was given.
4209 if test "${with_usb+set}" = set; then :
4210 withval=$with_usb;
4214 # Check whether --with-v4l2 was given.
4215 if test "${with_v4l2+set}" = set; then :
4216 withval=$with_v4l2;
4220 # Check whether --with-vkd3d was given.
4221 if test "${with_vkd3d+set}" = set; then :
4222 withval=$with_vkd3d;
4226 # Check whether --with-vulkan was given.
4227 if test "${with_vulkan+set}" = set; then :
4228 withval=$with_vulkan;
4232 # Check whether --with-xcomposite was given.
4233 if test "${with_xcomposite+set}" = set; then :
4234 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4238 # Check whether --with-xcursor was given.
4239 if test "${with_xcursor+set}" = set; then :
4240 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4244 # Check whether --with-xfixes was given.
4245 if test "${with_xfixes+set}" = set; then :
4246 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4250 # Check whether --with-xinerama was given.
4251 if test "${with_xinerama+set}" = set; then :
4252 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4256 # Check whether --with-xinput was given.
4257 if test "${with_xinput+set}" = set; then :
4258 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4262 # Check whether --with-xinput2 was given.
4263 if test "${with_xinput2+set}" = set; then :
4264 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4268 # Check whether --with-xml was given.
4269 if test "${with_xml+set}" = set; then :
4270 withval=$with_xml;
4274 # Check whether --with-xrandr was given.
4275 if test "${with_xrandr+set}" = set; then :
4276 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4280 # Check whether --with-xrender was given.
4281 if test "${with_xrender+set}" = set; then :
4282 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4286 # Check whether --with-xshape was given.
4287 if test "${with_xshape+set}" = set; then :
4288 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4292 # Check whether --with-xshm was given.
4293 if test "${with_xshm+set}" = set; then :
4294 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4298 # Check whether --with-xslt was given.
4299 if test "${with_xslt+set}" = set; then :
4300 withval=$with_xslt;
4304 # Check whether --with-xxf86vm was given.
4305 if test "${with_xxf86vm+set}" = set; then :
4306 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
4311 # Check whether --with-wine-tools was given.
4312 if test "${with_wine_tools+set}" = set; then :
4313 withval=$with_wine_tools;
4317 # Check whether --with-wine64 was given.
4318 if test "${with_wine64+set}" = set; then :
4319 withval=$with_wine64;
4323 # Make sure we can run config.sub.
4324 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4325 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4328 $as_echo_n "checking build system type... " >&6; }
4329 if ${ac_cv_build+:} false; then :
4330 $as_echo_n "(cached) " >&6
4331 else
4332 ac_build_alias=$build_alias
4333 test "x$ac_build_alias" = x &&
4334 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4335 test "x$ac_build_alias" = x &&
4336 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4337 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4338 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4342 $as_echo "$ac_cv_build" >&6; }
4343 case $ac_cv_build in
4344 *-*-*) ;;
4345 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4346 esac
4347 build=$ac_cv_build
4348 ac_save_IFS=$IFS; IFS='-'
4349 set x $ac_cv_build
4350 shift
4351 build_cpu=$1
4352 build_vendor=$2
4353 shift; shift
4354 # Remember, the first character of IFS is used to create $*,
4355 # except with old shells:
4356 build_os=$*
4357 IFS=$ac_save_IFS
4358 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4362 $as_echo_n "checking host system type... " >&6; }
4363 if ${ac_cv_host+:} false; then :
4364 $as_echo_n "(cached) " >&6
4365 else
4366 if test "x$host_alias" = x; then
4367 ac_cv_host=$ac_cv_build
4368 else
4369 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4370 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4375 $as_echo "$ac_cv_host" >&6; }
4376 case $ac_cv_host in
4377 *-*-*) ;;
4378 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4379 esac
4380 host=$ac_cv_host
4381 ac_save_IFS=$IFS; IFS='-'
4382 set x $ac_cv_host
4383 shift
4384 host_cpu=$1
4385 host_vendor=$2
4386 shift; shift
4387 # Remember, the first character of IFS is used to create $*,
4388 # except with old shells:
4389 host_os=$*
4390 IFS=$ac_save_IFS
4391 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4397 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4398 set x ${MAKE-make}
4399 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4400 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4401 $as_echo_n "(cached) " >&6
4402 else
4403 cat >conftest.make <<\_ACEOF
4404 SHELL = /bin/sh
4405 all:
4406 @echo '@@@%%%=$(MAKE)=@@@%%%'
4407 _ACEOF
4408 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4409 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4410 *@@@%%%=?*=@@@%%%*)
4411 eval ac_cv_prog_make_${ac_make}_set=yes;;
4413 eval ac_cv_prog_make_${ac_make}_set=no;;
4414 esac
4415 rm -f conftest.make
4417 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4419 $as_echo "yes" >&6; }
4420 SET_MAKE=
4421 else
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4424 SET_MAKE="MAKE=${MAKE-make}"
4427 ac_ext=c
4428 ac_cpp='$CPP $CPPFLAGS'
4429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4432 if test -n "$ac_tool_prefix"; then
4433 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4434 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if ${ac_cv_prog_CC+:} false; then :
4438 $as_echo_n "(cached) " >&6
4439 else
4440 if test -n "$CC"; then
4441 ac_cv_prog_CC="$CC" # Let the user override the test.
4442 else
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 for as_dir in $PATH
4446 IFS=$as_save_IFS
4447 test -z "$as_dir" && as_dir=.
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4450 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 break 2
4454 done
4455 done
4456 IFS=$as_save_IFS
4460 CC=$ac_cv_prog_CC
4461 if test -n "$CC"; then
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4463 $as_echo "$CC" >&6; }
4464 else
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466 $as_echo "no" >&6; }
4471 if test -z "$ac_cv_prog_CC"; then
4472 ac_ct_CC=$CC
4473 # Extract the first word of "gcc", so it can be a program name with args.
4474 set dummy gcc; ac_word=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4478 $as_echo_n "(cached) " >&6
4479 else
4480 if test -n "$ac_ct_CC"; then
4481 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4482 else
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 for as_dir in $PATH
4486 IFS=$as_save_IFS
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_prog_ac_ct_CC="gcc"
4491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 break 2
4494 done
4495 done
4496 IFS=$as_save_IFS
4500 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4501 if test -n "$ac_ct_CC"; then
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4503 $as_echo "$ac_ct_CC" >&6; }
4504 else
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506 $as_echo "no" >&6; }
4509 if test "x$ac_ct_CC" = x; then
4510 CC=""
4511 else
4512 case $cross_compiling:$ac_tool_warned in
4513 yes:)
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4516 ac_tool_warned=yes ;;
4517 esac
4518 CC=$ac_ct_CC
4520 else
4521 CC="$ac_cv_prog_CC"
4524 if test -z "$CC"; then
4525 if test -n "$ac_tool_prefix"; then
4526 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4527 set dummy ${ac_tool_prefix}cc; ac_word=$2
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4529 $as_echo_n "checking for $ac_word... " >&6; }
4530 if ${ac_cv_prog_CC+:} false; then :
4531 $as_echo_n "(cached) " >&6
4532 else
4533 if test -n "$CC"; then
4534 ac_cv_prog_CC="$CC" # Let the user override the test.
4535 else
4536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4537 for as_dir in $PATH
4539 IFS=$as_save_IFS
4540 test -z "$as_dir" && as_dir=.
4541 for ac_exec_ext in '' $ac_executable_extensions; do
4542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4543 ac_cv_prog_CC="${ac_tool_prefix}cc"
4544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 break 2
4547 done
4548 done
4549 IFS=$as_save_IFS
4553 CC=$ac_cv_prog_CC
4554 if test -n "$CC"; then
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4556 $as_echo "$CC" >&6; }
4557 else
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4559 $as_echo "no" >&6; }
4565 if test -z "$CC"; then
4566 # Extract the first word of "cc", so it can be a program name with args.
4567 set dummy cc; ac_word=$2
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4569 $as_echo_n "checking for $ac_word... " >&6; }
4570 if ${ac_cv_prog_CC+:} false; then :
4571 $as_echo_n "(cached) " >&6
4572 else
4573 if test -n "$CC"; then
4574 ac_cv_prog_CC="$CC" # Let the user override the test.
4575 else
4576 ac_prog_rejected=no
4577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4578 for as_dir in $PATH
4580 IFS=$as_save_IFS
4581 test -z "$as_dir" && as_dir=.
4582 for ac_exec_ext in '' $ac_executable_extensions; do
4583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4584 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4585 ac_prog_rejected=yes
4586 continue
4588 ac_cv_prog_CC="cc"
4589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4590 break 2
4592 done
4593 done
4594 IFS=$as_save_IFS
4596 if test $ac_prog_rejected = yes; then
4597 # We found a bogon in the path, so make sure we never use it.
4598 set dummy $ac_cv_prog_CC
4599 shift
4600 if test $# != 0; then
4601 # We chose a different compiler from the bogus one.
4602 # However, it has the same basename, so the bogon will be chosen
4603 # first if we set CC to just the basename; use the full file name.
4604 shift
4605 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4610 CC=$ac_cv_prog_CC
4611 if test -n "$CC"; then
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4613 $as_echo "$CC" >&6; }
4614 else
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4616 $as_echo "no" >&6; }
4621 if test -z "$CC"; then
4622 if test -n "$ac_tool_prefix"; then
4623 for ac_prog in cl.exe
4625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4626 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4628 $as_echo_n "checking for $ac_word... " >&6; }
4629 if ${ac_cv_prog_CC+:} false; then :
4630 $as_echo_n "(cached) " >&6
4631 else
4632 if test -n "$CC"; then
4633 ac_cv_prog_CC="$CC" # Let the user override the test.
4634 else
4635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4636 for as_dir in $PATH
4638 IFS=$as_save_IFS
4639 test -z "$as_dir" && as_dir=.
4640 for ac_exec_ext in '' $ac_executable_extensions; do
4641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4642 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4644 break 2
4646 done
4647 done
4648 IFS=$as_save_IFS
4652 CC=$ac_cv_prog_CC
4653 if test -n "$CC"; then
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4655 $as_echo "$CC" >&6; }
4656 else
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4658 $as_echo "no" >&6; }
4662 test -n "$CC" && break
4663 done
4665 if test -z "$CC"; then
4666 ac_ct_CC=$CC
4667 for ac_prog in cl.exe
4669 # Extract the first word of "$ac_prog", so it can be a program name with args.
4670 set dummy $ac_prog; ac_word=$2
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4672 $as_echo_n "checking for $ac_word... " >&6; }
4673 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4674 $as_echo_n "(cached) " >&6
4675 else
4676 if test -n "$ac_ct_CC"; then
4677 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4678 else
4679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4680 for as_dir in $PATH
4682 IFS=$as_save_IFS
4683 test -z "$as_dir" && as_dir=.
4684 for ac_exec_ext in '' $ac_executable_extensions; do
4685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4686 ac_cv_prog_ac_ct_CC="$ac_prog"
4687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 break 2
4690 done
4691 done
4692 IFS=$as_save_IFS
4696 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4697 if test -n "$ac_ct_CC"; then
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4699 $as_echo "$ac_ct_CC" >&6; }
4700 else
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4702 $as_echo "no" >&6; }
4706 test -n "$ac_ct_CC" && break
4707 done
4709 if test "x$ac_ct_CC" = x; then
4710 CC=""
4711 else
4712 case $cross_compiling:$ac_tool_warned in
4713 yes:)
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4716 ac_tool_warned=yes ;;
4717 esac
4718 CC=$ac_ct_CC
4725 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4727 as_fn_error $? "no acceptable C compiler found in \$PATH
4728 See \`config.log' for more details" "$LINENO" 5; }
4730 # Provide some information about the compiler.
4731 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4732 set X $ac_compile
4733 ac_compiler=$2
4734 for ac_option in --version -v -V -qversion; do
4735 { { ac_try="$ac_compiler $ac_option >&5"
4736 case "(($ac_try" in
4737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4738 *) ac_try_echo=$ac_try;;
4739 esac
4740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4741 $as_echo "$ac_try_echo"; } >&5
4742 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4743 ac_status=$?
4744 if test -s conftest.err; then
4745 sed '10a\
4746 ... rest of stderr output deleted ...
4747 10q' conftest.err >conftest.er1
4748 cat conftest.er1 >&5
4750 rm -f conftest.er1 conftest.err
4751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4752 test $ac_status = 0; }
4753 done
4755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4756 /* end confdefs.h. */
4759 main ()
4763 return 0;
4765 _ACEOF
4766 ac_clean_files_save=$ac_clean_files
4767 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4768 # Try to create an executable without -o first, disregard a.out.
4769 # It will help us diagnose broken compilers, and finding out an intuition
4770 # of exeext.
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4772 $as_echo_n "checking whether the C compiler works... " >&6; }
4773 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4775 # The possible output files:
4776 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4778 ac_rmfiles=
4779 for ac_file in $ac_files
4781 case $ac_file in
4782 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4783 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4784 esac
4785 done
4786 rm -f $ac_rmfiles
4788 if { { ac_try="$ac_link_default"
4789 case "(($ac_try" in
4790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4791 *) ac_try_echo=$ac_try;;
4792 esac
4793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4794 $as_echo "$ac_try_echo"; } >&5
4795 (eval "$ac_link_default") 2>&5
4796 ac_status=$?
4797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4798 test $ac_status = 0; }; then :
4799 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4800 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4801 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4802 # so that the user can short-circuit this test for compilers unknown to
4803 # Autoconf.
4804 for ac_file in $ac_files ''
4806 test -f "$ac_file" || continue
4807 case $ac_file in
4808 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4810 [ab].out )
4811 # We found the default executable, but exeext='' is most
4812 # certainly right.
4813 break;;
4814 *.* )
4815 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4816 then :; else
4817 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4819 # We set ac_cv_exeext here because the later test for it is not
4820 # safe: cross compilers may not add the suffix if given an `-o'
4821 # argument, so we may need to know it at that point already.
4822 # Even if this section looks crufty: it has the advantage of
4823 # actually working.
4824 break;;
4826 break;;
4827 esac
4828 done
4829 test "$ac_cv_exeext" = no && ac_cv_exeext=
4831 else
4832 ac_file=''
4834 if test -z "$ac_file"; then :
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4836 $as_echo "no" >&6; }
4837 $as_echo "$as_me: failed program was:" >&5
4838 sed 's/^/| /' conftest.$ac_ext >&5
4840 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4842 as_fn_error 77 "C compiler cannot create executables
4843 See \`config.log' for more details" "$LINENO" 5; }
4844 else
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4846 $as_echo "yes" >&6; }
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4849 $as_echo_n "checking for C compiler default output file name... " >&6; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4851 $as_echo "$ac_file" >&6; }
4852 ac_exeext=$ac_cv_exeext
4854 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4855 ac_clean_files=$ac_clean_files_save
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4857 $as_echo_n "checking for suffix of executables... " >&6; }
4858 if { { ac_try="$ac_link"
4859 case "(($ac_try" in
4860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4861 *) ac_try_echo=$ac_try;;
4862 esac
4863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4864 $as_echo "$ac_try_echo"; } >&5
4865 (eval "$ac_link") 2>&5
4866 ac_status=$?
4867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4868 test $ac_status = 0; }; then :
4869 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4870 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4871 # work properly (i.e., refer to `conftest.exe'), while it won't with
4872 # `rm'.
4873 for ac_file in conftest.exe conftest conftest.*; do
4874 test -f "$ac_file" || continue
4875 case $ac_file in
4876 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4877 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4878 break;;
4879 * ) break;;
4880 esac
4881 done
4882 else
4883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4885 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4886 See \`config.log' for more details" "$LINENO" 5; }
4888 rm -f conftest conftest$ac_cv_exeext
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4890 $as_echo "$ac_cv_exeext" >&6; }
4892 rm -f conftest.$ac_ext
4893 EXEEXT=$ac_cv_exeext
4894 ac_exeext=$EXEEXT
4895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4896 /* end confdefs.h. */
4897 #include <stdio.h>
4899 main ()
4901 FILE *f = fopen ("conftest.out", "w");
4902 return ferror (f) || fclose (f) != 0;
4905 return 0;
4907 _ACEOF
4908 ac_clean_files="$ac_clean_files conftest.out"
4909 # Check that the compiler produces executables we can run. If not, either
4910 # the compiler is broken, or we cross compile.
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4912 $as_echo_n "checking whether we are cross compiling... " >&6; }
4913 if test "$cross_compiling" != yes; then
4914 { { ac_try="$ac_link"
4915 case "(($ac_try" in
4916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4917 *) ac_try_echo=$ac_try;;
4918 esac
4919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4920 $as_echo "$ac_try_echo"; } >&5
4921 (eval "$ac_link") 2>&5
4922 ac_status=$?
4923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4924 test $ac_status = 0; }
4925 if { ac_try='./conftest$ac_cv_exeext'
4926 { { case "(($ac_try" in
4927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4928 *) ac_try_echo=$ac_try;;
4929 esac
4930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4931 $as_echo "$ac_try_echo"; } >&5
4932 (eval "$ac_try") 2>&5
4933 ac_status=$?
4934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4935 test $ac_status = 0; }; }; then
4936 cross_compiling=no
4937 else
4938 if test "$cross_compiling" = maybe; then
4939 cross_compiling=yes
4940 else
4941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4943 as_fn_error $? "cannot run C compiled programs.
4944 If you meant to cross compile, use \`--host'.
4945 See \`config.log' for more details" "$LINENO" 5; }
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4950 $as_echo "$cross_compiling" >&6; }
4952 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4953 ac_clean_files=$ac_clean_files_save
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4955 $as_echo_n "checking for suffix of object files... " >&6; }
4956 if ${ac_cv_objext+:} false; then :
4957 $as_echo_n "(cached) " >&6
4958 else
4959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4960 /* end confdefs.h. */
4963 main ()
4967 return 0;
4969 _ACEOF
4970 rm -f conftest.o conftest.obj
4971 if { { ac_try="$ac_compile"
4972 case "(($ac_try" in
4973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4974 *) ac_try_echo=$ac_try;;
4975 esac
4976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4977 $as_echo "$ac_try_echo"; } >&5
4978 (eval "$ac_compile") 2>&5
4979 ac_status=$?
4980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4981 test $ac_status = 0; }; then :
4982 for ac_file in conftest.o conftest.obj conftest.*; do
4983 test -f "$ac_file" || continue;
4984 case $ac_file in
4985 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4986 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4987 break;;
4988 esac
4989 done
4990 else
4991 $as_echo "$as_me: failed program was:" >&5
4992 sed 's/^/| /' conftest.$ac_ext >&5
4994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4996 as_fn_error $? "cannot compute suffix of object files: cannot compile
4997 See \`config.log' for more details" "$LINENO" 5; }
4999 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5002 $as_echo "$ac_cv_objext" >&6; }
5003 OBJEXT=$ac_cv_objext
5004 ac_objext=$OBJEXT
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5006 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5007 if ${ac_cv_c_compiler_gnu+:} false; then :
5008 $as_echo_n "(cached) " >&6
5009 else
5010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5014 main ()
5016 #ifndef __GNUC__
5017 choke me
5018 #endif
5021 return 0;
5023 _ACEOF
5024 if ac_fn_c_try_compile "$LINENO"; then :
5025 ac_compiler_gnu=yes
5026 else
5027 ac_compiler_gnu=no
5029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5030 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5034 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5035 if test $ac_compiler_gnu = yes; then
5036 GCC=yes
5037 else
5038 GCC=
5040 ac_test_CFLAGS=${CFLAGS+set}
5041 ac_save_CFLAGS=$CFLAGS
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5043 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5044 if ${ac_cv_prog_cc_g+:} false; then :
5045 $as_echo_n "(cached) " >&6
5046 else
5047 ac_save_c_werror_flag=$ac_c_werror_flag
5048 ac_c_werror_flag=yes
5049 ac_cv_prog_cc_g=no
5050 CFLAGS="-g"
5051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5055 main ()
5059 return 0;
5061 _ACEOF
5062 if ac_fn_c_try_compile "$LINENO"; then :
5063 ac_cv_prog_cc_g=yes
5064 else
5065 CFLAGS=""
5066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5067 /* end confdefs.h. */
5070 main ()
5074 return 0;
5076 _ACEOF
5077 if ac_fn_c_try_compile "$LINENO"; then :
5079 else
5080 ac_c_werror_flag=$ac_save_c_werror_flag
5081 CFLAGS="-g"
5082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5083 /* end confdefs.h. */
5086 main ()
5090 return 0;
5092 _ACEOF
5093 if ac_fn_c_try_compile "$LINENO"; then :
5094 ac_cv_prog_cc_g=yes
5096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5101 ac_c_werror_flag=$ac_save_c_werror_flag
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5104 $as_echo "$ac_cv_prog_cc_g" >&6; }
5105 if test "$ac_test_CFLAGS" = set; then
5106 CFLAGS=$ac_save_CFLAGS
5107 elif test $ac_cv_prog_cc_g = yes; then
5108 if test "$GCC" = yes; then
5109 CFLAGS="-g -O2"
5110 else
5111 CFLAGS="-g"
5113 else
5114 if test "$GCC" = yes; then
5115 CFLAGS="-O2"
5116 else
5117 CFLAGS=
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5121 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5122 if ${ac_cv_prog_cc_c89+:} false; then :
5123 $as_echo_n "(cached) " >&6
5124 else
5125 ac_cv_prog_cc_c89=no
5126 ac_save_CC=$CC
5127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5128 /* end confdefs.h. */
5129 #include <stdarg.h>
5130 #include <stdio.h>
5131 struct stat;
5132 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5133 struct buf { int x; };
5134 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5135 static char *e (p, i)
5136 char **p;
5137 int i;
5139 return p[i];
5141 static char *f (char * (*g) (char **, int), char **p, ...)
5143 char *s;
5144 va_list v;
5145 va_start (v,p);
5146 s = g (p, va_arg (v,int));
5147 va_end (v);
5148 return s;
5151 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5152 function prototypes and stuff, but not '\xHH' hex character constants.
5153 These don't provoke an error unfortunately, instead are silently treated
5154 as 'x'. The following induces an error, until -std is added to get
5155 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5156 array size at least. It's necessary to write '\x00'==0 to get something
5157 that's true only with -std. */
5158 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5160 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5161 inside strings and character constants. */
5162 #define FOO(x) 'x'
5163 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5165 int test (int i, double x);
5166 struct s1 {int (*f) (int a);};
5167 struct s2 {int (*f) (double a);};
5168 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5169 int argc;
5170 char **argv;
5172 main ()
5174 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5176 return 0;
5178 _ACEOF
5179 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5180 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5182 CC="$ac_save_CC $ac_arg"
5183 if ac_fn_c_try_compile "$LINENO"; then :
5184 ac_cv_prog_cc_c89=$ac_arg
5186 rm -f core conftest.err conftest.$ac_objext
5187 test "x$ac_cv_prog_cc_c89" != "xno" && break
5188 done
5189 rm -f conftest.$ac_ext
5190 CC=$ac_save_CC
5193 # AC_CACHE_VAL
5194 case "x$ac_cv_prog_cc_c89" in
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5197 $as_echo "none needed" >&6; } ;;
5198 xno)
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5200 $as_echo "unsupported" >&6; } ;;
5202 CC="$CC $ac_cv_prog_cc_c89"
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5204 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5205 esac
5206 if test "x$ac_cv_prog_cc_c89" != xno; then :
5210 ac_ext=c
5211 ac_cpp='$CPP $CPPFLAGS'
5212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5216 ac_ext=cpp
5217 ac_cpp='$CXXCPP $CPPFLAGS'
5218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5221 if test -z "$CXX"; then
5222 if test -n "$CCC"; then
5223 CXX=$CCC
5224 else
5225 if test -n "$ac_tool_prefix"; then
5226 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5228 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5229 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5231 $as_echo_n "checking for $ac_word... " >&6; }
5232 if ${ac_cv_prog_CXX+:} false; then :
5233 $as_echo_n "(cached) " >&6
5234 else
5235 if test -n "$CXX"; then
5236 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5237 else
5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 for as_dir in $PATH
5241 IFS=$as_save_IFS
5242 test -z "$as_dir" && as_dir=.
5243 for ac_exec_ext in '' $ac_executable_extensions; do
5244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5245 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5247 break 2
5249 done
5250 done
5251 IFS=$as_save_IFS
5255 CXX=$ac_cv_prog_CXX
5256 if test -n "$CXX"; then
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5258 $as_echo "$CXX" >&6; }
5259 else
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 $as_echo "no" >&6; }
5265 test -n "$CXX" && break
5266 done
5268 if test -z "$CXX"; then
5269 ac_ct_CXX=$CXX
5270 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5272 # Extract the first word of "$ac_prog", so it can be a program name with args.
5273 set dummy $ac_prog; ac_word=$2
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5275 $as_echo_n "checking for $ac_word... " >&6; }
5276 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5277 $as_echo_n "(cached) " >&6
5278 else
5279 if test -n "$ac_ct_CXX"; then
5280 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5281 else
5282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5283 for as_dir in $PATH
5285 IFS=$as_save_IFS
5286 test -z "$as_dir" && as_dir=.
5287 for ac_exec_ext in '' $ac_executable_extensions; do
5288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5289 ac_cv_prog_ac_ct_CXX="$ac_prog"
5290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5291 break 2
5293 done
5294 done
5295 IFS=$as_save_IFS
5299 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5300 if test -n "$ac_ct_CXX"; then
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5302 $as_echo "$ac_ct_CXX" >&6; }
5303 else
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5305 $as_echo "no" >&6; }
5309 test -n "$ac_ct_CXX" && break
5310 done
5312 if test "x$ac_ct_CXX" = x; then
5313 CXX="g++"
5314 else
5315 case $cross_compiling:$ac_tool_warned in
5316 yes:)
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5319 ac_tool_warned=yes ;;
5320 esac
5321 CXX=$ac_ct_CXX
5327 # Provide some information about the compiler.
5328 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5329 set X $ac_compile
5330 ac_compiler=$2
5331 for ac_option in --version -v -V -qversion; do
5332 { { ac_try="$ac_compiler $ac_option >&5"
5333 case "(($ac_try" in
5334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5335 *) ac_try_echo=$ac_try;;
5336 esac
5337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5338 $as_echo "$ac_try_echo"; } >&5
5339 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5340 ac_status=$?
5341 if test -s conftest.err; then
5342 sed '10a\
5343 ... rest of stderr output deleted ...
5344 10q' conftest.err >conftest.er1
5345 cat conftest.er1 >&5
5347 rm -f conftest.er1 conftest.err
5348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5349 test $ac_status = 0; }
5350 done
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5353 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5354 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5355 $as_echo_n "(cached) " >&6
5356 else
5357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5358 /* end confdefs.h. */
5361 main ()
5363 #ifndef __GNUC__
5364 choke me
5365 #endif
5368 return 0;
5370 _ACEOF
5371 if ac_fn_cxx_try_compile "$LINENO"; then :
5372 ac_compiler_gnu=yes
5373 else
5374 ac_compiler_gnu=no
5376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5377 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5381 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5382 if test $ac_compiler_gnu = yes; then
5383 GXX=yes
5384 else
5385 GXX=
5387 ac_test_CXXFLAGS=${CXXFLAGS+set}
5388 ac_save_CXXFLAGS=$CXXFLAGS
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5390 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5391 if ${ac_cv_prog_cxx_g+:} false; then :
5392 $as_echo_n "(cached) " >&6
5393 else
5394 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5395 ac_cxx_werror_flag=yes
5396 ac_cv_prog_cxx_g=no
5397 CXXFLAGS="-g"
5398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5399 /* end confdefs.h. */
5402 main ()
5406 return 0;
5408 _ACEOF
5409 if ac_fn_cxx_try_compile "$LINENO"; then :
5410 ac_cv_prog_cxx_g=yes
5411 else
5412 CXXFLAGS=""
5413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5414 /* end confdefs.h. */
5417 main ()
5421 return 0;
5423 _ACEOF
5424 if ac_fn_cxx_try_compile "$LINENO"; then :
5426 else
5427 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5428 CXXFLAGS="-g"
5429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5430 /* end confdefs.h. */
5433 main ()
5437 return 0;
5439 _ACEOF
5440 if ac_fn_cxx_try_compile "$LINENO"; then :
5441 ac_cv_prog_cxx_g=yes
5443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5448 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5451 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5452 if test "$ac_test_CXXFLAGS" = set; then
5453 CXXFLAGS=$ac_save_CXXFLAGS
5454 elif test $ac_cv_prog_cxx_g = yes; then
5455 if test "$GXX" = yes; then
5456 CXXFLAGS="-g -O2"
5457 else
5458 CXXFLAGS="-g"
5460 else
5461 if test "$GXX" = yes; then
5462 CXXFLAGS="-O2"
5463 else
5464 CXXFLAGS=
5467 ac_ext=c
5468 ac_cpp='$CPP $CPPFLAGS'
5469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5473 if test -n "$ac_tool_prefix"; then
5474 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5475 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_CPPBIN+:} false; then :
5479 $as_echo_n "(cached) " >&6
5480 else
5481 if test -n "$CPPBIN"; then
5482 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5483 else
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5491 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 break 2
5495 done
5496 done
5497 IFS=$as_save_IFS
5501 CPPBIN=$ac_cv_prog_CPPBIN
5502 if test -n "$CPPBIN"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5504 $as_echo "$CPPBIN" >&6; }
5505 else
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5512 if test -z "$ac_cv_prog_CPPBIN"; then
5513 ac_ct_CPPBIN=$CPPBIN
5514 # Extract the first word of "cpp", so it can be a program name with args.
5515 set dummy cpp; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5519 $as_echo_n "(cached) " >&6
5520 else
5521 if test -n "$ac_ct_CPPBIN"; then
5522 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5523 else
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $PATH
5527 IFS=$as_save_IFS
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531 ac_cv_prog_ac_ct_CPPBIN="cpp"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 break 2
5535 done
5536 done
5537 IFS=$as_save_IFS
5541 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5542 if test -n "$ac_ct_CPPBIN"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5544 $as_echo "$ac_ct_CPPBIN" >&6; }
5545 else
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5550 if test "x$ac_ct_CPPBIN" = x; then
5551 CPPBIN="cpp"
5552 else
5553 case $cross_compiling:$ac_tool_warned in
5554 yes:)
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5557 ac_tool_warned=yes ;;
5558 esac
5559 CPPBIN=$ac_ct_CPPBIN
5561 else
5562 CPPBIN="$ac_cv_prog_CPPBIN"
5566 cat >>confdefs.h <<_ACEOF
5567 #define EXEEXT "$ac_exeext"
5568 _ACEOF
5570 if test -n "$ac_tool_prefix"; then
5571 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5572 set dummy ${ac_tool_prefix}ld; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_LD+:} false; then :
5576 $as_echo_n "(cached) " >&6
5577 else
5578 if test -n "$LD"; then
5579 ac_cv_prog_LD="$LD" # Let the user override the test.
5580 else
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 for as_dir in $PATH
5584 IFS=$as_save_IFS
5585 test -z "$as_dir" && as_dir=.
5586 for ac_exec_ext in '' $ac_executable_extensions; do
5587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5588 ac_cv_prog_LD="${ac_tool_prefix}ld"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 break 2
5592 done
5593 done
5594 IFS=$as_save_IFS
5598 LD=$ac_cv_prog_LD
5599 if test -n "$LD"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5601 $as_echo "$LD" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5609 if test -z "$ac_cv_prog_LD"; then
5610 ac_ct_LD=$LD
5611 # Extract the first word of "ld", so it can be a program name with args.
5612 set dummy ld; ac_word=$2
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5614 $as_echo_n "checking for $ac_word... " >&6; }
5615 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5616 $as_echo_n "(cached) " >&6
5617 else
5618 if test -n "$ac_ct_LD"; then
5619 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5620 else
5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5622 for as_dir in $PATH
5624 IFS=$as_save_IFS
5625 test -z "$as_dir" && as_dir=.
5626 for ac_exec_ext in '' $ac_executable_extensions; do
5627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5628 ac_cv_prog_ac_ct_LD="ld"
5629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 break 2
5632 done
5633 done
5634 IFS=$as_save_IFS
5638 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5639 if test -n "$ac_ct_LD"; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5641 $as_echo "$ac_ct_LD" >&6; }
5642 else
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 $as_echo "no" >&6; }
5647 if test "x$ac_ct_LD" = x; then
5648 LD=""
5649 else
5650 case $cross_compiling:$ac_tool_warned in
5651 yes:)
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5654 ac_tool_warned=yes ;;
5655 esac
5656 LD=$ac_ct_LD
5658 else
5659 LD="$ac_cv_prog_LD"
5663 case $host in
5664 *-darwin*)
5665 with_fontconfig=${with_fontconfig:-no}
5667 *-mingw32*|*-cygwin*)
5668 enable_win16=${enable_win16:-no}
5669 with_mingw=${with_mingw:-no}
5670 CFLAGS="$CFLAGS -D_WIN32"
5672 esac
5675 case $host in
5676 x86_64*|amd64*)
5677 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5678 then
5679 CC="$CC -m32"
5680 CXX="$CXX -m32"
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5683 $as_echo_n "checking whether $CC works... " >&6; }
5684 if ${wine_cv_cc_m32+:} false; then :
5685 $as_echo_n "(cached) " >&6
5686 else
5687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5688 /* end confdefs.h. */
5691 main ()
5695 return 0;
5697 _ACEOF
5698 if ac_fn_c_try_link "$LINENO"; then :
5699 wine_cv_cc_m32=yes
5700 else
5701 wine_cv_cc_m32=no
5703 rm -f core conftest.err conftest.$ac_objext \
5704 conftest$ac_exeext conftest.$ac_ext
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5707 $as_echo "$wine_cv_cc_m32" >&6; }
5708 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
5709 host_cpu="i386"
5710 notice_platform="32-bit "
5711 TARGETFLAGS="$TARGETFLAGS -m32"
5712 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5713 export PKG_CONFIG_PATH
5714 enable_win16=${enable_win16:-yes}
5715 with_unwind=${with_unwind:-no}
5716 else
5717 if test "x${GCC}" = "xyes"
5718 then
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5720 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5721 if ${wine_cv_builtin_ms_va_list+:} false; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5725 /* end confdefs.h. */
5726 #include <stdarg.h>
5728 main ()
5730 void func(__builtin_ms_va_list *args);
5732 return 0;
5734 _ACEOF
5735 if ac_fn_c_try_compile "$LINENO"; then :
5736 wine_cv_builtin_ms_va_list=yes
5737 else
5738 wine_cv_builtin_ms_va_list=no
5740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5743 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5744 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
5746 CC="$CC -m64"
5747 CXX="$CXX -m64"
5748 host_cpu="x86_64"
5749 notice_platform="64-bit "
5750 TARGETFLAGS="$TARGETFLAGS -m64"
5751 enable_wow64cpu=${enable_wow64cpu:-yes}
5754 arm*)
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5756 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5757 if ${wine_cv_thumb2+:} false; then :
5758 $as_echo_n "(cached) " >&6
5759 else
5760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5761 /* end confdefs.h. */
5764 main ()
5766 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5768 return 0;
5770 _ACEOF
5771 if ac_fn_c_try_link "$LINENO"; then :
5772 wine_cv_thumb2=yes
5773 else
5774 wine_cv_thumb2=no
5776 rm -f core conftest.err conftest.$ac_objext \
5777 conftest$ac_exeext conftest.$ac_ext
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5780 $as_echo "$wine_cv_thumb2" >&6; }
5781 if test x"$wine_cv_thumb2" = xyes
5782 then
5783 CFLAGS="$CFLAGS -mthumb"
5784 TARGETFLAGS="$TARGETFLAGS -mthumb"
5785 else
5786 CFLAGS="$CFLAGS -marm"
5787 TARGETFLAGS="$TARGETFLAGS -marm"
5789 case $with_float_abi in
5790 soft|softfp|hard)
5791 float_abi=$with_float_abi ;;
5793 case $host_os in
5794 *eabihf)
5795 float_abi=hard ;;
5797 float_abi=softfp
5798 saved_CFLAGS=$CFLAGS
5799 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5801 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5802 if ${wine_cv_float_abi+:} false; then :
5803 $as_echo_n "(cached) " >&6
5804 else
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5809 main ()
5811 asm("vmrs r2,fpscr");
5813 return 0;
5815 _ACEOF
5816 if ac_fn_c_try_link "$LINENO"; then :
5817 wine_cv_float_abi=yes
5818 else
5819 wine_cv_float_abi=no
5821 rm -f core conftest.err conftest.$ac_objext \
5822 conftest$ac_exeext conftest.$ac_ext
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5825 $as_echo "$wine_cv_float_abi" >&6; }
5826 if test $wine_cv_float_abi = no
5827 then
5828 float_abi=soft
5829 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5831 CFLAGS=$saved_CFLAGS
5832 esac
5834 esac
5835 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5836 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5838 aarch64*)
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5840 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5841 if ${wine_cv_builtin_ms_va_list+:} false; then :
5842 $as_echo_n "(cached) " >&6
5843 else
5844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5845 /* end confdefs.h. */
5846 #include <stdarg.h>
5848 main ()
5850 void func(__builtin_ms_va_list *args);
5852 return 0;
5854 _ACEOF
5855 if ac_fn_c_try_compile "$LINENO"; then :
5856 wine_cv_builtin_ms_va_list=yes
5857 else
5858 wine_cv_builtin_ms_va_list=no
5860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5863 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5864 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5866 i[3456789]86*)
5867 enable_win16=${enable_win16:-yes}
5868 with_unwind=${with_unwind:-no}
5870 esac
5872 enable_win16=${enable_win16:-no}
5873 enable_win64=${enable_win64:-no}
5874 enable_wow64cpu=${enable_wow64cpu:-no}
5876 enable_winetest=${enable_winetest:-$enable_tests}
5878 if test "x$enable_win64" = "xyes"
5879 then
5880 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5881 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5884 case $host_cpu in
5885 *i[3456789]86*) ARCH="i386"
5887 *x86_64*) ARCH="x86_64"
5889 *aarch64*) ARCH="aarch64"
5891 *arm*) ARCH="arm"
5893 *) ARCH=""
5895 esac
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5898 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5899 if ${wine_cv_toolsdir+:} false; then :
5900 $as_echo_n "(cached) " >&6
5901 else
5902 wine_cv_toolsdir="$with_wine_tools"
5903 if test -z "$with_wine_tools"; then
5904 if test "$cross_compiling" = "yes"; then
5905 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5906 elif test -n "$with_wine64"; then
5907 wine_cv_toolsdir="$with_wine64"
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5912 $as_echo "$wine_cv_toolsdir" >&6; }
5913 if test -z "$wine_cv_toolsdir"; then
5914 wine_makedep=tools/makedep
5915 TOOLSDIR="."
5917 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5918 wine_makedep=$wine_cv_toolsdir/tools/makedep
5919 TOOLSDIR=$wine_cv_toolsdir
5921 enable_tools=${enable_tools:-no}
5922 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5923 else
5924 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5926 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5927 then
5928 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5931 for ac_prog in flex
5933 # Extract the first word of "$ac_prog", so it can be a program name with args.
5934 set dummy $ac_prog; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if ${ac_cv_prog_FLEX+:} false; then :
5938 $as_echo_n "(cached) " >&6
5939 else
5940 if test -n "$FLEX"; then
5941 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5942 else
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 for as_dir in $PATH
5946 IFS=$as_save_IFS
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950 ac_cv_prog_FLEX="$ac_prog"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 break 2
5954 done
5955 done
5956 IFS=$as_save_IFS
5960 FLEX=$ac_cv_prog_FLEX
5961 if test -n "$FLEX"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5963 $as_echo "$FLEX" >&6; }
5964 else
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5970 test -n "$FLEX" && break
5971 done
5972 test -n "$FLEX" || FLEX="none"
5974 if test "$FLEX" = "none"
5975 then
5976 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5979 $as_echo_n "checking whether flex is recent enough... " >&6; }
5980 if ${wine_cv_recent_flex+:} false; then :
5981 $as_echo_n "(cached) " >&6
5982 else
5983 cat >conftest.l <<EOF
5984 %top{
5985 #include "prediluvian.h"
5989 if $FLEX -t conftest.l >/dev/null 2>&5
5990 then
5991 wine_cv_recent_flex=yes
5992 else
5993 wine_cv_recent_flex=no
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5997 $as_echo "$wine_cv_recent_flex" >&6; }
5998 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
6000 for ac_prog in bison
6002 # Extract the first word of "$ac_prog", so it can be a program name with args.
6003 set dummy $ac_prog; ac_word=$2
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005 $as_echo_n "checking for $ac_word... " >&6; }
6006 if ${ac_cv_prog_BISON+:} false; then :
6007 $as_echo_n "(cached) " >&6
6008 else
6009 if test -n "$BISON"; then
6010 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6011 else
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 for as_dir in $PATH
6015 IFS=$as_save_IFS
6016 test -z "$as_dir" && as_dir=.
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6019 ac_cv_prog_BISON="$ac_prog"
6020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 break 2
6023 done
6024 done
6025 IFS=$as_save_IFS
6029 BISON=$ac_cv_prog_BISON
6030 if test -n "$BISON"; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6032 $as_echo "$BISON" >&6; }
6033 else
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035 $as_echo "no" >&6; }
6039 test -n "$BISON" && break
6040 done
6041 test -n "$BISON" || BISON="none"
6043 if test "$BISON" = "none"
6044 then
6045 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6048 $as_echo_n "checking whether bison is recent enough... " >&6; }
6049 if ${wine_cv_recent_bison+:} false; then :
6050 $as_echo_n "(cached) " >&6
6051 else
6052 cat >conftest.y <<EOF
6053 %define parse.error verbose
6055 empty: ;
6057 if $BISON conftest.y >/dev/null 2>&5
6058 then
6059 wine_cv_recent_bison=yes
6060 else
6061 wine_cv_recent_bison=no
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6065 $as_echo "$wine_cv_recent_bison" >&6; }
6066 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
6068 if test -n "$ac_tool_prefix"; then
6069 for ac_prog in ar gar
6071 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6072 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_AR+:} false; then :
6076 $as_echo_n "(cached) " >&6
6077 else
6078 if test -n "$AR"; then
6079 ac_cv_prog_AR="$AR" # Let the user override the test.
6080 else
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6084 IFS=$as_save_IFS
6085 test -z "$as_dir" && as_dir=.
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 AR=$ac_cv_prog_AR
6099 if test -n "$AR"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6101 $as_echo "$AR" >&6; }
6102 else
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6108 test -n "$AR" && break
6109 done
6111 if test -z "$AR"; then
6112 ac_ct_AR=$AR
6113 for ac_prog in ar gar
6115 # Extract the first word of "$ac_prog", so it can be a program name with args.
6116 set dummy $ac_prog; ac_word=$2
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6118 $as_echo_n "checking for $ac_word... " >&6; }
6119 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6120 $as_echo_n "(cached) " >&6
6121 else
6122 if test -n "$ac_ct_AR"; then
6123 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6124 else
6125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6126 for as_dir in $PATH
6128 IFS=$as_save_IFS
6129 test -z "$as_dir" && as_dir=.
6130 for ac_exec_ext in '' $ac_executable_extensions; do
6131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6132 ac_cv_prog_ac_ct_AR="$ac_prog"
6133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6134 break 2
6136 done
6137 done
6138 IFS=$as_save_IFS
6142 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6143 if test -n "$ac_ct_AR"; then
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6145 $as_echo "$ac_ct_AR" >&6; }
6146 else
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6148 $as_echo "no" >&6; }
6152 test -n "$ac_ct_AR" && break
6153 done
6155 if test "x$ac_ct_AR" = x; then
6156 AR="ar"
6157 else
6158 case $cross_compiling:$ac_tool_warned in
6159 yes:)
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6162 ac_tool_warned=yes ;;
6163 esac
6164 AR=$ac_ct_AR
6168 if test -n "$ac_tool_prefix"; then
6169 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6170 set dummy ${ac_tool_prefix}strip; ac_word=$2
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6172 $as_echo_n "checking for $ac_word... " >&6; }
6173 if ${ac_cv_prog_STRIP+:} false; then :
6174 $as_echo_n "(cached) " >&6
6175 else
6176 if test -n "$STRIP"; then
6177 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6178 else
6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180 for as_dir in $PATH
6182 IFS=$as_save_IFS
6183 test -z "$as_dir" && as_dir=.
6184 for ac_exec_ext in '' $ac_executable_extensions; do
6185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6186 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6188 break 2
6190 done
6191 done
6192 IFS=$as_save_IFS
6196 STRIP=$ac_cv_prog_STRIP
6197 if test -n "$STRIP"; then
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6199 $as_echo "$STRIP" >&6; }
6200 else
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202 $as_echo "no" >&6; }
6207 if test -z "$ac_cv_prog_STRIP"; then
6208 ac_ct_STRIP=$STRIP
6209 # Extract the first word of "strip", so it can be a program name with args.
6210 set dummy strip; ac_word=$2
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6212 $as_echo_n "checking for $ac_word... " >&6; }
6213 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6214 $as_echo_n "(cached) " >&6
6215 else
6216 if test -n "$ac_ct_STRIP"; then
6217 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6218 else
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 for as_dir in $PATH
6222 IFS=$as_save_IFS
6223 test -z "$as_dir" && as_dir=.
6224 for ac_exec_ext in '' $ac_executable_extensions; do
6225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6226 ac_cv_prog_ac_ct_STRIP="strip"
6227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6228 break 2
6230 done
6231 done
6232 IFS=$as_save_IFS
6236 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6237 if test -n "$ac_ct_STRIP"; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6239 $as_echo "$ac_ct_STRIP" >&6; }
6240 else
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6242 $as_echo "no" >&6; }
6245 if test "x$ac_ct_STRIP" = x; then
6246 STRIP="strip"
6247 else
6248 case $cross_compiling:$ac_tool_warned in
6249 yes:)
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6252 ac_tool_warned=yes ;;
6253 esac
6254 STRIP=$ac_ct_STRIP
6256 else
6257 STRIP="$ac_cv_prog_STRIP"
6260 if test -n "$ac_tool_prefix"; then
6261 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6262 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6264 $as_echo_n "checking for $ac_word... " >&6; }
6265 if ${ac_cv_prog_RANLIB+:} false; then :
6266 $as_echo_n "(cached) " >&6
6267 else
6268 if test -n "$RANLIB"; then
6269 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6270 else
6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6272 for as_dir in $PATH
6274 IFS=$as_save_IFS
6275 test -z "$as_dir" && as_dir=.
6276 for ac_exec_ext in '' $ac_executable_extensions; do
6277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6278 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6280 break 2
6282 done
6283 done
6284 IFS=$as_save_IFS
6288 RANLIB=$ac_cv_prog_RANLIB
6289 if test -n "$RANLIB"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6291 $as_echo "$RANLIB" >&6; }
6292 else
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6294 $as_echo "no" >&6; }
6299 if test -z "$ac_cv_prog_RANLIB"; then
6300 ac_ct_RANLIB=$RANLIB
6301 # Extract the first word of "ranlib", so it can be a program name with args.
6302 set dummy ranlib; ac_word=$2
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6304 $as_echo_n "checking for $ac_word... " >&6; }
6305 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6306 $as_echo_n "(cached) " >&6
6307 else
6308 if test -n "$ac_ct_RANLIB"; then
6309 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6310 else
6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6312 for as_dir in $PATH
6314 IFS=$as_save_IFS
6315 test -z "$as_dir" && as_dir=.
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6318 ac_cv_prog_ac_ct_RANLIB="ranlib"
6319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6320 break 2
6322 done
6323 done
6324 IFS=$as_save_IFS
6328 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6329 if test -n "$ac_ct_RANLIB"; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6331 $as_echo "$ac_ct_RANLIB" >&6; }
6332 else
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6334 $as_echo "no" >&6; }
6337 if test "x$ac_ct_RANLIB" = x; then
6338 RANLIB=":"
6339 else
6340 case $cross_compiling:$ac_tool_warned in
6341 yes:)
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6344 ac_tool_warned=yes ;;
6345 esac
6346 RANLIB=$ac_ct_RANLIB
6348 else
6349 RANLIB="$ac_cv_prog_RANLIB"
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6353 $as_echo_n "checking whether ln -s works... " >&6; }
6354 LN_S=$as_ln_s
6355 if test "$LN_S" = "ln -s"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6357 $as_echo "yes" >&6; }
6358 else
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6360 $as_echo "no, using $LN_S" >&6; }
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6364 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6365 if ${ac_cv_path_GREP+:} false; then :
6366 $as_echo_n "(cached) " >&6
6367 else
6368 if test -z "$GREP"; then
6369 ac_path_GREP_found=false
6370 # Loop through the user's path and test for each of PROGNAME-LIST
6371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6374 IFS=$as_save_IFS
6375 test -z "$as_dir" && as_dir=.
6376 for ac_prog in grep ggrep; do
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6379 as_fn_executable_p "$ac_path_GREP" || continue
6380 # Check for GNU ac_path_GREP and select it if it is found.
6381 # Check for GNU $ac_path_GREP
6382 case `"$ac_path_GREP" --version 2>&1` in
6383 *GNU*)
6384 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6386 ac_count=0
6387 $as_echo_n 0123456789 >"conftest.in"
6388 while :
6390 cat "conftest.in" "conftest.in" >"conftest.tmp"
6391 mv "conftest.tmp" "conftest.in"
6392 cp "conftest.in" "conftest.nl"
6393 $as_echo 'GREP' >> "conftest.nl"
6394 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6395 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6396 as_fn_arith $ac_count + 1 && ac_count=$as_val
6397 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6398 # Best one so far, save it but keep looking for a better one
6399 ac_cv_path_GREP="$ac_path_GREP"
6400 ac_path_GREP_max=$ac_count
6402 # 10*(2^10) chars as input seems more than enough
6403 test $ac_count -gt 10 && break
6404 done
6405 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6406 esac
6408 $ac_path_GREP_found && break 3
6409 done
6410 done
6411 done
6412 IFS=$as_save_IFS
6413 if test -z "$ac_cv_path_GREP"; then
6414 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6416 else
6417 ac_cv_path_GREP=$GREP
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6422 $as_echo "$ac_cv_path_GREP" >&6; }
6423 GREP="$ac_cv_path_GREP"
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6427 $as_echo_n "checking for egrep... " >&6; }
6428 if ${ac_cv_path_EGREP+:} false; then :
6429 $as_echo_n "(cached) " >&6
6430 else
6431 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6432 then ac_cv_path_EGREP="$GREP -E"
6433 else
6434 if test -z "$EGREP"; then
6435 ac_path_EGREP_found=false
6436 # Loop through the user's path and test for each of PROGNAME-LIST
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6440 IFS=$as_save_IFS
6441 test -z "$as_dir" && as_dir=.
6442 for ac_prog in egrep; do
6443 for ac_exec_ext in '' $ac_executable_extensions; do
6444 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6445 as_fn_executable_p "$ac_path_EGREP" || continue
6446 # Check for GNU ac_path_EGREP and select it if it is found.
6447 # Check for GNU $ac_path_EGREP
6448 case `"$ac_path_EGREP" --version 2>&1` in
6449 *GNU*)
6450 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6452 ac_count=0
6453 $as_echo_n 0123456789 >"conftest.in"
6454 while :
6456 cat "conftest.in" "conftest.in" >"conftest.tmp"
6457 mv "conftest.tmp" "conftest.in"
6458 cp "conftest.in" "conftest.nl"
6459 $as_echo 'EGREP' >> "conftest.nl"
6460 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6461 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6462 as_fn_arith $ac_count + 1 && ac_count=$as_val
6463 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6464 # Best one so far, save it but keep looking for a better one
6465 ac_cv_path_EGREP="$ac_path_EGREP"
6466 ac_path_EGREP_max=$ac_count
6468 # 10*(2^10) chars as input seems more than enough
6469 test $ac_count -gt 10 && break
6470 done
6471 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6472 esac
6474 $ac_path_EGREP_found && break 3
6475 done
6476 done
6477 done
6478 IFS=$as_save_IFS
6479 if test -z "$ac_cv_path_EGREP"; then
6480 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6482 else
6483 ac_cv_path_EGREP=$EGREP
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6489 $as_echo "$ac_cv_path_EGREP" >&6; }
6490 EGREP="$ac_cv_path_EGREP"
6493 # Extract the first word of "ldconfig", so it can be a program name with args.
6494 set dummy ldconfig; ac_word=$2
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496 $as_echo_n "checking for $ac_word... " >&6; }
6497 if ${ac_cv_path_LDCONFIG+:} false; then :
6498 $as_echo_n "(cached) " >&6
6499 else
6500 case $LDCONFIG in
6501 [\\/]* | ?:[\\/]*)
6502 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6506 for as_dir in /sbin /usr/sbin $PATH
6508 IFS=$as_save_IFS
6509 test -z "$as_dir" && as_dir=.
6510 for ac_exec_ext in '' $ac_executable_extensions; do
6511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6512 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6514 break 2
6516 done
6517 done
6518 IFS=$as_save_IFS
6520 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6522 esac
6524 LDCONFIG=$ac_cv_path_LDCONFIG
6525 if test -n "$LDCONFIG"; then
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6527 $as_echo "$LDCONFIG" >&6; }
6528 else
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6530 $as_echo "no" >&6; }
6534 for ac_prog in msgfmt
6536 # Extract the first word of "$ac_prog", so it can be a program name with args.
6537 set dummy $ac_prog; ac_word=$2
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6539 $as_echo_n "checking for $ac_word... " >&6; }
6540 if ${ac_cv_prog_MSGFMT+:} false; then :
6541 $as_echo_n "(cached) " >&6
6542 else
6543 if test -n "$MSGFMT"; then
6544 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6545 else
6546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6547 for as_dir in $PATH
6549 IFS=$as_save_IFS
6550 test -z "$as_dir" && as_dir=.
6551 for ac_exec_ext in '' $ac_executable_extensions; do
6552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6553 ac_cv_prog_MSGFMT="$ac_prog"
6554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6555 break 2
6557 done
6558 done
6559 IFS=$as_save_IFS
6563 MSGFMT=$ac_cv_prog_MSGFMT
6564 if test -n "$MSGFMT"; then
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6566 $as_echo "$MSGFMT" >&6; }
6567 else
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6569 $as_echo "no" >&6; }
6573 test -n "$MSGFMT" && break
6574 done
6575 test -n "$MSGFMT" || MSGFMT="false"
6577 if ${ac_tool_prefix+:} false; then :
6578 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6579 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6581 $as_echo_n "checking for $ac_word... " >&6; }
6582 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6583 $as_echo_n "(cached) " >&6
6584 else
6585 if test -n "$PKG_CONFIG"; then
6586 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6587 else
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 for as_dir in $PATH
6591 IFS=$as_save_IFS
6592 test -z "$as_dir" && as_dir=.
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6595 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6597 break 2
6599 done
6600 done
6601 IFS=$as_save_IFS
6605 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6606 if test -n "$PKG_CONFIG"; then
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6608 $as_echo "$PKG_CONFIG" >&6; }
6609 else
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611 $as_echo "no" >&6; }
6616 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6617 if test "x$cross_compiling" = xyes; then :
6619 else
6620 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6621 # Extract the first word of "pkg-config", so it can be a program name with args.
6622 set dummy pkg-config; ac_word=$2
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 $as_echo_n "checking for $ac_word... " >&6; }
6625 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6626 $as_echo_n "(cached) " >&6
6627 else
6628 if test -n "$PKG_CONFIG"; then
6629 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6630 else
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in $PATH
6634 IFS=$as_save_IFS
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6638 ac_cv_prog_PKG_CONFIG="pkg-config"
6639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 break 2
6642 done
6643 done
6644 IFS=$as_save_IFS
6648 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6649 if test -n "$PKG_CONFIG"; then
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6651 $as_echo "$PKG_CONFIG" >&6; }
6652 else
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654 $as_echo "no" >&6; }
6659 else
6660 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6663 if test "x$enable_maintainer_mode" != "xyes"
6664 then
6665 FONTFORGE=""
6666 RSVG=""
6667 CONVERT=""
6668 ICOTOOL=""
6669 else
6670 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6671 for ac_prog in fontforge
6673 # Extract the first word of "$ac_prog", so it can be a program name with args.
6674 set dummy $ac_prog; ac_word=$2
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676 $as_echo_n "checking for $ac_word... " >&6; }
6677 if ${ac_cv_prog_FONTFORGE+:} false; then :
6678 $as_echo_n "(cached) " >&6
6679 else
6680 if test -n "$FONTFORGE"; then
6681 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6682 else
6683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684 for as_dir in $PATH
6686 IFS=$as_save_IFS
6687 test -z "$as_dir" && as_dir=.
6688 for ac_exec_ext in '' $ac_executable_extensions; do
6689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6690 ac_cv_prog_FONTFORGE="$ac_prog"
6691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6692 break 2
6694 done
6695 done
6696 IFS=$as_save_IFS
6700 FONTFORGE=$ac_cv_prog_FONTFORGE
6701 if test -n "$FONTFORGE"; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6703 $as_echo "$FONTFORGE" >&6; }
6704 else
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6706 $as_echo "no" >&6; }
6710 test -n "$FONTFORGE" && break
6711 done
6712 test -n "$FONTFORGE" || FONTFORGE="false"
6714 for ac_prog in rsvg-convert rsvg
6716 # Extract the first word of "$ac_prog", so it can be a program name with args.
6717 set dummy $ac_prog; ac_word=$2
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6719 $as_echo_n "checking for $ac_word... " >&6; }
6720 if ${ac_cv_prog_RSVG+:} false; then :
6721 $as_echo_n "(cached) " >&6
6722 else
6723 if test -n "$RSVG"; then
6724 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6725 else
6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6727 for as_dir in $PATH
6729 IFS=$as_save_IFS
6730 test -z "$as_dir" && as_dir=.
6731 for ac_exec_ext in '' $ac_executable_extensions; do
6732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6733 ac_cv_prog_RSVG="$ac_prog"
6734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6735 break 2
6737 done
6738 done
6739 IFS=$as_save_IFS
6743 RSVG=$ac_cv_prog_RSVG
6744 if test -n "$RSVG"; then
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6746 $as_echo "$RSVG" >&6; }
6747 else
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6749 $as_echo "no" >&6; }
6753 test -n "$RSVG" && break
6754 done
6755 test -n "$RSVG" || RSVG="false"
6757 for ac_prog in convert
6759 # Extract the first word of "$ac_prog", so it can be a program name with args.
6760 set dummy $ac_prog; ac_word=$2
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6762 $as_echo_n "checking for $ac_word... " >&6; }
6763 if ${ac_cv_prog_CONVERT+:} false; then :
6764 $as_echo_n "(cached) " >&6
6765 else
6766 if test -n "$CONVERT"; then
6767 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6768 else
6769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770 for as_dir in $PATH
6772 IFS=$as_save_IFS
6773 test -z "$as_dir" && as_dir=.
6774 for ac_exec_ext in '' $ac_executable_extensions; do
6775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6776 ac_cv_prog_CONVERT="$ac_prog"
6777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6778 break 2
6780 done
6781 done
6782 IFS=$as_save_IFS
6786 CONVERT=$ac_cv_prog_CONVERT
6787 if test -n "$CONVERT"; then
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6789 $as_echo "$CONVERT" >&6; }
6790 else
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792 $as_echo "no" >&6; }
6796 test -n "$CONVERT" && break
6797 done
6798 test -n "$CONVERT" || CONVERT="false"
6800 for ac_prog in icotool
6802 # Extract the first word of "$ac_prog", so it can be a program name with args.
6803 set dummy $ac_prog; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_ICOTOOL+:} false; then :
6807 $as_echo_n "(cached) " >&6
6808 else
6809 if test -n "$ICOTOOL"; then
6810 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6811 else
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 for as_dir in $PATH
6815 IFS=$as_save_IFS
6816 test -z "$as_dir" && as_dir=.
6817 for ac_exec_ext in '' $ac_executable_extensions; do
6818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6819 ac_cv_prog_ICOTOOL="$ac_prog"
6820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6821 break 2
6823 done
6824 done
6825 IFS=$as_save_IFS
6829 ICOTOOL=$ac_cv_prog_ICOTOOL
6830 if test -n "$ICOTOOL"; then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6832 $as_echo "$ICOTOOL" >&6; }
6833 else
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6839 test -n "$ICOTOOL" && break
6840 done
6841 test -n "$ICOTOOL" || ICOTOOL="false"
6843 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6844 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6846 if test "$CONVERT" = false
6847 then
6848 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6849 else
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6851 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6852 convert_version=`convert --version | head -n1`
6853 if test "x$convert_version" != "x"
6854 then
6855 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6856 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6857 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6858 then
6859 CONVERT=false
6862 if test "$CONVERT" = false
6863 then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6865 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6866 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6867 else
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6869 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6873 if test "$ICOTOOL" = false
6874 then
6875 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6876 else
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6878 $as_echo_n "checking for recent enough icotool... " >&6; }
6879 icotool_version=`icotool --version | head -n1`
6880 if test "x$icotool_version" != "x"
6881 then
6882 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6883 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6884 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6885 then
6886 ICOTOOL=false
6887 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6890 if test "$ICOTOOL" = false
6891 then
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6893 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6894 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6895 else
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6897 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6901 with_gettext=yes
6902 with_gettextpo=yes
6904 enable_werror=yes
6907 test "x$with_gettext" != xno || MSGFMT=false
6908 if test "$MSGFMT" != "false"
6909 then
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6911 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6912 if ${wine_cv_msgfmt_contexts+:} false; then :
6913 $as_echo_n "(cached) " >&6
6914 else
6915 cat >conftest.po <<EOF
6916 # comment
6917 msgctxt "ctxt"
6918 msgid "id"
6919 msgstr "str"
6921 if $MSGFMT -o /dev/null conftest.po 2>&5
6922 then
6923 wine_cv_msgfmt_contexts=yes
6924 else
6925 wine_cv_msgfmt_contexts=no
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6929 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6930 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6932 if test "$MSGFMT" = false; then :
6933 case "x$with_gettext" in
6934 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6935 xno) ;;
6936 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6937 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6938 esac
6939 enable_po=${enable_po:-no}
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6944 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6945 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6946 $as_echo_n "(cached) " >&6
6947 else
6948 ac_check_lib_save_LIBS=$LIBS
6949 LIBS="-li386 $LIBS"
6950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6951 /* end confdefs.h. */
6953 /* Override any GCC internal prototype to avoid an error.
6954 Use char because int might match the return type of a GCC
6955 builtin and then its argument prototype would still apply. */
6956 #ifdef __cplusplus
6957 extern "C"
6958 #endif
6959 char i386_set_ldt ();
6961 main ()
6963 return i386_set_ldt ();
6965 return 0;
6967 _ACEOF
6968 if ac_fn_c_try_link "$LINENO"; then :
6969 ac_cv_lib_i386_i386_set_ldt=yes
6970 else
6971 ac_cv_lib_i386_i386_set_ldt=no
6973 rm -f core conftest.err conftest.$ac_objext \
6974 conftest$ac_exeext conftest.$ac_ext
6975 LIBS=$ac_check_lib_save_LIBS
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6978 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6979 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6980 I386_LIBS="-li386"
6985 OPENGL_LIBS=""
6989 # Check whether --enable-largefile was given.
6990 if test "${enable_largefile+set}" = set; then :
6991 enableval=$enable_largefile;
6994 if test "$enable_largefile" != no; then
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6997 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6998 if ${ac_cv_sys_largefile_CC+:} false; then :
6999 $as_echo_n "(cached) " >&6
7000 else
7001 ac_cv_sys_largefile_CC=no
7002 if test "$GCC" != yes; then
7003 ac_save_CC=$CC
7004 while :; do
7005 # IRIX 6.2 and later do not support large files by default,
7006 # so use the C compiler's -n32 option if that helps.
7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7009 #include <sys/types.h>
7010 /* Check that off_t can represent 2**63 - 1 correctly.
7011 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7012 since some C++ compilers masquerading as C compilers
7013 incorrectly reject 9223372036854775807. */
7014 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7015 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7016 && LARGE_OFF_T % 2147483647 == 1)
7017 ? 1 : -1];
7019 main ()
7023 return 0;
7025 _ACEOF
7026 if ac_fn_c_try_compile "$LINENO"; then :
7027 break
7029 rm -f core conftest.err conftest.$ac_objext
7030 CC="$CC -n32"
7031 if ac_fn_c_try_compile "$LINENO"; then :
7032 ac_cv_sys_largefile_CC=' -n32'; break
7034 rm -f core conftest.err conftest.$ac_objext
7035 break
7036 done
7037 CC=$ac_save_CC
7038 rm -f conftest.$ac_ext
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7042 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7043 if test "$ac_cv_sys_largefile_CC" != no; then
7044 CC=$CC$ac_cv_sys_largefile_CC
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7048 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7049 if ${ac_cv_sys_file_offset_bits+:} false; then :
7050 $as_echo_n "(cached) " >&6
7051 else
7052 while :; do
7053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7054 /* end confdefs.h. */
7055 #include <sys/types.h>
7056 /* Check that off_t can represent 2**63 - 1 correctly.
7057 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7058 since some C++ compilers masquerading as C compilers
7059 incorrectly reject 9223372036854775807. */
7060 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7061 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7062 && LARGE_OFF_T % 2147483647 == 1)
7063 ? 1 : -1];
7065 main ()
7069 return 0;
7071 _ACEOF
7072 if ac_fn_c_try_compile "$LINENO"; then :
7073 ac_cv_sys_file_offset_bits=no; break
7075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7077 /* end confdefs.h. */
7078 #define _FILE_OFFSET_BITS 64
7079 #include <sys/types.h>
7080 /* Check that off_t can represent 2**63 - 1 correctly.
7081 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7082 since some C++ compilers masquerading as C compilers
7083 incorrectly reject 9223372036854775807. */
7084 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7085 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7086 && LARGE_OFF_T % 2147483647 == 1)
7087 ? 1 : -1];
7089 main ()
7093 return 0;
7095 _ACEOF
7096 if ac_fn_c_try_compile "$LINENO"; then :
7097 ac_cv_sys_file_offset_bits=64; break
7099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7100 ac_cv_sys_file_offset_bits=unknown
7101 break
7102 done
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7105 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7106 case $ac_cv_sys_file_offset_bits in #(
7107 no | unknown) ;;
7109 cat >>confdefs.h <<_ACEOF
7110 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7111 _ACEOF
7113 esac
7114 rm -rf conftest*
7115 if test $ac_cv_sys_file_offset_bits = unknown; then
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7117 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7118 if ${ac_cv_sys_large_files+:} false; then :
7119 $as_echo_n "(cached) " >&6
7120 else
7121 while :; do
7122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7123 /* end confdefs.h. */
7124 #include <sys/types.h>
7125 /* Check that off_t can represent 2**63 - 1 correctly.
7126 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7127 since some C++ compilers masquerading as C compilers
7128 incorrectly reject 9223372036854775807. */
7129 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7130 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7131 && LARGE_OFF_T % 2147483647 == 1)
7132 ? 1 : -1];
7134 main ()
7138 return 0;
7140 _ACEOF
7141 if ac_fn_c_try_compile "$LINENO"; then :
7142 ac_cv_sys_large_files=no; break
7144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7146 /* end confdefs.h. */
7147 #define _LARGE_FILES 1
7148 #include <sys/types.h>
7149 /* Check that off_t can represent 2**63 - 1 correctly.
7150 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7151 since some C++ compilers masquerading as C compilers
7152 incorrectly reject 9223372036854775807. */
7153 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7154 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7155 && LARGE_OFF_T % 2147483647 == 1)
7156 ? 1 : -1];
7158 main ()
7162 return 0;
7164 _ACEOF
7165 if ac_fn_c_try_compile "$LINENO"; then :
7166 ac_cv_sys_large_files=1; break
7168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7169 ac_cv_sys_large_files=unknown
7170 break
7171 done
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7174 $as_echo "$ac_cv_sys_large_files" >&6; }
7175 case $ac_cv_sys_large_files in #(
7176 no | unknown) ;;
7178 cat >>confdefs.h <<_ACEOF
7179 #define _LARGE_FILES $ac_cv_sys_large_files
7180 _ACEOF
7182 esac
7183 rm -rf conftest*
7190 ac_ext=c
7191 ac_cpp='$CPP $CPPFLAGS'
7192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7196 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7197 # On Suns, sometimes $CPP names a directory.
7198 if test -n "$CPP" && test -d "$CPP"; then
7199 CPP=
7201 if test -z "$CPP"; then
7202 if ${ac_cv_prog_CPP+:} false; then :
7203 $as_echo_n "(cached) " >&6
7204 else
7205 # Double quotes because CPP needs to be expanded
7206 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7208 ac_preproc_ok=false
7209 for ac_c_preproc_warn_flag in '' yes
7211 # Use a header file that comes with gcc, so configuring glibc
7212 # with a fresh cross-compiler works.
7213 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7214 # <limits.h> exists even on freestanding compilers.
7215 # On the NeXT, cc -E runs the code through the compiler's parser,
7216 # not just through cpp. "Syntax error" is here to catch this case.
7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7219 #ifdef __STDC__
7220 # include <limits.h>
7221 #else
7222 # include <assert.h>
7223 #endif
7224 Syntax error
7225 _ACEOF
7226 if ac_fn_c_try_cpp "$LINENO"; then :
7228 else
7229 # Broken: fails on valid input.
7230 continue
7232 rm -f conftest.err conftest.i conftest.$ac_ext
7234 # OK, works on sane cases. Now check whether nonexistent headers
7235 # can be detected and how.
7236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7237 /* end confdefs.h. */
7238 #include <ac_nonexistent.h>
7239 _ACEOF
7240 if ac_fn_c_try_cpp "$LINENO"; then :
7241 # Broken: success on invalid input.
7242 continue
7243 else
7244 # Passes both tests.
7245 ac_preproc_ok=:
7246 break
7248 rm -f conftest.err conftest.i conftest.$ac_ext
7250 done
7251 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7252 rm -f conftest.i conftest.err conftest.$ac_ext
7253 if $ac_preproc_ok; then :
7254 break
7257 done
7258 ac_cv_prog_CPP=$CPP
7261 CPP=$ac_cv_prog_CPP
7262 else
7263 ac_cv_prog_CPP=$CPP
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7266 $as_echo "$CPP" >&6; }
7267 ac_preproc_ok=false
7268 for ac_c_preproc_warn_flag in '' yes
7270 # Use a header file that comes with gcc, so configuring glibc
7271 # with a fresh cross-compiler works.
7272 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7273 # <limits.h> exists even on freestanding compilers.
7274 # On the NeXT, cc -E runs the code through the compiler's parser,
7275 # not just through cpp. "Syntax error" is here to catch this case.
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7278 #ifdef __STDC__
7279 # include <limits.h>
7280 #else
7281 # include <assert.h>
7282 #endif
7283 Syntax error
7284 _ACEOF
7285 if ac_fn_c_try_cpp "$LINENO"; then :
7287 else
7288 # Broken: fails on valid input.
7289 continue
7291 rm -f conftest.err conftest.i conftest.$ac_ext
7293 # OK, works on sane cases. Now check whether nonexistent headers
7294 # can be detected and how.
7295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7296 /* end confdefs.h. */
7297 #include <ac_nonexistent.h>
7298 _ACEOF
7299 if ac_fn_c_try_cpp "$LINENO"; then :
7300 # Broken: success on invalid input.
7301 continue
7302 else
7303 # Passes both tests.
7304 ac_preproc_ok=:
7305 break
7307 rm -f conftest.err conftest.i conftest.$ac_ext
7309 done
7310 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7311 rm -f conftest.i conftest.err conftest.$ac_ext
7312 if $ac_preproc_ok; then :
7314 else
7315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7317 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7318 See \`config.log' for more details" "$LINENO" 5; }
7321 ac_ext=c
7322 ac_cpp='$CPP $CPPFLAGS'
7323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7329 $as_echo_n "checking for ANSI C header files... " >&6; }
7330 if ${ac_cv_header_stdc+:} false; then :
7331 $as_echo_n "(cached) " >&6
7332 else
7333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7334 /* end confdefs.h. */
7335 #include <stdlib.h>
7336 #include <stdarg.h>
7337 #include <string.h>
7338 #include <float.h>
7341 main ()
7345 return 0;
7347 _ACEOF
7348 if ac_fn_c_try_compile "$LINENO"; then :
7349 ac_cv_header_stdc=yes
7350 else
7351 ac_cv_header_stdc=no
7353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7355 if test $ac_cv_header_stdc = yes; then
7356 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7358 /* end confdefs.h. */
7359 #include <string.h>
7361 _ACEOF
7362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7363 $EGREP "memchr" >/dev/null 2>&1; then :
7365 else
7366 ac_cv_header_stdc=no
7368 rm -f conftest*
7372 if test $ac_cv_header_stdc = yes; then
7373 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7375 /* end confdefs.h. */
7376 #include <stdlib.h>
7378 _ACEOF
7379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7380 $EGREP "free" >/dev/null 2>&1; then :
7382 else
7383 ac_cv_header_stdc=no
7385 rm -f conftest*
7389 if test $ac_cv_header_stdc = yes; then
7390 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7391 if test "$cross_compiling" = yes; then :
7393 else
7394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7395 /* end confdefs.h. */
7396 #include <ctype.h>
7397 #include <stdlib.h>
7398 #if ((' ' & 0x0FF) == 0x020)
7399 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7400 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7401 #else
7402 # define ISLOWER(c) \
7403 (('a' <= (c) && (c) <= 'i') \
7404 || ('j' <= (c) && (c) <= 'r') \
7405 || ('s' <= (c) && (c) <= 'z'))
7406 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7407 #endif
7409 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7411 main ()
7413 int i;
7414 for (i = 0; i < 256; i++)
7415 if (XOR (islower (i), ISLOWER (i))
7416 || toupper (i) != TOUPPER (i))
7417 return 2;
7418 return 0;
7420 _ACEOF
7421 if ac_fn_c_try_run "$LINENO"; then :
7423 else
7424 ac_cv_header_stdc=no
7426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7427 conftest.$ac_objext conftest.beam conftest.$ac_ext
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7433 $as_echo "$ac_cv_header_stdc" >&6; }
7434 if test $ac_cv_header_stdc = yes; then
7436 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7440 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7441 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7442 inttypes.h stdint.h unistd.h
7443 do :
7444 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7445 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7447 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7448 cat >>confdefs.h <<_ACEOF
7449 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7450 _ACEOF
7454 done
7457 for ac_header in \
7458 AL/al.h \
7459 ApplicationServices/ApplicationServices.h \
7460 CL/cl.h \
7461 Carbon/Carbon.h \
7462 CommonCrypto/CommonCryptor.h \
7463 CoreAudio/CoreAudio.h \
7464 DiskArbitration/DiskArbitration.h \
7465 EGL/egl.h \
7466 IOKit/IOKitLib.h \
7467 IOKit/hid/IOHIDLib.h \
7468 OpenAL/al.h \
7469 OpenCL/opencl.h \
7470 QuickTime/ImageCompression.h \
7471 Security/Security.h \
7472 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7473 SystemConfiguration/SCNetworkConfiguration.h \
7474 alias.h \
7475 arpa/inet.h \
7476 arpa/nameser.h \
7477 asm/types.h \
7478 asm/user.h \
7479 dirent.h \
7480 dlfcn.h \
7481 elf.h \
7482 float.h \
7483 fnmatch.h \
7484 getopt.h \
7485 gettext-po.h \
7486 grp.h \
7487 gsm.h \
7488 gsm/gsm.h \
7489 ieeefp.h \
7490 inet/mib2.h \
7491 kstat.h \
7492 libproc.h \
7493 link.h \
7494 linux/cdrom.h \
7495 linux/filter.h \
7496 linux/hdreg.h \
7497 linux/hidraw.h \
7498 linux/input.h \
7499 linux/ioctl.h \
7500 linux/joystick.h \
7501 linux/major.h \
7502 linux/param.h \
7503 linux/serial.h \
7504 linux/types.h \
7505 linux/ucdrom.h \
7506 lwp.h \
7507 mach-o/loader.h \
7508 mach/mach.h \
7509 machine/cpu.h \
7510 machine/sysarch.h \
7511 mntent.h \
7512 netdb.h \
7513 netinet/in.h \
7514 netinet/in_systm.h \
7515 netinet/tcp.h \
7516 netinet/tcp_fsm.h \
7517 pcap/pcap.h \
7518 poll.h \
7519 port.h \
7520 pthread.h \
7521 pwd.h \
7522 sasl/sasl.h \
7523 sched.h \
7524 scsi/scsi.h \
7525 scsi/scsi_ioctl.h \
7526 scsi/sg.h \
7527 stdint.h \
7528 stropts.h \
7529 sys/attr.h \
7530 sys/auxv.h \
7531 sys/cdio.h \
7532 sys/epoll.h \
7533 sys/event.h \
7534 sys/filio.h \
7535 sys/ioctl.h \
7536 sys/ipc.h \
7537 sys/link.h \
7538 sys/mman.h \
7539 sys/modem.h \
7540 sys/msg.h \
7541 sys/mtio.h \
7542 sys/param.h \
7543 sys/poll.h \
7544 sys/prctl.h \
7545 sys/protosw.h \
7546 sys/ptrace.h \
7547 sys/queue.h \
7548 sys/random.h \
7549 sys/resource.h \
7550 sys/scsiio.h \
7551 sys/shm.h \
7552 sys/signal.h \
7553 sys/socket.h \
7554 sys/socketvar.h \
7555 sys/sockio.h \
7556 sys/statvfs.h \
7557 sys/strtio.h \
7558 sys/syscall.h \
7559 sys/sysinfo.h \
7560 sys/tihdr.h \
7561 sys/time.h \
7562 sys/timeout.h \
7563 sys/times.h \
7564 sys/uio.h \
7565 sys/user.h \
7566 sys/utsname.h \
7567 sys/vnode.h \
7568 sys/wait.h \
7569 syscall.h \
7570 termios.h \
7571 unistd.h \
7572 utime.h \
7573 valgrind/memcheck.h \
7574 valgrind/valgrind.h
7576 do :
7577 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7578 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7579 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7580 cat >>confdefs.h <<_ACEOF
7581 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7582 _ACEOF
7586 done
7588 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7589 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7591 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7596 if test $ac_cv_header_sys_mkdev_h = no; then
7597 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7598 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7600 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7607 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7608 if ${ac_cv_header_stat_broken+:} false; then :
7609 $as_echo_n "(cached) " >&6
7610 else
7611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7612 /* end confdefs.h. */
7613 #include <sys/types.h>
7614 #include <sys/stat.h>
7616 #if defined S_ISBLK && defined S_IFDIR
7617 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7618 #endif
7620 #if defined S_ISBLK && defined S_IFCHR
7621 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7622 #endif
7624 #if defined S_ISLNK && defined S_IFREG
7625 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7626 #endif
7628 #if defined S_ISSOCK && defined S_IFREG
7629 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7630 #endif
7632 _ACEOF
7633 if ac_fn_c_try_compile "$LINENO"; then :
7634 ac_cv_header_stat_broken=no
7635 else
7636 ac_cv_header_stat_broken=yes
7638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7641 $as_echo "$ac_cv_header_stat_broken" >&6; }
7642 if test $ac_cv_header_stat_broken = yes; then
7644 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7650 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7651 do :
7652 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7653 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7654 #ifdef HAVE_SYS_PARAM_H
7655 # include <sys/param.h>
7656 #endif
7658 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7659 cat >>confdefs.h <<_ACEOF
7660 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7661 _ACEOF
7665 done
7668 saved_sysctl_h_CFLAGS=$CFLAGS
7669 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7670 for ac_header in sys/sysctl.h
7671 do :
7672 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7673 #ifdef HAVE_SYS_PARAM_H
7674 # include <sys/param.h>
7675 #endif
7677 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7678 cat >>confdefs.h <<_ACEOF
7679 #define HAVE_SYS_SYSCTL_H 1
7680 _ACEOF
7684 done
7686 CFLAGS=$saved_sysctl_h_CFLAGS
7688 for ac_header in \
7689 netinet/ip.h \
7690 net/if.h \
7691 net/if_arp.h \
7692 net/if_dl.h \
7693 net/if_types.h \
7694 net/route.h \
7695 netinet/if_ether.h \
7696 netinet/if_inarp.h \
7697 netinet/in_pcb.h \
7698 netinet/ip_icmp.h \
7699 netinet/ip_var.h \
7700 netinet/udp.h \
7701 netipx/ipx.h \
7702 sys/un.h \
7704 do :
7705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7706 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7707 #ifdef HAVE_SYS_SOCKET_H
7708 # include <sys/socket.h>
7709 #endif
7710 #ifdef HAVE_SYS_SOCKETVAR_H
7711 # include <sys/socketvar.h>
7712 #endif
7713 #ifdef HAVE_NET_ROUTE_H
7714 # include <net/route.h>
7715 #endif
7716 #ifdef HAVE_NETINET_IN_H
7717 # include <netinet/in.h>
7718 #endif
7719 #ifdef HAVE_NETINET_IN_SYSTM_H
7720 # include <netinet/in_systm.h>
7721 #endif
7722 #ifdef HAVE_NET_IF_H
7723 # include <net/if.h>
7724 #endif
7725 #ifdef HAVE_NETINET_IP_H
7726 # include <netinet/ip.h>
7727 #endif
7729 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7730 cat >>confdefs.h <<_ACEOF
7731 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7732 _ACEOF
7736 done
7739 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7740 do :
7741 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7742 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7743 #ifdef HAVE_ALIAS_H
7744 # include <alias.h>
7745 #endif
7746 #ifdef HAVE_SYS_SOCKET_H
7747 # include <sys/socket.h>
7748 #endif
7749 #ifdef HAVE_SYS_SOCKETVAR_H
7750 # include <sys/socketvar.h>
7751 #endif
7752 #ifdef HAVE_SYS_TIMEOUT_H
7753 # include <sys/timeout.h>
7754 #endif
7755 #ifdef HAVE_NETINET_IN_H
7756 # include <netinet/in.h>
7757 #endif
7758 #ifdef HAVE_NETINET_IN_SYSTM_H
7759 # include <netinet/in_systm.h>
7760 #endif
7761 #ifdef HAVE_NETINET_IP_H
7762 # include <netinet/ip.h>
7763 #endif
7764 #ifdef HAVE_NETINET_IP_VAR_H
7765 # include <netinet/ip_var.h>
7766 #endif
7767 #ifdef HAVE_NETINET_IP_ICMP_H
7768 # include <netinet/ip_icmp.h>
7769 #endif
7770 #ifdef HAVE_NETINET_UDP_H
7771 # include <netinet/udp.h>
7772 #endif
7773 #ifdef HAVE_NETINET_TCP_H
7774 # include <netinet/tcp.h>
7775 #endif
7776 #ifdef HAVE_NETINET_TCP_TIMER_H
7777 #include <netinet/tcp_timer.h>
7778 #endif
7780 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7781 cat >>confdefs.h <<_ACEOF
7782 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7783 _ACEOF
7787 done
7790 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7791 do :
7792 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7793 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7794 #ifdef HAVE_ASM_TYPES_H
7795 # include <asm/types.h>
7796 #endif
7797 #ifdef HAVE_SYS_SOCKET_H
7798 # include <sys/socket.h>
7799 #endif
7800 #ifdef HAVE_LINUX_TYPES_H
7801 # include <linux/types.h>
7802 #endif
7804 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7805 cat >>confdefs.h <<_ACEOF
7806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7807 _ACEOF
7811 done
7814 for ac_header in resolv.h
7815 do :
7816 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7817 #ifdef HAVE_SYS_SOCKET_H
7818 # include <sys/socket.h>
7819 #endif
7820 #ifdef HAVE_NETINET_IN_H
7821 # include <netinet/in.h>
7822 #endif
7823 #ifdef HAVE_ARPA_NAMESER_H
7824 # include <arpa/nameser.h>
7825 #endif
7827 if test "x$ac_cv_header_resolv_h" = xyes; then :
7828 cat >>confdefs.h <<_ACEOF
7829 #define HAVE_RESOLV_H 1
7830 _ACEOF
7834 done
7837 for ac_header in ifaddrs.h
7838 do :
7839 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7841 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7842 cat >>confdefs.h <<_ACEOF
7843 #define HAVE_IFADDRS_H 1
7844 _ACEOF
7848 done
7851 for ac_header in sys/ucontext.h
7852 do :
7853 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7855 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7856 cat >>confdefs.h <<_ACEOF
7857 #define HAVE_SYS_UCONTEXT_H 1
7858 _ACEOF
7862 done
7865 for ac_header in sys/thr.h
7866 do :
7867 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7868 #ifdef HAVE_SYS_UCONTEXT_H
7869 #include <sys/ucontext.h>
7870 #endif
7872 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7873 cat >>confdefs.h <<_ACEOF
7874 #define HAVE_SYS_THR_H 1
7875 _ACEOF
7879 done
7882 for ac_header in pthread_np.h
7883 do :
7884 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7885 #include <pthread.h>
7886 #endif
7888 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7889 cat >>confdefs.h <<_ACEOF
7890 #define HAVE_PTHREAD_NP_H 1
7891 _ACEOF
7895 done
7898 for ac_header in linux/videodev2.h
7899 do :
7900 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7901 #include <sys/time.h>
7902 #endif
7903 #include <sys/types.h>
7904 #ifdef HAVE_ASM_TYPES_H
7905 #include <asm/types.h>
7906 #endif
7908 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7909 cat >>confdefs.h <<_ACEOF
7910 #define HAVE_LINUX_VIDEODEV2_H 1
7911 _ACEOF
7915 done
7918 for ac_header in libprocstat.h
7919 do :
7920 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7921 #include <sys/param.h>
7922 #endif
7923 #ifdef HAVE_SYS_QUEUE_H
7924 #include <sys/queue.h>
7925 #endif
7926 #ifdef HAVE_SYS_SOCKET_H
7927 #include <sys/socket.h>
7928 #endif
7930 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7931 cat >>confdefs.h <<_ACEOF
7932 #define HAVE_LIBPROCSTAT_H 1
7933 _ACEOF
7937 done
7941 DLLFLAGS="-D_REENTRANT"
7943 LDDLLFLAGS=""
7945 LDEXECFLAGS=""
7947 TOP_INSTALL_LIB=""
7949 TOP_INSTALL_DEV=""
7951 WINELOADER_LDFLAGS=""
7953 WINEPRELOADER_LDFLAGS=""
7955 LIBEXT="so"
7956 DLLEXT=".so"
7957 # Extract the first word of "ldd", so it can be a program name with args.
7958 set dummy ldd; ac_word=$2
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7960 $as_echo_n "checking for $ac_word... " >&6; }
7961 if ${ac_cv_path_LDD+:} false; then :
7962 $as_echo_n "(cached) " >&6
7963 else
7964 case $LDD in
7965 [\\/]* | ?:[\\/]*)
7966 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7970 as_dummy="/sbin:/usr/sbin:$PATH"
7971 for as_dir in $as_dummy
7973 IFS=$as_save_IFS
7974 test -z "$as_dir" && as_dir=.
7975 for ac_exec_ext in '' $ac_executable_extensions; do
7976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7977 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7979 break 2
7981 done
7982 done
7983 IFS=$as_save_IFS
7985 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7987 esac
7989 LDD=$ac_cv_path_LDD
7990 if test -n "$LDD"; then
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7992 $as_echo "$LDD" >&6; }
7993 else
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7995 $as_echo "no" >&6; }
7999 if test -n "$ac_tool_prefix"; then
8000 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8001 set dummy ${ac_tool_prefix}otool; ac_word=$2
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8003 $as_echo_n "checking for $ac_word... " >&6; }
8004 if ${ac_cv_prog_OTOOL+:} false; then :
8005 $as_echo_n "(cached) " >&6
8006 else
8007 if test -n "$OTOOL"; then
8008 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8009 else
8010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8011 for as_dir in $PATH
8013 IFS=$as_save_IFS
8014 test -z "$as_dir" && as_dir=.
8015 for ac_exec_ext in '' $ac_executable_extensions; do
8016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8017 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8019 break 2
8021 done
8022 done
8023 IFS=$as_save_IFS
8027 OTOOL=$ac_cv_prog_OTOOL
8028 if test -n "$OTOOL"; then
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8030 $as_echo "$OTOOL" >&6; }
8031 else
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8033 $as_echo "no" >&6; }
8038 if test -z "$ac_cv_prog_OTOOL"; then
8039 ac_ct_OTOOL=$OTOOL
8040 # Extract the first word of "otool", so it can be a program name with args.
8041 set dummy otool; ac_word=$2
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8043 $as_echo_n "checking for $ac_word... " >&6; }
8044 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8045 $as_echo_n "(cached) " >&6
8046 else
8047 if test -n "$ac_ct_OTOOL"; then
8048 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8049 else
8050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8051 for as_dir in $PATH
8053 IFS=$as_save_IFS
8054 test -z "$as_dir" && as_dir=.
8055 for ac_exec_ext in '' $ac_executable_extensions; do
8056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8057 ac_cv_prog_ac_ct_OTOOL="otool"
8058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8059 break 2
8061 done
8062 done
8063 IFS=$as_save_IFS
8067 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8068 if test -n "$ac_ct_OTOOL"; then
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8070 $as_echo "$ac_ct_OTOOL" >&6; }
8071 else
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8073 $as_echo "no" >&6; }
8076 if test "x$ac_ct_OTOOL" = x; then
8077 OTOOL="otool"
8078 else
8079 case $cross_compiling:$ac_tool_warned in
8080 yes:)
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8083 ac_tool_warned=yes ;;
8084 esac
8085 OTOOL=$ac_ct_OTOOL
8087 else
8088 OTOOL="$ac_cv_prog_OTOOL"
8091 if test -n "$ac_tool_prefix"; then
8092 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8093 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8095 $as_echo_n "checking for $ac_word... " >&6; }
8096 if ${ac_cv_prog_READELF+:} false; then :
8097 $as_echo_n "(cached) " >&6
8098 else
8099 if test -n "$READELF"; then
8100 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8101 else
8102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8103 for as_dir in $PATH
8105 IFS=$as_save_IFS
8106 test -z "$as_dir" && as_dir=.
8107 for ac_exec_ext in '' $ac_executable_extensions; do
8108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8109 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8111 break 2
8113 done
8114 done
8115 IFS=$as_save_IFS
8119 READELF=$ac_cv_prog_READELF
8120 if test -n "$READELF"; then
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8122 $as_echo "$READELF" >&6; }
8123 else
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8130 if test -z "$ac_cv_prog_READELF"; then
8131 ac_ct_READELF=$READELF
8132 # Extract the first word of "readelf", so it can be a program name with args.
8133 set dummy readelf; ac_word=$2
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8135 $as_echo_n "checking for $ac_word... " >&6; }
8136 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8137 $as_echo_n "(cached) " >&6
8138 else
8139 if test -n "$ac_ct_READELF"; then
8140 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8141 else
8142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8143 for as_dir in $PATH
8145 IFS=$as_save_IFS
8146 test -z "$as_dir" && as_dir=.
8147 for ac_exec_ext in '' $ac_executable_extensions; do
8148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8149 ac_cv_prog_ac_ct_READELF="readelf"
8150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8151 break 2
8153 done
8154 done
8155 IFS=$as_save_IFS
8159 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8160 if test -n "$ac_ct_READELF"; then
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8162 $as_echo "$ac_ct_READELF" >&6; }
8163 else
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8165 $as_echo "no" >&6; }
8168 if test "x$ac_ct_READELF" = x; then
8169 READELF="true"
8170 else
8171 case $cross_compiling:$ac_tool_warned in
8172 yes:)
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8175 ac_tool_warned=yes ;;
8176 esac
8177 READELF=$ac_ct_READELF
8179 else
8180 READELF="$ac_cv_prog_READELF"
8183 wine_rules_file=conf$$rules.make
8184 rm -f $wine_rules_file
8185 SUBDIRS=""
8187 DISABLED_SUBDIRS=""
8189 CONFIGURE_TARGETS=""
8192 wine_fn_append_file ()
8194 as_fn_append $1 " \\$as_nl $2"
8197 wine_fn_append_rule ()
8199 $as_echo "$1" >>$wine_rules_file
8202 wine_fn_config_makefile ()
8204 wine_fn_append_file SUBDIRS $1
8205 if eval test \"x\$"$2"\" = x"no"; then :
8206 wine_fn_append_file DISABLED_SUBDIRS $1
8210 wine_fn_config_symlink ()
8212 ac_links=$@
8213 wine_fn_append_rule \
8214 "$ac_links:
8215 @./config.status \$@"
8216 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8219 wine_binary="wine"
8220 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8221 WINELOADER_PROGRAMS="$wine_binary"
8223 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8225 case $host_os in
8226 cygwin*|mingw32*)
8227 if test -n "$ac_tool_prefix"; then
8228 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8229 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8231 $as_echo_n "checking for $ac_word... " >&6; }
8232 if ${ac_cv_prog_DLLTOOL+:} false; then :
8233 $as_echo_n "(cached) " >&6
8234 else
8235 if test -n "$DLLTOOL"; then
8236 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8237 else
8238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8239 for as_dir in $PATH
8241 IFS=$as_save_IFS
8242 test -z "$as_dir" && as_dir=.
8243 for ac_exec_ext in '' $ac_executable_extensions; do
8244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8245 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8247 break 2
8249 done
8250 done
8251 IFS=$as_save_IFS
8255 DLLTOOL=$ac_cv_prog_DLLTOOL
8256 if test -n "$DLLTOOL"; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8258 $as_echo "$DLLTOOL" >&6; }
8259 else
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8261 $as_echo "no" >&6; }
8266 if test -z "$ac_cv_prog_DLLTOOL"; then
8267 ac_ct_DLLTOOL=$DLLTOOL
8268 # Extract the first word of "dlltool", so it can be a program name with args.
8269 set dummy dlltool; ac_word=$2
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8271 $as_echo_n "checking for $ac_word... " >&6; }
8272 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 if test -n "$ac_ct_DLLTOOL"; then
8276 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8277 else
8278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8279 for as_dir in $PATH
8281 IFS=$as_save_IFS
8282 test -z "$as_dir" && as_dir=.
8283 for ac_exec_ext in '' $ac_executable_extensions; do
8284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8285 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8287 break 2
8289 done
8290 done
8291 IFS=$as_save_IFS
8295 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8296 if test -n "$ac_ct_DLLTOOL"; then
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8298 $as_echo "$ac_ct_DLLTOOL" >&6; }
8299 else
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8301 $as_echo "no" >&6; }
8304 if test "x$ac_ct_DLLTOOL" = x; then
8305 DLLTOOL="false"
8306 else
8307 case $cross_compiling:$ac_tool_warned in
8308 yes:)
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8311 ac_tool_warned=yes ;;
8312 esac
8313 DLLTOOL=$ac_ct_DLLTOOL
8315 else
8316 DLLTOOL="$ac_cv_prog_DLLTOOL"
8319 LIBEXT="dll"
8320 DLLEXT=""
8321 case $host_cpu in
8322 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8323 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8324 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8325 $as_echo_n "(cached) " >&6
8326 else
8327 ac_wine_try_cflags_saved=$CFLAGS
8328 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8330 /* end confdefs.h. */
8331 int main(int argc, char **argv) { return 0; }
8332 _ACEOF
8333 if ac_fn_c_try_link "$LINENO"; then :
8334 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8335 else
8336 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8338 rm -f core conftest.err conftest.$ac_objext \
8339 conftest$ac_exeext conftest.$ac_ext
8340 CFLAGS=$ac_wine_try_cflags_saved
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8343 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8344 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8345 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8346 fi ;;
8347 esac
8348 enable_iphlpapi=${enable_iphlpapi:-no}
8349 enable_nsiproxy_sys=${enable_nsiproxy_sys:-no}
8350 enable_ws2_32=${enable_ws2_32:-no}
8351 enable_loader=${enable_loader:-no}
8352 enable_server=${enable_server:-no}
8353 with_x=${with_x:-no}
8354 with_pthread=${with_pthread:-no}
8357 darwin*|macosx*)
8358 ac_ext=m
8359 ac_cpp='$OBJCPP $CPPFLAGS'
8360 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8361 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8362 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8364 ac_ext=m
8365 ac_cpp='$OBJCPP $CPPFLAGS'
8366 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8367 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8368 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8369 if test -n "$ac_tool_prefix"; then
8370 for ac_prog in gcc objcc objc cc CC
8372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8375 $as_echo_n "checking for $ac_word... " >&6; }
8376 if ${ac_cv_prog_OBJC+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378 else
8379 if test -n "$OBJC"; then
8380 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8381 else
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8383 for as_dir in $PATH
8385 IFS=$as_save_IFS
8386 test -z "$as_dir" && as_dir=.
8387 for ac_exec_ext in '' $ac_executable_extensions; do
8388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8389 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8391 break 2
8393 done
8394 done
8395 IFS=$as_save_IFS
8399 OBJC=$ac_cv_prog_OBJC
8400 if test -n "$OBJC"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8402 $as_echo "$OBJC" >&6; }
8403 else
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8409 test -n "$OBJC" && break
8410 done
8412 if test -z "$OBJC"; then
8413 ac_ct_OBJC=$OBJC
8414 for ac_prog in gcc objcc objc cc CC
8416 # Extract the first word of "$ac_prog", so it can be a program name with args.
8417 set dummy $ac_prog; ac_word=$2
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8419 $as_echo_n "checking for $ac_word... " >&6; }
8420 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8421 $as_echo_n "(cached) " >&6
8422 else
8423 if test -n "$ac_ct_OBJC"; then
8424 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8425 else
8426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8427 for as_dir in $PATH
8429 IFS=$as_save_IFS
8430 test -z "$as_dir" && as_dir=.
8431 for ac_exec_ext in '' $ac_executable_extensions; do
8432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8433 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8435 break 2
8437 done
8438 done
8439 IFS=$as_save_IFS
8443 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8444 if test -n "$ac_ct_OBJC"; then
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8446 $as_echo "$ac_ct_OBJC" >&6; }
8447 else
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8449 $as_echo "no" >&6; }
8453 test -n "$ac_ct_OBJC" && break
8454 done
8456 if test "x$ac_ct_OBJC" = x; then
8457 OBJC="gcc"
8458 else
8459 case $cross_compiling:$ac_tool_warned in
8460 yes:)
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8463 ac_tool_warned=yes ;;
8464 esac
8465 OBJC=$ac_ct_OBJC
8469 # Provide some information about the compiler.
8470 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8471 set X $ac_compile
8472 ac_compiler=$2
8473 for ac_option in --version -v -V -qversion; do
8474 { { ac_try="$ac_compiler $ac_option >&5"
8475 case "(($ac_try" in
8476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8477 *) ac_try_echo=$ac_try;;
8478 esac
8479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8480 $as_echo "$ac_try_echo"; } >&5
8481 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8482 ac_status=$?
8483 if test -s conftest.err; then
8484 sed '10a\
8485 ... rest of stderr output deleted ...
8486 10q' conftest.err >conftest.er1
8487 cat conftest.er1 >&5
8489 rm -f conftest.er1 conftest.err
8490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8491 test $ac_status = 0; }
8492 done
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8495 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8496 if ${ac_cv_objc_compiler_gnu+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8500 /* end confdefs.h. */
8503 main ()
8505 #ifndef __GNUC__
8506 choke me
8507 #endif
8510 return 0;
8512 _ACEOF
8513 if ac_fn_objc_try_compile "$LINENO"; then :
8514 ac_compiler_gnu=yes
8515 else
8516 ac_compiler_gnu=no
8518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8519 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8523 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8524 if test $ac_compiler_gnu = yes; then
8525 GOBJC=yes
8526 else
8527 GOBJC=
8529 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8530 ac_save_OBJCFLAGS=$OBJCFLAGS
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8532 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8533 if ${ac_cv_prog_objc_g+:} false; then :
8534 $as_echo_n "(cached) " >&6
8535 else
8536 ac_save_objc_werror_flag=$ac_objc_werror_flag
8537 ac_objc_werror_flag=yes
8538 ac_cv_prog_objc_g=no
8539 OBJCFLAGS="-g"
8540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8544 main ()
8548 return 0;
8550 _ACEOF
8551 if ac_fn_objc_try_compile "$LINENO"; then :
8552 ac_cv_prog_objc_g=yes
8553 else
8554 OBJCFLAGS=""
8555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8559 main ()
8563 return 0;
8565 _ACEOF
8566 if ac_fn_objc_try_compile "$LINENO"; then :
8568 else
8569 ac_objc_werror_flag=$ac_save_objc_werror_flag
8570 OBJCFLAGS="-g"
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8575 main ()
8579 return 0;
8581 _ACEOF
8582 if ac_fn_objc_try_compile "$LINENO"; then :
8583 ac_cv_prog_objc_g=yes
8585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8590 ac_objc_werror_flag=$ac_save_objc_werror_flag
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8593 $as_echo "$ac_cv_prog_objc_g" >&6; }
8594 if test "$ac_test_OBJCFLAGS" = set; then
8595 OBJCFLAGS=$ac_save_OBJCFLAGS
8596 elif test $ac_cv_prog_objc_g = yes; then
8597 if test "$GOBJC" = yes; then
8598 OBJCFLAGS="-g -O2"
8599 else
8600 OBJCFLAGS="-g"
8602 else
8603 if test "$GOBJC" = yes; then
8604 OBJCFLAGS="-O2"
8605 else
8606 OBJCFLAGS=
8609 ac_ext=m
8610 ac_cpp='$OBJCPP $CPPFLAGS'
8611 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8612 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8613 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8616 ac_ext=m
8617 ac_cpp='$OBJCPP $CPPFLAGS'
8618 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8619 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8620 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8622 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8623 if test -z "$OBJCPP"; then
8624 if ${ac_cv_prog_OBJCPP+:} false; then :
8625 $as_echo_n "(cached) " >&6
8626 else
8627 # Double quotes because OBJCPP needs to be expanded
8628 for OBJCPP in "$OBJC -E" "/lib/cpp"
8630 ac_preproc_ok=false
8631 for ac_objc_preproc_warn_flag in '' yes
8633 # Use a header file that comes with gcc, so configuring glibc
8634 # with a fresh cross-compiler works.
8635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8636 # <limits.h> exists even on freestanding compilers.
8637 # On the NeXT, cc -E runs the code through the compiler's parser,
8638 # not just through cpp. "Syntax error" is here to catch this case.
8639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8640 /* end confdefs.h. */
8641 #ifdef __STDC__
8642 # include <limits.h>
8643 #else
8644 # include <assert.h>
8645 #endif
8646 Syntax error
8647 _ACEOF
8648 if ac_fn_objc_try_cpp "$LINENO"; then :
8650 else
8651 # Broken: fails on valid input.
8652 continue
8654 rm -f conftest.err conftest.i conftest.$ac_ext
8656 # OK, works on sane cases. Now check whether nonexistent headers
8657 # can be detected and how.
8658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8659 /* end confdefs.h. */
8660 #include <ac_nonexistent.h>
8661 _ACEOF
8662 if ac_fn_objc_try_cpp "$LINENO"; then :
8663 # Broken: success on invalid input.
8664 continue
8665 else
8666 # Passes both tests.
8667 ac_preproc_ok=:
8668 break
8670 rm -f conftest.err conftest.i conftest.$ac_ext
8672 done
8673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8674 rm -f conftest.i conftest.err conftest.$ac_ext
8675 if $ac_preproc_ok; then :
8676 break
8679 done
8680 ac_cv_prog_OBJCPP=$OBJCPP
8683 OBJCPP=$ac_cv_prog_OBJCPP
8684 else
8685 ac_cv_prog_OBJCPP=$OBJCPP
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8688 $as_echo "$OBJCPP" >&6; }
8689 ac_preproc_ok=false
8690 for ac_objc_preproc_warn_flag in '' yes
8692 # Use a header file that comes with gcc, so configuring glibc
8693 # with a fresh cross-compiler works.
8694 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8695 # <limits.h> exists even on freestanding compilers.
8696 # On the NeXT, cc -E runs the code through the compiler's parser,
8697 # not just through cpp. "Syntax error" is here to catch this case.
8698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8699 /* end confdefs.h. */
8700 #ifdef __STDC__
8701 # include <limits.h>
8702 #else
8703 # include <assert.h>
8704 #endif
8705 Syntax error
8706 _ACEOF
8707 if ac_fn_objc_try_cpp "$LINENO"; then :
8709 else
8710 # Broken: fails on valid input.
8711 continue
8713 rm -f conftest.err conftest.i conftest.$ac_ext
8715 # OK, works on sane cases. Now check whether nonexistent headers
8716 # can be detected and how.
8717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h. */
8719 #include <ac_nonexistent.h>
8720 _ACEOF
8721 if ac_fn_objc_try_cpp "$LINENO"; then :
8722 # Broken: success on invalid input.
8723 continue
8724 else
8725 # Passes both tests.
8726 ac_preproc_ok=:
8727 break
8729 rm -f conftest.err conftest.i conftest.$ac_ext
8731 done
8732 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8733 rm -f conftest.i conftest.err conftest.$ac_ext
8734 if $ac_preproc_ok; then :
8736 else
8737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8739 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8740 See \`config.log' for more details" "$LINENO" 5; }
8743 ac_ext=m
8744 ac_cpp='$OBJCPP $CPPFLAGS'
8745 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8746 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8747 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8750 for ac_header in Metal/Metal.h
8751 do :
8752 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8753 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8754 cat >>confdefs.h <<_ACEOF
8755 #define HAVE_METAL_METAL_H 1
8756 _ACEOF
8760 done
8762 ac_ext=c
8763 ac_cpp='$CPP $CPPFLAGS'
8764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8768 LIBEXT="dylib"
8769 DLLFLAGS="$DLLFLAGS -fPIC"
8770 LDDLLFLAGS="-fPIC"
8771 COREFOUNDATION_LIBS="-framework CoreFoundation"
8773 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8775 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8777 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8779 CORESERVICES_LIBS="-framework CoreServices"
8781 APPKIT_LIBS="-framework AppKit"
8783 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8786 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8788 wine_can_build_preloader=yes
8789 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"
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8791 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8792 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8793 $as_echo_n "(cached) " >&6
8794 else
8795 ac_wine_try_cflags_saved=$CFLAGS
8796 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8798 /* end confdefs.h. */
8799 int main(int argc, char **argv) { return 0; }
8800 _ACEOF
8801 if ac_fn_c_try_link "$LINENO"; then :
8802 ac_cv_cflags__Wl__no_new_main__e__main=yes
8803 else
8804 ac_cv_cflags__Wl__no_new_main__e__main=no
8806 rm -f core conftest.err conftest.$ac_objext \
8807 conftest$ac_exeext conftest.$ac_ext
8808 CFLAGS=$ac_wine_try_cflags_saved
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8811 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8812 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8813 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8815 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8816 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8817 $as_echo_n "(cached) " >&6
8818 else
8819 ac_wine_try_cflags_saved=$CFLAGS
8820 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h. */
8823 int main(int argc, char **argv) { return 0; }
8824 _ACEOF
8825 if ac_fn_c_try_link "$LINENO"; then :
8826 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8827 else
8828 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8830 rm -f core conftest.err conftest.$ac_objext \
8831 conftest$ac_exeext conftest.$ac_ext
8832 CFLAGS=$ac_wine_try_cflags_saved
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8835 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8836 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8837 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8838 else
8839 { $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
8840 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8841 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8842 $as_echo_n "(cached) " >&6
8843 else
8844 ac_wine_try_cflags_saved=$CFLAGS
8845 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8847 /* end confdefs.h. */
8848 int main(int argc, char **argv) { return 0; }
8849 _ACEOF
8850 if ac_fn_c_try_link "$LINENO"; then :
8851 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8852 else
8853 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8855 rm -f core conftest.err conftest.$ac_objext \
8856 conftest$ac_exeext conftest.$ac_ext
8857 CFLAGS=$ac_wine_try_cflags_saved
8859 { $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
8860 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8861 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8862 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8863 else
8864 wine_can_build_preloader=no
8867 else
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8869 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8870 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8871 $as_echo_n "(cached) " >&6
8872 else
8873 ac_wine_try_cflags_saved=$CFLAGS
8874 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8876 /* end confdefs.h. */
8877 int main(int argc, char **argv) { return 0; }
8878 _ACEOF
8879 if ac_fn_c_try_link "$LINENO"; then :
8880 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8881 else
8882 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8884 rm -f core conftest.err conftest.$ac_objext \
8885 conftest$ac_exeext conftest.$ac_ext
8886 CFLAGS=$ac_wine_try_cflags_saved
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8889 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8890 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8891 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8892 else
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8894 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8895 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8896 $as_echo_n "(cached) " >&6
8897 else
8898 ac_wine_try_cflags_saved=$CFLAGS
8899 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8901 /* end confdefs.h. */
8902 int main(int argc, char **argv) { return 0; }
8903 _ACEOF
8904 if ac_fn_c_try_link "$LINENO"; then :
8905 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8906 else
8907 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8909 rm -f core conftest.err conftest.$ac_objext \
8910 conftest$ac_exeext conftest.$ac_ext
8911 CFLAGS=$ac_wine_try_cflags_saved
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8914 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8915 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8916 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8917 else
8918 wine_can_build_preloader=no
8922 if test "$wine_can_build_preloader" = "yes"
8923 then
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8925 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8926 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8927 $as_echo_n "(cached) " >&6
8928 else
8929 ac_wine_try_cflags_saved=$CFLAGS
8930 CFLAGS="$CFLAGS -Wl,-no_pie"
8931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8932 /* end confdefs.h. */
8933 int main(int argc, char **argv) { return 0; }
8934 _ACEOF
8935 if ac_fn_c_try_link "$LINENO"; then :
8936 ac_cv_cflags__Wl__no_pie=yes
8937 else
8938 ac_cv_cflags__Wl__no_pie=no
8940 rm -f core conftest.err conftest.$ac_objext \
8941 conftest$ac_exeext conftest.$ac_ext
8942 CFLAGS=$ac_wine_try_cflags_saved
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8945 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8946 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8947 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8949 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8950 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8951 else
8952 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8955 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8956 then
8957 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8960 if test "$ac_cv_header_Security_Security_h" = "yes"
8961 then
8962 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8964 ac_save_LIBS="$LIBS"
8965 LIBS="$LIBS $SECURITY_LIBS"
8966 for ac_func in SSLCopyPeerCertificates
8967 do :
8968 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8969 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8970 cat >>confdefs.h <<_ACEOF
8971 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8972 _ACEOF
8975 done
8977 LIBS="$ac_save_LIBS"
8979 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8980 then
8981 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8983 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8985 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8986 then
8987 OPENAL_LIBS="-framework OpenAL"
8990 cat >>confdefs.h <<_ACEOF
8991 #define HAVE_OPENAL 1
8992 _ACEOF
8994 ac_cv_lib_openal=yes
8996 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8997 then
8998 OPENCL_LIBS="-framework OpenCL"
9000 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9002 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9003 then
9004 ac_save_LIBS="$LIBS"
9005 LIBS="$LIBS $IOKIT_LIBS"
9006 for ac_func in IOHIDManagerCreate
9007 do :
9008 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9009 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9010 cat >>confdefs.h <<_ACEOF
9011 #define HAVE_IOHIDMANAGERCREATE 1
9012 _ACEOF
9015 done
9017 LIBS="$ac_save_LIBS"
9020 if test "x$with_quicktime" != "xno"
9021 then
9022 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9023 then
9024 ac_save_LIBS="$LIBS"
9025 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9027 $as_echo_n "checking for the QuickTime framework... " >&6; }
9028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9029 /* end confdefs.h. */
9030 #include <QuickTime/ImageCompression.h>
9032 main ()
9034 CodecManagerVersion(NULL);
9036 return 0;
9038 _ACEOF
9039 if ac_fn_c_try_link "$LINENO"; then :
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9041 $as_echo "yes" >&6; }
9042 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9044 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9045 else
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9047 $as_echo "no" >&6; }
9048 ac_cv_header_QuickTime_ImageCompression_h=no
9050 rm -f core conftest.err conftest.$ac_objext \
9051 conftest$ac_exeext conftest.$ac_ext
9052 LIBS="$ac_save_LIBS"
9055 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9056 case "x$with_quicktime" in
9057 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9058 xno) ;;
9059 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9060 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9061 esac
9065 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9066 then
9067 CARBON_LIBS="-framework Carbon"
9070 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9071 then
9072 METAL_LIBS="-framework Metal -framework QuartzCore"
9076 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9077 then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9079 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9080 ac_ext=m
9081 ac_cpp='$OBJCPP $CPPFLAGS'
9082 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9083 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9084 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9087 /* end confdefs.h. */
9088 #include <Metal/Metal.h>
9090 main ()
9092 id<MTLDevice> device; device.registryID;
9094 return 0;
9096 _ACEOF
9097 if ac_fn_objc_try_compile "$LINENO"; then :
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9099 $as_echo "yes" >&6; }
9101 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9103 else
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9105 $as_echo "no" >&6; }
9107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9108 ac_ext=c
9109 ac_cpp='$CPP $CPPFLAGS'
9110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9116 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9117 then
9118 ac_save_LIBS="$LIBS"
9119 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9120 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9121 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9122 enable_winemac_drv=${enable_winemac_drv:-yes}
9125 LIBS="$ac_save_LIBS"
9128 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9130 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9132 WINELOADER_DEPENDS="wine_info.plist"
9134 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9137 linux-android*)
9138 DLLFLAGS="$DLLFLAGS -fPIC"
9139 LDDLLFLAGS="-fPIC"
9140 LDEXECFLAGS="-Wl,-pie"
9141 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9143 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9144 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9145 $as_echo_n "(cached) " >&6
9146 else
9147 ac_wine_try_cflags_saved=$CFLAGS
9148 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150 /* end confdefs.h. */
9151 int main(int argc, char **argv) { return 0; }
9152 _ACEOF
9153 if ac_fn_c_try_link "$LINENO"; then :
9154 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9155 else
9156 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9158 rm -f core conftest.err conftest.$ac_objext \
9159 conftest$ac_exeext conftest.$ac_ext
9160 CFLAGS=$ac_wine_try_cflags_saved
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9163 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9164 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9165 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9167 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9170 $as_echo_n "checking for -lEGL... " >&6; }
9171 if ${ac_cv_lib_soname_EGL+:} false; then :
9172 $as_echo_n "(cached) " >&6
9173 else
9174 ac_check_soname_save_LIBS=$LIBS
9175 LIBS="-lEGL $LIBS"
9176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9177 /* end confdefs.h. */
9179 /* Override any GCC internal prototype to avoid an error.
9180 Use char because int might match the return type of a GCC
9181 builtin and then its argument prototype would still apply. */
9182 #ifdef __cplusplus
9183 extern "C"
9184 #endif
9185 char eglGetProcAddress ();
9187 main ()
9189 return eglGetProcAddress ();
9191 return 0;
9193 _ACEOF
9194 if ac_fn_c_try_link "$LINENO"; then :
9195 case "$LIBEXT" in
9196 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9197 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'` ;;
9198 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9199 if ${ac_cv_lib_soname_EGL:+false} :; then :
9200 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9201 fi ;;
9202 esac
9203 else
9204 ac_cv_lib_soname_EGL=
9206 rm -f core conftest.err conftest.$ac_objext \
9207 conftest$ac_exeext conftest.$ac_ext
9208 LIBS=$ac_check_soname_save_LIBS
9210 if ${ac_cv_lib_soname_EGL:+false} :; then :
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9212 $as_echo "not found" >&6; }
9214 else
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9216 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9218 cat >>confdefs.h <<_ACEOF
9219 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9220 _ACEOF
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9225 $as_echo_n "checking for -lGLESv2... " >&6; }
9226 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9227 $as_echo_n "(cached) " >&6
9228 else
9229 ac_check_soname_save_LIBS=$LIBS
9230 LIBS="-lGLESv2 $LIBS"
9231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9234 /* Override any GCC internal prototype to avoid an error.
9235 Use char because int might match the return type of a GCC
9236 builtin and then its argument prototype would still apply. */
9237 #ifdef __cplusplus
9238 extern "C"
9239 #endif
9240 char glFlush ();
9242 main ()
9244 return glFlush ();
9246 return 0;
9248 _ACEOF
9249 if ac_fn_c_try_link "$LINENO"; then :
9250 case "$LIBEXT" in
9251 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9252 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'` ;;
9253 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9254 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9255 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9256 fi ;;
9257 esac
9258 else
9259 ac_cv_lib_soname_GLESv2=
9261 rm -f core conftest.err conftest.$ac_objext \
9262 conftest$ac_exeext conftest.$ac_ext
9263 LIBS=$ac_check_soname_save_LIBS
9265 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9267 $as_echo "not found" >&6; }
9269 else
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9271 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9273 cat >>confdefs.h <<_ACEOF
9274 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9275 _ACEOF
9280 if test "x$exec_prefix" = xNONE
9281 then
9282 case $host_cpu in
9283 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9284 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9285 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9286 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9287 esac
9292 case $host_cpu in
9293 *i[3456789]86*)
9294 DLLFLAGS="$DLLFLAGS -fno-PIC"
9295 LDDLLFLAGS="-fno-PIC"
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9297 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9298 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9299 $as_echo_n "(cached) " >&6
9300 else
9301 ac_wine_try_cflags_saved=$CFLAGS
9302 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h. */
9305 int main(int argc, char **argv) { return 0; }
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9308 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9309 else
9310 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9312 rm -f core conftest.err conftest.$ac_objext \
9313 conftest$ac_exeext conftest.$ac_ext
9314 CFLAGS=$ac_wine_try_cflags_saved
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9317 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9318 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9319 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9323 DLLFLAGS="$DLLFLAGS -fPIC"
9324 LDDLLFLAGS="-fPIC" ;;
9325 esac
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9327 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9328 if ${ac_cv_c_dll_gnuelf+:} false; then :
9329 $as_echo_n "(cached) " >&6
9330 else
9331 ac_wine_try_cflags_saved=$CFLAGS
9332 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9334 /* end confdefs.h. */
9335 void myfunc() {}
9336 _ACEOF
9337 if ac_fn_c_try_link "$LINENO"; then :
9338 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9339 else
9340 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9342 rm -f core conftest.err conftest.$ac_objext \
9343 conftest$ac_exeext conftest.$ac_ext
9344 CFLAGS=$ac_wine_try_cflags_saved
9345 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9346 ac_cv_c_dll_gnuelf="yes"
9347 else
9348 ac_cv_c_dll_gnuelf="no"
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9352 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9353 if test "$ac_cv_c_dll_gnuelf" = "yes"
9354 then
9355 LIBWINE_LDFLAGS="-shared"
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9357 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9358 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9359 $as_echo_n "(cached) " >&6
9360 else
9361 ac_wine_try_cflags_saved=$CFLAGS
9362 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364 /* end confdefs.h. */
9365 int main(int argc, char **argv) { return 0; }
9366 _ACEOF
9367 if ac_fn_c_try_link "$LINENO"; then :
9368 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9369 else
9370 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 CFLAGS=$ac_wine_try_cflags_saved
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9377 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9378 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9379 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9380 else
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9382 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9383 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9384 $as_echo_n "(cached) " >&6
9385 else
9386 ac_wine_try_cflags_saved=$CFLAGS
9387 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9389 /* end confdefs.h. */
9390 int main(int argc, char **argv) { return 0; }
9391 _ACEOF
9392 if ac_fn_c_try_link "$LINENO"; then :
9393 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9394 else
9395 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9397 rm -f core conftest.err conftest.$ac_objext \
9398 conftest$ac_exeext conftest.$ac_ext
9399 CFLAGS=$ac_wine_try_cflags_saved
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9402 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9403 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9404 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9408 echo '{ global: *; };' >conftest.map
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9410 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9411 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9412 $as_echo_n "(cached) " >&6
9413 else
9414 ac_wine_try_cflags_saved=$CFLAGS
9415 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9417 /* end confdefs.h. */
9418 int main(int argc, char **argv) { return 0; }
9419 _ACEOF
9420 if ac_fn_c_try_link "$LINENO"; then :
9421 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9422 else
9423 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9425 rm -f core conftest.err conftest.$ac_objext \
9426 conftest$ac_exeext conftest.$ac_ext
9427 CFLAGS=$ac_wine_try_cflags_saved
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9430 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9431 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9432 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9434 rm -f conftest.map
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9437 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9438 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9439 $as_echo_n "(cached) " >&6
9440 else
9441 ac_wine_try_cflags_saved=$CFLAGS
9442 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9445 int main(int argc, char **argv) { return 0; }
9446 _ACEOF
9447 if ac_fn_c_try_link "$LINENO"; then :
9448 ac_cv_cflags__Wl___export_dynamic=yes
9449 else
9450 ac_cv_cflags__Wl___export_dynamic=no
9452 rm -f core conftest.err conftest.$ac_objext \
9453 conftest$ac_exeext conftest.$ac_ext
9454 CFLAGS=$ac_wine_try_cflags_saved
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9457 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9458 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9459 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9461 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9463 case $host_cpu in
9464 *i[3456789]86* | x86_64 | *aarch64*)
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9466 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9467 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9468 $as_echo_n "(cached) " >&6
9469 else
9470 ac_wine_try_cflags_saved=$CFLAGS
9471 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9474 int main(int argc, char **argv) { return 0; }
9475 _ACEOF
9476 if ac_fn_c_try_link "$LINENO"; then :
9477 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9478 else
9479 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9481 rm -f core conftest.err conftest.$ac_objext \
9482 conftest$ac_exeext conftest.$ac_ext
9483 CFLAGS=$ac_wine_try_cflags_saved
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9486 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9487 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9488 case $host_os in
9489 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9490 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9491 esac
9492 else
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9494 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9495 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9496 $as_echo_n "(cached) " >&6
9497 else
9498 ac_wine_try_cflags_saved=$CFLAGS
9499 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9501 /* end confdefs.h. */
9502 int main(int argc, char **argv) { return 0; }
9503 _ACEOF
9504 if ac_fn_c_try_link "$LINENO"; then :
9505 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9506 else
9507 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9509 rm -f core conftest.err conftest.$ac_objext \
9510 conftest$ac_exeext conftest.$ac_ext
9511 CFLAGS=$ac_wine_try_cflags_saved
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9514 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9515 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9516 case $host_os in
9517 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9518 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9519 esac
9521 # Extract the first word of "prelink", so it can be a program name with args.
9522 set dummy prelink; ac_word=$2
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9524 $as_echo_n "checking for $ac_word... " >&6; }
9525 if ${ac_cv_path_PRELINK+:} false; then :
9526 $as_echo_n "(cached) " >&6
9527 else
9528 case $PRELINK in
9529 [\\/]* | ?:[\\/]*)
9530 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9534 for as_dir in /sbin /usr/sbin $PATH
9536 IFS=$as_save_IFS
9537 test -z "$as_dir" && as_dir=.
9538 for ac_exec_ext in '' $ac_executable_extensions; do
9539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9540 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9542 break 2
9544 done
9545 done
9546 IFS=$as_save_IFS
9548 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9550 esac
9552 PRELINK=$ac_cv_path_PRELINK
9553 if test -n "$PRELINK"; then
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9555 $as_echo "$PRELINK" >&6; }
9556 else
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9558 $as_echo "no" >&6; }
9562 if test "x$PRELINK" = xfalse
9563 then
9564 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9568 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9569 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9570 $as_echo_n "(cached) " >&6
9571 else
9572 ac_wine_try_cflags_saved=$CFLAGS
9573 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9575 /* end confdefs.h. */
9576 int main(int argc, char **argv) { return 0; }
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9580 else
9581 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9583 rm -f core conftest.err conftest.$ac_objext \
9584 conftest$ac_exeext conftest.$ac_ext
9585 CFLAGS=$ac_wine_try_cflags_saved
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9588 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9589 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9590 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9593 esac
9595 else
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9597 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9598 if ${ac_cv_c_dll_unixware+:} false; then :
9599 $as_echo_n "(cached) " >&6
9600 else
9601 ac_wine_try_cflags_saved=$CFLAGS
9602 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9604 /* end confdefs.h. */
9605 void myfunc() {}
9606 _ACEOF
9607 if ac_fn_c_try_link "$LINENO"; then :
9608 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9609 else
9610 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9612 rm -f core conftest.err conftest.$ac_objext \
9613 conftest$ac_exeext conftest.$ac_ext
9614 CFLAGS=$ac_wine_try_cflags_saved
9615 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9616 ac_cv_c_dll_unixware="yes"
9617 else
9618 ac_cv_c_dll_unixware="no"
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9622 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9623 if test "$ac_cv_c_dll_unixware" = "yes"
9624 then
9625 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9628 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9630 LIBWINE_DEPENDS="wine.map"
9632 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9634 esac
9636 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9637 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9638 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9639 enable_winemac_drv=${enable_winemac_drv:-no}
9640 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9643 if test "x$with_mingw" != xno
9644 then
9645 case "x$with_mingw" in
9646 x|xyes) case "$host_cpu" in
9647 aarch64*)
9648 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9649 arm*)
9650 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9651 i[3456789]86*)
9652 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
9653 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9654 mingw32-gcc clang" ;;
9655 x86_64)
9656 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
9657 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9659 ac_prefix_list="" ;;
9660 esac
9661 for ac_prog in $ac_prefix_list
9663 # Extract the first word of "$ac_prog", so it can be a program name with args.
9664 set dummy $ac_prog; ac_word=$2
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9666 $as_echo_n "checking for $ac_word... " >&6; }
9667 if ${ac_cv_prog_CROSSCC+:} false; then :
9668 $as_echo_n "(cached) " >&6
9669 else
9670 if test -n "$CROSSCC"; then
9671 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9672 else
9673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9674 for as_dir in $PATH
9676 IFS=$as_save_IFS
9677 test -z "$as_dir" && as_dir=.
9678 for ac_exec_ext in '' $ac_executable_extensions; do
9679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9680 ac_cv_prog_CROSSCC="$ac_prog"
9681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9682 break 2
9684 done
9685 done
9686 IFS=$as_save_IFS
9690 CROSSCC=$ac_cv_prog_CROSSCC
9691 if test -n "$CROSSCC"; then
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9693 $as_echo "$CROSSCC" >&6; }
9694 else
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9696 $as_echo "no" >&6; }
9700 test -n "$CROSSCC" && break
9701 done
9702 test -n "$CROSSCC" || CROSSCC="false"
9704 *) CROSSCC=$with_mingw ;;
9705 esac
9706 if test "$CROSSCC" != "false"
9707 then
9708 ac_save_CC="$CC"
9709 saved_CFLAGS=$CFLAGS
9710 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9712 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9716 CC="$CROSSCC"
9717 CFLAGS=$CROSSCFLAGS
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9719 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9720 if ${wine_cv_crosscc+:} false; then :
9721 $as_echo_n "(cached) " >&6
9722 else
9723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9727 main ()
9731 return 0;
9733 _ACEOF
9734 if ac_fn_c_try_compile "$LINENO"; then :
9735 wine_cv_crosscc=yes
9736 else
9737 wine_cv_crosscc=no
9739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9742 $as_echo "$wine_cv_crosscc" >&6; }
9743 if test $wine_cv_crosscc = yes
9744 then
9745 set x $CROSSCC
9746 shift
9747 while test $# -ge 1
9749 case "$1" in
9750 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9751 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9752 esac
9753 shift
9754 done
9756 llvm_target=$CROSSTARGET
9757 llvm_cflags="-fuse-ld=lld"
9758 if test -z "$llvm_target"
9759 then
9760 case $host_cpu in
9761 *i[3456789]86*) llvm_target=i686-windows ;;
9762 *) llvm_target=$host_cpu-windows ;;
9763 esac
9765 case $llvm_target in
9766 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9767 esac
9768 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9770 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9771 if eval \${$as_ac_var+:} false; then :
9772 $as_echo_n "(cached) " >&6
9773 else
9774 ac_wine_try_cflags_saved=$CFLAGS
9775 ac_wine_try_cflags_saved_cc=$CC
9776 ac_wine_try_cflags_saved_exeext=$ac_exeext
9777 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9778 CC="$CROSSCC"
9779 ac_exeext=".exe"
9780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9782 int __cdecl mainCRTStartup(void) { return 0; }
9783 _ACEOF
9784 if ac_fn_c_try_link "$LINENO"; then :
9785 eval "$as_ac_var=yes"
9786 else
9787 eval "$as_ac_var=no"
9789 rm -f core conftest.err conftest.$ac_objext \
9790 conftest$ac_exeext conftest.$ac_ext
9791 CFLAGS=$ac_wine_try_cflags_saved
9792 CC=$ac_wine_try_cflags_saved_cc
9793 ac_exeext=$ac_wine_try_cflags_saved_exeext
9795 eval ac_res=\$$as_ac_var
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9797 $as_echo "$ac_res" >&6; }
9798 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9799 CROSSTARGET=$llvm_target
9800 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9801 DELAYLOADFLAG="-Wl,-delayload,"
9803 CFLAGS="$CFLAGS $llvm_cflags"
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9807 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9808 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9809 $as_echo_n "(cached) " >&6
9810 else
9811 ac_wine_try_cflags_saved=$CFLAGS
9812 ac_wine_try_cflags_saved_cc=$CC
9813 ac_wine_try_cflags_saved_exeext=$ac_exeext
9814 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9815 CC="$CROSSCC"
9816 ac_exeext=".exe"
9817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9818 /* end confdefs.h. */
9819 int __cdecl mainCRTStartup(void) { return 0; }
9820 _ACEOF
9821 if ac_fn_c_try_link "$LINENO"; then :
9822 ac_cv_crosscflags__fno_strict_aliasing=yes
9823 else
9824 ac_cv_crosscflags__fno_strict_aliasing=no
9826 rm -f core conftest.err conftest.$ac_objext \
9827 conftest$ac_exeext conftest.$ac_ext
9828 CFLAGS=$ac_wine_try_cflags_saved
9829 CC=$ac_wine_try_cflags_saved_cc
9830 ac_exeext=$ac_wine_try_cflags_saved_exeext
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9833 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9834 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9835 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9838 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9839 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9840 $as_echo_n "(cached) " >&6
9841 else
9842 ac_wine_try_cflags_saved=$CFLAGS
9843 ac_wine_try_cflags_saved_cc=$CC
9844 ac_wine_try_cflags_saved_exeext=$ac_exeext
9845 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9846 CC="$CROSSCC"
9847 ac_exeext=".exe"
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9850 int __cdecl mainCRTStartup(void) { return 0; }
9851 _ACEOF
9852 if ac_fn_c_try_link "$LINENO"; then :
9853 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9854 else
9855 ac_cv_crosscflags__Werror_unknown_warning_option=no
9857 rm -f core conftest.err conftest.$ac_objext \
9858 conftest$ac_exeext conftest.$ac_ext
9859 CFLAGS=$ac_wine_try_cflags_saved
9860 CC=$ac_wine_try_cflags_saved_cc
9861 ac_exeext=$ac_wine_try_cflags_saved_exeext
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9864 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9865 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9866 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9869 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9870 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9871 $as_echo_n "(cached) " >&6
9872 else
9873 ac_wine_try_cflags_saved=$CFLAGS
9874 ac_wine_try_cflags_saved_cc=$CC
9875 ac_wine_try_cflags_saved_exeext=$ac_exeext
9876 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9877 CC="$CROSSCC"
9878 ac_exeext=".exe"
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9881 int __cdecl mainCRTStartup(void) { return 0; }
9882 _ACEOF
9883 if ac_fn_c_try_link "$LINENO"; then :
9884 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9885 else
9886 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9888 rm -f core conftest.err conftest.$ac_objext \
9889 conftest$ac_exeext conftest.$ac_ext
9890 CFLAGS=$ac_wine_try_cflags_saved
9891 CC=$ac_wine_try_cflags_saved_cc
9892 ac_exeext=$ac_wine_try_cflags_saved_exeext
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9895 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9896 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9897 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9900 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9901 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9902 $as_echo_n "(cached) " >&6
9903 else
9904 ac_wine_try_cflags_saved=$CFLAGS
9905 ac_wine_try_cflags_saved_cc=$CC
9906 ac_wine_try_cflags_saved_exeext=$ac_exeext
9907 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9908 CC="$CROSSCC"
9909 ac_exeext=".exe"
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9912 int __cdecl mainCRTStartup(void) { return 0; }
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"; then :
9915 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9916 else
9917 ac_cv_crosscflags__Wdeclaration_after_statement=no
9919 rm -f core conftest.err conftest.$ac_objext \
9920 conftest$ac_exeext conftest.$ac_ext
9921 CFLAGS=$ac_wine_try_cflags_saved
9922 CC=$ac_wine_try_cflags_saved_cc
9923 ac_exeext=$ac_wine_try_cflags_saved_exeext
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9926 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9927 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9928 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9931 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9932 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9933 $as_echo_n "(cached) " >&6
9934 else
9935 ac_wine_try_cflags_saved=$CFLAGS
9936 ac_wine_try_cflags_saved_cc=$CC
9937 ac_wine_try_cflags_saved_exeext=$ac_exeext
9938 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9939 CC="$CROSSCC"
9940 ac_exeext=".exe"
9941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9943 int __cdecl mainCRTStartup(void) { return 0; }
9944 _ACEOF
9945 if ac_fn_c_try_link "$LINENO"; then :
9946 ac_cv_crosscflags__Wempty_body=yes
9947 else
9948 ac_cv_crosscflags__Wempty_body=no
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 CFLAGS=$ac_wine_try_cflags_saved
9953 CC=$ac_wine_try_cflags_saved_cc
9954 ac_exeext=$ac_wine_try_cflags_saved_exeext
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9957 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9958 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9959 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9962 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9963 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9964 $as_echo_n "(cached) " >&6
9965 else
9966 ac_wine_try_cflags_saved=$CFLAGS
9967 ac_wine_try_cflags_saved_cc=$CC
9968 ac_wine_try_cflags_saved_exeext=$ac_exeext
9969 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9970 CC="$CROSSCC"
9971 ac_exeext=".exe"
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int __cdecl mainCRTStartup(void) { return 0; }
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 ac_cv_crosscflags__Wignored_qualifiers=yes
9978 else
9979 ac_cv_crosscflags__Wignored_qualifiers=no
9981 rm -f core conftest.err conftest.$ac_objext \
9982 conftest$ac_exeext conftest.$ac_ext
9983 CFLAGS=$ac_wine_try_cflags_saved
9984 CC=$ac_wine_try_cflags_saved_cc
9985 ac_exeext=$ac_wine_try_cflags_saved_exeext
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9988 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9989 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9990 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9993 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9994 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9995 $as_echo_n "(cached) " >&6
9996 else
9997 ac_wine_try_cflags_saved=$CFLAGS
9998 ac_wine_try_cflags_saved_cc=$CC
9999 ac_wine_try_cflags_saved_exeext=$ac_exeext
10000 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10001 CC="$CROSSCC"
10002 ac_exeext=".exe"
10003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10004 /* end confdefs.h. */
10005 int __cdecl mainCRTStartup(void) { return 0; }
10006 _ACEOF
10007 if ac_fn_c_try_link "$LINENO"; then :
10008 ac_cv_crosscflags__Winit_self=yes
10009 else
10010 ac_cv_crosscflags__Winit_self=no
10012 rm -f core conftest.err conftest.$ac_objext \
10013 conftest$ac_exeext conftest.$ac_ext
10014 CFLAGS=$ac_wine_try_cflags_saved
10015 CC=$ac_wine_try_cflags_saved_cc
10016 ac_exeext=$ac_wine_try_cflags_saved_exeext
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10019 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10020 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10021 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10024 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10025 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10026 $as_echo_n "(cached) " >&6
10027 else
10028 ac_wine_try_cflags_saved=$CFLAGS
10029 ac_wine_try_cflags_saved_cc=$CC
10030 ac_wine_try_cflags_saved_exeext=$ac_exeext
10031 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10032 CC="$CROSSCC"
10033 ac_exeext=".exe"
10034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10035 /* end confdefs.h. */
10036 int __cdecl mainCRTStartup(void) { return 0; }
10037 _ACEOF
10038 if ac_fn_c_try_link "$LINENO"; then :
10039 ac_cv_crosscflags__Wpacked_not_aligned=yes
10040 else
10041 ac_cv_crosscflags__Wpacked_not_aligned=no
10043 rm -f core conftest.err conftest.$ac_objext \
10044 conftest$ac_exeext conftest.$ac_ext
10045 CFLAGS=$ac_wine_try_cflags_saved
10046 CC=$ac_wine_try_cflags_saved_cc
10047 ac_exeext=$ac_wine_try_cflags_saved_exeext
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10050 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10051 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10052 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10055 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10056 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10057 $as_echo_n "(cached) " >&6
10058 else
10059 ac_wine_try_cflags_saved=$CFLAGS
10060 ac_wine_try_cflags_saved_cc=$CC
10061 ac_wine_try_cflags_saved_exeext=$ac_exeext
10062 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10063 CC="$CROSSCC"
10064 ac_exeext=".exe"
10065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10066 /* end confdefs.h. */
10067 int __cdecl mainCRTStartup(void) { return 0; }
10068 _ACEOF
10069 if ac_fn_c_try_link "$LINENO"; then :
10070 ac_cv_crosscflags__Wpragma_pack=yes
10071 else
10072 ac_cv_crosscflags__Wpragma_pack=no
10074 rm -f core conftest.err conftest.$ac_objext \
10075 conftest$ac_exeext conftest.$ac_ext
10076 CFLAGS=$ac_wine_try_cflags_saved
10077 CC=$ac_wine_try_cflags_saved_cc
10078 ac_exeext=$ac_wine_try_cflags_saved_exeext
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10081 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10082 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10083 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10086 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10087 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10088 $as_echo_n "(cached) " >&6
10089 else
10090 ac_wine_try_cflags_saved=$CFLAGS
10091 ac_wine_try_cflags_saved_cc=$CC
10092 ac_wine_try_cflags_saved_exeext=$ac_exeext
10093 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10094 CC="$CROSSCC"
10095 ac_exeext=".exe"
10096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10097 /* end confdefs.h. */
10098 int __cdecl mainCRTStartup(void) { return 0; }
10099 _ACEOF
10100 if ac_fn_c_try_link "$LINENO"; then :
10101 ac_cv_crosscflags__Wshift_overflow_2=yes
10102 else
10103 ac_cv_crosscflags__Wshift_overflow_2=no
10105 rm -f core conftest.err conftest.$ac_objext \
10106 conftest$ac_exeext conftest.$ac_ext
10107 CFLAGS=$ac_wine_try_cflags_saved
10108 CC=$ac_wine_try_cflags_saved_cc
10109 ac_exeext=$ac_wine_try_cflags_saved_exeext
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10112 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10113 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10114 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10117 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10118 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10119 $as_echo_n "(cached) " >&6
10120 else
10121 ac_wine_try_cflags_saved=$CFLAGS
10122 ac_wine_try_cflags_saved_cc=$CC
10123 ac_wine_try_cflags_saved_exeext=$ac_exeext
10124 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10125 CC="$CROSSCC"
10126 ac_exeext=".exe"
10127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10129 int __cdecl mainCRTStartup(void) { return 0; }
10130 _ACEOF
10131 if ac_fn_c_try_link "$LINENO"; then :
10132 ac_cv_crosscflags__Wstrict_prototypes=yes
10133 else
10134 ac_cv_crosscflags__Wstrict_prototypes=no
10136 rm -f core conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 CFLAGS=$ac_wine_try_cflags_saved
10139 CC=$ac_wine_try_cflags_saved_cc
10140 ac_exeext=$ac_wine_try_cflags_saved_exeext
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10143 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10144 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10145 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10148 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10149 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10150 $as_echo_n "(cached) " >&6
10151 else
10152 ac_wine_try_cflags_saved=$CFLAGS
10153 ac_wine_try_cflags_saved_cc=$CC
10154 ac_wine_try_cflags_saved_exeext=$ac_exeext
10155 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10156 CC="$CROSSCC"
10157 ac_exeext=".exe"
10158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10159 /* end confdefs.h. */
10160 int __cdecl mainCRTStartup(void) { return 0; }
10161 _ACEOF
10162 if ac_fn_c_try_link "$LINENO"; then :
10163 ac_cv_crosscflags__Wtype_limits=yes
10164 else
10165 ac_cv_crosscflags__Wtype_limits=no
10167 rm -f core conftest.err conftest.$ac_objext \
10168 conftest$ac_exeext conftest.$ac_ext
10169 CFLAGS=$ac_wine_try_cflags_saved
10170 CC=$ac_wine_try_cflags_saved_cc
10171 ac_exeext=$ac_wine_try_cflags_saved_exeext
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10174 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10175 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10176 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10179 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10180 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10181 $as_echo_n "(cached) " >&6
10182 else
10183 ac_wine_try_cflags_saved=$CFLAGS
10184 ac_wine_try_cflags_saved_cc=$CC
10185 ac_wine_try_cflags_saved_exeext=$ac_exeext
10186 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10187 CC="$CROSSCC"
10188 ac_exeext=".exe"
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10191 int __cdecl mainCRTStartup(void) { return 0; }
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"; then :
10194 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10195 else
10196 ac_cv_crosscflags__Wunused_but_set_parameter=no
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 CFLAGS=$ac_wine_try_cflags_saved
10201 CC=$ac_wine_try_cflags_saved_cc
10202 ac_exeext=$ac_wine_try_cflags_saved_exeext
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10205 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10206 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10207 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10210 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10211 if ${ac_cv_crosscflags__Wvla+:} false; then :
10212 $as_echo_n "(cached) " >&6
10213 else
10214 ac_wine_try_cflags_saved=$CFLAGS
10215 ac_wine_try_cflags_saved_cc=$CC
10216 ac_wine_try_cflags_saved_exeext=$ac_exeext
10217 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10218 CC="$CROSSCC"
10219 ac_exeext=".exe"
10220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10222 int __cdecl mainCRTStartup(void) { return 0; }
10223 _ACEOF
10224 if ac_fn_c_try_link "$LINENO"; then :
10225 ac_cv_crosscflags__Wvla=yes
10226 else
10227 ac_cv_crosscflags__Wvla=no
10229 rm -f core conftest.err conftest.$ac_objext \
10230 conftest$ac_exeext conftest.$ac_ext
10231 CFLAGS=$ac_wine_try_cflags_saved
10232 CC=$ac_wine_try_cflags_saved_cc
10233 ac_exeext=$ac_wine_try_cflags_saved_exeext
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10236 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10237 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10238 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10241 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10242 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10243 $as_echo_n "(cached) " >&6
10244 else
10245 ac_wine_try_cflags_saved=$CFLAGS
10246 ac_wine_try_cflags_saved_cc=$CC
10247 ac_wine_try_cflags_saved_exeext=$ac_exeext
10248 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10249 CC="$CROSSCC"
10250 ac_exeext=".exe"
10251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h. */
10253 int __cdecl mainCRTStartup(void) { return 0; }
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10256 ac_cv_crosscflags__Wwrite_strings=yes
10257 else
10258 ac_cv_crosscflags__Wwrite_strings=no
10260 rm -f core conftest.err conftest.$ac_objext \
10261 conftest$ac_exeext conftest.$ac_ext
10262 CFLAGS=$ac_wine_try_cflags_saved
10263 CC=$ac_wine_try_cflags_saved_cc
10264 ac_exeext=$ac_wine_try_cflags_saved_exeext
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10267 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10268 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10269 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10272 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10273 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10274 $as_echo_n "(cached) " >&6
10275 else
10276 ac_wine_try_cflags_saved=$CFLAGS
10277 ac_wine_try_cflags_saved_cc=$CC
10278 ac_wine_try_cflags_saved_exeext=$ac_exeext
10279 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10280 CC="$CROSSCC"
10281 ac_exeext=".exe"
10282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283 /* end confdefs.h. */
10284 int __cdecl mainCRTStartup(void) { return 0; }
10285 _ACEOF
10286 if ac_fn_c_try_link "$LINENO"; then :
10287 ac_cv_crosscflags__Wpointer_arith=yes
10288 else
10289 ac_cv_crosscflags__Wpointer_arith=no
10291 rm -f core conftest.err conftest.$ac_objext \
10292 conftest$ac_exeext conftest.$ac_ext
10293 CFLAGS=$ac_wine_try_cflags_saved
10294 CC=$ac_wine_try_cflags_saved_cc
10295 ac_exeext=$ac_wine_try_cflags_saved_exeext
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10298 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10299 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10300 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10303 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10304 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10305 $as_echo_n "(cached) " >&6
10306 else
10307 ac_wine_try_cflags_saved=$CFLAGS
10308 ac_wine_try_cflags_saved_cc=$CC
10309 ac_wine_try_cflags_saved_exeext=$ac_exeext
10310 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10311 CC="$CROSSCC"
10312 ac_exeext=".exe"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10315 int __cdecl mainCRTStartup(void) { return 0; }
10316 _ACEOF
10317 if ac_fn_c_try_link "$LINENO"; then :
10318 ac_cv_crosscflags__Wlogical_op=yes
10319 else
10320 ac_cv_crosscflags__Wlogical_op=no
10322 rm -f core conftest.err conftest.$ac_objext \
10323 conftest$ac_exeext conftest.$ac_ext
10324 CFLAGS=$ac_wine_try_cflags_saved
10325 CC=$ac_wine_try_cflags_saved_cc
10326 ac_exeext=$ac_wine_try_cflags_saved_exeext
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10329 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10330 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10331 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10334 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10335 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10336 $as_echo_n "(cached) " >&6
10337 else
10338 ac_wine_try_cflags_saved=$CFLAGS
10339 ac_wine_try_cflags_saved_cc=$CC
10340 ac_wine_try_cflags_saved_exeext=$ac_exeext
10341 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10342 CC="$CROSSCC"
10343 ac_exeext=".exe"
10344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10345 /* end confdefs.h. */
10346 int __cdecl mainCRTStartup(void) { return 0; }
10347 _ACEOF
10348 if ac_fn_c_try_link "$LINENO"; then :
10349 ac_cv_crosscflags__Wabsolute_value=yes
10350 else
10351 ac_cv_crosscflags__Wabsolute_value=no
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 CFLAGS=$ac_wine_try_cflags_saved
10356 CC=$ac_wine_try_cflags_saved_cc
10357 ac_exeext=$ac_wine_try_cflags_saved_exeext
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10360 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10361 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10362 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10365 case $host_cpu in
10366 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10367 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10368 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10369 $as_echo_n "(cached) " >&6
10370 else
10371 ac_wine_try_cflags_saved=$CFLAGS
10372 ac_wine_try_cflags_saved_cc=$CC
10373 ac_wine_try_cflags_saved_exeext=$ac_exeext
10374 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10375 CC="$CROSSCC"
10376 ac_exeext=".exe"
10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10379 int __cdecl mainCRTStartup(void) { return 0; }
10380 _ACEOF
10381 if ac_fn_c_try_link "$LINENO"; then :
10382 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10383 else
10384 ac_cv_crosscflags__fno_omit_frame_pointer=no
10386 rm -f core conftest.err conftest.$ac_objext \
10387 conftest$ac_exeext conftest.$ac_ext
10388 CFLAGS=$ac_wine_try_cflags_saved
10389 CC=$ac_wine_try_cflags_saved_cc
10390 ac_exeext=$ac_wine_try_cflags_saved_exeext
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10393 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10394 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10395 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10396 fi ;;
10397 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10398 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10399 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10400 $as_echo_n "(cached) " >&6
10401 else
10402 ac_wine_try_cflags_saved=$CFLAGS
10403 ac_wine_try_cflags_saved_cc=$CC
10404 ac_wine_try_cflags_saved_exeext=$ac_exeext
10405 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10406 CC="$CROSSCC"
10407 ac_exeext=".exe"
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10410 int __cdecl mainCRTStartup(void) { return 0; }
10411 _ACEOF
10412 if ac_fn_c_try_link "$LINENO"; then :
10413 ac_cv_crosscflags__Wno_format=yes
10414 else
10415 ac_cv_crosscflags__Wno_format=no
10417 rm -f core conftest.err conftest.$ac_objext \
10418 conftest$ac_exeext conftest.$ac_ext
10419 CFLAGS=$ac_wine_try_cflags_saved
10420 CC=$ac_wine_try_cflags_saved_cc
10421 ac_exeext=$ac_wine_try_cflags_saved_exeext
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10424 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10425 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10426 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10429 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10430 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10431 $as_echo_n "(cached) " >&6
10432 else
10433 ac_wine_try_cflags_saved=$CFLAGS
10434 ac_wine_try_cflags_saved_cc=$CC
10435 ac_wine_try_cflags_saved_exeext=$ac_exeext
10436 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10437 CC="$CROSSCC"
10438 ac_exeext=".exe"
10439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10440 /* end confdefs.h. */
10441 int __cdecl mainCRTStartup(void) { return 0; }
10442 _ACEOF
10443 if ac_fn_c_try_link "$LINENO"; then :
10444 ac_cv_crosscflags__Wformat_overflow=yes
10445 else
10446 ac_cv_crosscflags__Wformat_overflow=no
10448 rm -f core conftest.err conftest.$ac_objext \
10449 conftest$ac_exeext conftest.$ac_ext
10450 CFLAGS=$ac_wine_try_cflags_saved
10451 CC=$ac_wine_try_cflags_saved_cc
10452 ac_exeext=$ac_wine_try_cflags_saved_exeext
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10455 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10456 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10457 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10460 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10461 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10462 $as_echo_n "(cached) " >&6
10463 else
10464 ac_wine_try_cflags_saved=$CFLAGS
10465 ac_wine_try_cflags_saved_cc=$CC
10466 ac_wine_try_cflags_saved_exeext=$ac_exeext
10467 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10468 CC="$CROSSCC"
10469 ac_exeext=".exe"
10470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10471 /* end confdefs.h. */
10472 int __cdecl mainCRTStartup(void) { return 0; }
10473 _ACEOF
10474 if ac_fn_c_try_link "$LINENO"; then :
10475 ac_cv_crosscflags__Wnonnull=yes
10476 else
10477 ac_cv_crosscflags__Wnonnull=no
10479 rm -f core conftest.err conftest.$ac_objext \
10480 conftest$ac_exeext conftest.$ac_ext
10481 CFLAGS=$ac_wine_try_cflags_saved
10482 CC=$ac_wine_try_cflags_saved_cc
10483 ac_exeext=$ac_wine_try_cflags_saved_exeext
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10486 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10487 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10488 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10491 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10492 if ${ac_cv_crosscflags__mcx16+:} false; then :
10493 $as_echo_n "(cached) " >&6
10494 else
10495 ac_wine_try_cflags_saved=$CFLAGS
10496 ac_wine_try_cflags_saved_cc=$CC
10497 ac_wine_try_cflags_saved_exeext=$ac_exeext
10498 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10499 CC="$CROSSCC"
10500 ac_exeext=".exe"
10501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10502 /* end confdefs.h. */
10503 int __cdecl mainCRTStartup(void) { return 0; }
10504 _ACEOF
10505 if ac_fn_c_try_link "$LINENO"; then :
10506 ac_cv_crosscflags__mcx16=yes
10507 else
10508 ac_cv_crosscflags__mcx16=no
10510 rm -f core conftest.err conftest.$ac_objext \
10511 conftest$ac_exeext conftest.$ac_ext
10512 CFLAGS=$ac_wine_try_cflags_saved
10513 CC=$ac_wine_try_cflags_saved_cc
10514 ac_exeext=$ac_wine_try_cflags_saved_exeext
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10517 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10518 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10519 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10520 fi ;;
10521 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10522 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10523 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10524 $as_echo_n "(cached) " >&6
10525 else
10526 ac_wine_try_cflags_saved=$CFLAGS
10527 ac_wine_try_cflags_saved_cc=$CC
10528 ac_wine_try_cflags_saved_exeext=$ac_exeext
10529 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10530 CC="$CROSSCC"
10531 ac_exeext=".exe"
10532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10534 int __cdecl mainCRTStartup(void) { return 0; }
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"; then :
10537 ac_cv_crosscflags__Wno_format=yes
10538 else
10539 ac_cv_crosscflags__Wno_format=no
10541 rm -f core conftest.err conftest.$ac_objext \
10542 conftest$ac_exeext conftest.$ac_ext
10543 CFLAGS=$ac_wine_try_cflags_saved
10544 CC=$ac_wine_try_cflags_saved_cc
10545 ac_exeext=$ac_wine_try_cflags_saved_exeext
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10548 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10549 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10550 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10551 fi ;;
10552 esac
10555 if test -z "$CROSSDEBUG"
10556 then
10557 for ac_flag in $CROSSCFLAGS; do
10558 case $ac_flag in
10559 -gdwarf*) CROSSDEBUG=dwarf ;;
10560 -gcodeview) CROSSDEBUG=pdb ;;
10561 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10562 esac
10563 done
10565 case $CROSSDEBUG in
10566 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10567 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10568 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10569 $as_echo_n "(cached) " >&6
10570 else
10571 ac_wine_try_cflags_saved=$CFLAGS
10572 ac_wine_try_cflags_saved_cc=$CC
10573 ac_wine_try_cflags_saved_exeext=$ac_exeext
10574 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10575 CC="$CROSSCC"
10576 ac_exeext=".exe"
10577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10579 int __cdecl mainCRTStartup(void) { return 0; }
10580 _ACEOF
10581 if ac_fn_c_try_link "$LINENO"; then :
10582 ac_cv_crosscflags__gdwarf_2=yes
10583 else
10584 ac_cv_crosscflags__gdwarf_2=no
10586 rm -f core conftest.err conftest.$ac_objext \
10587 conftest$ac_exeext conftest.$ac_ext
10588 CFLAGS=$ac_wine_try_cflags_saved
10589 CC=$ac_wine_try_cflags_saved_cc
10590 ac_exeext=$ac_wine_try_cflags_saved_exeext
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10593 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10594 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10595 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10598 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10599 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10600 $as_echo_n "(cached) " >&6
10601 else
10602 ac_wine_try_cflags_saved=$CFLAGS
10603 ac_wine_try_cflags_saved_cc=$CC
10604 ac_wine_try_cflags_saved_exeext=$ac_exeext
10605 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10606 CC="$CROSSCC"
10607 ac_exeext=".exe"
10608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10609 /* end confdefs.h. */
10610 int __cdecl mainCRTStartup(void) { return 0; }
10611 _ACEOF
10612 if ac_fn_c_try_link "$LINENO"; then :
10613 ac_cv_crosscflags__gstrict_dwarf=yes
10614 else
10615 ac_cv_crosscflags__gstrict_dwarf=no
10617 rm -f core conftest.err conftest.$ac_objext \
10618 conftest$ac_exeext conftest.$ac_ext
10619 CFLAGS=$ac_wine_try_cflags_saved
10620 CC=$ac_wine_try_cflags_saved_cc
10621 ac_exeext=$ac_wine_try_cflags_saved_exeext
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10624 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10625 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10626 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10627 fi ;;
10628 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10629 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10630 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10631 $as_echo_n "(cached) " >&6
10632 else
10633 ac_wine_try_cflags_saved=$CFLAGS
10634 ac_wine_try_cflags_saved_cc=$CC
10635 ac_wine_try_cflags_saved_exeext=$ac_exeext
10636 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10637 CC="$CROSSCC"
10638 ac_exeext=".exe"
10639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h. */
10641 int __cdecl mainCRTStartup(void) { return 0; }
10642 _ACEOF
10643 if ac_fn_c_try_link "$LINENO"; then :
10644 ac_cv_crosscflags__gcodeview=yes
10645 else
10646 ac_cv_crosscflags__gcodeview=no
10648 rm -f core conftest.err conftest.$ac_objext \
10649 conftest$ac_exeext conftest.$ac_ext
10650 CFLAGS=$ac_wine_try_cflags_saved
10651 CC=$ac_wine_try_cflags_saved_cc
10652 ac_exeext=$ac_wine_try_cflags_saved_exeext
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10655 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10656 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10657 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10658 fi ;;
10659 esac
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10662 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10663 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10664 $as_echo_n "(cached) " >&6
10665 else
10666 ac_wine_try_cflags_saved=$CFLAGS
10667 ac_wine_try_cflags_saved_cc=$CC
10668 ac_wine_try_cflags_saved_exeext=$ac_exeext
10669 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10670 CC="$CROSSCC"
10671 ac_exeext=".exe"
10672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10673 /* end confdefs.h. */
10674 int __cdecl mainCRTStartup(void) { return 0; }
10675 _ACEOF
10676 if ac_fn_c_try_link "$LINENO"; then :
10677 ac_cv_crosscflags__fexcess_precision_standard=yes
10678 else
10679 ac_cv_crosscflags__fexcess_precision_standard=no
10681 rm -f core conftest.err conftest.$ac_objext \
10682 conftest$ac_exeext conftest.$ac_ext
10683 CFLAGS=$ac_wine_try_cflags_saved
10684 CC=$ac_wine_try_cflags_saved_cc
10685 ac_exeext=$ac_wine_try_cflags_saved_exeext
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10688 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10689 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10690 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10694 if test "x$enable_werror" = "xyes"
10695 then
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10697 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10698 if ${ac_cv_crosscflags__Werror+:} false; then :
10699 $as_echo_n "(cached) " >&6
10700 else
10701 ac_wine_try_cflags_saved=$CFLAGS
10702 ac_wine_try_cflags_saved_cc=$CC
10703 ac_wine_try_cflags_saved_exeext=$ac_exeext
10704 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10705 CC="$CROSSCC"
10706 ac_exeext=".exe"
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10709 int __cdecl mainCRTStartup(void) { return 0; }
10710 _ACEOF
10711 if ac_fn_c_try_link "$LINENO"; then :
10712 ac_cv_crosscflags__Werror=yes
10713 else
10714 ac_cv_crosscflags__Werror=no
10716 rm -f core conftest.err conftest.$ac_objext \
10717 conftest$ac_exeext conftest.$ac_ext
10718 CFLAGS=$ac_wine_try_cflags_saved
10719 CC=$ac_wine_try_cflags_saved_cc
10720 ac_exeext=$ac_wine_try_cflags_saved_exeext
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10723 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10724 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10725 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10728 if test "x$enable_build_id" = "xyes"
10729 then
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10731 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10732 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10733 $as_echo_n "(cached) " >&6
10734 else
10735 ac_wine_try_cflags_saved=$CFLAGS
10736 ac_wine_try_cflags_saved_cc=$CC
10737 ac_wine_try_cflags_saved_exeext=$ac_exeext
10738 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10739 CC="$CROSSCC"
10740 ac_exeext=".exe"
10741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10743 int __cdecl mainCRTStartup(void) { return 0; }
10744 _ACEOF
10745 if ac_fn_c_try_link "$LINENO"; then :
10746 ac_cv_crosscflags__Wl___build_id=yes
10747 else
10748 ac_cv_crosscflags__Wl___build_id=no
10750 rm -f core conftest.err conftest.$ac_objext \
10751 conftest$ac_exeext conftest.$ac_ext
10752 CFLAGS=$ac_wine_try_cflags_saved
10753 CC=$ac_wine_try_cflags_saved_cc
10754 ac_exeext=$ac_wine_try_cflags_saved_exeext
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10757 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10758 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10759 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10760 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10764 CFLAGS=$saved_CFLAGS
10765 CC="$ac_save_CC"
10768 if test "x$CROSSTARGET" = "x"; then :
10769 case "x$with_mingw" in
10770 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10771 xno) ;;
10772 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10773 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10774 esac
10779 if test "$ac_cv_header_pthread_h" = "yes"
10780 then
10781 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10782 if test "x$ac_cv_func_pthread_create" = xyes; then :
10784 else
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10786 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10787 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10788 $as_echo_n "(cached) " >&6
10789 else
10790 ac_check_lib_save_LIBS=$LIBS
10791 LIBS="-lpthread $LIBS"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10798 #ifdef __cplusplus
10799 extern "C"
10800 #endif
10801 char pthread_create ();
10803 main ()
10805 return pthread_create ();
10807 return 0;
10809 _ACEOF
10810 if ac_fn_c_try_link "$LINENO"; then :
10811 ac_cv_lib_pthread_pthread_create=yes
10812 else
10813 ac_cv_lib_pthread_pthread_create=no
10815 rm -f core conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10817 LIBS=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10820 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10821 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10822 PTHREAD_LIBS="-lpthread"
10829 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10830 case "x$with_pthread" in
10831 xno) ;;
10832 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10833 Wine cannot support threads without libpthread.
10834 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10835 esac
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10841 $as_echo_n "checking for X... " >&6; }
10844 # Check whether --with-x was given.
10845 if test "${with_x+set}" = set; then :
10846 withval=$with_x;
10849 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10850 if test "x$with_x" = xno; then
10851 # The user explicitly disabled X.
10852 have_x=disabled
10853 else
10854 case $x_includes,$x_libraries in #(
10855 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10856 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10857 $as_echo_n "(cached) " >&6
10858 else
10859 # One or both of the vars are not set, and there is no cached value.
10860 ac_x_includes=no ac_x_libraries=no
10861 rm -f -r conftest.dir
10862 if mkdir conftest.dir; then
10863 cd conftest.dir
10864 cat >Imakefile <<'_ACEOF'
10865 incroot:
10866 @echo incroot='${INCROOT}'
10867 usrlibdir:
10868 @echo usrlibdir='${USRLIBDIR}'
10869 libdir:
10870 @echo libdir='${LIBDIR}'
10871 _ACEOF
10872 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10873 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10874 for ac_var in incroot usrlibdir libdir; do
10875 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10876 done
10877 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10878 for ac_extension in a so sl dylib la dll; do
10879 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10880 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10881 ac_im_usrlibdir=$ac_im_libdir; break
10883 done
10884 # Screen out bogus values from the imake configuration. They are
10885 # bogus both because they are the default anyway, and because
10886 # using them would break gcc on systems where it needs fixed includes.
10887 case $ac_im_incroot in
10888 /usr/include) ac_x_includes= ;;
10889 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10890 esac
10891 case $ac_im_usrlibdir in
10892 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10893 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10894 esac
10896 cd ..
10897 rm -f -r conftest.dir
10900 # Standard set of common directories for X headers.
10901 # Check X11 before X11Rn because it is often a symlink to the current release.
10902 ac_x_header_dirs='
10903 /usr/X11/include
10904 /usr/X11R7/include
10905 /usr/X11R6/include
10906 /usr/X11R5/include
10907 /usr/X11R4/include
10909 /usr/include/X11
10910 /usr/include/X11R7
10911 /usr/include/X11R6
10912 /usr/include/X11R5
10913 /usr/include/X11R4
10915 /usr/local/X11/include
10916 /usr/local/X11R7/include
10917 /usr/local/X11R6/include
10918 /usr/local/X11R5/include
10919 /usr/local/X11R4/include
10921 /usr/local/include/X11
10922 /usr/local/include/X11R7
10923 /usr/local/include/X11R6
10924 /usr/local/include/X11R5
10925 /usr/local/include/X11R4
10927 /usr/X386/include
10928 /usr/x386/include
10929 /usr/XFree86/include/X11
10931 /usr/include
10932 /usr/local/include
10933 /usr/unsupported/include
10934 /usr/athena/include
10935 /usr/local/x11r5/include
10936 /usr/lpp/Xamples/include
10938 /usr/openwin/include
10939 /usr/openwin/share/include'
10941 if test "$ac_x_includes" = no; then
10942 # Guess where to find include files, by looking for Xlib.h.
10943 # First, try using that file with no special directory specified.
10944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10945 /* end confdefs.h. */
10946 #include <X11/Xlib.h>
10947 _ACEOF
10948 if ac_fn_c_try_cpp "$LINENO"; then :
10949 # We can compile using X headers with no special include directory.
10950 ac_x_includes=
10951 else
10952 for ac_dir in $ac_x_header_dirs; do
10953 if test -r "$ac_dir/X11/Xlib.h"; then
10954 ac_x_includes=$ac_dir
10955 break
10957 done
10959 rm -f conftest.err conftest.i conftest.$ac_ext
10960 fi # $ac_x_includes = no
10962 if test "$ac_x_libraries" = no; then
10963 # Check for the libraries.
10964 # See if we find them without any special options.
10965 # Don't add to $LIBS permanently.
10966 ac_save_LIBS=$LIBS
10967 LIBS="-lX11 $LIBS"
10968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10969 /* end confdefs.h. */
10970 #include <X11/Xlib.h>
10972 main ()
10974 XrmInitialize ()
10976 return 0;
10978 _ACEOF
10979 if ac_fn_c_try_link "$LINENO"; then :
10980 LIBS=$ac_save_LIBS
10981 # We can link X programs with no special library path.
10982 ac_x_libraries=
10983 else
10984 LIBS=$ac_save_LIBS
10985 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10987 # Don't even attempt the hair of trying to link an X program!
10988 for ac_extension in a so sl dylib la dll; do
10989 if test -r "$ac_dir/libX11.$ac_extension"; then
10990 ac_x_libraries=$ac_dir
10991 break 2
10993 done
10994 done
10996 rm -f core conftest.err conftest.$ac_objext \
10997 conftest$ac_exeext conftest.$ac_ext
10998 fi # $ac_x_libraries = no
11000 case $ac_x_includes,$ac_x_libraries in #(
11001 no,* | *,no | *\'*)
11002 # Didn't find X, or a directory has "'" in its name.
11003 ac_cv_have_x="have_x=no";; #(
11005 # Record where we found X for the cache.
11006 ac_cv_have_x="have_x=yes\
11007 ac_x_includes='$ac_x_includes'\
11008 ac_x_libraries='$ac_x_libraries'"
11009 esac
11011 ;; #(
11012 *) have_x=yes;;
11013 esac
11014 eval "$ac_cv_have_x"
11015 fi # $with_x != no
11017 if test "$have_x" != yes; then
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11019 $as_echo "$have_x" >&6; }
11020 no_x=yes
11021 else
11022 # If each of the values was on the command line, it overrides each guess.
11023 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11024 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11025 # Update the cache value to reflect the command line values.
11026 ac_cv_have_x="have_x=yes\
11027 ac_x_includes='$x_includes'\
11028 ac_x_libraries='$x_libraries'"
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11030 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11033 if test "$no_x" = yes; then
11034 # Not all programs may use this symbol, but it does not hurt to define it.
11036 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11038 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11039 else
11040 if test -n "$x_includes"; then
11041 X_CFLAGS="$X_CFLAGS -I$x_includes"
11044 # It would also be nice to do this for all -L options, not just this one.
11045 if test -n "$x_libraries"; then
11046 X_LIBS="$X_LIBS -L$x_libraries"
11047 # For Solaris; some versions of Sun CC require a space after -R and
11048 # others require no space. Words are not sufficient . . . .
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11050 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11051 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11052 ac_xsave_c_werror_flag=$ac_c_werror_flag
11053 ac_c_werror_flag=yes
11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11058 main ()
11062 return 0;
11064 _ACEOF
11065 if ac_fn_c_try_link "$LINENO"; then :
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11067 $as_echo "no" >&6; }
11068 X_LIBS="$X_LIBS -R$x_libraries"
11069 else
11070 LIBS="$ac_xsave_LIBS -R $x_libraries"
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11075 main ()
11079 return 0;
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"; then :
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11084 $as_echo "yes" >&6; }
11085 X_LIBS="$X_LIBS -R $x_libraries"
11086 else
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11088 $as_echo "neither works" >&6; }
11090 rm -f core conftest.err conftest.$ac_objext \
11091 conftest$ac_exeext conftest.$ac_ext
11093 rm -f core conftest.err conftest.$ac_objext \
11094 conftest$ac_exeext conftest.$ac_ext
11095 ac_c_werror_flag=$ac_xsave_c_werror_flag
11096 LIBS=$ac_xsave_LIBS
11099 # Check for system-dependent libraries X programs must link with.
11100 # Do this before checking for the system-independent R6 libraries
11101 # (-lICE), since we may need -lsocket or whatever for X linking.
11103 if test "$ISC" = yes; then
11104 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11105 else
11106 # Martyn Johnson says this is needed for Ultrix, if the X
11107 # libraries were built with DECnet support. And Karl Berry says
11108 # the Alpha needs dnet_stub (dnet does not exist).
11109 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11113 /* Override any GCC internal prototype to avoid an error.
11114 Use char because int might match the return type of a GCC
11115 builtin and then its argument prototype would still apply. */
11116 #ifdef __cplusplus
11117 extern "C"
11118 #endif
11119 char XOpenDisplay ();
11121 main ()
11123 return XOpenDisplay ();
11125 return 0;
11127 _ACEOF
11128 if ac_fn_c_try_link "$LINENO"; then :
11130 else
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11132 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11133 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11134 $as_echo_n "(cached) " >&6
11135 else
11136 ac_check_lib_save_LIBS=$LIBS
11137 LIBS="-ldnet $LIBS"
11138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11139 /* end confdefs.h. */
11141 /* Override any GCC internal prototype to avoid an error.
11142 Use char because int might match the return type of a GCC
11143 builtin and then its argument prototype would still apply. */
11144 #ifdef __cplusplus
11145 extern "C"
11146 #endif
11147 char dnet_ntoa ();
11149 main ()
11151 return dnet_ntoa ();
11153 return 0;
11155 _ACEOF
11156 if ac_fn_c_try_link "$LINENO"; then :
11157 ac_cv_lib_dnet_dnet_ntoa=yes
11158 else
11159 ac_cv_lib_dnet_dnet_ntoa=no
11161 rm -f core conftest.err conftest.$ac_objext \
11162 conftest$ac_exeext conftest.$ac_ext
11163 LIBS=$ac_check_lib_save_LIBS
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11166 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11167 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11168 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11171 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11173 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11174 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11175 $as_echo_n "(cached) " >&6
11176 else
11177 ac_check_lib_save_LIBS=$LIBS
11178 LIBS="-ldnet_stub $LIBS"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h. */
11182 /* Override any GCC internal prototype to avoid an error.
11183 Use char because int might match the return type of a GCC
11184 builtin and then its argument prototype would still apply. */
11185 #ifdef __cplusplus
11186 extern "C"
11187 #endif
11188 char dnet_ntoa ();
11190 main ()
11192 return dnet_ntoa ();
11194 return 0;
11196 _ACEOF
11197 if ac_fn_c_try_link "$LINENO"; then :
11198 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11199 else
11200 ac_cv_lib_dnet_stub_dnet_ntoa=no
11202 rm -f core conftest.err conftest.$ac_objext \
11203 conftest$ac_exeext conftest.$ac_ext
11204 LIBS=$ac_check_lib_save_LIBS
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11207 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11208 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11209 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11214 rm -f core conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS="$ac_xsave_LIBS"
11218 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11219 # to get the SysV transport functions.
11220 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11221 # needs -lnsl.
11222 # The nsl library prevents programs from opening the X display
11223 # on Irix 5.2, according to T.E. Dickey.
11224 # The functions gethostbyname, getservbyname, and inet_addr are
11225 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11226 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11227 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11231 if test $ac_cv_func_gethostbyname = no; then
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11233 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11234 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11235 $as_echo_n "(cached) " >&6
11236 else
11237 ac_check_lib_save_LIBS=$LIBS
11238 LIBS="-lnsl $LIBS"
11239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11242 /* Override any GCC internal prototype to avoid an error.
11243 Use char because int might match the return type of a GCC
11244 builtin and then its argument prototype would still apply. */
11245 #ifdef __cplusplus
11246 extern "C"
11247 #endif
11248 char gethostbyname ();
11250 main ()
11252 return gethostbyname ();
11254 return 0;
11256 _ACEOF
11257 if ac_fn_c_try_link "$LINENO"; then :
11258 ac_cv_lib_nsl_gethostbyname=yes
11259 else
11260 ac_cv_lib_nsl_gethostbyname=no
11262 rm -f core conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11264 LIBS=$ac_check_lib_save_LIBS
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11267 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11268 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11269 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11272 if test $ac_cv_lib_nsl_gethostbyname = no; then
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11274 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11275 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11276 $as_echo_n "(cached) " >&6
11277 else
11278 ac_check_lib_save_LIBS=$LIBS
11279 LIBS="-lbsd $LIBS"
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11283 /* Override any GCC internal prototype to avoid an error.
11284 Use char because int might match the return type of a GCC
11285 builtin and then its argument prototype would still apply. */
11286 #ifdef __cplusplus
11287 extern "C"
11288 #endif
11289 char gethostbyname ();
11291 main ()
11293 return gethostbyname ();
11295 return 0;
11297 _ACEOF
11298 if ac_fn_c_try_link "$LINENO"; then :
11299 ac_cv_lib_bsd_gethostbyname=yes
11300 else
11301 ac_cv_lib_bsd_gethostbyname=no
11303 rm -f core conftest.err conftest.$ac_objext \
11304 conftest$ac_exeext conftest.$ac_ext
11305 LIBS=$ac_check_lib_save_LIBS
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11308 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11309 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11310 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11316 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11317 # socket/setsockopt and other routines are undefined under SCO ODT
11318 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11319 # on later versions), says Simon Leinen: it contains gethostby*
11320 # variants that don't use the name server (or something). -lsocket
11321 # must be given before -lnsl if both are needed. We assume that
11322 # if connect needs -lnsl, so does gethostbyname.
11323 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11324 if test "x$ac_cv_func_connect" = xyes; then :
11328 if test $ac_cv_func_connect = no; then
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11330 $as_echo_n "checking for connect in -lsocket... " >&6; }
11331 if ${ac_cv_lib_socket_connect+:} false; then :
11332 $as_echo_n "(cached) " >&6
11333 else
11334 ac_check_lib_save_LIBS=$LIBS
11335 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11339 /* Override any GCC internal prototype to avoid an error.
11340 Use char because int might match the return type of a GCC
11341 builtin and then its argument prototype would still apply. */
11342 #ifdef __cplusplus
11343 extern "C"
11344 #endif
11345 char connect ();
11347 main ()
11349 return connect ();
11351 return 0;
11353 _ACEOF
11354 if ac_fn_c_try_link "$LINENO"; then :
11355 ac_cv_lib_socket_connect=yes
11356 else
11357 ac_cv_lib_socket_connect=no
11359 rm -f core conftest.err conftest.$ac_objext \
11360 conftest$ac_exeext conftest.$ac_ext
11361 LIBS=$ac_check_lib_save_LIBS
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11364 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11365 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11366 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11371 # Guillermo Gomez says -lposix is necessary on A/UX.
11372 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11373 if test "x$ac_cv_func_remove" = xyes; then :
11377 if test $ac_cv_func_remove = no; then
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11379 $as_echo_n "checking for remove in -lposix... " >&6; }
11380 if ${ac_cv_lib_posix_remove+:} false; then :
11381 $as_echo_n "(cached) " >&6
11382 else
11383 ac_check_lib_save_LIBS=$LIBS
11384 LIBS="-lposix $LIBS"
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11388 /* Override any GCC internal prototype to avoid an error.
11389 Use char because int might match the return type of a GCC
11390 builtin and then its argument prototype would still apply. */
11391 #ifdef __cplusplus
11392 extern "C"
11393 #endif
11394 char remove ();
11396 main ()
11398 return remove ();
11400 return 0;
11402 _ACEOF
11403 if ac_fn_c_try_link "$LINENO"; then :
11404 ac_cv_lib_posix_remove=yes
11405 else
11406 ac_cv_lib_posix_remove=no
11408 rm -f core conftest.err conftest.$ac_objext \
11409 conftest$ac_exeext conftest.$ac_ext
11410 LIBS=$ac_check_lib_save_LIBS
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11413 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11414 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11415 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11420 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11421 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11422 if test "x$ac_cv_func_shmat" = xyes; then :
11426 if test $ac_cv_func_shmat = no; then
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11428 $as_echo_n "checking for shmat in -lipc... " >&6; }
11429 if ${ac_cv_lib_ipc_shmat+:} false; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-lipc $LIBS"
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11440 #ifdef __cplusplus
11441 extern "C"
11442 #endif
11443 char shmat ();
11445 main ()
11447 return shmat ();
11449 return 0;
11451 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"; then :
11453 ac_cv_lib_ipc_shmat=yes
11454 else
11455 ac_cv_lib_ipc_shmat=no
11457 rm -f core conftest.err conftest.$ac_objext \
11458 conftest$ac_exeext conftest.$ac_ext
11459 LIBS=$ac_check_lib_save_LIBS
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11462 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11463 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11464 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11470 # Check for libraries that X11R6 Xt/Xaw programs need.
11471 ac_save_LDFLAGS=$LDFLAGS
11472 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11473 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11474 # check for ICE first), but we must link in the order -lSM -lICE or
11475 # we get undefined symbols. So assume we have SM if we have ICE.
11476 # These have to be linked with before -lX11, unlike the other
11477 # libraries we check for below, so use a different variable.
11478 # John Interrante, Karl Berry
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11480 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11481 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11482 $as_echo_n "(cached) " >&6
11483 else
11484 ac_check_lib_save_LIBS=$LIBS
11485 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11492 #ifdef __cplusplus
11493 extern "C"
11494 #endif
11495 char IceConnectionNumber ();
11497 main ()
11499 return IceConnectionNumber ();
11501 return 0;
11503 _ACEOF
11504 if ac_fn_c_try_link "$LINENO"; then :
11505 ac_cv_lib_ICE_IceConnectionNumber=yes
11506 else
11507 ac_cv_lib_ICE_IceConnectionNumber=no
11509 rm -f core conftest.err conftest.$ac_objext \
11510 conftest$ac_exeext conftest.$ac_ext
11511 LIBS=$ac_check_lib_save_LIBS
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11514 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11515 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11516 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11519 LDFLAGS=$ac_save_LDFLAGS
11524 if test "$have_x" = "yes"
11525 then
11526 ac_save_CPPFLAGS="$CPPFLAGS"
11527 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11530 $as_echo_n "checking for -lX11... " >&6; }
11531 if ${ac_cv_lib_soname_X11+:} false; then :
11532 $as_echo_n "(cached) " >&6
11533 else
11534 ac_check_soname_save_LIBS=$LIBS
11535 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11537 /* end confdefs.h. */
11539 /* Override any GCC internal prototype to avoid an error.
11540 Use char because int might match the return type of a GCC
11541 builtin and then its argument prototype would still apply. */
11542 #ifdef __cplusplus
11543 extern "C"
11544 #endif
11545 char XCreateWindow ();
11547 main ()
11549 return XCreateWindow ();
11551 return 0;
11553 _ACEOF
11554 if ac_fn_c_try_link "$LINENO"; then :
11555 case "$LIBEXT" in
11556 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11557 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'` ;;
11558 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11559 if ${ac_cv_lib_soname_X11:+false} :; then :
11560 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11561 fi ;;
11562 esac
11563 else
11564 ac_cv_lib_soname_X11=
11566 rm -f core conftest.err conftest.$ac_objext \
11567 conftest$ac_exeext conftest.$ac_ext
11568 LIBS=$ac_check_soname_save_LIBS
11570 if ${ac_cv_lib_soname_X11:+false} :; then :
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11572 $as_echo "not found" >&6; }
11574 else
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11576 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11578 cat >>confdefs.h <<_ACEOF
11579 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11580 _ACEOF
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11585 $as_echo_n "checking for -lXext... " >&6; }
11586 if ${ac_cv_lib_soname_Xext+:} false; then :
11587 $as_echo_n "(cached) " >&6
11588 else
11589 ac_check_soname_save_LIBS=$LIBS
11590 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11592 /* end confdefs.h. */
11594 /* Override any GCC internal prototype to avoid an error.
11595 Use char because int might match the return type of a GCC
11596 builtin and then its argument prototype would still apply. */
11597 #ifdef __cplusplus
11598 extern "C"
11599 #endif
11600 char XextCreateExtension ();
11602 main ()
11604 return XextCreateExtension ();
11606 return 0;
11608 _ACEOF
11609 if ac_fn_c_try_link "$LINENO"; then :
11610 case "$LIBEXT" in
11611 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11612 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'` ;;
11613 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11614 if ${ac_cv_lib_soname_Xext:+false} :; then :
11615 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11616 fi ;;
11617 esac
11618 else
11619 ac_cv_lib_soname_Xext=
11621 rm -f core conftest.err conftest.$ac_objext \
11622 conftest$ac_exeext conftest.$ac_ext
11623 LIBS=$ac_check_soname_save_LIBS
11625 if ${ac_cv_lib_soname_Xext:+false} :; then :
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11627 $as_echo "not found" >&6; }
11629 else
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11631 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11633 cat >>confdefs.h <<_ACEOF
11634 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11635 _ACEOF
11637 X_LIBS="$X_LIBS -lXext"
11639 X_LIBS="$X_LIBS -lX11"
11641 for ac_header in X11/Xlib.h \
11642 X11/XKBlib.h \
11643 X11/Xutil.h \
11644 X11/Xcursor/Xcursor.h \
11645 X11/extensions/shape.h \
11646 X11/extensions/XInput.h \
11647 X11/extensions/XInput2.h \
11648 X11/extensions/XShm.h \
11649 X11/extensions/Xcomposite.h \
11650 X11/extensions/Xfixes.h \
11651 X11/extensions/Xinerama.h \
11652 X11/extensions/Xrandr.h \
11653 X11/extensions/Xrender.h \
11654 X11/extensions/xf86vmode.h \
11655 X11/extensions/xf86vmproto.h
11656 do :
11657 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11658 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11659 # include <X11/Xlib.h>
11660 #endif
11661 #ifdef HAVE_X11_XUTIL_H
11662 # include <X11/Xutil.h>
11663 #endif
11665 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11666 cat >>confdefs.h <<_ACEOF
11667 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11668 _ACEOF
11672 done
11675 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11676 then
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11678 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11679 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11680 $as_echo_n "(cached) " >&6
11681 else
11682 ac_check_lib_save_LIBS=$LIBS
11683 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h. */
11687 /* Override any GCC internal prototype to avoid an error.
11688 Use char because int might match the return type of a GCC
11689 builtin and then its argument prototype would still apply. */
11690 #ifdef __cplusplus
11691 extern "C"
11692 #endif
11693 char XkbQueryExtension ();
11695 main ()
11697 return XkbQueryExtension ();
11699 return 0;
11701 _ACEOF
11702 if ac_fn_c_try_link "$LINENO"; then :
11703 ac_cv_lib_X11_XkbQueryExtension=yes
11704 else
11705 ac_cv_lib_X11_XkbQueryExtension=no
11707 rm -f core conftest.err conftest.$ac_objext \
11708 conftest$ac_exeext conftest.$ac_ext
11709 LIBS=$ac_check_lib_save_LIBS
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11712 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11713 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11715 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11721 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11722 then
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11724 $as_echo_n "checking for -lXcursor... " >&6; }
11725 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11726 $as_echo_n "(cached) " >&6
11727 else
11728 ac_check_soname_save_LIBS=$LIBS
11729 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11733 /* Override any GCC internal prototype to avoid an error.
11734 Use char because int might match the return type of a GCC
11735 builtin and then its argument prototype would still apply. */
11736 #ifdef __cplusplus
11737 extern "C"
11738 #endif
11739 char XcursorImageLoadCursor ();
11741 main ()
11743 return XcursorImageLoadCursor ();
11745 return 0;
11747 _ACEOF
11748 if ac_fn_c_try_link "$LINENO"; then :
11749 case "$LIBEXT" in
11750 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11751 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'` ;;
11752 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11753 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11754 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11755 fi ;;
11756 esac
11757 else
11758 ac_cv_lib_soname_Xcursor=
11760 rm -f core conftest.err conftest.$ac_objext \
11761 conftest$ac_exeext conftest.$ac_ext
11762 LIBS=$ac_check_soname_save_LIBS
11764 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11766 $as_echo "not found" >&6; }
11768 else
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11770 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11772 cat >>confdefs.h <<_ACEOF
11773 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11774 _ACEOF
11779 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11780 case "x$with_xcursor" in
11781 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11782 xno) ;;
11783 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11784 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11785 esac
11789 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11790 then
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11792 $as_echo_n "checking for -lXi... " >&6; }
11793 if ${ac_cv_lib_soname_Xi+:} false; then :
11794 $as_echo_n "(cached) " >&6
11795 else
11796 ac_check_soname_save_LIBS=$LIBS
11797 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11799 /* end confdefs.h. */
11801 /* Override any GCC internal prototype to avoid an error.
11802 Use char because int might match the return type of a GCC
11803 builtin and then its argument prototype would still apply. */
11804 #ifdef __cplusplus
11805 extern "C"
11806 #endif
11807 char XOpenDevice ();
11809 main ()
11811 return XOpenDevice ();
11813 return 0;
11815 _ACEOF
11816 if ac_fn_c_try_link "$LINENO"; then :
11817 case "$LIBEXT" in
11818 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11819 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'` ;;
11820 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11821 if ${ac_cv_lib_soname_Xi:+false} :; then :
11822 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11823 fi ;;
11824 esac
11825 else
11826 ac_cv_lib_soname_Xi=
11828 rm -f core conftest.err conftest.$ac_objext \
11829 conftest$ac_exeext conftest.$ac_ext
11830 LIBS=$ac_check_soname_save_LIBS
11832 if ${ac_cv_lib_soname_Xi:+false} :; then :
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11834 $as_echo "not found" >&6; }
11836 else
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11838 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11840 cat >>confdefs.h <<_ACEOF
11841 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11842 _ACEOF
11847 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11848 case "x$with_xinput" in
11849 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11850 xno) ;;
11851 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11852 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11853 esac
11857 if test "x$ac_cv_lib_soname_Xi" != x
11858 then
11859 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11860 case "x$with_xinput2" in
11861 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11862 xno) ;;
11863 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11864 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11865 esac
11870 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11871 then
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11873 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11874 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11875 $as_echo_n "(cached) " >&6
11876 else
11877 ac_check_lib_save_LIBS=$LIBS
11878 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11880 /* end confdefs.h. */
11882 /* Override any GCC internal prototype to avoid an error.
11883 Use char because int might match the return type of a GCC
11884 builtin and then its argument prototype would still apply. */
11885 #ifdef __cplusplus
11886 extern "C"
11887 #endif
11888 char XShmQueryExtension ();
11890 main ()
11892 return XShmQueryExtension ();
11894 return 0;
11896 _ACEOF
11897 if ac_fn_c_try_link "$LINENO"; then :
11898 ac_cv_lib_Xext_XShmQueryExtension=yes
11899 else
11900 ac_cv_lib_Xext_XShmQueryExtension=no
11902 rm -f core conftest.err conftest.$ac_objext \
11903 conftest$ac_exeext conftest.$ac_ext
11904 LIBS=$ac_check_lib_save_LIBS
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11907 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11908 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11910 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11915 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11916 case "x$with_xshm" in
11917 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11918 xno) ;;
11919 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11920 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11921 esac
11925 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11926 then
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11928 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11929 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11930 $as_echo_n "(cached) " >&6
11931 else
11932 ac_check_lib_save_LIBS=$LIBS
11933 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11937 /* Override any GCC internal prototype to avoid an error.
11938 Use char because int might match the return type of a GCC
11939 builtin and then its argument prototype would still apply. */
11940 #ifdef __cplusplus
11941 extern "C"
11942 #endif
11943 char XShapeQueryExtension ();
11945 main ()
11947 return XShapeQueryExtension ();
11949 return 0;
11951 _ACEOF
11952 if ac_fn_c_try_link "$LINENO"; then :
11953 ac_cv_lib_Xext_XShapeQueryExtension=yes
11954 else
11955 ac_cv_lib_Xext_XShapeQueryExtension=no
11957 rm -f core conftest.err conftest.$ac_objext \
11958 conftest$ac_exeext conftest.$ac_ext
11959 LIBS=$ac_check_lib_save_LIBS
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11962 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11963 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11965 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11970 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11971 case "x$with_xshape" in
11972 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11973 xno) ;;
11974 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11975 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11976 esac
11980 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11981 then
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11983 $as_echo_n "checking for -lXxf86vm... " >&6; }
11984 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11985 $as_echo_n "(cached) " >&6
11986 else
11987 ac_check_soname_save_LIBS=$LIBS
11988 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11990 /* end confdefs.h. */
11992 /* Override any GCC internal prototype to avoid an error.
11993 Use char because int might match the return type of a GCC
11994 builtin and then its argument prototype would still apply. */
11995 #ifdef __cplusplus
11996 extern "C"
11997 #endif
11998 char XF86VidModeQueryExtension ();
12000 main ()
12002 return XF86VidModeQueryExtension ();
12004 return 0;
12006 _ACEOF
12007 if ac_fn_c_try_link "$LINENO"; then :
12008 case "$LIBEXT" in
12009 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12010 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'` ;;
12011 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12012 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12013 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12014 fi ;;
12015 esac
12016 else
12017 ac_cv_lib_soname_Xxf86vm=
12019 rm -f core conftest.err conftest.$ac_objext \
12020 conftest$ac_exeext conftest.$ac_ext
12021 LIBS=$ac_check_soname_save_LIBS
12023 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12025 $as_echo "not found" >&6; }
12027 else
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12029 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12031 cat >>confdefs.h <<_ACEOF
12032 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12033 _ACEOF
12038 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12039 case "x$with_xxf86vm" in
12040 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12041 xno) ;;
12042 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12043 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12044 esac
12048 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12049 then
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12051 $as_echo_n "checking for -lXrender... " >&6; }
12052 if ${ac_cv_lib_soname_Xrender+:} false; then :
12053 $as_echo_n "(cached) " >&6
12054 else
12055 ac_check_soname_save_LIBS=$LIBS
12056 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12058 /* end confdefs.h. */
12060 /* Override any GCC internal prototype to avoid an error.
12061 Use char because int might match the return type of a GCC
12062 builtin and then its argument prototype would still apply. */
12063 #ifdef __cplusplus
12064 extern "C"
12065 #endif
12066 char XRenderQueryExtension ();
12068 main ()
12070 return XRenderQueryExtension ();
12072 return 0;
12074 _ACEOF
12075 if ac_fn_c_try_link "$LINENO"; then :
12076 case "$LIBEXT" in
12077 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12078 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'` ;;
12079 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12080 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12081 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12082 fi ;;
12083 esac
12084 else
12085 ac_cv_lib_soname_Xrender=
12087 rm -f core conftest.err conftest.$ac_objext \
12088 conftest$ac_exeext conftest.$ac_ext
12089 LIBS=$ac_check_soname_save_LIBS
12091 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12093 $as_echo "not found" >&6; }
12095 else
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12097 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12099 cat >>confdefs.h <<_ACEOF
12100 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12101 _ACEOF
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12104 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12105 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12106 $as_echo_n "(cached) " >&6
12107 else
12108 ac_check_lib_save_LIBS=$LIBS
12109 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12111 /* end confdefs.h. */
12113 /* Override any GCC internal prototype to avoid an error.
12114 Use char because int might match the return type of a GCC
12115 builtin and then its argument prototype would still apply. */
12116 #ifdef __cplusplus
12117 extern "C"
12118 #endif
12119 char XRenderSetPictureTransform ();
12121 main ()
12123 return XRenderSetPictureTransform ();
12125 return 0;
12127 _ACEOF
12128 if ac_fn_c_try_link "$LINENO"; then :
12129 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12130 else
12131 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12133 rm -f core conftest.err conftest.$ac_objext \
12134 conftest$ac_exeext conftest.$ac_ext
12135 LIBS=$ac_check_lib_save_LIBS
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12138 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12139 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12141 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12146 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12147 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12148 $as_echo_n "(cached) " >&6
12149 else
12150 ac_check_lib_save_LIBS=$LIBS
12151 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153 /* end confdefs.h. */
12155 /* Override any GCC internal prototype to avoid an error.
12156 Use char because int might match the return type of a GCC
12157 builtin and then its argument prototype would still apply. */
12158 #ifdef __cplusplus
12159 extern "C"
12160 #endif
12161 char XRenderCreateLinearGradient ();
12163 main ()
12165 return XRenderCreateLinearGradient ();
12167 return 0;
12169 _ACEOF
12170 if ac_fn_c_try_link "$LINENO"; then :
12171 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12172 else
12173 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12175 rm -f core conftest.err conftest.$ac_objext \
12176 conftest$ac_exeext conftest.$ac_ext
12177 LIBS=$ac_check_lib_save_LIBS
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12180 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12181 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12183 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12190 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12191 case "x$with_xrender" in
12192 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12193 xno) ;;
12194 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12195 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12196 esac
12200 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12201 then
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12204 #include <X11/Xlib.h>
12205 #include <X11/extensions/Xrandr.h>
12207 main ()
12209 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12211 return 0;
12213 _ACEOF
12214 if ac_fn_c_try_compile "$LINENO"; then :
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12216 $as_echo_n "checking for -lXrandr... " >&6; }
12217 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12218 $as_echo_n "(cached) " >&6
12219 else
12220 ac_check_soname_save_LIBS=$LIBS
12221 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12223 /* end confdefs.h. */
12225 /* Override any GCC internal prototype to avoid an error.
12226 Use char because int might match the return type of a GCC
12227 builtin and then its argument prototype would still apply. */
12228 #ifdef __cplusplus
12229 extern "C"
12230 #endif
12231 char XRRQueryExtension ();
12233 main ()
12235 return XRRQueryExtension ();
12237 return 0;
12239 _ACEOF
12240 if ac_fn_c_try_link "$LINENO"; then :
12241 case "$LIBEXT" in
12242 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12243 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'` ;;
12244 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12245 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12246 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12247 fi ;;
12248 esac
12249 else
12250 ac_cv_lib_soname_Xrandr=
12252 rm -f core conftest.err conftest.$ac_objext \
12253 conftest$ac_exeext conftest.$ac_ext
12254 LIBS=$ac_check_soname_save_LIBS
12256 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12258 $as_echo "not found" >&6; }
12260 else
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12262 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12264 cat >>confdefs.h <<_ACEOF
12265 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12266 _ACEOF
12268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12270 #include <X11/Xlib.h>
12271 #include <X11/extensions/Xrandr.h>
12273 main ()
12275 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12277 return 0;
12279 _ACEOF
12280 if ac_fn_c_try_compile "$LINENO"; then :
12282 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12284 else
12285 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12292 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12293 case "x$with_xrandr" in
12294 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12295 xno) ;;
12296 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12297 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12298 esac
12302 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12303 then
12304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12305 /* end confdefs.h. */
12306 #include <X11/Xlib.h>
12307 #include <X11/extensions/Xfixes.h>
12309 main ()
12311 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12313 return 0;
12315 _ACEOF
12316 if ac_fn_c_try_compile "$LINENO"; then :
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12318 $as_echo_n "checking for -lXfixes... " >&6; }
12319 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12320 $as_echo_n "(cached) " >&6
12321 else
12322 ac_check_soname_save_LIBS=$LIBS
12323 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12330 #ifdef __cplusplus
12331 extern "C"
12332 #endif
12333 char XFixesQueryVersion ();
12335 main ()
12337 return XFixesQueryVersion ();
12339 return 0;
12341 _ACEOF
12342 if ac_fn_c_try_link "$LINENO"; then :
12343 case "$LIBEXT" in
12344 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12345 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'` ;;
12346 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12347 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12348 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12349 fi ;;
12350 esac
12351 else
12352 ac_cv_lib_soname_Xfixes=
12354 rm -f core conftest.err conftest.$ac_objext \
12355 conftest$ac_exeext conftest.$ac_ext
12356 LIBS=$ac_check_soname_save_LIBS
12358 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12360 $as_echo "not found" >&6; }
12362 else
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12364 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12366 cat >>confdefs.h <<_ACEOF
12367 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12368 _ACEOF
12373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12375 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12376 case "x$with_xfixes" in
12377 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12378 xno) ;;
12379 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12380 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12381 esac
12385 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12386 then
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12389 #include <X11/Xlib.h>
12390 #include <X11/extensions/Xinerama.h>
12392 main ()
12394 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12396 return 0;
12398 _ACEOF
12399 if ac_fn_c_try_compile "$LINENO"; then :
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12401 $as_echo_n "checking for -lXinerama... " >&6; }
12402 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12403 $as_echo_n "(cached) " >&6
12404 else
12405 ac_check_soname_save_LIBS=$LIBS
12406 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12410 /* Override any GCC internal prototype to avoid an error.
12411 Use char because int might match the return type of a GCC
12412 builtin and then its argument prototype would still apply. */
12413 #ifdef __cplusplus
12414 extern "C"
12415 #endif
12416 char XineramaQueryScreens ();
12418 main ()
12420 return XineramaQueryScreens ();
12422 return 0;
12424 _ACEOF
12425 if ac_fn_c_try_link "$LINENO"; then :
12426 case "$LIBEXT" in
12427 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12428 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'` ;;
12429 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12430 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12431 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12432 fi ;;
12433 esac
12434 else
12435 ac_cv_lib_soname_Xinerama=
12437 rm -f core conftest.err conftest.$ac_objext \
12438 conftest$ac_exeext conftest.$ac_ext
12439 LIBS=$ac_check_soname_save_LIBS
12441 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12443 $as_echo "not found" >&6; }
12445 else
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12447 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12449 cat >>confdefs.h <<_ACEOF
12450 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12451 _ACEOF
12456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12458 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12459 case "x$with_xinerama" in
12460 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12461 xno) ;;
12462 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12463 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12464 esac
12468 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12469 then
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12471 $as_echo_n "checking for -lXcomposite... " >&6; }
12472 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12473 $as_echo_n "(cached) " >&6
12474 else
12475 ac_check_soname_save_LIBS=$LIBS
12476 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12480 /* Override any GCC internal prototype to avoid an error.
12481 Use char because int might match the return type of a GCC
12482 builtin and then its argument prototype would still apply. */
12483 #ifdef __cplusplus
12484 extern "C"
12485 #endif
12486 char XCompositeRedirectWindow ();
12488 main ()
12490 return XCompositeRedirectWindow ();
12492 return 0;
12494 _ACEOF
12495 if ac_fn_c_try_link "$LINENO"; then :
12496 case "$LIBEXT" in
12497 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12498 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'` ;;
12499 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12500 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12501 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12502 fi ;;
12503 esac
12504 else
12505 ac_cv_lib_soname_Xcomposite=
12507 rm -f core conftest.err conftest.$ac_objext \
12508 conftest$ac_exeext conftest.$ac_ext
12509 LIBS=$ac_check_soname_save_LIBS
12511 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12513 $as_echo "not found" >&6; }
12515 else
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12517 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12519 cat >>confdefs.h <<_ACEOF
12520 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12521 _ACEOF
12526 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12527 case "x$with_xcomposite" in
12528 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12529 xno) ;;
12530 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12531 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12532 esac
12536 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12537 #include <X11/Xlib.h>
12538 #endif
12540 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12542 cat >>confdefs.h <<_ACEOF
12543 #define HAVE_XICCALLBACK_CALLBACK 1
12544 _ACEOF
12548 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12549 #include <X11/Xlib.h>
12550 #endif
12552 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12554 cat >>confdefs.h <<_ACEOF
12555 #define HAVE_XEVENT_XCOOKIE 1
12556 _ACEOF
12563 opengl_msg=""
12564 if test "x$with_opengl" != "xno"
12565 then
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12567 $as_echo_n "checking for -lGL... " >&6; }
12568 if ${ac_cv_lib_soname_GL+:} false; then :
12569 $as_echo_n "(cached) " >&6
12570 else
12571 ac_check_soname_save_LIBS=$LIBS
12572 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12574 /* end confdefs.h. */
12576 /* Override any GCC internal prototype to avoid an error.
12577 Use char because int might match the return type of a GCC
12578 builtin and then its argument prototype would still apply. */
12579 #ifdef __cplusplus
12580 extern "C"
12581 #endif
12582 char glXCreateContext ();
12584 main ()
12586 return glXCreateContext ();
12588 return 0;
12590 _ACEOF
12591 if ac_fn_c_try_link "$LINENO"; then :
12592 case "$LIBEXT" in
12593 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12594 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'` ;;
12595 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12596 if ${ac_cv_lib_soname_GL:+false} :; then :
12597 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12598 fi ;;
12599 esac
12600 else
12601 ac_cv_lib_soname_GL=
12603 rm -f core conftest.err conftest.$ac_objext \
12604 conftest$ac_exeext conftest.$ac_ext
12605 LIBS=$ac_check_soname_save_LIBS
12607 if ${ac_cv_lib_soname_GL:+false} :; then :
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12609 $as_echo "not found" >&6; }
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12611 $as_echo_n "checking for -lGL... " >&6; }
12612 if ${ac_cv_lib_soname_GL+:} false; then :
12613 $as_echo_n "(cached) " >&6
12614 else
12615 ac_check_soname_save_LIBS=$LIBS
12616 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"
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12620 /* Override any GCC internal prototype to avoid an error.
12621 Use char because int might match the return type of a GCC
12622 builtin and then its argument prototype would still apply. */
12623 #ifdef __cplusplus
12624 extern "C"
12625 #endif
12626 char glXCreateContext ();
12628 main ()
12630 return glXCreateContext ();
12632 return 0;
12634 _ACEOF
12635 if ac_fn_c_try_link "$LINENO"; then :
12636 case "$LIBEXT" in
12637 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12638 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'` ;;
12639 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12640 if ${ac_cv_lib_soname_GL:+false} :; then :
12641 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12642 fi ;;
12643 esac
12644 else
12645 ac_cv_lib_soname_GL=
12647 rm -f core conftest.err conftest.$ac_objext \
12648 conftest$ac_exeext conftest.$ac_ext
12649 LIBS=$ac_check_soname_save_LIBS
12651 if ${ac_cv_lib_soname_GL:+false} :; then :
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12653 $as_echo "not found" >&6; }
12654 if test -f /usr/X11R6/lib/libGL.a
12655 then
12656 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12657 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12658 else
12659 opengl_msg="No OpenGL library found on this system."
12661 else
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12663 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12665 cat >>confdefs.h <<_ACEOF
12666 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12667 _ACEOF
12669 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"
12671 else
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12673 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12675 cat >>confdefs.h <<_ACEOF
12676 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12677 _ACEOF
12679 OPENGL_LIBS="-lGL"
12681 if test "x$with_osmesa" != "xno"
12682 then
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12684 $as_echo_n "checking for -lOSMesa... " >&6; }
12685 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12686 $as_echo_n "(cached) " >&6
12687 else
12688 ac_check_soname_save_LIBS=$LIBS
12689 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12693 /* Override any GCC internal prototype to avoid an error.
12694 Use char because int might match the return type of a GCC
12695 builtin and then its argument prototype would still apply. */
12696 #ifdef __cplusplus
12697 extern "C"
12698 #endif
12699 char OSMesaGetProcAddress ();
12701 main ()
12703 return OSMesaGetProcAddress ();
12705 return 0;
12707 _ACEOF
12708 if ac_fn_c_try_link "$LINENO"; then :
12709 case "$LIBEXT" in
12710 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12711 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'` ;;
12712 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12713 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12714 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12715 fi ;;
12716 esac
12717 else
12718 ac_cv_lib_soname_OSMesa=
12720 rm -f core conftest.err conftest.$ac_objext \
12721 conftest$ac_exeext conftest.$ac_ext
12722 LIBS=$ac_check_soname_save_LIBS
12724 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12726 $as_echo "not found" >&6; }
12728 else
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12730 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12732 cat >>confdefs.h <<_ACEOF
12733 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12734 _ACEOF
12738 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12739 case "x$with_osmesa" in
12740 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12741 xno) ;;
12742 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12743 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12744 esac
12749 if test -n "$opengl_msg"; then :
12750 case "x$with_opengl" in
12751 x) as_fn_append wine_warnings "|$opengl_msg
12752 OpenGL and Direct3D won't be supported." ;;
12753 xno) ;;
12754 *) as_fn_error $? "$opengl_msg
12755 OpenGL and Direct3D won't be supported.
12756 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12757 esac
12761 CPPFLAGS="$ac_save_CPPFLAGS"
12762 else
12763 X_CFLAGS=""
12764 X_LIBS=""
12767 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12768 then
12769 if test "x$X_LIBS" = "x"; then :
12770 case "x$with_x" in
12771 xno) ;;
12772 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12773 without X support, which probably isn't what you want. You will need
12774 to install ${notice_platform}development packages of Xlib at the very least.
12775 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12776 esac
12777 enable_winex11_drv=${enable_winex11_drv:-no}
12779 else
12780 if test "x$X_LIBS" = "x"; then :
12781 case "x$with_x" in
12782 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12783 xno) ;;
12784 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12785 This is an error since --with-x was requested." "$LINENO" 5 ;;
12786 esac
12787 enable_winex11_drv=${enable_winex11_drv:-no}
12791 if test "$ac_cv_header_CL_cl_h" = "yes"
12792 then
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12794 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12795 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12796 $as_echo_n "(cached) " >&6
12797 else
12798 ac_check_lib_save_LIBS=$LIBS
12799 LIBS="-lOpenCL $LIBS"
12800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12801 /* end confdefs.h. */
12803 /* Override any GCC internal prototype to avoid an error.
12804 Use char because int might match the return type of a GCC
12805 builtin and then its argument prototype would still apply. */
12806 #ifdef __cplusplus
12807 extern "C"
12808 #endif
12809 char clGetPlatformInfo ();
12811 main ()
12813 return clGetPlatformInfo ();
12815 return 0;
12817 _ACEOF
12818 if ac_fn_c_try_link "$LINENO"; then :
12819 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12820 else
12821 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12823 rm -f core conftest.err conftest.$ac_objext \
12824 conftest$ac_exeext conftest.$ac_ext
12825 LIBS=$ac_check_lib_save_LIBS
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12828 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12829 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12830 OPENCL_LIBS="-lOpenCL"
12835 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12836 case "x$with_opencl" in
12837 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12838 xno) ;;
12839 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12840 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12841 esac
12842 enable_opencl=${enable_opencl:-no}
12845 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12846 then
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12848 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12849 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12850 $as_echo_n "(cached) " >&6
12851 else
12852 ac_check_lib_save_LIBS=$LIBS
12853 LIBS="-lpcap $LIBS"
12854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12855 /* end confdefs.h. */
12857 /* Override any GCC internal prototype to avoid an error.
12858 Use char because int might match the return type of a GCC
12859 builtin and then its argument prototype would still apply. */
12860 #ifdef __cplusplus
12861 extern "C"
12862 #endif
12863 char pcap_create ();
12865 main ()
12867 return pcap_create ();
12869 return 0;
12871 _ACEOF
12872 if ac_fn_c_try_link "$LINENO"; then :
12873 ac_cv_lib_pcap_pcap_create=yes
12874 else
12875 ac_cv_lib_pcap_pcap_create=no
12877 rm -f core conftest.err conftest.$ac_objext \
12878 conftest$ac_exeext conftest.$ac_ext
12879 LIBS=$ac_check_lib_save_LIBS
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12882 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12883 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12884 PCAP_LIBS="-lpcap"
12889 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12890 case "x$with_pcap" in
12891 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12892 xno) ;;
12893 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12894 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12895 esac
12896 enable_wpcap=${enable_wpcap:-no}
12900 if test "x$with_xml" != "xno"
12901 then
12902 if ${XML2_CFLAGS:+false} :; then :
12903 if ${PKG_CONFIG+:} false; then :
12904 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12907 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12908 if ${XML2_LIBS:+false} :; then :
12909 if ${PKG_CONFIG+:} false; then :
12910 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12913 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12914 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12915 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12916 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12917 ac_save_CPPFLAGS=$CPPFLAGS
12918 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12919 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12920 do :
12921 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12922 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12923 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12924 cat >>confdefs.h <<_ACEOF
12925 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12926 _ACEOF
12930 done
12932 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"
12933 then
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12935 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12936 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12937 $as_echo_n "(cached) " >&6
12938 else
12939 ac_check_lib_save_LIBS=$LIBS
12940 LIBS="-lxml2 $XML2_LIBS $LIBS"
12941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12944 /* Override any GCC internal prototype to avoid an error.
12945 Use char because int might match the return type of a GCC
12946 builtin and then its argument prototype would still apply. */
12947 #ifdef __cplusplus
12948 extern "C"
12949 #endif
12950 char xmlParseMemory ();
12952 main ()
12954 return xmlParseMemory ();
12956 return 0;
12958 _ACEOF
12959 if ac_fn_c_try_link "$LINENO"; then :
12960 ac_cv_lib_xml2_xmlParseMemory=yes
12961 else
12962 ac_cv_lib_xml2_xmlParseMemory=no
12964 rm -f core conftest.err conftest.$ac_objext \
12965 conftest$ac_exeext conftest.$ac_ext
12966 LIBS=$ac_check_lib_save_LIBS
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12969 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12970 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12972 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12974 else
12975 XML2_LIBS=""
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12979 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12980 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12981 $as_echo_n "(cached) " >&6
12982 else
12983 ac_check_lib_save_LIBS=$LIBS
12984 LIBS="-lxml2 $XML2_LIBS $LIBS"
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12988 /* Override any GCC internal prototype to avoid an error.
12989 Use char because int might match the return type of a GCC
12990 builtin and then its argument prototype would still apply. */
12991 #ifdef __cplusplus
12992 extern "C"
12993 #endif
12994 char xmlReadMemory ();
12996 main ()
12998 return xmlReadMemory ();
13000 return 0;
13002 _ACEOF
13003 if ac_fn_c_try_link "$LINENO"; then :
13004 ac_cv_lib_xml2_xmlReadMemory=yes
13005 else
13006 ac_cv_lib_xml2_xmlReadMemory=no
13008 rm -f core conftest.err conftest.$ac_objext \
13009 conftest$ac_exeext conftest.$ac_ext
13010 LIBS=$ac_check_lib_save_LIBS
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13013 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13014 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13016 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13021 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13022 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13023 $as_echo_n "(cached) " >&6
13024 else
13025 ac_check_lib_save_LIBS=$LIBS
13026 LIBS="-lxml2 $XML2_LIBS $LIBS"
13027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13030 /* Override any GCC internal prototype to avoid an error.
13031 Use char because int might match the return type of a GCC
13032 builtin and then its argument prototype would still apply. */
13033 #ifdef __cplusplus
13034 extern "C"
13035 #endif
13036 char xmlNewDocPI ();
13038 main ()
13040 return xmlNewDocPI ();
13042 return 0;
13044 _ACEOF
13045 if ac_fn_c_try_link "$LINENO"; then :
13046 ac_cv_lib_xml2_xmlNewDocPI=yes
13047 else
13048 ac_cv_lib_xml2_xmlNewDocPI=no
13050 rm -f core conftest.err conftest.$ac_objext \
13051 conftest$ac_exeext conftest.$ac_ext
13052 LIBS=$ac_check_lib_save_LIBS
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13055 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13056 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13058 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13063 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13064 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13065 $as_echo_n "(cached) " >&6
13066 else
13067 ac_check_lib_save_LIBS=$LIBS
13068 LIBS="-lxml2 $XML2_LIBS $LIBS"
13069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13072 /* Override any GCC internal prototype to avoid an error.
13073 Use char because int might match the return type of a GCC
13074 builtin and then its argument prototype would still apply. */
13075 #ifdef __cplusplus
13076 extern "C"
13077 #endif
13078 char xmlSchemaSetParserStructuredErrors ();
13080 main ()
13082 return xmlSchemaSetParserStructuredErrors ();
13084 return 0;
13086 _ACEOF
13087 if ac_fn_c_try_link "$LINENO"; then :
13088 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13089 else
13090 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13092 rm -f core conftest.err conftest.$ac_objext \
13093 conftest$ac_exeext conftest.$ac_ext
13094 LIBS=$ac_check_lib_save_LIBS
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13097 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13098 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13100 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13105 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13106 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13107 $as_echo_n "(cached) " >&6
13108 else
13109 ac_check_lib_save_LIBS=$LIBS
13110 LIBS="-lxml2 $XML2_LIBS $LIBS"
13111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13114 /* Override any GCC internal prototype to avoid an error.
13115 Use char because int might match the return type of a GCC
13116 builtin and then its argument prototype would still apply. */
13117 #ifdef __cplusplus
13118 extern "C"
13119 #endif
13120 char xmlSchemaSetValidStructuredErrors ();
13122 main ()
13124 return xmlSchemaSetValidStructuredErrors ();
13126 return 0;
13128 _ACEOF
13129 if ac_fn_c_try_link "$LINENO"; then :
13130 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13131 else
13132 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13134 rm -f core conftest.err conftest.$ac_objext \
13135 conftest$ac_exeext conftest.$ac_ext
13136 LIBS=$ac_check_lib_save_LIBS
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13139 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13140 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13142 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13147 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13148 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13149 $as_echo_n "(cached) " >&6
13150 else
13151 ac_check_lib_save_LIBS=$LIBS
13152 LIBS="-lxml2 $XML2_LIBS $LIBS"
13153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13154 /* end confdefs.h. */
13156 /* Override any GCC internal prototype to avoid an error.
13157 Use char because int might match the return type of a GCC
13158 builtin and then its argument prototype would still apply. */
13159 #ifdef __cplusplus
13160 extern "C"
13161 #endif
13162 char xmlFirstElementChild ();
13164 main ()
13166 return xmlFirstElementChild ();
13168 return 0;
13170 _ACEOF
13171 if ac_fn_c_try_link "$LINENO"; then :
13172 ac_cv_lib_xml2_xmlFirstElementChild=yes
13173 else
13174 ac_cv_lib_xml2_xmlFirstElementChild=no
13176 rm -f core conftest.err conftest.$ac_objext \
13177 conftest$ac_exeext conftest.$ac_ext
13178 LIBS=$ac_check_lib_save_LIBS
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13181 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13182 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13184 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13188 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13190 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13192 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13196 else
13197 XML2_CFLAGS=""
13198 XML2_LIBS=""
13200 CPPFLAGS=$ac_save_CPPFLAGS
13203 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13204 case "x$with_xml" in
13205 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13206 xno) ;;
13207 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13208 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13209 esac
13213 if test "x$with_xslt" != "xno"
13214 then
13215 if ${XSLT_CFLAGS:+false} :; then :
13216 if ${PKG_CONFIG+:} false; then :
13217 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13220 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13221 if ${XSLT_LIBS:+false} :; then :
13222 if ${PKG_CONFIG+:} false; then :
13223 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13226 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13227 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13228 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13229 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13230 ac_save_CPPFLAGS=$CPPFLAGS
13231 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13232 for ac_header in libxslt/pattern.h libxslt/transform.h
13233 do :
13234 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13235 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13236 # include <libxslt/pattern.h>
13237 #endif
13239 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13240 cat >>confdefs.h <<_ACEOF
13241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13242 _ACEOF
13246 done
13248 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13249 then
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13251 $as_echo_n "checking for -lxslt... " >&6; }
13252 if ${ac_cv_lib_soname_xslt+:} false; then :
13253 $as_echo_n "(cached) " >&6
13254 else
13255 ac_check_soname_save_LIBS=$LIBS
13256 LIBS="-lxslt $XSLT_LIBS $LIBS"
13257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13260 /* Override any GCC internal prototype to avoid an error.
13261 Use char because int might match the return type of a GCC
13262 builtin and then its argument prototype would still apply. */
13263 #ifdef __cplusplus
13264 extern "C"
13265 #endif
13266 char xsltCompilePattern ();
13268 main ()
13270 return xsltCompilePattern ();
13272 return 0;
13274 _ACEOF
13275 if ac_fn_c_try_link "$LINENO"; then :
13276 case "$LIBEXT" in
13277 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13278 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'` ;;
13279 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13280 if ${ac_cv_lib_soname_xslt:+false} :; then :
13281 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13282 fi ;;
13283 esac
13284 else
13285 ac_cv_lib_soname_xslt=
13287 rm -f core conftest.err conftest.$ac_objext \
13288 conftest$ac_exeext conftest.$ac_ext
13289 LIBS=$ac_check_soname_save_LIBS
13291 if ${ac_cv_lib_soname_xslt:+false} :; then :
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13293 $as_echo "not found" >&6; }
13295 else
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13297 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13299 cat >>confdefs.h <<_ACEOF
13300 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13301 _ACEOF
13305 else
13306 XSLT_CFLAGS=""
13308 CPPFLAGS=$ac_save_CPPFLAGS
13311 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13312 case "x$with_xslt" in
13313 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13314 xno) ;;
13315 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13316 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13317 esac
13321 if test "x$with_inotify" != "xno"
13322 then
13323 if ${INOTIFY_CFLAGS:+false} :; then :
13324 if ${PKG_CONFIG+:} false; then :
13325 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13329 if ${INOTIFY_LIBS:+false} :; then :
13330 if ${PKG_CONFIG+:} false; then :
13331 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13336 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13337 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13338 ac_save_CPPFLAGS=$CPPFLAGS
13339 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13340 for ac_header in sys/inotify.h
13341 do :
13342 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13343 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13344 cat >>confdefs.h <<_ACEOF
13345 #define HAVE_SYS_INOTIFY_H 1
13346 _ACEOF
13350 done
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13353 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13354 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13355 $as_echo_n "(cached) " >&6
13356 else
13357 ac_check_lib_save_LIBS=$LIBS
13358 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13360 /* end confdefs.h. */
13362 /* Override any GCC internal prototype to avoid an error.
13363 Use char because int might match the return type of a GCC
13364 builtin and then its argument prototype would still apply. */
13365 #ifdef __cplusplus
13366 extern "C"
13367 #endif
13368 char inotify_add_watch ();
13370 main ()
13372 return inotify_add_watch ();
13374 return 0;
13376 _ACEOF
13377 if ac_fn_c_try_link "$LINENO"; then :
13378 ac_cv_lib_inotify_inotify_add_watch=yes
13379 else
13380 ac_cv_lib_inotify_inotify_add_watch=no
13382 rm -f core conftest.err conftest.$ac_objext \
13383 conftest$ac_exeext conftest.$ac_ext
13384 LIBS=$ac_check_lib_save_LIBS
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13387 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13388 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13390 else
13391 INOTIFY_LIBS=""
13394 CPPFLAGS=$ac_save_CPPFLAGS
13397 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13398 case "x$with_inotify" in
13399 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13400 xno) ;;
13401 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13402 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13403 esac
13407 if test "x$with_dbus" != "xno"
13408 then
13409 if ${DBUS_CFLAGS:+false} :; then :
13410 if ${PKG_CONFIG+:} false; then :
13411 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13415 if ${DBUS_LIBS:+false} :; then :
13416 if ${PKG_CONFIG+:} false; then :
13417 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13422 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13423 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13424 ac_save_CPPFLAGS=$CPPFLAGS
13425 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13426 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13427 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13429 $as_echo_n "checking for -ldbus-1... " >&6; }
13430 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13431 $as_echo_n "(cached) " >&6
13432 else
13433 ac_check_soname_save_LIBS=$LIBS
13434 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13441 #ifdef __cplusplus
13442 extern "C"
13443 #endif
13444 char dbus_connection_close ();
13446 main ()
13448 return dbus_connection_close ();
13450 return 0;
13452 _ACEOF
13453 if ac_fn_c_try_link "$LINENO"; then :
13454 case "$LIBEXT" in
13455 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13456 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'` ;;
13457 *) 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'`
13458 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13459 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13460 fi ;;
13461 esac
13462 else
13463 ac_cv_lib_soname_dbus_1=
13465 rm -f core conftest.err conftest.$ac_objext \
13466 conftest$ac_exeext conftest.$ac_ext
13467 LIBS=$ac_check_soname_save_LIBS
13469 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13471 $as_echo "not found" >&6; }
13472 DBUS_CFLAGS=""
13473 else
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13475 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13477 cat >>confdefs.h <<_ACEOF
13478 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13479 _ACEOF
13483 else
13484 DBUS_CFLAGS=""
13488 CPPFLAGS=$ac_save_CPPFLAGS
13491 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13492 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13493 case "x$with_dbus" in
13494 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13495 xno) ;;
13496 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13497 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13498 esac
13502 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13503 then
13504 if ${HAL_CFLAGS:+false} :; then :
13505 if ${PKG_CONFIG+:} false; then :
13506 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13510 if ${HAL_LIBS:+false} :; then :
13511 if ${PKG_CONFIG+:} false; then :
13512 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13516 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13517 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13518 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13519 ac_save_CPPFLAGS=$CPPFLAGS
13520 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13521 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13522 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13524 $as_echo_n "checking for -lhal... " >&6; }
13525 if ${ac_cv_lib_soname_hal+:} false; then :
13526 $as_echo_n "(cached) " >&6
13527 else
13528 ac_check_soname_save_LIBS=$LIBS
13529 LIBS="-lhal $HAL_LIBS $LIBS"
13530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13533 /* Override any GCC internal prototype to avoid an error.
13534 Use char because int might match the return type of a GCC
13535 builtin and then its argument prototype would still apply. */
13536 #ifdef __cplusplus
13537 extern "C"
13538 #endif
13539 char libhal_ctx_new ();
13541 main ()
13543 return libhal_ctx_new ();
13545 return 0;
13547 _ACEOF
13548 if ac_fn_c_try_link "$LINENO"; then :
13549 case "$LIBEXT" in
13550 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13551 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'` ;;
13552 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13553 if ${ac_cv_lib_soname_hal:+false} :; then :
13554 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13555 fi ;;
13556 esac
13557 else
13558 ac_cv_lib_soname_hal=
13560 rm -f core conftest.err conftest.$ac_objext \
13561 conftest$ac_exeext conftest.$ac_ext
13562 LIBS=$ac_check_soname_save_LIBS
13564 if ${ac_cv_lib_soname_hal:+false} :; then :
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13566 $as_echo "not found" >&6; }
13567 HAL_CFLAGS=""
13568 else
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13570 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13572 cat >>confdefs.h <<_ACEOF
13573 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13574 _ACEOF
13578 else
13579 HAL_CFLAGS=""
13583 CPPFLAGS=$ac_save_CPPFLAGS
13585 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13586 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13587 case "x$with_hal" in
13588 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13589 xno) ;;
13590 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13591 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13592 esac
13597 if test "x$with_gnutls" != "xno"
13598 then
13599 if ${GNUTLS_CFLAGS:+false} :; then :
13600 if ${PKG_CONFIG+:} false; then :
13601 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13605 if ${GNUTLS_LIBS:+false} :; then :
13606 if ${PKG_CONFIG+:} false; then :
13607 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13611 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13612 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13613 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13614 ac_save_CPPFLAGS=$CPPFLAGS
13615 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13616 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13617 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13620 #include <gnutls/gnutls.h>
13621 #include <gnutls/crypto.h>
13623 main ()
13625 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13627 return 0;
13629 _ACEOF
13630 if ac_fn_c_try_compile "$LINENO"; then :
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13632 $as_echo_n "checking for -lgnutls... " >&6; }
13633 if ${ac_cv_lib_soname_gnutls+:} false; then :
13634 $as_echo_n "(cached) " >&6
13635 else
13636 ac_check_soname_save_LIBS=$LIBS
13637 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13639 /* end confdefs.h. */
13641 /* Override any GCC internal prototype to avoid an error.
13642 Use char because int might match the return type of a GCC
13643 builtin and then its argument prototype would still apply. */
13644 #ifdef __cplusplus
13645 extern "C"
13646 #endif
13647 char gnutls_global_init ();
13649 main ()
13651 return gnutls_global_init ();
13653 return 0;
13655 _ACEOF
13656 if ac_fn_c_try_link "$LINENO"; then :
13657 case "$LIBEXT" in
13658 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13659 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'` ;;
13660 *) 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'`
13661 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13662 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'`
13663 fi ;;
13664 esac
13665 else
13666 ac_cv_lib_soname_gnutls=
13668 rm -f core conftest.err conftest.$ac_objext \
13669 conftest$ac_exeext conftest.$ac_ext
13670 LIBS=$ac_check_soname_save_LIBS
13672 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13674 $as_echo "not found" >&6; }
13675 GNUTLS_CFLAGS=""
13676 else
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13678 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13680 cat >>confdefs.h <<_ACEOF
13681 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13682 _ACEOF
13686 ac_wine_check_funcs_save_LIBS="$LIBS"
13687 LIBS="$LIBS $GNUTLS_LIBS"
13688 for ac_func in gnutls_cipher_init
13689 do :
13690 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13691 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13692 cat >>confdefs.h <<_ACEOF
13693 #define HAVE_GNUTLS_CIPHER_INIT 1
13694 _ACEOF
13696 else
13697 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13699 done
13701 LIBS="$ac_wine_check_funcs_save_LIBS"
13703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13704 else
13705 GNUTLS_CFLAGS=""
13709 CPPFLAGS=$ac_save_CPPFLAGS
13712 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13713 case "x$with_gnutls" in
13714 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13715 xno) ;;
13716 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13717 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13718 esac
13722 if test "x$with_sane" != "xno"
13723 then
13724 if ${SANE_CFLAGS:+false} :; then :
13725 if ${PKG_CONFIG+:} false; then :
13726 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13729 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13730 if ${SANE_LIBS:+false} :; then :
13731 if ${PKG_CONFIG+:} false; then :
13732 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13735 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13737 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13738 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13739 ac_save_CPPFLAGS=$CPPFLAGS
13740 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13741 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13742 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13744 $as_echo_n "checking for -lsane... " >&6; }
13745 if ${ac_cv_lib_soname_sane+:} false; then :
13746 $as_echo_n "(cached) " >&6
13747 else
13748 ac_check_soname_save_LIBS=$LIBS
13749 LIBS="-lsane $SANE_LIBS $LIBS"
13750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13751 /* end confdefs.h. */
13753 /* Override any GCC internal prototype to avoid an error.
13754 Use char because int might match the return type of a GCC
13755 builtin and then its argument prototype would still apply. */
13756 #ifdef __cplusplus
13757 extern "C"
13758 #endif
13759 char sane_init ();
13761 main ()
13763 return sane_init ();
13765 return 0;
13767 _ACEOF
13768 if ac_fn_c_try_link "$LINENO"; then :
13769 case "$LIBEXT" in
13770 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13771 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'` ;;
13772 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13773 if ${ac_cv_lib_soname_sane:+false} :; then :
13774 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13775 fi ;;
13776 esac
13777 else
13778 ac_cv_lib_soname_sane=
13780 rm -f core conftest.err conftest.$ac_objext \
13781 conftest$ac_exeext conftest.$ac_ext
13782 LIBS=$ac_check_soname_save_LIBS
13784 if ${ac_cv_lib_soname_sane:+false} :; then :
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13786 $as_echo "not found" >&6; }
13787 SANE_CFLAGS=""
13788 else
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13790 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13792 cat >>confdefs.h <<_ACEOF
13793 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13794 _ACEOF
13798 else
13799 SANE_CFLAGS=""
13803 CPPFLAGS=$ac_save_CPPFLAGS
13806 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13807 case "x$with_sane" in
13808 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13809 xno) ;;
13810 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13811 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13812 esac
13816 if test "x$with_usb" != "xno"
13817 then
13818 if ${USB_CFLAGS:+false} :; then :
13819 if ${PKG_CONFIG+:} false; then :
13820 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13824 if ${USB_LIBS:+false} :; then :
13825 if ${PKG_CONFIG+:} false; then :
13826 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13830 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13831 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13832 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13833 ac_save_CPPFLAGS=$CPPFLAGS
13834 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13835 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13836 if test "x$ac_cv_header_libusb_h" = xyes; then :
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13838 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13839 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 ac_check_lib_save_LIBS=$LIBS
13843 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13847 /* Override any GCC internal prototype to avoid an error.
13848 Use char because int might match the return type of a GCC
13849 builtin and then its argument prototype would still apply. */
13850 #ifdef __cplusplus
13851 extern "C"
13852 #endif
13853 char libusb_interrupt_event_handler ();
13855 main ()
13857 return libusb_interrupt_event_handler ();
13859 return 0;
13861 _ACEOF
13862 if ac_fn_c_try_link "$LINENO"; then :
13863 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13864 else
13865 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13867 rm -f core conftest.err conftest.$ac_objext \
13868 conftest$ac_exeext conftest.$ac_ext
13869 LIBS=$ac_check_lib_save_LIBS
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13872 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13873 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13875 else
13876 USB_LIBS=""
13879 else
13880 USB_LIBS=""
13884 CPPFLAGS=$ac_save_CPPFLAGS
13887 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13888 case "x$with_usb" in
13889 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13890 xno) ;;
13891 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13892 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13893 esac
13894 enable_wineusb_sys=${enable_wineusb_sys:-no}
13897 if test "x$with_v4l2" != "xno"
13898 then
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13900 $as_echo_n "checking for -lv4l2... " >&6; }
13901 if ${ac_cv_lib_soname_v4l2+:} false; then :
13902 $as_echo_n "(cached) " >&6
13903 else
13904 ac_check_soname_save_LIBS=$LIBS
13905 LIBS="-lv4l2 $LIBS"
13906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13907 /* end confdefs.h. */
13909 /* Override any GCC internal prototype to avoid an error.
13910 Use char because int might match the return type of a GCC
13911 builtin and then its argument prototype would still apply. */
13912 #ifdef __cplusplus
13913 extern "C"
13914 #endif
13915 char v4l2_open ();
13917 main ()
13919 return v4l2_open ();
13921 return 0;
13923 _ACEOF
13924 if ac_fn_c_try_link "$LINENO"; then :
13925 case "$LIBEXT" in
13926 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13927 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'` ;;
13928 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13929 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13930 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13931 fi ;;
13932 esac
13933 else
13934 ac_cv_lib_soname_v4l2=
13936 rm -f core conftest.err conftest.$ac_objext \
13937 conftest$ac_exeext conftest.$ac_ext
13938 LIBS=$ac_check_soname_save_LIBS
13940 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13942 $as_echo "not found" >&6; }
13944 else
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13946 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13948 cat >>confdefs.h <<_ACEOF
13949 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13950 _ACEOF
13955 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13956 case "x$with_v4l2" in
13957 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13958 xno) ;;
13959 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13960 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13961 esac
13965 if test "x$with_gphoto" != "xno"
13966 then
13967 if ${GPHOTO2_CFLAGS:+false} :; then :
13968 if ${PKG_CONFIG+:} false; then :
13969 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13972 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13973 if ${GPHOTO2_LIBS:+false} :; then :
13974 if ${PKG_CONFIG+:} false; then :
13975 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13978 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13979 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13980 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13981 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13982 ac_save_CPPFLAGS=$CPPFLAGS
13983 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13984 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13985 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13987 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13988 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13989 $as_echo_n "(cached) " >&6
13990 else
13991 ac_check_lib_save_LIBS=$LIBS
13992 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13996 /* Override any GCC internal prototype to avoid an error.
13997 Use char because int might match the return type of a GCC
13998 builtin and then its argument prototype would still apply. */
13999 #ifdef __cplusplus
14000 extern "C"
14001 #endif
14002 char gp_camera_new ();
14004 main ()
14006 return gp_camera_new ();
14008 return 0;
14010 _ACEOF
14011 if ac_fn_c_try_link "$LINENO"; then :
14012 ac_cv_lib_gphoto2_gp_camera_new=yes
14013 else
14014 ac_cv_lib_gphoto2_gp_camera_new=no
14016 rm -f core conftest.err conftest.$ac_objext \
14017 conftest$ac_exeext conftest.$ac_ext
14018 LIBS=$ac_check_lib_save_LIBS
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14021 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14022 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14024 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14026 else
14027 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14030 else
14031 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14035 CPPFLAGS=$ac_save_CPPFLAGS
14037 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14038 if ${PKG_CONFIG+:} false; then :
14039 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14042 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14043 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14044 if ${PKG_CONFIG+:} false; then :
14045 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14048 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14049 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14050 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14051 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14052 ac_save_CPPFLAGS=$CPPFLAGS
14053 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14054 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14055 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14057 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14058 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14059 $as_echo_n "(cached) " >&6
14060 else
14061 ac_check_lib_save_LIBS=$LIBS
14062 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14064 /* end confdefs.h. */
14066 /* Override any GCC internal prototype to avoid an error.
14067 Use char because int might match the return type of a GCC
14068 builtin and then its argument prototype would still apply. */
14069 #ifdef __cplusplus
14070 extern "C"
14071 #endif
14072 char gp_port_info_list_new ();
14074 main ()
14076 return gp_port_info_list_new ();
14078 return 0;
14080 _ACEOF
14081 if ac_fn_c_try_link "$LINENO"; then :
14082 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14083 else
14084 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14086 rm -f core conftest.err conftest.$ac_objext \
14087 conftest$ac_exeext conftest.$ac_ext
14088 LIBS=$ac_check_lib_save_LIBS
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14091 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14092 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14094 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14096 else
14097 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14100 else
14101 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14105 CPPFLAGS=$ac_save_CPPFLAGS
14108 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14109 case "x$with_gphoto" in
14110 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14111 xno) ;;
14112 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14113 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14114 esac
14117 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14118 case "x$with_gphoto" in
14119 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14120 xno) ;;
14121 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14122 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14123 esac
14128 if test "$ac_cv_header_resolv_h" = "yes"
14129 then
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14131 $as_echo_n "checking for resolver library... " >&6; }
14132 if ${ac_cv_have_resolv+:} false; then :
14133 $as_echo_n "(cached) " >&6
14134 else
14135 ac_save_LIBS="$LIBS"
14136 for lib in '' -lresolv
14138 LIBS="$lib $ac_save_LIBS"
14139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h. */
14141 #ifdef HAVE_NETINET_IN_H
14142 #include <netinet/in.h>
14143 #endif
14144 #include <resolv.h>
14146 main ()
14148 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14150 return 0;
14152 _ACEOF
14153 if ac_fn_c_try_link "$LINENO"; then :
14154 ac_cv_have_resolv=${lib:-"none required"}
14155 else
14156 ac_cv_have_resolv="not found"
14158 rm -f core conftest.err conftest.$ac_objext \
14159 conftest$ac_exeext conftest.$ac_ext
14160 test "x$ac_cv_have_resolv" = "xnot found" || break
14161 done
14162 LIBS="$ac_save_LIBS"
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14165 $as_echo "$ac_cv_have_resolv" >&6; }
14167 case "$ac_cv_have_resolv" in
14168 "not found") ;;
14169 "none required")
14171 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14174 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14176 RESOLV_LIBS=$ac_cv_have_resolv
14178 esac
14180 if test "x$ac_cv_have_resolv" != "xnot found"
14181 then
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14183 $as_echo_n "checking for res_getservers... " >&6; }
14184 if ${ac_cv_have_res_getservers+:} false; then :
14185 $as_echo_n "(cached) " >&6
14186 else
14187 ac_save_LIBS="$LIBS"
14188 LIBS="$RESOLV_LIBS $LIBS"
14189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14191 #include <resolv.h>
14193 main ()
14195 res_getservers(NULL, NULL, 0);
14197 return 0;
14199 _ACEOF
14200 if ac_fn_c_try_link "$LINENO"; then :
14201 ac_cv_have_res_getservers=yes
14202 else
14203 ac_cv_have_res_getservers=no
14205 rm -f core conftest.err conftest.$ac_objext \
14206 conftest$ac_exeext conftest.$ac_ext
14207 LIBS="$ac_save_LIBS"
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14210 $as_echo "$ac_cv_have_res_getservers" >&6; }
14211 if test "$ac_cv_have_res_getservers" = "yes"
14212 then
14214 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14220 if test "x$with_cms" != "xno"
14221 then
14222 if ${LCMS2_CFLAGS:+false} :; then :
14223 if ${PKG_CONFIG+:} false; then :
14224 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14228 if ${LCMS2_LIBS:+false} :; then :
14229 if ${PKG_CONFIG+:} false; then :
14230 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14234 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14235 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14236 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14237 ac_save_CPPFLAGS=$CPPFLAGS
14238 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14239 for ac_header in lcms2.h
14240 do :
14241 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14242 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14243 cat >>confdefs.h <<_ACEOF
14244 #define HAVE_LCMS2_H 1
14245 _ACEOF
14249 done
14251 if test "$ac_cv_header_lcms2_h" = "yes"
14252 then
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14254 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14255 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14256 $as_echo_n "(cached) " >&6
14257 else
14258 ac_check_lib_save_LIBS=$LIBS
14259 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14263 /* Override any GCC internal prototype to avoid an error.
14264 Use char because int might match the return type of a GCC
14265 builtin and then its argument prototype would still apply. */
14266 #ifdef __cplusplus
14267 extern "C"
14268 #endif
14269 char cmsOpenProfileFromFile ();
14271 main ()
14273 return cmsOpenProfileFromFile ();
14275 return 0;
14277 _ACEOF
14278 if ac_fn_c_try_link "$LINENO"; then :
14279 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14280 else
14281 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14283 rm -f core conftest.err conftest.$ac_objext \
14284 conftest$ac_exeext conftest.$ac_ext
14285 LIBS=$ac_check_lib_save_LIBS
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14288 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14289 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14291 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14293 else
14294 LCMS2_LIBS=""
14297 else
14298 LCMS2_CFLAGS=""
14299 LCMS2_LIBS=""
14301 CPPFLAGS=$ac_save_CPPFLAGS
14304 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14305 case "x$with_cms" in
14306 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14307 xno) ;;
14308 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14309 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14310 esac
14314 if test "x$with_freetype" != "xno"
14315 then
14316 if ${FREETYPE_CFLAGS:+false} :; then :
14317 if ${PKG_CONFIG+:} false; then :
14318 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14321 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14322 if ${FREETYPE_LIBS:+false} :; then :
14323 if ${PKG_CONFIG+:} false; then :
14324 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14327 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14328 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14329 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14330 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14331 ac_save_CPPFLAGS=$CPPFLAGS
14332 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14333 for ac_header in ft2build.h
14334 do :
14335 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14336 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14337 cat >>confdefs.h <<_ACEOF
14338 #define HAVE_FT2BUILD_H 1
14339 _ACEOF
14343 done
14345 if test "$ac_cv_header_ft2build_h" = "yes"
14346 then
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14348 $as_echo_n "checking for -lfreetype... " >&6; }
14349 if ${ac_cv_lib_soname_freetype+:} false; then :
14350 $as_echo_n "(cached) " >&6
14351 else
14352 ac_check_soname_save_LIBS=$LIBS
14353 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14357 /* Override any GCC internal prototype to avoid an error.
14358 Use char because int might match the return type of a GCC
14359 builtin and then its argument prototype would still apply. */
14360 #ifdef __cplusplus
14361 extern "C"
14362 #endif
14363 char FT_Init_FreeType ();
14365 main ()
14367 return FT_Init_FreeType ();
14369 return 0;
14371 _ACEOF
14372 if ac_fn_c_try_link "$LINENO"; then :
14373 case "$LIBEXT" in
14374 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14375 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'` ;;
14376 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14377 if ${ac_cv_lib_soname_freetype:+false} :; then :
14378 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14379 fi ;;
14380 esac
14381 else
14382 ac_cv_lib_soname_freetype=
14384 rm -f core conftest.err conftest.$ac_objext \
14385 conftest$ac_exeext conftest.$ac_ext
14386 LIBS=$ac_check_soname_save_LIBS
14388 if ${ac_cv_lib_soname_freetype:+false} :; then :
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14390 $as_echo "not found" >&6; }
14391 FREETYPE_LIBS=""
14392 else
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14394 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14396 cat >>confdefs.h <<_ACEOF
14397 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14398 _ACEOF
14401 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14403 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14404 #include FT_MODULE_H
14406 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14408 cat >>confdefs.h <<_ACEOF
14409 #define HAVE_FT_TRUETYPEENGINETYPE 1
14410 _ACEOF
14416 else
14417 FREETYPE_CFLAGS=""
14418 FREETYPE_LIBS=""
14420 CPPFLAGS=$ac_save_CPPFLAGS
14423 if test "x$ac_cv_lib_soname_freetype" = x; then :
14424 case "x$with_freetype" in
14425 xno) ;;
14426 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14427 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14428 esac
14429 enable_fonts=${enable_fonts:-no}
14432 ac_wine_check_funcs_save_LIBS="$LIBS"
14433 LIBS="$LIBS $PTHREAD_LIBS"
14434 for ac_func in \
14435 pthread_getthreadid_np
14436 do :
14437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14439 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14440 cat >>confdefs.h <<_ACEOF
14441 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14442 _ACEOF
14445 done
14447 LIBS="$ac_wine_check_funcs_save_LIBS"
14449 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14450 then
14451 if test "$ac_cv_header_gettext_po_h" = "yes"
14452 then
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14454 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14455 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14456 $as_echo_n "(cached) " >&6
14457 else
14458 ac_check_lib_save_LIBS=$LIBS
14459 LIBS="-lgettextpo $LIBS"
14460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14463 /* Override any GCC internal prototype to avoid an error.
14464 Use char because int might match the return type of a GCC
14465 builtin and then its argument prototype would still apply. */
14466 #ifdef __cplusplus
14467 extern "C"
14468 #endif
14469 char po_message_msgctxt ();
14471 main ()
14473 return po_message_msgctxt ();
14475 return 0;
14477 _ACEOF
14478 if ac_fn_c_try_link "$LINENO"; then :
14479 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14480 else
14481 ac_cv_lib_gettextpo_po_message_msgctxt=no
14483 rm -f core conftest.err conftest.$ac_objext \
14484 conftest$ac_exeext conftest.$ac_ext
14485 LIBS=$ac_check_lib_save_LIBS
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14488 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14489 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14491 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14493 GETTEXTPO_LIBS="-lgettextpo"
14498 if test "x$GETTEXTPO_LIBS" = "x"; then :
14499 case "x$with_gettextpo" in
14500 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14501 xno) ;;
14502 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14503 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14504 esac
14507 if test "$srcdir" != .; then :
14508 case "x$with_gettextpo" in
14509 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14510 xno) ;;
14511 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14512 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14513 esac
14518 if test "x$with_pulse" != "xno";
14519 then
14520 if ${PULSE_CFLAGS:+false} :; then :
14521 if ${PKG_CONFIG+:} false; then :
14522 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14526 if ${PULSE_LIBS:+false} :; then :
14527 if ${PKG_CONFIG+:} false; then :
14528 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14533 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14534 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14535 ac_save_CPPFLAGS=$CPPFLAGS
14536 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14537 for ac_header in pulse/pulseaudio.h
14538 do :
14539 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14540 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14541 cat >>confdefs.h <<_ACEOF
14542 #define HAVE_PULSE_PULSEAUDIO_H 1
14543 _ACEOF
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14545 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14546 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14547 $as_echo_n "(cached) " >&6
14548 else
14549 ac_check_lib_save_LIBS=$LIBS
14550 LIBS="-lpulse $PULSE_LIBS $LIBS"
14551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14554 /* Override any GCC internal prototype to avoid an error.
14555 Use char because int might match the return type of a GCC
14556 builtin and then its argument prototype would still apply. */
14557 #ifdef __cplusplus
14558 extern "C"
14559 #endif
14560 char pa_stream_is_corked ();
14562 main ()
14564 return pa_stream_is_corked ();
14566 return 0;
14568 _ACEOF
14569 if ac_fn_c_try_link "$LINENO"; then :
14570 ac_cv_lib_pulse_pa_stream_is_corked=yes
14571 else
14572 ac_cv_lib_pulse_pa_stream_is_corked=no
14574 rm -f core conftest.err conftest.$ac_objext \
14575 conftest$ac_exeext conftest.$ac_ext
14576 LIBS=$ac_check_lib_save_LIBS
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14579 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14580 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14582 else
14583 PULSE_LIBS=""
14586 else
14587 PULSE_LIBS=""
14590 done
14592 CPPFLAGS=$ac_save_CPPFLAGS
14595 if test -z "$PULSE_LIBS"; then :
14596 case "x$with_pulse" in
14597 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14598 xno) ;;
14599 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14600 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14601 esac
14602 enable_winepulse_drv=${enable_winepulse_drv:-no}
14605 if test "x$with_gstreamer" != "xno"
14606 then
14607 if ${GSTREAMER_CFLAGS:+false} :; then :
14608 if ${PKG_CONFIG+:} false; then :
14609 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14613 if ${GSTREAMER_LIBS:+false} :; then :
14614 if ${PKG_CONFIG+:} false; then :
14615 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14620 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14621 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14622 ac_save_CPPFLAGS=$CPPFLAGS
14623 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14624 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14625 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14627 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14629 /* end confdefs.h. */
14630 #include <gst/gst.h>
14632 main ()
14634 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14636 return 0;
14638 _ACEOF
14639 if ac_fn_c_try_compile "$LINENO"; then :
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14641 $as_echo "yes" >&6; }
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14643 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14644 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14645 $as_echo_n "(cached) " >&6
14646 else
14647 ac_check_lib_save_LIBS=$LIBS
14648 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 /* end confdefs.h. */
14652 /* Override any GCC internal prototype to avoid an error.
14653 Use char because int might match the return type of a GCC
14654 builtin and then its argument prototype would still apply. */
14655 #ifdef __cplusplus
14656 extern "C"
14657 #endif
14658 char gst_pad_new ();
14660 main ()
14662 return gst_pad_new ();
14664 return 0;
14666 _ACEOF
14667 if ac_fn_c_try_link "$LINENO"; then :
14668 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14669 else
14670 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14672 rm -f core conftest.err conftest.$ac_objext \
14673 conftest$ac_exeext conftest.$ac_ext
14674 LIBS=$ac_check_lib_save_LIBS
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14677 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14678 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14682 else
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14684 $as_echo "no" >&6; }
14685 ac_glib2_broken=yes
14686 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14692 CPPFLAGS=$ac_save_CPPFLAGS
14695 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14696 then
14697 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14698 case "x$with_gstreamer" in
14699 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14700 xno) ;;
14701 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14702 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14703 esac
14707 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14709 ALSA_LIBS=""
14711 if test "x$with_alsa" != "xno"
14712 then
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14714 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14715 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14716 $as_echo_n "(cached) " >&6
14717 else
14718 ac_check_lib_save_LIBS=$LIBS
14719 LIBS="-lasound $LIBS"
14720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14721 /* end confdefs.h. */
14723 /* Override any GCC internal prototype to avoid an error.
14724 Use char because int might match the return type of a GCC
14725 builtin and then its argument prototype would still apply. */
14726 #ifdef __cplusplus
14727 extern "C"
14728 #endif
14729 char snd_pcm_hw_params_get_access_mask ();
14731 main ()
14733 return snd_pcm_hw_params_get_access_mask ();
14735 return 0;
14737 _ACEOF
14738 if ac_fn_c_try_link "$LINENO"; then :
14739 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14740 else
14741 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14743 rm -f core conftest.err conftest.$ac_objext \
14744 conftest$ac_exeext conftest.$ac_ext
14745 LIBS=$ac_check_lib_save_LIBS
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14748 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14749 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14752 #include <alsa/asoundlib.h>
14754 main ()
14756 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14758 return 0;
14760 _ACEOF
14761 if ac_fn_c_try_compile "$LINENO"; then :
14762 ALSA_LIBS="-lasound"
14764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14768 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14770 if test "x$with_oss" != xno
14771 then
14772 ac_save_CPPFLAGS="$CPPFLAGS"
14773 if test -f /etc/oss.conf
14774 then
14775 . /etc/oss.conf
14777 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14778 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14779 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14780 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14781 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14783 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14785 cat >>confdefs.h <<_ACEOF
14786 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14787 _ACEOF
14789 OSS4_CFLAGS="$ac_oss_incl"
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14792 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14793 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14794 $as_echo_n "(cached) " >&6
14795 else
14796 ac_check_lib_save_LIBS=$LIBS
14797 LIBS="-lossaudio $LIBS"
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14801 /* Override any GCC internal prototype to avoid an error.
14802 Use char because int might match the return type of a GCC
14803 builtin and then its argument prototype would still apply. */
14804 #ifdef __cplusplus
14805 extern "C"
14806 #endif
14807 char _oss_ioctl ();
14809 main ()
14811 return _oss_ioctl ();
14813 return 0;
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_lib_ossaudio__oss_ioctl=yes
14818 else
14819 ac_cv_lib_ossaudio__oss_ioctl=no
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14823 LIBS=$ac_check_lib_save_LIBS
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14826 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14827 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14828 OSS4_LIBS="-lossaudio"
14837 CPPFLAGS="$ac_save_CPPFLAGS"
14839 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14840 case "x$with_oss" in
14841 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14842 xno) ;;
14843 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14844 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14845 esac
14846 enable_wineoss_drv=${enable_wineoss_drv:-no}
14849 if test "x$with_udev" != "xno"
14850 then
14851 if ${UDEV_CFLAGS:+false} :; then :
14852 if ${PKG_CONFIG+:} false; then :
14853 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14857 if ${UDEV_LIBS:+false} :; then :
14858 if ${PKG_CONFIG+:} false; then :
14859 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14863 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14864 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14865 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14866 ac_save_CPPFLAGS=$CPPFLAGS
14867 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14868 for ac_header in libudev.h
14869 do :
14870 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14871 if test "x$ac_cv_header_libudev_h" = xyes; then :
14872 cat >>confdefs.h <<_ACEOF
14873 #define HAVE_LIBUDEV_H 1
14874 _ACEOF
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14876 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14877 if ${ac_cv_lib_udev_udev_new+:} false; then :
14878 $as_echo_n "(cached) " >&6
14879 else
14880 ac_check_lib_save_LIBS=$LIBS
14881 LIBS="-ludev $UDEV_LIBS $LIBS"
14882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14883 /* end confdefs.h. */
14885 /* Override any GCC internal prototype to avoid an error.
14886 Use char because int might match the return type of a GCC
14887 builtin and then its argument prototype would still apply. */
14888 #ifdef __cplusplus
14889 extern "C"
14890 #endif
14891 char udev_new ();
14893 main ()
14895 return udev_new ();
14897 return 0;
14899 _ACEOF
14900 if ac_fn_c_try_link "$LINENO"; then :
14901 ac_cv_lib_udev_udev_new=yes
14902 else
14903 ac_cv_lib_udev_udev_new=no
14905 rm -f core conftest.err conftest.$ac_objext \
14906 conftest$ac_exeext conftest.$ac_ext
14907 LIBS=$ac_check_lib_save_LIBS
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14910 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14911 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14913 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14915 else
14916 UDEV_LIBS=""
14919 else
14920 UDEV_LIBS=""
14923 done
14925 CPPFLAGS=$ac_save_CPPFLAGS
14928 if test "x$UDEV_LIBS" = "x"; then :
14929 case "x$with_udev" in
14930 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14931 xno) ;;
14932 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14933 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14934 esac
14938 if test "x$with_unwind" != xno
14939 then
14940 if ${UNWIND_CFLAGS:+false} :; then :
14941 if ${PKG_CONFIG+:} false; then :
14942 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14946 if ${UNWIND_LIBS:+false} :; then :
14947 if ${PKG_CONFIG+:} false; then :
14948 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14952 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14953 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14954 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14955 ac_save_CPPFLAGS=$CPPFLAGS
14956 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14958 $as_echo_n "checking for unw_step... " >&6; }
14959 if ${wine_cv_have_unw_step+:} false; then :
14960 $as_echo_n "(cached) " >&6
14961 else
14962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14964 #define UNW_LOCAL_ONLY
14965 #include <libunwind.h>
14967 main ()
14969 unw_cursor_t cursor; unw_step( &cursor );
14971 return 0;
14973 _ACEOF
14974 if ac_fn_c_try_link "$LINENO"; then :
14975 wine_cv_have_unw_step="yes"
14976 else
14977 wine_cv_have_unw_step="no"
14979 rm -f core conftest.err conftest.$ac_objext \
14980 conftest$ac_exeext conftest.$ac_ext
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14983 $as_echo "$wine_cv_have_unw_step" >&6; }
14984 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14985 then
14986 save_libs=$LIBS
14987 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14988 LIBS="$UNWIND_LIBS $LIBS"
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14990 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14991 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14992 $as_echo_n "(cached) " >&6
14993 else
14994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14995 /* end confdefs.h. */
14996 #define UNW_LOCAL_ONLY
14997 #include <libunwind.h>
14999 main ()
15001 unw_cursor_t cursor; unw_step( &cursor );
15003 return 0;
15005 _ACEOF
15006 if ac_fn_c_try_link "$LINENO"; then :
15007 wine_cv_have_libunwind_unw_step="yes"
15008 else
15009 wine_cv_have_libunwind_unw_step="no"
15011 rm -f core conftest.err conftest.$ac_objext \
15012 conftest$ac_exeext conftest.$ac_ext
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15015 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15016 LIBS=$save_libs
15018 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15019 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15020 then
15022 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15025 CPPFLAGS=$ac_save_CPPFLAGS
15028 case $host in
15029 aarch64*|*-darwin*)
15030 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15031 case "x$with_unwind" in
15032 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15033 xno) ;;
15034 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15035 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15036 esac
15038 fi ;;
15039 esac
15041 if test "x$with_sdl" != "xno"
15042 then
15043 if ${SDL2_CFLAGS:+false} :; then :
15044 if ${PKG_CONFIG+:} false; then :
15045 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15049 if ${SDL2_LIBS:+false} :; then :
15050 if ${PKG_CONFIG+:} false; then :
15051 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15055 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15056 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15057 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15058 ac_save_CPPFLAGS=$CPPFLAGS
15059 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15060 for ac_header in SDL.h
15061 do :
15062 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15063 if test "x$ac_cv_header_SDL_h" = xyes; then :
15064 cat >>confdefs.h <<_ACEOF
15065 #define HAVE_SDL_H 1
15066 _ACEOF
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15068 $as_echo_n "checking for -lSDL2... " >&6; }
15069 if ${ac_cv_lib_soname_SDL2+:} false; then :
15070 $as_echo_n "(cached) " >&6
15071 else
15072 ac_check_soname_save_LIBS=$LIBS
15073 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h. */
15077 /* Override any GCC internal prototype to avoid an error.
15078 Use char because int might match the return type of a GCC
15079 builtin and then its argument prototype would still apply. */
15080 #ifdef __cplusplus
15081 extern "C"
15082 #endif
15083 char SDL_Init ();
15085 main ()
15087 return SDL_Init ();
15089 return 0;
15091 _ACEOF
15092 if ac_fn_c_try_link "$LINENO"; then :
15093 case "$LIBEXT" in
15094 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15095 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'` ;;
15096 *) 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'`
15097 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15098 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15099 fi ;;
15100 esac
15101 else
15102 ac_cv_lib_soname_SDL2=
15104 rm -f core conftest.err conftest.$ac_objext \
15105 conftest$ac_exeext conftest.$ac_ext
15106 LIBS=$ac_check_soname_save_LIBS
15108 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15110 $as_echo "not found" >&6; }
15112 else
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15114 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15116 cat >>confdefs.h <<_ACEOF
15117 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15118 _ACEOF
15124 done
15126 CPPFLAGS=$ac_save_CPPFLAGS
15129 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15130 case "x$with_sdl" in
15131 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15132 xno) ;;
15133 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15134 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15135 esac
15139 if test "x$with_faudio" != "xno"
15140 then
15141 if ${FAUDIO_CFLAGS:+false} :; then :
15142 if ${PKG_CONFIG+:} false; then :
15143 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15147 if ${FAUDIO_LIBS:+false} :; then :
15148 if ${PKG_CONFIG+:} false; then :
15149 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15153 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15154 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15155 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15156 ac_save_CPPFLAGS=$CPPFLAGS
15157 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15158 for ac_header in FAudio.h
15159 do :
15160 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15161 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15162 cat >>confdefs.h <<_ACEOF
15163 #define HAVE_FAUDIO_H 1
15164 _ACEOF
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15166 $as_echo_n "checking for -lFAudio... " >&6; }
15167 if ${ac_cv_lib_soname_FAudio+:} false; then :
15168 $as_echo_n "(cached) " >&6
15169 else
15170 ac_check_soname_save_LIBS=$LIBS
15171 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15175 /* Override any GCC internal prototype to avoid an error.
15176 Use char because int might match the return type of a GCC
15177 builtin and then its argument prototype would still apply. */
15178 #ifdef __cplusplus
15179 extern "C"
15180 #endif
15181 char FAudioCreate ();
15183 main ()
15185 return FAudioCreate ();
15187 return 0;
15189 _ACEOF
15190 if ac_fn_c_try_link "$LINENO"; then :
15191 case "$LIBEXT" in
15192 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15193 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'` ;;
15194 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15195 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15196 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15197 fi ;;
15198 esac
15199 else
15200 ac_cv_lib_soname_FAudio=
15202 rm -f core conftest.err conftest.$ac_objext \
15203 conftest$ac_exeext conftest.$ac_ext
15204 LIBS=$ac_check_soname_save_LIBS
15206 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15208 $as_echo "not found" >&6; }
15210 else
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15212 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15214 cat >>confdefs.h <<_ACEOF
15215 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15216 _ACEOF
15222 done
15224 ac_wine_check_funcs_save_LIBS="$LIBS"
15225 LIBS="$LIBS $FAUDIO_LIBS"
15226 for ac_func in FAudio_CommitOperationSet \
15227 F3DAudioInitialize8 \
15228 FAudioLinkedVersion \
15229 FAudioCreateReverb9WithCustomAllocatorEXT
15230 do :
15231 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15232 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15233 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15234 cat >>confdefs.h <<_ACEOF
15235 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15236 _ACEOF
15239 done
15241 LIBS="$ac_wine_check_funcs_save_LIBS"
15243 CPPFLAGS=$ac_save_CPPFLAGS
15246 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15247 case "x$with_faudio" in
15248 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15249 xno) ;;
15250 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15251 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15252 esac
15256 if test "x$with_capi" != "xno"
15257 then
15258 if ${CAPI20_CFLAGS:+false} :; then :
15259 if ${PKG_CONFIG+:} false; then :
15260 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15264 if ${CAPI20_LIBS:+false} :; then :
15265 if ${PKG_CONFIG+:} false; then :
15266 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15271 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15272 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15273 ac_save_CPPFLAGS=$CPPFLAGS
15274 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15275 for ac_header in capi20.h linux/capi.h
15276 do :
15277 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15278 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15280 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15281 cat >>confdefs.h <<_ACEOF
15282 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15283 _ACEOF
15287 done
15289 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15290 then
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15292 $as_echo_n "checking for -lcapi20... " >&6; }
15293 if ${ac_cv_lib_soname_capi20+:} false; then :
15294 $as_echo_n "(cached) " >&6
15295 else
15296 ac_check_soname_save_LIBS=$LIBS
15297 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15301 /* Override any GCC internal prototype to avoid an error.
15302 Use char because int might match the return type of a GCC
15303 builtin and then its argument prototype would still apply. */
15304 #ifdef __cplusplus
15305 extern "C"
15306 #endif
15307 char capi20_register ();
15309 main ()
15311 return capi20_register ();
15313 return 0;
15315 _ACEOF
15316 if ac_fn_c_try_link "$LINENO"; then :
15317 case "$LIBEXT" in
15318 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15319 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'` ;;
15320 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15321 if ${ac_cv_lib_soname_capi20:+false} :; then :
15322 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15323 fi ;;
15324 esac
15325 else
15326 ac_cv_lib_soname_capi20=
15328 rm -f core conftest.err conftest.$ac_objext \
15329 conftest$ac_exeext conftest.$ac_ext
15330 LIBS=$ac_check_soname_save_LIBS
15332 if ${ac_cv_lib_soname_capi20:+false} :; then :
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15334 $as_echo "not found" >&6; }
15336 else
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15338 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15340 cat >>confdefs.h <<_ACEOF
15341 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15342 _ACEOF
15347 CPPFLAGS=$ac_save_CPPFLAGS
15350 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15351 case "x$with_capi" in
15352 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15353 xno) ;;
15354 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15355 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15356 esac
15360 if test "x$with_cups" != "xno"
15361 then
15362 if ${CUPS_CFLAGS:+false} :; then :
15363 if ${PKG_CONFIG+:} false; then :
15364 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15367 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15368 if ${CUPS_LIBS:+false} :; then :
15369 if ${PKG_CONFIG+:} false; then :
15370 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15373 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15374 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15375 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15376 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15377 ac_save_CPPFLAGS=$CPPFLAGS
15378 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15379 for ac_header in cups/cups.h cups/ppd.h
15380 do :
15381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15382 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15383 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15384 cat >>confdefs.h <<_ACEOF
15385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15386 _ACEOF
15390 done
15392 if test "$ac_cv_header_cups_cups_h" = "yes"
15393 then
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15395 $as_echo_n "checking for -lcups... " >&6; }
15396 if ${ac_cv_lib_soname_cups+:} false; then :
15397 $as_echo_n "(cached) " >&6
15398 else
15399 ac_check_soname_save_LIBS=$LIBS
15400 LIBS="-lcups $CUPS_LIBS $LIBS"
15401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15404 /* Override any GCC internal prototype to avoid an error.
15405 Use char because int might match the return type of a GCC
15406 builtin and then its argument prototype would still apply. */
15407 #ifdef __cplusplus
15408 extern "C"
15409 #endif
15410 char cupsGetDefault ();
15412 main ()
15414 return cupsGetDefault ();
15416 return 0;
15418 _ACEOF
15419 if ac_fn_c_try_link "$LINENO"; then :
15420 case "$LIBEXT" in
15421 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15422 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'` ;;
15423 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15424 if ${ac_cv_lib_soname_cups:+false} :; then :
15425 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15426 fi ;;
15427 esac
15428 else
15429 ac_cv_lib_soname_cups=
15431 rm -f core conftest.err conftest.$ac_objext \
15432 conftest$ac_exeext conftest.$ac_ext
15433 LIBS=$ac_check_soname_save_LIBS
15435 if ${ac_cv_lib_soname_cups:+false} :; then :
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15437 $as_echo "not found" >&6; }
15438 CUPS_LIBS=""
15439 else
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15441 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15443 cat >>confdefs.h <<_ACEOF
15444 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15445 _ACEOF
15449 else
15450 CUPS_CFLAGS=""
15451 CUPS_LIBS=""
15453 CPPFLAGS=$ac_save_CPPFLAGS
15456 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15457 case "x$with_cups" in
15458 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15459 xno) ;;
15460 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15461 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15462 esac
15466 if test "x$with_fontconfig" != "xno"
15467 then
15468 if ${FONTCONFIG_CFLAGS:+false} :; then :
15469 if ${PKG_CONFIG+:} false; then :
15470 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15473 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15474 if ${FONTCONFIG_LIBS:+false} :; then :
15475 if ${PKG_CONFIG+:} false; then :
15476 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15479 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15481 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15482 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15483 ac_save_CPPFLAGS=$CPPFLAGS
15484 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15485 for ac_header in fontconfig/fontconfig.h
15486 do :
15487 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15488 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15489 cat >>confdefs.h <<_ACEOF
15490 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15491 _ACEOF
15495 done
15497 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15498 then
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15500 $as_echo_n "checking for -lfontconfig... " >&6; }
15501 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15502 $as_echo_n "(cached) " >&6
15503 else
15504 ac_check_soname_save_LIBS=$LIBS
15505 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15507 /* end confdefs.h. */
15509 /* Override any GCC internal prototype to avoid an error.
15510 Use char because int might match the return type of a GCC
15511 builtin and then its argument prototype would still apply. */
15512 #ifdef __cplusplus
15513 extern "C"
15514 #endif
15515 char FcInit ();
15517 main ()
15519 return FcInit ();
15521 return 0;
15523 _ACEOF
15524 if ac_fn_c_try_link "$LINENO"; then :
15525 case "$LIBEXT" in
15526 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15527 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'` ;;
15528 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15529 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15530 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15531 fi ;;
15532 esac
15533 else
15534 ac_cv_lib_soname_fontconfig=
15536 rm -f core conftest.err conftest.$ac_objext \
15537 conftest$ac_exeext conftest.$ac_ext
15538 LIBS=$ac_check_soname_save_LIBS
15540 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15542 $as_echo "not found" >&6; }
15543 FONTCONFIG_CFLAGS=""
15544 else
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15546 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15548 cat >>confdefs.h <<_ACEOF
15549 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15550 _ACEOF
15554 else
15555 FONTCONFIG_CFLAGS=""
15557 CPPFLAGS=$ac_save_CPPFLAGS
15560 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15561 case "x$with_fontconfig" in
15562 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15563 xno) ;;
15564 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15565 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15566 esac
15570 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15571 then
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15573 $as_echo_n "checking for -lgsm... " >&6; }
15574 if ${ac_cv_lib_soname_gsm+:} false; then :
15575 $as_echo_n "(cached) " >&6
15576 else
15577 ac_check_soname_save_LIBS=$LIBS
15578 LIBS="-lgsm $LIBS"
15579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15580 /* end confdefs.h. */
15582 /* Override any GCC internal prototype to avoid an error.
15583 Use char because int might match the return type of a GCC
15584 builtin and then its argument prototype would still apply. */
15585 #ifdef __cplusplus
15586 extern "C"
15587 #endif
15588 char gsm_create ();
15590 main ()
15592 return gsm_create ();
15594 return 0;
15596 _ACEOF
15597 if ac_fn_c_try_link "$LINENO"; then :
15598 case "$LIBEXT" in
15599 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15600 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'` ;;
15601 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15602 if ${ac_cv_lib_soname_gsm:+false} :; then :
15603 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15604 fi ;;
15605 esac
15606 else
15607 ac_cv_lib_soname_gsm=
15609 rm -f core conftest.err conftest.$ac_objext \
15610 conftest$ac_exeext conftest.$ac_ext
15611 LIBS=$ac_check_soname_save_LIBS
15613 if ${ac_cv_lib_soname_gsm:+false} :; then :
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15615 $as_echo "not found" >&6; }
15617 else
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15619 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15621 cat >>confdefs.h <<_ACEOF
15622 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15623 _ACEOF
15628 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15629 case "x$with_gsm" in
15630 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15631 xno) ;;
15632 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15633 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15634 esac
15638 if test "x$with_krb5" != "xno"
15639 then
15640 if ${KRB5_CFLAGS:+false} :; then :
15641 if ${PKG_CONFIG+:} false; then :
15642 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15645 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15646 if ${KRB5_LIBS:+false} :; then :
15647 if ${PKG_CONFIG+:} false; then :
15648 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15651 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15653 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15654 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15655 ac_save_CPPFLAGS=$CPPFLAGS
15656 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15657 for ac_header in krb5/krb5.h
15658 do :
15659 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15660 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15661 cat >>confdefs.h <<_ACEOF
15662 #define HAVE_KRB5_KRB5_H 1
15663 _ACEOF
15667 done
15669 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15670 then
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15672 $as_echo_n "checking for -lkrb5... " >&6; }
15673 if ${ac_cv_lib_soname_krb5+:} false; then :
15674 $as_echo_n "(cached) " >&6
15675 else
15676 ac_check_soname_save_LIBS=$LIBS
15677 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15679 /* end confdefs.h. */
15681 /* Override any GCC internal prototype to avoid an error.
15682 Use char because int might match the return type of a GCC
15683 builtin and then its argument prototype would still apply. */
15684 #ifdef __cplusplus
15685 extern "C"
15686 #endif
15687 char krb5_is_config_principal ();
15689 main ()
15691 return krb5_is_config_principal ();
15693 return 0;
15695 _ACEOF
15696 if ac_fn_c_try_link "$LINENO"; then :
15697 case "$LIBEXT" in
15698 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15699 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'` ;;
15700 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15701 if ${ac_cv_lib_soname_krb5:+false} :; then :
15702 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15703 fi ;;
15704 esac
15705 else
15706 ac_cv_lib_soname_krb5=
15708 rm -f core conftest.err conftest.$ac_objext \
15709 conftest$ac_exeext conftest.$ac_ext
15710 LIBS=$ac_check_soname_save_LIBS
15712 if ${ac_cv_lib_soname_krb5:+false} :; then :
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15714 $as_echo "not found" >&6; }
15715 KRB5_CFLAGS=""
15716 else
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15718 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15720 cat >>confdefs.h <<_ACEOF
15721 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15722 _ACEOF
15726 else
15727 KRB5_CFLAGS=""
15729 CPPFLAGS=$ac_save_CPPFLAGS
15732 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15733 case "x$with_krb5" in
15734 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15735 xno) ;;
15736 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15737 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15738 esac
15741 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15743 if test "x$with_gssapi" != "xno"
15744 then
15745 if ${GSSAPI_CFLAGS:+false} :; then :
15746 if ${PKG_CONFIG+:} false; then :
15747 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15750 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15751 if ${GSSAPI_LIBS:+false} :; then :
15752 if ${PKG_CONFIG+:} false; then :
15753 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15756 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15758 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15759 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15760 ac_save_CPPFLAGS=$CPPFLAGS
15761 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15762 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15763 do :
15764 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15765 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15766 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15767 cat >>confdefs.h <<_ACEOF
15768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15769 _ACEOF
15773 done
15775 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15776 then
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15778 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15779 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15780 $as_echo_n "(cached) " >&6
15781 else
15782 ac_check_soname_save_LIBS=$LIBS
15783 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15785 /* end confdefs.h. */
15787 /* Override any GCC internal prototype to avoid an error.
15788 Use char because int might match the return type of a GCC
15789 builtin and then its argument prototype would still apply. */
15790 #ifdef __cplusplus
15791 extern "C"
15792 #endif
15793 char gss_init_sec_context ();
15795 main ()
15797 return gss_init_sec_context ();
15799 return 0;
15801 _ACEOF
15802 if ac_fn_c_try_link "$LINENO"; then :
15803 case "$LIBEXT" in
15804 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15805 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'` ;;
15806 *) 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'`
15807 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15808 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15809 fi ;;
15810 esac
15811 else
15812 ac_cv_lib_soname_gssapi_krb5=
15814 rm -f core conftest.err conftest.$ac_objext \
15815 conftest$ac_exeext conftest.$ac_ext
15816 LIBS=$ac_check_soname_save_LIBS
15818 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15820 $as_echo "not found" >&6; }
15821 GSSAPI_CFLAGS=""
15822 else
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15824 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15826 cat >>confdefs.h <<_ACEOF
15827 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15828 _ACEOF
15832 else
15833 GSSAPI_CFLAGS=""
15835 CPPFLAGS=$ac_save_CPPFLAGS
15838 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15839 case "x$with_gssapi" in
15840 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15841 xno) ;;
15842 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15843 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15844 esac
15848 if test "x$with_jpeg" != "xno"
15849 then
15850 if ${JPEG_CFLAGS:+false} :; then :
15851 if ${PKG_CONFIG+:} false; then :
15852 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15856 if ${JPEG_LIBS:+false} :; then :
15857 if ${PKG_CONFIG+:} false; then :
15858 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15863 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15864 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15865 ac_save_CPPFLAGS=$CPPFLAGS
15866 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15867 for ac_header in jpeglib.h
15868 do :
15869 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15870 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15871 cat >>confdefs.h <<_ACEOF
15872 #define HAVE_JPEGLIB_H 1
15873 _ACEOF
15877 done
15879 if test "$ac_cv_header_jpeglib_h" = "yes"
15880 then
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15882 $as_echo_n "checking for -ljpeg... " >&6; }
15883 if ${ac_cv_lib_soname_jpeg+:} false; then :
15884 $as_echo_n "(cached) " >&6
15885 else
15886 ac_check_soname_save_LIBS=$LIBS
15887 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15889 /* end confdefs.h. */
15891 /* Override any GCC internal prototype to avoid an error.
15892 Use char because int might match the return type of a GCC
15893 builtin and then its argument prototype would still apply. */
15894 #ifdef __cplusplus
15895 extern "C"
15896 #endif
15897 char jpeg_start_decompress ();
15899 main ()
15901 return jpeg_start_decompress ();
15903 return 0;
15905 _ACEOF
15906 if ac_fn_c_try_link "$LINENO"; then :
15907 case "$LIBEXT" in
15908 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15909 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'` ;;
15910 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15911 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15912 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15913 fi ;;
15914 esac
15915 else
15916 ac_cv_lib_soname_jpeg=
15918 rm -f core conftest.err conftest.$ac_objext \
15919 conftest$ac_exeext conftest.$ac_ext
15920 LIBS=$ac_check_soname_save_LIBS
15922 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15924 $as_echo "not found" >&6; }
15925 JPEG_CFLAGS=""
15926 else
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15928 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15930 cat >>confdefs.h <<_ACEOF
15931 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15932 _ACEOF
15936 else
15937 JPEG_CFLAGS=""
15939 CPPFLAGS=$ac_save_CPPFLAGS
15942 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15943 case "x$with_jpeg" in
15944 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15945 xno) ;;
15946 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15947 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15948 esac
15952 if test "x$with_jxrlib" != "xno"
15953 then
15954 if ${JXRLIB_CFLAGS:+false} :; then :
15955 if ${PKG_CONFIG+:} false; then :
15956 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15959 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15960 if ${JXRLIB_LIBS:+false} :; then :
15961 if ${PKG_CONFIG+:} false; then :
15962 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15967 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15968 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15969 ac_save_CPPFLAGS=$CPPFLAGS
15970 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15971 for ac_header in JXRGlue.h
15972 do :
15973 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15975 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15976 cat >>confdefs.h <<_ACEOF
15977 #define HAVE_JXRGLUE_H 1
15978 _ACEOF
15982 done
15984 if test "$ac_cv_header_JXRGlue_h" = "yes"
15985 then
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15987 $as_echo_n "checking for -ljxrglue... " >&6; }
15988 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15989 $as_echo_n "(cached) " >&6
15990 else
15991 ac_check_soname_save_LIBS=$LIBS
15992 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15994 /* end confdefs.h. */
15996 /* Override any GCC internal prototype to avoid an error.
15997 Use char because int might match the return type of a GCC
15998 builtin and then its argument prototype would still apply. */
15999 #ifdef __cplusplus
16000 extern "C"
16001 #endif
16002 char PKImageDecode_Create_WMP ();
16004 main ()
16006 return PKImageDecode_Create_WMP ();
16008 return 0;
16010 _ACEOF
16011 if ac_fn_c_try_link "$LINENO"; then :
16012 case "$LIBEXT" in
16013 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16014 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'` ;;
16015 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16016 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16017 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16018 fi ;;
16019 esac
16020 else
16021 ac_cv_lib_soname_jxrglue=
16023 rm -f core conftest.err conftest.$ac_objext \
16024 conftest$ac_exeext conftest.$ac_ext
16025 LIBS=$ac_check_soname_save_LIBS
16027 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16029 $as_echo "not found" >&6; }
16030 JXRLIB_CFLAGS=""
16031 else
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16033 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16035 cat >>confdefs.h <<_ACEOF
16036 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16037 _ACEOF
16041 else
16042 JXRLIB_CFLAGS=""
16044 CPPFLAGS=$ac_save_CPPFLAGS
16047 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16048 case "x$with_jxrlib" in
16049 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16050 xno) ;;
16051 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16052 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16053 esac
16057 if test "x$with_png" != "xno"
16058 then
16059 if ${PNG_CFLAGS:+false} :; then :
16060 if ${PKG_CONFIG+:} false; then :
16061 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16064 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16065 if ${PNG_LIBS:+false} :; then :
16066 if ${PKG_CONFIG+:} false; then :
16067 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16070 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16072 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16073 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16074 ac_save_CPPFLAGS=$CPPFLAGS
16075 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16076 for ac_header in png.h
16077 do :
16078 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16079 if test "x$ac_cv_header_png_h" = xyes; then :
16080 cat >>confdefs.h <<_ACEOF
16081 #define HAVE_PNG_H 1
16082 _ACEOF
16086 done
16088 if test "$ac_cv_header_png_h" = "yes"
16089 then
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16091 $as_echo_n "checking for -lpng... " >&6; }
16092 if ${ac_cv_lib_soname_png+:} false; then :
16093 $as_echo_n "(cached) " >&6
16094 else
16095 ac_check_soname_save_LIBS=$LIBS
16096 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16098 /* end confdefs.h. */
16100 /* Override any GCC internal prototype to avoid an error.
16101 Use char because int might match the return type of a GCC
16102 builtin and then its argument prototype would still apply. */
16103 #ifdef __cplusplus
16104 extern "C"
16105 #endif
16106 char png_create_read_struct ();
16108 main ()
16110 return png_create_read_struct ();
16112 return 0;
16114 _ACEOF
16115 if ac_fn_c_try_link "$LINENO"; then :
16116 case "$LIBEXT" in
16117 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16118 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'` ;;
16119 *) 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'`
16120 if ${ac_cv_lib_soname_png:+false} :; then :
16121 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16122 fi ;;
16123 esac
16124 else
16125 ac_cv_lib_soname_png=
16127 rm -f core conftest.err conftest.$ac_objext \
16128 conftest$ac_exeext conftest.$ac_ext
16129 LIBS=$ac_check_soname_save_LIBS
16131 if ${ac_cv_lib_soname_png:+false} :; then :
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16133 $as_echo "not found" >&6; }
16134 PNG_CFLAGS=""
16135 else
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16137 $as_echo "$ac_cv_lib_soname_png" >&6; }
16139 cat >>confdefs.h <<_ACEOF
16140 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16141 _ACEOF
16145 else
16146 PNG_CFLAGS=""
16148 CPPFLAGS=$ac_save_CPPFLAGS
16151 if test "x$ac_cv_lib_soname_png" = "x"; then :
16152 case "x$with_png" in
16153 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16154 xno) ;;
16155 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16156 This is an error since --with-png was requested." "$LINENO" 5 ;;
16157 esac
16161 if test "x$with_tiff" != "xno"
16162 then
16163 if ${TIFF_CFLAGS:+false} :; then :
16164 if ${PKG_CONFIG+:} false; then :
16165 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16169 if ${TIFF_LIBS:+false} :; then :
16170 if ${PKG_CONFIG+:} false; then :
16171 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16176 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16177 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16178 ac_save_CPPFLAGS=$CPPFLAGS
16179 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16180 for ac_header in tiffio.h
16181 do :
16182 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16183 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16184 cat >>confdefs.h <<_ACEOF
16185 #define HAVE_TIFFIO_H 1
16186 _ACEOF
16190 done
16192 if test "$ac_cv_header_tiffio_h" = "yes"
16193 then
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16195 $as_echo_n "checking for -ltiff... " >&6; }
16196 if ${ac_cv_lib_soname_tiff+:} false; then :
16197 $as_echo_n "(cached) " >&6
16198 else
16199 ac_check_soname_save_LIBS=$LIBS
16200 LIBS="-ltiff $TIFF_LIBS $LIBS"
16201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16202 /* end confdefs.h. */
16204 /* Override any GCC internal prototype to avoid an error.
16205 Use char because int might match the return type of a GCC
16206 builtin and then its argument prototype would still apply. */
16207 #ifdef __cplusplus
16208 extern "C"
16209 #endif
16210 char TIFFClientOpen ();
16212 main ()
16214 return TIFFClientOpen ();
16216 return 0;
16218 _ACEOF
16219 if ac_fn_c_try_link "$LINENO"; then :
16220 case "$LIBEXT" in
16221 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16222 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'` ;;
16223 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16224 if ${ac_cv_lib_soname_tiff:+false} :; then :
16225 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16226 fi ;;
16227 esac
16228 else
16229 ac_cv_lib_soname_tiff=
16231 rm -f core conftest.err conftest.$ac_objext \
16232 conftest$ac_exeext conftest.$ac_ext
16233 LIBS=$ac_check_soname_save_LIBS
16235 if ${ac_cv_lib_soname_tiff:+false} :; then :
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16237 $as_echo "not found" >&6; }
16239 else
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16241 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16243 cat >>confdefs.h <<_ACEOF
16244 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16245 _ACEOF
16250 CPPFLAGS=$ac_save_CPPFLAGS
16253 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16254 case "x$with_tiff" in
16255 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16256 xno) ;;
16257 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16258 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16259 esac
16263 if test "x$with_mpg123" != "xno"
16264 then
16265 if ${MPG123_CFLAGS:+false} :; then :
16266 if ${PKG_CONFIG+:} false; then :
16267 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16271 if ${MPG123_LIBS:+false} :; then :
16272 if ${PKG_CONFIG+:} false; then :
16273 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16277 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16278 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16279 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16280 ac_save_CPPFLAGS=$CPPFLAGS
16281 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16282 for ac_header in mpg123.h
16283 do :
16284 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16285 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16286 cat >>confdefs.h <<_ACEOF
16287 #define HAVE_MPG123_H 1
16288 _ACEOF
16292 done
16294 if test "$ac_cv_header_mpg123_h" = "yes"
16295 then
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16297 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16298 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16299 $as_echo_n "(cached) " >&6
16300 else
16301 ac_check_lib_save_LIBS=$LIBS
16302 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16304 /* end confdefs.h. */
16306 /* Override any GCC internal prototype to avoid an error.
16307 Use char because int might match the return type of a GCC
16308 builtin and then its argument prototype would still apply. */
16309 #ifdef __cplusplus
16310 extern "C"
16311 #endif
16312 char mpg123_feed ();
16314 main ()
16316 return mpg123_feed ();
16318 return 0;
16320 _ACEOF
16321 if ac_fn_c_try_link "$LINENO"; then :
16322 ac_cv_lib_mpg123_mpg123_feed=yes
16323 else
16324 ac_cv_lib_mpg123_mpg123_feed=no
16326 rm -f core conftest.err conftest.$ac_objext \
16327 conftest$ac_exeext conftest.$ac_ext
16328 LIBS=$ac_check_lib_save_LIBS
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16331 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16332 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16334 else
16335 MPG123_LIBS=""
16338 else
16339 MPG123_CFLAGS=""
16340 MPG123_LIBS=""
16342 CPPFLAGS=$ac_save_CPPFLAGS
16345 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16346 case "x$with_mpg123" in
16347 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16348 xno) ;;
16349 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16350 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16351 esac
16352 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16354 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16356 if test "$ac_cv_header_AL_al_h" = "yes"
16357 then
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16359 $as_echo_n "checking for -lopenal... " >&6; }
16360 if ${ac_cv_lib_soname_openal+:} false; then :
16361 $as_echo_n "(cached) " >&6
16362 else
16363 ac_check_soname_save_LIBS=$LIBS
16364 LIBS="-lopenal $LIBS"
16365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16366 /* end confdefs.h. */
16368 /* Override any GCC internal prototype to avoid an error.
16369 Use char because int might match the return type of a GCC
16370 builtin and then its argument prototype would still apply. */
16371 #ifdef __cplusplus
16372 extern "C"
16373 #endif
16374 char alGetSource3i ();
16376 main ()
16378 return alGetSource3i ();
16380 return 0;
16382 _ACEOF
16383 if ac_fn_c_try_link "$LINENO"; then :
16384 case "$LIBEXT" in
16385 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16386 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'` ;;
16387 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16388 if ${ac_cv_lib_soname_openal:+false} :; then :
16389 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16390 fi ;;
16391 esac
16392 else
16393 ac_cv_lib_soname_openal=
16395 rm -f core conftest.err conftest.$ac_objext \
16396 conftest$ac_exeext conftest.$ac_ext
16397 LIBS=$ac_check_soname_save_LIBS
16399 if ${ac_cv_lib_soname_openal:+false} :; then :
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16401 $as_echo "not found" >&6; }
16403 else
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16405 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16407 cat >>confdefs.h <<_ACEOF
16408 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16409 _ACEOF
16411 OPENAL_LIBS="-lopenal"
16413 ac_cv_lib_openal=yes
16415 cat >>confdefs.h <<_ACEOF
16416 #define HAVE_OPENAL 1
16417 _ACEOF
16421 if test "x$ac_cv_lib_openal" != xyes; then :
16422 case "x$with_openal" in
16423 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16424 xno) ;;
16425 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16426 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16427 esac
16428 enable_openal32=${enable_openal32:-no}
16431 if test "x$ac_cv_lib_soname_FAudio" = "x"
16432 then
16433 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16434 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16435 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16436 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16437 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16438 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16439 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16440 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16441 enable_xactengine2_0=${enable_xactengine2_0:-no}
16442 enable_xactengine2_4=${enable_xactengine2_4:-no}
16443 enable_xactengine2_7=${enable_xactengine2_7:-no}
16444 enable_xactengine2_9=${enable_xactengine2_9:-no}
16445 enable_xactengine3_0=${enable_xactengine3_0:-no}
16446 enable_xactengine3_1=${enable_xactengine3_1:-no}
16447 enable_xactengine3_2=${enable_xactengine3_2:-no}
16448 enable_xactengine3_3=${enable_xactengine3_3:-no}
16449 enable_xactengine3_4=${enable_xactengine3_4:-no}
16450 enable_xactengine3_5=${enable_xactengine3_5:-no}
16451 enable_xactengine3_6=${enable_xactengine3_6:-no}
16452 enable_xactengine3_7=${enable_xactengine3_7:-no}
16453 enable_xapofx1_1=${enable_xapofx1_1:-no}
16454 enable_xapofx1_2=${enable_xapofx1_2:-no}
16455 enable_xapofx1_3=${enable_xapofx1_3:-no}
16456 enable_xapofx1_4=${enable_xapofx1_4:-no}
16457 enable_xapofx1_5=${enable_xapofx1_5:-no}
16458 enable_xaudio2_0=${enable_xaudio2_0:-no}
16459 enable_xaudio2_1=${enable_xaudio2_1:-no}
16460 enable_xaudio2_2=${enable_xaudio2_2:-no}
16461 enable_xaudio2_3=${enable_xaudio2_3:-no}
16462 enable_xaudio2_4=${enable_xaudio2_4:-no}
16463 enable_xaudio2_5=${enable_xaudio2_5:-no}
16464 enable_xaudio2_6=${enable_xaudio2_6:-no}
16465 enable_xaudio2_7=${enable_xaudio2_7:-no}
16466 enable_xaudio2_8=${enable_xaudio2_8:-no}
16467 enable_xaudio2_9=${enable_xaudio2_9:-no}
16470 if test "$ac_cv_header_kstat_h" = "yes"
16471 then
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16473 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16474 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16475 $as_echo_n "(cached) " >&6
16476 else
16477 ac_check_lib_save_LIBS=$LIBS
16478 LIBS="-lkstat $LIBS"
16479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16480 /* end confdefs.h. */
16482 /* Override any GCC internal prototype to avoid an error.
16483 Use char because int might match the return type of a GCC
16484 builtin and then its argument prototype would still apply. */
16485 #ifdef __cplusplus
16486 extern "C"
16487 #endif
16488 char kstat_open ();
16490 main ()
16492 return kstat_open ();
16494 return 0;
16496 _ACEOF
16497 if ac_fn_c_try_link "$LINENO"; then :
16498 ac_cv_lib_kstat_kstat_open=yes
16499 else
16500 ac_cv_lib_kstat_kstat_open=no
16502 rm -f core conftest.err conftest.$ac_objext \
16503 conftest$ac_exeext conftest.$ac_ext
16504 LIBS=$ac_check_lib_save_LIBS
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16507 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16508 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16510 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16512 KSTAT_LIBS="-lkstat"
16518 if test "$ac_cv_header_libprocstat_h" = "yes"
16519 then
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16521 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16522 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16523 $as_echo_n "(cached) " >&6
16524 else
16525 ac_check_lib_save_LIBS=$LIBS
16526 LIBS="-lprocstat $LIBS"
16527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16530 /* Override any GCC internal prototype to avoid an error.
16531 Use char because int might match the return type of a GCC
16532 builtin and then its argument prototype would still apply. */
16533 #ifdef __cplusplus
16534 extern "C"
16535 #endif
16536 char procstat_open_sysctl ();
16538 main ()
16540 return procstat_open_sysctl ();
16542 return 0;
16544 _ACEOF
16545 if ac_fn_c_try_link "$LINENO"; then :
16546 ac_cv_lib_procstat_procstat_open_sysctl=yes
16547 else
16548 ac_cv_lib_procstat_procstat_open_sysctl=no
16550 rm -f core conftest.err conftest.$ac_objext \
16551 conftest$ac_exeext conftest.$ac_ext
16552 LIBS=$ac_check_lib_save_LIBS
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16555 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16556 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16558 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16560 PROCSTAT_LIBS="-lprocstat"
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16567 $as_echo_n "checking for -lodbc... " >&6; }
16568 if ${ac_cv_lib_soname_odbc+:} false; then :
16569 $as_echo_n "(cached) " >&6
16570 else
16571 ac_check_soname_save_LIBS=$LIBS
16572 LIBS="-lodbc $LIBS"
16573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h. */
16576 /* Override any GCC internal prototype to avoid an error.
16577 Use char because int might match the return type of a GCC
16578 builtin and then its argument prototype would still apply. */
16579 #ifdef __cplusplus
16580 extern "C"
16581 #endif
16582 char SQLConnect ();
16584 main ()
16586 return SQLConnect ();
16588 return 0;
16590 _ACEOF
16591 if ac_fn_c_try_link "$LINENO"; then :
16592 case "$LIBEXT" in
16593 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16594 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'` ;;
16595 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16596 if ${ac_cv_lib_soname_odbc:+false} :; then :
16597 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16598 fi ;;
16599 esac
16600 else
16601 ac_cv_lib_soname_odbc=
16603 rm -f core conftest.err conftest.$ac_objext \
16604 conftest$ac_exeext conftest.$ac_ext
16605 LIBS=$ac_check_soname_save_LIBS
16607 if ${ac_cv_lib_soname_odbc:+false} :; then :
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16609 $as_echo "not found" >&6; }
16610 cat >>confdefs.h <<_ACEOF
16611 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16612 _ACEOF
16614 else
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16616 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16618 cat >>confdefs.h <<_ACEOF
16619 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16620 _ACEOF
16625 if test "x$with_netapi" != "xno"
16626 then
16627 if ${NETAPI_CFLAGS:+false} :; then :
16628 if ${PKG_CONFIG+:} false; then :
16629 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16633 if ${NETAPI_LIBS:+false} :; then :
16634 if ${PKG_CONFIG+:} false; then :
16635 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16640 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16641 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16642 ac_save_CPPFLAGS=$CPPFLAGS
16643 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16645 $as_echo_n "checking for -lnetapi... " >&6; }
16646 if ${ac_cv_lib_soname_netapi+:} false; then :
16647 $as_echo_n "(cached) " >&6
16648 else
16649 ac_check_soname_save_LIBS=$LIBS
16650 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16652 /* end confdefs.h. */
16654 /* Override any GCC internal prototype to avoid an error.
16655 Use char because int might match the return type of a GCC
16656 builtin and then its argument prototype would still apply. */
16657 #ifdef __cplusplus
16658 extern "C"
16659 #endif
16660 char libnetapi_init ();
16662 main ()
16664 return libnetapi_init ();
16666 return 0;
16668 _ACEOF
16669 if ac_fn_c_try_link "$LINENO"; then :
16670 case "$LIBEXT" in
16671 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16672 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'` ;;
16673 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16674 if ${ac_cv_lib_soname_netapi:+false} :; then :
16675 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16676 fi ;;
16677 esac
16678 else
16679 ac_cv_lib_soname_netapi=
16681 rm -f core conftest.err conftest.$ac_objext \
16682 conftest$ac_exeext conftest.$ac_ext
16683 LIBS=$ac_check_soname_save_LIBS
16685 if ${ac_cv_lib_soname_netapi:+false} :; then :
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16687 $as_echo "not found" >&6; }
16688 cat >>confdefs.h <<_ACEOF
16689 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16690 _ACEOF
16692 else
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16694 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16696 cat >>confdefs.h <<_ACEOF
16697 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16698 _ACEOF
16702 CPPFLAGS=$ac_save_CPPFLAGS
16706 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16707 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16708 then
16709 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16712 if test "x$with_vulkan" != "xno"
16713 then
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16715 $as_echo_n "checking for -lvulkan... " >&6; }
16716 if ${ac_cv_lib_soname_vulkan+:} false; then :
16717 $as_echo_n "(cached) " >&6
16718 else
16719 ac_check_soname_save_LIBS=$LIBS
16720 LIBS="-lvulkan $LIBS"
16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16724 /* Override any GCC internal prototype to avoid an error.
16725 Use char because int might match the return type of a GCC
16726 builtin and then its argument prototype would still apply. */
16727 #ifdef __cplusplus
16728 extern "C"
16729 #endif
16730 char vkGetInstanceProcAddr ();
16732 main ()
16734 return vkGetInstanceProcAddr ();
16736 return 0;
16738 _ACEOF
16739 if ac_fn_c_try_link "$LINENO"; then :
16740 case "$LIBEXT" in
16741 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16742 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'` ;;
16743 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16744 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16745 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16746 fi ;;
16747 esac
16748 else
16749 ac_cv_lib_soname_vulkan=
16751 rm -f core conftest.err conftest.$ac_objext \
16752 conftest$ac_exeext conftest.$ac_ext
16753 LIBS=$ac_check_soname_save_LIBS
16755 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16757 $as_echo "not found" >&6; }
16759 else
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16761 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16763 cat >>confdefs.h <<_ACEOF
16764 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16765 _ACEOF
16769 if test "x$ac_cv_lib_soname_vulkan" = "x"
16770 then
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16772 $as_echo_n "checking for -lMoltenVK... " >&6; }
16773 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16774 $as_echo_n "(cached) " >&6
16775 else
16776 ac_check_soname_save_LIBS=$LIBS
16777 LIBS="-lMoltenVK $LIBS"
16778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h. */
16781 /* Override any GCC internal prototype to avoid an error.
16782 Use char because int might match the return type of a GCC
16783 builtin and then its argument prototype would still apply. */
16784 #ifdef __cplusplus
16785 extern "C"
16786 #endif
16787 char vkGetInstanceProcAddr ();
16789 main ()
16791 return vkGetInstanceProcAddr ();
16793 return 0;
16795 _ACEOF
16796 if ac_fn_c_try_link "$LINENO"; then :
16797 case "$LIBEXT" in
16798 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16799 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'` ;;
16800 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16801 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16802 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16803 fi ;;
16804 esac
16805 else
16806 ac_cv_lib_soname_MoltenVK=
16808 rm -f core conftest.err conftest.$ac_objext \
16809 conftest$ac_exeext conftest.$ac_ext
16810 LIBS=$ac_check_soname_save_LIBS
16812 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16814 $as_echo "not found" >&6; }
16816 else
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16818 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16820 cat >>confdefs.h <<_ACEOF
16821 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16822 _ACEOF
16828 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16829 case "x$with_vulkan" in
16830 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16831 xno) ;;
16832 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16833 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16834 esac
16838 if test "x$with_vkd3d" != "xno"
16839 then
16840 if ${VKD3D_CFLAGS:+false} :; then :
16841 if ${PKG_CONFIG+:} false; then :
16842 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16846 if ${VKD3D_LIBS:+false} :; then :
16847 if ${PKG_CONFIG+:} false; then :
16848 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16853 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16854 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16855 ac_save_CPPFLAGS=$CPPFLAGS
16856 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16858 $as_echo_n "checking for -lvkd3d... " >&6; }
16859 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16860 $as_echo_n "(cached) " >&6
16861 else
16862 ac_check_soname_save_LIBS=$LIBS
16863 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16865 /* end confdefs.h. */
16867 /* Override any GCC internal prototype to avoid an error.
16868 Use char because int might match the return type of a GCC
16869 builtin and then its argument prototype would still apply. */
16870 #ifdef __cplusplus
16871 extern "C"
16872 #endif
16873 char vkd3d_serialize_versioned_root_signature ();
16875 main ()
16877 return vkd3d_serialize_versioned_root_signature ();
16879 return 0;
16881 _ACEOF
16882 if ac_fn_c_try_link "$LINENO"; then :
16883 case "$LIBEXT" in
16884 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16885 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'` ;;
16886 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16887 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16888 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16889 fi ;;
16890 esac
16891 else
16892 ac_cv_lib_soname_vkd3d=
16894 rm -f core conftest.err conftest.$ac_objext \
16895 conftest$ac_exeext conftest.$ac_ext
16896 LIBS=$ac_check_soname_save_LIBS
16898 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16900 $as_echo "not found" >&6; }
16902 else
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16904 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16906 cat >>confdefs.h <<_ACEOF
16907 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16908 _ACEOF
16912 CPPFLAGS=$ac_save_CPPFLAGS
16914 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16915 if ${PKG_CONFIG+:} false; then :
16916 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16920 if ${VKD3D_SHADER_LIBS:+false} :; then :
16921 if ${PKG_CONFIG+:} false; then :
16922 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16927 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16928 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16929 ac_save_CPPFLAGS=$CPPFLAGS
16930 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16932 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16933 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16934 $as_echo_n "(cached) " >&6
16935 else
16936 ac_check_soname_save_LIBS=$LIBS
16937 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16941 /* Override any GCC internal prototype to avoid an error.
16942 Use char because int might match the return type of a GCC
16943 builtin and then its argument prototype would still apply. */
16944 #ifdef __cplusplus
16945 extern "C"
16946 #endif
16947 char vkd3d_shader_compile ();
16949 main ()
16951 return vkd3d_shader_compile ();
16953 return 0;
16955 _ACEOF
16956 if ac_fn_c_try_link "$LINENO"; then :
16957 case "$LIBEXT" in
16958 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16959 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'` ;;
16960 *) 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'`
16961 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16962 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16963 fi ;;
16964 esac
16965 else
16966 ac_cv_lib_soname_vkd3d_shader=
16968 rm -f core conftest.err conftest.$ac_objext \
16969 conftest$ac_exeext conftest.$ac_ext
16970 LIBS=$ac_check_soname_save_LIBS
16972 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16974 $as_echo "not found" >&6; }
16976 else
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16978 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16980 cat >>confdefs.h <<_ACEOF
16981 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16982 _ACEOF
16986 CPPFLAGS=$ac_save_CPPFLAGS
16989 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16990 case "x$with_vkd3d" in
16991 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16992 xno) ;;
16993 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16994 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16995 esac
16998 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17001 EXTRACFLAGS=""
17003 if test "x${GCC}" = "xyes"
17004 then
17005 EXTRACFLAGS="-Wall -pipe"
17007 saved_CFLAGS=$CFLAGS
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17009 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17010 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17011 $as_echo_n "(cached) " >&6
17012 else
17013 ac_wine_try_cflags_saved=$CFLAGS
17014 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17016 /* end confdefs.h. */
17017 int main(int argc, char **argv) { return 0; }
17018 _ACEOF
17019 if ac_fn_c_try_link "$LINENO"; then :
17020 ac_cv_cflags__Werror_unknown_warning_option=yes
17021 else
17022 ac_cv_cflags__Werror_unknown_warning_option=no
17024 rm -f core conftest.err conftest.$ac_objext \
17025 conftest$ac_exeext conftest.$ac_ext
17026 CFLAGS=$ac_wine_try_cflags_saved
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17029 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17030 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17031 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17034 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17035 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17036 $as_echo_n "(cached) " >&6
17037 else
17038 ac_wine_try_cflags_saved=$CFLAGS
17039 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17042 int main(int argc, char **argv) { return 0; }
17043 _ACEOF
17044 if ac_fn_c_try_link "$LINENO"; then :
17045 ac_cv_cflags__Werror_unused_command_line_argument=yes
17046 else
17047 ac_cv_cflags__Werror_unused_command_line_argument=no
17049 rm -f core conftest.err conftest.$ac_objext \
17050 conftest$ac_exeext conftest.$ac_ext
17051 CFLAGS=$ac_wine_try_cflags_saved
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17054 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17055 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17056 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17059 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17060 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17061 $as_echo_n "(cached) " >&6
17062 else
17063 ac_wine_try_cflags_saved=$CFLAGS
17064 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17066 /* end confdefs.h. */
17067 int main(int argc, char **argv) { return 0; }
17068 _ACEOF
17069 if ac_fn_c_try_link "$LINENO"; then :
17070 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17071 else
17072 ac_cv_cflags__Werror_ignored_optimization_argument=no
17074 rm -f core conftest.err conftest.$ac_objext \
17075 conftest$ac_exeext conftest.$ac_ext
17076 CFLAGS=$ac_wine_try_cflags_saved
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17079 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17080 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17081 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17084 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17085 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17086 $as_echo_n "(cached) " >&6
17087 else
17088 ac_wine_try_cflags_saved=$CFLAGS
17089 CFLAGS="$CFLAGS -fcf-protection=none"
17090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17091 /* end confdefs.h. */
17092 int main(int argc, char **argv) { return 0; }
17093 _ACEOF
17094 if ac_fn_c_try_link "$LINENO"; then :
17095 ac_cv_cflags__fcf_protection_none=yes
17096 else
17097 ac_cv_cflags__fcf_protection_none=no
17099 rm -f core conftest.err conftest.$ac_objext \
17100 conftest$ac_exeext conftest.$ac_ext
17101 CFLAGS=$ac_wine_try_cflags_saved
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17104 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17105 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17106 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17109 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17110 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17111 $as_echo_n "(cached) " >&6
17112 else
17113 ac_wine_try_cflags_saved=$CFLAGS
17114 CFLAGS="$CFLAGS -fno-stack-protector"
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17117 int main(int argc, char **argv) { return 0; }
17118 _ACEOF
17119 if ac_fn_c_try_link "$LINENO"; then :
17120 ac_cv_cflags__fno_stack_protector=yes
17121 else
17122 ac_cv_cflags__fno_stack_protector=no
17124 rm -f core conftest.err conftest.$ac_objext \
17125 conftest$ac_exeext conftest.$ac_ext
17126 CFLAGS=$ac_wine_try_cflags_saved
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17129 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17130 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17131 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17134 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17135 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17136 $as_echo_n "(cached) " >&6
17137 else
17138 ac_wine_try_cflags_saved=$CFLAGS
17139 CFLAGS="$CFLAGS -fno-strict-aliasing"
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17142 int main(int argc, char **argv) { return 0; }
17143 _ACEOF
17144 if ac_fn_c_try_link "$LINENO"; then :
17145 ac_cv_cflags__fno_strict_aliasing=yes
17146 else
17147 ac_cv_cflags__fno_strict_aliasing=no
17149 rm -f core conftest.err conftest.$ac_objext \
17150 conftest$ac_exeext conftest.$ac_ext
17151 CFLAGS=$ac_wine_try_cflags_saved
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17154 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17155 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17156 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17159 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17160 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17161 $as_echo_n "(cached) " >&6
17162 else
17163 ac_wine_try_cflags_saved=$CFLAGS
17164 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17166 /* end confdefs.h. */
17167 int main(int argc, char **argv) { return 0; }
17168 _ACEOF
17169 if ac_fn_c_try_link "$LINENO"; then :
17170 ac_cv_cflags__Wdeclaration_after_statement=yes
17171 else
17172 ac_cv_cflags__Wdeclaration_after_statement=no
17174 rm -f core conftest.err conftest.$ac_objext \
17175 conftest$ac_exeext conftest.$ac_ext
17176 CFLAGS=$ac_wine_try_cflags_saved
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17179 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17180 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17181 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17184 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17185 if ${ac_cv_cflags__Wempty_body+:} false; then :
17186 $as_echo_n "(cached) " >&6
17187 else
17188 ac_wine_try_cflags_saved=$CFLAGS
17189 CFLAGS="$CFLAGS -Wempty-body"
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17192 int main(int argc, char **argv) { return 0; }
17193 _ACEOF
17194 if ac_fn_c_try_link "$LINENO"; then :
17195 ac_cv_cflags__Wempty_body=yes
17196 else
17197 ac_cv_cflags__Wempty_body=no
17199 rm -f core conftest.err conftest.$ac_objext \
17200 conftest$ac_exeext conftest.$ac_ext
17201 CFLAGS=$ac_wine_try_cflags_saved
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17204 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17205 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17206 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17209 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17210 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17211 $as_echo_n "(cached) " >&6
17212 else
17213 ac_wine_try_cflags_saved=$CFLAGS
17214 CFLAGS="$CFLAGS -Wignored-qualifiers"
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17217 int main(int argc, char **argv) { return 0; }
17218 _ACEOF
17219 if ac_fn_c_try_link "$LINENO"; then :
17220 ac_cv_cflags__Wignored_qualifiers=yes
17221 else
17222 ac_cv_cflags__Wignored_qualifiers=no
17224 rm -f core conftest.err conftest.$ac_objext \
17225 conftest$ac_exeext conftest.$ac_ext
17226 CFLAGS=$ac_wine_try_cflags_saved
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17229 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17230 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17231 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17234 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17235 if ${ac_cv_cflags__Winit_self+:} false; then :
17236 $as_echo_n "(cached) " >&6
17237 else
17238 ac_wine_try_cflags_saved=$CFLAGS
17239 CFLAGS="$CFLAGS -Winit-self"
17240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17241 /* end confdefs.h. */
17242 int main(int argc, char **argv) { return 0; }
17243 _ACEOF
17244 if ac_fn_c_try_link "$LINENO"; then :
17245 ac_cv_cflags__Winit_self=yes
17246 else
17247 ac_cv_cflags__Winit_self=no
17249 rm -f core conftest.err conftest.$ac_objext \
17250 conftest$ac_exeext conftest.$ac_ext
17251 CFLAGS=$ac_wine_try_cflags_saved
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17254 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17255 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17256 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17259 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17260 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17261 $as_echo_n "(cached) " >&6
17262 else
17263 ac_wine_try_cflags_saved=$CFLAGS
17264 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17266 /* end confdefs.h. */
17267 int main(int argc, char **argv) { return 0; }
17268 _ACEOF
17269 if ac_fn_c_try_link "$LINENO"; then :
17270 ac_cv_cflags__Wpacked_not_aligned=yes
17271 else
17272 ac_cv_cflags__Wpacked_not_aligned=no
17274 rm -f core conftest.err conftest.$ac_objext \
17275 conftest$ac_exeext conftest.$ac_ext
17276 CFLAGS=$ac_wine_try_cflags_saved
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17279 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17280 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17281 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17284 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17285 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17286 $as_echo_n "(cached) " >&6
17287 else
17288 ac_wine_try_cflags_saved=$CFLAGS
17289 CFLAGS="$CFLAGS -Wpragma-pack"
17290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17291 /* end confdefs.h. */
17292 int main(int argc, char **argv) { return 0; }
17293 _ACEOF
17294 if ac_fn_c_try_link "$LINENO"; then :
17295 ac_cv_cflags__Wpragma_pack=yes
17296 else
17297 ac_cv_cflags__Wpragma_pack=no
17299 rm -f core conftest.err conftest.$ac_objext \
17300 conftest$ac_exeext conftest.$ac_ext
17301 CFLAGS=$ac_wine_try_cflags_saved
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17304 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17305 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17306 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17309 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17310 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17311 $as_echo_n "(cached) " >&6
17312 else
17313 ac_wine_try_cflags_saved=$CFLAGS
17314 CFLAGS="$CFLAGS -Wshift-overflow=2"
17315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17316 /* end confdefs.h. */
17317 int main(int argc, char **argv) { return 0; }
17318 _ACEOF
17319 if ac_fn_c_try_link "$LINENO"; then :
17320 ac_cv_cflags__Wshift_overflow_2=yes
17321 else
17322 ac_cv_cflags__Wshift_overflow_2=no
17324 rm -f core conftest.err conftest.$ac_objext \
17325 conftest$ac_exeext conftest.$ac_ext
17326 CFLAGS=$ac_wine_try_cflags_saved
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17329 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17330 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17331 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17334 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17335 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17336 $as_echo_n "(cached) " >&6
17337 else
17338 ac_wine_try_cflags_saved=$CFLAGS
17339 CFLAGS="$CFLAGS -Wstrict-prototypes"
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h. */
17342 int main(int argc, char **argv) { return 0; }
17343 _ACEOF
17344 if ac_fn_c_try_link "$LINENO"; then :
17345 ac_cv_cflags__Wstrict_prototypes=yes
17346 else
17347 ac_cv_cflags__Wstrict_prototypes=no
17349 rm -f core conftest.err conftest.$ac_objext \
17350 conftest$ac_exeext conftest.$ac_ext
17351 CFLAGS=$ac_wine_try_cflags_saved
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17354 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17355 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17356 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17359 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17360 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17363 ac_wine_try_cflags_saved=$CFLAGS
17364 CFLAGS="$CFLAGS -Wtype-limits"
17365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17366 /* end confdefs.h. */
17367 int main(int argc, char **argv) { return 0; }
17368 _ACEOF
17369 if ac_fn_c_try_link "$LINENO"; then :
17370 ac_cv_cflags__Wtype_limits=yes
17371 else
17372 ac_cv_cflags__Wtype_limits=no
17374 rm -f core conftest.err conftest.$ac_objext \
17375 conftest$ac_exeext conftest.$ac_ext
17376 CFLAGS=$ac_wine_try_cflags_saved
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17379 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17380 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17381 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17384 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17385 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17386 $as_echo_n "(cached) " >&6
17387 else
17388 ac_wine_try_cflags_saved=$CFLAGS
17389 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17392 int main(int argc, char **argv) { return 0; }
17393 _ACEOF
17394 if ac_fn_c_try_link "$LINENO"; then :
17395 ac_cv_cflags__Wunused_but_set_parameter=yes
17396 else
17397 ac_cv_cflags__Wunused_but_set_parameter=no
17399 rm -f core conftest.err conftest.$ac_objext \
17400 conftest$ac_exeext conftest.$ac_ext
17401 CFLAGS=$ac_wine_try_cflags_saved
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17404 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17405 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17406 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17409 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17410 if ${ac_cv_cflags__Wvla+:} false; then :
17411 $as_echo_n "(cached) " >&6
17412 else
17413 ac_wine_try_cflags_saved=$CFLAGS
17414 CFLAGS="$CFLAGS -Wvla"
17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17417 int main(int argc, char **argv) { return 0; }
17418 _ACEOF
17419 if ac_fn_c_try_link "$LINENO"; then :
17420 ac_cv_cflags__Wvla=yes
17421 else
17422 ac_cv_cflags__Wvla=no
17424 rm -f core conftest.err conftest.$ac_objext \
17425 conftest$ac_exeext conftest.$ac_ext
17426 CFLAGS=$ac_wine_try_cflags_saved
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17429 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17430 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17431 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17434 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17435 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17436 $as_echo_n "(cached) " >&6
17437 else
17438 ac_wine_try_cflags_saved=$CFLAGS
17439 CFLAGS="$CFLAGS -Wwrite-strings"
17440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h. */
17442 int main(int argc, char **argv) { return 0; }
17443 _ACEOF
17444 if ac_fn_c_try_link "$LINENO"; then :
17445 ac_cv_cflags__Wwrite_strings=yes
17446 else
17447 ac_cv_cflags__Wwrite_strings=no
17449 rm -f core conftest.err conftest.$ac_objext \
17450 conftest$ac_exeext conftest.$ac_ext
17451 CFLAGS=$ac_wine_try_cflags_saved
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17454 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17455 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17456 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17459 if test -z "$CROSSTARGET"
17460 then
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17462 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17463 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17464 $as_echo_n "(cached) " >&6
17465 else
17466 ac_wine_try_cflags_saved=$CFLAGS
17467 CFLAGS="$CFLAGS -fexcess-precision=standard"
17468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h. */
17470 int main(int argc, char **argv) { return 0; }
17471 _ACEOF
17472 if ac_fn_c_try_link "$LINENO"; then :
17473 ac_cv_cflags__fexcess_precision_standard=yes
17474 else
17475 ac_cv_cflags__fexcess_precision_standard=no
17477 rm -f core conftest.err conftest.$ac_objext \
17478 conftest$ac_exeext conftest.$ac_ext
17479 CFLAGS=$ac_wine_try_cflags_saved
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17482 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17483 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17484 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17490 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17491 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17492 $as_echo_n "(cached) " >&6
17493 else
17494 ac_wine_try_cflags_saved=$CFLAGS
17495 CFLAGS="$CFLAGS -Wpointer-arith"
17496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17497 /* end confdefs.h. */
17498 int main(int argc, char **argv) { return 0; }
17499 _ACEOF
17500 if ac_fn_c_try_link "$LINENO"; then :
17501 ac_cv_cflags__Wpointer_arith=yes
17502 else
17503 ac_cv_cflags__Wpointer_arith=no
17505 rm -f core conftest.err conftest.$ac_objext \
17506 conftest$ac_exeext conftest.$ac_ext
17507 CFLAGS=$ac_wine_try_cflags_saved
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17510 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17511 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17512 saved_string_h_CFLAGS=$CFLAGS
17513 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17515 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17516 if ${ac_cv_c_string_h_warnings+:} false; then :
17517 $as_echo_n "(cached) " >&6
17518 else
17519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17520 /* end confdefs.h. */
17521 #include <string.h>
17523 main ()
17527 return 0;
17529 _ACEOF
17530 if ac_fn_c_try_compile "$LINENO"; then :
17531 ac_cv_c_string_h_warnings=no
17532 else
17533 ac_cv_c_string_h_warnings=yes
17535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17538 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17539 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17540 CFLAGS=$saved_string_h_CFLAGS
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17544 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17545 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17546 $as_echo_n "(cached) " >&6
17547 else
17548 ac_wine_try_cflags_saved=$CFLAGS
17549 CFLAGS="$CFLAGS -Wlogical-op"
17550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17552 int main(int argc, char **argv) { return 0; }
17553 _ACEOF
17554 if ac_fn_c_try_link "$LINENO"; then :
17555 ac_cv_cflags__Wlogical_op=yes
17556 else
17557 ac_cv_cflags__Wlogical_op=no
17559 rm -f core conftest.err conftest.$ac_objext \
17560 conftest$ac_exeext conftest.$ac_ext
17561 CFLAGS=$ac_wine_try_cflags_saved
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17564 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17565 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17566 saved_string_h_CFLAGS=$CFLAGS
17567 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17569 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17570 if ${ac_cv_c_logicalop_noisy+:} false; then :
17571 $as_echo_n "(cached) " >&6
17572 else
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 #include <string.h>
17576 char*f(const char *h,char n) {return strchr(h,n);}
17578 main ()
17582 return 0;
17584 _ACEOF
17585 if ac_fn_c_try_compile "$LINENO"; then :
17586 ac_cv_c_logicalop_noisy=no
17587 else
17588 ac_cv_c_logicalop_noisy=yes
17590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17593 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17594 CFLAGS=$saved_string_h_CFLAGS
17595 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17599 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17600 if ${wine_cv_64bit_compare_swap+:} false; then :
17601 $as_echo_n "(cached) " >&6
17602 else
17603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17604 /* end confdefs.h. */
17605 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17606 #error no
17607 #endif
17609 main ()
17613 return 0;
17615 _ACEOF
17616 if ac_fn_c_try_compile "$LINENO"; then :
17617 wine_cv_64bit_compare_swap="none needed"
17618 else
17619 case $host_cpu in
17620 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17621 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17622 *) wine_cv_64bit_compare_swap="unknown" ;;
17623 esac
17624 if test "x$wine_cv_64bit_compare_swap" != xunknown
17625 then
17626 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17629 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17630 #error no
17631 #endif
17633 main ()
17637 return 0;
17639 _ACEOF
17640 if ac_fn_c_try_compile "$LINENO"; then :
17642 else
17643 wine_cv_64bit_compare_swap="unknown"
17645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17646 CFLAGS=$saved_CFLAGS
17649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17652 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17653 case "$wine_cv_64bit_compare_swap" in
17654 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17655 "none needed") ;;
17656 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17657 esac
17659 for ac_flag in $CFLAGS; do
17660 case $ac_flag in
17661 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17662 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17663 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17664 $as_echo_n "(cached) " >&6
17665 else
17666 ac_wine_try_cflags_saved=$CFLAGS
17667 CFLAGS="$CFLAGS -gdwarf-2"
17668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17669 /* end confdefs.h. */
17670 int main(int argc, char **argv) { return 0; }
17671 _ACEOF
17672 if ac_fn_c_try_link "$LINENO"; then :
17673 ac_cv_cflags__gdwarf_2=yes
17674 else
17675 ac_cv_cflags__gdwarf_2=no
17677 rm -f core conftest.err conftest.$ac_objext \
17678 conftest$ac_exeext conftest.$ac_ext
17679 CFLAGS=$ac_wine_try_cflags_saved
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17682 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17683 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17684 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17687 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17688 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17689 $as_echo_n "(cached) " >&6
17690 else
17691 ac_wine_try_cflags_saved=$CFLAGS
17692 CFLAGS="$CFLAGS -gstrict-dwarf"
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17695 int main(int argc, char **argv) { return 0; }
17696 _ACEOF
17697 if ac_fn_c_try_link "$LINENO"; then :
17698 ac_cv_cflags__gstrict_dwarf=yes
17699 else
17700 ac_cv_cflags__gstrict_dwarf=no
17702 rm -f core conftest.err conftest.$ac_objext \
17703 conftest$ac_exeext conftest.$ac_ext
17704 CFLAGS=$ac_wine_try_cflags_saved
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17707 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17708 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17709 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17710 fi ;;
17711 esac
17712 done
17714 MSVCRTFLAGS=""
17716 case $host_os in
17717 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17718 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17719 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17720 $as_echo_n "(cached) " >&6
17721 else
17722 ac_wine_try_cflags_saved=$CFLAGS
17723 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17725 /* end confdefs.h. */
17726 int main(int argc, char **argv) { return 0; }
17727 _ACEOF
17728 if ac_fn_c_try_link "$LINENO"; then :
17729 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17730 else
17731 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17733 rm -f core conftest.err conftest.$ac_objext \
17734 conftest$ac_exeext conftest.$ac_ext
17735 CFLAGS=$ac_wine_try_cflags_saved
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17738 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17739 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17740 DELAYLOADFLAG="-Wl,-delayload,"
17742 fi ;;
17743 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17744 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17745 if ${ac_cv_cflags__fno_builtin+:} false; then :
17746 $as_echo_n "(cached) " >&6
17747 else
17748 ac_wine_try_cflags_saved=$CFLAGS
17749 CFLAGS="$CFLAGS -fno-builtin"
17750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17751 /* end confdefs.h. */
17752 int main(int argc, char **argv) { return 0; }
17753 _ACEOF
17754 if ac_fn_c_try_link "$LINENO"; then :
17755 ac_cv_cflags__fno_builtin=yes
17756 else
17757 ac_cv_cflags__fno_builtin=no
17759 rm -f core conftest.err conftest.$ac_objext \
17760 conftest$ac_exeext conftest.$ac_ext
17761 CFLAGS=$ac_wine_try_cflags_saved
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17764 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17765 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17766 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17769 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17770 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17771 $as_echo_n "(cached) " >&6
17772 else
17773 ac_wine_try_cflags_saved=$CFLAGS
17774 CFLAGS="$CFLAGS -fshort-wchar"
17775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17776 /* end confdefs.h. */
17777 int main(int argc, char **argv) { return 0; }
17778 _ACEOF
17779 if ac_fn_c_try_link "$LINENO"; then :
17780 ac_cv_cflags__fshort_wchar=yes
17781 else
17782 ac_cv_cflags__fshort_wchar=no
17784 rm -f core conftest.err conftest.$ac_objext \
17785 conftest$ac_exeext conftest.$ac_ext
17786 CFLAGS=$ac_wine_try_cflags_saved
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17789 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17790 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17791 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17792 fi ;;
17793 esac
17795 case $host_cpu in
17796 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17797 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17798 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17799 $as_echo_n "(cached) " >&6
17800 else
17801 ac_wine_try_cflags_saved=$CFLAGS
17802 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 int main(int argc, char **argv) { return 0; }
17806 _ACEOF
17807 if ac_fn_c_try_link "$LINENO"; then :
17808 ac_cv_cflags__fno_omit_frame_pointer=yes
17809 else
17810 ac_cv_cflags__fno_omit_frame_pointer=no
17812 rm -f core conftest.err conftest.$ac_objext \
17813 conftest$ac_exeext conftest.$ac_ext
17814 CFLAGS=$ac_wine_try_cflags_saved
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17817 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17818 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17819 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17820 fi ;;
17821 *x86_64*)
17822 case $host_os in
17823 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17824 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17825 if ${ac_cv_cflags__Wno_format+:} false; then :
17826 $as_echo_n "(cached) " >&6
17827 else
17828 ac_wine_try_cflags_saved=$CFLAGS
17829 CFLAGS="$CFLAGS -Wno-format"
17830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17831 /* end confdefs.h. */
17832 int main(int argc, char **argv) { return 0; }
17833 _ACEOF
17834 if ac_fn_c_try_link "$LINENO"; then :
17835 ac_cv_cflags__Wno_format=yes
17836 else
17837 ac_cv_cflags__Wno_format=no
17839 rm -f core conftest.err conftest.$ac_objext \
17840 conftest$ac_exeext conftest.$ac_ext
17841 CFLAGS=$ac_wine_try_cflags_saved
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17844 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17845 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17846 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17847 fi ;;
17848 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17849 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17850 if ${ac_cv_cflags__mabi_ms+:} false; then :
17851 $as_echo_n "(cached) " >&6
17852 else
17853 ac_wine_try_cflags_saved=$CFLAGS
17854 CFLAGS="$CFLAGS -mabi=ms"
17855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h. */
17857 int main(int argc, char **argv) { return 0; }
17858 _ACEOF
17859 if ac_fn_c_try_link "$LINENO"; then :
17860 ac_cv_cflags__mabi_ms=yes
17861 else
17862 ac_cv_cflags__mabi_ms=no
17864 rm -f core conftest.err conftest.$ac_objext \
17865 conftest$ac_exeext conftest.$ac_ext
17866 CFLAGS=$ac_wine_try_cflags_saved
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17869 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17870 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17871 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17872 fi ;;
17873 esac ;;
17874 esac
17876 CFLAGS=$saved_CFLAGS
17878 if test "x$enable_werror" = "xyes"
17879 then
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17881 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17882 if ${ac_cv_cflags__Werror+:} false; then :
17883 $as_echo_n "(cached) " >&6
17884 else
17885 ac_wine_try_cflags_saved=$CFLAGS
17886 CFLAGS="$CFLAGS -Werror"
17887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17889 int main(int argc, char **argv) { return 0; }
17890 _ACEOF
17891 if ac_fn_c_try_link "$LINENO"; then :
17892 ac_cv_cflags__Werror=yes
17893 else
17894 ac_cv_cflags__Werror=no
17896 rm -f core conftest.err conftest.$ac_objext \
17897 conftest$ac_exeext conftest.$ac_ext
17898 CFLAGS=$ac_wine_try_cflags_saved
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17901 $as_echo "$ac_cv_cflags__Werror" >&6; }
17902 if test "x$ac_cv_cflags__Werror" = xyes; then :
17903 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17906 if test "x$enable_build_id" = "xyes"
17907 then
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17909 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17910 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17911 $as_echo_n "(cached) " >&6
17912 else
17913 ac_wine_try_cflags_saved=$CFLAGS
17914 CFLAGS="$CFLAGS -Wl,--build-id"
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17917 int main(int argc, char **argv) { return 0; }
17918 _ACEOF
17919 if ac_fn_c_try_link "$LINENO"; then :
17920 ac_cv_cflags__Wl___build_id=yes
17921 else
17922 ac_cv_cflags__Wl___build_id=no
17924 rm -f core conftest.err conftest.$ac_objext \
17925 conftest$ac_exeext conftest.$ac_ext
17926 CFLAGS=$ac_wine_try_cflags_saved
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17929 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17930 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17931 CFLAGS="$CFLAGS -Wl,--build-id"
17932 LDFLAGS="$LDFLAGS -Wl,--build-id"
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17939 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17940 if ${ac_cv_c_fortify_enabled+:} false; then :
17941 $as_echo_n "(cached) " >&6
17942 else
17943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17944 /* end confdefs.h. */
17945 #include <string.h>
17947 main ()
17949 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17950 #error Fortify enabled
17951 #endif
17953 return 0;
17955 _ACEOF
17956 if ac_fn_c_try_compile "$LINENO"; then :
17957 ac_cv_c_fortify_enabled=no
17958 else
17959 ac_cv_c_fortify_enabled=yes
17961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17964 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17965 if test "$ac_cv_c_fortify_enabled" = yes
17966 then
17967 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17972 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17973 if ${ac_cv_c_cfi_support+:} false; then :
17974 $as_echo_n "(cached) " >&6
17975 else
17976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17977 /* end confdefs.h. */
17978 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17980 main ()
17984 return 0;
17986 _ACEOF
17987 if ac_fn_c_try_compile "$LINENO"; then :
17988 ac_cv_c_cfi_support="yes"
17989 else
17990 ac_cv_c_cfi_support="no"
17992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17995 $as_echo "$ac_cv_c_cfi_support" >&6; }
17996 if test "$ac_cv_c_cfi_support" = "yes"
17997 then
17998 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17999 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18000 else
18001 if test "x$enable_win64" = "xyes"
18002 then
18003 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18008 case $build_os in
18009 cygwin*|mingw32*) TOOLSEXT=".exe"
18011 esac
18013 case $host_os in
18014 linux*)
18015 case $host_cpu in
18016 *i[3456789]86*|x86_64*|*aarch64*)
18017 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18018 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18020 esac
18022 esac
18025 ac_save_CFLAGS="$CFLAGS"
18026 CFLAGS="$CFLAGS $BUILTINFLAG"
18027 for ac_func in \
18028 __res_get_state \
18029 __res_getservers \
18030 _spawnvp \
18031 epoll_create \
18032 fnmatch \
18033 fork \
18034 fstatfs \
18035 futimens \
18036 futimes \
18037 futimesat \
18038 getattrlist \
18039 getauxval \
18040 getifaddrs \
18041 getopt_long_only \
18042 getrandom \
18043 kqueue \
18044 lstat \
18045 mach_continuous_time \
18046 pipe2 \
18047 poll \
18048 port_create \
18049 prctl \
18050 pread \
18051 proc_pidinfo \
18052 pwrite \
18053 readlink \
18054 sched_yield \
18055 setproctitle \
18056 setprogname \
18057 sigprocmask \
18058 symlink \
18059 tcdrain \
18060 thr_kill2
18062 do :
18063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18065 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18066 cat >>confdefs.h <<_ACEOF
18067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18068 _ACEOF
18071 done
18073 CFLAGS="$ac_save_CFLAGS"
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18076 $as_echo_n "checking for library containing dlopen... " >&6; }
18077 if ${ac_cv_search_dlopen+:} false; then :
18078 $as_echo_n "(cached) " >&6
18079 else
18080 ac_func_search_save_LIBS=$LIBS
18081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18082 /* end confdefs.h. */
18084 /* Override any GCC internal prototype to avoid an error.
18085 Use char because int might match the return type of a GCC
18086 builtin and then its argument prototype would still apply. */
18087 #ifdef __cplusplus
18088 extern "C"
18089 #endif
18090 char dlopen ();
18092 main ()
18094 return dlopen ();
18096 return 0;
18098 _ACEOF
18099 for ac_lib in '' dl; do
18100 if test -z "$ac_lib"; then
18101 ac_res="none required"
18102 else
18103 ac_res=-l$ac_lib
18104 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18106 if ac_fn_c_try_link "$LINENO"; then :
18107 ac_cv_search_dlopen=$ac_res
18109 rm -f core conftest.err conftest.$ac_objext \
18110 conftest$ac_exeext
18111 if ${ac_cv_search_dlopen+:} false; then :
18112 break
18114 done
18115 if ${ac_cv_search_dlopen+:} false; then :
18117 else
18118 ac_cv_search_dlopen=no
18120 rm conftest.$ac_ext
18121 LIBS=$ac_func_search_save_LIBS
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18124 $as_echo "$ac_cv_search_dlopen" >&6; }
18125 ac_res=$ac_cv_search_dlopen
18126 if test "$ac_res" != no; then :
18127 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18131 ac_wine_check_funcs_save_LIBS="$LIBS"
18132 LIBS="$LIBS $DL_LIBS"
18133 for ac_func in dladdr dlinfo
18134 do :
18135 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18136 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18137 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18138 cat >>confdefs.h <<_ACEOF
18139 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18140 _ACEOF
18143 done
18145 LIBS="$ac_wine_check_funcs_save_LIBS"
18147 if test "$ac_cv_func_poll" = no
18148 then
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18150 $as_echo_n "checking for poll in -lpoll... " >&6; }
18151 if ${ac_cv_lib_poll_poll+:} false; then :
18152 $as_echo_n "(cached) " >&6
18153 else
18154 ac_check_lib_save_LIBS=$LIBS
18155 LIBS="-lpoll $LIBS"
18156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18157 /* end confdefs.h. */
18159 /* Override any GCC internal prototype to avoid an error.
18160 Use char because int might match the return type of a GCC
18161 builtin and then its argument prototype would still apply. */
18162 #ifdef __cplusplus
18163 extern "C"
18164 #endif
18165 char poll ();
18167 main ()
18169 return poll ();
18171 return 0;
18173 _ACEOF
18174 if ac_fn_c_try_link "$LINENO"; then :
18175 ac_cv_lib_poll_poll=yes
18176 else
18177 ac_cv_lib_poll_poll=no
18179 rm -f core conftest.err conftest.$ac_objext \
18180 conftest$ac_exeext conftest.$ac_ext
18181 LIBS=$ac_check_lib_save_LIBS
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18184 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18185 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18186 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18187 POLL_LIBS="-lpoll"
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18194 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18195 if ${ac_cv_search_gethostbyname+:} false; then :
18196 $as_echo_n "(cached) " >&6
18197 else
18198 ac_func_search_save_LIBS=$LIBS
18199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18200 /* end confdefs.h. */
18202 /* Override any GCC internal prototype to avoid an error.
18203 Use char because int might match the return type of a GCC
18204 builtin and then its argument prototype would still apply. */
18205 #ifdef __cplusplus
18206 extern "C"
18207 #endif
18208 char gethostbyname ();
18210 main ()
18212 return gethostbyname ();
18214 return 0;
18216 _ACEOF
18217 for ac_lib in '' nsl; do
18218 if test -z "$ac_lib"; then
18219 ac_res="none required"
18220 else
18221 ac_res=-l$ac_lib
18222 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18224 if ac_fn_c_try_link "$LINENO"; then :
18225 ac_cv_search_gethostbyname=$ac_res
18227 rm -f core conftest.err conftest.$ac_objext \
18228 conftest$ac_exeext
18229 if ${ac_cv_search_gethostbyname+:} false; then :
18230 break
18232 done
18233 if ${ac_cv_search_gethostbyname+:} false; then :
18235 else
18236 ac_cv_search_gethostbyname=no
18238 rm conftest.$ac_ext
18239 LIBS=$ac_func_search_save_LIBS
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18242 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18243 ac_res=$ac_cv_search_gethostbyname
18244 if test "$ac_res" != no; then :
18245 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18251 $as_echo_n "checking for library containing connect... " >&6; }
18252 if ${ac_cv_search_connect+:} false; then :
18253 $as_echo_n "(cached) " >&6
18254 else
18255 ac_func_search_save_LIBS=$LIBS
18256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h. */
18259 /* Override any GCC internal prototype to avoid an error.
18260 Use char because int might match the return type of a GCC
18261 builtin and then its argument prototype would still apply. */
18262 #ifdef __cplusplus
18263 extern "C"
18264 #endif
18265 char connect ();
18267 main ()
18269 return connect ();
18271 return 0;
18273 _ACEOF
18274 for ac_lib in '' socket; do
18275 if test -z "$ac_lib"; then
18276 ac_res="none required"
18277 else
18278 ac_res=-l$ac_lib
18279 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18281 if ac_fn_c_try_link "$LINENO"; then :
18282 ac_cv_search_connect=$ac_res
18284 rm -f core conftest.err conftest.$ac_objext \
18285 conftest$ac_exeext
18286 if ${ac_cv_search_connect+:} false; then :
18287 break
18289 done
18290 if ${ac_cv_search_connect+:} false; then :
18292 else
18293 ac_cv_search_connect=no
18295 rm conftest.$ac_ext
18296 LIBS=$ac_func_search_save_LIBS
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18299 $as_echo "$ac_cv_search_connect" >&6; }
18300 ac_res=$ac_cv_search_connect
18301 if test "$ac_res" != no; then :
18302 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18308 $as_echo_n "checking for library containing inet_aton... " >&6; }
18309 if ${ac_cv_search_inet_aton+:} false; then :
18310 $as_echo_n "(cached) " >&6
18311 else
18312 ac_func_search_save_LIBS=$LIBS
18313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18314 /* end confdefs.h. */
18316 /* Override any GCC internal prototype to avoid an error.
18317 Use char because int might match the return type of a GCC
18318 builtin and then its argument prototype would still apply. */
18319 #ifdef __cplusplus
18320 extern "C"
18321 #endif
18322 char inet_aton ();
18324 main ()
18326 return inet_aton ();
18328 return 0;
18330 _ACEOF
18331 for ac_lib in '' resolv; do
18332 if test -z "$ac_lib"; then
18333 ac_res="none required"
18334 else
18335 ac_res=-l$ac_lib
18336 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18338 if ac_fn_c_try_link "$LINENO"; then :
18339 ac_cv_search_inet_aton=$ac_res
18341 rm -f core conftest.err conftest.$ac_objext \
18342 conftest$ac_exeext
18343 if ${ac_cv_search_inet_aton+:} false; then :
18344 break
18346 done
18347 if ${ac_cv_search_inet_aton+:} false; then :
18349 else
18350 ac_cv_search_inet_aton=no
18352 rm conftest.$ac_ext
18353 LIBS=$ac_func_search_save_LIBS
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18356 $as_echo "$ac_cv_search_inet_aton" >&6; }
18357 ac_res=$ac_cv_search_inet_aton
18358 if test "$ac_res" != no; then :
18359 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18364 for ac_func in \
18365 getaddrinfo \
18366 getnameinfo \
18367 getservbyport \
18369 do :
18370 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18371 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18372 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18373 cat >>confdefs.h <<_ACEOF
18374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18375 _ACEOF
18378 done
18381 case $host_os in
18382 darwin*|macosx*) ;;
18383 *) ac_save_LIBS=$LIBS
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18385 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18386 if ${ac_cv_search_clock_gettime+:} false; then :
18387 $as_echo_n "(cached) " >&6
18388 else
18389 ac_func_search_save_LIBS=$LIBS
18390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18393 /* Override any GCC internal prototype to avoid an error.
18394 Use char because int might match the return type of a GCC
18395 builtin and then its argument prototype would still apply. */
18396 #ifdef __cplusplus
18397 extern "C"
18398 #endif
18399 char clock_gettime ();
18401 main ()
18403 return clock_gettime ();
18405 return 0;
18407 _ACEOF
18408 for ac_lib in '' rt; do
18409 if test -z "$ac_lib"; then
18410 ac_res="none required"
18411 else
18412 ac_res=-l$ac_lib
18413 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18415 if ac_fn_c_try_link "$LINENO"; then :
18416 ac_cv_search_clock_gettime=$ac_res
18418 rm -f core conftest.err conftest.$ac_objext \
18419 conftest$ac_exeext
18420 if ${ac_cv_search_clock_gettime+:} false; then :
18421 break
18423 done
18424 if ${ac_cv_search_clock_gettime+:} false; then :
18426 else
18427 ac_cv_search_clock_gettime=no
18429 rm conftest.$ac_ext
18430 LIBS=$ac_func_search_save_LIBS
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18433 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18434 ac_res=$ac_cv_search_clock_gettime
18435 if test "$ac_res" != no; then :
18436 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18438 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18440 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18444 LIBS=$ac_save_LIBS
18446 esac
18448 if test "x$with_ldap" != "xno"
18449 then
18450 if ${LDAP_CFLAGS:+false} :; then :
18451 if ${PKG_CONFIG+:} false; then :
18452 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18456 if ${LDAP_LIBS:+false} :; then :
18457 if ${PKG_CONFIG+:} false; then :
18458 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18462 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18463 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18464 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18465 ac_save_CPPFLAGS=$CPPFLAGS
18466 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18467 for ac_header in ldap.h lber.h
18468 do :
18469 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18470 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18471 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18472 cat >>confdefs.h <<_ACEOF
18473 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18474 _ACEOF
18478 done
18480 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18481 then
18482 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18484 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18486 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18487 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18488 $as_echo_n "(cached) " >&6
18489 else
18490 ac_check_lib_save_LIBS=$LIBS
18491 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18493 /* end confdefs.h. */
18495 /* Override any GCC internal prototype to avoid an error.
18496 Use char because int might match the return type of a GCC
18497 builtin and then its argument prototype would still apply. */
18498 #ifdef __cplusplus
18499 extern "C"
18500 #endif
18501 char ldap_initialize ();
18503 main ()
18505 return ldap_initialize ();
18507 return 0;
18509 _ACEOF
18510 if ac_fn_c_try_link "$LINENO"; then :
18511 ac_cv_lib_ldap_r_ldap_initialize=yes
18512 else
18513 ac_cv_lib_ldap_r_ldap_initialize=no
18515 rm -f core conftest.err conftest.$ac_objext \
18516 conftest$ac_exeext conftest.$ac_ext
18517 LIBS=$ac_check_lib_save_LIBS
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18520 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18521 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18523 $as_echo_n "checking for ber_init in -llber... " >&6; }
18524 if ${ac_cv_lib_lber_ber_init+:} false; then :
18525 $as_echo_n "(cached) " >&6
18526 else
18527 ac_check_lib_save_LIBS=$LIBS
18528 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18530 /* end confdefs.h. */
18532 /* Override any GCC internal prototype to avoid an error.
18533 Use char because int might match the return type of a GCC
18534 builtin and then its argument prototype would still apply. */
18535 #ifdef __cplusplus
18536 extern "C"
18537 #endif
18538 char ber_init ();
18540 main ()
18542 return ber_init ();
18544 return 0;
18546 _ACEOF
18547 if ac_fn_c_try_link "$LINENO"; then :
18548 ac_cv_lib_lber_ber_init=yes
18549 else
18550 ac_cv_lib_lber_ber_init=no
18552 rm -f core conftest.err conftest.$ac_objext \
18553 conftest$ac_exeext conftest.$ac_ext
18554 LIBS=$ac_check_lib_save_LIBS
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18557 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18558 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18560 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18562 else
18563 LDAP_LIBS=""
18566 else
18567 LDAP_LIBS=""
18570 else
18571 LDAP_LIBS=""
18574 ac_wine_check_funcs_save_LIBS="$LIBS"
18575 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18576 for ac_func in \
18577 ldap_count_references \
18578 ldap_first_reference \
18579 ldap_next_reference \
18580 ldap_parse_reference \
18581 ldap_parse_sort_control \
18582 ldap_parse_sortresponse_control \
18583 ldap_parse_vlv_control \
18584 ldap_parse_vlvresponse_control
18585 do :
18586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18588 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18589 cat >>confdefs.h <<_ACEOF
18590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18591 _ACEOF
18594 done
18596 LIBS="$ac_wine_check_funcs_save_LIBS"
18597 else
18598 LDAP_LIBS=""
18600 CPPFLAGS=$ac_save_CPPFLAGS
18603 if test "x$LDAP_LIBS" = "x"; then :
18604 case "x$with_ldap" in
18605 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18606 xno) ;;
18607 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18608 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18609 esac
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18614 $as_echo_n "checking for sched_setaffinity... " >&6; }
18615 if ${wine_cv_have_sched_setaffinity+:} false; then :
18616 $as_echo_n "(cached) " >&6
18617 else
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620 #define _GNU_SOURCE
18621 #include <sched.h>
18623 main ()
18625 sched_setaffinity(0, 0, 0);
18627 return 0;
18629 _ACEOF
18630 if ac_fn_c_try_link "$LINENO"; then :
18631 wine_cv_have_sched_setaffinity=yes
18632 else
18633 wine_cv_have_sched_setaffinity=no
18635 rm -f core conftest.err conftest.$ac_objext \
18636 conftest$ac_exeext conftest.$ac_ext
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18639 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18640 if test "$wine_cv_have_sched_setaffinity" = "yes"
18641 then
18643 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18648 $as_echo_n "checking for fallocate... " >&6; }
18649 if ${wine_cv_have_fallocate+:} false; then :
18650 $as_echo_n "(cached) " >&6
18651 else
18652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18653 /* end confdefs.h. */
18654 #define _GNU_SOURCE
18655 #include <fcntl.h>
18657 main ()
18659 fallocate(-1, 0, 0, 0);
18661 return 0;
18663 _ACEOF
18664 if ac_fn_c_try_link "$LINENO"; then :
18665 wine_cv_have_fallocate=yes
18666 else
18667 wine_cv_have_fallocate=no
18669 rm -f core conftest.err conftest.$ac_objext \
18670 conftest$ac_exeext conftest.$ac_ext
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18673 $as_echo "$wine_cv_have_fallocate" >&6; }
18674 if test "$wine_cv_have_fallocate" = "yes"
18675 then
18677 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18683 $as_echo_n "checking for inline... " >&6; }
18684 if ${ac_cv_c_inline+:} false; then :
18685 $as_echo_n "(cached) " >&6
18686 else
18687 ac_cv_c_inline=no
18688 for ac_kw in inline __inline__ __inline; do
18689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18690 /* end confdefs.h. */
18691 #ifndef __cplusplus
18692 typedef int foo_t;
18693 static $ac_kw foo_t static_foo () {return 0; }
18694 $ac_kw foo_t foo () {return 0; }
18695 #endif
18697 _ACEOF
18698 if ac_fn_c_try_compile "$LINENO"; then :
18699 ac_cv_c_inline=$ac_kw
18701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18702 test "$ac_cv_c_inline" != no && break
18703 done
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18707 $as_echo "$ac_cv_c_inline" >&6; }
18709 case $ac_cv_c_inline in
18710 inline | yes) ;;
18712 case $ac_cv_c_inline in
18713 no) ac_val=;;
18714 *) ac_val=$ac_cv_c_inline;;
18715 esac
18716 cat >>confdefs.h <<_ACEOF
18717 #ifndef __cplusplus
18718 #define inline $ac_val
18719 #endif
18720 _ACEOF
18722 esac
18724 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18725 #include <signal.h>
18727 if test "x$ac_cv_type_sigset_t" = xyes; then :
18729 cat >>confdefs.h <<_ACEOF
18730 #define HAVE_SIGSET_T 1
18731 _ACEOF
18736 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18738 if test "x$ac_cv_type_request_sense" = xyes; then :
18740 cat >>confdefs.h <<_ACEOF
18741 #define HAVE_REQUEST_SENSE 1
18742 _ACEOF
18748 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18749 #ifdef HAVE_SYS_SOCKET_H
18750 #include <sys/socket.h>
18751 #endif
18752 #ifdef HAVE_SYS_SOCKETVAR_H
18753 #include <sys/socketvar.h>
18754 #endif
18755 #ifdef HAVE_NET_ROUTE_H
18756 #include <net/route.h>
18757 #endif
18758 #ifdef HAVE_NETINET_IN_H
18759 #include <netinet/in.h>
18760 #endif
18761 #ifdef HAVE_NETINET_IN_SYSTM_H
18762 #include <netinet/in_systm.h>
18763 #endif
18764 #ifdef HAVE_NETINET_IP_H
18765 #include <netinet/ip.h>
18766 #endif
18767 #ifdef HAVE_NETINET_IN_PCB_H
18768 #include <netinet/in_pcb.h>
18769 #endif
18771 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18773 cat >>confdefs.h <<_ACEOF
18774 #define HAVE_STRUCT_XINPGEN 1
18775 _ACEOF
18781 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18782 #include <linux/input.h>
18783 #endif
18785 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18787 cat >>confdefs.h <<_ACEOF
18788 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18789 _ACEOF
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18796 $as_echo_n "checking for if_nameindex... " >&6; }
18797 if ${wine_cv_have_if_nameindex+:} false; then :
18798 $as_echo_n "(cached) " >&6
18799 else
18800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18801 /* end confdefs.h. */
18802 #ifdef HAVE_SYS_TYPES_H
18803 #include <sys/types.h>
18804 #endif
18805 #ifdef HAVE_SYS_SOCKET_H
18806 #include <sys/socket.h>
18807 #endif
18808 #ifdef HAVE_NET_IF_H
18809 # include <net/if.h>
18810 #endif
18812 main ()
18814 struct if_nameindex *p = if_nameindex(); return p->if_index;
18816 return 0;
18818 _ACEOF
18819 if ac_fn_c_try_link "$LINENO"; then :
18820 wine_cv_have_if_nameindex=yes
18821 else
18822 wine_cv_have_if_nameindex=no
18824 rm -f core conftest.err conftest.$ac_objext \
18825 conftest$ac_exeext conftest.$ac_ext
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18828 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18829 if test "$wine_cv_have_if_nameindex" = "yes"
18830 then
18832 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18837 $as_echo_n "checking for sigaddset... " >&6; }
18838 if ${wine_cv_have_sigaddset+:} false; then :
18839 $as_echo_n "(cached) " >&6
18840 else
18841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18843 #include <signal.h>
18845 main ()
18847 sigset_t set; sigaddset(&set,SIGTERM);
18849 return 0;
18851 _ACEOF
18852 if ac_fn_c_try_link "$LINENO"; then :
18853 wine_cv_have_sigaddset=yes
18854 else
18855 wine_cv_have_sigaddset=no
18857 rm -f core conftest.err conftest.$ac_objext \
18858 conftest$ac_exeext conftest.$ac_ext
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18861 $as_echo "$wine_cv_have_sigaddset" >&6; }
18862 if test "$wine_cv_have_sigaddset" = "yes"
18863 then
18865 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18871 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18872 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18873 $as_echo_n "(cached) " >&6
18874 else
18875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18876 /* end confdefs.h. */
18877 #include <netdb.h>
18879 main ()
18882 char *name=0;
18883 struct hostent he;
18884 struct hostent *result;
18885 char *buf=0;
18886 int bufsize=0;
18887 int errnr;
18888 char *addr=0;
18889 int addrlen=0;
18890 int addrtype=0;
18891 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18892 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18895 return 0;
18897 _ACEOF
18898 if ac_fn_c_try_link "$LINENO"; then :
18899 wine_cv_linux_gethostbyname_r_6=yes
18900 else
18901 wine_cv_linux_gethostbyname_r_6=no
18904 rm -f core conftest.err conftest.$ac_objext \
18905 conftest$ac_exeext conftest.$ac_ext
18908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18909 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18910 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18911 then
18913 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18917 if test "$ac_cv_header_linux_joystick_h" = "yes"
18918 then
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18920 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18921 if ${wine_cv_linux_joystick_22_api+:} false; then :
18922 $as_echo_n "(cached) " >&6
18923 else
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h. */
18927 #include <sys/ioctl.h>
18928 #include <sys/types.h>
18929 #include <linux/joystick.h>
18931 struct js_event blub;
18932 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18933 #error "no 2.2 header"
18934 #endif
18937 main ()
18939 /*empty*/
18941 return 0;
18943 _ACEOF
18944 if ac_fn_c_try_compile "$LINENO"; then :
18945 wine_cv_linux_joystick_22_api=yes
18946 else
18947 wine_cv_linux_joystick_22_api=no
18949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18953 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18954 if test "$wine_cv_linux_joystick_22_api" = "yes"
18955 then
18957 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18962 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18963 #ifdef HAVE_SYS_SOCKET_H
18964 # include <sys/socket.h>
18965 #endif
18966 #ifdef HAVE_SYS_UN_H
18967 # include <sys/un.h>
18968 #endif
18970 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18972 cat >>confdefs.h <<_ACEOF
18973 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18974 _ACEOF
18978 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18979 #ifdef HAVE_SYS_SOCKET_H
18980 # include <sys/socket.h>
18981 #endif
18982 #ifdef HAVE_SYS_UN_H
18983 # include <sys/un.h>
18984 #endif
18986 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18988 cat >>confdefs.h <<_ACEOF
18989 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18990 _ACEOF
18994 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18995 #ifdef HAVE_SYS_SOCKET_H
18996 # include <sys/socket.h>
18997 #endif
18998 #ifdef HAVE_SYS_UN_H
18999 # include <sys/un.h>
19000 #endif
19002 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19004 cat >>confdefs.h <<_ACEOF
19005 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19006 _ACEOF
19012 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19013 #ifdef HAVE_SCSI_SG_H
19014 #include <scsi/sg.h>
19015 #endif
19017 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19019 cat >>confdefs.h <<_ACEOF
19020 #define HAVE_SCSIREQ_T_CMD 1
19021 _ACEOF
19025 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>
19026 #ifdef HAVE_SCSI_SG_H
19027 #include <scsi/sg.h>
19028 #endif
19030 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19032 cat >>confdefs.h <<_ACEOF
19033 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19034 _ACEOF
19040 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19042 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19044 cat >>confdefs.h <<_ACEOF
19045 #define HAVE_SIGINFO_T_SI_FD 1
19046 _ACEOF
19052 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19053 #ifdef HAVE_SYS_MTIO_H
19054 #include <sys/mtio.h>
19055 #endif
19057 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19059 cat >>confdefs.h <<_ACEOF
19060 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19061 _ACEOF
19065 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19066 #ifdef HAVE_SYS_MTIO_H
19067 #include <sys/mtio.h>
19068 #endif
19070 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19072 cat >>confdefs.h <<_ACEOF
19073 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19074 _ACEOF
19078 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19079 #ifdef HAVE_SYS_MTIO_H
19080 #include <sys/mtio.h>
19081 #endif
19083 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19085 cat >>confdefs.h <<_ACEOF
19086 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19087 _ACEOF
19093 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19094 #include <getopt.h>
19095 #endif
19097 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19099 cat >>confdefs.h <<_ACEOF
19100 #define HAVE_STRUCT_OPTION_NAME 1
19101 _ACEOF
19107 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19108 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19110 cat >>confdefs.h <<_ACEOF
19111 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19112 _ACEOF
19116 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19117 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19119 cat >>confdefs.h <<_ACEOF
19120 #define HAVE_STRUCT_STAT_ST_MTIM 1
19121 _ACEOF
19125 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19126 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19128 cat >>confdefs.h <<_ACEOF
19129 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19130 _ACEOF
19134 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19135 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19137 cat >>confdefs.h <<_ACEOF
19138 #define HAVE_STRUCT_STAT_ST_CTIM 1
19139 _ACEOF
19143 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19144 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19146 cat >>confdefs.h <<_ACEOF
19147 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19148 _ACEOF
19152 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19153 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19155 cat >>confdefs.h <<_ACEOF
19156 #define HAVE_STRUCT_STAT_ST_ATIM 1
19157 _ACEOF
19161 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19162 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19164 cat >>confdefs.h <<_ACEOF
19165 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19166 _ACEOF
19170 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19171 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19173 cat >>confdefs.h <<_ACEOF
19174 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19175 _ACEOF
19179 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19180 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19182 cat >>confdefs.h <<_ACEOF
19183 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19184 _ACEOF
19188 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19189 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19191 cat >>confdefs.h <<_ACEOF
19192 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19193 _ACEOF
19197 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19198 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19200 cat >>confdefs.h <<_ACEOF
19201 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19202 _ACEOF
19206 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19207 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19209 cat >>confdefs.h <<_ACEOF
19210 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19211 _ACEOF
19217 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
19218 #include <sys/types.h>
19219 #endif
19220 #ifdef HAVE_NETINET_IN_H
19221 #include <netinet/in.h>
19222 #endif
19224 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19226 cat >>confdefs.h <<_ACEOF
19227 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19228 _ACEOF
19234 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19235 #include <sys/types.h>
19236 #endif
19237 #ifdef HAVE_NETINET_IN_H
19238 #include <netinet/in.h>
19239 #endif
19240 #ifdef HAVE_RESOLV_H
19241 #include <resolv.h>
19242 #endif
19244 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19246 cat >>confdefs.h <<_ACEOF
19247 #define HAVE_STRUCT___RES_STATE 1
19248 _ACEOF
19254 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
19255 #include <resolv.h>
19256 #endif
19258 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19260 cat >>confdefs.h <<_ACEOF
19261 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19262 _ACEOF
19268 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19269 #include <sys/types.h>
19270 #endif
19271 #ifdef HAVE_NETINET_IN_H
19272 # include <netinet/in.h>
19273 #endif
19274 #ifdef HAVE_ARPA_NAMESER_H
19275 # include <arpa/nameser.h>
19276 #endif
19278 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19280 cat >>confdefs.h <<_ACEOF
19281 #define HAVE_NS_MSG__MSG_PTR 1
19282 _ACEOF
19288 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19289 #include <sys/types.h>
19290 #endif
19291 #ifdef HAVE_NETINET_IN_H
19292 #include <netinet/in.h>
19293 #endif
19294 #ifdef HAVE_NETINET_IP_H
19295 #include <netinet/ip.h>
19296 #endif
19297 #ifdef HAVE_NETINET_IP_ICMP_H
19298 #include <netinet/ip_icmp.h>
19299 #endif
19300 #ifdef HAVE_NETINET_ICMP_VAR_H
19301 #include <netinet/icmp_var.h>
19302 #endif
19304 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19306 cat >>confdefs.h <<_ACEOF
19307 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19308 _ACEOF
19314 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19315 #include <sys/types.h>
19316 #endif
19317 #ifdef HAVE_ALIAS_H
19318 #include <alias.h>
19319 #endif
19320 #ifdef HAVE_SYS_SOCKET_H
19321 #include <sys/socket.h>
19322 #endif
19323 #ifdef HAVE_SYS_SOCKETVAR_H
19324 #include <sys/socketvar.h>
19325 #endif
19326 #ifdef HAVE_SYS_TIMEOUT_H
19327 #include <sys/timeout.h>
19328 #endif
19329 #ifdef HAVE_NETINET_IN_H
19330 #include <netinet/in.h>
19331 #endif
19332 #ifdef HAVE_NETINET_IN_SYSTM_H
19333 #include <netinet/in_systm.h>
19334 #endif
19335 #ifdef HAVE_NETINET_IP_H
19336 #include <netinet/ip.h>
19337 #endif
19338 #ifdef HAVE_NETINET_IP_VAR_H
19339 #include <netinet/ip_var.h>
19340 #endif
19341 #ifdef HAVE_NETINET_IP_ICMP_H
19342 #include <netinet/ip_icmp.h>
19343 #endif
19344 #ifdef HAVE_NETINET_ICMP_VAR_H
19345 #include <netinet/icmp_var.h>
19346 #endif
19348 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19350 cat >>confdefs.h <<_ACEOF
19351 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19352 _ACEOF
19358 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19359 #include <sys/types.h>
19360 #endif
19361 #ifdef HAVE_SYS_SOCKETVAR_H
19362 #include <sys/socketvar.h>
19363 #endif
19364 #ifdef HAVE_NETINET_IN_H
19365 #include <netinet/in.h>
19366 #endif
19367 #ifdef HAVE_NETINET_IP_VAR_H
19368 #include <netinet/ip_var.h>
19369 #endif
19371 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19373 cat >>confdefs.h <<_ACEOF
19374 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19375 _ACEOF
19381 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
19382 #include <netinet/ip_var.h>
19383 #endif
19385 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19387 cat >>confdefs.h <<_ACEOF
19388 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19389 _ACEOF
19395 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19396 #include <sys/types.h>
19397 #endif
19398 #ifdef HAVE_SYS_SOCKETVAR_H
19399 #include <sys/socketvar.h>
19400 #endif
19401 #ifdef HAVE_NETINET_IN_H
19402 #include <netinet/in.h>
19403 #endif
19404 #ifdef HAVE_NETINET_TCP_H
19405 #include <netinet/tcp.h>
19406 #endif
19407 #ifdef HAVE_NETINET_TCP_VAR_H
19408 #include <netinet/tcp_var.h>
19409 #endif
19411 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19413 cat >>confdefs.h <<_ACEOF
19414 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19415 _ACEOF
19421 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
19422 #include <netinet/tcp_var.h>
19423 #endif
19425 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19427 cat >>confdefs.h <<_ACEOF
19428 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19429 _ACEOF
19435 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19436 #include <sys/types.h>
19437 #endif
19438 #ifdef HAVE_NETINET_IN_H
19439 #include <netinet/in.h>
19440 #endif
19441 #ifdef HAVE_NETINET_IP_VAR_H
19442 #include <netinet/ip_var.h>
19443 #endif
19444 #ifdef HAVE_NETINET_UDP_H
19445 #include <netinet/udp.h>
19446 #endif
19447 #ifdef HAVE_NETINET_UDP_VAR_H
19448 #include <netinet/udp_var.h>
19449 #endif
19451 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19453 cat >>confdefs.h <<_ACEOF
19454 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19455 _ACEOF
19461 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19462 #include <sys/types.h>
19463 #endif
19464 #ifdef HAVE_NET_IF_H
19465 # include <net/if.h>
19466 #endif
19468 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19470 cat >>confdefs.h <<_ACEOF
19471 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19472 _ACEOF
19478 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19479 # include <sys/sysinfo.h>
19480 #endif
19482 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19484 cat >>confdefs.h <<_ACEOF
19485 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19486 _ACEOF
19490 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19491 # include <sys/sysinfo.h>
19492 #endif
19494 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19496 cat >>confdefs.h <<_ACEOF
19497 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19498 _ACEOF
19504 ac_save_LIBS="$LIBS"
19505 LIBS="$LIBS -lm"
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19507 $as_echo_n "checking for isfinite... " >&6; }
19508 if ${ac_cv_have_isfinite+:} false; then :
19509 $as_echo_n "(cached) " >&6
19510 else
19511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19513 #define _GNU_SOURCE
19514 #include <math.h>
19516 main ()
19518 float f = 0.0; return isfinite(f)
19520 return 0;
19522 _ACEOF
19523 if ac_fn_c_try_link "$LINENO"; then :
19524 ac_cv_have_isfinite="yes"
19525 else
19526 ac_cv_have_isfinite="no"
19528 rm -f core conftest.err conftest.$ac_objext \
19529 conftest$ac_exeext conftest.$ac_ext
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19532 $as_echo "$ac_cv_have_isfinite" >&6; }
19533 if test "$ac_cv_have_isfinite" = "yes"
19534 then
19536 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19541 $as_echo_n "checking for isinf... " >&6; }
19542 if ${ac_cv_have_isinf+:} false; then :
19543 $as_echo_n "(cached) " >&6
19544 else
19545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19546 /* end confdefs.h. */
19547 #include <math.h>
19549 main ()
19551 float f = 0.0; return isinf(f)
19553 return 0;
19555 _ACEOF
19556 if ac_fn_c_try_link "$LINENO"; then :
19557 ac_cv_have_isinf="yes"
19558 else
19559 ac_cv_have_isinf="no"
19561 rm -f core conftest.err conftest.$ac_objext \
19562 conftest$ac_exeext conftest.$ac_ext
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19565 $as_echo "$ac_cv_have_isinf" >&6; }
19566 if test "$ac_cv_have_isinf" = "yes"
19567 then
19569 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19574 $as_echo_n "checking for isnan... " >&6; }
19575 if ${ac_cv_have_isnan+:} false; then :
19576 $as_echo_n "(cached) " >&6
19577 else
19578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19579 /* end confdefs.h. */
19580 #include <math.h>
19582 main ()
19584 float f = 0.0; return isnan(f)
19586 return 0;
19588 _ACEOF
19589 if ac_fn_c_try_link "$LINENO"; then :
19590 ac_cv_have_isnan="yes"
19591 else
19592 ac_cv_have_isnan="no"
19594 rm -f core conftest.err conftest.$ac_objext \
19595 conftest$ac_exeext conftest.$ac_ext
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19598 $as_echo "$ac_cv_have_isnan" >&6; }
19599 if test "$ac_cv_have_isnan" = "yes"
19600 then
19602 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19606 LIBS="$ac_save_LIBS"
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19609 $as_echo_n "checking for __builtin_popcount... " >&6; }
19610 if ${ac_cv_have___builtin_popcount+:} false; then :
19611 $as_echo_n "(cached) " >&6
19612 else
19613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19614 /* end confdefs.h. */
19617 main ()
19619 return __builtin_popcount(1)
19621 return 0;
19623 _ACEOF
19624 if ac_fn_c_try_link "$LINENO"; then :
19625 ac_cv_have___builtin_popcount="yes"
19626 else
19627 ac_cv_have___builtin_popcount="no"
19629 rm -f core conftest.err conftest.$ac_objext \
19630 conftest$ac_exeext conftest.$ac_ext
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19633 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19634 if test "$ac_cv_have___builtin_popcount" = "yes"
19635 then
19637 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19642 $as_echo_n "checking for __clear_cache... " >&6; }
19643 if ${ac_cv_have___clear_cache+:} false; then :
19644 $as_echo_n "(cached) " >&6
19645 else
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19650 main ()
19652 __clear_cache((void*)0, (void*)0); return 0;
19654 return 0;
19656 _ACEOF
19657 if ac_fn_c_try_link "$LINENO"; then :
19658 ac_cv_have___clear_cache="yes"
19659 else
19660 ac_cv_have___clear_cache="no"
19662 rm -f core conftest.err conftest.$ac_objext \
19663 conftest$ac_exeext conftest.$ac_ext
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19666 $as_echo "$ac_cv_have___clear_cache" >&6; }
19667 if test "$ac_cv_have___clear_cache" = "yes"
19668 then
19670 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19675 case $host_cpu in
19676 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19677 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19678 if ${ac_cv_cpp_def___i386__+:} false; then :
19679 $as_echo_n "(cached) " >&6
19680 else
19681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19682 /* end confdefs.h. */
19683 #ifndef __i386__
19685 #endif
19686 _ACEOF
19687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19688 $EGREP "yes" >/dev/null 2>&1; then :
19689 ac_cv_cpp_def___i386__=yes
19690 else
19691 ac_cv_cpp_def___i386__=no
19693 rm -f conftest*
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19697 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19698 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19699 CFLAGS="$CFLAGS -D__i386__"
19700 LINTFLAGS="$LINTFLAGS -D__i386__"
19701 fi ;;
19702 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19703 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19704 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19705 $as_echo_n "(cached) " >&6
19706 else
19707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19708 /* end confdefs.h. */
19709 #ifndef __x86_64__
19711 #endif
19712 _ACEOF
19713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19714 $EGREP "yes" >/dev/null 2>&1; then :
19715 ac_cv_cpp_def___x86_64__=yes
19716 else
19717 ac_cv_cpp_def___x86_64__=no
19719 rm -f conftest*
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19723 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19724 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19725 CFLAGS="$CFLAGS -D__x86_64__"
19726 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19727 fi ;;
19728 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19729 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19730 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19731 $as_echo_n "(cached) " >&6
19732 else
19733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19734 /* end confdefs.h. */
19735 #ifndef __sparc64__
19737 #endif
19738 _ACEOF
19739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19740 $EGREP "yes" >/dev/null 2>&1; then :
19741 ac_cv_cpp_def___sparc64__=yes
19742 else
19743 ac_cv_cpp_def___sparc64__=no
19745 rm -f conftest*
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19749 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19750 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19751 CFLAGS="$CFLAGS -D__sparc64__"
19752 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19753 fi ;;
19754 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19755 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19756 if ${ac_cv_cpp_def___sparc__+:} false; then :
19757 $as_echo_n "(cached) " >&6
19758 else
19759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19760 /* end confdefs.h. */
19761 #ifndef __sparc__
19763 #endif
19764 _ACEOF
19765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19766 $EGREP "yes" >/dev/null 2>&1; then :
19767 ac_cv_cpp_def___sparc__=yes
19768 else
19769 ac_cv_cpp_def___sparc__=no
19771 rm -f conftest*
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19775 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19776 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19777 CFLAGS="$CFLAGS -D__sparc__"
19778 LINTFLAGS="$LINTFLAGS -D__sparc__"
19779 fi ;;
19780 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19781 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19782 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19783 $as_echo_n "(cached) " >&6
19784 else
19785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19786 /* end confdefs.h. */
19787 #ifndef __powerpc64__
19789 #endif
19790 _ACEOF
19791 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19792 $EGREP "yes" >/dev/null 2>&1; then :
19793 ac_cv_cpp_def___powerpc64__=yes
19794 else
19795 ac_cv_cpp_def___powerpc64__=no
19797 rm -f conftest*
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19801 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19802 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19803 CFLAGS="$CFLAGS -D__powerpc64__"
19804 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19805 fi ;;
19806 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19807 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19808 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19809 $as_echo_n "(cached) " >&6
19810 else
19811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19812 /* end confdefs.h. */
19813 #ifndef __powerpc__
19815 #endif
19816 _ACEOF
19817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19818 $EGREP "yes" >/dev/null 2>&1; then :
19819 ac_cv_cpp_def___powerpc__=yes
19820 else
19821 ac_cv_cpp_def___powerpc__=no
19823 rm -f conftest*
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19827 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19828 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19829 CFLAGS="$CFLAGS -D__powerpc__"
19830 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19831 fi ;;
19832 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19833 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19834 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19835 $as_echo_n "(cached) " >&6
19836 else
19837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19838 /* end confdefs.h. */
19839 #ifndef __aarch64__
19841 #endif
19842 _ACEOF
19843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19844 $EGREP "yes" >/dev/null 2>&1; then :
19845 ac_cv_cpp_def___aarch64__=yes
19846 else
19847 ac_cv_cpp_def___aarch64__=no
19849 rm -f conftest*
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19853 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19854 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19855 CFLAGS="$CFLAGS -D__aarch64__"
19856 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19857 fi ;;
19858 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19859 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19860 if ${ac_cv_cpp_def___arm__+:} false; then :
19861 $as_echo_n "(cached) " >&6
19862 else
19863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19864 /* end confdefs.h. */
19865 #ifndef __arm__
19867 #endif
19868 _ACEOF
19869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19870 $EGREP "yes" >/dev/null 2>&1; then :
19871 ac_cv_cpp_def___arm__=yes
19872 else
19873 ac_cv_cpp_def___arm__=no
19875 rm -f conftest*
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19879 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19880 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19881 CFLAGS="$CFLAGS -D__arm__"
19882 LINTFLAGS="$LINTFLAGS -D__arm__"
19883 fi ;;
19884 esac
19886 case $host_vendor in
19887 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19888 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19889 if ${ac_cv_cpp_def___sun__+:} false; then :
19890 $as_echo_n "(cached) " >&6
19891 else
19892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19893 /* end confdefs.h. */
19894 #ifndef __sun__
19896 #endif
19897 _ACEOF
19898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19899 $EGREP "yes" >/dev/null 2>&1; then :
19900 ac_cv_cpp_def___sun__=yes
19901 else
19902 ac_cv_cpp_def___sun__=no
19904 rm -f conftest*
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19908 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19909 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19910 CFLAGS="$CFLAGS -D__sun__"
19911 LINTFLAGS="$LINTFLAGS -D__sun__"
19912 fi ;;
19913 esac
19919 ac_config_commands="$ac_config_commands include/stamp-h"
19921 $as_echo_n "creating Makefile rules..." >&6
19923 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19924 OPENGL_LIBS = $OPENGL_LIBS
19925 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19926 IOKIT_LIBS = $IOKIT_LIBS
19927 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19928 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19929 CORESERVICES_LIBS = $CORESERVICES_LIBS
19930 APPKIT_LIBS = $APPKIT_LIBS
19931 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19932 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19933 SECURITY_LIBS = $SECURITY_LIBS
19934 COREAUDIO_LIBS = $COREAUDIO_LIBS
19935 OPENAL_LIBS = $OPENAL_LIBS
19936 OPENCL_LIBS = $OPENCL_LIBS
19937 QUICKTIME_LIBS = $QUICKTIME_LIBS
19938 CARBON_LIBS = $CARBON_LIBS
19939 METAL_LIBS = $METAL_LIBS
19940 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19941 PTHREAD_LIBS = $PTHREAD_LIBS
19942 X_CFLAGS = $X_CFLAGS
19943 X_PRE_LIBS = $X_PRE_LIBS
19944 X_LIBS = $X_LIBS
19945 X_EXTRA_LIBS = $X_EXTRA_LIBS
19946 PCAP_LIBS = $PCAP_LIBS
19947 XML2_CFLAGS = $XML2_CFLAGS
19948 XML2_LIBS = $XML2_LIBS
19949 XSLT_CFLAGS = $XSLT_CFLAGS
19950 XSLT_LIBS = $XSLT_LIBS
19951 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19952 INOTIFY_LIBS = $INOTIFY_LIBS
19953 DBUS_CFLAGS = $DBUS_CFLAGS
19954 DBUS_LIBS = $DBUS_LIBS
19955 HAL_CFLAGS = $HAL_CFLAGS
19956 HAL_LIBS = $HAL_LIBS
19957 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19958 GNUTLS_LIBS = $GNUTLS_LIBS
19959 SANE_CFLAGS = $SANE_CFLAGS
19960 SANE_LIBS = $SANE_LIBS
19961 USB_CFLAGS = $USB_CFLAGS
19962 USB_LIBS = $USB_LIBS
19963 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19964 GPHOTO2_LIBS = $GPHOTO2_LIBS
19965 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19966 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19967 RESOLV_LIBS = $RESOLV_LIBS
19968 LCMS2_CFLAGS = $LCMS2_CFLAGS
19969 LCMS2_LIBS = $LCMS2_LIBS
19970 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19971 FREETYPE_LIBS = $FREETYPE_LIBS
19972 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19973 PULSE_CFLAGS = $PULSE_CFLAGS
19974 PULSE_LIBS = $PULSE_LIBS
19975 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19976 GSTREAMER_LIBS = $GSTREAMER_LIBS
19977 ALSA_LIBS = $ALSA_LIBS
19978 OSS4_CFLAGS = $OSS4_CFLAGS
19979 OSS4_LIBS = $OSS4_LIBS
19980 UDEV_CFLAGS = $UDEV_CFLAGS
19981 UDEV_LIBS = $UDEV_LIBS
19982 UNWIND_CFLAGS = $UNWIND_CFLAGS
19983 UNWIND_LIBS = $UNWIND_LIBS
19984 SDL2_CFLAGS = $SDL2_CFLAGS
19985 SDL2_LIBS = $SDL2_LIBS
19986 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19987 FAUDIO_LIBS = $FAUDIO_LIBS
19988 CAPI20_CFLAGS = $CAPI20_CFLAGS
19989 CAPI20_LIBS = $CAPI20_LIBS
19990 CUPS_CFLAGS = $CUPS_CFLAGS
19991 CUPS_LIBS = $CUPS_LIBS
19992 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19993 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19994 KRB5_CFLAGS = $KRB5_CFLAGS
19995 KRB5_LIBS = $KRB5_LIBS
19996 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19997 GSSAPI_LIBS = $GSSAPI_LIBS
19998 JPEG_CFLAGS = $JPEG_CFLAGS
19999 JPEG_LIBS = $JPEG_LIBS
20000 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20001 JXRLIB_LIBS = $JXRLIB_LIBS
20002 PNG_CFLAGS = $PNG_CFLAGS
20003 PNG_LIBS = $PNG_LIBS
20004 TIFF_CFLAGS = $TIFF_CFLAGS
20005 TIFF_LIBS = $TIFF_LIBS
20006 MPG123_CFLAGS = $MPG123_CFLAGS
20007 MPG123_LIBS = $MPG123_LIBS
20008 KSTAT_LIBS = $KSTAT_LIBS
20009 PROCSTAT_LIBS = $PROCSTAT_LIBS
20010 NETAPI_CFLAGS = $NETAPI_CFLAGS
20011 NETAPI_LIBS = $NETAPI_LIBS
20012 VKD3D_CFLAGS = $VKD3D_CFLAGS
20013 VKD3D_LIBS = $VKD3D_LIBS
20014 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20015 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20016 POLL_LIBS = $POLL_LIBS
20017 RT_LIBS = $RT_LIBS
20018 LDAP_CFLAGS = $LDAP_CFLAGS
20019 LDAP_LIBS = $LDAP_LIBS
20023 makedep_flags=""
20024 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20027 wine_fn_append_rule "
20028 # Rules automatically generated by configure
20030 .INIT: Makefile
20031 .MAKEFILEDEPS:
20032 all: Makefile
20033 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20034 @./config.status Make.tmp Makefile
20035 depend: \$(MAKEDEP)
20036 \$(MAKEDEP)$makedep_flags
20037 dummy:
20038 .PHONY: depend dummy"
20040 ac_config_links="$ac_config_links wine:tools/winewrapper"
20041 wine_fn_config_symlink wine
20042 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20043 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20044 wine_fn_config_symlink wine64
20047 wine_fn_config_makefile dlls/acledit enable_acledit
20048 wine_fn_config_makefile dlls/aclui enable_aclui
20049 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20050 wine_fn_config_makefile dlls/activeds enable_activeds
20051 wine_fn_config_makefile dlls/activeds/tests enable_tests
20052 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20053 wine_fn_config_makefile dlls/adsiid enable_adsiid
20054 wine_fn_config_makefile dlls/adsldp enable_adsldp
20055 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20056 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20057 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20058 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20059 wine_fn_config_makefile dlls/advpack enable_advpack
20060 wine_fn_config_makefile dlls/advpack/tests enable_tests
20061 wine_fn_config_makefile dlls/amsi enable_amsi
20062 wine_fn_config_makefile dlls/amstream enable_amstream
20063 wine_fn_config_makefile dlls/amstream/tests enable_tests
20064 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20066 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20067 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20069 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20074 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20083 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20085 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20087 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20089 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20090 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20091 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20093 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20098 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20099 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20101 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20102 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20111 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20116 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20120 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20122 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20123 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20127 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20128 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20136 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20137 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20138 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20139 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20151 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20152 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20153 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20176 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20180 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20183 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20194 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20199 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20200 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20205 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20207 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20226 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20227 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20248 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20259 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20263 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20265 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20267 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20268 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20273 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20275 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20281 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20284 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20286 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20289 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20294 wine_fn_config_makefile dlls/apphelp enable_apphelp
20295 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20296 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20297 wine_fn_config_makefile dlls/atl enable_atl
20298 wine_fn_config_makefile dlls/atl/tests enable_tests
20299 wine_fn_config_makefile dlls/atl100 enable_atl100
20300 wine_fn_config_makefile dlls/atl100/tests enable_tests
20301 wine_fn_config_makefile dlls/atl110 enable_atl110
20302 wine_fn_config_makefile dlls/atl80 enable_atl80
20303 wine_fn_config_makefile dlls/atl80/tests enable_tests
20304 wine_fn_config_makefile dlls/atl90 enable_atl90
20305 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20306 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20307 wine_fn_config_makefile dlls/atmlib enable_atmlib
20308 wine_fn_config_makefile dlls/authz enable_authz
20309 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20310 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20311 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20312 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20313 wine_fn_config_makefile dlls/avrt enable_avrt
20314 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20315 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20316 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20317 wine_fn_config_makefile dlls/browseui enable_browseui
20318 wine_fn_config_makefile dlls/browseui/tests enable_tests
20319 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20320 wine_fn_config_makefile dlls/cabinet enable_cabinet
20321 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20322 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20323 wine_fn_config_makefile dlls/cards enable_cards
20324 wine_fn_config_makefile dlls/cdosys enable_cdosys
20325 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20326 wine_fn_config_makefile dlls/clusapi enable_clusapi
20327 wine_fn_config_makefile dlls/combase enable_combase
20328 wine_fn_config_makefile dlls/combase/tests enable_tests
20329 wine_fn_config_makefile dlls/comcat enable_comcat
20330 wine_fn_config_makefile dlls/comcat/tests enable_tests
20331 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20332 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20333 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20334 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20335 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20336 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20337 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20338 wine_fn_config_makefile dlls/compstui enable_compstui
20339 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20340 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20341 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20342 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20343 wine_fn_config_makefile dlls/connect enable_connect
20344 wine_fn_config_makefile dlls/credui enable_credui
20345 wine_fn_config_makefile dlls/credui/tests enable_tests
20346 wine_fn_config_makefile dlls/crtdll enable_crtdll
20347 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20348 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20349 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20350 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20351 wine_fn_config_makefile dlls/cryptext enable_cryptext
20352 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20353 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20354 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20355 wine_fn_config_makefile dlls/cryptui enable_cryptui
20356 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20357 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20358 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20359 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20360 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20361 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20362 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20363 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20364 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20365 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20366 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20367 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20368 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20369 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20370 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20371 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20372 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20373 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20374 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20375 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20376 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20377 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20378 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20379 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20380 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20381 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20382 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20383 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20384 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20385 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20386 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20387 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20388 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20389 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20390 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20391 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20392 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20393 wine_fn_config_makefile dlls/d3dim enable_d3dim
20394 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20395 wine_fn_config_makefile dlls/d3drm enable_d3drm
20396 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20397 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20398 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20399 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20400 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20401 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20402 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20403 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20404 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20405 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20406 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20407 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20408 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20409 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20410 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20411 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20412 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20413 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20414 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20415 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20416 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20417 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20418 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20419 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20420 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20421 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20422 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20423 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20424 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20425 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20426 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20427 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20428 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20429 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20430 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20431 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20432 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20433 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20434 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20435 wine_fn_config_makefile dlls/davclnt enable_davclnt
20436 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20437 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20438 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20439 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20440 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20441 wine_fn_config_makefile dlls/dcomp enable_dcomp
20442 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20443 wine_fn_config_makefile dlls/ddraw enable_ddraw
20444 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20445 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20446 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20447 wine_fn_config_makefile dlls/devenum enable_devenum
20448 wine_fn_config_makefile dlls/devenum/tests enable_tests
20449 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20450 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20451 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20452 wine_fn_config_makefile dlls/difxapi enable_difxapi
20453 wine_fn_config_makefile dlls/dinput enable_dinput
20454 wine_fn_config_makefile dlls/dinput/tests enable_tests
20455 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20456 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20457 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20458 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20459 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20460 wine_fn_config_makefile dlls/dispex enable_dispex
20461 wine_fn_config_makefile dlls/dispex/tests enable_tests
20462 wine_fn_config_makefile dlls/display.drv16 enable_win16
20463 wine_fn_config_makefile dlls/dmband enable_dmband
20464 wine_fn_config_makefile dlls/dmband/tests enable_tests
20465 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20466 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20467 wine_fn_config_makefile dlls/dmime enable_dmime
20468 wine_fn_config_makefile dlls/dmime/tests enable_tests
20469 wine_fn_config_makefile dlls/dmloader enable_dmloader
20470 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20471 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20472 wine_fn_config_makefile dlls/dmscript enable_dmscript
20473 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20474 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20475 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20476 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20477 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20478 wine_fn_config_makefile dlls/dmusic enable_dmusic
20479 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20480 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20481 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20482 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20483 wine_fn_config_makefile dlls/dplay enable_dplay
20484 wine_fn_config_makefile dlls/dplayx enable_dplayx
20485 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20486 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20487 wine_fn_config_makefile dlls/dpnet enable_dpnet
20488 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20489 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20490 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20491 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20492 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20493 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20494 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20495 wine_fn_config_makefile dlls/drmclien enable_drmclien
20496 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20497 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20498 wine_fn_config_makefile dlls/dsound enable_dsound
20499 wine_fn_config_makefile dlls/dsound/tests enable_tests
20500 wine_fn_config_makefile dlls/dsquery enable_dsquery
20501 wine_fn_config_makefile dlls/dssenh enable_dssenh
20502 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20503 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20504 wine_fn_config_makefile dlls/dswave enable_dswave
20505 wine_fn_config_makefile dlls/dswave/tests enable_tests
20506 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20507 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20508 wine_fn_config_makefile dlls/dwrite enable_dwrite
20509 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20510 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20511 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20512 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20513 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20514 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20515 wine_fn_config_makefile dlls/dxgi enable_dxgi
20516 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20517 wine_fn_config_makefile dlls/dxguid enable_dxguid
20518 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20519 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20520 wine_fn_config_makefile dlls/esent enable_esent
20521 wine_fn_config_makefile dlls/evr enable_evr
20522 wine_fn_config_makefile dlls/evr/tests enable_tests
20523 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20524 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20525 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20526 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20527 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20528 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20529 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20530 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20531 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20532 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20533 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20534 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20535 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20536 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20537 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20538 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20539 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20540 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20541 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20542 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20543 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20544 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20545 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20546 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20547 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20548 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20549 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20550 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20551 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20552 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20553 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20554 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20556 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20559 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20562 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20563 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20565 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
20566 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20568 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20573 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20574 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20575 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20576 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20577 wine_fn_config_makefile dlls/faultrep enable_faultrep
20578 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20579 wine_fn_config_makefile dlls/feclient enable_feclient
20580 wine_fn_config_makefile dlls/fltlib enable_fltlib
20581 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20582 wine_fn_config_makefile dlls/fntcache enable_fntcache
20583 wine_fn_config_makefile dlls/fontsub enable_fontsub
20584 wine_fn_config_makefile dlls/fusion enable_fusion
20585 wine_fn_config_makefile dlls/fusion/tests enable_tests
20586 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20587 wine_fn_config_makefile dlls/gameux enable_gameux
20588 wine_fn_config_makefile dlls/gameux/tests enable_tests
20589 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20590 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20591 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20592 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20593 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20594 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20595 wine_fn_config_makefile dlls/glu32 enable_glu32
20596 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20597 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20598 wine_fn_config_makefile dlls/hal enable_hal
20599 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20600 wine_fn_config_makefile dlls/hid enable_hid
20601 wine_fn_config_makefile dlls/hid/tests enable_tests
20602 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20603 wine_fn_config_makefile dlls/hlink enable_hlink
20604 wine_fn_config_makefile dlls/hlink/tests enable_tests
20605 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20606 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20607 wine_fn_config_makefile dlls/http.sys enable_http_sys
20608 wine_fn_config_makefile dlls/httpapi enable_httpapi
20609 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20610 wine_fn_config_makefile dlls/iccvid enable_iccvid
20611 wine_fn_config_makefile dlls/icmp enable_icmp
20612 wine_fn_config_makefile dlls/ieframe enable_ieframe
20613 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20614 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20615 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20616 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20617 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20618 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20619 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20620 wine_fn_config_makefile dlls/imm32 enable_imm32
20621 wine_fn_config_makefile dlls/imm32/tests enable_tests
20622 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20623 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20624 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20625 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20626 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20627 wine_fn_config_makefile dlls/infosoft enable_infosoft
20628 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20629 wine_fn_config_makefile dlls/initpki enable_initpki
20630 wine_fn_config_makefile dlls/inkobj enable_inkobj
20631 wine_fn_config_makefile dlls/inseng enable_inseng
20632 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20633 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20634 wine_fn_config_makefile dlls/iprop enable_iprop
20635 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20636 wine_fn_config_makefile dlls/itircl enable_itircl
20637 wine_fn_config_makefile dlls/itss enable_itss
20638 wine_fn_config_makefile dlls/itss/tests enable_tests
20639 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20640 wine_fn_config_makefile dlls/jscript enable_jscript
20641 wine_fn_config_makefile dlls/jscript/tests enable_tests
20642 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20643 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20644 wine_fn_config_makefile dlls/kerberos enable_kerberos
20645 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20646 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20647 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20648 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20649 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20650 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20651 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20652 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20653 wine_fn_config_makefile dlls/ksuser enable_ksuser
20654 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20655 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20656 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
20657 wine_fn_config_makefile dlls/loadperf enable_loadperf
20658 wine_fn_config_makefile dlls/localspl enable_localspl
20659 wine_fn_config_makefile dlls/localspl/tests enable_tests
20660 wine_fn_config_makefile dlls/localui enable_localui
20661 wine_fn_config_makefile dlls/localui/tests enable_tests
20662 wine_fn_config_makefile dlls/lz32 enable_lz32
20663 wine_fn_config_makefile dlls/lz32/tests enable_tests
20664 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20665 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20666 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20667 wine_fn_config_makefile dlls/mapistub enable_mapistub
20668 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20669 wine_fn_config_makefile dlls/mcicda enable_mcicda
20670 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20671 wine_fn_config_makefile dlls/mciseq enable_mciseq
20672 wine_fn_config_makefile dlls/mciwave enable_mciwave
20673 wine_fn_config_makefile dlls/mf enable_mf
20674 wine_fn_config_makefile dlls/mf/tests enable_tests
20675 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20676 wine_fn_config_makefile dlls/mferror enable_mferror
20677 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20678 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20679 wine_fn_config_makefile dlls/mfplat enable_mfplat
20680 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20681 wine_fn_config_makefile dlls/mfplay enable_mfplay
20682 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20683 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20684 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20685 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20686 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20687 wine_fn_config_makefile dlls/midimap enable_midimap
20688 wine_fn_config_makefile dlls/mlang enable_mlang
20689 wine_fn_config_makefile dlls/mlang/tests enable_tests
20690 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20691 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20692 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20693 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20694 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20695 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20696 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20697 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20698 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20699 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20700 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20701 wine_fn_config_makefile dlls/mpr enable_mpr
20702 wine_fn_config_makefile dlls/mpr/tests enable_tests
20703 wine_fn_config_makefile dlls/mprapi enable_mprapi
20704 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20705 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20706 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20707 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20708 wine_fn_config_makefile dlls/msado15 enable_msado15
20709 wine_fn_config_makefile dlls/msado15/tests enable_tests
20710 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20711 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20712 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20713 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20714 wine_fn_config_makefile dlls/mscms enable_mscms
20715 wine_fn_config_makefile dlls/mscms/tests enable_tests
20716 wine_fn_config_makefile dlls/mscoree enable_mscoree
20717 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20718 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20719 wine_fn_config_makefile dlls/msctf enable_msctf
20720 wine_fn_config_makefile dlls/msctf/tests enable_tests
20721 wine_fn_config_makefile dlls/msctfp enable_msctfp
20722 wine_fn_config_makefile dlls/msdaps enable_msdaps
20723 wine_fn_config_makefile dlls/msdelta enable_msdelta
20724 wine_fn_config_makefile dlls/msdmo enable_msdmo
20725 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20726 wine_fn_config_makefile dlls/msdrm enable_msdrm
20727 wine_fn_config_makefile dlls/msftedit enable_msftedit
20728 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20729 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20730 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20731 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20732 wine_fn_config_makefile dlls/mshtml enable_mshtml
20733 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20734 wine_fn_config_makefile dlls/msi enable_msi
20735 wine_fn_config_makefile dlls/msi/tests enable_tests
20736 wine_fn_config_makefile dlls/msident enable_msident
20737 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20738 wine_fn_config_makefile dlls/msimsg enable_msimsg
20739 wine_fn_config_makefile dlls/msimtf enable_msimtf
20740 wine_fn_config_makefile dlls/msisip enable_msisip
20741 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20742 wine_fn_config_makefile dlls/msls31 enable_msls31
20743 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20744 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20745 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20746 wine_fn_config_makefile dlls/msports enable_msports
20747 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20748 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20749 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20750 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20751 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20752 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20753 wine_fn_config_makefile dlls/mstask enable_mstask
20754 wine_fn_config_makefile dlls/mstask/tests enable_tests
20755 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20756 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20757 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20758 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20759 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20760 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20761 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20762 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20763 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20764 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20765 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20766 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20767 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20768 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20769 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20770 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20771 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20772 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20773 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20774 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20775 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20776 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20777 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20778 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20779 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20780 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20781 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20782 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20783 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20784 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20785 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20786 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20787 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20788 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20789 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20790 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20791 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20792 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20793 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20794 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20795 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20796 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20797 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20798 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20799 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20800 wine_fn_config_makefile dlls/mswsock enable_mswsock
20801 wine_fn_config_makefile dlls/msxml enable_msxml
20802 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20803 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20804 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20805 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20806 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20807 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20808 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20809 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20810 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20811 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20812 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20813 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20814 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20815 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20816 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20817 wine_fn_config_makefile dlls/netprofm enable_netprofm
20818 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20819 wine_fn_config_makefile dlls/netutils enable_netutils
20820 wine_fn_config_makefile dlls/newdev enable_newdev
20821 wine_fn_config_makefile dlls/ninput enable_ninput
20822 wine_fn_config_makefile dlls/ninput/tests enable_tests
20823 wine_fn_config_makefile dlls/normaliz enable_normaliz
20824 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20825 wine_fn_config_makefile dlls/npptools enable_npptools
20826 wine_fn_config_makefile dlls/nsi enable_nsi
20827 wine_fn_config_makefile dlls/nsi/tests enable_tests
20828 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
20829 wine_fn_config_makefile dlls/ntdll enable_ntdll
20830 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20831 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20832 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20833 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20834 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20835 wine_fn_config_makefile dlls/ntprint enable_ntprint
20836 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20837 wine_fn_config_makefile dlls/objsel enable_objsel
20838 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20839 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20840 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20841 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20842 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20843 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20844 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20845 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20846 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20847 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20848 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20849 wine_fn_config_makefile dlls/ole32 enable_ole32
20850 wine_fn_config_makefile dlls/ole32/tests enable_tests
20851 wine_fn_config_makefile dlls/oleacc enable_oleacc
20852 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20853 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20854 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20855 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20856 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20857 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20858 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20859 wine_fn_config_makefile dlls/oledlg enable_oledlg
20860 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20861 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20862 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20863 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20864 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20865 wine_fn_config_makefile dlls/opcservices enable_opcservices
20866 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20867 wine_fn_config_makefile dlls/openal32 enable_openal32
20868 wine_fn_config_makefile dlls/opencl enable_opencl
20869 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20870 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20871 wine_fn_config_makefile dlls/packager enable_packager
20872 wine_fn_config_makefile dlls/packager/tests enable_tests
20873 wine_fn_config_makefile dlls/pdh enable_pdh
20874 wine_fn_config_makefile dlls/pdh/tests enable_tests
20875 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20876 wine_fn_config_makefile dlls/pidgen enable_pidgen
20877 wine_fn_config_makefile dlls/powrprof enable_powrprof
20878 wine_fn_config_makefile dlls/printui enable_printui
20879 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20880 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20881 wine_fn_config_makefile dlls/propsys enable_propsys
20882 wine_fn_config_makefile dlls/propsys/tests enable_tests
20883 wine_fn_config_makefile dlls/psapi enable_psapi
20884 wine_fn_config_makefile dlls/psapi/tests enable_tests
20885 wine_fn_config_makefile dlls/pstorec enable_pstorec
20886 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20887 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20888 wine_fn_config_makefile dlls/qasf enable_qasf
20889 wine_fn_config_makefile dlls/qasf/tests enable_tests
20890 wine_fn_config_makefile dlls/qcap enable_qcap
20891 wine_fn_config_makefile dlls/qcap/tests enable_tests
20892 wine_fn_config_makefile dlls/qdvd enable_qdvd
20893 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20894 wine_fn_config_makefile dlls/qedit enable_qedit
20895 wine_fn_config_makefile dlls/qedit/tests enable_tests
20896 wine_fn_config_makefile dlls/qmgr enable_qmgr
20897 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20898 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20899 wine_fn_config_makefile dlls/quartz enable_quartz
20900 wine_fn_config_makefile dlls/quartz/tests enable_tests
20901 wine_fn_config_makefile dlls/query enable_query
20902 wine_fn_config_makefile dlls/qwave enable_qwave
20903 wine_fn_config_makefile dlls/qwave/tests enable_tests
20904 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20905 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20906 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20907 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20908 wine_fn_config_makefile dlls/regapi enable_regapi
20909 wine_fn_config_makefile dlls/resutils enable_resutils
20910 wine_fn_config_makefile dlls/riched20 enable_riched20
20911 wine_fn_config_makefile dlls/riched20/tests enable_tests
20912 wine_fn_config_makefile dlls/riched32 enable_riched32
20913 wine_fn_config_makefile dlls/riched32/tests enable_tests
20914 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20915 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20916 wine_fn_config_makefile dlls/rsabase enable_rsabase
20917 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20918 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20919 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20920 wine_fn_config_makefile dlls/rtutils enable_rtutils
20921 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20922 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20923 wine_fn_config_makefile dlls/samlib enable_samlib
20924 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20925 wine_fn_config_makefile dlls/sapi enable_sapi
20926 wine_fn_config_makefile dlls/sapi/tests enable_tests
20927 wine_fn_config_makefile dlls/sas enable_sas
20928 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20929 wine_fn_config_makefile dlls/sccbase enable_sccbase
20930 wine_fn_config_makefile dlls/schannel enable_schannel
20931 wine_fn_config_makefile dlls/schannel/tests enable_tests
20932 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20933 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20934 wine_fn_config_makefile dlls/scrobj enable_scrobj
20935 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20936 wine_fn_config_makefile dlls/scrrun enable_scrrun
20937 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20938 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20939 wine_fn_config_makefile dlls/sechost enable_sechost
20940 wine_fn_config_makefile dlls/secur32 enable_secur32
20941 wine_fn_config_makefile dlls/secur32/tests enable_tests
20942 wine_fn_config_makefile dlls/security enable_security
20943 wine_fn_config_makefile dlls/sensapi enable_sensapi
20944 wine_fn_config_makefile dlls/serialui enable_serialui
20945 wine_fn_config_makefile dlls/serialui/tests enable_tests
20946 wine_fn_config_makefile dlls/setupapi enable_setupapi
20947 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20948 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20949 wine_fn_config_makefile dlls/sfc enable_sfc
20950 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20951 wine_fn_config_makefile dlls/shcore enable_shcore
20952 wine_fn_config_makefile dlls/shcore/tests enable_tests
20953 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20954 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20955 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20956 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20957 wine_fn_config_makefile dlls/shell32 enable_shell32
20958 wine_fn_config_makefile dlls/shell32/tests enable_tests
20959 wine_fn_config_makefile dlls/shfolder enable_shfolder
20960 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20961 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20962 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20963 wine_fn_config_makefile dlls/slc enable_slc
20964 wine_fn_config_makefile dlls/slc/tests enable_tests
20965 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20966 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20967 wine_fn_config_makefile dlls/softpub enable_softpub
20968 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20969 wine_fn_config_makefile dlls/spoolss enable_spoolss
20970 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20971 wine_fn_config_makefile dlls/sppc enable_sppc
20972 wine_fn_config_makefile dlls/srclient enable_srclient
20973 wine_fn_config_makefile dlls/srvcli enable_srvcli
20974 wine_fn_config_makefile dlls/sspicli enable_sspicli
20975 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20976 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20977 wine_fn_config_makefile dlls/sti enable_sti
20978 wine_fn_config_makefile dlls/sti/tests enable_tests
20979 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20980 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20981 wine_fn_config_makefile dlls/strmbase enable_strmbase
20982 wine_fn_config_makefile dlls/strmdll enable_strmdll
20983 wine_fn_config_makefile dlls/strmiids enable_strmiids
20984 wine_fn_config_makefile dlls/svrapi enable_svrapi
20985 wine_fn_config_makefile dlls/sxs enable_sxs
20986 wine_fn_config_makefile dlls/sxs/tests enable_tests
20987 wine_fn_config_makefile dlls/system.drv16 enable_win16
20988 wine_fn_config_makefile dlls/t2embed enable_t2embed
20989 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20990 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20991 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20992 wine_fn_config_makefile dlls/taskschd enable_taskschd
20993 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20994 wine_fn_config_makefile dlls/tbs enable_tbs
20995 wine_fn_config_makefile dlls/tdh enable_tdh
20996 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20997 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20998 wine_fn_config_makefile dlls/traffic enable_traffic
20999 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21000 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21001 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21002 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21003 wine_fn_config_makefile dlls/tzres enable_tzres
21004 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21005 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21006 wine_fn_config_makefile dlls/uianimation enable_uianimation
21007 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21008 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21009 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21010 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21011 wine_fn_config_makefile dlls/unicows enable_unicows
21012 wine_fn_config_makefile dlls/updspapi enable_updspapi
21013 wine_fn_config_makefile dlls/url enable_url
21014 wine_fn_config_makefile dlls/urlmon enable_urlmon
21015 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21016 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21017 wine_fn_config_makefile dlls/user.exe16 enable_win16
21018 wine_fn_config_makefile dlls/user32 enable_user32
21019 wine_fn_config_makefile dlls/user32/tests enable_tests
21020 wine_fn_config_makefile dlls/userenv enable_userenv
21021 wine_fn_config_makefile dlls/userenv/tests enable_tests
21022 wine_fn_config_makefile dlls/usp10 enable_usp10
21023 wine_fn_config_makefile dlls/usp10/tests enable_tests
21024 wine_fn_config_makefile dlls/utildll enable_utildll
21025 wine_fn_config_makefile dlls/uuid enable_uuid
21026 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21027 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21028 wine_fn_config_makefile dlls/vbscript enable_vbscript
21029 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21030 wine_fn_config_makefile dlls/vcomp enable_vcomp
21031 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21032 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21033 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21034 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21035 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21036 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21037 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21038 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21039 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21040 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21041 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21042 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21043 wine_fn_config_makefile dlls/version enable_version
21044 wine_fn_config_makefile dlls/version/tests enable_tests
21045 wine_fn_config_makefile dlls/vga enable_vga
21046 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21047 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21048 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21049 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21050 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21051 wine_fn_config_makefile dlls/vssapi enable_vssapi
21052 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21053 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21054 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21055 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21056 wine_fn_config_makefile dlls/w32skrnl enable_win16
21057 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21058 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21059 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21060 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21061 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21062 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21063 wine_fn_config_makefile dlls/wdscore enable_wdscore
21064 wine_fn_config_makefile dlls/webservices enable_webservices
21065 wine_fn_config_makefile dlls/webservices/tests enable_tests
21066 wine_fn_config_makefile dlls/websocket enable_websocket
21067 wine_fn_config_makefile dlls/wer enable_wer
21068 wine_fn_config_makefile dlls/wer/tests enable_tests
21069 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21070 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21071 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21072 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21073 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21074 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21075 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21076 wine_fn_config_makefile dlls/win32u enable_win32u
21077 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21078 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21079 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21080 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21081 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21082 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21083 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21084 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21085 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21086 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21087 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21088 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21089 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21090 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21091 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21092 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21093 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21094 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21095 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21096 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21097 wine_fn_config_makefile dlls/wined3d enable_wined3d
21098 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21099 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21100 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21101 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21102 wine_fn_config_makefile dlls/winemapi enable_winemapi
21103 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21104 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21105 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21106 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21107 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21108 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21109 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21110 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21111 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21112 wine_fn_config_makefile dlls/wing32 enable_wing32
21113 wine_fn_config_makefile dlls/winhttp enable_winhttp
21114 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21115 wine_fn_config_makefile dlls/wininet enable_wininet
21116 wine_fn_config_makefile dlls/wininet/tests enable_tests
21117 wine_fn_config_makefile dlls/winmm enable_winmm
21118 wine_fn_config_makefile dlls/winmm/tests enable_tests
21119 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21120 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21121 wine_fn_config_makefile dlls/winscard enable_winscard
21122 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21123 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21124 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21125 wine_fn_config_makefile dlls/winsta enable_winsta
21126 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21127 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21128 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21129 wine_fn_config_makefile dlls/wintrust enable_wintrust
21130 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21131 wine_fn_config_makefile dlls/winusb enable_winusb
21132 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21133 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21134 wine_fn_config_makefile dlls/wlanui enable_wlanui
21135 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21136 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21137 wine_fn_config_makefile dlls/wmasf enable_wmasf
21138 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21139 wine_fn_config_makefile dlls/wmi enable_wmi
21140 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21141 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21142 wine_fn_config_makefile dlls/wmp enable_wmp
21143 wine_fn_config_makefile dlls/wmp/tests enable_tests
21144 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21145 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21146 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21147 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21148 wine_fn_config_makefile dlls/wow32 enable_win16
21149 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21150 wine_fn_config_makefile dlls/wpc enable_wpc
21151 wine_fn_config_makefile dlls/wpc/tests enable_tests
21152 wine_fn_config_makefile dlls/wpcap enable_wpcap
21153 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21154 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21155 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21156 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21157 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21158 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21159 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21160 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21161 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21162 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21163 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21164 wine_fn_config_makefile dlls/wuapi enable_wuapi
21165 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21166 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21167 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21168 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21169 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21170 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21171 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21172 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21173 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21174 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21175 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21176 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21177 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21178 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21179 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21180 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21181 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21182 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21183 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21184 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21185 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21186 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21187 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21188 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21189 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21190 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21191 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21192 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21193 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21194 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21195 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21196 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21197 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21198 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21199 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21200 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21201 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21202 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21203 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21204 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21205 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21206 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21207 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21208 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21209 wine_fn_config_makefile dlls/xmllite enable_xmllite
21210 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21211 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21212 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21213 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21214 wine_fn_config_makefile fonts enable_fonts
21215 wine_fn_config_makefile include enable_include
21216 wine_fn_config_makefile libs/port enable_port
21217 wine_fn_config_makefile libs/wine enable_wine
21218 wine_fn_config_makefile libs/wpp enable_wpp
21219 wine_fn_config_makefile loader enable_loader
21220 wine_fn_config_makefile nls enable_nls
21221 wine_fn_config_makefile po enable_po
21222 wine_fn_config_makefile programs/arp enable_arp
21223 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21224 wine_fn_config_makefile programs/attrib enable_attrib
21225 wine_fn_config_makefile programs/cabarc enable_cabarc
21226 wine_fn_config_makefile programs/cacls enable_cacls
21227 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21228 wine_fn_config_makefile programs/clock enable_clock
21229 wine_fn_config_makefile programs/cmd enable_cmd
21230 wine_fn_config_makefile programs/cmd/tests enable_tests
21231 wine_fn_config_makefile programs/conhost enable_conhost
21232 wine_fn_config_makefile programs/conhost/tests enable_tests
21233 wine_fn_config_makefile programs/control enable_control
21234 wine_fn_config_makefile programs/cscript enable_cscript
21235 wine_fn_config_makefile programs/dism enable_dism
21236 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21237 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21238 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21239 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21240 wine_fn_config_makefile programs/eject enable_eject
21241 wine_fn_config_makefile programs/expand enable_expand
21242 wine_fn_config_makefile programs/explorer enable_explorer
21243 wine_fn_config_makefile programs/extrac32 enable_extrac32
21244 wine_fn_config_makefile programs/fc enable_fc
21245 wine_fn_config_makefile programs/find enable_find
21246 wine_fn_config_makefile programs/find/tests enable_tests
21247 wine_fn_config_makefile programs/findstr enable_findstr
21248 wine_fn_config_makefile programs/fsutil enable_fsutil
21249 wine_fn_config_makefile programs/fsutil/tests enable_tests
21250 wine_fn_config_makefile programs/hh enable_hh
21251 wine_fn_config_makefile programs/hostname enable_hostname
21252 wine_fn_config_makefile programs/icacls enable_icacls
21253 wine_fn_config_makefile programs/icinfo enable_icinfo
21254 wine_fn_config_makefile programs/iexplore enable_iexplore
21255 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21256 wine_fn_config_makefile programs/lodctr enable_lodctr
21257 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21258 wine_fn_config_makefile programs/mshta enable_mshta
21259 wine_fn_config_makefile programs/msidb enable_msidb
21260 wine_fn_config_makefile programs/msiexec enable_msiexec
21261 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21262 wine_fn_config_makefile programs/net enable_net
21263 wine_fn_config_makefile programs/netsh enable_netsh
21264 wine_fn_config_makefile programs/netstat enable_netstat
21265 wine_fn_config_makefile programs/ngen enable_ngen
21266 wine_fn_config_makefile programs/notepad enable_notepad
21267 wine_fn_config_makefile programs/oleview enable_oleview
21268 wine_fn_config_makefile programs/ping enable_ping
21269 wine_fn_config_makefile programs/plugplay enable_plugplay
21270 wine_fn_config_makefile programs/powershell enable_powershell
21271 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21272 wine_fn_config_makefile programs/progman enable_progman
21273 wine_fn_config_makefile programs/reg enable_reg
21274 wine_fn_config_makefile programs/reg/tests enable_tests
21275 wine_fn_config_makefile programs/regasm enable_regasm
21276 wine_fn_config_makefile programs/regedit enable_regedit
21277 wine_fn_config_makefile programs/regedit/tests enable_tests
21278 wine_fn_config_makefile programs/regini enable_regini
21279 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21280 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21281 wine_fn_config_makefile programs/rpcss enable_rpcss
21282 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21283 wine_fn_config_makefile programs/rundll32 enable_rundll32
21284 wine_fn_config_makefile programs/sc enable_sc
21285 wine_fn_config_makefile programs/schtasks enable_schtasks
21286 wine_fn_config_makefile programs/schtasks/tests enable_tests
21287 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21288 wine_fn_config_makefile programs/secedit enable_secedit
21289 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21290 wine_fn_config_makefile programs/services enable_services
21291 wine_fn_config_makefile programs/services/tests enable_tests
21292 wine_fn_config_makefile programs/shutdown enable_shutdown
21293 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21294 wine_fn_config_makefile programs/start enable_start
21295 wine_fn_config_makefile programs/subst enable_subst
21296 wine_fn_config_makefile programs/svchost enable_svchost
21297 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21298 wine_fn_config_makefile programs/taskkill enable_taskkill
21299 wine_fn_config_makefile programs/tasklist enable_tasklist
21300 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21301 wine_fn_config_makefile programs/termsv enable_termsv
21302 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21303 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21304 wine_fn_config_makefile programs/view enable_view
21305 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21306 wine_fn_config_makefile programs/where enable_where
21307 wine_fn_config_makefile programs/whoami enable_whoami
21308 wine_fn_config_makefile programs/wineboot enable_wineboot
21309 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21310 wine_fn_config_makefile programs/winecfg enable_winecfg
21311 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21312 wine_fn_config_makefile programs/winedbg enable_winedbg
21313 wine_fn_config_makefile programs/winedevice enable_winedevice
21314 wine_fn_config_makefile programs/winefile enable_winefile
21315 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21316 wine_fn_config_makefile programs/winemine enable_winemine
21317 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21318 wine_fn_config_makefile programs/winepath enable_winepath
21319 wine_fn_config_makefile programs/winetest enable_winetest
21320 wine_fn_config_makefile programs/winevdm enable_win16
21321 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21322 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21323 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21324 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21325 wine_fn_config_makefile programs/winver enable_winver
21326 wine_fn_config_makefile programs/wmic enable_wmic
21327 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21328 wine_fn_config_makefile programs/wordpad enable_wordpad
21329 wine_fn_config_makefile programs/write enable_write
21330 wine_fn_config_makefile programs/wscript enable_wscript
21331 wine_fn_config_makefile programs/wscript/tests enable_tests
21332 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21333 wine_fn_config_makefile programs/wusa enable_wusa
21334 wine_fn_config_makefile programs/xcopy enable_xcopy
21335 wine_fn_config_makefile programs/xcopy/tests enable_tests
21336 wine_fn_config_makefile server enable_server
21337 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21338 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21339 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21340 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21341 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21342 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21343 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21344 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21345 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21348 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21349 wine_fn_append_file CONFIGURE_TARGETS "tags"
21350 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21351 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21352 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21353 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21354 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21355 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21357 if test "x$enable_tools" != xno
21358 then
21359 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21360 ac_config_commands="$ac_config_commands tools/makedep"
21364 ac_config_commands="$ac_config_commands Makefile"
21367 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21371 if test "x$enable_maintainer_mode" = xyes
21372 then
21373 wine_fn_append_rule "configure: configure.ac aclocal.m4
21374 autoconf --warnings=all
21375 include/config.h.in: include/stamp-h.in
21376 include/stamp-h.in: configure.ac aclocal.m4
21377 autoheader --warnings=all
21378 @echo timestamp > \$@"
21381 if test "x$enable_tools" != xno
21382 then
21383 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21384 @./config.status tools/makedep
21385 Makefile: tools/makedep$ac_exeext"
21386 else
21387 wine_fn_append_rule "\$(MAKEDEP):
21388 @echo \"You need to run make in $TOOLSDIR first\" && false"
21391 if test -n "$with_wine64"
21392 then
21393 case "$with_wine64" in
21394 /*) reldir="" ;;
21395 *) reldir="../" ;;
21396 esac
21397 rm -f fonts server 2>/dev/null
21398 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21399 loader/wine64 loader/wine64-preloader:
21400 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21401 $with_wine64/loader/wine:
21402 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21403 $with_wine64/loader/wine-preloader:
21404 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21405 clean::
21406 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21407 else
21408 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21409 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21410 fonts \
21411 loader/wine.inf \
21412 nls \
21413 programs/msidb/msidb \
21414 programs/msiexec/msiexec \
21415 programs/notepad/notepad \
21416 programs/regedit/regedit \
21417 programs/regsvr32/regsvr32 \
21418 programs/wineboot/wineboot \
21419 programs/winecfg/winecfg \
21420 programs/wineconsole/wineconsole \
21421 programs/winedbg/winedbg \
21422 programs/winefile/winefile \
21423 programs/winemine/winemine \
21424 programs/winepath/winepath \
21425 server/wineserver"
21427 case $host_os in
21428 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21429 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21430 esac
21433 $as_echo " done" >&6
21434 cat >confcache <<\_ACEOF
21435 # This file is a shell script that caches the results of configure
21436 # tests run on this system so they can be shared between configure
21437 # scripts and configure runs, see configure's option --config-cache.
21438 # It is not useful on other systems. If it contains results you don't
21439 # want to keep, you may remove or edit it.
21441 # config.status only pays attention to the cache file if you give it
21442 # the --recheck option to rerun configure.
21444 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21445 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21446 # following values.
21448 _ACEOF
21450 # The following way of writing the cache mishandles newlines in values,
21451 # but we know of no workaround that is simple, portable, and efficient.
21452 # So, we kill variables containing newlines.
21453 # Ultrix sh set writes to stderr and can't be redirected directly,
21454 # and sets the high bit in the cache file unless we assign to the vars.
21456 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21457 eval ac_val=\$$ac_var
21458 case $ac_val in #(
21459 *${as_nl}*)
21460 case $ac_var in #(
21461 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21462 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21463 esac
21464 case $ac_var in #(
21465 _ | IFS | as_nl) ;; #(
21466 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21467 *) { eval $ac_var=; unset $ac_var;} ;;
21468 esac ;;
21469 esac
21470 done
21472 (set) 2>&1 |
21473 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21474 *${as_nl}ac_space=\ *)
21475 # `set' does not quote correctly, so add quotes: double-quote
21476 # substitution turns \\\\ into \\, and sed turns \\ into \.
21477 sed -n \
21478 "s/'/'\\\\''/g;
21479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21480 ;; #(
21482 # `set' quotes correctly as required by POSIX, so do not add quotes.
21483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21485 esac |
21486 sort
21488 sed '
21489 /^ac_cv_env_/b end
21490 t clear
21491 :clear
21492 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21493 t end
21494 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21495 :end' >>confcache
21496 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21497 if test -w "$cache_file"; then
21498 if test "x$cache_file" != "x/dev/null"; then
21499 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21500 $as_echo "$as_me: updating cache $cache_file" >&6;}
21501 if test ! -f "$cache_file" || test -h "$cache_file"; then
21502 cat confcache >"$cache_file"
21503 else
21504 case $cache_file in #(
21505 */* | ?:*)
21506 mv -f confcache "$cache_file"$$ &&
21507 mv -f "$cache_file"$$ "$cache_file" ;; #(
21509 mv -f confcache "$cache_file" ;;
21510 esac
21513 else
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21515 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21518 rm -f confcache
21520 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21521 # Let make expand exec_prefix.
21522 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21524 DEFS=-DHAVE_CONFIG_H
21526 ac_libobjs=
21527 ac_ltlibobjs=
21529 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21530 # 1. Remove the extension, and $U if already installed.
21531 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21532 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21533 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21534 # will be set to the directory where LIBOBJS objects are built.
21535 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21536 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21537 done
21538 LIBOBJS=$ac_libobjs
21540 LTLIBOBJS=$ac_ltlibobjs
21544 : "${CONFIG_STATUS=./config.status}"
21545 ac_write_fail=0
21546 ac_clean_files_save=$ac_clean_files
21547 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21548 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21549 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21550 as_write_fail=0
21551 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21552 #! $SHELL
21553 # Generated by $as_me.
21554 # Run this file to recreate the current configuration.
21555 # Compiler output produced by configure, useful for debugging
21556 # configure, is in config.log if it exists.
21558 debug=false
21559 ac_cs_recheck=false
21560 ac_cs_silent=false
21562 SHELL=\${CONFIG_SHELL-$SHELL}
21563 export SHELL
21564 _ASEOF
21565 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21566 ## -------------------- ##
21567 ## M4sh Initialization. ##
21568 ## -------------------- ##
21570 # Be more Bourne compatible
21571 DUALCASE=1; export DUALCASE # for MKS sh
21572 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21573 emulate sh
21574 NULLCMD=:
21575 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21576 # is contrary to our usage. Disable this feature.
21577 alias -g '${1+"$@"}'='"$@"'
21578 setopt NO_GLOB_SUBST
21579 else
21580 case `(set -o) 2>/dev/null` in #(
21581 *posix*) :
21582 set -o posix ;; #(
21583 *) :
21585 esac
21589 as_nl='
21591 export as_nl
21592 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21593 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21594 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21595 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21596 # Prefer a ksh shell builtin over an external printf program on Solaris,
21597 # but without wasting forks for bash or zsh.
21598 if test -z "$BASH_VERSION$ZSH_VERSION" \
21599 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21600 as_echo='print -r --'
21601 as_echo_n='print -rn --'
21602 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21603 as_echo='printf %s\n'
21604 as_echo_n='printf %s'
21605 else
21606 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21607 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21608 as_echo_n='/usr/ucb/echo -n'
21609 else
21610 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21611 as_echo_n_body='eval
21612 arg=$1;
21613 case $arg in #(
21614 *"$as_nl"*)
21615 expr "X$arg" : "X\\(.*\\)$as_nl";
21616 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21617 esac;
21618 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21620 export as_echo_n_body
21621 as_echo_n='sh -c $as_echo_n_body as_echo'
21623 export as_echo_body
21624 as_echo='sh -c $as_echo_body as_echo'
21627 # The user is always right.
21628 if test "${PATH_SEPARATOR+set}" != set; then
21629 PATH_SEPARATOR=:
21630 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21631 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21632 PATH_SEPARATOR=';'
21637 # IFS
21638 # We need space, tab and new line, in precisely that order. Quoting is
21639 # there to prevent editors from complaining about space-tab.
21640 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21641 # splitting by setting IFS to empty value.)
21642 IFS=" "" $as_nl"
21644 # Find who we are. Look in the path if we contain no directory separator.
21645 as_myself=
21646 case $0 in #((
21647 *[\\/]* ) as_myself=$0 ;;
21648 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21649 for as_dir in $PATH
21651 IFS=$as_save_IFS
21652 test -z "$as_dir" && as_dir=.
21653 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21654 done
21655 IFS=$as_save_IFS
21658 esac
21659 # We did not find ourselves, most probably we were run as `sh COMMAND'
21660 # in which case we are not to be found in the path.
21661 if test "x$as_myself" = x; then
21662 as_myself=$0
21664 if test ! -f "$as_myself"; then
21665 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21666 exit 1
21669 # Unset variables that we do not need and which cause bugs (e.g. in
21670 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21671 # suppresses any "Segmentation fault" message there. '((' could
21672 # trigger a bug in pdksh 5.2.14.
21673 for as_var in BASH_ENV ENV MAIL MAILPATH
21674 do eval test x\${$as_var+set} = xset \
21675 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21676 done
21677 PS1='$ '
21678 PS2='> '
21679 PS4='+ '
21681 # NLS nuisances.
21682 LC_ALL=C
21683 export LC_ALL
21684 LANGUAGE=C
21685 export LANGUAGE
21687 # CDPATH.
21688 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21691 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21692 # ----------------------------------------
21693 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21694 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21695 # script with STATUS, using 1 if that was 0.
21696 as_fn_error ()
21698 as_status=$1; test $as_status -eq 0 && as_status=1
21699 if test "$4"; then
21700 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21701 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21703 $as_echo "$as_me: error: $2" >&2
21704 as_fn_exit $as_status
21705 } # as_fn_error
21708 # as_fn_set_status STATUS
21709 # -----------------------
21710 # Set $? to STATUS, without forking.
21711 as_fn_set_status ()
21713 return $1
21714 } # as_fn_set_status
21716 # as_fn_exit STATUS
21717 # -----------------
21718 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21719 as_fn_exit ()
21721 set +e
21722 as_fn_set_status $1
21723 exit $1
21724 } # as_fn_exit
21726 # as_fn_unset VAR
21727 # ---------------
21728 # Portably unset VAR.
21729 as_fn_unset ()
21731 { eval $1=; unset $1;}
21733 as_unset=as_fn_unset
21734 # as_fn_append VAR VALUE
21735 # ----------------------
21736 # Append the text in VALUE to the end of the definition contained in VAR. Take
21737 # advantage of any shell optimizations that allow amortized linear growth over
21738 # repeated appends, instead of the typical quadratic growth present in naive
21739 # implementations.
21740 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21741 eval 'as_fn_append ()
21743 eval $1+=\$2
21745 else
21746 as_fn_append ()
21748 eval $1=\$$1\$2
21750 fi # as_fn_append
21752 # as_fn_arith ARG...
21753 # ------------------
21754 # Perform arithmetic evaluation on the ARGs, and store the result in the
21755 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21756 # must be portable across $(()) and expr.
21757 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21758 eval 'as_fn_arith ()
21760 as_val=$(( $* ))
21762 else
21763 as_fn_arith ()
21765 as_val=`expr "$@" || test $? -eq 1`
21767 fi # as_fn_arith
21770 if expr a : '\(a\)' >/dev/null 2>&1 &&
21771 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21772 as_expr=expr
21773 else
21774 as_expr=false
21777 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21778 as_basename=basename
21779 else
21780 as_basename=false
21783 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21784 as_dirname=dirname
21785 else
21786 as_dirname=false
21789 as_me=`$as_basename -- "$0" ||
21790 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21791 X"$0" : 'X\(//\)$' \| \
21792 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21793 $as_echo X/"$0" |
21794 sed '/^.*\/\([^/][^/]*\)\/*$/{
21795 s//\1/
21798 /^X\/\(\/\/\)$/{
21799 s//\1/
21802 /^X\/\(\/\).*/{
21803 s//\1/
21806 s/.*/./; q'`
21808 # Avoid depending upon Character Ranges.
21809 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21810 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21811 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21812 as_cr_digits='0123456789'
21813 as_cr_alnum=$as_cr_Letters$as_cr_digits
21815 ECHO_C= ECHO_N= ECHO_T=
21816 case `echo -n x` in #(((((
21817 -n*)
21818 case `echo 'xy\c'` in
21819 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21820 xy) ECHO_C='\c';;
21821 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21822 ECHO_T=' ';;
21823 esac;;
21825 ECHO_N='-n';;
21826 esac
21828 rm -f conf$$ conf$$.exe conf$$.file
21829 if test -d conf$$.dir; then
21830 rm -f conf$$.dir/conf$$.file
21831 else
21832 rm -f conf$$.dir
21833 mkdir conf$$.dir 2>/dev/null
21835 if (echo >conf$$.file) 2>/dev/null; then
21836 if ln -s conf$$.file conf$$ 2>/dev/null; then
21837 as_ln_s='ln -s'
21838 # ... but there are two gotchas:
21839 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21840 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21841 # In both cases, we have to default to `cp -pR'.
21842 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21843 as_ln_s='cp -pR'
21844 elif ln conf$$.file conf$$ 2>/dev/null; then
21845 as_ln_s=ln
21846 else
21847 as_ln_s='cp -pR'
21849 else
21850 as_ln_s='cp -pR'
21852 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21853 rmdir conf$$.dir 2>/dev/null
21856 # as_fn_mkdir_p
21857 # -------------
21858 # Create "$as_dir" as a directory, including parents if necessary.
21859 as_fn_mkdir_p ()
21862 case $as_dir in #(
21863 -*) as_dir=./$as_dir;;
21864 esac
21865 test -d "$as_dir" || eval $as_mkdir_p || {
21866 as_dirs=
21867 while :; do
21868 case $as_dir in #(
21869 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21870 *) as_qdir=$as_dir;;
21871 esac
21872 as_dirs="'$as_qdir' $as_dirs"
21873 as_dir=`$as_dirname -- "$as_dir" ||
21874 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21875 X"$as_dir" : 'X\(//\)[^/]' \| \
21876 X"$as_dir" : 'X\(//\)$' \| \
21877 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21878 $as_echo X"$as_dir" |
21879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21880 s//\1/
21883 /^X\(\/\/\)[^/].*/{
21884 s//\1/
21887 /^X\(\/\/\)$/{
21888 s//\1/
21891 /^X\(\/\).*/{
21892 s//\1/
21895 s/.*/./; q'`
21896 test -d "$as_dir" && break
21897 done
21898 test -z "$as_dirs" || eval "mkdir $as_dirs"
21899 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21902 } # as_fn_mkdir_p
21903 if mkdir -p . 2>/dev/null; then
21904 as_mkdir_p='mkdir -p "$as_dir"'
21905 else
21906 test -d ./-p && rmdir ./-p
21907 as_mkdir_p=false
21911 # as_fn_executable_p FILE
21912 # -----------------------
21913 # Test if FILE is an executable regular file.
21914 as_fn_executable_p ()
21916 test -f "$1" && test -x "$1"
21917 } # as_fn_executable_p
21918 as_test_x='test -x'
21919 as_executable_p=as_fn_executable_p
21921 # Sed expression to map a string onto a valid CPP name.
21922 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21924 # Sed expression to map a string onto a valid variable name.
21925 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21928 exec 6>&1
21929 ## ----------------------------------- ##
21930 ## Main body of $CONFIG_STATUS script. ##
21931 ## ----------------------------------- ##
21932 _ASEOF
21933 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21936 # Save the log message, to keep $0 and so on meaningful, and to
21937 # report actual input values of CONFIG_FILES etc. instead of their
21938 # values after options handling.
21939 ac_log="
21940 This file was extended by Wine $as_me 6.11, which was
21941 generated by GNU Autoconf 2.69. Invocation command line was
21943 CONFIG_FILES = $CONFIG_FILES
21944 CONFIG_HEADERS = $CONFIG_HEADERS
21945 CONFIG_LINKS = $CONFIG_LINKS
21946 CONFIG_COMMANDS = $CONFIG_COMMANDS
21947 $ $0 $@
21949 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21952 _ACEOF
21954 case $ac_config_files in *"
21955 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21956 esac
21958 case $ac_config_headers in *"
21959 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21960 esac
21963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21964 # Files that config.status was made for.
21965 config_files="$ac_config_files"
21966 config_headers="$ac_config_headers"
21967 config_links="$ac_config_links"
21968 config_commands="$ac_config_commands"
21970 _ACEOF
21972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21973 ac_cs_usage="\
21974 \`$as_me' instantiates files and other configuration actions
21975 from templates according to the current configuration. Unless the files
21976 and actions are specified as TAGs, all are instantiated by default.
21978 Usage: $0 [OPTION]... [TAG]...
21980 -h, --help print this help, then exit
21981 -V, --version print version number and configuration settings, then exit
21982 --config print configuration, then exit
21983 -q, --quiet, --silent
21984 do not print progress messages
21985 -d, --debug don't remove temporary files
21986 --recheck update $as_me by reconfiguring in the same conditions
21987 --file=FILE[:TEMPLATE]
21988 instantiate the configuration file FILE
21989 --header=FILE[:TEMPLATE]
21990 instantiate the configuration header FILE
21992 Configuration files:
21993 $config_files
21995 Configuration headers:
21996 $config_headers
21998 Configuration links:
21999 $config_links
22001 Configuration commands:
22002 $config_commands
22004 Report bugs to <wine-devel@winehq.org>.
22005 Wine home page: <https://www.winehq.org>."
22007 _ACEOF
22008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22009 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22010 ac_cs_version="\\
22011 Wine config.status 6.11
22012 configured by $0, generated by GNU Autoconf 2.69,
22013 with options \\"\$ac_cs_config\\"
22015 Copyright (C) 2012 Free Software Foundation, Inc.
22016 This config.status script is free software; the Free Software Foundation
22017 gives unlimited permission to copy, distribute and modify it."
22019 ac_pwd='$ac_pwd'
22020 srcdir='$srcdir'
22021 test -n "\$AWK" || AWK=awk
22022 _ACEOF
22024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22025 # The default lists apply if the user does not specify any file.
22026 ac_need_defaults=:
22027 while test $# != 0
22029 case $1 in
22030 --*=?*)
22031 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22032 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22033 ac_shift=:
22035 --*=)
22036 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22037 ac_optarg=
22038 ac_shift=:
22041 ac_option=$1
22042 ac_optarg=$2
22043 ac_shift=shift
22045 esac
22047 case $ac_option in
22048 # Handling of the options.
22049 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22050 ac_cs_recheck=: ;;
22051 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22052 $as_echo "$ac_cs_version"; exit ;;
22053 --config | --confi | --conf | --con | --co | --c )
22054 $as_echo "$ac_cs_config"; exit ;;
22055 --debug | --debu | --deb | --de | --d | -d )
22056 debug=: ;;
22057 --file | --fil | --fi | --f )
22058 $ac_shift
22059 case $ac_optarg in
22060 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22061 '') as_fn_error $? "missing file argument" ;;
22062 esac
22063 as_fn_append CONFIG_FILES " '$ac_optarg'"
22064 ac_need_defaults=false;;
22065 --header | --heade | --head | --hea )
22066 $ac_shift
22067 case $ac_optarg in
22068 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22069 esac
22070 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22071 ac_need_defaults=false;;
22072 --he | --h)
22073 # Conflict between --help and --header
22074 as_fn_error $? "ambiguous option: \`$1'
22075 Try \`$0 --help' for more information.";;
22076 --help | --hel | -h )
22077 $as_echo "$ac_cs_usage"; exit ;;
22078 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22079 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22080 ac_cs_silent=: ;;
22082 # This is an error.
22083 -*) as_fn_error $? "unrecognized option: \`$1'
22084 Try \`$0 --help' for more information." ;;
22086 *) as_fn_append ac_config_targets " $1"
22087 ac_need_defaults=false ;;
22089 esac
22090 shift
22091 done
22093 ac_configure_extra_args=
22095 if $ac_cs_silent; then
22096 exec 6>/dev/null
22097 ac_configure_extra_args="$ac_configure_extra_args --silent"
22100 _ACEOF
22101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22102 if \$ac_cs_recheck; then
22103 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22104 shift
22105 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22106 CONFIG_SHELL='$SHELL'
22107 export CONFIG_SHELL
22108 exec "\$@"
22111 _ACEOF
22112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22113 exec 5>>config.log
22115 echo
22116 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22117 ## Running $as_me. ##
22118 _ASBOX
22119 $as_echo "$ac_log"
22120 } >&5
22122 _ACEOF
22123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22125 # INIT-COMMANDS
22127 wine_fn_output_makedep ()
22129 as_dir=tools; as_fn_mkdir_p
22130 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22132 wine_fn_output_makefile ()
22134 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22135 `cat $wine_rules_file`
22136 _WINE_EOF
22137 as_fn_error $? "could not create Makefile" "$LINENO" 5
22140 _ACEOF
22142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22144 # Handling of arguments.
22145 for ac_config_target in $ac_config_targets
22147 case $ac_config_target in
22148 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22149 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22150 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22151 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22152 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22153 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22154 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22156 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22157 esac
22158 done
22161 # If the user did not use the arguments to specify the items to instantiate,
22162 # then the envvar interface is used. Set only those that are not.
22163 # We use the long form for the default assignment because of an extremely
22164 # bizarre bug on SunOS 4.1.3.
22165 if $ac_need_defaults; then
22166 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22167 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22168 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22169 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22172 # Have a temporary directory for convenience. Make it in the build tree
22173 # simply because there is no reason against having it here, and in addition,
22174 # creating and moving files from /tmp can sometimes cause problems.
22175 # Hook for its removal unless debugging.
22176 # Note that there is a small window in which the directory will not be cleaned:
22177 # after its creation but before its name has been assigned to `$tmp'.
22178 $debug ||
22180 tmp= ac_tmp=
22181 trap 'exit_status=$?
22182 : "${ac_tmp:=$tmp}"
22183 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22185 trap 'as_fn_exit 1' 1 2 13 15
22187 # Create a (secure) tmp directory for tmp files.
22190 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22191 test -d "$tmp"
22192 } ||
22194 tmp=./conf$$-$RANDOM
22195 (umask 077 && mkdir "$tmp")
22196 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22197 ac_tmp=$tmp
22199 # Set up the scripts for CONFIG_FILES section.
22200 # No need to generate them if there are no CONFIG_FILES.
22201 # This happens for instance with `./config.status config.h'.
22202 if test -n "$CONFIG_FILES"; then
22205 ac_cr=`echo X | tr X '\015'`
22206 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22207 # But we know of no other shell where ac_cr would be empty at this
22208 # point, so we can use a bashism as a fallback.
22209 if test "x$ac_cr" = x; then
22210 eval ac_cr=\$\'\\r\'
22212 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22213 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22214 ac_cs_awk_cr='\\r'
22215 else
22216 ac_cs_awk_cr=$ac_cr
22219 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22220 _ACEOF
22224 echo "cat >conf$$subs.awk <<_ACEOF" &&
22225 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22226 echo "_ACEOF"
22227 } >conf$$subs.sh ||
22228 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22229 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22230 ac_delim='%!_!# '
22231 for ac_last_try in false false false false false :; do
22232 . ./conf$$subs.sh ||
22233 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22235 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22236 if test $ac_delim_n = $ac_delim_num; then
22237 break
22238 elif $ac_last_try; then
22239 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22240 else
22241 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22243 done
22244 rm -f conf$$subs.sh
22246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22247 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22248 _ACEOF
22249 sed -n '
22251 s/^/S["/; s/!.*/"]=/
22254 s/^[^!]*!//
22255 :repl
22256 t repl
22257 s/'"$ac_delim"'$//
22258 t delim
22261 s/\(.\{148\}\)..*/\1/
22262 t more1
22263 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22266 b repl
22267 :more1
22268 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22271 s/.\{148\}//
22272 t nl
22273 :delim
22275 s/\(.\{148\}\)..*/\1/
22276 t more2
22277 s/["\\]/\\&/g; s/^/"/; s/$/"/
22280 :more2
22281 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22284 s/.\{148\}//
22285 t delim
22286 ' <conf$$subs.awk | sed '
22287 /^[^""]/{
22289 s/\n//
22291 ' >>$CONFIG_STATUS || ac_write_fail=1
22292 rm -f conf$$subs.awk
22293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22294 _ACAWK
22295 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22296 for (key in S) S_is_set[key] = 1
22297 FS = "\a"
22301 line = $ 0
22302 nfields = split(line, field, "@")
22303 substed = 0
22304 len = length(field[1])
22305 for (i = 2; i < nfields; i++) {
22306 key = field[i]
22307 keylen = length(key)
22308 if (S_is_set[key]) {
22309 value = S[key]
22310 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22311 len += length(value) + length(field[++i])
22312 substed = 1
22313 } else
22314 len += 1 + keylen
22317 print line
22320 _ACAWK
22321 _ACEOF
22322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22323 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22324 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22325 else
22327 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22328 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22329 _ACEOF
22331 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22332 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22333 # trailing colons and then remove the whole line if VPATH becomes empty
22334 # (actually we leave an empty line to preserve line numbers).
22335 if test "x$srcdir" = x.; then
22336 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22338 s///
22339 s/^/:/
22340 s/[ ]*$/:/
22341 s/:\$(srcdir):/:/g
22342 s/:\${srcdir}:/:/g
22343 s/:@srcdir@:/:/g
22344 s/^:*//
22345 s/:*$//
22347 s/\(=[ ]*\).*/\1/
22349 s/\n//
22350 s/^[^=]*=[ ]*$//
22354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22355 fi # test -n "$CONFIG_FILES"
22357 # Set up the scripts for CONFIG_HEADERS section.
22358 # No need to generate them if there are no CONFIG_HEADERS.
22359 # This happens for instance with `./config.status Makefile'.
22360 if test -n "$CONFIG_HEADERS"; then
22361 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22362 BEGIN {
22363 _ACEOF
22365 # Transform confdefs.h into an awk script `defines.awk', embedded as
22366 # here-document in config.status, that substitutes the proper values into
22367 # config.h.in to produce config.h.
22369 # Create a delimiter string that does not exist in confdefs.h, to ease
22370 # handling of long lines.
22371 ac_delim='%!_!# '
22372 for ac_last_try in false false :; do
22373 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22374 if test -z "$ac_tt"; then
22375 break
22376 elif $ac_last_try; then
22377 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22378 else
22379 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22381 done
22383 # For the awk script, D is an array of macro values keyed by name,
22384 # likewise P contains macro parameters if any. Preserve backslash
22385 # newline sequences.
22387 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22388 sed -n '
22389 s/.\{148\}/&'"$ac_delim"'/g
22390 t rset
22391 :rset
22392 s/^[ ]*#[ ]*define[ ][ ]*/ /
22393 t def
22395 :def
22396 s/\\$//
22397 t bsnl
22398 s/["\\]/\\&/g
22399 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22400 D["\1"]=" \3"/p
22401 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22403 :bsnl
22404 s/["\\]/\\&/g
22405 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22406 D["\1"]=" \3\\\\\\n"\\/p
22407 t cont
22408 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22409 t cont
22411 :cont
22413 s/.\{148\}/&'"$ac_delim"'/g
22414 t clear
22415 :clear
22416 s/\\$//
22417 t bsnlc
22418 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22420 :bsnlc
22421 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22422 b cont
22423 ' <confdefs.h | sed '
22424 s/'"$ac_delim"'/"\\\
22425 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22428 for (key in D) D_is_set[key] = 1
22429 FS = "\a"
22431 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22432 line = \$ 0
22433 split(line, arg, " ")
22434 if (arg[1] == "#") {
22435 defundef = arg[2]
22436 mac1 = arg[3]
22437 } else {
22438 defundef = substr(arg[1], 2)
22439 mac1 = arg[2]
22441 split(mac1, mac2, "(") #)
22442 macro = mac2[1]
22443 prefix = substr(line, 1, index(line, defundef) - 1)
22444 if (D_is_set[macro]) {
22445 # Preserve the white space surrounding the "#".
22446 print prefix "define", macro P[macro] D[macro]
22447 next
22448 } else {
22449 # Replace #undef with comments. This is necessary, for example,
22450 # in the case of _POSIX_SOURCE, which is predefined and required
22451 # on some systems where configure will not decide to define it.
22452 if (defundef == "undef") {
22453 print "/*", prefix defundef, macro, "*/"
22454 next
22458 { print }
22459 _ACAWK
22460 _ACEOF
22461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22462 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22463 fi # test -n "$CONFIG_HEADERS"
22466 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22467 shift
22468 for ac_tag
22470 case $ac_tag in
22471 :[FHLC]) ac_mode=$ac_tag; continue;;
22472 esac
22473 case $ac_mode$ac_tag in
22474 :[FHL]*:*);;
22475 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22476 :[FH]-) ac_tag=-:-;;
22477 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22478 esac
22479 ac_save_IFS=$IFS
22480 IFS=:
22481 set x $ac_tag
22482 IFS=$ac_save_IFS
22483 shift
22484 ac_file=$1
22485 shift
22487 case $ac_mode in
22488 :L) ac_source=$1;;
22489 :[FH])
22490 ac_file_inputs=
22491 for ac_f
22493 case $ac_f in
22494 -) ac_f="$ac_tmp/stdin";;
22495 *) # Look for the file first in the build tree, then in the source tree
22496 # (if the path is not absolute). The absolute path cannot be DOS-style,
22497 # because $ac_f cannot contain `:'.
22498 test -f "$ac_f" ||
22499 case $ac_f in
22500 [\\/$]*) false;;
22501 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22502 esac ||
22503 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22504 esac
22505 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22506 as_fn_append ac_file_inputs " '$ac_f'"
22507 done
22509 # Let's still pretend it is `configure' which instantiates (i.e., don't
22510 # use $as_me), people would be surprised to read:
22511 # /* config.h. Generated by config.status. */
22512 configure_input='Generated from '`
22513 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22514 `' by configure.'
22515 if test x"$ac_file" != x-; then
22516 configure_input="$ac_file. $configure_input"
22517 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22518 $as_echo "$as_me: creating $ac_file" >&6;}
22520 # Neutralize special characters interpreted by sed in replacement strings.
22521 case $configure_input in #(
22522 *\&* | *\|* | *\\* )
22523 ac_sed_conf_input=`$as_echo "$configure_input" |
22524 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22525 *) ac_sed_conf_input=$configure_input;;
22526 esac
22528 case $ac_tag in
22529 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22530 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22531 esac
22533 esac
22535 ac_dir=`$as_dirname -- "$ac_file" ||
22536 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22537 X"$ac_file" : 'X\(//\)[^/]' \| \
22538 X"$ac_file" : 'X\(//\)$' \| \
22539 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22540 $as_echo X"$ac_file" |
22541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22542 s//\1/
22545 /^X\(\/\/\)[^/].*/{
22546 s//\1/
22549 /^X\(\/\/\)$/{
22550 s//\1/
22553 /^X\(\/\).*/{
22554 s//\1/
22557 s/.*/./; q'`
22558 as_dir="$ac_dir"; as_fn_mkdir_p
22559 ac_builddir=.
22561 case "$ac_dir" in
22562 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22564 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22565 # A ".." for each directory in $ac_dir_suffix.
22566 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22567 case $ac_top_builddir_sub in
22568 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22569 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22570 esac ;;
22571 esac
22572 ac_abs_top_builddir=$ac_pwd
22573 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22574 # for backward compatibility:
22575 ac_top_builddir=$ac_top_build_prefix
22577 case $srcdir in
22578 .) # We are building in place.
22579 ac_srcdir=.
22580 ac_top_srcdir=$ac_top_builddir_sub
22581 ac_abs_top_srcdir=$ac_pwd ;;
22582 [\\/]* | ?:[\\/]* ) # Absolute name.
22583 ac_srcdir=$srcdir$ac_dir_suffix;
22584 ac_top_srcdir=$srcdir
22585 ac_abs_top_srcdir=$srcdir ;;
22586 *) # Relative name.
22587 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22588 ac_top_srcdir=$ac_top_build_prefix$srcdir
22589 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22590 esac
22591 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22594 case $ac_mode in
22597 # CONFIG_FILE
22600 _ACEOF
22602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22603 # If the template does not know about datarootdir, expand it.
22604 # FIXME: This hack should be removed a few years after 2.60.
22605 ac_datarootdir_hack=; ac_datarootdir_seen=
22606 ac_sed_dataroot='
22607 /datarootdir/ {
22611 /@datadir@/p
22612 /@docdir@/p
22613 /@infodir@/p
22614 /@localedir@/p
22615 /@mandir@/p'
22616 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22617 *datarootdir*) ac_datarootdir_seen=yes;;
22618 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22620 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22621 _ACEOF
22622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22623 ac_datarootdir_hack='
22624 s&@datadir@&$datadir&g
22625 s&@docdir@&$docdir&g
22626 s&@infodir@&$infodir&g
22627 s&@localedir@&$localedir&g
22628 s&@mandir@&$mandir&g
22629 s&\\\${datarootdir}&$datarootdir&g' ;;
22630 esac
22631 _ACEOF
22633 # Neutralize VPATH when `$srcdir' = `.'.
22634 # Shell code in configure.ac might set extrasub.
22635 # FIXME: do we really want to maintain this feature?
22636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22637 ac_sed_extra="$ac_vpsub
22638 $extrasub
22639 _ACEOF
22640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22642 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22643 s|@configure_input@|$ac_sed_conf_input|;t t
22644 s&@top_builddir@&$ac_top_builddir_sub&;t t
22645 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22646 s&@srcdir@&$ac_srcdir&;t t
22647 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22648 s&@top_srcdir@&$ac_top_srcdir&;t t
22649 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22650 s&@builddir@&$ac_builddir&;t t
22651 s&@abs_builddir@&$ac_abs_builddir&;t t
22652 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22653 $ac_datarootdir_hack
22655 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22656 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22658 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22659 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22660 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22661 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22663 which seems to be undefined. Please make sure it is defined" >&5
22664 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22665 which seems to be undefined. Please make sure it is defined" >&2;}
22667 rm -f "$ac_tmp/stdin"
22668 case $ac_file in
22669 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22670 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22671 esac \
22672 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22676 # CONFIG_HEADER
22678 if test x"$ac_file" != x-; then
22680 $as_echo "/* $configure_input */" \
22681 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22682 } >"$ac_tmp/config.h" \
22683 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22684 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22686 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22687 else
22688 rm -f "$ac_file"
22689 mv "$ac_tmp/config.h" "$ac_file" \
22690 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22692 else
22693 $as_echo "/* $configure_input */" \
22694 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22695 || as_fn_error $? "could not create -" "$LINENO" 5
22700 # CONFIG_LINK
22703 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22705 else
22706 # Prefer the file from the source tree if names are identical.
22707 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22708 ac_source=$srcdir/$ac_source
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22712 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22714 if test ! -r "$ac_source"; then
22715 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22717 rm -f "$ac_file"
22719 # Try a relative symlink, then a hard link, then a copy.
22720 case $ac_source in
22721 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22722 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22723 esac
22724 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22725 ln "$ac_source" "$ac_file" 2>/dev/null ||
22726 cp -p "$ac_source" "$ac_file" ||
22727 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22730 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22731 $as_echo "$as_me: executing $ac_file commands" >&6;}
22733 esac
22736 case $ac_file$ac_mode in
22737 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22738 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22739 "Makefile":C) wine_fn_output_makefile Makefile ;;
22741 esac
22742 done # for ac_tag
22745 as_fn_exit 0
22746 _ACEOF
22747 ac_clean_files=$ac_clean_files_save
22749 test $ac_write_fail = 0 ||
22750 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22753 # configure is writing to config.log, and then calls config.status.
22754 # config.status does its own redirection, appending to config.log.
22755 # Unfortunately, on DOS this fails, as config.log is still kept open
22756 # by configure, so config.status won't be able to write to it; its
22757 # output is simply discarded. So we exec the FD to /dev/null,
22758 # effectively closing config.log, so it can be properly (re)opened and
22759 # appended to by config.status. When coming back to configure, we
22760 # need to make the FD available again.
22761 if test "$no_create" != yes; then
22762 ac_cs_success=:
22763 ac_config_status_args=
22764 test "$silent" = yes &&
22765 ac_config_status_args="$ac_config_status_args --quiet"
22766 exec 5>/dev/null
22767 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22768 exec 5>>config.log
22769 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22770 # would make configure fail if this is the last instruction.
22771 $ac_cs_success || as_fn_exit 1
22773 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22775 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22779 if test "$no_create" = "yes"
22780 then
22781 exit 0
22784 ac_save_IFS="$IFS"
22785 if test "x$wine_notices" != x; then
22786 echo >&6
22787 IFS="|"
22788 for msg in $wine_notices; do
22789 IFS="$ac_save_IFS"
22790 if ${msg:+false} :; then :
22792 else
22793 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22794 $as_echo "$as_me: $msg" >&6;}
22796 done
22798 IFS="|"
22799 for msg in $wine_warnings; do
22800 IFS="$ac_save_IFS"
22801 if ${msg:+false} :; then :
22803 else
22804 echo >&2
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22806 $as_echo "$as_me: WARNING: $msg" >&2;}
22808 done
22809 IFS="$ac_save_IFS"
22811 $as_echo "
22812 $as_me: Finished. Do '${ac_make}' to compile Wine.
22813 " >&6