dbghelp/dwarf: Bump max supported version (by default) up to 4.
[wine.git] / configure
blob6acdac3c8585014f8cbf38fa744a6b03897a4fdc
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.18.
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.18'
584 PACKAGE_STRING='Wine 6.18'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JXRLIB_LIBS
649 JXRLIB_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 GSSAPI_LIBS
653 GSSAPI_CFLAGS
654 KRB5_LIBS
655 KRB5_CFLAGS
656 FONTCONFIG_LIBS
657 FONTCONFIG_CFLAGS
658 CUPS_LIBS
659 CUPS_CFLAGS
660 CAPI20_LIBS
661 CAPI20_CFLAGS
662 FAUDIO_LIBS
663 FAUDIO_CFLAGS
664 SDL2_LIBS
665 SDL2_CFLAGS
666 UNWIND_LIBS
667 UNWIND_CFLAGS
668 UDEV_LIBS
669 UDEV_CFLAGS
670 OSS4_LIBS
671 OSS4_CFLAGS
672 ALSA_LIBS
673 GSTREAMER_LIBS
674 GSTREAMER_CFLAGS
675 PULSE_LIBS
676 PULSE_CFLAGS
677 GETTEXTPO_LIBS
678 FREETYPE_LIBS
679 FREETYPE_CFLAGS
680 LCMS2_LIBS
681 LCMS2_CFLAGS
682 RESOLV_LIBS
683 GPHOTO2_PORT_LIBS
684 GPHOTO2_PORT_CFLAGS
685 GPHOTO2_LIBS
686 GPHOTO2_CFLAGS
687 USB_LIBS
688 USB_CFLAGS
689 SANE_LIBS
690 SANE_CFLAGS
691 GNUTLS_LIBS
692 GNUTLS_CFLAGS
693 HAL_LIBS
694 HAL_CFLAGS
695 DBUS_LIBS
696 DBUS_CFLAGS
697 INOTIFY_LIBS
698 INOTIFY_CFLAGS
699 XSLT_LIBS
700 XSLT_CFLAGS
701 XML2_LIBS
702 XML2_CFLAGS
703 PCAP_LIBS
704 X_EXTRA_LIBS
705 X_LIBS
706 X_PRE_LIBS
707 X_CFLAGS
708 XMKMF
709 PTHREAD_LIBS
710 EXCESS_PRECISION_CFLAGS
711 CROSSDEBUG
712 DELAYLOADFLAG
713 CROSSLDFLAGS
714 EXTRACROSSCFLAGS
715 CROSSCFLAGS
716 CROSSCC
717 CROSSTARGET
718 LIBWINE_DEPENDS
719 PRELINK
720 WINELOADER_DEPENDS
721 LIBWINE_LDFLAGS
722 LIBWINE_SHAREDLIB
723 METAL_LIBS
724 CARBON_LIBS
725 QUICKTIME_LIBS
726 OPENCL_LIBS
727 OPENAL_LIBS
728 COREAUDIO_LIBS
729 SECURITY_LIBS
730 DISKARBITRATION_LIBS
731 SYSTEMCONFIGURATION_LIBS
732 APPKIT_LIBS
733 CORESERVICES_LIBS
734 APPLICATIONSERVICES_LIBS
735 FORCEFEEDBACK_LIBS
736 IOKIT_LIBS
737 COREFOUNDATION_LIBS
738 OBJCPP
739 ac_ct_OBJC
740 OBJCFLAGS
741 OBJC
742 DLLTOOL
743 WINELOADER_PROGRAMS
744 CONFIGURE_TARGETS
745 DISABLED_SUBDIRS
746 SUBDIRS
747 READELF
748 OTOOL
750 WINEPRELOADER_LDFLAGS
751 WINELOADER_LDFLAGS
752 TOP_INSTALL_DEV
753 TOP_INSTALL_LIB
754 UNIXLDFLAGS
755 UNIXDLLFLAGS
756 LDEXECFLAGS
757 LDDLLFLAGS
758 DLLFLAGS
760 OPENGL_LIBS
761 I386_LIBS
762 ICOTOOL
763 CONVERT
764 RSVG
765 FONTFORGE
766 PKG_CONFIG
767 MSGFMT
768 LDCONFIG
769 EGREP
770 GREP
771 LN_S
772 RANLIB
773 STRIP
774 ac_ct_AR
776 BISON
777 FLEX
778 TOOLSDIR
779 TARGETFLAGS
781 CPPBIN
782 ac_ct_CXX
783 CXXFLAGS
785 OBJEXT
786 EXEEXT
787 ac_ct_CC
788 CPPFLAGS
789 LDFLAGS
790 CFLAGS
792 SET_MAKE
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 target_alias
802 host_alias
803 build_alias
804 LIBS
805 ECHO_T
806 ECHO_N
807 ECHO_C
808 DEFS
809 mandir
810 localedir
811 libdir
812 psdir
813 pdfdir
814 dvidir
815 htmldir
816 infodir
817 docdir
818 oldincludedir
819 includedir
820 runstatedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_win16
844 enable_win64
845 enable_tests
846 enable_build_id
847 enable_maintainer_mode
848 enable_silent_rules
849 enable_werror
850 with_alsa
851 with_capi
852 with_cms
853 with_coreaudio
854 with_cups
855 with_dbus
856 with_faudio
857 with_float_abi
858 with_fontconfig
859 with_freetype
860 with_gettext
861 with_gettextpo
862 with_gphoto
863 with_gnutls
864 with_gsm
865 with_gssapi
866 with_gstreamer
867 with_hal
868 with_inotify
869 with_jpeg
870 with_jxrlib
871 with_krb5
872 with_ldap
873 with_mingw
874 with_mpg123
875 with_netapi
876 with_openal
877 with_opencl
878 with_opengl
879 with_osmesa
880 with_oss
881 with_pcap
882 with_png
883 with_pthread
884 with_pulse
885 with_quicktime
886 with_sane
887 with_sdl
888 with_tiff
889 with_udev
890 with_unwind
891 with_usb
892 with_v4l2
893 with_vkd3d
894 with_vulkan
895 with_xcomposite
896 with_xcursor
897 with_xfixes
898 with_xinerama
899 with_xinput
900 with_xinput2
901 with_xml
902 with_xrandr
903 with_xrender
904 with_xshape
905 with_xshm
906 with_xslt
907 with_xxf86vm
908 with_wine_tools
909 with_wine64
910 enable_largefile
911 with_x
912 enable_acledit
913 enable_aclui
914 enable_activeds_tlb
915 enable_activeds
916 enable_actxprxy
917 enable_adsiid
918 enable_adsldp
919 enable_adsldpc
920 enable_advapi32
921 enable_advpack
922 enable_amsi
923 enable_amstream
924 enable_api_ms_win_appmodel_identity_l1_1_0
925 enable_api_ms_win_appmodel_runtime_l1_1_1
926 enable_api_ms_win_appmodel_runtime_l1_1_2
927 enable_api_ms_win_core_apiquery_l1_1_0
928 enable_api_ms_win_core_appcompat_l1_1_1
929 enable_api_ms_win_core_appinit_l1_1_0
930 enable_api_ms_win_core_atoms_l1_1_0
931 enable_api_ms_win_core_bem_l1_1_0
932 enable_api_ms_win_core_com_l1_1_0
933 enable_api_ms_win_core_com_l1_1_1
934 enable_api_ms_win_core_com_private_l1_1_0
935 enable_api_ms_win_core_comm_l1_1_0
936 enable_api_ms_win_core_console_l1_1_0
937 enable_api_ms_win_core_console_l1_2_0
938 enable_api_ms_win_core_console_l2_1_0
939 enable_api_ms_win_core_console_l3_2_0
940 enable_api_ms_win_core_crt_l1_1_0
941 enable_api_ms_win_core_crt_l2_1_0
942 enable_api_ms_win_core_datetime_l1_1_0
943 enable_api_ms_win_core_datetime_l1_1_1
944 enable_api_ms_win_core_debug_l1_1_0
945 enable_api_ms_win_core_debug_l1_1_1
946 enable_api_ms_win_core_delayload_l1_1_0
947 enable_api_ms_win_core_delayload_l1_1_1
948 enable_api_ms_win_core_errorhandling_l1_1_0
949 enable_api_ms_win_core_errorhandling_l1_1_1
950 enable_api_ms_win_core_errorhandling_l1_1_2
951 enable_api_ms_win_core_errorhandling_l1_1_3
952 enable_api_ms_win_core_featurestaging_l1_1_0
953 enable_api_ms_win_core_fibers_l1_1_0
954 enable_api_ms_win_core_fibers_l1_1_1
955 enable_api_ms_win_core_file_ansi_l2_1_0
956 enable_api_ms_win_core_file_fromapp_l1_1_0
957 enable_api_ms_win_core_file_l1_1_0
958 enable_api_ms_win_core_file_l1_2_0
959 enable_api_ms_win_core_file_l1_2_1
960 enable_api_ms_win_core_file_l1_2_2
961 enable_api_ms_win_core_file_l2_1_0
962 enable_api_ms_win_core_file_l2_1_1
963 enable_api_ms_win_core_file_l2_1_2
964 enable_api_ms_win_core_handle_l1_1_0
965 enable_api_ms_win_core_heap_l1_1_0
966 enable_api_ms_win_core_heap_l1_2_0
967 enable_api_ms_win_core_heap_l2_1_0
968 enable_api_ms_win_core_heap_obsolete_l1_1_0
969 enable_api_ms_win_core_interlocked_l1_1_0
970 enable_api_ms_win_core_interlocked_l1_2_0
971 enable_api_ms_win_core_io_l1_1_0
972 enable_api_ms_win_core_io_l1_1_1
973 enable_api_ms_win_core_job_l1_1_0
974 enable_api_ms_win_core_job_l2_1_0
975 enable_api_ms_win_core_kernel32_legacy_l1_1_0
976 enable_api_ms_win_core_kernel32_legacy_l1_1_1
977 enable_api_ms_win_core_kernel32_legacy_l1_1_2
978 enable_api_ms_win_core_kernel32_legacy_l1_1_5
979 enable_api_ms_win_core_kernel32_private_l1_1_1
980 enable_api_ms_win_core_largeinteger_l1_1_0
981 enable_api_ms_win_core_libraryloader_l1_1_0
982 enable_api_ms_win_core_libraryloader_l1_1_1
983 enable_api_ms_win_core_libraryloader_l1_2_0
984 enable_api_ms_win_core_libraryloader_l1_2_1
985 enable_api_ms_win_core_libraryloader_l1_2_2
986 enable_api_ms_win_core_libraryloader_l2_1_0
987 enable_api_ms_win_core_localization_l1_1_0
988 enable_api_ms_win_core_localization_l1_2_0
989 enable_api_ms_win_core_localization_l1_2_1
990 enable_api_ms_win_core_localization_l1_2_2
991 enable_api_ms_win_core_localization_l2_1_0
992 enable_api_ms_win_core_localization_obsolete_l1_1_0
993 enable_api_ms_win_core_localization_obsolete_l1_2_0
994 enable_api_ms_win_core_localization_obsolete_l1_3_0
995 enable_api_ms_win_core_localization_private_l1_1_0
996 enable_api_ms_win_core_localregistry_l1_1_0
997 enable_api_ms_win_core_memory_l1_1_0
998 enable_api_ms_win_core_memory_l1_1_1
999 enable_api_ms_win_core_memory_l1_1_2
1000 enable_api_ms_win_core_memory_l1_1_3
1001 enable_api_ms_win_core_memory_l1_1_4
1002 enable_api_ms_win_core_misc_l1_1_0
1003 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1004 enable_api_ms_win_core_namedpipe_l1_1_0
1005 enable_api_ms_win_core_namedpipe_l1_2_0
1006 enable_api_ms_win_core_namespace_l1_1_0
1007 enable_api_ms_win_core_normalization_l1_1_0
1008 enable_api_ms_win_core_path_l1_1_0
1009 enable_api_ms_win_core_privateprofile_l1_1_1
1010 enable_api_ms_win_core_processenvironment_l1_1_0
1011 enable_api_ms_win_core_processenvironment_l1_2_0
1012 enable_api_ms_win_core_processthreads_l1_1_0
1013 enable_api_ms_win_core_processthreads_l1_1_1
1014 enable_api_ms_win_core_processthreads_l1_1_2
1015 enable_api_ms_win_core_processthreads_l1_1_3
1016 enable_api_ms_win_core_processtopology_l1_1_0
1017 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1018 enable_api_ms_win_core_profile_l1_1_0
1019 enable_api_ms_win_core_psapi_ansi_l1_1_0
1020 enable_api_ms_win_core_psapi_l1_1_0
1021 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1022 enable_api_ms_win_core_psm_appnotify_l1_1_0
1023 enable_api_ms_win_core_quirks_l1_1_0
1024 enable_api_ms_win_core_realtime_l1_1_0
1025 enable_api_ms_win_core_registry_l1_1_0
1026 enable_api_ms_win_core_registry_l2_1_0
1027 enable_api_ms_win_core_registry_l2_2_0
1028 enable_api_ms_win_core_registryuserspecific_l1_1_0
1029 enable_api_ms_win_core_rtlsupport_l1_1_0
1030 enable_api_ms_win_core_rtlsupport_l1_2_0
1031 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1032 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1033 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1034 enable_api_ms_win_core_shutdown_l1_1_0
1035 enable_api_ms_win_core_sidebyside_l1_1_0
1036 enable_api_ms_win_core_string_l1_1_0
1037 enable_api_ms_win_core_string_l2_1_0
1038 enable_api_ms_win_core_string_obsolete_l1_1_0
1039 enable_api_ms_win_core_stringansi_l1_1_0
1040 enable_api_ms_win_core_stringloader_l1_1_1
1041 enable_api_ms_win_core_synch_ansi_l1_1_0
1042 enable_api_ms_win_core_synch_l1_1_0
1043 enable_api_ms_win_core_synch_l1_2_0
1044 enable_api_ms_win_core_synch_l1_2_1
1045 enable_api_ms_win_core_sysinfo_l1_1_0
1046 enable_api_ms_win_core_sysinfo_l1_2_0
1047 enable_api_ms_win_core_sysinfo_l1_2_1
1048 enable_api_ms_win_core_systemtopology_l1_1_0
1049 enable_api_ms_win_core_threadpool_l1_1_0
1050 enable_api_ms_win_core_threadpool_l1_2_0
1051 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1052 enable_api_ms_win_core_threadpool_private_l1_1_0
1053 enable_api_ms_win_core_timezone_l1_1_0
1054 enable_api_ms_win_core_toolhelp_l1_1_0
1055 enable_api_ms_win_core_url_l1_1_0
1056 enable_api_ms_win_core_util_l1_1_0
1057 enable_api_ms_win_core_version_l1_1_0
1058 enable_api_ms_win_core_version_l1_1_1
1059 enable_api_ms_win_core_version_private_l1_1_0
1060 enable_api_ms_win_core_versionansi_l1_1_0
1061 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1062 enable_api_ms_win_core_winrt_error_l1_1_0
1063 enable_api_ms_win_core_winrt_error_l1_1_1
1064 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1065 enable_api_ms_win_core_winrt_l1_1_0
1066 enable_api_ms_win_core_winrt_registration_l1_1_0
1067 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1068 enable_api_ms_win_core_winrt_string_l1_1_0
1069 enable_api_ms_win_core_winrt_string_l1_1_1
1070 enable_api_ms_win_core_wow64_l1_1_0
1071 enable_api_ms_win_core_wow64_l1_1_1
1072 enable_api_ms_win_core_xstate_l1_1_0
1073 enable_api_ms_win_core_xstate_l2_1_0
1074 enable_api_ms_win_crt_conio_l1_1_0
1075 enable_api_ms_win_crt_convert_l1_1_0
1076 enable_api_ms_win_crt_environment_l1_1_0
1077 enable_api_ms_win_crt_filesystem_l1_1_0
1078 enable_api_ms_win_crt_heap_l1_1_0
1079 enable_api_ms_win_crt_locale_l1_1_0
1080 enable_api_ms_win_crt_math_l1_1_0
1081 enable_api_ms_win_crt_multibyte_l1_1_0
1082 enable_api_ms_win_crt_private_l1_1_0
1083 enable_api_ms_win_crt_process_l1_1_0
1084 enable_api_ms_win_crt_runtime_l1_1_0
1085 enable_api_ms_win_crt_stdio_l1_1_0
1086 enable_api_ms_win_crt_string_l1_1_0
1087 enable_api_ms_win_crt_time_l1_1_0
1088 enable_api_ms_win_crt_utility_l1_1_0
1089 enable_api_ms_win_devices_config_l1_1_0
1090 enable_api_ms_win_devices_config_l1_1_1
1091 enable_api_ms_win_devices_query_l1_1_1
1092 enable_api_ms_win_downlevel_advapi32_l1_1_0
1093 enable_api_ms_win_downlevel_advapi32_l2_1_0
1094 enable_api_ms_win_downlevel_kernel32_l2_1_0
1095 enable_api_ms_win_downlevel_normaliz_l1_1_0
1096 enable_api_ms_win_downlevel_ole32_l1_1_0
1097 enable_api_ms_win_downlevel_shell32_l1_1_0
1098 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1099 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1100 enable_api_ms_win_downlevel_user32_l1_1_0
1101 enable_api_ms_win_downlevel_version_l1_1_0
1102 enable_api_ms_win_dx_d3dkmt_l1_1_0
1103 enable_api_ms_win_eventing_classicprovider_l1_1_0
1104 enable_api_ms_win_eventing_consumer_l1_1_0
1105 enable_api_ms_win_eventing_controller_l1_1_0
1106 enable_api_ms_win_eventing_legacy_l1_1_0
1107 enable_api_ms_win_eventing_provider_l1_1_0
1108 enable_api_ms_win_eventlog_legacy_l1_1_0
1109 enable_api_ms_win_gaming_tcui_l1_1_0
1110 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1111 enable_api_ms_win_mm_joystick_l1_1_0
1112 enable_api_ms_win_mm_misc_l1_1_1
1113 enable_api_ms_win_mm_mme_l1_1_0
1114 enable_api_ms_win_mm_time_l1_1_0
1115 enable_api_ms_win_ntuser_dc_access_l1_1_0
1116 enable_api_ms_win_ntuser_rectangle_l1_1_0
1117 enable_api_ms_win_ntuser_sysparams_l1_1_0
1118 enable_api_ms_win_perf_legacy_l1_1_0
1119 enable_api_ms_win_power_base_l1_1_0
1120 enable_api_ms_win_power_setting_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1122 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1123 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1124 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1125 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1126 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1127 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1128 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1129 enable_api_ms_win_security_audit_l1_1_1
1130 enable_api_ms_win_security_base_l1_1_0
1131 enable_api_ms_win_security_base_l1_2_0
1132 enable_api_ms_win_security_base_private_l1_1_1
1133 enable_api_ms_win_security_credentials_l1_1_0
1134 enable_api_ms_win_security_cryptoapi_l1_1_0
1135 enable_api_ms_win_security_grouppolicy_l1_1_0
1136 enable_api_ms_win_security_lsalookup_l1_1_0
1137 enable_api_ms_win_security_lsalookup_l1_1_1
1138 enable_api_ms_win_security_lsalookup_l2_1_0
1139 enable_api_ms_win_security_lsalookup_l2_1_1
1140 enable_api_ms_win_security_lsapolicy_l1_1_0
1141 enable_api_ms_win_security_provider_l1_1_0
1142 enable_api_ms_win_security_sddl_l1_1_0
1143 enable_api_ms_win_security_systemfunctions_l1_1_0
1144 enable_api_ms_win_service_core_l1_1_0
1145 enable_api_ms_win_service_core_l1_1_1
1146 enable_api_ms_win_service_management_l1_1_0
1147 enable_api_ms_win_service_management_l2_1_0
1148 enable_api_ms_win_service_private_l1_1_1
1149 enable_api_ms_win_service_winsvc_l1_1_0
1150 enable_api_ms_win_service_winsvc_l1_2_0
1151 enable_api_ms_win_shcore_obsolete_l1_1_0
1152 enable_api_ms_win_shcore_scaling_l1_1_0
1153 enable_api_ms_win_shcore_scaling_l1_1_1
1154 enable_api_ms_win_shcore_stream_l1_1_0
1155 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1156 enable_api_ms_win_shcore_thread_l1_1_0
1157 enable_api_ms_win_shell_shellcom_l1_1_0
1158 enable_api_ms_win_shell_shellfolders_l1_1_0
1159 enable_apphelp
1160 enable_appwiz_cpl
1161 enable_atl
1162 enable_atl100
1163 enable_atl110
1164 enable_atl80
1165 enable_atl90
1166 enable_atlthunk
1167 enable_atmlib
1168 enable_authz
1169 enable_avicap32
1170 enable_avifil32
1171 enable_avrt
1172 enable_bcrypt
1173 enable_bluetoothapis
1174 enable_browseui
1175 enable_bthprops_cpl
1176 enable_cabinet
1177 enable_capi2032
1178 enable_cards
1179 enable_cdosys
1180 enable_cfgmgr32
1181 enable_clusapi
1182 enable_combase
1183 enable_comcat
1184 enable_comctl32
1185 enable_comdlg32
1186 enable_compstui
1187 enable_comsvcs
1188 enable_concrt140
1189 enable_connect
1190 enable_credui
1191 enable_crtdll
1192 enable_crypt32
1193 enable_cryptdlg
1194 enable_cryptdll
1195 enable_cryptext
1196 enable_cryptnet
1197 enable_cryptsp
1198 enable_cryptui
1199 enable_ctapi32
1200 enable_ctl3d32
1201 enable_d2d1
1202 enable_d3d10
1203 enable_d3d10_1
1204 enable_d3d10core
1205 enable_d3d11
1206 enable_d3d12
1207 enable_d3d8
1208 enable_d3d8thk
1209 enable_d3d9
1210 enable_d3dcompiler_33
1211 enable_d3dcompiler_34
1212 enable_d3dcompiler_35
1213 enable_d3dcompiler_36
1214 enable_d3dcompiler_37
1215 enable_d3dcompiler_38
1216 enable_d3dcompiler_39
1217 enable_d3dcompiler_40
1218 enable_d3dcompiler_41
1219 enable_d3dcompiler_42
1220 enable_d3dcompiler_43
1221 enable_d3dcompiler_46
1222 enable_d3dcompiler_47
1223 enable_d3dim
1224 enable_d3dim700
1225 enable_d3drm
1226 enable_d3dx10_33
1227 enable_d3dx10_34
1228 enable_d3dx10_35
1229 enable_d3dx10_36
1230 enable_d3dx10_37
1231 enable_d3dx10_38
1232 enable_d3dx10_39
1233 enable_d3dx10_40
1234 enable_d3dx10_41
1235 enable_d3dx10_42
1236 enable_d3dx10_43
1237 enable_d3dx11_42
1238 enable_d3dx11_43
1239 enable_d3dx9_24
1240 enable_d3dx9_25
1241 enable_d3dx9_26
1242 enable_d3dx9_27
1243 enable_d3dx9_28
1244 enable_d3dx9_29
1245 enable_d3dx9_30
1246 enable_d3dx9_31
1247 enable_d3dx9_32
1248 enable_d3dx9_33
1249 enable_d3dx9_34
1250 enable_d3dx9_35
1251 enable_d3dx9_36
1252 enable_d3dx9_37
1253 enable_d3dx9_38
1254 enable_d3dx9_39
1255 enable_d3dx9_40
1256 enable_d3dx9_41
1257 enable_d3dx9_42
1258 enable_d3dx9_43
1259 enable_d3dxof
1260 enable_davclnt
1261 enable_dbgeng
1262 enable_dbghelp
1263 enable_dciman32
1264 enable_dcomp
1265 enable_ddraw
1266 enable_ddrawex
1267 enable_devenum
1268 enable_dhcpcsvc
1269 enable_dhtmled_ocx
1270 enable_difxapi
1271 enable_dinput
1272 enable_dinput8
1273 enable_directmanipulation
1274 enable_dispex
1275 enable_dmband
1276 enable_dmcompos
1277 enable_dmime
1278 enable_dmloader
1279 enable_dmoguids
1280 enable_dmscript
1281 enable_dmstyle
1282 enable_dmsynth
1283 enable_dmusic
1284 enable_dmusic32
1285 enable_dnsapi
1286 enable_dplay
1287 enable_dplayx
1288 enable_dpnaddr
1289 enable_dpnet
1290 enable_dpnhpast
1291 enable_dpnhupnp
1292 enable_dpnlobby
1293 enable_dpvoice
1294 enable_dpwsockx
1295 enable_drmclien
1296 enable_dsdmo
1297 enable_dsound
1298 enable_dsquery
1299 enable_dssenh
1300 enable_dsuiext
1301 enable_dswave
1302 enable_dwmapi
1303 enable_dwrite
1304 enable_dx8vb
1305 enable_dxdiagn
1306 enable_dxerr8
1307 enable_dxerr9
1308 enable_dxgi
1309 enable_dxguid
1310 enable_dxtrans
1311 enable_dxva2
1312 enable_esent
1313 enable_evr
1314 enable_explorerframe
1315 enable_ext_ms_win_authz_context_l1_1_0
1316 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1317 enable_ext_ms_win_dwmapi_ext_l1_1_0
1318 enable_ext_ms_win_gdi_dc_create_l1_1_0
1319 enable_ext_ms_win_gdi_dc_create_l1_1_1
1320 enable_ext_ms_win_gdi_dc_l1_2_0
1321 enable_ext_ms_win_gdi_devcaps_l1_1_0
1322 enable_ext_ms_win_gdi_draw_l1_1_0
1323 enable_ext_ms_win_gdi_draw_l1_1_1
1324 enable_ext_ms_win_gdi_font_l1_1_0
1325 enable_ext_ms_win_gdi_font_l1_1_1
1326 enable_ext_ms_win_gdi_render_l1_1_0
1327 enable_ext_ms_win_kernel32_package_current_l1_1_0
1328 enable_ext_ms_win_kernel32_package_l1_1_1
1329 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1330 enable_ext_ms_win_ntuser_draw_l1_1_0
1331 enable_ext_ms_win_ntuser_gui_l1_1_0
1332 enable_ext_ms_win_ntuser_gui_l1_3_0
1333 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1334 enable_ext_ms_win_ntuser_message_l1_1_0
1335 enable_ext_ms_win_ntuser_message_l1_1_1
1336 enable_ext_ms_win_ntuser_misc_l1_1_0
1337 enable_ext_ms_win_ntuser_misc_l1_2_0
1338 enable_ext_ms_win_ntuser_misc_l1_5_1
1339 enable_ext_ms_win_ntuser_mouse_l1_1_0
1340 enable_ext_ms_win_ntuser_private_l1_1_1
1341 enable_ext_ms_win_ntuser_private_l1_3_1
1342 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1343 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1344 enable_ext_ms_win_ntuser_window_l1_1_0
1345 enable_ext_ms_win_ntuser_window_l1_1_1
1346 enable_ext_ms_win_ntuser_window_l1_1_4
1347 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1348 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1349 enable_ext_ms_win_oleacc_l1_1_0
1350 enable_ext_ms_win_ras_rasapi32_l1_1_0
1351 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1352 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1353 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1354 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1355 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1356 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1357 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1358 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1359 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1360 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1361 enable_ext_ms_win_security_credui_l1_1_0
1362 enable_ext_ms_win_security_cryptui_l1_1_0
1363 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1364 enable_ext_ms_win_shell_comdlg32_l1_1_0
1365 enable_ext_ms_win_shell_shell32_l1_2_0
1366 enable_ext_ms_win_uxtheme_themes_l1_1_0
1367 enable_faultrep
1368 enable_feclient
1369 enable_fltlib
1370 enable_fltmgr_sys
1371 enable_fntcache
1372 enable_fontsub
1373 enable_fusion
1374 enable_fwpuclnt
1375 enable_gameux
1376 enable_gamingtcui
1377 enable_gdi32
1378 enable_gdiplus
1379 enable_glu32
1380 enable_gphoto2_ds
1381 enable_gpkcsp
1382 enable_hal
1383 enable_hhctrl_ocx
1384 enable_hid
1385 enable_hidclass_sys
1386 enable_hidparse_sys
1387 enable_hlink
1388 enable_hnetcfg
1389 enable_http_sys
1390 enable_httpapi
1391 enable_iccvid
1392 enable_icmp
1393 enable_ieframe
1394 enable_ieproxy
1395 enable_imaadp32_acm
1396 enable_imagehlp
1397 enable_imm32
1398 enable_inetcomm
1399 enable_inetcpl_cpl
1400 enable_inetmib1
1401 enable_infosoft
1402 enable_initpki
1403 enable_inkobj
1404 enable_inseng
1405 enable_iphlpapi
1406 enable_iprop
1407 enable_irprops_cpl
1408 enable_itircl
1409 enable_itss
1410 enable_joy_cpl
1411 enable_jscript
1412 enable_jsproxy
1413 enable_kerberos
1414 enable_kernel32
1415 enable_kernelbase
1416 enable_ksecdd_sys
1417 enable_ksproxy_ax
1418 enable_ksuser
1419 enable_ktmw32
1420 enable_l3codeca_acm
1421 enable_light_msstyles
1422 enable_loadperf
1423 enable_localspl
1424 enable_localui
1425 enable_lz32
1426 enable_mapi32
1427 enable_mapistub
1428 enable_mciavi32
1429 enable_mcicda
1430 enable_mciqtz32
1431 enable_mciseq
1432 enable_mciwave
1433 enable_mf
1434 enable_mf3216
1435 enable_mferror
1436 enable_mfmediaengine
1437 enable_mfplat
1438 enable_mfplay
1439 enable_mfreadwrite
1440 enable_mfuuid
1441 enable_mgmtapi
1442 enable_midimap
1443 enable_mlang
1444 enable_mmcndmgr
1445 enable_mmdevapi
1446 enable_mountmgr_sys
1447 enable_mp3dmod
1448 enable_mpr
1449 enable_mprapi
1450 enable_msacm32_drv
1451 enable_msacm32
1452 enable_msado15
1453 enable_msadp32_acm
1454 enable_msasn1
1455 enable_mscat32
1456 enable_mscms
1457 enable_mscoree
1458 enable_mscorwks
1459 enable_msctf
1460 enable_msctfp
1461 enable_msdaps
1462 enable_msdelta
1463 enable_msdmo
1464 enable_msdrm
1465 enable_msftedit
1466 enable_msg711_acm
1467 enable_msgsm32_acm
1468 enable_mshtml_tlb
1469 enable_mshtml
1470 enable_msi
1471 enable_msident
1472 enable_msimg32
1473 enable_msimsg
1474 enable_msimtf
1475 enable_msisip
1476 enable_msisys_ocx
1477 enable_msls31
1478 enable_msnet32
1479 enable_mspatcha
1480 enable_msports
1481 enable_msrle32
1482 enable_msscript_ocx
1483 enable_mssign32
1484 enable_mssip32
1485 enable_mstask
1486 enable_msv1_0
1487 enable_msvcirt
1488 enable_msvcm80
1489 enable_msvcm90
1490 enable_msvcp100
1491 enable_msvcp110
1492 enable_msvcp120
1493 enable_msvcp120_app
1494 enable_msvcp140
1495 enable_msvcp140_1
1496 enable_msvcp60
1497 enable_msvcp70
1498 enable_msvcp71
1499 enable_msvcp80
1500 enable_msvcp90
1501 enable_msvcr100
1502 enable_msvcr110
1503 enable_msvcr120
1504 enable_msvcr120_app
1505 enable_msvcr70
1506 enable_msvcr71
1507 enable_msvcr80
1508 enable_msvcr90
1509 enable_msvcrt
1510 enable_msvcrt20
1511 enable_msvcrt40
1512 enable_msvcrtd
1513 enable_msvfw32
1514 enable_msvidc32
1515 enable_mswsock
1516 enable_msxml
1517 enable_msxml2
1518 enable_msxml3
1519 enable_msxml4
1520 enable_msxml6
1521 enable_mtxdm
1522 enable_ncrypt
1523 enable_nddeapi
1524 enable_ndis_sys
1525 enable_netapi32
1526 enable_netcfgx
1527 enable_netio_sys
1528 enable_netprofm
1529 enable_netutils
1530 enable_newdev
1531 enable_ninput
1532 enable_normaliz
1533 enable_npmshtml
1534 enable_npptools
1535 enable_nsi
1536 enable_nsiproxy_sys
1537 enable_ntdll
1538 enable_ntdsapi
1539 enable_ntoskrnl_exe
1540 enable_ntprint
1541 enable_objsel
1542 enable_odbc32
1543 enable_odbcbcp
1544 enable_odbccp32
1545 enable_odbccu32
1546 enable_ole32
1547 enable_oleacc
1548 enable_oleaut32
1549 enable_olecli32
1550 enable_oledb32
1551 enable_oledlg
1552 enable_olepro32
1553 enable_olesvr32
1554 enable_olethk32
1555 enable_opcservices
1556 enable_openal32
1557 enable_opencl
1558 enable_opengl32
1559 enable_packager
1560 enable_pdh
1561 enable_photometadatahandler
1562 enable_pidgen
1563 enable_powrprof
1564 enable_printui
1565 enable_prntvpt
1566 enable_propsys
1567 enable_psapi
1568 enable_pstorec
1569 enable_pwrshplugin
1570 enable_qasf
1571 enable_qcap
1572 enable_qdvd
1573 enable_qedit
1574 enable_qmgr
1575 enable_qmgrprxy
1576 enable_quartz
1577 enable_query
1578 enable_qwave
1579 enable_rasapi32
1580 enable_rasdlg
1581 enable_regapi
1582 enable_resutils
1583 enable_riched20
1584 enable_riched32
1585 enable_rpcrt4
1586 enable_rsabase
1587 enable_rsaenh
1588 enable_rstrtmgr
1589 enable_rtutils
1590 enable_rtworkq
1591 enable_samlib
1592 enable_sane_ds
1593 enable_sapi
1594 enable_sas
1595 enable_scarddlg
1596 enable_sccbase
1597 enable_schannel
1598 enable_schedsvc
1599 enable_scrobj
1600 enable_scrrun
1601 enable_scsiport_sys
1602 enable_sechost
1603 enable_secur32
1604 enable_security
1605 enable_sensapi
1606 enable_serialui
1607 enable_setupapi
1608 enable_sfc
1609 enable_sfc_os
1610 enable_shcore
1611 enable_shdoclc
1612 enable_shdocvw
1613 enable_shell32
1614 enable_shfolder
1615 enable_shlwapi
1616 enable_slbcsp
1617 enable_slc
1618 enable_snmpapi
1619 enable_softpub
1620 enable_spoolss
1621 enable_sppc
1622 enable_srclient
1623 enable_srvcli
1624 enable_sspicli
1625 enable_stdole2_tlb
1626 enable_stdole32_tlb
1627 enable_sti
1628 enable_strmbase
1629 enable_strmdll
1630 enable_strmiids
1631 enable_svrapi
1632 enable_sxs
1633 enable_t2embed
1634 enable_tapi32
1635 enable_taskschd
1636 enable_tbs
1637 enable_tdh
1638 enable_tdi_sys
1639 enable_traffic
1640 enable_twain_32
1641 enable_tzres
1642 enable_ucrtbase
1643 enable_uianimation
1644 enable_uiautomationcore
1645 enable_uiribbon
1646 enable_unicows
1647 enable_updspapi
1648 enable_url
1649 enable_urlmon
1650 enable_usbd_sys
1651 enable_user32
1652 enable_userenv
1653 enable_usp10
1654 enable_utildll
1655 enable_uuid
1656 enable_uxtheme
1657 enable_vbscript
1658 enable_vcomp
1659 enable_vcomp100
1660 enable_vcomp110
1661 enable_vcomp120
1662 enable_vcomp140
1663 enable_vcomp90
1664 enable_vcruntime140
1665 enable_vcruntime140_1
1666 enable_vdmdbg
1667 enable_version
1668 enable_vga
1669 enable_virtdisk
1670 enable_vssapi
1671 enable_vulkan_1
1672 enable_wbemdisp
1673 enable_wbemprox
1674 enable_wbemuuid
1675 enable_wdscore
1676 enable_webservices
1677 enable_websocket
1678 enable_wer
1679 enable_wevtapi
1680 enable_wevtsvc
1681 enable_wiaservc
1682 enable_wimgapi
1683 enable_win32u
1684 enable_windows_gaming_input
1685 enable_windows_globalization
1686 enable_windows_media_devices
1687 enable_windows_media_speech
1688 enable_windowscodecs
1689 enable_windowscodecsext
1690 enable_winealsa_drv
1691 enable_wineandroid_drv
1692 enable_winebus_sys
1693 enable_winecoreaudio_drv
1694 enable_winecrt0
1695 enable_wined3d
1696 enable_winegstreamer
1697 enable_winehid_sys
1698 enable_winejoystick_drv
1699 enable_winemac_drv
1700 enable_winemapi
1701 enable_wineoss_drv
1702 enable_wineps_drv
1703 enable_winepulse_drv
1704 enable_wineqtdecoder
1705 enable_wineusb_sys
1706 enable_winevulkan
1707 enable_winex11_drv
1708 enable_winexinput_sys
1709 enable_wing32
1710 enable_winhttp
1711 enable_wininet
1712 enable_winmm
1713 enable_winnls32
1714 enable_winscard
1715 enable_winspool_drv
1716 enable_winsta
1717 enable_wintab32
1718 enable_wintrust
1719 enable_winusb
1720 enable_wlanapi
1721 enable_wlanui
1722 enable_wldap32
1723 enable_wmasf
1724 enable_wmcodecdspuuid
1725 enable_wmi
1726 enable_wmiutils
1727 enable_wmp
1728 enable_wmphoto
1729 enable_wmvcore
1730 enable_wnaspi32
1731 enable_wow64
1732 enable_wow64cpu
1733 enable_wow64win
1734 enable_wpc
1735 enable_wpcap
1736 enable_ws2_32
1737 enable_wsdapi
1738 enable_wshom_ocx
1739 enable_wsnmp32
1740 enable_wsock32
1741 enable_wtsapi32
1742 enable_wuapi
1743 enable_wuaueng
1744 enable_x3daudio1_0
1745 enable_x3daudio1_1
1746 enable_x3daudio1_2
1747 enable_x3daudio1_3
1748 enable_x3daudio1_4
1749 enable_x3daudio1_5
1750 enable_x3daudio1_6
1751 enable_x3daudio1_7
1752 enable_xactengine2_0
1753 enable_xactengine2_4
1754 enable_xactengine2_7
1755 enable_xactengine2_9
1756 enable_xactengine3_0
1757 enable_xactengine3_1
1758 enable_xactengine3_2
1759 enable_xactengine3_3
1760 enable_xactengine3_4
1761 enable_xactengine3_5
1762 enable_xactengine3_6
1763 enable_xactengine3_7
1764 enable_xapofx1_1
1765 enable_xapofx1_2
1766 enable_xapofx1_3
1767 enable_xapofx1_4
1768 enable_xapofx1_5
1769 enable_xaudio2_0
1770 enable_xaudio2_1
1771 enable_xaudio2_2
1772 enable_xaudio2_3
1773 enable_xaudio2_4
1774 enable_xaudio2_5
1775 enable_xaudio2_6
1776 enable_xaudio2_7
1777 enable_xaudio2_8
1778 enable_xaudio2_9
1779 enable_xinput1_1
1780 enable_xinput1_2
1781 enable_xinput1_3
1782 enable_xinput1_4
1783 enable_xinput9_1_0
1784 enable_xmllite
1785 enable_xolehlp
1786 enable_xpsprint
1787 enable_xpssvcs
1788 enable_fonts
1789 enable_include
1790 enable_port
1791 enable_wine
1792 enable_loader
1793 enable_nls
1794 enable_po
1795 enable_arp
1796 enable_aspnet_regiis
1797 enable_attrib
1798 enable_cabarc
1799 enable_cacls
1800 enable_chcp_com
1801 enable_clock
1802 enable_cmd
1803 enable_conhost
1804 enable_control
1805 enable_cscript
1806 enable_dism
1807 enable_dplaysvr
1808 enable_dpnsvr
1809 enable_dpvsetup
1810 enable_dxdiag
1811 enable_eject
1812 enable_expand
1813 enable_explorer
1814 enable_extrac32
1815 enable_fc
1816 enable_find
1817 enable_findstr
1818 enable_fsutil
1819 enable_hh
1820 enable_hostname
1821 enable_icacls
1822 enable_icinfo
1823 enable_iexplore
1824 enable_ipconfig
1825 enable_lodctr
1826 enable_mofcomp
1827 enable_mshta
1828 enable_msidb
1829 enable_msiexec
1830 enable_msinfo32
1831 enable_net
1832 enable_netsh
1833 enable_netstat
1834 enable_ngen
1835 enable_notepad
1836 enable_oleview
1837 enable_ping
1838 enable_plugplay
1839 enable_powershell
1840 enable_presentationfontcache
1841 enable_progman
1842 enable_reg
1843 enable_regasm
1844 enable_regedit
1845 enable_regini
1846 enable_regsvcs
1847 enable_regsvr32
1848 enable_rpcss
1849 enable_rundll32
1850 enable_sc
1851 enable_schtasks
1852 enable_sdbinst
1853 enable_secedit
1854 enable_servicemodelreg
1855 enable_services
1856 enable_shutdown
1857 enable_spoolsv
1858 enable_start
1859 enable_subst
1860 enable_svchost
1861 enable_systeminfo
1862 enable_taskkill
1863 enable_tasklist
1864 enable_taskmgr
1865 enable_termsv
1866 enable_uninstaller
1867 enable_unlodctr
1868 enable_view
1869 enable_wevtutil
1870 enable_where
1871 enable_whoami
1872 enable_wineboot
1873 enable_winebrowser
1874 enable_winecfg
1875 enable_wineconsole
1876 enable_winedbg
1877 enable_winedevice
1878 enable_winefile
1879 enable_winemenubuilder
1880 enable_winemine
1881 enable_winemsibuilder
1882 enable_winepath
1883 enable_winetest
1884 enable_winhlp32
1885 enable_winmgmt
1886 enable_winver
1887 enable_wmic
1888 enable_wmplayer
1889 enable_wordpad
1890 enable_write
1891 enable_wscript
1892 enable_wuauserv
1893 enable_wusa
1894 enable_xcopy
1895 enable_server
1896 enable_tools
1897 enable_sfnt2fon
1898 enable_widl
1899 enable_winebuild
1900 enable_winedump
1901 enable_winegcc
1902 enable_winemaker
1903 enable_wmc
1904 enable_wrc
1906 ac_precious_vars='build_alias
1907 host_alias
1908 target_alias
1910 CFLAGS
1911 LDFLAGS
1912 LIBS
1913 CPPFLAGS
1915 CXXFLAGS
1918 OBJC
1919 OBJCFLAGS
1920 OBJCPP
1921 XMKMF
1922 XML2_CFLAGS
1923 XML2_LIBS
1924 XSLT_CFLAGS
1925 XSLT_LIBS
1926 INOTIFY_CFLAGS
1927 INOTIFY_LIBS
1928 DBUS_CFLAGS
1929 DBUS_LIBS
1930 HAL_CFLAGS
1931 HAL_LIBS
1932 GNUTLS_CFLAGS
1933 GNUTLS_LIBS
1934 SANE_CFLAGS
1935 SANE_LIBS
1936 USB_CFLAGS
1937 USB_LIBS
1938 GPHOTO2_CFLAGS
1939 GPHOTO2_LIBS
1940 GPHOTO2_PORT_CFLAGS
1941 GPHOTO2_PORT_LIBS
1942 LCMS2_CFLAGS
1943 LCMS2_LIBS
1944 FREETYPE_CFLAGS
1945 FREETYPE_LIBS
1946 PULSE_CFLAGS
1947 PULSE_LIBS
1948 GSTREAMER_CFLAGS
1949 GSTREAMER_LIBS
1950 UDEV_CFLAGS
1951 UDEV_LIBS
1952 UNWIND_CFLAGS
1953 UNWIND_LIBS
1954 SDL2_CFLAGS
1955 SDL2_LIBS
1956 FAUDIO_CFLAGS
1957 FAUDIO_LIBS
1958 CAPI20_CFLAGS
1959 CAPI20_LIBS
1960 CUPS_CFLAGS
1961 CUPS_LIBS
1962 FONTCONFIG_CFLAGS
1963 FONTCONFIG_LIBS
1964 KRB5_CFLAGS
1965 KRB5_LIBS
1966 GSSAPI_CFLAGS
1967 GSSAPI_LIBS
1968 JPEG_CFLAGS
1969 JPEG_LIBS
1970 JXRLIB_CFLAGS
1971 JXRLIB_LIBS
1972 PNG_CFLAGS
1973 PNG_LIBS
1974 TIFF_CFLAGS
1975 TIFF_LIBS
1976 MPG123_CFLAGS
1977 MPG123_LIBS
1978 NETAPI_CFLAGS
1979 NETAPI_LIBS
1980 VKD3D_CFLAGS
1981 VKD3D_LIBS
1982 VKD3D_SHADER_CFLAGS
1983 VKD3D_SHADER_LIBS
1984 LDAP_CFLAGS
1985 LDAP_LIBS'
1988 # Initialize some variables set by options.
1989 ac_init_help=
1990 ac_init_version=false
1991 ac_unrecognized_opts=
1992 ac_unrecognized_sep=
1993 # The variables have the same names as the options, with
1994 # dashes changed to underlines.
1995 cache_file=/dev/null
1996 exec_prefix=NONE
1997 no_create=
1998 no_recursion=
1999 prefix=NONE
2000 program_prefix=NONE
2001 program_suffix=NONE
2002 program_transform_name=s,x,x,
2003 silent=
2004 site=
2005 srcdir=
2006 verbose=
2007 x_includes=NONE
2008 x_libraries=NONE
2010 # Installation directory options.
2011 # These are left unexpanded so users can "make install exec_prefix=/foo"
2012 # and all the variables that are supposed to be based on exec_prefix
2013 # by default will actually change.
2014 # Use braces instead of parens because sh, perl, etc. also accept them.
2015 # (The list follows the same order as the GNU Coding Standards.)
2016 bindir='${exec_prefix}/bin'
2017 sbindir='${exec_prefix}/sbin'
2018 libexecdir='${exec_prefix}/libexec'
2019 datarootdir='${prefix}/share'
2020 datadir='${datarootdir}'
2021 sysconfdir='${prefix}/etc'
2022 sharedstatedir='${prefix}/com'
2023 localstatedir='${prefix}/var'
2024 runstatedir='${localstatedir}/run'
2025 includedir='${prefix}/include'
2026 oldincludedir='/usr/include'
2027 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2028 infodir='${datarootdir}/info'
2029 htmldir='${docdir}'
2030 dvidir='${docdir}'
2031 pdfdir='${docdir}'
2032 psdir='${docdir}'
2033 libdir='${exec_prefix}/lib'
2034 localedir='${datarootdir}/locale'
2035 mandir='${datarootdir}/man'
2037 ac_prev=
2038 ac_dashdash=
2039 for ac_option
2041 # If the previous option needs an argument, assign it.
2042 if test -n "$ac_prev"; then
2043 eval $ac_prev=\$ac_option
2044 ac_prev=
2045 continue
2048 case $ac_option in
2049 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2050 *=) ac_optarg= ;;
2051 *) ac_optarg=yes ;;
2052 esac
2054 # Accept the important Cygnus configure options, so we can diagnose typos.
2056 case $ac_dashdash$ac_option in
2058 ac_dashdash=yes ;;
2060 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2061 ac_prev=bindir ;;
2062 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2063 bindir=$ac_optarg ;;
2065 -build | --build | --buil | --bui | --bu)
2066 ac_prev=build_alias ;;
2067 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2068 build_alias=$ac_optarg ;;
2070 -cache-file | --cache-file | --cache-fil | --cache-fi \
2071 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2072 ac_prev=cache_file ;;
2073 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2074 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2075 cache_file=$ac_optarg ;;
2077 --config-cache | -C)
2078 cache_file=config.cache ;;
2080 -datadir | --datadir | --datadi | --datad)
2081 ac_prev=datadir ;;
2082 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2083 datadir=$ac_optarg ;;
2085 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2086 | --dataroo | --dataro | --datar)
2087 ac_prev=datarootdir ;;
2088 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2089 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2090 datarootdir=$ac_optarg ;;
2092 -disable-* | --disable-*)
2093 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2094 # Reject names that are not valid shell variable names.
2095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2096 as_fn_error $? "invalid feature name: $ac_useropt"
2097 ac_useropt_orig=$ac_useropt
2098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2099 case $ac_user_opts in
2101 "enable_$ac_useropt"
2102 "*) ;;
2103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2104 ac_unrecognized_sep=', ';;
2105 esac
2106 eval enable_$ac_useropt=no ;;
2108 -docdir | --docdir | --docdi | --doc | --do)
2109 ac_prev=docdir ;;
2110 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2111 docdir=$ac_optarg ;;
2113 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2114 ac_prev=dvidir ;;
2115 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2116 dvidir=$ac_optarg ;;
2118 -enable-* | --enable-*)
2119 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2120 # Reject names that are not valid shell variable names.
2121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2122 as_fn_error $? "invalid feature name: $ac_useropt"
2123 ac_useropt_orig=$ac_useropt
2124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2125 case $ac_user_opts in
2127 "enable_$ac_useropt"
2128 "*) ;;
2129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2130 ac_unrecognized_sep=', ';;
2131 esac
2132 eval enable_$ac_useropt=\$ac_optarg ;;
2134 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2135 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2136 | --exec | --exe | --ex)
2137 ac_prev=exec_prefix ;;
2138 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2139 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2140 | --exec=* | --exe=* | --ex=*)
2141 exec_prefix=$ac_optarg ;;
2143 -gas | --gas | --ga | --g)
2144 # Obsolete; use --with-gas.
2145 with_gas=yes ;;
2147 -help | --help | --hel | --he | -h)
2148 ac_init_help=long ;;
2149 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2150 ac_init_help=recursive ;;
2151 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2152 ac_init_help=short ;;
2154 -host | --host | --hos | --ho)
2155 ac_prev=host_alias ;;
2156 -host=* | --host=* | --hos=* | --ho=*)
2157 host_alias=$ac_optarg ;;
2159 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2160 ac_prev=htmldir ;;
2161 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2162 | --ht=*)
2163 htmldir=$ac_optarg ;;
2165 -includedir | --includedir | --includedi | --included | --include \
2166 | --includ | --inclu | --incl | --inc)
2167 ac_prev=includedir ;;
2168 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2169 | --includ=* | --inclu=* | --incl=* | --inc=*)
2170 includedir=$ac_optarg ;;
2172 -infodir | --infodir | --infodi | --infod | --info | --inf)
2173 ac_prev=infodir ;;
2174 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2175 infodir=$ac_optarg ;;
2177 -libdir | --libdir | --libdi | --libd)
2178 ac_prev=libdir ;;
2179 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2180 libdir=$ac_optarg ;;
2182 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2183 | --libexe | --libex | --libe)
2184 ac_prev=libexecdir ;;
2185 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2186 | --libexe=* | --libex=* | --libe=*)
2187 libexecdir=$ac_optarg ;;
2189 -localedir | --localedir | --localedi | --localed | --locale)
2190 ac_prev=localedir ;;
2191 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2192 localedir=$ac_optarg ;;
2194 -localstatedir | --localstatedir | --localstatedi | --localstated \
2195 | --localstate | --localstat | --localsta | --localst | --locals)
2196 ac_prev=localstatedir ;;
2197 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2198 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2199 localstatedir=$ac_optarg ;;
2201 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2202 ac_prev=mandir ;;
2203 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2204 mandir=$ac_optarg ;;
2206 -nfp | --nfp | --nf)
2207 # Obsolete; use --without-fp.
2208 with_fp=no ;;
2210 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2211 | --no-cr | --no-c | -n)
2212 no_create=yes ;;
2214 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2215 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2216 no_recursion=yes ;;
2218 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2219 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2220 | --oldin | --oldi | --old | --ol | --o)
2221 ac_prev=oldincludedir ;;
2222 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2223 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2224 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2225 oldincludedir=$ac_optarg ;;
2227 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2228 ac_prev=prefix ;;
2229 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2230 prefix=$ac_optarg ;;
2232 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2233 | --program-pre | --program-pr | --program-p)
2234 ac_prev=program_prefix ;;
2235 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2236 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2237 program_prefix=$ac_optarg ;;
2239 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2240 | --program-suf | --program-su | --program-s)
2241 ac_prev=program_suffix ;;
2242 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2243 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2244 program_suffix=$ac_optarg ;;
2246 -program-transform-name | --program-transform-name \
2247 | --program-transform-nam | --program-transform-na \
2248 | --program-transform-n | --program-transform- \
2249 | --program-transform | --program-transfor \
2250 | --program-transfo | --program-transf \
2251 | --program-trans | --program-tran \
2252 | --progr-tra | --program-tr | --program-t)
2253 ac_prev=program_transform_name ;;
2254 -program-transform-name=* | --program-transform-name=* \
2255 | --program-transform-nam=* | --program-transform-na=* \
2256 | --program-transform-n=* | --program-transform-=* \
2257 | --program-transform=* | --program-transfor=* \
2258 | --program-transfo=* | --program-transf=* \
2259 | --program-trans=* | --program-tran=* \
2260 | --progr-tra=* | --program-tr=* | --program-t=*)
2261 program_transform_name=$ac_optarg ;;
2263 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2264 ac_prev=pdfdir ;;
2265 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2266 pdfdir=$ac_optarg ;;
2268 -psdir | --psdir | --psdi | --psd | --ps)
2269 ac_prev=psdir ;;
2270 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2271 psdir=$ac_optarg ;;
2273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2274 | -silent | --silent | --silen | --sile | --sil)
2275 silent=yes ;;
2277 -runstatedir | --runstatedir | --runstatedi | --runstated \
2278 | --runstate | --runstat | --runsta | --runst | --runs \
2279 | --run | --ru | --r)
2280 ac_prev=runstatedir ;;
2281 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2282 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2283 | --run=* | --ru=* | --r=*)
2284 runstatedir=$ac_optarg ;;
2286 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2287 ac_prev=sbindir ;;
2288 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2289 | --sbi=* | --sb=*)
2290 sbindir=$ac_optarg ;;
2292 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2293 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2294 | --sharedst | --shareds | --shared | --share | --shar \
2295 | --sha | --sh)
2296 ac_prev=sharedstatedir ;;
2297 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2298 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2299 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2300 | --sha=* | --sh=*)
2301 sharedstatedir=$ac_optarg ;;
2303 -site | --site | --sit)
2304 ac_prev=site ;;
2305 -site=* | --site=* | --sit=*)
2306 site=$ac_optarg ;;
2308 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2309 ac_prev=srcdir ;;
2310 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2311 srcdir=$ac_optarg ;;
2313 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2314 | --syscon | --sysco | --sysc | --sys | --sy)
2315 ac_prev=sysconfdir ;;
2316 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2317 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2318 sysconfdir=$ac_optarg ;;
2320 -target | --target | --targe | --targ | --tar | --ta | --t)
2321 ac_prev=target_alias ;;
2322 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2323 target_alias=$ac_optarg ;;
2325 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2326 verbose=yes ;;
2328 -version | --version | --versio | --versi | --vers | -V)
2329 ac_init_version=: ;;
2331 -with-* | --with-*)
2332 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2333 # Reject names that are not valid shell variable names.
2334 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2335 as_fn_error $? "invalid package name: $ac_useropt"
2336 ac_useropt_orig=$ac_useropt
2337 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2338 case $ac_user_opts in
2340 "with_$ac_useropt"
2341 "*) ;;
2342 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2343 ac_unrecognized_sep=', ';;
2344 esac
2345 eval with_$ac_useropt=\$ac_optarg ;;
2347 -without-* | --without-*)
2348 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2349 # Reject names that are not valid shell variable names.
2350 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2351 as_fn_error $? "invalid package name: $ac_useropt"
2352 ac_useropt_orig=$ac_useropt
2353 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2354 case $ac_user_opts in
2356 "with_$ac_useropt"
2357 "*) ;;
2358 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2359 ac_unrecognized_sep=', ';;
2360 esac
2361 eval with_$ac_useropt=no ;;
2363 --x)
2364 # Obsolete; use --with-x.
2365 with_x=yes ;;
2367 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2368 | --x-incl | --x-inc | --x-in | --x-i)
2369 ac_prev=x_includes ;;
2370 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2371 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2372 x_includes=$ac_optarg ;;
2374 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2375 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2376 ac_prev=x_libraries ;;
2377 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2378 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2379 x_libraries=$ac_optarg ;;
2381 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2382 Try \`$0 --help' for more information"
2385 *=*)
2386 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2387 # Reject names that are not valid shell variable names.
2388 case $ac_envvar in #(
2389 '' | [0-9]* | *[!_$as_cr_alnum]* )
2390 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2391 esac
2392 eval $ac_envvar=\$ac_optarg
2393 export $ac_envvar ;;
2396 # FIXME: should be removed in autoconf 3.0.
2397 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2398 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2399 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2400 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2403 esac
2404 done
2406 if test -n "$ac_prev"; then
2407 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2408 as_fn_error $? "missing argument to $ac_option"
2411 if test -n "$ac_unrecognized_opts"; then
2412 case $enable_option_checking in
2413 no) ;;
2414 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2415 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2416 esac
2419 # Check all directory arguments for consistency.
2420 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2421 datadir sysconfdir sharedstatedir localstatedir includedir \
2422 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2423 libdir localedir mandir runstatedir
2425 eval ac_val=\$$ac_var
2426 # Remove trailing slashes.
2427 case $ac_val in
2428 */ )
2429 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2430 eval $ac_var=\$ac_val;;
2431 esac
2432 # Be sure to have absolute directory names.
2433 case $ac_val in
2434 [\\/$]* | ?:[\\/]* ) continue;;
2435 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2436 esac
2437 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2438 done
2440 # There might be people who depend on the old broken behavior: `$host'
2441 # used to hold the argument of --host etc.
2442 # FIXME: To remove some day.
2443 build=$build_alias
2444 host=$host_alias
2445 target=$target_alias
2447 # FIXME: To remove some day.
2448 if test "x$host_alias" != x; then
2449 if test "x$build_alias" = x; then
2450 cross_compiling=maybe
2451 elif test "x$build_alias" != "x$host_alias"; then
2452 cross_compiling=yes
2456 ac_tool_prefix=
2457 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2459 test "$silent" = yes && exec 6>/dev/null
2462 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2463 ac_ls_di=`ls -di .` &&
2464 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2465 as_fn_error $? "working directory cannot be determined"
2466 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2467 as_fn_error $? "pwd does not report name of working directory"
2470 # Find the source files, if location was not specified.
2471 if test -z "$srcdir"; then
2472 ac_srcdir_defaulted=yes
2473 # Try the directory containing this script, then the parent directory.
2474 ac_confdir=`$as_dirname -- "$as_myself" ||
2475 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2476 X"$as_myself" : 'X\(//\)[^/]' \| \
2477 X"$as_myself" : 'X\(//\)$' \| \
2478 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2479 $as_echo X"$as_myself" |
2480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2481 s//\1/
2484 /^X\(\/\/\)[^/].*/{
2485 s//\1/
2488 /^X\(\/\/\)$/{
2489 s//\1/
2492 /^X\(\/\).*/{
2493 s//\1/
2496 s/.*/./; q'`
2497 srcdir=$ac_confdir
2498 if test ! -r "$srcdir/$ac_unique_file"; then
2499 srcdir=..
2501 else
2502 ac_srcdir_defaulted=no
2504 if test ! -r "$srcdir/$ac_unique_file"; then
2505 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2506 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2508 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2509 ac_abs_confdir=`(
2510 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2511 pwd)`
2512 # When building in place, set srcdir=.
2513 if test "$ac_abs_confdir" = "$ac_pwd"; then
2514 srcdir=.
2516 # Remove unnecessary trailing slashes from srcdir.
2517 # Double slashes in file names in object file debugging info
2518 # mess up M-x gdb in Emacs.
2519 case $srcdir in
2520 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2521 esac
2522 for ac_var in $ac_precious_vars; do
2523 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2524 eval ac_env_${ac_var}_value=\$${ac_var}
2525 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2526 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2527 done
2530 # Report the --help message.
2532 if test "$ac_init_help" = "long"; then
2533 # Omit some internal or obsolete options to make the list less imposing.
2534 # This message is too long to be a string in the A/UX 3.1 sh.
2535 cat <<_ACEOF
2536 \`configure' configures Wine 6.18 to adapt to many kinds of systems.
2538 Usage: $0 [OPTION]... [VAR=VALUE]...
2540 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2541 VAR=VALUE. See below for descriptions of some of the useful variables.
2543 Defaults for the options are specified in brackets.
2545 Configuration:
2546 -h, --help display this help and exit
2547 --help=short display options specific to this package
2548 --help=recursive display the short help of all the included packages
2549 -V, --version display version information and exit
2550 -q, --quiet, --silent do not print \`checking ...' messages
2551 --cache-file=FILE cache test results in FILE [disabled]
2552 -C, --config-cache alias for \`--cache-file=config.cache'
2553 -n, --no-create do not create output files
2554 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2556 Installation directories:
2557 --prefix=PREFIX install architecture-independent files in PREFIX
2558 [$ac_default_prefix]
2559 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2560 [PREFIX]
2562 By default, \`make install' will install all the files in
2563 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2564 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2565 for instance \`--prefix=\$HOME'.
2567 For better control, use the options below.
2569 Fine tuning of the installation directories:
2570 --bindir=DIR user executables [EPREFIX/bin]
2571 --sbindir=DIR system admin executables [EPREFIX/sbin]
2572 --libexecdir=DIR program executables [EPREFIX/libexec]
2573 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2574 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2575 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2576 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2577 --libdir=DIR object code libraries [EPREFIX/lib]
2578 --includedir=DIR C header files [PREFIX/include]
2579 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2580 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2581 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2582 --infodir=DIR info documentation [DATAROOTDIR/info]
2583 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2584 --mandir=DIR man documentation [DATAROOTDIR/man]
2585 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2586 --htmldir=DIR html documentation [DOCDIR]
2587 --dvidir=DIR dvi documentation [DOCDIR]
2588 --pdfdir=DIR pdf documentation [DOCDIR]
2589 --psdir=DIR ps documentation [DOCDIR]
2590 _ACEOF
2592 cat <<\_ACEOF
2594 X features:
2595 --x-includes=DIR X include files are in DIR
2596 --x-libraries=DIR X library files are in DIR
2598 System types:
2599 --build=BUILD configure for building on BUILD [guessed]
2600 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2601 _ACEOF
2604 if test -n "$ac_init_help"; then
2605 case $ac_init_help in
2606 short | recursive ) echo "Configuration of Wine 6.18:";;
2607 esac
2608 cat <<\_ACEOF
2610 Optional Features:
2611 --disable-option-checking ignore unrecognized --enable/--with options
2612 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2613 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2614 --disable-win16 do not include Win16 support
2615 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2616 binaries)
2617 --disable-tests do not build the regression tests
2618 --enable-build-id include .buildid section in output objects
2619 --enable-maintainer-mode
2620 enable maintainer-specific build rules
2621 --enable-silent-rules use silent build rules (override: "make V=1")
2622 --enable-werror treat compilation warnings as errors
2623 --disable-largefile omit support for large files
2625 Optional Packages:
2626 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2627 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2628 --without-alsa do not use the Alsa sound support
2629 --without-capi do not use CAPI (ISDN support)
2630 --without-cms do not use CMS (color management support)
2631 --without-coreaudio do not use the CoreAudio sound support
2632 --without-cups do not use CUPS
2633 --without-dbus do not use DBus (dynamic device support)
2634 --without-faudio do not use FAudio (XAudio2 support)
2635 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2636 --without-fontconfig do not use fontconfig
2637 --without-freetype do not use the FreeType library
2638 --without-gettext do not use gettext
2639 --with-gettextpo use the GetTextPO library to rebuild po files
2640 --without-gphoto do not use gphoto (Digital Camera support)
2641 --without-gnutls do not use GnuTLS (schannel support)
2642 --without-gsm do not use libgsm (GSM 06.10 codec support)
2643 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2644 --without-gstreamer do not use GStreamer (codecs support)
2645 --without-hal do not use HAL (dynamic device support)
2646 --without-inotify do not use inotify (filesystem change notifications)
2647 --without-jpeg do not use JPEG
2648 --without-jxrlib do not use JPEG-XR
2649 --without-krb5 do not use krb5 (Kerberos)
2650 --without-ldap do not use LDAP
2651 --without-mingw do not use the MinGW cross-compiler
2652 --without-mpg123 do not use the mpg123 library
2653 --without-netapi do not use the Samba NetAPI library
2654 --without-openal do not use OpenAL
2655 --without-opencl do not use OpenCL
2656 --without-opengl do not use OpenGL
2657 --without-osmesa do not use the OSMesa library
2658 --without-oss do not use the OSS sound support
2659 --without-pcap do not use the Packet Capture library
2660 --without-png do not use PNG
2661 --without-pthread do not use the pthread library
2662 --without-pulse do not use PulseAudio sound support
2663 --without-quicktime do not use QuickTime support
2664 --without-sane do not use SANE (scanner support)
2665 --without-sdl do not use SDL
2666 --without-tiff do not use TIFF
2667 --without-udev do not use udev (plug and play support)
2668 --without-unwind do not use the libunwind library (exception
2669 handling)
2670 --without-usb do not use the libusb library
2671 --without-v4l2 do not use v4l2 (video capture)
2672 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2673 --without-vulkan do not use Vulkan
2674 --without-xcomposite do not use the Xcomposite extension
2675 --without-xcursor do not use the Xcursor extension
2676 --without-xfixes do not use Xfixes for clipboard change notifications
2677 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2678 --without-xinput do not use the Xinput extension
2679 --without-xinput2 do not use the Xinput 2 extension
2680 --without-xml do not use XML
2681 --without-xrandr do not use Xrandr (multi-monitor support)
2682 --without-xrender do not use the Xrender extension
2683 --without-xshape do not use the Xshape extension
2684 --without-xshm do not use XShm (shared memory extension)
2685 --without-xslt do not use XSLT
2686 --without-xxf86vm do not use XFree video mode extension
2687 --with-wine-tools=DIR use Wine tools from directory DIR
2688 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2689 --with-x use the X Window System
2691 Some influential environment variables:
2692 CC C compiler command
2693 CFLAGS C compiler flags
2694 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2695 nonstandard directory <lib dir>
2696 LIBS libraries to pass to the linker, e.g. -l<library>
2697 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2698 you have headers in a nonstandard directory <include dir>
2699 CXX C++ compiler command
2700 CXXFLAGS C++ compiler flags
2701 CPP C preprocessor
2702 OBJC Objective C compiler command
2703 OBJCFLAGS Objective C compiler flags
2704 OBJCPP Objective C preprocessor
2705 XMKMF Path to xmkmf, Makefile generator for X Window System
2706 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2707 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2708 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2709 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2710 INOTIFY_CFLAGS
2711 C compiler flags for libinotify, overriding pkg-config
2712 INOTIFY_LIBS
2713 Linker flags for libinotify, overriding pkg-config
2714 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2715 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2716 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2717 HAL_LIBS Linker flags for hal, overriding pkg-config
2718 GNUTLS_CFLAGS
2719 C compiler flags for gnutls, overriding pkg-config
2720 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2721 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2722 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2723 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2724 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2725 GPHOTO2_CFLAGS
2726 C compiler flags for libgphoto2, overriding pkg-config
2727 GPHOTO2_LIBS
2728 Linker flags for libgphoto2, overriding pkg-config
2729 GPHOTO2_PORT_CFLAGS
2730 C compiler flags for libgphoto2_port, overriding pkg-config
2731 GPHOTO2_PORT_LIBS
2732 Linker flags for libgphoto2_port, overriding pkg-config
2733 LCMS2_CFLAGS
2734 C compiler flags for lcms2, overriding pkg-config
2735 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2736 FREETYPE_CFLAGS
2737 C compiler flags for freetype2, overriding pkg-config
2738 FREETYPE_LIBS
2739 Linker flags for freetype2, overriding pkg-config
2740 PULSE_CFLAGS
2741 C compiler flags for libpulse, overriding pkg-config
2742 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2743 GSTREAMER_CFLAGS
2744 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2745 gstreamer-audio-1.0, overriding pkg-config
2746 GSTREAMER_LIBS
2747 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2748 gstreamer-audio-1.0, overriding pkg-config
2749 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2750 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2751 UNWIND_CFLAGS
2752 C compiler flags for libunwind, overriding pkg-config
2753 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2754 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2755 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2756 FAUDIO_CFLAGS
2757 C compiler flags for FAudio, overriding pkg-config
2758 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2759 CAPI20_CFLAGS
2760 C compiler flags for capi20, overriding pkg-config
2761 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2762 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2763 CUPS_LIBS Linker flags for cups, overriding pkg-config
2764 FONTCONFIG_CFLAGS
2765 C compiler flags for fontconfig, overriding pkg-config
2766 FONTCONFIG_LIBS
2767 Linker flags for fontconfig, overriding pkg-config
2768 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2769 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2770 GSSAPI_CFLAGS
2771 C compiler flags for krb5-gssapi, overriding pkg-config
2772 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2773 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2774 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2775 JXRLIB_CFLAGS
2776 C compiler flags for jxrlib, overriding pkg-config
2777 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2778 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2779 PNG_LIBS Linker flags for libpng, overriding pkg-config
2780 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2781 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2782 MPG123_CFLAGS
2783 C compiler flags for libmpg123, overriding pkg-config
2784 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2785 NETAPI_CFLAGS
2786 C compiler flags for netapi, overriding pkg-config
2787 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2788 VKD3D_CFLAGS
2789 C compiler flags for libvkd3d, overriding pkg-config
2790 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2791 VKD3D_SHADER_CFLAGS
2792 C compiler flags for libvkd3d-shader, overriding pkg-config
2793 VKD3D_SHADER_LIBS
2794 Linker flags for libvkd3d-shader, overriding pkg-config
2795 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2796 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2798 Use these variables to override the choices made by `configure' or to help
2799 it to find libraries and programs with nonstandard names/locations.
2801 Report bugs to <wine-devel@winehq.org>.
2802 Wine home page: <https://www.winehq.org>.
2803 _ACEOF
2804 ac_status=$?
2807 if test "$ac_init_help" = "recursive"; then
2808 # If there are subdirs, report their specific --help.
2809 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2810 test -d "$ac_dir" ||
2811 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2812 continue
2813 ac_builddir=.
2815 case "$ac_dir" in
2816 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2818 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2819 # A ".." for each directory in $ac_dir_suffix.
2820 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2821 case $ac_top_builddir_sub in
2822 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2823 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2824 esac ;;
2825 esac
2826 ac_abs_top_builddir=$ac_pwd
2827 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2828 # for backward compatibility:
2829 ac_top_builddir=$ac_top_build_prefix
2831 case $srcdir in
2832 .) # We are building in place.
2833 ac_srcdir=.
2834 ac_top_srcdir=$ac_top_builddir_sub
2835 ac_abs_top_srcdir=$ac_pwd ;;
2836 [\\/]* | ?:[\\/]* ) # Absolute name.
2837 ac_srcdir=$srcdir$ac_dir_suffix;
2838 ac_top_srcdir=$srcdir
2839 ac_abs_top_srcdir=$srcdir ;;
2840 *) # Relative name.
2841 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2842 ac_top_srcdir=$ac_top_build_prefix$srcdir
2843 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2844 esac
2845 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2847 cd "$ac_dir" || { ac_status=$?; continue; }
2848 # Check for guested configure.
2849 if test -f "$ac_srcdir/configure.gnu"; then
2850 echo &&
2851 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2852 elif test -f "$ac_srcdir/configure"; then
2853 echo &&
2854 $SHELL "$ac_srcdir/configure" --help=recursive
2855 else
2856 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2857 fi || ac_status=$?
2858 cd "$ac_pwd" || { ac_status=$?; break; }
2859 done
2862 test -n "$ac_init_help" && exit $ac_status
2863 if $ac_init_version; then
2864 cat <<\_ACEOF
2865 Wine configure 6.18
2866 generated by GNU Autoconf 2.69
2868 Copyright (C) 2012 Free Software Foundation, Inc.
2869 This configure script is free software; the Free Software Foundation
2870 gives unlimited permission to copy, distribute and modify it.
2871 _ACEOF
2872 exit
2875 ## ------------------------ ##
2876 ## Autoconf initialization. ##
2877 ## ------------------------ ##
2879 # ac_fn_c_try_compile LINENO
2880 # --------------------------
2881 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2882 ac_fn_c_try_compile ()
2884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2885 rm -f conftest.$ac_objext
2886 if { { ac_try="$ac_compile"
2887 case "(($ac_try" in
2888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889 *) ac_try_echo=$ac_try;;
2890 esac
2891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2892 $as_echo "$ac_try_echo"; } >&5
2893 (eval "$ac_compile") 2>conftest.err
2894 ac_status=$?
2895 if test -s conftest.err; then
2896 grep -v '^ *+' conftest.err >conftest.er1
2897 cat conftest.er1 >&5
2898 mv -f conftest.er1 conftest.err
2900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2901 test $ac_status = 0; } && {
2902 test -z "$ac_c_werror_flag" ||
2903 test ! -s conftest.err
2904 } && test -s conftest.$ac_objext; then :
2905 ac_retval=0
2906 else
2907 $as_echo "$as_me: failed program was:" >&5
2908 sed 's/^/| /' conftest.$ac_ext >&5
2910 ac_retval=1
2912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2913 as_fn_set_status $ac_retval
2915 } # ac_fn_c_try_compile
2917 # ac_fn_cxx_try_compile LINENO
2918 # ----------------------------
2919 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2920 ac_fn_cxx_try_compile ()
2922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2923 rm -f conftest.$ac_objext
2924 if { { ac_try="$ac_compile"
2925 case "(($ac_try" in
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2928 esac
2929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2930 $as_echo "$ac_try_echo"; } >&5
2931 (eval "$ac_compile") 2>conftest.err
2932 ac_status=$?
2933 if test -s conftest.err; then
2934 grep -v '^ *+' conftest.err >conftest.er1
2935 cat conftest.er1 >&5
2936 mv -f conftest.er1 conftest.err
2938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2939 test $ac_status = 0; } && {
2940 test -z "$ac_cxx_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.$ac_objext; then :
2943 ac_retval=0
2944 else
2945 $as_echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2948 ac_retval=1
2950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2951 as_fn_set_status $ac_retval
2953 } # ac_fn_cxx_try_compile
2955 # ac_fn_c_try_link LINENO
2956 # -----------------------
2957 # Try to link conftest.$ac_ext, and return whether this succeeded.
2958 ac_fn_c_try_link ()
2960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2961 rm -f conftest.$ac_objext conftest$ac_exeext
2962 if { { ac_try="$ac_link"
2963 case "(($ac_try" in
2964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2965 *) ac_try_echo=$ac_try;;
2966 esac
2967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2968 $as_echo "$ac_try_echo"; } >&5
2969 (eval "$ac_link") 2>conftest.err
2970 ac_status=$?
2971 if test -s conftest.err; then
2972 grep -v '^ *+' conftest.err >conftest.er1
2973 cat conftest.er1 >&5
2974 mv -f conftest.er1 conftest.err
2976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2977 test $ac_status = 0; } && {
2978 test -z "$ac_c_werror_flag" ||
2979 test ! -s conftest.err
2980 } && test -s conftest$ac_exeext && {
2981 test "$cross_compiling" = yes ||
2982 test -x conftest$ac_exeext
2983 }; then :
2984 ac_retval=0
2985 else
2986 $as_echo "$as_me: failed program was:" >&5
2987 sed 's/^/| /' conftest.$ac_ext >&5
2989 ac_retval=1
2991 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2992 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2993 # interfere with the next link command; also delete a directory that is
2994 # left behind by Apple's compiler. We do this before executing the actions.
2995 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2997 as_fn_set_status $ac_retval
2999 } # ac_fn_c_try_link
3001 # ac_fn_c_try_cpp LINENO
3002 # ----------------------
3003 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3004 ac_fn_c_try_cpp ()
3006 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3007 if { { ac_try="$ac_cpp conftest.$ac_ext"
3008 case "(($ac_try" in
3009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3010 *) ac_try_echo=$ac_try;;
3011 esac
3012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3013 $as_echo "$ac_try_echo"; } >&5
3014 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3015 ac_status=$?
3016 if test -s conftest.err; then
3017 grep -v '^ *+' conftest.err >conftest.er1
3018 cat conftest.er1 >&5
3019 mv -f conftest.er1 conftest.err
3021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3022 test $ac_status = 0; } > conftest.i && {
3023 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3024 test ! -s conftest.err
3025 }; then :
3026 ac_retval=0
3027 else
3028 $as_echo "$as_me: failed program was:" >&5
3029 sed 's/^/| /' conftest.$ac_ext >&5
3031 ac_retval=1
3033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3034 as_fn_set_status $ac_retval
3036 } # ac_fn_c_try_cpp
3038 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3039 # -------------------------------------------------------
3040 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3041 # the include files in INCLUDES and setting the cache variable VAR
3042 # accordingly.
3043 ac_fn_c_check_header_mongrel ()
3045 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3046 if eval \${$3+:} false; then :
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3048 $as_echo_n "checking for $2... " >&6; }
3049 if eval \${$3+:} false; then :
3050 $as_echo_n "(cached) " >&6
3052 eval ac_res=\$$3
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3054 $as_echo "$ac_res" >&6; }
3055 else
3056 # Is the header compilable?
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3058 $as_echo_n "checking $2 usability... " >&6; }
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3062 #include <$2>
3063 _ACEOF
3064 if ac_fn_c_try_compile "$LINENO"; then :
3065 ac_header_compiler=yes
3066 else
3067 ac_header_compiler=no
3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3071 $as_echo "$ac_header_compiler" >&6; }
3073 # Is the header present?
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3075 $as_echo_n "checking $2 presence... " >&6; }
3076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077 /* end confdefs.h. */
3078 #include <$2>
3079 _ACEOF
3080 if ac_fn_c_try_cpp "$LINENO"; then :
3081 ac_header_preproc=yes
3082 else
3083 ac_header_preproc=no
3085 rm -f conftest.err conftest.i conftest.$ac_ext
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3087 $as_echo "$ac_header_preproc" >&6; }
3089 # So? What about this header?
3090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3091 yes:no: )
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3093 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3095 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3097 no:yes:* )
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3099 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3101 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3103 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3105 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3107 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3108 ( $as_echo "## ------------------------------------ ##
3109 ## Report this to wine-devel@winehq.org ##
3110 ## ------------------------------------ ##"
3111 ) | sed "s/^/$as_me: WARNING: /" >&2
3113 esac
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3115 $as_echo_n "checking for $2... " >&6; }
3116 if eval \${$3+:} false; then :
3117 $as_echo_n "(cached) " >&6
3118 else
3119 eval "$3=\$ac_header_compiler"
3121 eval ac_res=\$$3
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3123 $as_echo "$ac_res" >&6; }
3125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3127 } # ac_fn_c_check_header_mongrel
3129 # ac_fn_c_try_run LINENO
3130 # ----------------------
3131 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3132 # that executables *can* be run.
3133 ac_fn_c_try_run ()
3135 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3136 if { { ac_try="$ac_link"
3137 case "(($ac_try" in
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3140 esac
3141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3142 $as_echo "$ac_try_echo"; } >&5
3143 (eval "$ac_link") 2>&5
3144 ac_status=$?
3145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3146 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3147 { { case "(($ac_try" in
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3150 esac
3151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3152 $as_echo "$ac_try_echo"; } >&5
3153 (eval "$ac_try") 2>&5
3154 ac_status=$?
3155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3156 test $ac_status = 0; }; }; then :
3157 ac_retval=0
3158 else
3159 $as_echo "$as_me: program exited with status $ac_status" >&5
3160 $as_echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3163 ac_retval=$ac_status
3165 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3166 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3167 as_fn_set_status $ac_retval
3169 } # ac_fn_c_try_run
3171 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3172 # -------------------------------------------------------
3173 # Tests whether HEADER exists and can be compiled using the include files in
3174 # INCLUDES, setting the cache variable VAR accordingly.
3175 ac_fn_c_check_header_compile ()
3177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3179 $as_echo_n "checking for $2... " >&6; }
3180 if eval \${$3+:} false; then :
3181 $as_echo_n "(cached) " >&6
3182 else
3183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3184 /* end confdefs.h. */
3186 #include <$2>
3187 _ACEOF
3188 if ac_fn_c_try_compile "$LINENO"; then :
3189 eval "$3=yes"
3190 else
3191 eval "$3=no"
3193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 eval ac_res=\$$3
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3197 $as_echo "$ac_res" >&6; }
3198 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3200 } # ac_fn_c_check_header_compile
3202 # ac_fn_objc_try_compile LINENO
3203 # -----------------------------
3204 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3205 ac_fn_objc_try_compile ()
3207 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3208 rm -f conftest.$ac_objext
3209 if { { ac_try="$ac_compile"
3210 case "(($ac_try" in
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3213 esac
3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215 $as_echo "$ac_try_echo"; } >&5
3216 (eval "$ac_compile") 2>conftest.err
3217 ac_status=$?
3218 if test -s conftest.err; then
3219 grep -v '^ *+' conftest.err >conftest.er1
3220 cat conftest.er1 >&5
3221 mv -f conftest.er1 conftest.err
3223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3224 test $ac_status = 0; } && {
3225 test -z "$ac_objc_werror_flag" ||
3226 test ! -s conftest.err
3227 } && test -s conftest.$ac_objext; then :
3228 ac_retval=0
3229 else
3230 $as_echo "$as_me: failed program was:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3233 ac_retval=1
3235 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3236 as_fn_set_status $ac_retval
3238 } # ac_fn_objc_try_compile
3240 # ac_fn_objc_try_cpp LINENO
3241 # -------------------------
3242 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3243 ac_fn_objc_try_cpp ()
3245 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3246 if { { ac_try="$ac_cpp conftest.$ac_ext"
3247 case "(($ac_try" in
3248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249 *) ac_try_echo=$ac_try;;
3250 esac
3251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3252 $as_echo "$ac_try_echo"; } >&5
3253 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3254 ac_status=$?
3255 if test -s conftest.err; then
3256 grep -v '^ *+' conftest.err >conftest.er1
3257 cat conftest.er1 >&5
3258 mv -f conftest.er1 conftest.err
3260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3261 test $ac_status = 0; } > conftest.i && {
3262 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3263 test ! -s conftest.err
3264 }; then :
3265 ac_retval=0
3266 else
3267 $as_echo "$as_me: failed program was:" >&5
3268 sed 's/^/| /' conftest.$ac_ext >&5
3270 ac_retval=1
3272 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3273 as_fn_set_status $ac_retval
3275 } # ac_fn_objc_try_cpp
3277 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3278 # ----------------------------------------------------------
3279 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3280 # the include files in INCLUDES and setting the cache variable VAR
3281 # accordingly.
3282 ac_fn_objc_check_header_mongrel ()
3284 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3285 if eval \${$3+:} false; then :
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3287 $as_echo_n "checking for $2... " >&6; }
3288 if eval \${$3+:} false; then :
3289 $as_echo_n "(cached) " >&6
3291 eval ac_res=\$$3
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3293 $as_echo "$ac_res" >&6; }
3294 else
3295 # Is the header compilable?
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3297 $as_echo_n "checking $2 usability... " >&6; }
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h. */
3301 #include <$2>
3302 _ACEOF
3303 if ac_fn_objc_try_compile "$LINENO"; then :
3304 ac_header_compiler=yes
3305 else
3306 ac_header_compiler=no
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3310 $as_echo "$ac_header_compiler" >&6; }
3312 # Is the header present?
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3314 $as_echo_n "checking $2 presence... " >&6; }
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3317 #include <$2>
3318 _ACEOF
3319 if ac_fn_objc_try_cpp "$LINENO"; then :
3320 ac_header_preproc=yes
3321 else
3322 ac_header_preproc=no
3324 rm -f conftest.err conftest.i conftest.$ac_ext
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3326 $as_echo "$ac_header_preproc" >&6; }
3328 # So? What about this header?
3329 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3330 yes:no: )
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3332 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3334 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3336 no:yes:* )
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3338 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3340 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3342 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3344 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3346 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3347 ( $as_echo "## ------------------------------------ ##
3348 ## Report this to wine-devel@winehq.org ##
3349 ## ------------------------------------ ##"
3350 ) | sed "s/^/$as_me: WARNING: /" >&2
3352 esac
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3354 $as_echo_n "checking for $2... " >&6; }
3355 if eval \${$3+:} false; then :
3356 $as_echo_n "(cached) " >&6
3357 else
3358 eval "$3=\$ac_header_compiler"
3360 eval ac_res=\$$3
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3362 $as_echo "$ac_res" >&6; }
3364 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3366 } # ac_fn_objc_check_header_mongrel
3368 # ac_fn_c_check_func LINENO FUNC VAR
3369 # ----------------------------------
3370 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3371 ac_fn_c_check_func ()
3373 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3375 $as_echo_n "checking for $2... " >&6; }
3376 if eval \${$3+:} false; then :
3377 $as_echo_n "(cached) " >&6
3378 else
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3381 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3383 #define $2 innocuous_$2
3385 /* System header to define __stub macros and hopefully few prototypes,
3386 which can conflict with char $2 (); below.
3387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3388 <limits.h> exists even on freestanding compilers. */
3390 #ifdef __STDC__
3391 # include <limits.h>
3392 #else
3393 # include <assert.h>
3394 #endif
3396 #undef $2
3398 /* Override any GCC internal prototype to avoid an error.
3399 Use char because int might match the return type of a GCC
3400 builtin and then its argument prototype would still apply. */
3401 #ifdef __cplusplus
3402 extern "C"
3403 #endif
3404 char $2 ();
3405 /* The GNU C library defines this for functions which it implements
3406 to always fail with ENOSYS. Some functions are actually named
3407 something starting with __ and the normal name is an alias. */
3408 #if defined __stub_$2 || defined __stub___$2
3409 choke me
3410 #endif
3413 main ()
3415 return $2 ();
3417 return 0;
3419 _ACEOF
3420 if ac_fn_c_try_link "$LINENO"; then :
3421 eval "$3=yes"
3422 else
3423 eval "$3=no"
3425 rm -f core conftest.err conftest.$ac_objext \
3426 conftest$ac_exeext conftest.$ac_ext
3428 eval ac_res=\$$3
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3430 $as_echo "$ac_res" >&6; }
3431 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3433 } # ac_fn_c_check_func
3435 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3436 # ----------------------------------------------------
3437 # Tries to find if the field MEMBER exists in type AGGR, after including
3438 # INCLUDES, setting cache variable VAR accordingly.
3439 ac_fn_c_check_member ()
3441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3443 $as_echo_n "checking for $2.$3... " >&6; }
3444 if eval \${$4+:} false; then :
3445 $as_echo_n "(cached) " >&6
3446 else
3447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3451 main ()
3453 static $2 ac_aggr;
3454 if (ac_aggr.$3)
3455 return 0;
3457 return 0;
3459 _ACEOF
3460 if ac_fn_c_try_compile "$LINENO"; then :
3461 eval "$4=yes"
3462 else
3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h. */
3467 main ()
3469 static $2 ac_aggr;
3470 if (sizeof ac_aggr.$3)
3471 return 0;
3473 return 0;
3475 _ACEOF
3476 if ac_fn_c_try_compile "$LINENO"; then :
3477 eval "$4=yes"
3478 else
3479 eval "$4=no"
3481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3485 eval ac_res=\$$4
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3487 $as_echo "$ac_res" >&6; }
3488 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3490 } # ac_fn_c_check_member
3492 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3493 # -------------------------------------------
3494 # Tests whether TYPE exists after having included INCLUDES, setting cache
3495 # variable VAR accordingly.
3496 ac_fn_c_check_type ()
3498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3500 $as_echo_n "checking for $2... " >&6; }
3501 if eval \${$3+:} false; then :
3502 $as_echo_n "(cached) " >&6
3503 else
3504 eval "$3=no"
3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506 /* end confdefs.h. */
3509 main ()
3511 if (sizeof ($2))
3512 return 0;
3514 return 0;
3516 _ACEOF
3517 if ac_fn_c_try_compile "$LINENO"; then :
3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3522 main ()
3524 if (sizeof (($2)))
3525 return 0;
3527 return 0;
3529 _ACEOF
3530 if ac_fn_c_try_compile "$LINENO"; then :
3532 else
3533 eval "$3=yes"
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3539 eval ac_res=\$$3
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3541 $as_echo "$ac_res" >&6; }
3542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3544 } # ac_fn_c_check_type
3545 cat >config.log <<_ACEOF
3546 This file contains any messages produced by compilers while
3547 running configure, to aid debugging if configure makes a mistake.
3549 It was created by Wine $as_me 6.18, which was
3550 generated by GNU Autoconf 2.69. Invocation command line was
3552 $ $0 $@
3554 _ACEOF
3555 exec 5>>config.log
3557 cat <<_ASUNAME
3558 ## --------- ##
3559 ## Platform. ##
3560 ## --------- ##
3562 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3563 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3564 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3565 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3566 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3568 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3569 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3571 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3572 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3573 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3574 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3575 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3576 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3577 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3579 _ASUNAME
3581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3582 for as_dir in $PATH
3584 IFS=$as_save_IFS
3585 test -z "$as_dir" && as_dir=.
3586 $as_echo "PATH: $as_dir"
3587 done
3588 IFS=$as_save_IFS
3590 } >&5
3592 cat >&5 <<_ACEOF
3595 ## ----------- ##
3596 ## Core tests. ##
3597 ## ----------- ##
3599 _ACEOF
3602 # Keep a trace of the command line.
3603 # Strip out --no-create and --no-recursion so they do not pile up.
3604 # Strip out --silent because we don't want to record it for future runs.
3605 # Also quote any args containing shell meta-characters.
3606 # Make two passes to allow for proper duplicate-argument suppression.
3607 ac_configure_args=
3608 ac_configure_args0=
3609 ac_configure_args1=
3610 ac_must_keep_next=false
3611 for ac_pass in 1 2
3613 for ac_arg
3615 case $ac_arg in
3616 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3617 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3618 | -silent | --silent | --silen | --sile | --sil)
3619 continue ;;
3620 *\'*)
3621 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3622 esac
3623 case $ac_pass in
3624 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3626 as_fn_append ac_configure_args1 " '$ac_arg'"
3627 if test $ac_must_keep_next = true; then
3628 ac_must_keep_next=false # Got value, back to normal.
3629 else
3630 case $ac_arg in
3631 *=* | --config-cache | -C | -disable-* | --disable-* \
3632 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3633 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3634 | -with-* | --with-* | -without-* | --without-* | --x)
3635 case "$ac_configure_args0 " in
3636 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3637 esac
3639 -* ) ac_must_keep_next=true ;;
3640 esac
3642 as_fn_append ac_configure_args " '$ac_arg'"
3644 esac
3645 done
3646 done
3647 { ac_configure_args0=; unset ac_configure_args0;}
3648 { ac_configure_args1=; unset ac_configure_args1;}
3650 # When interrupted or exit'd, cleanup temporary files, and complete
3651 # config.log. We remove comments because anyway the quotes in there
3652 # would cause problems or look ugly.
3653 # WARNING: Use '\'' to represent an apostrophe within the trap.
3654 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3655 trap 'exit_status=$?
3656 # Save into config.log some information that might help in debugging.
3658 echo
3660 $as_echo "## ---------------- ##
3661 ## Cache variables. ##
3662 ## ---------------- ##"
3663 echo
3664 # The following way of writing the cache mishandles newlines in values,
3666 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3667 eval ac_val=\$$ac_var
3668 case $ac_val in #(
3669 *${as_nl}*)
3670 case $ac_var in #(
3671 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3672 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3673 esac
3674 case $ac_var in #(
3675 _ | IFS | as_nl) ;; #(
3676 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3677 *) { eval $ac_var=; unset $ac_var;} ;;
3678 esac ;;
3679 esac
3680 done
3681 (set) 2>&1 |
3682 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3683 *${as_nl}ac_space=\ *)
3684 sed -n \
3685 "s/'\''/'\''\\\\'\'''\''/g;
3686 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3687 ;; #(
3689 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3691 esac |
3692 sort
3694 echo
3696 $as_echo "## ----------------- ##
3697 ## Output variables. ##
3698 ## ----------------- ##"
3699 echo
3700 for ac_var in $ac_subst_vars
3702 eval ac_val=\$$ac_var
3703 case $ac_val in
3704 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3705 esac
3706 $as_echo "$ac_var='\''$ac_val'\''"
3707 done | sort
3708 echo
3710 if test -n "$ac_subst_files"; then
3711 $as_echo "## ------------------- ##
3712 ## File substitutions. ##
3713 ## ------------------- ##"
3714 echo
3715 for ac_var in $ac_subst_files
3717 eval ac_val=\$$ac_var
3718 case $ac_val in
3719 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3720 esac
3721 $as_echo "$ac_var='\''$ac_val'\''"
3722 done | sort
3723 echo
3726 if test -s confdefs.h; then
3727 $as_echo "## ----------- ##
3728 ## confdefs.h. ##
3729 ## ----------- ##"
3730 echo
3731 cat confdefs.h
3732 echo
3734 test "$ac_signal" != 0 &&
3735 $as_echo "$as_me: caught signal $ac_signal"
3736 $as_echo "$as_me: exit $exit_status"
3737 } >&5
3738 rm -f core *.core core.conftest.* &&
3739 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3740 exit $exit_status
3742 for ac_signal in 1 2 13 15; do
3743 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3744 done
3745 ac_signal=0
3747 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3748 rm -f -r conftest* confdefs.h
3750 $as_echo "/* confdefs.h */" > confdefs.h
3752 # Predefined preprocessor variables.
3754 cat >>confdefs.h <<_ACEOF
3755 #define PACKAGE_NAME "$PACKAGE_NAME"
3756 _ACEOF
3758 cat >>confdefs.h <<_ACEOF
3759 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3760 _ACEOF
3762 cat >>confdefs.h <<_ACEOF
3763 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3764 _ACEOF
3766 cat >>confdefs.h <<_ACEOF
3767 #define PACKAGE_STRING "$PACKAGE_STRING"
3768 _ACEOF
3770 cat >>confdefs.h <<_ACEOF
3771 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3772 _ACEOF
3774 cat >>confdefs.h <<_ACEOF
3775 #define PACKAGE_URL "$PACKAGE_URL"
3776 _ACEOF
3779 # Let the site file select an alternate cache file if it wants to.
3780 # Prefer an explicitly selected file to automatically selected ones.
3781 ac_site_file1=NONE
3782 ac_site_file2=NONE
3783 if test -n "$CONFIG_SITE"; then
3784 # We do not want a PATH search for config.site.
3785 case $CONFIG_SITE in #((
3786 -*) ac_site_file1=./$CONFIG_SITE;;
3787 */*) ac_site_file1=$CONFIG_SITE;;
3788 *) ac_site_file1=./$CONFIG_SITE;;
3789 esac
3790 elif test "x$prefix" != xNONE; then
3791 ac_site_file1=$prefix/share/config.site
3792 ac_site_file2=$prefix/etc/config.site
3793 else
3794 ac_site_file1=$ac_default_prefix/share/config.site
3795 ac_site_file2=$ac_default_prefix/etc/config.site
3797 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3799 test "x$ac_site_file" = xNONE && continue
3800 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3802 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3803 sed 's/^/| /' "$ac_site_file" >&5
3804 . "$ac_site_file" \
3805 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3807 as_fn_error $? "failed to load site script $ac_site_file
3808 See \`config.log' for more details" "$LINENO" 5; }
3810 done
3812 if test -r "$cache_file"; then
3813 # Some versions of bash will fail to source /dev/null (special files
3814 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3815 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3817 $as_echo "$as_me: loading cache $cache_file" >&6;}
3818 case $cache_file in
3819 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3820 *) . "./$cache_file";;
3821 esac
3823 else
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3825 $as_echo "$as_me: creating cache $cache_file" >&6;}
3826 >$cache_file
3829 # Check that the precious variables saved in the cache have kept the same
3830 # value.
3831 ac_cache_corrupted=false
3832 for ac_var in $ac_precious_vars; do
3833 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3834 eval ac_new_set=\$ac_env_${ac_var}_set
3835 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3836 eval ac_new_val=\$ac_env_${ac_var}_value
3837 case $ac_old_set,$ac_new_set in
3838 set,)
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3840 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3841 ac_cache_corrupted=: ;;
3842 ,set)
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3844 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3845 ac_cache_corrupted=: ;;
3846 ,);;
3848 if test "x$ac_old_val" != "x$ac_new_val"; then
3849 # differences in whitespace do not lead to failure.
3850 ac_old_val_w=`echo x $ac_old_val`
3851 ac_new_val_w=`echo x $ac_new_val`
3852 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3854 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3855 ac_cache_corrupted=:
3856 else
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3858 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3859 eval $ac_var=\$ac_old_val
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3862 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3864 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3865 fi;;
3866 esac
3867 # Pass precious variables to config.status.
3868 if test "$ac_new_set" = set; then
3869 case $ac_new_val in
3870 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3871 *) ac_arg=$ac_var=$ac_new_val ;;
3872 esac
3873 case " $ac_configure_args " in
3874 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3875 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3876 esac
3878 done
3879 if $ac_cache_corrupted; then
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3883 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3884 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3886 ## -------------------- ##
3887 ## Main body of script. ##
3888 ## -------------------- ##
3890 ac_ext=c
3891 ac_cpp='$CPP $CPPFLAGS'
3892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3898 ac_config_headers="$ac_config_headers include/config.h"
3900 ac_aux_dir=
3901 for ac_dir in tools "$srcdir"/tools; do
3902 if test -f "$ac_dir/install-sh"; then
3903 ac_aux_dir=$ac_dir
3904 ac_install_sh="$ac_aux_dir/install-sh -c"
3905 break
3906 elif test -f "$ac_dir/install.sh"; then
3907 ac_aux_dir=$ac_dir
3908 ac_install_sh="$ac_aux_dir/install.sh -c"
3909 break
3910 elif test -f "$ac_dir/shtool"; then
3911 ac_aux_dir=$ac_dir
3912 ac_install_sh="$ac_aux_dir/shtool install -c"
3913 break
3915 done
3916 if test -z "$ac_aux_dir"; then
3917 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3920 # These three variables are undocumented and unsupported,
3921 # and are intended to be withdrawn in a future Autoconf release.
3922 # They can cause serious problems if a builder's source tree is in a directory
3923 # whose full name contains unusual characters.
3924 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3925 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3926 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3930 libwine_version="1.0"
3934 # Check whether --enable-win16 was given.
3935 if test "${enable_win16+set}" = set; then :
3936 enableval=$enable_win16;
3939 # Check whether --enable-win64 was given.
3940 if test "${enable_win64+set}" = set; then :
3941 enableval=$enable_win64;
3944 # Check whether --enable-tests was given.
3945 if test "${enable_tests+set}" = set; then :
3946 enableval=$enable_tests;
3949 # Check whether --enable-build-id was given.
3950 if test "${enable_build_id+set}" = set; then :
3951 enableval=$enable_build_id;
3954 # Check whether --enable-maintainer-mode was given.
3955 if test "${enable_maintainer_mode+set}" = set; then :
3956 enableval=$enable_maintainer_mode;
3959 # Check whether --enable-silent-rules was given.
3960 if test "${enable_silent_rules+set}" = set; then :
3961 enableval=$enable_silent_rules;
3964 # Check whether --enable-werror was given.
3965 if test "${enable_werror+set}" = set; then :
3966 enableval=$enable_werror;
3971 # Check whether --with-alsa was given.
3972 if test "${with_alsa+set}" = set; then :
3973 withval=$with_alsa;
3977 # Check whether --with-capi was given.
3978 if test "${with_capi+set}" = set; then :
3979 withval=$with_capi;
3983 # Check whether --with-cms was given.
3984 if test "${with_cms+set}" = set; then :
3985 withval=$with_cms;
3989 # Check whether --with-coreaudio was given.
3990 if test "${with_coreaudio+set}" = set; then :
3991 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3995 # Check whether --with-cups was given.
3996 if test "${with_cups+set}" = set; then :
3997 withval=$with_cups;
4001 # Check whether --with-dbus was given.
4002 if test "${with_dbus+set}" = set; then :
4003 withval=$with_dbus;
4007 # Check whether --with-faudio was given.
4008 if test "${with_faudio+set}" = set; then :
4009 withval=$with_faudio;
4013 # Check whether --with-float-abi was given.
4014 if test "${with_float_abi+set}" = set; then :
4015 withval=$with_float_abi;
4019 # Check whether --with-fontconfig was given.
4020 if test "${with_fontconfig+set}" = set; then :
4021 withval=$with_fontconfig;
4025 # Check whether --with-freetype was given.
4026 if test "${with_freetype+set}" = set; then :
4027 withval=$with_freetype;
4031 # Check whether --with-gettext was given.
4032 if test "${with_gettext+set}" = set; then :
4033 withval=$with_gettext;
4037 # Check whether --with-gettextpo was given.
4038 if test "${with_gettextpo+set}" = set; then :
4039 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4043 # Check whether --with-gphoto was given.
4044 if test "${with_gphoto+set}" = set; then :
4045 withval=$with_gphoto;
4049 # Check whether --with-gnutls was given.
4050 if test "${with_gnutls+set}" = set; then :
4051 withval=$with_gnutls;
4055 # Check whether --with-gsm was given.
4056 if test "${with_gsm+set}" = set; then :
4057 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4061 # Check whether --with-gssapi was given.
4062 if test "${with_gssapi+set}" = set; then :
4063 withval=$with_gssapi;
4067 # Check whether --with-gstreamer was given.
4068 if test "${with_gstreamer+set}" = set; then :
4069 withval=$with_gstreamer;
4073 # Check whether --with-hal was given.
4074 if test "${with_hal+set}" = set; then :
4075 withval=$with_hal;
4079 # Check whether --with-inotify was given.
4080 if test "${with_inotify+set}" = set; then :
4081 withval=$with_inotify;
4085 # Check whether --with-jpeg was given.
4086 if test "${with_jpeg+set}" = set; then :
4087 withval=$with_jpeg;
4091 # Check whether --with-jxrlib was given.
4092 if test "${with_jxrlib+set}" = set; then :
4093 withval=$with_jxrlib;
4097 # Check whether --with-krb5 was given.
4098 if test "${with_krb5+set}" = set; then :
4099 withval=$with_krb5;
4103 # Check whether --with-ldap was given.
4104 if test "${with_ldap+set}" = set; then :
4105 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4109 # Check whether --with-mingw was given.
4110 if test "${with_mingw+set}" = set; then :
4111 withval=$with_mingw;
4115 # Check whether --with-mpg123 was given.
4116 if test "${with_mpg123+set}" = set; then :
4117 withval=$with_mpg123;
4121 # Check whether --with-netapi was given.
4122 if test "${with_netapi+set}" = set; then :
4123 withval=$with_netapi;
4127 # Check whether --with-openal was given.
4128 if test "${with_openal+set}" = set; then :
4129 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4133 # Check whether --with-opencl was given.
4134 if test "${with_opencl+set}" = set; then :
4135 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4139 # Check whether --with-opengl was given.
4140 if test "${with_opengl+set}" = set; then :
4141 withval=$with_opengl;
4145 # Check whether --with-osmesa was given.
4146 if test "${with_osmesa+set}" = set; then :
4147 withval=$with_osmesa;
4151 # Check whether --with-oss was given.
4152 if test "${with_oss+set}" = set; then :
4153 withval=$with_oss;
4157 # Check whether --with-pcap was given.
4158 if test "${with_pcap+set}" = set; then :
4159 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4163 # Check whether --with-png was given.
4164 if test "${with_png+set}" = set; then :
4165 withval=$with_png;
4169 # Check whether --with-pthread was given.
4170 if test "${with_pthread+set}" = set; then :
4171 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4175 # Check whether --with-pulse was given.
4176 if test "${with_pulse+set}" = set; then :
4177 withval=$with_pulse;
4181 # Check whether --with-quicktime was given.
4182 if test "${with_quicktime+set}" = set; then :
4183 withval=$with_quicktime;
4187 # Check whether --with-sane was given.
4188 if test "${with_sane+set}" = set; then :
4189 withval=$with_sane;
4193 # Check whether --with-sdl was given.
4194 if test "${with_sdl+set}" = set; then :
4195 withval=$with_sdl;
4199 # Check whether --with-tiff was given.
4200 if test "${with_tiff+set}" = set; then :
4201 withval=$with_tiff;
4205 # Check whether --with-udev was given.
4206 if test "${with_udev+set}" = set; then :
4207 withval=$with_udev;
4211 # Check whether --with-unwind was given.
4212 if test "${with_unwind+set}" = set; then :
4213 withval=$with_unwind;
4217 # Check whether --with-usb was given.
4218 if test "${with_usb+set}" = set; then :
4219 withval=$with_usb;
4223 # Check whether --with-v4l2 was given.
4224 if test "${with_v4l2+set}" = set; then :
4225 withval=$with_v4l2;
4229 # Check whether --with-vkd3d was given.
4230 if test "${with_vkd3d+set}" = set; then :
4231 withval=$with_vkd3d;
4235 # Check whether --with-vulkan was given.
4236 if test "${with_vulkan+set}" = set; then :
4237 withval=$with_vulkan;
4241 # Check whether --with-xcomposite was given.
4242 if test "${with_xcomposite+set}" = set; then :
4243 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4247 # Check whether --with-xcursor was given.
4248 if test "${with_xcursor+set}" = set; then :
4249 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4253 # Check whether --with-xfixes was given.
4254 if test "${with_xfixes+set}" = set; then :
4255 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4259 # Check whether --with-xinerama was given.
4260 if test "${with_xinerama+set}" = set; then :
4261 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4265 # Check whether --with-xinput was given.
4266 if test "${with_xinput+set}" = set; then :
4267 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4271 # Check whether --with-xinput2 was given.
4272 if test "${with_xinput2+set}" = set; then :
4273 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4277 # Check whether --with-xml was given.
4278 if test "${with_xml+set}" = set; then :
4279 withval=$with_xml;
4283 # Check whether --with-xrandr was given.
4284 if test "${with_xrandr+set}" = set; then :
4285 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4289 # Check whether --with-xrender was given.
4290 if test "${with_xrender+set}" = set; then :
4291 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4295 # Check whether --with-xshape was given.
4296 if test "${with_xshape+set}" = set; then :
4297 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4301 # Check whether --with-xshm was given.
4302 if test "${with_xshm+set}" = set; then :
4303 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4307 # Check whether --with-xslt was given.
4308 if test "${with_xslt+set}" = set; then :
4309 withval=$with_xslt;
4313 # Check whether --with-xxf86vm was given.
4314 if test "${with_xxf86vm+set}" = set; then :
4315 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
4320 # Check whether --with-wine-tools was given.
4321 if test "${with_wine_tools+set}" = set; then :
4322 withval=$with_wine_tools;
4326 # Check whether --with-wine64 was given.
4327 if test "${with_wine64+set}" = set; then :
4328 withval=$with_wine64;
4332 # Make sure we can run config.sub.
4333 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4334 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4337 $as_echo_n "checking build system type... " >&6; }
4338 if ${ac_cv_build+:} false; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 ac_build_alias=$build_alias
4342 test "x$ac_build_alias" = x &&
4343 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4344 test "x$ac_build_alias" = x &&
4345 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4346 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4347 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4351 $as_echo "$ac_cv_build" >&6; }
4352 case $ac_cv_build in
4353 *-*-*) ;;
4354 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4355 esac
4356 build=$ac_cv_build
4357 ac_save_IFS=$IFS; IFS='-'
4358 set x $ac_cv_build
4359 shift
4360 build_cpu=$1
4361 build_vendor=$2
4362 shift; shift
4363 # Remember, the first character of IFS is used to create $*,
4364 # except with old shells:
4365 build_os=$*
4366 IFS=$ac_save_IFS
4367 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4371 $as_echo_n "checking host system type... " >&6; }
4372 if ${ac_cv_host+:} false; then :
4373 $as_echo_n "(cached) " >&6
4374 else
4375 if test "x$host_alias" = x; then
4376 ac_cv_host=$ac_cv_build
4377 else
4378 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4379 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4384 $as_echo "$ac_cv_host" >&6; }
4385 case $ac_cv_host in
4386 *-*-*) ;;
4387 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4388 esac
4389 host=$ac_cv_host
4390 ac_save_IFS=$IFS; IFS='-'
4391 set x $ac_cv_host
4392 shift
4393 host_cpu=$1
4394 host_vendor=$2
4395 shift; shift
4396 # Remember, the first character of IFS is used to create $*,
4397 # except with old shells:
4398 host_os=$*
4399 IFS=$ac_save_IFS
4400 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4406 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4407 set x ${MAKE-make}
4408 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4409 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4410 $as_echo_n "(cached) " >&6
4411 else
4412 cat >conftest.make <<\_ACEOF
4413 SHELL = /bin/sh
4414 all:
4415 @echo '@@@%%%=$(MAKE)=@@@%%%'
4416 _ACEOF
4417 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4418 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4419 *@@@%%%=?*=@@@%%%*)
4420 eval ac_cv_prog_make_${ac_make}_set=yes;;
4422 eval ac_cv_prog_make_${ac_make}_set=no;;
4423 esac
4424 rm -f conftest.make
4426 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4428 $as_echo "yes" >&6; }
4429 SET_MAKE=
4430 else
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4433 SET_MAKE="MAKE=${MAKE-make}"
4436 ac_ext=c
4437 ac_cpp='$CPP $CPPFLAGS'
4438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4441 if test -n "$ac_tool_prefix"; then
4442 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4443 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if ${ac_cv_prog_CC+:} false; then :
4447 $as_echo_n "(cached) " >&6
4448 else
4449 if test -n "$CC"; then
4450 ac_cv_prog_CC="$CC" # Let the user override the test.
4451 else
4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 for as_dir in $PATH
4455 IFS=$as_save_IFS
4456 test -z "$as_dir" && as_dir=.
4457 for ac_exec_ext in '' $ac_executable_extensions; do
4458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4459 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 break 2
4463 done
4464 done
4465 IFS=$as_save_IFS
4469 CC=$ac_cv_prog_CC
4470 if test -n "$CC"; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4472 $as_echo "$CC" >&6; }
4473 else
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4480 if test -z "$ac_cv_prog_CC"; then
4481 ac_ct_CC=$CC
4482 # Extract the first word of "gcc", so it can be a program name with args.
4483 set dummy gcc; ac_word=$2
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4485 $as_echo_n "checking for $ac_word... " >&6; }
4486 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4487 $as_echo_n "(cached) " >&6
4488 else
4489 if test -n "$ac_ct_CC"; then
4490 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4491 else
4492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4493 for as_dir in $PATH
4495 IFS=$as_save_IFS
4496 test -z "$as_dir" && as_dir=.
4497 for ac_exec_ext in '' $ac_executable_extensions; do
4498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4499 ac_cv_prog_ac_ct_CC="gcc"
4500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4501 break 2
4503 done
4504 done
4505 IFS=$as_save_IFS
4509 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4510 if test -n "$ac_ct_CC"; then
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4512 $as_echo "$ac_ct_CC" >&6; }
4513 else
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515 $as_echo "no" >&6; }
4518 if test "x$ac_ct_CC" = x; then
4519 CC=""
4520 else
4521 case $cross_compiling:$ac_tool_warned in
4522 yes:)
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4525 ac_tool_warned=yes ;;
4526 esac
4527 CC=$ac_ct_CC
4529 else
4530 CC="$ac_cv_prog_CC"
4533 if test -z "$CC"; then
4534 if test -n "$ac_tool_prefix"; then
4535 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4536 set dummy ${ac_tool_prefix}cc; ac_word=$2
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4538 $as_echo_n "checking for $ac_word... " >&6; }
4539 if ${ac_cv_prog_CC+:} false; then :
4540 $as_echo_n "(cached) " >&6
4541 else
4542 if test -n "$CC"; then
4543 ac_cv_prog_CC="$CC" # Let the user override the test.
4544 else
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4546 for as_dir in $PATH
4548 IFS=$as_save_IFS
4549 test -z "$as_dir" && as_dir=.
4550 for ac_exec_ext in '' $ac_executable_extensions; do
4551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4552 ac_cv_prog_CC="${ac_tool_prefix}cc"
4553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 break 2
4556 done
4557 done
4558 IFS=$as_save_IFS
4562 CC=$ac_cv_prog_CC
4563 if test -n "$CC"; then
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4565 $as_echo "$CC" >&6; }
4566 else
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4574 if test -z "$CC"; then
4575 # Extract the first word of "cc", so it can be a program name with args.
4576 set dummy cc; ac_word=$2
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4578 $as_echo_n "checking for $ac_word... " >&6; }
4579 if ${ac_cv_prog_CC+:} false; then :
4580 $as_echo_n "(cached) " >&6
4581 else
4582 if test -n "$CC"; then
4583 ac_cv_prog_CC="$CC" # Let the user override the test.
4584 else
4585 ac_prog_rejected=no
4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4587 for as_dir in $PATH
4589 IFS=$as_save_IFS
4590 test -z "$as_dir" && as_dir=.
4591 for ac_exec_ext in '' $ac_executable_extensions; do
4592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4593 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4594 ac_prog_rejected=yes
4595 continue
4597 ac_cv_prog_CC="cc"
4598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4599 break 2
4601 done
4602 done
4603 IFS=$as_save_IFS
4605 if test $ac_prog_rejected = yes; then
4606 # We found a bogon in the path, so make sure we never use it.
4607 set dummy $ac_cv_prog_CC
4608 shift
4609 if test $# != 0; then
4610 # We chose a different compiler from the bogus one.
4611 # However, it has the same basename, so the bogon will be chosen
4612 # first if we set CC to just the basename; use the full file name.
4613 shift
4614 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4619 CC=$ac_cv_prog_CC
4620 if test -n "$CC"; then
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4622 $as_echo "$CC" >&6; }
4623 else
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 $as_echo "no" >&6; }
4630 if test -z "$CC"; then
4631 if test -n "$ac_tool_prefix"; then
4632 for ac_prog in cl.exe
4634 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4635 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4637 $as_echo_n "checking for $ac_word... " >&6; }
4638 if ${ac_cv_prog_CC+:} false; then :
4639 $as_echo_n "(cached) " >&6
4640 else
4641 if test -n "$CC"; then
4642 ac_cv_prog_CC="$CC" # Let the user override the test.
4643 else
4644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4645 for as_dir in $PATH
4647 IFS=$as_save_IFS
4648 test -z "$as_dir" && as_dir=.
4649 for ac_exec_ext in '' $ac_executable_extensions; do
4650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4651 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4653 break 2
4655 done
4656 done
4657 IFS=$as_save_IFS
4661 CC=$ac_cv_prog_CC
4662 if test -n "$CC"; then
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4664 $as_echo "$CC" >&6; }
4665 else
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4667 $as_echo "no" >&6; }
4671 test -n "$CC" && break
4672 done
4674 if test -z "$CC"; then
4675 ac_ct_CC=$CC
4676 for ac_prog in cl.exe
4678 # Extract the first word of "$ac_prog", so it can be a program name with args.
4679 set dummy $ac_prog; ac_word=$2
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681 $as_echo_n "checking for $ac_word... " >&6; }
4682 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4683 $as_echo_n "(cached) " >&6
4684 else
4685 if test -n "$ac_ct_CC"; then
4686 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4687 else
4688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689 for as_dir in $PATH
4691 IFS=$as_save_IFS
4692 test -z "$as_dir" && as_dir=.
4693 for ac_exec_ext in '' $ac_executable_extensions; do
4694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4695 ac_cv_prog_ac_ct_CC="$ac_prog"
4696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4697 break 2
4699 done
4700 done
4701 IFS=$as_save_IFS
4705 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4706 if test -n "$ac_ct_CC"; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4708 $as_echo "$ac_ct_CC" >&6; }
4709 else
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 $as_echo "no" >&6; }
4715 test -n "$ac_ct_CC" && break
4716 done
4718 if test "x$ac_ct_CC" = x; then
4719 CC=""
4720 else
4721 case $cross_compiling:$ac_tool_warned in
4722 yes:)
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4725 ac_tool_warned=yes ;;
4726 esac
4727 CC=$ac_ct_CC
4734 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4736 as_fn_error $? "no acceptable C compiler found in \$PATH
4737 See \`config.log' for more details" "$LINENO" 5; }
4739 # Provide some information about the compiler.
4740 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4741 set X $ac_compile
4742 ac_compiler=$2
4743 for ac_option in --version -v -V -qversion; do
4744 { { ac_try="$ac_compiler $ac_option >&5"
4745 case "(($ac_try" in
4746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4747 *) ac_try_echo=$ac_try;;
4748 esac
4749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4750 $as_echo "$ac_try_echo"; } >&5
4751 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4752 ac_status=$?
4753 if test -s conftest.err; then
4754 sed '10a\
4755 ... rest of stderr output deleted ...
4756 10q' conftest.err >conftest.er1
4757 cat conftest.er1 >&5
4759 rm -f conftest.er1 conftest.err
4760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4761 test $ac_status = 0; }
4762 done
4764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4768 main ()
4772 return 0;
4774 _ACEOF
4775 ac_clean_files_save=$ac_clean_files
4776 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4777 # Try to create an executable without -o first, disregard a.out.
4778 # It will help us diagnose broken compilers, and finding out an intuition
4779 # of exeext.
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4781 $as_echo_n "checking whether the C compiler works... " >&6; }
4782 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4784 # The possible output files:
4785 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4787 ac_rmfiles=
4788 for ac_file in $ac_files
4790 case $ac_file in
4791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4792 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4793 esac
4794 done
4795 rm -f $ac_rmfiles
4797 if { { ac_try="$ac_link_default"
4798 case "(($ac_try" in
4799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4800 *) ac_try_echo=$ac_try;;
4801 esac
4802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4803 $as_echo "$ac_try_echo"; } >&5
4804 (eval "$ac_link_default") 2>&5
4805 ac_status=$?
4806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4807 test $ac_status = 0; }; then :
4808 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4809 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4810 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4811 # so that the user can short-circuit this test for compilers unknown to
4812 # Autoconf.
4813 for ac_file in $ac_files ''
4815 test -f "$ac_file" || continue
4816 case $ac_file in
4817 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4819 [ab].out )
4820 # We found the default executable, but exeext='' is most
4821 # certainly right.
4822 break;;
4823 *.* )
4824 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4825 then :; else
4826 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4828 # We set ac_cv_exeext here because the later test for it is not
4829 # safe: cross compilers may not add the suffix if given an `-o'
4830 # argument, so we may need to know it at that point already.
4831 # Even if this section looks crufty: it has the advantage of
4832 # actually working.
4833 break;;
4835 break;;
4836 esac
4837 done
4838 test "$ac_cv_exeext" = no && ac_cv_exeext=
4840 else
4841 ac_file=''
4843 if test -z "$ac_file"; then :
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4846 $as_echo "$as_me: failed program was:" >&5
4847 sed 's/^/| /' conftest.$ac_ext >&5
4849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4851 as_fn_error 77 "C compiler cannot create executables
4852 See \`config.log' for more details" "$LINENO" 5; }
4853 else
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4855 $as_echo "yes" >&6; }
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4858 $as_echo_n "checking for C compiler default output file name... " >&6; }
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4860 $as_echo "$ac_file" >&6; }
4861 ac_exeext=$ac_cv_exeext
4863 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4864 ac_clean_files=$ac_clean_files_save
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4866 $as_echo_n "checking for suffix of executables... " >&6; }
4867 if { { ac_try="$ac_link"
4868 case "(($ac_try" in
4869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4870 *) ac_try_echo=$ac_try;;
4871 esac
4872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4873 $as_echo "$ac_try_echo"; } >&5
4874 (eval "$ac_link") 2>&5
4875 ac_status=$?
4876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4877 test $ac_status = 0; }; then :
4878 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4879 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4880 # work properly (i.e., refer to `conftest.exe'), while it won't with
4881 # `rm'.
4882 for ac_file in conftest.exe conftest conftest.*; do
4883 test -f "$ac_file" || continue
4884 case $ac_file in
4885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4886 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4887 break;;
4888 * ) break;;
4889 esac
4890 done
4891 else
4892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4894 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4895 See \`config.log' for more details" "$LINENO" 5; }
4897 rm -f conftest conftest$ac_cv_exeext
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4899 $as_echo "$ac_cv_exeext" >&6; }
4901 rm -f conftest.$ac_ext
4902 EXEEXT=$ac_cv_exeext
4903 ac_exeext=$EXEEXT
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4906 #include <stdio.h>
4908 main ()
4910 FILE *f = fopen ("conftest.out", "w");
4911 return ferror (f) || fclose (f) != 0;
4914 return 0;
4916 _ACEOF
4917 ac_clean_files="$ac_clean_files conftest.out"
4918 # Check that the compiler produces executables we can run. If not, either
4919 # the compiler is broken, or we cross compile.
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4921 $as_echo_n "checking whether we are cross compiling... " >&6; }
4922 if test "$cross_compiling" != yes; then
4923 { { ac_try="$ac_link"
4924 case "(($ac_try" in
4925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4926 *) ac_try_echo=$ac_try;;
4927 esac
4928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4929 $as_echo "$ac_try_echo"; } >&5
4930 (eval "$ac_link") 2>&5
4931 ac_status=$?
4932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4933 test $ac_status = 0; }
4934 if { ac_try='./conftest$ac_cv_exeext'
4935 { { case "(($ac_try" in
4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4937 *) ac_try_echo=$ac_try;;
4938 esac
4939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4940 $as_echo "$ac_try_echo"; } >&5
4941 (eval "$ac_try") 2>&5
4942 ac_status=$?
4943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4944 test $ac_status = 0; }; }; then
4945 cross_compiling=no
4946 else
4947 if test "$cross_compiling" = maybe; then
4948 cross_compiling=yes
4949 else
4950 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4952 as_fn_error $? "cannot run C compiled programs.
4953 If you meant to cross compile, use \`--host'.
4954 See \`config.log' for more details" "$LINENO" 5; }
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4959 $as_echo "$cross_compiling" >&6; }
4961 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4962 ac_clean_files=$ac_clean_files_save
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4964 $as_echo_n "checking for suffix of object files... " >&6; }
4965 if ${ac_cv_objext+:} false; then :
4966 $as_echo_n "(cached) " >&6
4967 else
4968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4972 main ()
4976 return 0;
4978 _ACEOF
4979 rm -f conftest.o conftest.obj
4980 if { { ac_try="$ac_compile"
4981 case "(($ac_try" in
4982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4983 *) ac_try_echo=$ac_try;;
4984 esac
4985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4986 $as_echo "$ac_try_echo"; } >&5
4987 (eval "$ac_compile") 2>&5
4988 ac_status=$?
4989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4990 test $ac_status = 0; }; then :
4991 for ac_file in conftest.o conftest.obj conftest.*; do
4992 test -f "$ac_file" || continue;
4993 case $ac_file in
4994 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4995 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4996 break;;
4997 esac
4998 done
4999 else
5000 $as_echo "$as_me: failed program was:" >&5
5001 sed 's/^/| /' conftest.$ac_ext >&5
5003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5005 as_fn_error $? "cannot compute suffix of object files: cannot compile
5006 See \`config.log' for more details" "$LINENO" 5; }
5008 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5011 $as_echo "$ac_cv_objext" >&6; }
5012 OBJEXT=$ac_cv_objext
5013 ac_objext=$OBJEXT
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5015 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5016 if ${ac_cv_c_compiler_gnu+:} false; then :
5017 $as_echo_n "(cached) " >&6
5018 else
5019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5020 /* end confdefs.h. */
5023 main ()
5025 #ifndef __GNUC__
5026 choke me
5027 #endif
5030 return 0;
5032 _ACEOF
5033 if ac_fn_c_try_compile "$LINENO"; then :
5034 ac_compiler_gnu=yes
5035 else
5036 ac_compiler_gnu=no
5038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5039 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5043 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5044 if test $ac_compiler_gnu = yes; then
5045 GCC=yes
5046 else
5047 GCC=
5049 ac_test_CFLAGS=${CFLAGS+set}
5050 ac_save_CFLAGS=$CFLAGS
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5052 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5053 if ${ac_cv_prog_cc_g+:} false; then :
5054 $as_echo_n "(cached) " >&6
5055 else
5056 ac_save_c_werror_flag=$ac_c_werror_flag
5057 ac_c_werror_flag=yes
5058 ac_cv_prog_cc_g=no
5059 CFLAGS="-g"
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5064 main ()
5068 return 0;
5070 _ACEOF
5071 if ac_fn_c_try_compile "$LINENO"; then :
5072 ac_cv_prog_cc_g=yes
5073 else
5074 CFLAGS=""
5075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5076 /* end confdefs.h. */
5079 main ()
5083 return 0;
5085 _ACEOF
5086 if ac_fn_c_try_compile "$LINENO"; then :
5088 else
5089 ac_c_werror_flag=$ac_save_c_werror_flag
5090 CFLAGS="-g"
5091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5095 main ()
5099 return 0;
5101 _ACEOF
5102 if ac_fn_c_try_compile "$LINENO"; then :
5103 ac_cv_prog_cc_g=yes
5105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5110 ac_c_werror_flag=$ac_save_c_werror_flag
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5113 $as_echo "$ac_cv_prog_cc_g" >&6; }
5114 if test "$ac_test_CFLAGS" = set; then
5115 CFLAGS=$ac_save_CFLAGS
5116 elif test $ac_cv_prog_cc_g = yes; then
5117 if test "$GCC" = yes; then
5118 CFLAGS="-g -O2"
5119 else
5120 CFLAGS="-g"
5122 else
5123 if test "$GCC" = yes; then
5124 CFLAGS="-O2"
5125 else
5126 CFLAGS=
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5130 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5131 if ${ac_cv_prog_cc_c89+:} false; then :
5132 $as_echo_n "(cached) " >&6
5133 else
5134 ac_cv_prog_cc_c89=no
5135 ac_save_CC=$CC
5136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5137 /* end confdefs.h. */
5138 #include <stdarg.h>
5139 #include <stdio.h>
5140 struct stat;
5141 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5142 struct buf { int x; };
5143 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5144 static char *e (p, i)
5145 char **p;
5146 int i;
5148 return p[i];
5150 static char *f (char * (*g) (char **, int), char **p, ...)
5152 char *s;
5153 va_list v;
5154 va_start (v,p);
5155 s = g (p, va_arg (v,int));
5156 va_end (v);
5157 return s;
5160 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5161 function prototypes and stuff, but not '\xHH' hex character constants.
5162 These don't provoke an error unfortunately, instead are silently treated
5163 as 'x'. The following induces an error, until -std is added to get
5164 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5165 array size at least. It's necessary to write '\x00'==0 to get something
5166 that's true only with -std. */
5167 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5169 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5170 inside strings and character constants. */
5171 #define FOO(x) 'x'
5172 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5174 int test (int i, double x);
5175 struct s1 {int (*f) (int a);};
5176 struct s2 {int (*f) (double a);};
5177 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5178 int argc;
5179 char **argv;
5181 main ()
5183 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5185 return 0;
5187 _ACEOF
5188 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5189 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5191 CC="$ac_save_CC $ac_arg"
5192 if ac_fn_c_try_compile "$LINENO"; then :
5193 ac_cv_prog_cc_c89=$ac_arg
5195 rm -f core conftest.err conftest.$ac_objext
5196 test "x$ac_cv_prog_cc_c89" != "xno" && break
5197 done
5198 rm -f conftest.$ac_ext
5199 CC=$ac_save_CC
5202 # AC_CACHE_VAL
5203 case "x$ac_cv_prog_cc_c89" in
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5206 $as_echo "none needed" >&6; } ;;
5207 xno)
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5209 $as_echo "unsupported" >&6; } ;;
5211 CC="$CC $ac_cv_prog_cc_c89"
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5213 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5214 esac
5215 if test "x$ac_cv_prog_cc_c89" != xno; then :
5219 ac_ext=c
5220 ac_cpp='$CPP $CPPFLAGS'
5221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5225 ac_ext=cpp
5226 ac_cpp='$CXXCPP $CPPFLAGS'
5227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5230 if test -z "$CXX"; then
5231 if test -n "$CCC"; then
5232 CXX=$CCC
5233 else
5234 if test -n "$ac_tool_prefix"; then
5235 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5237 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5238 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if ${ac_cv_prog_CXX+:} false; then :
5242 $as_echo_n "(cached) " >&6
5243 else
5244 if test -n "$CXX"; then
5245 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5250 IFS=$as_save_IFS
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5254 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 break 2
5258 done
5259 done
5260 IFS=$as_save_IFS
5264 CXX=$ac_cv_prog_CXX
5265 if test -n "$CXX"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5267 $as_echo "$CXX" >&6; }
5268 else
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5274 test -n "$CXX" && break
5275 done
5277 if test -z "$CXX"; then
5278 ac_ct_CXX=$CXX
5279 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5281 # Extract the first word of "$ac_prog", so it can be a program name with args.
5282 set dummy $ac_prog; ac_word=$2
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5284 $as_echo_n "checking for $ac_word... " >&6; }
5285 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5286 $as_echo_n "(cached) " >&6
5287 else
5288 if test -n "$ac_ct_CXX"; then
5289 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5290 else
5291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 for as_dir in $PATH
5294 IFS=$as_save_IFS
5295 test -z "$as_dir" && as_dir=.
5296 for ac_exec_ext in '' $ac_executable_extensions; do
5297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5298 ac_cv_prog_ac_ct_CXX="$ac_prog"
5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 break 2
5302 done
5303 done
5304 IFS=$as_save_IFS
5308 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5309 if test -n "$ac_ct_CXX"; then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5311 $as_echo "$ac_ct_CXX" >&6; }
5312 else
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }
5318 test -n "$ac_ct_CXX" && break
5319 done
5321 if test "x$ac_ct_CXX" = x; then
5322 CXX="g++"
5323 else
5324 case $cross_compiling:$ac_tool_warned in
5325 yes:)
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5328 ac_tool_warned=yes ;;
5329 esac
5330 CXX=$ac_ct_CXX
5336 # Provide some information about the compiler.
5337 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5338 set X $ac_compile
5339 ac_compiler=$2
5340 for ac_option in --version -v -V -qversion; do
5341 { { ac_try="$ac_compiler $ac_option >&5"
5342 case "(($ac_try" in
5343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5344 *) ac_try_echo=$ac_try;;
5345 esac
5346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5347 $as_echo "$ac_try_echo"; } >&5
5348 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5349 ac_status=$?
5350 if test -s conftest.err; then
5351 sed '10a\
5352 ... rest of stderr output deleted ...
5353 10q' conftest.err >conftest.er1
5354 cat conftest.er1 >&5
5356 rm -f conftest.er1 conftest.err
5357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5358 test $ac_status = 0; }
5359 done
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5362 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5363 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5364 $as_echo_n "(cached) " >&6
5365 else
5366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5367 /* end confdefs.h. */
5370 main ()
5372 #ifndef __GNUC__
5373 choke me
5374 #endif
5377 return 0;
5379 _ACEOF
5380 if ac_fn_cxx_try_compile "$LINENO"; then :
5381 ac_compiler_gnu=yes
5382 else
5383 ac_compiler_gnu=no
5385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5386 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5390 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5391 if test $ac_compiler_gnu = yes; then
5392 GXX=yes
5393 else
5394 GXX=
5396 ac_test_CXXFLAGS=${CXXFLAGS+set}
5397 ac_save_CXXFLAGS=$CXXFLAGS
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5399 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5400 if ${ac_cv_prog_cxx_g+:} false; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5404 ac_cxx_werror_flag=yes
5405 ac_cv_prog_cxx_g=no
5406 CXXFLAGS="-g"
5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h. */
5411 main ()
5415 return 0;
5417 _ACEOF
5418 if ac_fn_cxx_try_compile "$LINENO"; then :
5419 ac_cv_prog_cxx_g=yes
5420 else
5421 CXXFLAGS=""
5422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5426 main ()
5430 return 0;
5432 _ACEOF
5433 if ac_fn_cxx_try_compile "$LINENO"; then :
5435 else
5436 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5437 CXXFLAGS="-g"
5438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5439 /* end confdefs.h. */
5442 main ()
5446 return 0;
5448 _ACEOF
5449 if ac_fn_cxx_try_compile "$LINENO"; then :
5450 ac_cv_prog_cxx_g=yes
5452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5457 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5460 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5461 if test "$ac_test_CXXFLAGS" = set; then
5462 CXXFLAGS=$ac_save_CXXFLAGS
5463 elif test $ac_cv_prog_cxx_g = yes; then
5464 if test "$GXX" = yes; then
5465 CXXFLAGS="-g -O2"
5466 else
5467 CXXFLAGS="-g"
5469 else
5470 if test "$GXX" = yes; then
5471 CXXFLAGS="-O2"
5472 else
5473 CXXFLAGS=
5476 ac_ext=c
5477 ac_cpp='$CPP $CPPFLAGS'
5478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5482 if test -n "$ac_tool_prefix"; then
5483 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5484 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if ${ac_cv_prog_CPPBIN+:} false; then :
5488 $as_echo_n "(cached) " >&6
5489 else
5490 if test -n "$CPPBIN"; then
5491 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5492 else
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 break 2
5504 done
5505 done
5506 IFS=$as_save_IFS
5510 CPPBIN=$ac_cv_prog_CPPBIN
5511 if test -n "$CPPBIN"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5513 $as_echo "$CPPBIN" >&6; }
5514 else
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5521 if test -z "$ac_cv_prog_CPPBIN"; then
5522 ac_ct_CPPBIN=$CPPBIN
5523 # Extract the first word of "cpp", so it can be a program name with args.
5524 set dummy cpp; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5528 $as_echo_n "(cached) " >&6
5529 else
5530 if test -n "$ac_ct_CPPBIN"; then
5531 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5532 else
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 for as_dir in $PATH
5536 IFS=$as_save_IFS
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_ac_ct_CPPBIN="cpp"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 break 2
5544 done
5545 done
5546 IFS=$as_save_IFS
5550 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5551 if test -n "$ac_ct_CPPBIN"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5553 $as_echo "$ac_ct_CPPBIN" >&6; }
5554 else
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5559 if test "x$ac_ct_CPPBIN" = x; then
5560 CPPBIN="cpp"
5561 else
5562 case $cross_compiling:$ac_tool_warned in
5563 yes:)
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5566 ac_tool_warned=yes ;;
5567 esac
5568 CPPBIN=$ac_ct_CPPBIN
5570 else
5571 CPPBIN="$ac_cv_prog_CPPBIN"
5575 cat >>confdefs.h <<_ACEOF
5576 #define EXEEXT "$ac_exeext"
5577 _ACEOF
5579 if test -n "$ac_tool_prefix"; then
5580 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5581 set dummy ${ac_tool_prefix}ld; ac_word=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_prog_LD+:} false; then :
5585 $as_echo_n "(cached) " >&6
5586 else
5587 if test -n "$LD"; then
5588 ac_cv_prog_LD="$LD" # Let the user override the test.
5589 else
5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591 for as_dir in $PATH
5593 IFS=$as_save_IFS
5594 test -z "$as_dir" && as_dir=.
5595 for ac_exec_ext in '' $ac_executable_extensions; do
5596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5597 ac_cv_prog_LD="${ac_tool_prefix}ld"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 break 2
5601 done
5602 done
5603 IFS=$as_save_IFS
5607 LD=$ac_cv_prog_LD
5608 if test -n "$LD"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5610 $as_echo "$LD" >&6; }
5611 else
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5618 if test -z "$ac_cv_prog_LD"; then
5619 ac_ct_LD=$LD
5620 # Extract the first word of "ld", so it can be a program name with args.
5621 set dummy ld; ac_word=$2
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5623 $as_echo_n "checking for $ac_word... " >&6; }
5624 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5625 $as_echo_n "(cached) " >&6
5626 else
5627 if test -n "$ac_ct_LD"; then
5628 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5629 else
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 for as_dir in $PATH
5633 IFS=$as_save_IFS
5634 test -z "$as_dir" && as_dir=.
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5637 ac_cv_prog_ac_ct_LD="ld"
5638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5639 break 2
5641 done
5642 done
5643 IFS=$as_save_IFS
5647 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5648 if test -n "$ac_ct_LD"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5650 $as_echo "$ac_ct_LD" >&6; }
5651 else
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653 $as_echo "no" >&6; }
5656 if test "x$ac_ct_LD" = x; then
5657 LD=""
5658 else
5659 case $cross_compiling:$ac_tool_warned in
5660 yes:)
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5663 ac_tool_warned=yes ;;
5664 esac
5665 LD=$ac_ct_LD
5667 else
5668 LD="$ac_cv_prog_LD"
5672 case $host in
5673 *-darwin*)
5674 with_fontconfig=${with_fontconfig:-no}
5676 *-mingw32*|*-cygwin*)
5677 enable_win16=${enable_win16:-no}
5678 with_mingw=${with_mingw:-no}
5679 CFLAGS="$CFLAGS -D_WIN32"
5681 esac
5684 case $host in
5685 x86_64*|amd64*)
5686 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5687 then
5688 CC="$CC -m32"
5689 CXX="$CXX -m32"
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5692 $as_echo_n "checking whether $CC works... " >&6; }
5693 if ${wine_cv_cc_m32+:} false; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5697 /* end confdefs.h. */
5700 main ()
5704 return 0;
5706 _ACEOF
5707 if ac_fn_c_try_link "$LINENO"; then :
5708 wine_cv_cc_m32=yes
5709 else
5710 wine_cv_cc_m32=no
5712 rm -f core conftest.err conftest.$ac_objext \
5713 conftest$ac_exeext conftest.$ac_ext
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5716 $as_echo "$wine_cv_cc_m32" >&6; }
5717 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
5718 host_cpu="i386"
5719 notice_platform="32-bit "
5720 TARGETFLAGS="$TARGETFLAGS -m32"
5721 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5722 export PKG_CONFIG_PATH
5723 enable_win16=${enable_win16:-yes}
5724 with_unwind=${with_unwind:-no}
5725 else
5726 if test "x${GCC}" = "xyes"
5727 then
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5729 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5730 if ${wine_cv_builtin_ms_va_list+:} false; then :
5731 $as_echo_n "(cached) " >&6
5732 else
5733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5734 /* end confdefs.h. */
5735 #include <stdarg.h>
5737 main ()
5739 void func(__builtin_ms_va_list *args);
5741 return 0;
5743 _ACEOF
5744 if ac_fn_c_try_compile "$LINENO"; then :
5745 wine_cv_builtin_ms_va_list=yes
5746 else
5747 wine_cv_builtin_ms_va_list=no
5749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5752 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5753 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
5755 CC="$CC -m64"
5756 CXX="$CXX -m64"
5757 host_cpu="x86_64"
5758 notice_platform="64-bit "
5759 TARGETFLAGS="$TARGETFLAGS -m64"
5760 enable_wow64=${enable_wow64:-yes}
5761 enable_wow64win=${enable_wow64win:-yes}
5762 enable_wow64cpu=${enable_wow64cpu:-yes}
5765 arm*)
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5767 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5768 if ${wine_cv_thumb2+:} false; then :
5769 $as_echo_n "(cached) " >&6
5770 else
5771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5772 /* end confdefs.h. */
5775 main ()
5777 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5779 return 0;
5781 _ACEOF
5782 if ac_fn_c_try_link "$LINENO"; then :
5783 wine_cv_thumb2=yes
5784 else
5785 wine_cv_thumb2=no
5787 rm -f core conftest.err conftest.$ac_objext \
5788 conftest$ac_exeext conftest.$ac_ext
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5791 $as_echo "$wine_cv_thumb2" >&6; }
5792 if test x"$wine_cv_thumb2" = xyes
5793 then
5794 CFLAGS="$CFLAGS -mthumb"
5795 TARGETFLAGS="$TARGETFLAGS -mthumb"
5796 else
5797 CFLAGS="$CFLAGS -marm"
5798 TARGETFLAGS="$TARGETFLAGS -marm"
5800 case $with_float_abi in
5801 soft|softfp|hard)
5802 float_abi=$with_float_abi ;;
5804 case $host_os in
5805 *eabihf)
5806 float_abi=hard ;;
5808 float_abi=softfp
5809 saved_CFLAGS=$CFLAGS
5810 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5812 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5813 if ${wine_cv_float_abi+:} false; then :
5814 $as_echo_n "(cached) " >&6
5815 else
5816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5817 /* end confdefs.h. */
5820 main ()
5822 asm("vmrs r2,fpscr");
5824 return 0;
5826 _ACEOF
5827 if ac_fn_c_try_link "$LINENO"; then :
5828 wine_cv_float_abi=yes
5829 else
5830 wine_cv_float_abi=no
5832 rm -f core conftest.err conftest.$ac_objext \
5833 conftest$ac_exeext conftest.$ac_ext
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5836 $as_echo "$wine_cv_float_abi" >&6; }
5837 if test $wine_cv_float_abi = no
5838 then
5839 float_abi=soft
5840 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5842 CFLAGS=$saved_CFLAGS
5843 esac
5845 esac
5846 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5847 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5849 aarch64*)
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5851 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5852 if ${wine_cv_builtin_ms_va_list+:} false; then :
5853 $as_echo_n "(cached) " >&6
5854 else
5855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5856 /* end confdefs.h. */
5857 #include <stdarg.h>
5859 main ()
5861 void func(__builtin_ms_va_list *args);
5863 return 0;
5865 _ACEOF
5866 if ac_fn_c_try_compile "$LINENO"; then :
5867 wine_cv_builtin_ms_va_list=yes
5868 else
5869 wine_cv_builtin_ms_va_list=no
5871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5874 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5875 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5876 enable_wow64=${enable_wow64:-yes}
5877 enable_wow64win=${enable_wow64win:-yes}
5879 i[3456789]86*)
5880 enable_win16=${enable_win16:-yes}
5881 with_unwind=${with_unwind:-no}
5883 esac
5885 enable_win16=${enable_win16:-no}
5886 enable_win64=${enable_win64:-no}
5887 enable_wow64=${enable_wow64:-no}
5888 enable_wow64win=${enable_wow64win:-no}
5889 enable_wow64cpu=${enable_wow64cpu:-no}
5891 enable_winetest=${enable_winetest:-$enable_tests}
5893 if test "x$enable_win64" = "xyes"
5894 then
5895 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5896 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5900 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5901 if ${wine_cv_toolsdir+:} false; then :
5902 $as_echo_n "(cached) " >&6
5903 else
5904 wine_cv_toolsdir="$with_wine_tools"
5905 if test -z "$with_wine_tools"; then
5906 if test "$cross_compiling" = "yes"; then
5907 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5908 elif test -n "$with_wine64"; then
5909 wine_cv_toolsdir="$with_wine64"
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5914 $as_echo "$wine_cv_toolsdir" >&6; }
5915 if test -z "$wine_cv_toolsdir"; then
5916 wine_makedep=tools/makedep
5917 TOOLSDIR="."
5919 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5920 wine_makedep=$wine_cv_toolsdir/tools/makedep
5921 TOOLSDIR=$wine_cv_toolsdir
5923 enable_tools=${enable_tools:-no}
5924 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5925 else
5926 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5928 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5929 then
5930 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5933 for ac_prog in flex
5935 # Extract the first word of "$ac_prog", so it can be a program name with args.
5936 set dummy $ac_prog; ac_word=$2
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5938 $as_echo_n "checking for $ac_word... " >&6; }
5939 if ${ac_cv_prog_FLEX+:} false; then :
5940 $as_echo_n "(cached) " >&6
5941 else
5942 if test -n "$FLEX"; then
5943 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5944 else
5945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5946 for as_dir in $PATH
5948 IFS=$as_save_IFS
5949 test -z "$as_dir" && as_dir=.
5950 for ac_exec_ext in '' $ac_executable_extensions; do
5951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5952 ac_cv_prog_FLEX="$ac_prog"
5953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5954 break 2
5956 done
5957 done
5958 IFS=$as_save_IFS
5962 FLEX=$ac_cv_prog_FLEX
5963 if test -n "$FLEX"; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5965 $as_echo "$FLEX" >&6; }
5966 else
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5968 $as_echo "no" >&6; }
5972 test -n "$FLEX" && break
5973 done
5974 test -n "$FLEX" || FLEX="none"
5976 if test "$FLEX" = "none"
5977 then
5978 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5981 $as_echo_n "checking whether flex is recent enough... " >&6; }
5982 if ${wine_cv_recent_flex+:} false; then :
5983 $as_echo_n "(cached) " >&6
5984 else
5985 cat >conftest.l <<EOF
5986 %top{
5987 #include "prediluvian.h"
5991 if $FLEX -t conftest.l >/dev/null 2>&5
5992 then
5993 wine_cv_recent_flex=yes
5994 else
5995 wine_cv_recent_flex=no
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5999 $as_echo "$wine_cv_recent_flex" >&6; }
6000 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
6002 for ac_prog in bison
6004 # Extract the first word of "$ac_prog", so it can be a program name with args.
6005 set dummy $ac_prog; ac_word=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_BISON+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 if test -n "$BISON"; then
6012 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_BISON="$ac_prog"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 break 2
6025 done
6026 done
6027 IFS=$as_save_IFS
6031 BISON=$ac_cv_prog_BISON
6032 if test -n "$BISON"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6034 $as_echo "$BISON" >&6; }
6035 else
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6041 test -n "$BISON" && break
6042 done
6043 test -n "$BISON" || BISON="none"
6045 if test "$BISON" = "none"
6046 then
6047 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6050 $as_echo_n "checking whether bison is recent enough... " >&6; }
6051 if ${wine_cv_recent_bison+:} false; then :
6052 $as_echo_n "(cached) " >&6
6053 else
6054 cat >conftest.y <<EOF
6055 %define parse.error verbose
6057 empty: ;
6059 if $BISON conftest.y >/dev/null 2>&5
6060 then
6061 wine_cv_recent_bison=yes
6062 else
6063 wine_cv_recent_bison=no
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6067 $as_echo "$wine_cv_recent_bison" >&6; }
6068 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
6070 if test -n "$ac_tool_prefix"; then
6071 for ac_prog in ar gar
6073 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6074 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6076 $as_echo_n "checking for $ac_word... " >&6; }
6077 if ${ac_cv_prog_AR+:} false; then :
6078 $as_echo_n "(cached) " >&6
6079 else
6080 if test -n "$AR"; then
6081 ac_cv_prog_AR="$AR" # Let the user override the test.
6082 else
6083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6084 for as_dir in $PATH
6086 IFS=$as_save_IFS
6087 test -z "$as_dir" && as_dir=.
6088 for ac_exec_ext in '' $ac_executable_extensions; do
6089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6090 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6092 break 2
6094 done
6095 done
6096 IFS=$as_save_IFS
6100 AR=$ac_cv_prog_AR
6101 if test -n "$AR"; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6103 $as_echo "$AR" >&6; }
6104 else
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 $as_echo "no" >&6; }
6110 test -n "$AR" && break
6111 done
6113 if test -z "$AR"; then
6114 ac_ct_AR=$AR
6115 for ac_prog in ar gar
6117 # Extract the first word of "$ac_prog", so it can be a program name with args.
6118 set dummy $ac_prog; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 $as_echo_n "checking for $ac_word... " >&6; }
6121 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6122 $as_echo_n "(cached) " >&6
6123 else
6124 if test -n "$ac_ct_AR"; then
6125 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6126 else
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in $PATH
6130 IFS=$as_save_IFS
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6134 ac_cv_prog_ac_ct_AR="$ac_prog"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 break 2
6138 done
6139 done
6140 IFS=$as_save_IFS
6144 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6145 if test -n "$ac_ct_AR"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6147 $as_echo "$ac_ct_AR" >&6; }
6148 else
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6154 test -n "$ac_ct_AR" && break
6155 done
6157 if test "x$ac_ct_AR" = x; then
6158 AR="ar"
6159 else
6160 case $cross_compiling:$ac_tool_warned in
6161 yes:)
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6164 ac_tool_warned=yes ;;
6165 esac
6166 AR=$ac_ct_AR
6170 if test -n "$ac_tool_prefix"; then
6171 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6172 set dummy ${ac_tool_prefix}strip; ac_word=$2
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 $as_echo_n "checking for $ac_word... " >&6; }
6175 if ${ac_cv_prog_STRIP+:} false; then :
6176 $as_echo_n "(cached) " >&6
6177 else
6178 if test -n "$STRIP"; then
6179 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6180 else
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182 for as_dir in $PATH
6184 IFS=$as_save_IFS
6185 test -z "$as_dir" && as_dir=.
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6188 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6190 break 2
6192 done
6193 done
6194 IFS=$as_save_IFS
6198 STRIP=$ac_cv_prog_STRIP
6199 if test -n "$STRIP"; then
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6201 $as_echo "$STRIP" >&6; }
6202 else
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6204 $as_echo "no" >&6; }
6209 if test -z "$ac_cv_prog_STRIP"; then
6210 ac_ct_STRIP=$STRIP
6211 # Extract the first word of "strip", so it can be a program name with args.
6212 set dummy strip; ac_word=$2
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6214 $as_echo_n "checking for $ac_word... " >&6; }
6215 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6216 $as_echo_n "(cached) " >&6
6217 else
6218 if test -n "$ac_ct_STRIP"; then
6219 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6220 else
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222 for as_dir in $PATH
6224 IFS=$as_save_IFS
6225 test -z "$as_dir" && as_dir=.
6226 for ac_exec_ext in '' $ac_executable_extensions; do
6227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6228 ac_cv_prog_ac_ct_STRIP="strip"
6229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6230 break 2
6232 done
6233 done
6234 IFS=$as_save_IFS
6238 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6239 if test -n "$ac_ct_STRIP"; then
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6241 $as_echo "$ac_ct_STRIP" >&6; }
6242 else
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6244 $as_echo "no" >&6; }
6247 if test "x$ac_ct_STRIP" = x; then
6248 STRIP="strip"
6249 else
6250 case $cross_compiling:$ac_tool_warned in
6251 yes:)
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6254 ac_tool_warned=yes ;;
6255 esac
6256 STRIP=$ac_ct_STRIP
6258 else
6259 STRIP="$ac_cv_prog_STRIP"
6262 if test -n "$ac_tool_prefix"; then
6263 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6264 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6266 $as_echo_n "checking for $ac_word... " >&6; }
6267 if ${ac_cv_prog_RANLIB+:} false; then :
6268 $as_echo_n "(cached) " >&6
6269 else
6270 if test -n "$RANLIB"; then
6271 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6272 else
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6274 for as_dir in $PATH
6276 IFS=$as_save_IFS
6277 test -z "$as_dir" && as_dir=.
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6280 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6282 break 2
6284 done
6285 done
6286 IFS=$as_save_IFS
6290 RANLIB=$ac_cv_prog_RANLIB
6291 if test -n "$RANLIB"; then
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6293 $as_echo "$RANLIB" >&6; }
6294 else
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6296 $as_echo "no" >&6; }
6301 if test -z "$ac_cv_prog_RANLIB"; then
6302 ac_ct_RANLIB=$RANLIB
6303 # Extract the first word of "ranlib", so it can be a program name with args.
6304 set dummy ranlib; ac_word=$2
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6306 $as_echo_n "checking for $ac_word... " >&6; }
6307 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6308 $as_echo_n "(cached) " >&6
6309 else
6310 if test -n "$ac_ct_RANLIB"; then
6311 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6312 else
6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314 for as_dir in $PATH
6316 IFS=$as_save_IFS
6317 test -z "$as_dir" && as_dir=.
6318 for ac_exec_ext in '' $ac_executable_extensions; do
6319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6320 ac_cv_prog_ac_ct_RANLIB="ranlib"
6321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6322 break 2
6324 done
6325 done
6326 IFS=$as_save_IFS
6330 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6331 if test -n "$ac_ct_RANLIB"; then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6333 $as_echo "$ac_ct_RANLIB" >&6; }
6334 else
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6336 $as_echo "no" >&6; }
6339 if test "x$ac_ct_RANLIB" = x; then
6340 RANLIB=":"
6341 else
6342 case $cross_compiling:$ac_tool_warned in
6343 yes:)
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6346 ac_tool_warned=yes ;;
6347 esac
6348 RANLIB=$ac_ct_RANLIB
6350 else
6351 RANLIB="$ac_cv_prog_RANLIB"
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6355 $as_echo_n "checking whether ln -s works... " >&6; }
6356 LN_S=$as_ln_s
6357 if test "$LN_S" = "ln -s"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6359 $as_echo "yes" >&6; }
6360 else
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6362 $as_echo "no, using $LN_S" >&6; }
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6366 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6367 if ${ac_cv_path_GREP+:} false; then :
6368 $as_echo_n "(cached) " >&6
6369 else
6370 if test -z "$GREP"; then
6371 ac_path_GREP_found=false
6372 # Loop through the user's path and test for each of PROGNAME-LIST
6373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6376 IFS=$as_save_IFS
6377 test -z "$as_dir" && as_dir=.
6378 for ac_prog in grep ggrep; do
6379 for ac_exec_ext in '' $ac_executable_extensions; do
6380 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6381 as_fn_executable_p "$ac_path_GREP" || continue
6382 # Check for GNU ac_path_GREP and select it if it is found.
6383 # Check for GNU $ac_path_GREP
6384 case `"$ac_path_GREP" --version 2>&1` in
6385 *GNU*)
6386 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6388 ac_count=0
6389 $as_echo_n 0123456789 >"conftest.in"
6390 while :
6392 cat "conftest.in" "conftest.in" >"conftest.tmp"
6393 mv "conftest.tmp" "conftest.in"
6394 cp "conftest.in" "conftest.nl"
6395 $as_echo 'GREP' >> "conftest.nl"
6396 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6397 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6398 as_fn_arith $ac_count + 1 && ac_count=$as_val
6399 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6400 # Best one so far, save it but keep looking for a better one
6401 ac_cv_path_GREP="$ac_path_GREP"
6402 ac_path_GREP_max=$ac_count
6404 # 10*(2^10) chars as input seems more than enough
6405 test $ac_count -gt 10 && break
6406 done
6407 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6408 esac
6410 $ac_path_GREP_found && break 3
6411 done
6412 done
6413 done
6414 IFS=$as_save_IFS
6415 if test -z "$ac_cv_path_GREP"; then
6416 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6418 else
6419 ac_cv_path_GREP=$GREP
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6424 $as_echo "$ac_cv_path_GREP" >&6; }
6425 GREP="$ac_cv_path_GREP"
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6429 $as_echo_n "checking for egrep... " >&6; }
6430 if ${ac_cv_path_EGREP+:} false; then :
6431 $as_echo_n "(cached) " >&6
6432 else
6433 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6434 then ac_cv_path_EGREP="$GREP -E"
6435 else
6436 if test -z "$EGREP"; then
6437 ac_path_EGREP_found=false
6438 # Loop through the user's path and test for each of PROGNAME-LIST
6439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6440 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6442 IFS=$as_save_IFS
6443 test -z "$as_dir" && as_dir=.
6444 for ac_prog in egrep; do
6445 for ac_exec_ext in '' $ac_executable_extensions; do
6446 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6447 as_fn_executable_p "$ac_path_EGREP" || continue
6448 # Check for GNU ac_path_EGREP and select it if it is found.
6449 # Check for GNU $ac_path_EGREP
6450 case `"$ac_path_EGREP" --version 2>&1` in
6451 *GNU*)
6452 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6454 ac_count=0
6455 $as_echo_n 0123456789 >"conftest.in"
6456 while :
6458 cat "conftest.in" "conftest.in" >"conftest.tmp"
6459 mv "conftest.tmp" "conftest.in"
6460 cp "conftest.in" "conftest.nl"
6461 $as_echo 'EGREP' >> "conftest.nl"
6462 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6463 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6464 as_fn_arith $ac_count + 1 && ac_count=$as_val
6465 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6466 # Best one so far, save it but keep looking for a better one
6467 ac_cv_path_EGREP="$ac_path_EGREP"
6468 ac_path_EGREP_max=$ac_count
6470 # 10*(2^10) chars as input seems more than enough
6471 test $ac_count -gt 10 && break
6472 done
6473 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6474 esac
6476 $ac_path_EGREP_found && break 3
6477 done
6478 done
6479 done
6480 IFS=$as_save_IFS
6481 if test -z "$ac_cv_path_EGREP"; then
6482 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6484 else
6485 ac_cv_path_EGREP=$EGREP
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6491 $as_echo "$ac_cv_path_EGREP" >&6; }
6492 EGREP="$ac_cv_path_EGREP"
6495 # Extract the first word of "ldconfig", so it can be a program name with args.
6496 set dummy ldconfig; ac_word=$2
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6498 $as_echo_n "checking for $ac_word... " >&6; }
6499 if ${ac_cv_path_LDCONFIG+:} false; then :
6500 $as_echo_n "(cached) " >&6
6501 else
6502 case $LDCONFIG in
6503 [\\/]* | ?:[\\/]*)
6504 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508 for as_dir in /sbin /usr/sbin $PATH
6510 IFS=$as_save_IFS
6511 test -z "$as_dir" && as_dir=.
6512 for ac_exec_ext in '' $ac_executable_extensions; do
6513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6514 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6516 break 2
6518 done
6519 done
6520 IFS=$as_save_IFS
6522 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6524 esac
6526 LDCONFIG=$ac_cv_path_LDCONFIG
6527 if test -n "$LDCONFIG"; then
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6529 $as_echo "$LDCONFIG" >&6; }
6530 else
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6536 for ac_prog in msgfmt
6538 # Extract the first word of "$ac_prog", so it can be a program name with args.
6539 set dummy $ac_prog; ac_word=$2
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541 $as_echo_n "checking for $ac_word... " >&6; }
6542 if ${ac_cv_prog_MSGFMT+:} false; then :
6543 $as_echo_n "(cached) " >&6
6544 else
6545 if test -n "$MSGFMT"; then
6546 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6547 else
6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549 for as_dir in $PATH
6551 IFS=$as_save_IFS
6552 test -z "$as_dir" && as_dir=.
6553 for ac_exec_ext in '' $ac_executable_extensions; do
6554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6555 ac_cv_prog_MSGFMT="$ac_prog"
6556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6557 break 2
6559 done
6560 done
6561 IFS=$as_save_IFS
6565 MSGFMT=$ac_cv_prog_MSGFMT
6566 if test -n "$MSGFMT"; then
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6568 $as_echo "$MSGFMT" >&6; }
6569 else
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571 $as_echo "no" >&6; }
6575 test -n "$MSGFMT" && break
6576 done
6577 test -n "$MSGFMT" || MSGFMT="false"
6579 if ${ac_tool_prefix+:} false; then :
6580 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6581 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6583 $as_echo_n "checking for $ac_word... " >&6; }
6584 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6585 $as_echo_n "(cached) " >&6
6586 else
6587 if test -n "$PKG_CONFIG"; then
6588 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6589 else
6590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6591 for as_dir in $PATH
6593 IFS=$as_save_IFS
6594 test -z "$as_dir" && as_dir=.
6595 for ac_exec_ext in '' $ac_executable_extensions; do
6596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6597 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6599 break 2
6601 done
6602 done
6603 IFS=$as_save_IFS
6607 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6608 if test -n "$PKG_CONFIG"; then
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6610 $as_echo "$PKG_CONFIG" >&6; }
6611 else
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6613 $as_echo "no" >&6; }
6618 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6619 if test "x$cross_compiling" = xyes; then :
6621 else
6622 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6623 # Extract the first word of "pkg-config", so it can be a program name with args.
6624 set dummy pkg-config; ac_word=$2
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 $as_echo_n "checking for $ac_word... " >&6; }
6627 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6628 $as_echo_n "(cached) " >&6
6629 else
6630 if test -n "$PKG_CONFIG"; then
6631 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6632 else
6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6634 for as_dir in $PATH
6636 IFS=$as_save_IFS
6637 test -z "$as_dir" && as_dir=.
6638 for ac_exec_ext in '' $ac_executable_extensions; do
6639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6640 ac_cv_prog_PKG_CONFIG="pkg-config"
6641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6642 break 2
6644 done
6645 done
6646 IFS=$as_save_IFS
6650 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6651 if test -n "$PKG_CONFIG"; then
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6653 $as_echo "$PKG_CONFIG" >&6; }
6654 else
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6656 $as_echo "no" >&6; }
6661 else
6662 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6665 if test "x$enable_maintainer_mode" != "xyes"
6666 then
6667 FONTFORGE=""
6668 RSVG=""
6669 CONVERT=""
6670 ICOTOOL=""
6671 else
6672 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6673 for ac_prog in fontforge
6675 # Extract the first word of "$ac_prog", so it can be a program name with args.
6676 set dummy $ac_prog; ac_word=$2
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678 $as_echo_n "checking for $ac_word... " >&6; }
6679 if ${ac_cv_prog_FONTFORGE+:} false; then :
6680 $as_echo_n "(cached) " >&6
6681 else
6682 if test -n "$FONTFORGE"; then
6683 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6684 else
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 for as_dir in $PATH
6688 IFS=$as_save_IFS
6689 test -z "$as_dir" && as_dir=.
6690 for ac_exec_ext in '' $ac_executable_extensions; do
6691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6692 ac_cv_prog_FONTFORGE="$ac_prog"
6693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6694 break 2
6696 done
6697 done
6698 IFS=$as_save_IFS
6702 FONTFORGE=$ac_cv_prog_FONTFORGE
6703 if test -n "$FONTFORGE"; then
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6705 $as_echo "$FONTFORGE" >&6; }
6706 else
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 $as_echo "no" >&6; }
6712 test -n "$FONTFORGE" && break
6713 done
6714 test -n "$FONTFORGE" || FONTFORGE="false"
6716 for ac_prog in rsvg-convert rsvg
6718 # Extract the first word of "$ac_prog", so it can be a program name with args.
6719 set dummy $ac_prog; ac_word=$2
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6721 $as_echo_n "checking for $ac_word... " >&6; }
6722 if ${ac_cv_prog_RSVG+:} false; then :
6723 $as_echo_n "(cached) " >&6
6724 else
6725 if test -n "$RSVG"; then
6726 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6727 else
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6729 for as_dir in $PATH
6731 IFS=$as_save_IFS
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6735 ac_cv_prog_RSVG="$ac_prog"
6736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6737 break 2
6739 done
6740 done
6741 IFS=$as_save_IFS
6745 RSVG=$ac_cv_prog_RSVG
6746 if test -n "$RSVG"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6748 $as_echo "$RSVG" >&6; }
6749 else
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6751 $as_echo "no" >&6; }
6755 test -n "$RSVG" && break
6756 done
6757 test -n "$RSVG" || RSVG="false"
6759 for ac_prog in convert
6761 # Extract the first word of "$ac_prog", so it can be a program name with args.
6762 set dummy $ac_prog; ac_word=$2
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6764 $as_echo_n "checking for $ac_word... " >&6; }
6765 if ${ac_cv_prog_CONVERT+:} false; then :
6766 $as_echo_n "(cached) " >&6
6767 else
6768 if test -n "$CONVERT"; then
6769 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6770 else
6771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772 for as_dir in $PATH
6774 IFS=$as_save_IFS
6775 test -z "$as_dir" && as_dir=.
6776 for ac_exec_ext in '' $ac_executable_extensions; do
6777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6778 ac_cv_prog_CONVERT="$ac_prog"
6779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6780 break 2
6782 done
6783 done
6784 IFS=$as_save_IFS
6788 CONVERT=$ac_cv_prog_CONVERT
6789 if test -n "$CONVERT"; then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6791 $as_echo "$CONVERT" >&6; }
6792 else
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6794 $as_echo "no" >&6; }
6798 test -n "$CONVERT" && break
6799 done
6800 test -n "$CONVERT" || CONVERT="false"
6802 for ac_prog in icotool
6804 # Extract the first word of "$ac_prog", so it can be a program name with args.
6805 set dummy $ac_prog; ac_word=$2
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6807 $as_echo_n "checking for $ac_word... " >&6; }
6808 if ${ac_cv_prog_ICOTOOL+:} false; then :
6809 $as_echo_n "(cached) " >&6
6810 else
6811 if test -n "$ICOTOOL"; then
6812 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6813 else
6814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6815 for as_dir in $PATH
6817 IFS=$as_save_IFS
6818 test -z "$as_dir" && as_dir=.
6819 for ac_exec_ext in '' $ac_executable_extensions; do
6820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6821 ac_cv_prog_ICOTOOL="$ac_prog"
6822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6823 break 2
6825 done
6826 done
6827 IFS=$as_save_IFS
6831 ICOTOOL=$ac_cv_prog_ICOTOOL
6832 if test -n "$ICOTOOL"; then
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6834 $as_echo "$ICOTOOL" >&6; }
6835 else
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6837 $as_echo "no" >&6; }
6841 test -n "$ICOTOOL" && break
6842 done
6843 test -n "$ICOTOOL" || ICOTOOL="false"
6845 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6846 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6848 if test "$CONVERT" = false
6849 then
6850 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6851 else
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6853 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6854 convert_version=`convert --version | head -n1`
6855 if test "x$convert_version" != "x"
6856 then
6857 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6858 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6859 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6860 then
6861 CONVERT=false
6864 if test "$CONVERT" = false
6865 then
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6867 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6868 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6869 else
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6871 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6875 if test "$ICOTOOL" = false
6876 then
6877 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6878 else
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6880 $as_echo_n "checking for recent enough icotool... " >&6; }
6881 icotool_version=`icotool --version | head -n1`
6882 if test "x$icotool_version" != "x"
6883 then
6884 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6885 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6886 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6887 then
6888 ICOTOOL=false
6889 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6892 if test "$ICOTOOL" = false
6893 then
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6895 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6896 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6897 else
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6899 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6903 with_gettext=yes
6904 with_gettextpo=yes
6906 enable_werror=yes
6909 test "x$with_gettext" != xno || MSGFMT=false
6910 if test "$MSGFMT" != "false"
6911 then
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6913 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6914 if ${wine_cv_msgfmt_contexts+:} false; then :
6915 $as_echo_n "(cached) " >&6
6916 else
6917 cat >conftest.po <<EOF
6918 # comment
6919 msgctxt "ctxt"
6920 msgid "id"
6921 msgstr "str"
6923 if $MSGFMT -o /dev/null conftest.po 2>&5
6924 then
6925 wine_cv_msgfmt_contexts=yes
6926 else
6927 wine_cv_msgfmt_contexts=no
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6931 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6932 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6934 if test "$MSGFMT" = false; then :
6935 case "x$with_gettext" in
6936 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6937 xno) ;;
6938 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6939 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6940 esac
6941 enable_po=${enable_po:-no}
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6946 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6947 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6948 $as_echo_n "(cached) " >&6
6949 else
6950 ac_check_lib_save_LIBS=$LIBS
6951 LIBS="-li386 $LIBS"
6952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6953 /* end confdefs.h. */
6955 /* Override any GCC internal prototype to avoid an error.
6956 Use char because int might match the return type of a GCC
6957 builtin and then its argument prototype would still apply. */
6958 #ifdef __cplusplus
6959 extern "C"
6960 #endif
6961 char i386_set_ldt ();
6963 main ()
6965 return i386_set_ldt ();
6967 return 0;
6969 _ACEOF
6970 if ac_fn_c_try_link "$LINENO"; then :
6971 ac_cv_lib_i386_i386_set_ldt=yes
6972 else
6973 ac_cv_lib_i386_i386_set_ldt=no
6975 rm -f core conftest.err conftest.$ac_objext \
6976 conftest$ac_exeext conftest.$ac_ext
6977 LIBS=$ac_check_lib_save_LIBS
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6980 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6981 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6982 I386_LIBS="-li386"
6987 OPENGL_LIBS=""
6991 # Check whether --enable-largefile was given.
6992 if test "${enable_largefile+set}" = set; then :
6993 enableval=$enable_largefile;
6996 if test "$enable_largefile" != no; then
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6999 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
7000 if ${ac_cv_sys_largefile_CC+:} false; then :
7001 $as_echo_n "(cached) " >&6
7002 else
7003 ac_cv_sys_largefile_CC=no
7004 if test "$GCC" != yes; then
7005 ac_save_CC=$CC
7006 while :; do
7007 # IRIX 6.2 and later do not support large files by default,
7008 # so use the C compiler's -n32 option if that helps.
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7011 #include <sys/types.h>
7012 /* Check that off_t can represent 2**63 - 1 correctly.
7013 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7014 since some C++ compilers masquerading as C compilers
7015 incorrectly reject 9223372036854775807. */
7016 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7017 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7018 && LARGE_OFF_T % 2147483647 == 1)
7019 ? 1 : -1];
7021 main ()
7025 return 0;
7027 _ACEOF
7028 if ac_fn_c_try_compile "$LINENO"; then :
7029 break
7031 rm -f core conftest.err conftest.$ac_objext
7032 CC="$CC -n32"
7033 if ac_fn_c_try_compile "$LINENO"; then :
7034 ac_cv_sys_largefile_CC=' -n32'; break
7036 rm -f core conftest.err conftest.$ac_objext
7037 break
7038 done
7039 CC=$ac_save_CC
7040 rm -f conftest.$ac_ext
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7044 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7045 if test "$ac_cv_sys_largefile_CC" != no; then
7046 CC=$CC$ac_cv_sys_largefile_CC
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7050 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7051 if ${ac_cv_sys_file_offset_bits+:} false; then :
7052 $as_echo_n "(cached) " >&6
7053 else
7054 while :; do
7055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7056 /* end confdefs.h. */
7057 #include <sys/types.h>
7058 /* Check that off_t can represent 2**63 - 1 correctly.
7059 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7060 since some C++ compilers masquerading as C compilers
7061 incorrectly reject 9223372036854775807. */
7062 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7063 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7064 && LARGE_OFF_T % 2147483647 == 1)
7065 ? 1 : -1];
7067 main ()
7071 return 0;
7073 _ACEOF
7074 if ac_fn_c_try_compile "$LINENO"; then :
7075 ac_cv_sys_file_offset_bits=no; break
7077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7079 /* end confdefs.h. */
7080 #define _FILE_OFFSET_BITS 64
7081 #include <sys/types.h>
7082 /* Check that off_t can represent 2**63 - 1 correctly.
7083 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7084 since some C++ compilers masquerading as C compilers
7085 incorrectly reject 9223372036854775807. */
7086 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7087 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7088 && LARGE_OFF_T % 2147483647 == 1)
7089 ? 1 : -1];
7091 main ()
7095 return 0;
7097 _ACEOF
7098 if ac_fn_c_try_compile "$LINENO"; then :
7099 ac_cv_sys_file_offset_bits=64; break
7101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7102 ac_cv_sys_file_offset_bits=unknown
7103 break
7104 done
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7107 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7108 case $ac_cv_sys_file_offset_bits in #(
7109 no | unknown) ;;
7111 cat >>confdefs.h <<_ACEOF
7112 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7113 _ACEOF
7115 esac
7116 rm -rf conftest*
7117 if test $ac_cv_sys_file_offset_bits = unknown; then
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7119 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7120 if ${ac_cv_sys_large_files+:} false; then :
7121 $as_echo_n "(cached) " >&6
7122 else
7123 while :; do
7124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7125 /* end confdefs.h. */
7126 #include <sys/types.h>
7127 /* Check that off_t can represent 2**63 - 1 correctly.
7128 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7129 since some C++ compilers masquerading as C compilers
7130 incorrectly reject 9223372036854775807. */
7131 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7132 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7133 && LARGE_OFF_T % 2147483647 == 1)
7134 ? 1 : -1];
7136 main ()
7140 return 0;
7142 _ACEOF
7143 if ac_fn_c_try_compile "$LINENO"; then :
7144 ac_cv_sys_large_files=no; break
7146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7148 /* end confdefs.h. */
7149 #define _LARGE_FILES 1
7150 #include <sys/types.h>
7151 /* Check that off_t can represent 2**63 - 1 correctly.
7152 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7153 since some C++ compilers masquerading as C compilers
7154 incorrectly reject 9223372036854775807. */
7155 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7156 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7157 && LARGE_OFF_T % 2147483647 == 1)
7158 ? 1 : -1];
7160 main ()
7164 return 0;
7166 _ACEOF
7167 if ac_fn_c_try_compile "$LINENO"; then :
7168 ac_cv_sys_large_files=1; break
7170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7171 ac_cv_sys_large_files=unknown
7172 break
7173 done
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7176 $as_echo "$ac_cv_sys_large_files" >&6; }
7177 case $ac_cv_sys_large_files in #(
7178 no | unknown) ;;
7180 cat >>confdefs.h <<_ACEOF
7181 #define _LARGE_FILES $ac_cv_sys_large_files
7182 _ACEOF
7184 esac
7185 rm -rf conftest*
7192 ac_ext=c
7193 ac_cpp='$CPP $CPPFLAGS'
7194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7198 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7199 # On Suns, sometimes $CPP names a directory.
7200 if test -n "$CPP" && test -d "$CPP"; then
7201 CPP=
7203 if test -z "$CPP"; then
7204 if ${ac_cv_prog_CPP+:} false; then :
7205 $as_echo_n "(cached) " >&6
7206 else
7207 # Double quotes because CPP needs to be expanded
7208 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7210 ac_preproc_ok=false
7211 for ac_c_preproc_warn_flag in '' yes
7213 # Use a header file that comes with gcc, so configuring glibc
7214 # with a fresh cross-compiler works.
7215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7216 # <limits.h> exists even on freestanding compilers.
7217 # On the NeXT, cc -E runs the code through the compiler's parser,
7218 # not just through cpp. "Syntax error" is here to catch this case.
7219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7220 /* end confdefs.h. */
7221 #ifdef __STDC__
7222 # include <limits.h>
7223 #else
7224 # include <assert.h>
7225 #endif
7226 Syntax error
7227 _ACEOF
7228 if ac_fn_c_try_cpp "$LINENO"; then :
7230 else
7231 # Broken: fails on valid input.
7232 continue
7234 rm -f conftest.err conftest.i conftest.$ac_ext
7236 # OK, works on sane cases. Now check whether nonexistent headers
7237 # can be detected and how.
7238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239 /* end confdefs.h. */
7240 #include <ac_nonexistent.h>
7241 _ACEOF
7242 if ac_fn_c_try_cpp "$LINENO"; then :
7243 # Broken: success on invalid input.
7244 continue
7245 else
7246 # Passes both tests.
7247 ac_preproc_ok=:
7248 break
7250 rm -f conftest.err conftest.i conftest.$ac_ext
7252 done
7253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7254 rm -f conftest.i conftest.err conftest.$ac_ext
7255 if $ac_preproc_ok; then :
7256 break
7259 done
7260 ac_cv_prog_CPP=$CPP
7263 CPP=$ac_cv_prog_CPP
7264 else
7265 ac_cv_prog_CPP=$CPP
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7268 $as_echo "$CPP" >&6; }
7269 ac_preproc_ok=false
7270 for ac_c_preproc_warn_flag in '' yes
7272 # Use a header file that comes with gcc, so configuring glibc
7273 # with a fresh cross-compiler works.
7274 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7275 # <limits.h> exists even on freestanding compilers.
7276 # On the NeXT, cc -E runs the code through the compiler's parser,
7277 # not just through cpp. "Syntax error" is here to catch this case.
7278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279 /* end confdefs.h. */
7280 #ifdef __STDC__
7281 # include <limits.h>
7282 #else
7283 # include <assert.h>
7284 #endif
7285 Syntax error
7286 _ACEOF
7287 if ac_fn_c_try_cpp "$LINENO"; then :
7289 else
7290 # Broken: fails on valid input.
7291 continue
7293 rm -f conftest.err conftest.i conftest.$ac_ext
7295 # OK, works on sane cases. Now check whether nonexistent headers
7296 # can be detected and how.
7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7299 #include <ac_nonexistent.h>
7300 _ACEOF
7301 if ac_fn_c_try_cpp "$LINENO"; then :
7302 # Broken: success on invalid input.
7303 continue
7304 else
7305 # Passes both tests.
7306 ac_preproc_ok=:
7307 break
7309 rm -f conftest.err conftest.i conftest.$ac_ext
7311 done
7312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7313 rm -f conftest.i conftest.err conftest.$ac_ext
7314 if $ac_preproc_ok; then :
7316 else
7317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7319 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7320 See \`config.log' for more details" "$LINENO" 5; }
7323 ac_ext=c
7324 ac_cpp='$CPP $CPPFLAGS'
7325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7331 $as_echo_n "checking for ANSI C header files... " >&6; }
7332 if ${ac_cv_header_stdc+:} false; then :
7333 $as_echo_n "(cached) " >&6
7334 else
7335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7336 /* end confdefs.h. */
7337 #include <stdlib.h>
7338 #include <stdarg.h>
7339 #include <string.h>
7340 #include <float.h>
7343 main ()
7347 return 0;
7349 _ACEOF
7350 if ac_fn_c_try_compile "$LINENO"; then :
7351 ac_cv_header_stdc=yes
7352 else
7353 ac_cv_header_stdc=no
7355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7357 if test $ac_cv_header_stdc = yes; then
7358 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7360 /* end confdefs.h. */
7361 #include <string.h>
7363 _ACEOF
7364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7365 $EGREP "memchr" >/dev/null 2>&1; then :
7367 else
7368 ac_cv_header_stdc=no
7370 rm -f conftest*
7374 if test $ac_cv_header_stdc = yes; then
7375 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7377 /* end confdefs.h. */
7378 #include <stdlib.h>
7380 _ACEOF
7381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7382 $EGREP "free" >/dev/null 2>&1; then :
7384 else
7385 ac_cv_header_stdc=no
7387 rm -f conftest*
7391 if test $ac_cv_header_stdc = yes; then
7392 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7393 if test "$cross_compiling" = yes; then :
7395 else
7396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7397 /* end confdefs.h. */
7398 #include <ctype.h>
7399 #include <stdlib.h>
7400 #if ((' ' & 0x0FF) == 0x020)
7401 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7402 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7403 #else
7404 # define ISLOWER(c) \
7405 (('a' <= (c) && (c) <= 'i') \
7406 || ('j' <= (c) && (c) <= 'r') \
7407 || ('s' <= (c) && (c) <= 'z'))
7408 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7409 #endif
7411 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7413 main ()
7415 int i;
7416 for (i = 0; i < 256; i++)
7417 if (XOR (islower (i), ISLOWER (i))
7418 || toupper (i) != TOUPPER (i))
7419 return 2;
7420 return 0;
7422 _ACEOF
7423 if ac_fn_c_try_run "$LINENO"; then :
7425 else
7426 ac_cv_header_stdc=no
7428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7429 conftest.$ac_objext conftest.beam conftest.$ac_ext
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7435 $as_echo "$ac_cv_header_stdc" >&6; }
7436 if test $ac_cv_header_stdc = yes; then
7438 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7442 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7443 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7444 inttypes.h stdint.h unistd.h
7445 do :
7446 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7447 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7449 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7450 cat >>confdefs.h <<_ACEOF
7451 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7452 _ACEOF
7456 done
7459 for ac_header in \
7460 AL/al.h \
7461 ApplicationServices/ApplicationServices.h \
7462 CL/cl.h \
7463 Carbon/Carbon.h \
7464 CommonCrypto/CommonCryptor.h \
7465 CoreAudio/CoreAudio.h \
7466 DiskArbitration/DiskArbitration.h \
7467 EGL/egl.h \
7468 IOKit/IOKitLib.h \
7469 IOKit/hid/IOHIDLib.h \
7470 OpenAL/al.h \
7471 OpenCL/opencl.h \
7472 QuickTime/ImageCompression.h \
7473 Security/Security.h \
7474 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7475 SystemConfiguration/SCNetworkConfiguration.h \
7476 alias.h \
7477 arpa/inet.h \
7478 arpa/nameser.h \
7479 asm/types.h \
7480 asm/user.h \
7481 dirent.h \
7482 dlfcn.h \
7483 elf.h \
7484 float.h \
7485 fnmatch.h \
7486 getopt.h \
7487 gettext-po.h \
7488 grp.h \
7489 gsm.h \
7490 gsm/gsm.h \
7491 ieeefp.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 sys/attr.h \
7529 sys/auxv.h \
7530 sys/cdio.h \
7531 sys/epoll.h \
7532 sys/event.h \
7533 sys/filio.h \
7534 sys/ioctl.h \
7535 sys/ipc.h \
7536 sys/link.h \
7537 sys/mman.h \
7538 sys/modem.h \
7539 sys/mtio.h \
7540 sys/param.h \
7541 sys/poll.h \
7542 sys/prctl.h \
7543 sys/protosw.h \
7544 sys/ptrace.h \
7545 sys/queue.h \
7546 sys/random.h \
7547 sys/resource.h \
7548 sys/scsiio.h \
7549 sys/shm.h \
7550 sys/signal.h \
7551 sys/socket.h \
7552 sys/socketvar.h \
7553 sys/sockio.h \
7554 sys/statvfs.h \
7555 sys/strtio.h \
7556 sys/syscall.h \
7557 sys/sysinfo.h \
7558 sys/time.h \
7559 sys/timeout.h \
7560 sys/times.h \
7561 sys/uio.h \
7562 sys/user.h \
7563 sys/utsname.h \
7564 sys/vnode.h \
7565 sys/wait.h \
7566 syscall.h \
7567 termios.h \
7568 unistd.h \
7569 utime.h \
7570 valgrind/memcheck.h \
7571 valgrind/valgrind.h
7573 do :
7574 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7575 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7576 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7577 cat >>confdefs.h <<_ACEOF
7578 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7579 _ACEOF
7583 done
7585 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7586 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7588 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7593 if test $ac_cv_header_sys_mkdev_h = no; then
7594 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7595 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7597 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7604 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7605 if ${ac_cv_header_stat_broken+:} false; then :
7606 $as_echo_n "(cached) " >&6
7607 else
7608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7609 /* end confdefs.h. */
7610 #include <sys/types.h>
7611 #include <sys/stat.h>
7613 #if defined S_ISBLK && defined S_IFDIR
7614 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7615 #endif
7617 #if defined S_ISBLK && defined S_IFCHR
7618 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7619 #endif
7621 #if defined S_ISLNK && defined S_IFREG
7622 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7623 #endif
7625 #if defined S_ISSOCK && defined S_IFREG
7626 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7627 #endif
7629 _ACEOF
7630 if ac_fn_c_try_compile "$LINENO"; then :
7631 ac_cv_header_stat_broken=no
7632 else
7633 ac_cv_header_stat_broken=yes
7635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7638 $as_echo "$ac_cv_header_stat_broken" >&6; }
7639 if test $ac_cv_header_stat_broken = yes; then
7641 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7647 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7648 do :
7649 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7650 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7651 #ifdef HAVE_SYS_PARAM_H
7652 # include <sys/param.h>
7653 #endif
7655 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7656 cat >>confdefs.h <<_ACEOF
7657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7658 _ACEOF
7662 done
7665 saved_sysctl_h_CFLAGS=$CFLAGS
7666 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7667 for ac_header in sys/sysctl.h
7668 do :
7669 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7670 #ifdef HAVE_SYS_PARAM_H
7671 # include <sys/param.h>
7672 #endif
7674 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7675 cat >>confdefs.h <<_ACEOF
7676 #define HAVE_SYS_SYSCTL_H 1
7677 _ACEOF
7681 done
7683 CFLAGS=$saved_sysctl_h_CFLAGS
7685 for ac_header in \
7686 netinet/ip.h \
7687 net/if.h \
7688 net/if_arp.h \
7689 net/if_dl.h \
7690 net/if_types.h \
7691 net/route.h \
7692 netinet/if_ether.h \
7693 netinet/if_inarp.h \
7694 netinet/in_pcb.h \
7695 netinet/ip_icmp.h \
7696 netinet/ip_var.h \
7697 netinet/udp.h \
7698 netipx/ipx.h \
7699 sys/un.h \
7701 do :
7702 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7703 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7704 #ifdef HAVE_SYS_SOCKET_H
7705 # include <sys/socket.h>
7706 #endif
7707 #ifdef HAVE_SYS_SOCKETVAR_H
7708 # include <sys/socketvar.h>
7709 #endif
7710 #ifdef HAVE_NET_ROUTE_H
7711 # include <net/route.h>
7712 #endif
7713 #ifdef HAVE_NETINET_IN_H
7714 # include <netinet/in.h>
7715 #endif
7716 #ifdef HAVE_NETINET_IN_SYSTM_H
7717 # include <netinet/in_systm.h>
7718 #endif
7719 #ifdef HAVE_NET_IF_H
7720 # include <net/if.h>
7721 #endif
7722 #ifdef HAVE_NETINET_IP_H
7723 # include <netinet/ip.h>
7724 #endif
7726 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7727 cat >>confdefs.h <<_ACEOF
7728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7729 _ACEOF
7733 done
7736 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7737 do :
7738 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7739 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7740 #ifdef HAVE_ALIAS_H
7741 # include <alias.h>
7742 #endif
7743 #ifdef HAVE_SYS_SOCKET_H
7744 # include <sys/socket.h>
7745 #endif
7746 #ifdef HAVE_SYS_SOCKETVAR_H
7747 # include <sys/socketvar.h>
7748 #endif
7749 #ifdef HAVE_SYS_TIMEOUT_H
7750 # include <sys/timeout.h>
7751 #endif
7752 #ifdef HAVE_NETINET_IN_H
7753 # include <netinet/in.h>
7754 #endif
7755 #ifdef HAVE_NETINET_IN_SYSTM_H
7756 # include <netinet/in_systm.h>
7757 #endif
7758 #ifdef HAVE_NETINET_IP_H
7759 # include <netinet/ip.h>
7760 #endif
7761 #ifdef HAVE_NETINET_IP_VAR_H
7762 # include <netinet/ip_var.h>
7763 #endif
7764 #ifdef HAVE_NETINET_IP_ICMP_H
7765 # include <netinet/ip_icmp.h>
7766 #endif
7767 #ifdef HAVE_NETINET_UDP_H
7768 # include <netinet/udp.h>
7769 #endif
7770 #ifdef HAVE_NETINET_TCP_H
7771 # include <netinet/tcp.h>
7772 #endif
7773 #ifdef HAVE_NETINET_TCP_TIMER_H
7774 #include <netinet/tcp_timer.h>
7775 #endif
7777 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7778 cat >>confdefs.h <<_ACEOF
7779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7780 _ACEOF
7784 done
7787 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7788 do :
7789 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7790 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7791 #ifdef HAVE_ASM_TYPES_H
7792 # include <asm/types.h>
7793 #endif
7794 #ifdef HAVE_SYS_SOCKET_H
7795 # include <sys/socket.h>
7796 #endif
7797 #ifdef HAVE_LINUX_TYPES_H
7798 # include <linux/types.h>
7799 #endif
7801 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7802 cat >>confdefs.h <<_ACEOF
7803 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7804 _ACEOF
7808 done
7811 for ac_header in resolv.h
7812 do :
7813 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7814 #ifdef HAVE_SYS_SOCKET_H
7815 # include <sys/socket.h>
7816 #endif
7817 #ifdef HAVE_NETINET_IN_H
7818 # include <netinet/in.h>
7819 #endif
7820 #ifdef HAVE_ARPA_NAMESER_H
7821 # include <arpa/nameser.h>
7822 #endif
7824 if test "x$ac_cv_header_resolv_h" = xyes; then :
7825 cat >>confdefs.h <<_ACEOF
7826 #define HAVE_RESOLV_H 1
7827 _ACEOF
7831 done
7834 for ac_header in ifaddrs.h
7835 do :
7836 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7838 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7839 cat >>confdefs.h <<_ACEOF
7840 #define HAVE_IFADDRS_H 1
7841 _ACEOF
7845 done
7848 for ac_header in sys/ucontext.h
7849 do :
7850 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7852 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7853 cat >>confdefs.h <<_ACEOF
7854 #define HAVE_SYS_UCONTEXT_H 1
7855 _ACEOF
7859 done
7862 for ac_header in sys/thr.h
7863 do :
7864 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7865 #ifdef HAVE_SYS_UCONTEXT_H
7866 #include <sys/ucontext.h>
7867 #endif
7869 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7870 cat >>confdefs.h <<_ACEOF
7871 #define HAVE_SYS_THR_H 1
7872 _ACEOF
7876 done
7879 for ac_header in pthread_np.h
7880 do :
7881 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7882 #include <pthread.h>
7883 #endif
7885 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7886 cat >>confdefs.h <<_ACEOF
7887 #define HAVE_PTHREAD_NP_H 1
7888 _ACEOF
7892 done
7895 for ac_header in linux/videodev2.h
7896 do :
7897 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7898 #include <sys/time.h>
7899 #endif
7900 #include <sys/types.h>
7901 #ifdef HAVE_ASM_TYPES_H
7902 #include <asm/types.h>
7903 #endif
7905 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7906 cat >>confdefs.h <<_ACEOF
7907 #define HAVE_LINUX_VIDEODEV2_H 1
7908 _ACEOF
7912 done
7915 for ac_header in libprocstat.h
7916 do :
7917 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7918 #include <sys/param.h>
7919 #endif
7920 #ifdef HAVE_SYS_QUEUE_H
7921 #include <sys/queue.h>
7922 #endif
7923 #ifdef HAVE_SYS_SOCKET_H
7924 #include <sys/socket.h>
7925 #endif
7927 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7928 cat >>confdefs.h <<_ACEOF
7929 #define HAVE_LIBPROCSTAT_H 1
7930 _ACEOF
7934 done
7938 DLLFLAGS=""
7940 LDDLLFLAGS=""
7942 LDEXECFLAGS=""
7944 UNIXDLLFLAGS="-fPIC"
7946 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
7948 TOP_INSTALL_LIB=""
7950 TOP_INSTALL_DEV=""
7952 WINELOADER_LDFLAGS=""
7954 WINEPRELOADER_LDFLAGS=""
7956 LIBEXT="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 case $host_cpu in
8321 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8322 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8323 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8324 $as_echo_n "(cached) " >&6
8325 else
8326 ac_wine_try_cflags_saved=$CFLAGS
8327 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8329 /* end confdefs.h. */
8330 int main(int argc, char **argv) { return 0; }
8331 _ACEOF
8332 if ac_fn_c_try_link "$LINENO"; then :
8333 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8334 else
8335 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8337 rm -f core conftest.err conftest.$ac_objext \
8338 conftest$ac_exeext conftest.$ac_ext
8339 CFLAGS=$ac_wine_try_cflags_saved
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8342 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8343 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8344 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8345 fi ;;
8346 esac
8347 enable_iphlpapi=${enable_iphlpapi:-no}
8348 enable_nsiproxy_sys=${enable_nsiproxy_sys:-no}
8349 enable_loader=${enable_loader:-no}
8350 enable_server=${enable_server:-no}
8351 with_x=${with_x:-no}
8352 with_pthread=${with_pthread:-no}
8355 darwin*|macosx*)
8356 ac_ext=m
8357 ac_cpp='$OBJCPP $CPPFLAGS'
8358 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8359 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8360 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8362 ac_ext=m
8363 ac_cpp='$OBJCPP $CPPFLAGS'
8364 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8365 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8366 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8367 if test -n "$ac_tool_prefix"; then
8368 for ac_prog in gcc objcc objc cc CC
8370 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8371 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8373 $as_echo_n "checking for $ac_word... " >&6; }
8374 if ${ac_cv_prog_OBJC+:} false; then :
8375 $as_echo_n "(cached) " >&6
8376 else
8377 if test -n "$OBJC"; then
8378 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8379 else
8380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8381 for as_dir in $PATH
8383 IFS=$as_save_IFS
8384 test -z "$as_dir" && as_dir=.
8385 for ac_exec_ext in '' $ac_executable_extensions; do
8386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8387 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8389 break 2
8391 done
8392 done
8393 IFS=$as_save_IFS
8397 OBJC=$ac_cv_prog_OBJC
8398 if test -n "$OBJC"; then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8400 $as_echo "$OBJC" >&6; }
8401 else
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8403 $as_echo "no" >&6; }
8407 test -n "$OBJC" && break
8408 done
8410 if test -z "$OBJC"; then
8411 ac_ct_OBJC=$OBJC
8412 for ac_prog in gcc objcc objc cc CC
8414 # Extract the first word of "$ac_prog", so it can be a program name with args.
8415 set dummy $ac_prog; ac_word=$2
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8417 $as_echo_n "checking for $ac_word... " >&6; }
8418 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8419 $as_echo_n "(cached) " >&6
8420 else
8421 if test -n "$ac_ct_OBJC"; then
8422 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8423 else
8424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8425 for as_dir in $PATH
8427 IFS=$as_save_IFS
8428 test -z "$as_dir" && as_dir=.
8429 for ac_exec_ext in '' $ac_executable_extensions; do
8430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8431 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8433 break 2
8435 done
8436 done
8437 IFS=$as_save_IFS
8441 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8442 if test -n "$ac_ct_OBJC"; then
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8444 $as_echo "$ac_ct_OBJC" >&6; }
8445 else
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8447 $as_echo "no" >&6; }
8451 test -n "$ac_ct_OBJC" && break
8452 done
8454 if test "x$ac_ct_OBJC" = x; then
8455 OBJC="gcc"
8456 else
8457 case $cross_compiling:$ac_tool_warned in
8458 yes:)
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8461 ac_tool_warned=yes ;;
8462 esac
8463 OBJC=$ac_ct_OBJC
8467 # Provide some information about the compiler.
8468 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8469 set X $ac_compile
8470 ac_compiler=$2
8471 for ac_option in --version -v -V -qversion; do
8472 { { ac_try="$ac_compiler $ac_option >&5"
8473 case "(($ac_try" in
8474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8475 *) ac_try_echo=$ac_try;;
8476 esac
8477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8478 $as_echo "$ac_try_echo"; } >&5
8479 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8480 ac_status=$?
8481 if test -s conftest.err; then
8482 sed '10a\
8483 ... rest of stderr output deleted ...
8484 10q' conftest.err >conftest.er1
8485 cat conftest.er1 >&5
8487 rm -f conftest.er1 conftest.err
8488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8489 test $ac_status = 0; }
8490 done
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8493 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8494 if ${ac_cv_objc_compiler_gnu+:} false; then :
8495 $as_echo_n "(cached) " >&6
8496 else
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8501 main ()
8503 #ifndef __GNUC__
8504 choke me
8505 #endif
8508 return 0;
8510 _ACEOF
8511 if ac_fn_objc_try_compile "$LINENO"; then :
8512 ac_compiler_gnu=yes
8513 else
8514 ac_compiler_gnu=no
8516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8517 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8521 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8522 if test $ac_compiler_gnu = yes; then
8523 GOBJC=yes
8524 else
8525 GOBJC=
8527 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8528 ac_save_OBJCFLAGS=$OBJCFLAGS
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8530 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8531 if ${ac_cv_prog_objc_g+:} false; then :
8532 $as_echo_n "(cached) " >&6
8533 else
8534 ac_save_objc_werror_flag=$ac_objc_werror_flag
8535 ac_objc_werror_flag=yes
8536 ac_cv_prog_objc_g=no
8537 OBJCFLAGS="-g"
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8542 main ()
8546 return 0;
8548 _ACEOF
8549 if ac_fn_objc_try_compile "$LINENO"; then :
8550 ac_cv_prog_objc_g=yes
8551 else
8552 OBJCFLAGS=""
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8557 main ()
8561 return 0;
8563 _ACEOF
8564 if ac_fn_objc_try_compile "$LINENO"; then :
8566 else
8567 ac_objc_werror_flag=$ac_save_objc_werror_flag
8568 OBJCFLAGS="-g"
8569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8570 /* end confdefs.h. */
8573 main ()
8577 return 0;
8579 _ACEOF
8580 if ac_fn_objc_try_compile "$LINENO"; then :
8581 ac_cv_prog_objc_g=yes
8583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8588 ac_objc_werror_flag=$ac_save_objc_werror_flag
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8591 $as_echo "$ac_cv_prog_objc_g" >&6; }
8592 if test "$ac_test_OBJCFLAGS" = set; then
8593 OBJCFLAGS=$ac_save_OBJCFLAGS
8594 elif test $ac_cv_prog_objc_g = yes; then
8595 if test "$GOBJC" = yes; then
8596 OBJCFLAGS="-g -O2"
8597 else
8598 OBJCFLAGS="-g"
8600 else
8601 if test "$GOBJC" = yes; then
8602 OBJCFLAGS="-O2"
8603 else
8604 OBJCFLAGS=
8607 ac_ext=m
8608 ac_cpp='$OBJCPP $CPPFLAGS'
8609 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8610 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8611 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8614 ac_ext=m
8615 ac_cpp='$OBJCPP $CPPFLAGS'
8616 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8617 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8618 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8620 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8621 if test -z "$OBJCPP"; then
8622 if ${ac_cv_prog_OBJCPP+:} false; then :
8623 $as_echo_n "(cached) " >&6
8624 else
8625 # Double quotes because OBJCPP needs to be expanded
8626 for OBJCPP in "$OBJC -E" "/lib/cpp"
8628 ac_preproc_ok=false
8629 for ac_objc_preproc_warn_flag in '' yes
8631 # Use a header file that comes with gcc, so configuring glibc
8632 # with a fresh cross-compiler works.
8633 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8634 # <limits.h> exists even on freestanding compilers.
8635 # On the NeXT, cc -E runs the code through the compiler's parser,
8636 # not just through cpp. "Syntax error" is here to catch this case.
8637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8638 /* end confdefs.h. */
8639 #ifdef __STDC__
8640 # include <limits.h>
8641 #else
8642 # include <assert.h>
8643 #endif
8644 Syntax error
8645 _ACEOF
8646 if ac_fn_objc_try_cpp "$LINENO"; then :
8648 else
8649 # Broken: fails on valid input.
8650 continue
8652 rm -f conftest.err conftest.i conftest.$ac_ext
8654 # OK, works on sane cases. Now check whether nonexistent headers
8655 # can be detected and how.
8656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8657 /* end confdefs.h. */
8658 #include <ac_nonexistent.h>
8659 _ACEOF
8660 if ac_fn_objc_try_cpp "$LINENO"; then :
8661 # Broken: success on invalid input.
8662 continue
8663 else
8664 # Passes both tests.
8665 ac_preproc_ok=:
8666 break
8668 rm -f conftest.err conftest.i conftest.$ac_ext
8670 done
8671 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8672 rm -f conftest.i conftest.err conftest.$ac_ext
8673 if $ac_preproc_ok; then :
8674 break
8677 done
8678 ac_cv_prog_OBJCPP=$OBJCPP
8681 OBJCPP=$ac_cv_prog_OBJCPP
8682 else
8683 ac_cv_prog_OBJCPP=$OBJCPP
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8686 $as_echo "$OBJCPP" >&6; }
8687 ac_preproc_ok=false
8688 for ac_objc_preproc_warn_flag in '' yes
8690 # Use a header file that comes with gcc, so configuring glibc
8691 # with a fresh cross-compiler works.
8692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8693 # <limits.h> exists even on freestanding compilers.
8694 # On the NeXT, cc -E runs the code through the compiler's parser,
8695 # not just through cpp. "Syntax error" is here to catch this case.
8696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8697 /* end confdefs.h. */
8698 #ifdef __STDC__
8699 # include <limits.h>
8700 #else
8701 # include <assert.h>
8702 #endif
8703 Syntax error
8704 _ACEOF
8705 if ac_fn_objc_try_cpp "$LINENO"; then :
8707 else
8708 # Broken: fails on valid input.
8709 continue
8711 rm -f conftest.err conftest.i conftest.$ac_ext
8713 # OK, works on sane cases. Now check whether nonexistent headers
8714 # can be detected and how.
8715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8716 /* end confdefs.h. */
8717 #include <ac_nonexistent.h>
8718 _ACEOF
8719 if ac_fn_objc_try_cpp "$LINENO"; then :
8720 # Broken: success on invalid input.
8721 continue
8722 else
8723 # Passes both tests.
8724 ac_preproc_ok=:
8725 break
8727 rm -f conftest.err conftest.i conftest.$ac_ext
8729 done
8730 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8731 rm -f conftest.i conftest.err conftest.$ac_ext
8732 if $ac_preproc_ok; then :
8734 else
8735 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8737 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8738 See \`config.log' for more details" "$LINENO" 5; }
8741 ac_ext=m
8742 ac_cpp='$OBJCPP $CPPFLAGS'
8743 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8744 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8745 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8748 for ac_header in Metal/Metal.h
8749 do :
8750 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8751 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8752 cat >>confdefs.h <<_ACEOF
8753 #define HAVE_METAL_METAL_H 1
8754 _ACEOF
8758 done
8760 ac_ext=c
8761 ac_cpp='$CPP $CPPFLAGS'
8762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8766 LIBEXT="dylib"
8767 DLLFLAGS="$DLLFLAGS -fPIC"
8768 LDDLLFLAGS="-fPIC"
8769 COREFOUNDATION_LIBS="-framework CoreFoundation"
8771 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8773 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8775 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8777 CORESERVICES_LIBS="-framework CoreServices"
8779 APPKIT_LIBS="-framework AppKit"
8781 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8784 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8786 wine_can_build_preloader=yes
8787 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"
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8789 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8790 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8791 $as_echo_n "(cached) " >&6
8792 else
8793 ac_wine_try_cflags_saved=$CFLAGS
8794 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8796 /* end confdefs.h. */
8797 int main(int argc, char **argv) { return 0; }
8798 _ACEOF
8799 if ac_fn_c_try_link "$LINENO"; then :
8800 ac_cv_cflags__Wl__no_new_main__e__main=yes
8801 else
8802 ac_cv_cflags__Wl__no_new_main__e__main=no
8804 rm -f core conftest.err conftest.$ac_objext \
8805 conftest$ac_exeext conftest.$ac_ext
8806 CFLAGS=$ac_wine_try_cflags_saved
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8809 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8810 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8811 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8813 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8814 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8815 $as_echo_n "(cached) " >&6
8816 else
8817 ac_wine_try_cflags_saved=$CFLAGS
8818 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8821 int main(int argc, char **argv) { return 0; }
8822 _ACEOF
8823 if ac_fn_c_try_link "$LINENO"; then :
8824 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8825 else
8826 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8828 rm -f core conftest.err conftest.$ac_objext \
8829 conftest$ac_exeext conftest.$ac_ext
8830 CFLAGS=$ac_wine_try_cflags_saved
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8833 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8834 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8835 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8836 else
8837 { $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
8838 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8839 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8840 $as_echo_n "(cached) " >&6
8841 else
8842 ac_wine_try_cflags_saved=$CFLAGS
8843 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8845 /* end confdefs.h. */
8846 int main(int argc, char **argv) { return 0; }
8847 _ACEOF
8848 if ac_fn_c_try_link "$LINENO"; then :
8849 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8850 else
8851 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8853 rm -f core conftest.err conftest.$ac_objext \
8854 conftest$ac_exeext conftest.$ac_ext
8855 CFLAGS=$ac_wine_try_cflags_saved
8857 { $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
8858 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8859 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8860 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8861 else
8862 wine_can_build_preloader=no
8865 else
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8867 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8868 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8869 $as_echo_n "(cached) " >&6
8870 else
8871 ac_wine_try_cflags_saved=$CFLAGS
8872 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8875 int main(int argc, char **argv) { return 0; }
8876 _ACEOF
8877 if ac_fn_c_try_link "$LINENO"; then :
8878 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8879 else
8880 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8882 rm -f core conftest.err conftest.$ac_objext \
8883 conftest$ac_exeext conftest.$ac_ext
8884 CFLAGS=$ac_wine_try_cflags_saved
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8887 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8888 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8889 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8890 else
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8892 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8893 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8894 $as_echo_n "(cached) " >&6
8895 else
8896 ac_wine_try_cflags_saved=$CFLAGS
8897 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8899 /* end confdefs.h. */
8900 int main(int argc, char **argv) { return 0; }
8901 _ACEOF
8902 if ac_fn_c_try_link "$LINENO"; then :
8903 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8904 else
8905 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8907 rm -f core conftest.err conftest.$ac_objext \
8908 conftest$ac_exeext conftest.$ac_ext
8909 CFLAGS=$ac_wine_try_cflags_saved
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8912 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8913 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8914 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8915 else
8916 wine_can_build_preloader=no
8920 if test "$wine_can_build_preloader" = "yes"
8921 then
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8923 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8924 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8925 $as_echo_n "(cached) " >&6
8926 else
8927 ac_wine_try_cflags_saved=$CFLAGS
8928 CFLAGS="$CFLAGS -Wl,-no_pie"
8929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8930 /* end confdefs.h. */
8931 int main(int argc, char **argv) { return 0; }
8932 _ACEOF
8933 if ac_fn_c_try_link "$LINENO"; then :
8934 ac_cv_cflags__Wl__no_pie=yes
8935 else
8936 ac_cv_cflags__Wl__no_pie=no
8938 rm -f core conftest.err conftest.$ac_objext \
8939 conftest$ac_exeext conftest.$ac_ext
8940 CFLAGS=$ac_wine_try_cflags_saved
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8943 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8944 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8945 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8947 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8948 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8949 else
8950 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8953 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8954 then
8955 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8958 if test "$ac_cv_header_Security_Security_h" = "yes"
8959 then
8960 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8963 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8964 then
8965 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8967 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8969 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8970 then
8971 OPENAL_LIBS="-framework OpenAL"
8974 cat >>confdefs.h <<_ACEOF
8975 #define HAVE_OPENAL 1
8976 _ACEOF
8978 ac_cv_lib_openal=yes
8980 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8981 then
8982 OPENCL_LIBS="-framework OpenCL"
8984 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8986 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8987 then
8988 ac_save_LIBS="$LIBS"
8989 LIBS="$LIBS $IOKIT_LIBS"
8990 for ac_func in IOHIDManagerCreate
8991 do :
8992 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8993 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8994 cat >>confdefs.h <<_ACEOF
8995 #define HAVE_IOHIDMANAGERCREATE 1
8996 _ACEOF
8999 done
9001 LIBS="$ac_save_LIBS"
9004 if test "x$with_quicktime" != "xno"
9005 then
9006 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9007 then
9008 ac_save_LIBS="$LIBS"
9009 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9011 $as_echo_n "checking for the QuickTime framework... " >&6; }
9012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9013 /* end confdefs.h. */
9014 #include <QuickTime/ImageCompression.h>
9016 main ()
9018 CodecManagerVersion(NULL);
9020 return 0;
9022 _ACEOF
9023 if ac_fn_c_try_link "$LINENO"; then :
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9025 $as_echo "yes" >&6; }
9026 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9028 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9029 else
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9031 $as_echo "no" >&6; }
9032 ac_cv_header_QuickTime_ImageCompression_h=no
9034 rm -f core conftest.err conftest.$ac_objext \
9035 conftest$ac_exeext conftest.$ac_ext
9036 LIBS="$ac_save_LIBS"
9039 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9040 case "x$with_quicktime" in
9041 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9042 xno) ;;
9043 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9044 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9045 esac
9049 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9050 then
9051 CARBON_LIBS="-framework Carbon"
9054 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9055 then
9056 METAL_LIBS="-framework Metal -framework QuartzCore"
9060 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9061 then
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9063 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9064 ac_ext=m
9065 ac_cpp='$OBJCPP $CPPFLAGS'
9066 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9067 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9068 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 #include <Metal/Metal.h>
9074 main ()
9076 id<MTLDevice> device; device.registryID;
9078 return 0;
9080 _ACEOF
9081 if ac_fn_objc_try_compile "$LINENO"; then :
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9083 $as_echo "yes" >&6; }
9085 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9087 else
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9089 $as_echo "no" >&6; }
9091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9092 ac_ext=c
9093 ac_cpp='$CPP $CPPFLAGS'
9094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9100 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9101 then
9102 ac_save_LIBS="$LIBS"
9103 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9104 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9105 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9106 enable_winemac_drv=${enable_winemac_drv:-yes}
9109 LIBS="$ac_save_LIBS"
9112 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
9113 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9115 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9117 WINELOADER_DEPENDS="wine_info.plist"
9119 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9122 linux-android*)
9123 DLLFLAGS="$DLLFLAGS -fPIC"
9124 LDDLLFLAGS="-fPIC"
9125 LDEXECFLAGS="-Wl,-pie"
9126 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9128 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9129 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9130 $as_echo_n "(cached) " >&6
9131 else
9132 ac_wine_try_cflags_saved=$CFLAGS
9133 CFLAGS="$CFLAGS -Wl,-z,defs"
9134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9136 int main(int argc, char **argv) { return 0; }
9137 _ACEOF
9138 if ac_fn_c_try_link "$LINENO"; then :
9139 ac_cv_cflags__Wl__z_defs=yes
9140 else
9141 ac_cv_cflags__Wl__z_defs=no
9143 rm -f core conftest.err conftest.$ac_objext \
9144 conftest$ac_exeext conftest.$ac_ext
9145 CFLAGS=$ac_wine_try_cflags_saved
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9148 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9149 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9150 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9153 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9154 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9155 $as_echo_n "(cached) " >&6
9156 else
9157 ac_wine_try_cflags_saved=$CFLAGS
9158 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9160 /* end confdefs.h. */
9161 int main(int argc, char **argv) { return 0; }
9162 _ACEOF
9163 if ac_fn_c_try_link "$LINENO"; then :
9164 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9165 else
9166 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9168 rm -f core conftest.err conftest.$ac_objext \
9169 conftest$ac_exeext conftest.$ac_ext
9170 CFLAGS=$ac_wine_try_cflags_saved
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9173 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9174 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9175 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9177 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9180 $as_echo_n "checking for -lEGL... " >&6; }
9181 if ${ac_cv_lib_soname_EGL+:} false; then :
9182 $as_echo_n "(cached) " >&6
9183 else
9184 ac_check_soname_save_LIBS=$LIBS
9185 LIBS="-lEGL $LIBS"
9186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9189 /* Override any GCC internal prototype to avoid an error.
9190 Use char because int might match the return type of a GCC
9191 builtin and then its argument prototype would still apply. */
9192 #ifdef __cplusplus
9193 extern "C"
9194 #endif
9195 char eglGetProcAddress ();
9197 main ()
9199 return eglGetProcAddress ();
9201 return 0;
9203 _ACEOF
9204 if ac_fn_c_try_link "$LINENO"; then :
9205 case "$LIBEXT" in
9206 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9207 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'` ;;
9208 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9209 if ${ac_cv_lib_soname_EGL:+false} :; then :
9210 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9211 fi ;;
9212 esac
9213 else
9214 ac_cv_lib_soname_EGL=
9216 rm -f core conftest.err conftest.$ac_objext \
9217 conftest$ac_exeext conftest.$ac_ext
9218 LIBS=$ac_check_soname_save_LIBS
9220 if ${ac_cv_lib_soname_EGL:+false} :; then :
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9222 $as_echo "not found" >&6; }
9224 else
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9226 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9228 cat >>confdefs.h <<_ACEOF
9229 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9230 _ACEOF
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9235 $as_echo_n "checking for -lGLESv2... " >&6; }
9236 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 ac_check_soname_save_LIBS=$LIBS
9240 LIBS="-lGLESv2 $LIBS"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9247 #ifdef __cplusplus
9248 extern "C"
9249 #endif
9250 char glFlush ();
9252 main ()
9254 return glFlush ();
9256 return 0;
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9260 case "$LIBEXT" in
9261 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9262 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'` ;;
9263 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9264 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9265 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9266 fi ;;
9267 esac
9268 else
9269 ac_cv_lib_soname_GLESv2=
9271 rm -f core conftest.err conftest.$ac_objext \
9272 conftest$ac_exeext conftest.$ac_ext
9273 LIBS=$ac_check_soname_save_LIBS
9275 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9277 $as_echo "not found" >&6; }
9279 else
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9281 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9283 cat >>confdefs.h <<_ACEOF
9284 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9285 _ACEOF
9290 if test "x$exec_prefix" = xNONE
9291 then
9292 case $host_cpu in
9293 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9294 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9295 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9296 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9297 esac
9302 case $host_cpu in
9303 *i[3456789]86*)
9304 DLLFLAGS="$DLLFLAGS -fno-PIC"
9305 LDDLLFLAGS="-fno-PIC"
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9307 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9308 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9309 $as_echo_n "(cached) " >&6
9310 else
9311 ac_wine_try_cflags_saved=$CFLAGS
9312 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9315 int main(int argc, char **argv) { return 0; }
9316 _ACEOF
9317 if ac_fn_c_try_link "$LINENO"; then :
9318 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9319 else
9320 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9322 rm -f core conftest.err conftest.$ac_objext \
9323 conftest$ac_exeext conftest.$ac_ext
9324 CFLAGS=$ac_wine_try_cflags_saved
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9327 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9328 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9329 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9333 DLLFLAGS="$DLLFLAGS -fPIC"
9334 LDDLLFLAGS="-fPIC" ;;
9335 esac
9336 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9338 echo '{ global: *; };' >conftest.map
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9340 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9341 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9342 $as_echo_n "(cached) " >&6
9343 else
9344 ac_wine_try_cflags_saved=$CFLAGS
9345 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9348 int main(int argc, char **argv) { return 0; }
9349 _ACEOF
9350 if ac_fn_c_try_link "$LINENO"; then :
9351 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9352 else
9353 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9355 rm -f core conftest.err conftest.$ac_objext \
9356 conftest$ac_exeext conftest.$ac_ext
9357 CFLAGS=$ac_wine_try_cflags_saved
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9360 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9361 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9362 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9364 rm -f conftest.map
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9367 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9368 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9369 $as_echo_n "(cached) " >&6
9370 else
9371 ac_wine_try_cflags_saved=$CFLAGS
9372 CFLAGS="$CFLAGS -Wl,-z,defs"
9373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9374 /* end confdefs.h. */
9375 int main(int argc, char **argv) { return 0; }
9376 _ACEOF
9377 if ac_fn_c_try_link "$LINENO"; then :
9378 ac_cv_cflags__Wl__z_defs=yes
9379 else
9380 ac_cv_cflags__Wl__z_defs=no
9382 rm -f core conftest.err conftest.$ac_objext \
9383 conftest$ac_exeext conftest.$ac_ext
9384 CFLAGS=$ac_wine_try_cflags_saved
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9387 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9388 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9389 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9392 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9393 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9394 $as_echo_n "(cached) " >&6
9395 else
9396 ac_wine_try_cflags_saved=$CFLAGS
9397 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9400 int main(int argc, char **argv) { return 0; }
9401 _ACEOF
9402 if ac_fn_c_try_link "$LINENO"; then :
9403 ac_cv_cflags__Wl___export_dynamic=yes
9404 else
9405 ac_cv_cflags__Wl___export_dynamic=no
9407 rm -f core conftest.err conftest.$ac_objext \
9408 conftest$ac_exeext conftest.$ac_ext
9409 CFLAGS=$ac_wine_try_cflags_saved
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9412 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9413 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9414 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9416 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9418 case $host_cpu in
9419 *i[3456789]86* | x86_64 | *aarch64* | arm*)
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9421 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9422 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9423 $as_echo_n "(cached) " >&6
9424 else
9425 ac_wine_try_cflags_saved=$CFLAGS
9426 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9429 int main(int argc, char **argv) { return 0; }
9430 _ACEOF
9431 if ac_fn_c_try_link "$LINENO"; then :
9432 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9433 else
9434 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9436 rm -f core conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438 CFLAGS=$ac_wine_try_cflags_saved
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9441 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9442 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9443 case $host_os in
9444 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9445 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9446 esac
9447 else
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9449 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9450 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 ac_wine_try_cflags_saved=$CFLAGS
9454 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9457 int main(int argc, char **argv) { return 0; }
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9461 else
9462 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9466 CFLAGS=$ac_wine_try_cflags_saved
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9469 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9470 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9471 case $host_os in
9472 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9473 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9474 esac
9476 # Extract the first word of "prelink", so it can be a program name with args.
9477 set dummy prelink; ac_word=$2
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9479 $as_echo_n "checking for $ac_word... " >&6; }
9480 if ${ac_cv_path_PRELINK+:} false; then :
9481 $as_echo_n "(cached) " >&6
9482 else
9483 case $PRELINK in
9484 [\\/]* | ?:[\\/]*)
9485 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9489 for as_dir in /sbin /usr/sbin $PATH
9491 IFS=$as_save_IFS
9492 test -z "$as_dir" && as_dir=.
9493 for ac_exec_ext in '' $ac_executable_extensions; do
9494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9495 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9497 break 2
9499 done
9500 done
9501 IFS=$as_save_IFS
9503 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9505 esac
9507 PRELINK=$ac_cv_path_PRELINK
9508 if test -n "$PRELINK"; then
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9510 $as_echo "$PRELINK" >&6; }
9511 else
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9513 $as_echo "no" >&6; }
9517 if test "x$PRELINK" = xfalse
9518 then
9519 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9523 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9524 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9525 $as_echo_n "(cached) " >&6
9526 else
9527 ac_wine_try_cflags_saved=$CFLAGS
9528 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9530 /* end confdefs.h. */
9531 int main(int argc, char **argv) { return 0; }
9532 _ACEOF
9533 if ac_fn_c_try_link "$LINENO"; then :
9534 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9535 else
9536 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9538 rm -f core conftest.err conftest.$ac_objext \
9539 conftest$ac_exeext conftest.$ac_ext
9540 CFLAGS=$ac_wine_try_cflags_saved
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9543 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9544 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9545 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9548 esac
9549 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9551 LIBWINE_DEPENDS="wine.map"
9553 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9555 esac
9557 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9558 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9559 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9560 enable_winemac_drv=${enable_winemac_drv:-no}
9561 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9564 if test "x$with_mingw" != xno
9565 then
9566 case "x$with_mingw" in
9567 x|xyes) case "$host_cpu" in
9568 aarch64*)
9569 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9570 arm*)
9571 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9572 i[3456789]86*)
9573 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
9574 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9575 mingw32-gcc clang" ;;
9576 x86_64)
9577 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
9578 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9580 ac_prefix_list="" ;;
9581 esac
9582 for ac_prog in $ac_prefix_list
9584 # Extract the first word of "$ac_prog", so it can be a program name with args.
9585 set dummy $ac_prog; ac_word=$2
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9587 $as_echo_n "checking for $ac_word... " >&6; }
9588 if ${ac_cv_prog_CROSSCC+:} false; then :
9589 $as_echo_n "(cached) " >&6
9590 else
9591 if test -n "$CROSSCC"; then
9592 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9593 else
9594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9595 for as_dir in $PATH
9597 IFS=$as_save_IFS
9598 test -z "$as_dir" && as_dir=.
9599 for ac_exec_ext in '' $ac_executable_extensions; do
9600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9601 ac_cv_prog_CROSSCC="$ac_prog"
9602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9603 break 2
9605 done
9606 done
9607 IFS=$as_save_IFS
9611 CROSSCC=$ac_cv_prog_CROSSCC
9612 if test -n "$CROSSCC"; then
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9614 $as_echo "$CROSSCC" >&6; }
9615 else
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9617 $as_echo "no" >&6; }
9621 test -n "$CROSSCC" && break
9622 done
9623 test -n "$CROSSCC" || CROSSCC="false"
9625 *) CROSSCC=$with_mingw ;;
9626 esac
9627 if test "$CROSSCC" != "false"
9628 then
9629 ac_save_CC="$CC"
9630 saved_CFLAGS=$CFLAGS
9631 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9633 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9637 CC="$CROSSCC"
9638 CFLAGS=$CROSSCFLAGS
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9640 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9641 if ${wine_cv_crosscc+:} false; then :
9642 $as_echo_n "(cached) " >&6
9643 else
9644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9645 /* end confdefs.h. */
9648 main ()
9652 return 0;
9654 _ACEOF
9655 if ac_fn_c_try_compile "$LINENO"; then :
9656 wine_cv_crosscc=yes
9657 else
9658 wine_cv_crosscc=no
9660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9663 $as_echo "$wine_cv_crosscc" >&6; }
9664 if test $wine_cv_crosscc = yes
9665 then
9666 set x $CROSSCC
9667 shift
9668 while test $# -ge 1
9670 case "$1" in
9671 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9672 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9673 esac
9674 shift
9675 done
9677 llvm_target=$CROSSTARGET
9678 llvm_cflags="-fuse-ld=lld"
9679 if test -z "$llvm_target"
9680 then
9681 case $host_cpu in
9682 *i[3456789]86*) llvm_target=i686-windows ;;
9683 *) llvm_target=$host_cpu-windows ;;
9684 esac
9686 case $llvm_target in
9687 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9688 esac
9689 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9691 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9692 if eval \${$as_ac_var+:} false; then :
9693 $as_echo_n "(cached) " >&6
9694 else
9695 ac_wine_try_cflags_saved=$CFLAGS
9696 ac_wine_try_cflags_saved_cc=$CC
9697 ac_wine_try_cflags_saved_exeext=$ac_exeext
9698 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9699 CC="$CROSSCC"
9700 ac_exeext=".exe"
9701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9702 /* end confdefs.h. */
9703 int __cdecl mainCRTStartup(void) { return 0; }
9704 _ACEOF
9705 if ac_fn_c_try_link "$LINENO"; then :
9706 eval "$as_ac_var=yes"
9707 else
9708 eval "$as_ac_var=no"
9710 rm -f core conftest.err conftest.$ac_objext \
9711 conftest$ac_exeext conftest.$ac_ext
9712 CFLAGS=$ac_wine_try_cflags_saved
9713 CC=$ac_wine_try_cflags_saved_cc
9714 ac_exeext=$ac_wine_try_cflags_saved_exeext
9716 eval ac_res=\$$as_ac_var
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9718 $as_echo "$ac_res" >&6; }
9719 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9720 CROSSTARGET=$llvm_target
9721 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9722 DELAYLOADFLAG="-Wl,-delayload,"
9724 CFLAGS="$CFLAGS $llvm_cflags"
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9728 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9729 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9730 $as_echo_n "(cached) " >&6
9731 else
9732 ac_wine_try_cflags_saved=$CFLAGS
9733 ac_wine_try_cflags_saved_cc=$CC
9734 ac_wine_try_cflags_saved_exeext=$ac_exeext
9735 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9736 CC="$CROSSCC"
9737 ac_exeext=".exe"
9738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9740 int __cdecl mainCRTStartup(void) { return 0; }
9741 _ACEOF
9742 if ac_fn_c_try_link "$LINENO"; then :
9743 ac_cv_crosscflags__fno_strict_aliasing=yes
9744 else
9745 ac_cv_crosscflags__fno_strict_aliasing=no
9747 rm -f core conftest.err conftest.$ac_objext \
9748 conftest$ac_exeext conftest.$ac_ext
9749 CFLAGS=$ac_wine_try_cflags_saved
9750 CC=$ac_wine_try_cflags_saved_cc
9751 ac_exeext=$ac_wine_try_cflags_saved_exeext
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9754 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9755 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9756 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9759 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9760 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9761 $as_echo_n "(cached) " >&6
9762 else
9763 ac_wine_try_cflags_saved=$CFLAGS
9764 ac_wine_try_cflags_saved_cc=$CC
9765 ac_wine_try_cflags_saved_exeext=$ac_exeext
9766 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9767 CC="$CROSSCC"
9768 ac_exeext=".exe"
9769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9770 /* end confdefs.h. */
9771 int __cdecl mainCRTStartup(void) { return 0; }
9772 _ACEOF
9773 if ac_fn_c_try_link "$LINENO"; then :
9774 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9775 else
9776 ac_cv_crosscflags__Werror_unknown_warning_option=no
9778 rm -f core conftest.err conftest.$ac_objext \
9779 conftest$ac_exeext conftest.$ac_ext
9780 CFLAGS=$ac_wine_try_cflags_saved
9781 CC=$ac_wine_try_cflags_saved_cc
9782 ac_exeext=$ac_wine_try_cflags_saved_exeext
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9785 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9786 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9787 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9790 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9791 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9792 $as_echo_n "(cached) " >&6
9793 else
9794 ac_wine_try_cflags_saved=$CFLAGS
9795 ac_wine_try_cflags_saved_cc=$CC
9796 ac_wine_try_cflags_saved_exeext=$ac_exeext
9797 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9798 CC="$CROSSCC"
9799 ac_exeext=".exe"
9800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9802 int __cdecl mainCRTStartup(void) { return 0; }
9803 _ACEOF
9804 if ac_fn_c_try_link "$LINENO"; then :
9805 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9806 else
9807 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9809 rm -f core conftest.err conftest.$ac_objext \
9810 conftest$ac_exeext conftest.$ac_ext
9811 CFLAGS=$ac_wine_try_cflags_saved
9812 CC=$ac_wine_try_cflags_saved_cc
9813 ac_exeext=$ac_wine_try_cflags_saved_exeext
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9816 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9817 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9818 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9821 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9822 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9823 $as_echo_n "(cached) " >&6
9824 else
9825 ac_wine_try_cflags_saved=$CFLAGS
9826 ac_wine_try_cflags_saved_cc=$CC
9827 ac_wine_try_cflags_saved_exeext=$ac_exeext
9828 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9829 CC="$CROSSCC"
9830 ac_exeext=".exe"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9833 int __cdecl mainCRTStartup(void) { return 0; }
9834 _ACEOF
9835 if ac_fn_c_try_link "$LINENO"; then :
9836 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9837 else
9838 ac_cv_crosscflags__Wdeclaration_after_statement=no
9840 rm -f core conftest.err conftest.$ac_objext \
9841 conftest$ac_exeext conftest.$ac_ext
9842 CFLAGS=$ac_wine_try_cflags_saved
9843 CC=$ac_wine_try_cflags_saved_cc
9844 ac_exeext=$ac_wine_try_cflags_saved_exeext
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9847 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9848 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9849 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9852 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9853 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9854 $as_echo_n "(cached) " >&6
9855 else
9856 ac_wine_try_cflags_saved=$CFLAGS
9857 ac_wine_try_cflags_saved_cc=$CC
9858 ac_wine_try_cflags_saved_exeext=$ac_exeext
9859 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9860 CC="$CROSSCC"
9861 ac_exeext=".exe"
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9864 int __cdecl mainCRTStartup(void) { return 0; }
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"; then :
9867 ac_cv_crosscflags__Wempty_body=yes
9868 else
9869 ac_cv_crosscflags__Wempty_body=no
9871 rm -f core conftest.err conftest.$ac_objext \
9872 conftest$ac_exeext conftest.$ac_ext
9873 CFLAGS=$ac_wine_try_cflags_saved
9874 CC=$ac_wine_try_cflags_saved_cc
9875 ac_exeext=$ac_wine_try_cflags_saved_exeext
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9878 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9879 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9880 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9883 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9884 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9885 $as_echo_n "(cached) " >&6
9886 else
9887 ac_wine_try_cflags_saved=$CFLAGS
9888 ac_wine_try_cflags_saved_cc=$CC
9889 ac_wine_try_cflags_saved_exeext=$ac_exeext
9890 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9891 CC="$CROSSCC"
9892 ac_exeext=".exe"
9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9895 int __cdecl mainCRTStartup(void) { return 0; }
9896 _ACEOF
9897 if ac_fn_c_try_link "$LINENO"; then :
9898 ac_cv_crosscflags__Wignored_qualifiers=yes
9899 else
9900 ac_cv_crosscflags__Wignored_qualifiers=no
9902 rm -f core conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9904 CFLAGS=$ac_wine_try_cflags_saved
9905 CC=$ac_wine_try_cflags_saved_cc
9906 ac_exeext=$ac_wine_try_cflags_saved_exeext
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9909 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9910 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9911 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9914 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9915 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9916 $as_echo_n "(cached) " >&6
9917 else
9918 ac_wine_try_cflags_saved=$CFLAGS
9919 ac_wine_try_cflags_saved_cc=$CC
9920 ac_wine_try_cflags_saved_exeext=$ac_exeext
9921 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9922 CC="$CROSSCC"
9923 ac_exeext=".exe"
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9926 int __cdecl mainCRTStartup(void) { return 0; }
9927 _ACEOF
9928 if ac_fn_c_try_link "$LINENO"; then :
9929 ac_cv_crosscflags__Winit_self=yes
9930 else
9931 ac_cv_crosscflags__Winit_self=no
9933 rm -f core conftest.err conftest.$ac_objext \
9934 conftest$ac_exeext conftest.$ac_ext
9935 CFLAGS=$ac_wine_try_cflags_saved
9936 CC=$ac_wine_try_cflags_saved_cc
9937 ac_exeext=$ac_wine_try_cflags_saved_exeext
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
9940 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
9941 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
9942 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9945 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9946 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9947 $as_echo_n "(cached) " >&6
9948 else
9949 ac_wine_try_cflags_saved=$CFLAGS
9950 ac_wine_try_cflags_saved_cc=$CC
9951 ac_wine_try_cflags_saved_exeext=$ac_exeext
9952 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9953 CC="$CROSSCC"
9954 ac_exeext=".exe"
9955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9956 /* end confdefs.h. */
9957 int __cdecl mainCRTStartup(void) { return 0; }
9958 _ACEOF
9959 if ac_fn_c_try_link "$LINENO"; then :
9960 ac_cv_crosscflags__Wpacked_not_aligned=yes
9961 else
9962 ac_cv_crosscflags__Wpacked_not_aligned=no
9964 rm -f core conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 CFLAGS=$ac_wine_try_cflags_saved
9967 CC=$ac_wine_try_cflags_saved_cc
9968 ac_exeext=$ac_wine_try_cflags_saved_exeext
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9971 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9972 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9973 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9976 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9977 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9978 $as_echo_n "(cached) " >&6
9979 else
9980 ac_wine_try_cflags_saved=$CFLAGS
9981 ac_wine_try_cflags_saved_cc=$CC
9982 ac_wine_try_cflags_saved_exeext=$ac_exeext
9983 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
9984 CC="$CROSSCC"
9985 ac_exeext=".exe"
9986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9988 int __cdecl mainCRTStartup(void) { return 0; }
9989 _ACEOF
9990 if ac_fn_c_try_link "$LINENO"; then :
9991 ac_cv_crosscflags__Wpragma_pack=yes
9992 else
9993 ac_cv_crosscflags__Wpragma_pack=no
9995 rm -f core conftest.err conftest.$ac_objext \
9996 conftest$ac_exeext conftest.$ac_ext
9997 CFLAGS=$ac_wine_try_cflags_saved
9998 CC=$ac_wine_try_cflags_saved_cc
9999 ac_exeext=$ac_wine_try_cflags_saved_exeext
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10002 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10003 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10004 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10007 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10008 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10009 $as_echo_n "(cached) " >&6
10010 else
10011 ac_wine_try_cflags_saved=$CFLAGS
10012 ac_wine_try_cflags_saved_cc=$CC
10013 ac_wine_try_cflags_saved_exeext=$ac_exeext
10014 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10015 CC="$CROSSCC"
10016 ac_exeext=".exe"
10017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10018 /* end confdefs.h. */
10019 int __cdecl mainCRTStartup(void) { return 0; }
10020 _ACEOF
10021 if ac_fn_c_try_link "$LINENO"; then :
10022 ac_cv_crosscflags__Wshift_overflow_2=yes
10023 else
10024 ac_cv_crosscflags__Wshift_overflow_2=no
10026 rm -f core conftest.err conftest.$ac_objext \
10027 conftest$ac_exeext conftest.$ac_ext
10028 CFLAGS=$ac_wine_try_cflags_saved
10029 CC=$ac_wine_try_cflags_saved_cc
10030 ac_exeext=$ac_wine_try_cflags_saved_exeext
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10033 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10034 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10035 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10038 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10039 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10040 $as_echo_n "(cached) " >&6
10041 else
10042 ac_wine_try_cflags_saved=$CFLAGS
10043 ac_wine_try_cflags_saved_cc=$CC
10044 ac_wine_try_cflags_saved_exeext=$ac_exeext
10045 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10046 CC="$CROSSCC"
10047 ac_exeext=".exe"
10048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10049 /* end confdefs.h. */
10050 int __cdecl mainCRTStartup(void) { return 0; }
10051 _ACEOF
10052 if ac_fn_c_try_link "$LINENO"; then :
10053 ac_cv_crosscflags__Wstrict_prototypes=yes
10054 else
10055 ac_cv_crosscflags__Wstrict_prototypes=no
10057 rm -f core conftest.err conftest.$ac_objext \
10058 conftest$ac_exeext conftest.$ac_ext
10059 CFLAGS=$ac_wine_try_cflags_saved
10060 CC=$ac_wine_try_cflags_saved_cc
10061 ac_exeext=$ac_wine_try_cflags_saved_exeext
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10064 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10065 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10066 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10069 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10070 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10071 $as_echo_n "(cached) " >&6
10072 else
10073 ac_wine_try_cflags_saved=$CFLAGS
10074 ac_wine_try_cflags_saved_cc=$CC
10075 ac_wine_try_cflags_saved_exeext=$ac_exeext
10076 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10077 CC="$CROSSCC"
10078 ac_exeext=".exe"
10079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10081 int __cdecl mainCRTStartup(void) { return 0; }
10082 _ACEOF
10083 if ac_fn_c_try_link "$LINENO"; then :
10084 ac_cv_crosscflags__Wtype_limits=yes
10085 else
10086 ac_cv_crosscflags__Wtype_limits=no
10088 rm -f core conftest.err conftest.$ac_objext \
10089 conftest$ac_exeext conftest.$ac_ext
10090 CFLAGS=$ac_wine_try_cflags_saved
10091 CC=$ac_wine_try_cflags_saved_cc
10092 ac_exeext=$ac_wine_try_cflags_saved_exeext
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10095 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10096 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10097 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10100 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10101 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10102 $as_echo_n "(cached) " >&6
10103 else
10104 ac_wine_try_cflags_saved=$CFLAGS
10105 ac_wine_try_cflags_saved_cc=$CC
10106 ac_wine_try_cflags_saved_exeext=$ac_exeext
10107 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10108 CC="$CROSSCC"
10109 ac_exeext=".exe"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10112 int __cdecl mainCRTStartup(void) { return 0; }
10113 _ACEOF
10114 if ac_fn_c_try_link "$LINENO"; then :
10115 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10116 else
10117 ac_cv_crosscflags__Wunused_but_set_parameter=no
10119 rm -f core conftest.err conftest.$ac_objext \
10120 conftest$ac_exeext conftest.$ac_ext
10121 CFLAGS=$ac_wine_try_cflags_saved
10122 CC=$ac_wine_try_cflags_saved_cc
10123 ac_exeext=$ac_wine_try_cflags_saved_exeext
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10126 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10127 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10128 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10131 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10132 if ${ac_cv_crosscflags__Wvla+:} false; then :
10133 $as_echo_n "(cached) " >&6
10134 else
10135 ac_wine_try_cflags_saved=$CFLAGS
10136 ac_wine_try_cflags_saved_cc=$CC
10137 ac_wine_try_cflags_saved_exeext=$ac_exeext
10138 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10139 CC="$CROSSCC"
10140 ac_exeext=".exe"
10141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10142 /* end confdefs.h. */
10143 int __cdecl mainCRTStartup(void) { return 0; }
10144 _ACEOF
10145 if ac_fn_c_try_link "$LINENO"; then :
10146 ac_cv_crosscflags__Wvla=yes
10147 else
10148 ac_cv_crosscflags__Wvla=no
10150 rm -f core conftest.err conftest.$ac_objext \
10151 conftest$ac_exeext conftest.$ac_ext
10152 CFLAGS=$ac_wine_try_cflags_saved
10153 CC=$ac_wine_try_cflags_saved_cc
10154 ac_exeext=$ac_wine_try_cflags_saved_exeext
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10157 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10158 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10159 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10162 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10163 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10164 $as_echo_n "(cached) " >&6
10165 else
10166 ac_wine_try_cflags_saved=$CFLAGS
10167 ac_wine_try_cflags_saved_cc=$CC
10168 ac_wine_try_cflags_saved_exeext=$ac_exeext
10169 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10170 CC="$CROSSCC"
10171 ac_exeext=".exe"
10172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10173 /* end confdefs.h. */
10174 int __cdecl mainCRTStartup(void) { return 0; }
10175 _ACEOF
10176 if ac_fn_c_try_link "$LINENO"; then :
10177 ac_cv_crosscflags__Wwrite_strings=yes
10178 else
10179 ac_cv_crosscflags__Wwrite_strings=no
10181 rm -f core conftest.err conftest.$ac_objext \
10182 conftest$ac_exeext conftest.$ac_ext
10183 CFLAGS=$ac_wine_try_cflags_saved
10184 CC=$ac_wine_try_cflags_saved_cc
10185 ac_exeext=$ac_wine_try_cflags_saved_exeext
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10188 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10189 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10190 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10193 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10194 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10195 $as_echo_n "(cached) " >&6
10196 else
10197 ac_wine_try_cflags_saved=$CFLAGS
10198 ac_wine_try_cflags_saved_cc=$CC
10199 ac_wine_try_cflags_saved_exeext=$ac_exeext
10200 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10201 CC="$CROSSCC"
10202 ac_exeext=".exe"
10203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10205 int __cdecl mainCRTStartup(void) { return 0; }
10206 _ACEOF
10207 if ac_fn_c_try_link "$LINENO"; then :
10208 ac_cv_crosscflags__Wpointer_arith=yes
10209 else
10210 ac_cv_crosscflags__Wpointer_arith=no
10212 rm -f core conftest.err conftest.$ac_objext \
10213 conftest$ac_exeext conftest.$ac_ext
10214 CFLAGS=$ac_wine_try_cflags_saved
10215 CC=$ac_wine_try_cflags_saved_cc
10216 ac_exeext=$ac_wine_try_cflags_saved_exeext
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10219 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10220 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10221 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10224 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10225 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10226 $as_echo_n "(cached) " >&6
10227 else
10228 ac_wine_try_cflags_saved=$CFLAGS
10229 ac_wine_try_cflags_saved_cc=$CC
10230 ac_wine_try_cflags_saved_exeext=$ac_exeext
10231 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10232 CC="$CROSSCC"
10233 ac_exeext=".exe"
10234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10236 int __cdecl mainCRTStartup(void) { return 0; }
10237 _ACEOF
10238 if ac_fn_c_try_link "$LINENO"; then :
10239 ac_cv_crosscflags__Wlogical_op=yes
10240 else
10241 ac_cv_crosscflags__Wlogical_op=no
10243 rm -f core conftest.err conftest.$ac_objext \
10244 conftest$ac_exeext conftest.$ac_ext
10245 CFLAGS=$ac_wine_try_cflags_saved
10246 CC=$ac_wine_try_cflags_saved_cc
10247 ac_exeext=$ac_wine_try_cflags_saved_exeext
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10250 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10251 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10252 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10255 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10256 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10257 $as_echo_n "(cached) " >&6
10258 else
10259 ac_wine_try_cflags_saved=$CFLAGS
10260 ac_wine_try_cflags_saved_cc=$CC
10261 ac_wine_try_cflags_saved_exeext=$ac_exeext
10262 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10263 CC="$CROSSCC"
10264 ac_exeext=".exe"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10267 int __cdecl mainCRTStartup(void) { return 0; }
10268 _ACEOF
10269 if ac_fn_c_try_link "$LINENO"; then :
10270 ac_cv_crosscflags__Wabsolute_value=yes
10271 else
10272 ac_cv_crosscflags__Wabsolute_value=no
10274 rm -f core conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10276 CFLAGS=$ac_wine_try_cflags_saved
10277 CC=$ac_wine_try_cflags_saved_cc
10278 ac_exeext=$ac_wine_try_cflags_saved_exeext
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10281 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10282 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10283 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10286 case $host_cpu in
10287 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10288 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10289 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10290 $as_echo_n "(cached) " >&6
10291 else
10292 ac_wine_try_cflags_saved=$CFLAGS
10293 ac_wine_try_cflags_saved_cc=$CC
10294 ac_wine_try_cflags_saved_exeext=$ac_exeext
10295 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10296 CC="$CROSSCC"
10297 ac_exeext=".exe"
10298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10299 /* end confdefs.h. */
10300 int __cdecl mainCRTStartup(void) { return 0; }
10301 _ACEOF
10302 if ac_fn_c_try_link "$LINENO"; then :
10303 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10304 else
10305 ac_cv_crosscflags__fno_omit_frame_pointer=no
10307 rm -f core conftest.err conftest.$ac_objext \
10308 conftest$ac_exeext conftest.$ac_ext
10309 CFLAGS=$ac_wine_try_cflags_saved
10310 CC=$ac_wine_try_cflags_saved_cc
10311 ac_exeext=$ac_wine_try_cflags_saved_exeext
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10314 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10315 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10316 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10317 fi ;;
10318 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10319 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10320 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10321 $as_echo_n "(cached) " >&6
10322 else
10323 ac_wine_try_cflags_saved=$CFLAGS
10324 ac_wine_try_cflags_saved_cc=$CC
10325 ac_wine_try_cflags_saved_exeext=$ac_exeext
10326 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10327 CC="$CROSSCC"
10328 ac_exeext=".exe"
10329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10331 int __cdecl mainCRTStartup(void) { return 0; }
10332 _ACEOF
10333 if ac_fn_c_try_link "$LINENO"; then :
10334 ac_cv_crosscflags__Wno_format=yes
10335 else
10336 ac_cv_crosscflags__Wno_format=no
10338 rm -f core conftest.err conftest.$ac_objext \
10339 conftest$ac_exeext conftest.$ac_ext
10340 CFLAGS=$ac_wine_try_cflags_saved
10341 CC=$ac_wine_try_cflags_saved_cc
10342 ac_exeext=$ac_wine_try_cflags_saved_exeext
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10345 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10346 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10347 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10350 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10351 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10352 $as_echo_n "(cached) " >&6
10353 else
10354 ac_wine_try_cflags_saved=$CFLAGS
10355 ac_wine_try_cflags_saved_cc=$CC
10356 ac_wine_try_cflags_saved_exeext=$ac_exeext
10357 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10358 CC="$CROSSCC"
10359 ac_exeext=".exe"
10360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10362 int __cdecl mainCRTStartup(void) { return 0; }
10363 _ACEOF
10364 if ac_fn_c_try_link "$LINENO"; then :
10365 ac_cv_crosscflags__Wformat_overflow=yes
10366 else
10367 ac_cv_crosscflags__Wformat_overflow=no
10369 rm -f core conftest.err conftest.$ac_objext \
10370 conftest$ac_exeext conftest.$ac_ext
10371 CFLAGS=$ac_wine_try_cflags_saved
10372 CC=$ac_wine_try_cflags_saved_cc
10373 ac_exeext=$ac_wine_try_cflags_saved_exeext
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10376 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10377 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10378 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10381 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10382 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10383 $as_echo_n "(cached) " >&6
10384 else
10385 ac_wine_try_cflags_saved=$CFLAGS
10386 ac_wine_try_cflags_saved_cc=$CC
10387 ac_wine_try_cflags_saved_exeext=$ac_exeext
10388 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10389 CC="$CROSSCC"
10390 ac_exeext=".exe"
10391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10393 int __cdecl mainCRTStartup(void) { return 0; }
10394 _ACEOF
10395 if ac_fn_c_try_link "$LINENO"; then :
10396 ac_cv_crosscflags__Wnonnull=yes
10397 else
10398 ac_cv_crosscflags__Wnonnull=no
10400 rm -f core conftest.err conftest.$ac_objext \
10401 conftest$ac_exeext conftest.$ac_ext
10402 CFLAGS=$ac_wine_try_cflags_saved
10403 CC=$ac_wine_try_cflags_saved_cc
10404 ac_exeext=$ac_wine_try_cflags_saved_exeext
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10407 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10408 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10409 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10412 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10413 if ${ac_cv_crosscflags__mcx16+:} false; then :
10414 $as_echo_n "(cached) " >&6
10415 else
10416 ac_wine_try_cflags_saved=$CFLAGS
10417 ac_wine_try_cflags_saved_cc=$CC
10418 ac_wine_try_cflags_saved_exeext=$ac_exeext
10419 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10420 CC="$CROSSCC"
10421 ac_exeext=".exe"
10422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10424 int __cdecl mainCRTStartup(void) { return 0; }
10425 _ACEOF
10426 if ac_fn_c_try_link "$LINENO"; then :
10427 ac_cv_crosscflags__mcx16=yes
10428 else
10429 ac_cv_crosscflags__mcx16=no
10431 rm -f core conftest.err conftest.$ac_objext \
10432 conftest$ac_exeext conftest.$ac_ext
10433 CFLAGS=$ac_wine_try_cflags_saved
10434 CC=$ac_wine_try_cflags_saved_cc
10435 ac_exeext=$ac_wine_try_cflags_saved_exeext
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10438 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10439 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10440 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10441 fi ;;
10442 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10443 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10444 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10445 $as_echo_n "(cached) " >&6
10446 else
10447 ac_wine_try_cflags_saved=$CFLAGS
10448 ac_wine_try_cflags_saved_cc=$CC
10449 ac_wine_try_cflags_saved_exeext=$ac_exeext
10450 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10451 CC="$CROSSCC"
10452 ac_exeext=".exe"
10453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10455 int __cdecl mainCRTStartup(void) { return 0; }
10456 _ACEOF
10457 if ac_fn_c_try_link "$LINENO"; then :
10458 ac_cv_crosscflags__Wno_format=yes
10459 else
10460 ac_cv_crosscflags__Wno_format=no
10462 rm -f core conftest.err conftest.$ac_objext \
10463 conftest$ac_exeext conftest.$ac_ext
10464 CFLAGS=$ac_wine_try_cflags_saved
10465 CC=$ac_wine_try_cflags_saved_cc
10466 ac_exeext=$ac_wine_try_cflags_saved_exeext
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10469 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10470 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10471 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10472 fi ;;
10473 esac
10476 if test -z "$CROSSDEBUG"
10477 then
10478 for ac_flag in $CROSSCFLAGS; do
10479 case $ac_flag in
10480 -gdwarf*) CROSSDEBUG=dwarf ;;
10481 -gcodeview) CROSSDEBUG=pdb ;;
10482 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10483 esac
10484 done
10486 case $CROSSDEBUG in
10487 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10488 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10489 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10490 $as_echo_n "(cached) " >&6
10491 else
10492 ac_wine_try_cflags_saved=$CFLAGS
10493 ac_wine_try_cflags_saved_cc=$CC
10494 ac_wine_try_cflags_saved_exeext=$ac_exeext
10495 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10496 CC="$CROSSCC"
10497 ac_exeext=".exe"
10498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10500 int __cdecl mainCRTStartup(void) { return 0; }
10501 _ACEOF
10502 if ac_fn_c_try_link "$LINENO"; then :
10503 ac_cv_crosscflags__gdwarf_2=yes
10504 else
10505 ac_cv_crosscflags__gdwarf_2=no
10507 rm -f core conftest.err conftest.$ac_objext \
10508 conftest$ac_exeext conftest.$ac_ext
10509 CFLAGS=$ac_wine_try_cflags_saved
10510 CC=$ac_wine_try_cflags_saved_cc
10511 ac_exeext=$ac_wine_try_cflags_saved_exeext
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10514 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10515 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10516 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10519 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10520 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10521 $as_echo_n "(cached) " >&6
10522 else
10523 ac_wine_try_cflags_saved=$CFLAGS
10524 ac_wine_try_cflags_saved_cc=$CC
10525 ac_wine_try_cflags_saved_exeext=$ac_exeext
10526 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10527 CC="$CROSSCC"
10528 ac_exeext=".exe"
10529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10531 int __cdecl mainCRTStartup(void) { return 0; }
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"; then :
10534 ac_cv_crosscflags__gstrict_dwarf=yes
10535 else
10536 ac_cv_crosscflags__gstrict_dwarf=no
10538 rm -f core conftest.err conftest.$ac_objext \
10539 conftest$ac_exeext conftest.$ac_ext
10540 CFLAGS=$ac_wine_try_cflags_saved
10541 CC=$ac_wine_try_cflags_saved_cc
10542 ac_exeext=$ac_wine_try_cflags_saved_exeext
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10545 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10546 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10547 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10548 fi ;;
10549 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10550 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10551 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10552 $as_echo_n "(cached) " >&6
10553 else
10554 ac_wine_try_cflags_saved=$CFLAGS
10555 ac_wine_try_cflags_saved_cc=$CC
10556 ac_wine_try_cflags_saved_exeext=$ac_exeext
10557 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10558 CC="$CROSSCC"
10559 ac_exeext=".exe"
10560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10562 int __cdecl mainCRTStartup(void) { return 0; }
10563 _ACEOF
10564 if ac_fn_c_try_link "$LINENO"; then :
10565 ac_cv_crosscflags__gcodeview=yes
10566 else
10567 ac_cv_crosscflags__gcodeview=no
10569 rm -f core conftest.err conftest.$ac_objext \
10570 conftest$ac_exeext conftest.$ac_ext
10571 CFLAGS=$ac_wine_try_cflags_saved
10572 CC=$ac_wine_try_cflags_saved_cc
10573 ac_exeext=$ac_wine_try_cflags_saved_exeext
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10576 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10577 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10578 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10579 fi ;;
10580 esac
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10583 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10584 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10585 $as_echo_n "(cached) " >&6
10586 else
10587 ac_wine_try_cflags_saved=$CFLAGS
10588 ac_wine_try_cflags_saved_cc=$CC
10589 ac_wine_try_cflags_saved_exeext=$ac_exeext
10590 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10591 CC="$CROSSCC"
10592 ac_exeext=".exe"
10593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10594 /* end confdefs.h. */
10595 int __cdecl mainCRTStartup(void) { return 0; }
10596 _ACEOF
10597 if ac_fn_c_try_link "$LINENO"; then :
10598 ac_cv_crosscflags__fexcess_precision_standard=yes
10599 else
10600 ac_cv_crosscflags__fexcess_precision_standard=no
10602 rm -f core conftest.err conftest.$ac_objext \
10603 conftest$ac_exeext conftest.$ac_ext
10604 CFLAGS=$ac_wine_try_cflags_saved
10605 CC=$ac_wine_try_cflags_saved_cc
10606 ac_exeext=$ac_wine_try_cflags_saved_exeext
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10609 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10610 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10611 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10615 if test "x$enable_werror" = "xyes"
10616 then
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10618 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10619 if ${ac_cv_crosscflags__Werror+:} false; then :
10620 $as_echo_n "(cached) " >&6
10621 else
10622 ac_wine_try_cflags_saved=$CFLAGS
10623 ac_wine_try_cflags_saved_cc=$CC
10624 ac_wine_try_cflags_saved_exeext=$ac_exeext
10625 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10626 CC="$CROSSCC"
10627 ac_exeext=".exe"
10628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10630 int __cdecl mainCRTStartup(void) { return 0; }
10631 _ACEOF
10632 if ac_fn_c_try_link "$LINENO"; then :
10633 ac_cv_crosscflags__Werror=yes
10634 else
10635 ac_cv_crosscflags__Werror=no
10637 rm -f core conftest.err conftest.$ac_objext \
10638 conftest$ac_exeext conftest.$ac_ext
10639 CFLAGS=$ac_wine_try_cflags_saved
10640 CC=$ac_wine_try_cflags_saved_cc
10641 ac_exeext=$ac_wine_try_cflags_saved_exeext
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10644 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10645 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10646 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10649 if test "x$enable_build_id" = "xyes"
10650 then
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10652 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10653 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10654 $as_echo_n "(cached) " >&6
10655 else
10656 ac_wine_try_cflags_saved=$CFLAGS
10657 ac_wine_try_cflags_saved_cc=$CC
10658 ac_wine_try_cflags_saved_exeext=$ac_exeext
10659 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10660 CC="$CROSSCC"
10661 ac_exeext=".exe"
10662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10663 /* end confdefs.h. */
10664 int __cdecl mainCRTStartup(void) { return 0; }
10665 _ACEOF
10666 if ac_fn_c_try_link "$LINENO"; then :
10667 ac_cv_crosscflags__Wl___build_id=yes
10668 else
10669 ac_cv_crosscflags__Wl___build_id=no
10671 rm -f core conftest.err conftest.$ac_objext \
10672 conftest$ac_exeext conftest.$ac_ext
10673 CFLAGS=$ac_wine_try_cflags_saved
10674 CC=$ac_wine_try_cflags_saved_cc
10675 ac_exeext=$ac_wine_try_cflags_saved_exeext
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10678 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10679 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10680 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10681 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10685 CFLAGS=$saved_CFLAGS
10686 CC="$ac_save_CC"
10689 if test "x$CROSSTARGET" = "x"; then :
10690 case "x$with_mingw" in
10691 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10692 xno) ;;
10693 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10694 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10695 esac
10700 if test "$ac_cv_header_pthread_h" = "yes"
10701 then
10702 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10703 if test "x$ac_cv_func_pthread_create" = xyes; then :
10705 else
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10707 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10708 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10709 $as_echo_n "(cached) " >&6
10710 else
10711 ac_check_lib_save_LIBS=$LIBS
10712 LIBS="-lpthread $LIBS"
10713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10714 /* end confdefs.h. */
10716 /* Override any GCC internal prototype to avoid an error.
10717 Use char because int might match the return type of a GCC
10718 builtin and then its argument prototype would still apply. */
10719 #ifdef __cplusplus
10720 extern "C"
10721 #endif
10722 char pthread_create ();
10724 main ()
10726 return pthread_create ();
10728 return 0;
10730 _ACEOF
10731 if ac_fn_c_try_link "$LINENO"; then :
10732 ac_cv_lib_pthread_pthread_create=yes
10733 else
10734 ac_cv_lib_pthread_pthread_create=no
10736 rm -f core conftest.err conftest.$ac_objext \
10737 conftest$ac_exeext conftest.$ac_ext
10738 LIBS=$ac_check_lib_save_LIBS
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10741 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10742 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10743 PTHREAD_LIBS="-lpthread"
10750 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10751 case "x$with_pthread" in
10752 xno) ;;
10753 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10754 Wine cannot support threads without libpthread.
10755 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10756 esac
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10762 $as_echo_n "checking for X... " >&6; }
10765 # Check whether --with-x was given.
10766 if test "${with_x+set}" = set; then :
10767 withval=$with_x;
10770 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10771 if test "x$with_x" = xno; then
10772 # The user explicitly disabled X.
10773 have_x=disabled
10774 else
10775 case $x_includes,$x_libraries in #(
10776 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10777 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10778 $as_echo_n "(cached) " >&6
10779 else
10780 # One or both of the vars are not set, and there is no cached value.
10781 ac_x_includes=no ac_x_libraries=no
10782 rm -f -r conftest.dir
10783 if mkdir conftest.dir; then
10784 cd conftest.dir
10785 cat >Imakefile <<'_ACEOF'
10786 incroot:
10787 @echo incroot='${INCROOT}'
10788 usrlibdir:
10789 @echo usrlibdir='${USRLIBDIR}'
10790 libdir:
10791 @echo libdir='${LIBDIR}'
10792 _ACEOF
10793 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10794 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10795 for ac_var in incroot usrlibdir libdir; do
10796 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10797 done
10798 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10799 for ac_extension in a so sl dylib la dll; do
10800 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10801 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10802 ac_im_usrlibdir=$ac_im_libdir; break
10804 done
10805 # Screen out bogus values from the imake configuration. They are
10806 # bogus both because they are the default anyway, and because
10807 # using them would break gcc on systems where it needs fixed includes.
10808 case $ac_im_incroot in
10809 /usr/include) ac_x_includes= ;;
10810 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10811 esac
10812 case $ac_im_usrlibdir in
10813 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10814 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10815 esac
10817 cd ..
10818 rm -f -r conftest.dir
10821 # Standard set of common directories for X headers.
10822 # Check X11 before X11Rn because it is often a symlink to the current release.
10823 ac_x_header_dirs='
10824 /usr/X11/include
10825 /usr/X11R7/include
10826 /usr/X11R6/include
10827 /usr/X11R5/include
10828 /usr/X11R4/include
10830 /usr/include/X11
10831 /usr/include/X11R7
10832 /usr/include/X11R6
10833 /usr/include/X11R5
10834 /usr/include/X11R4
10836 /usr/local/X11/include
10837 /usr/local/X11R7/include
10838 /usr/local/X11R6/include
10839 /usr/local/X11R5/include
10840 /usr/local/X11R4/include
10842 /usr/local/include/X11
10843 /usr/local/include/X11R7
10844 /usr/local/include/X11R6
10845 /usr/local/include/X11R5
10846 /usr/local/include/X11R4
10848 /usr/X386/include
10849 /usr/x386/include
10850 /usr/XFree86/include/X11
10852 /usr/include
10853 /usr/local/include
10854 /usr/unsupported/include
10855 /usr/athena/include
10856 /usr/local/x11r5/include
10857 /usr/lpp/Xamples/include
10859 /usr/openwin/include
10860 /usr/openwin/share/include'
10862 if test "$ac_x_includes" = no; then
10863 # Guess where to find include files, by looking for Xlib.h.
10864 # First, try using that file with no special directory specified.
10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10867 #include <X11/Xlib.h>
10868 _ACEOF
10869 if ac_fn_c_try_cpp "$LINENO"; then :
10870 # We can compile using X headers with no special include directory.
10871 ac_x_includes=
10872 else
10873 for ac_dir in $ac_x_header_dirs; do
10874 if test -r "$ac_dir/X11/Xlib.h"; then
10875 ac_x_includes=$ac_dir
10876 break
10878 done
10880 rm -f conftest.err conftest.i conftest.$ac_ext
10881 fi # $ac_x_includes = no
10883 if test "$ac_x_libraries" = no; then
10884 # Check for the libraries.
10885 # See if we find them without any special options.
10886 # Don't add to $LIBS permanently.
10887 ac_save_LIBS=$LIBS
10888 LIBS="-lX11 $LIBS"
10889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10890 /* end confdefs.h. */
10891 #include <X11/Xlib.h>
10893 main ()
10895 XrmInitialize ()
10897 return 0;
10899 _ACEOF
10900 if ac_fn_c_try_link "$LINENO"; then :
10901 LIBS=$ac_save_LIBS
10902 # We can link X programs with no special library path.
10903 ac_x_libraries=
10904 else
10905 LIBS=$ac_save_LIBS
10906 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10908 # Don't even attempt the hair of trying to link an X program!
10909 for ac_extension in a so sl dylib la dll; do
10910 if test -r "$ac_dir/libX11.$ac_extension"; then
10911 ac_x_libraries=$ac_dir
10912 break 2
10914 done
10915 done
10917 rm -f core conftest.err conftest.$ac_objext \
10918 conftest$ac_exeext conftest.$ac_ext
10919 fi # $ac_x_libraries = no
10921 case $ac_x_includes,$ac_x_libraries in #(
10922 no,* | *,no | *\'*)
10923 # Didn't find X, or a directory has "'" in its name.
10924 ac_cv_have_x="have_x=no";; #(
10926 # Record where we found X for the cache.
10927 ac_cv_have_x="have_x=yes\
10928 ac_x_includes='$ac_x_includes'\
10929 ac_x_libraries='$ac_x_libraries'"
10930 esac
10932 ;; #(
10933 *) have_x=yes;;
10934 esac
10935 eval "$ac_cv_have_x"
10936 fi # $with_x != no
10938 if test "$have_x" != yes; then
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10940 $as_echo "$have_x" >&6; }
10941 no_x=yes
10942 else
10943 # If each of the values was on the command line, it overrides each guess.
10944 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10945 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10946 # Update the cache value to reflect the command line values.
10947 ac_cv_have_x="have_x=yes\
10948 ac_x_includes='$x_includes'\
10949 ac_x_libraries='$x_libraries'"
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10951 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10954 if test "$no_x" = yes; then
10955 # Not all programs may use this symbol, but it does not hurt to define it.
10957 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10959 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10960 else
10961 if test -n "$x_includes"; then
10962 X_CFLAGS="$X_CFLAGS -I$x_includes"
10965 # It would also be nice to do this for all -L options, not just this one.
10966 if test -n "$x_libraries"; then
10967 X_LIBS="$X_LIBS -L$x_libraries"
10968 # For Solaris; some versions of Sun CC require a space after -R and
10969 # others require no space. Words are not sufficient . . . .
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10971 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10972 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10973 ac_xsave_c_werror_flag=$ac_c_werror_flag
10974 ac_c_werror_flag=yes
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10979 main ()
10983 return 0;
10985 _ACEOF
10986 if ac_fn_c_try_link "$LINENO"; then :
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10988 $as_echo "no" >&6; }
10989 X_LIBS="$X_LIBS -R$x_libraries"
10990 else
10991 LIBS="$ac_xsave_LIBS -R $x_libraries"
10992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
10996 main ()
11000 return 0;
11002 _ACEOF
11003 if ac_fn_c_try_link "$LINENO"; then :
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11005 $as_echo "yes" >&6; }
11006 X_LIBS="$X_LIBS -R $x_libraries"
11007 else
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11009 $as_echo "neither works" >&6; }
11011 rm -f core conftest.err conftest.$ac_objext \
11012 conftest$ac_exeext conftest.$ac_ext
11014 rm -f core conftest.err conftest.$ac_objext \
11015 conftest$ac_exeext conftest.$ac_ext
11016 ac_c_werror_flag=$ac_xsave_c_werror_flag
11017 LIBS=$ac_xsave_LIBS
11020 # Check for system-dependent libraries X programs must link with.
11021 # Do this before checking for the system-independent R6 libraries
11022 # (-lICE), since we may need -lsocket or whatever for X linking.
11024 if test "$ISC" = yes; then
11025 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11026 else
11027 # Martyn Johnson says this is needed for Ultrix, if the X
11028 # libraries were built with DECnet support. And Karl Berry says
11029 # the Alpha needs dnet_stub (dnet does not exist).
11030 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11034 /* Override any GCC internal prototype to avoid an error.
11035 Use char because int might match the return type of a GCC
11036 builtin and then its argument prototype would still apply. */
11037 #ifdef __cplusplus
11038 extern "C"
11039 #endif
11040 char XOpenDisplay ();
11042 main ()
11044 return XOpenDisplay ();
11046 return 0;
11048 _ACEOF
11049 if ac_fn_c_try_link "$LINENO"; then :
11051 else
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11053 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11054 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11055 $as_echo_n "(cached) " >&6
11056 else
11057 ac_check_lib_save_LIBS=$LIBS
11058 LIBS="-ldnet $LIBS"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11065 #ifdef __cplusplus
11066 extern "C"
11067 #endif
11068 char dnet_ntoa ();
11070 main ()
11072 return dnet_ntoa ();
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"; then :
11078 ac_cv_lib_dnet_dnet_ntoa=yes
11079 else
11080 ac_cv_lib_dnet_dnet_ntoa=no
11082 rm -f core conftest.err conftest.$ac_objext \
11083 conftest$ac_exeext conftest.$ac_ext
11084 LIBS=$ac_check_lib_save_LIBS
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11087 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11088 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11089 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11092 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11094 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11095 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11096 $as_echo_n "(cached) " >&6
11097 else
11098 ac_check_lib_save_LIBS=$LIBS
11099 LIBS="-ldnet_stub $LIBS"
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11103 /* Override any GCC internal prototype to avoid an error.
11104 Use char because int might match the return type of a GCC
11105 builtin and then its argument prototype would still apply. */
11106 #ifdef __cplusplus
11107 extern "C"
11108 #endif
11109 char dnet_ntoa ();
11111 main ()
11113 return dnet_ntoa ();
11115 return 0;
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"; then :
11119 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11120 else
11121 ac_cv_lib_dnet_stub_dnet_ntoa=no
11123 rm -f core conftest.err conftest.$ac_objext \
11124 conftest$ac_exeext conftest.$ac_ext
11125 LIBS=$ac_check_lib_save_LIBS
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11128 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11129 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11130 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11135 rm -f core conftest.err conftest.$ac_objext \
11136 conftest$ac_exeext conftest.$ac_ext
11137 LIBS="$ac_xsave_LIBS"
11139 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11140 # to get the SysV transport functions.
11141 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11142 # needs -lnsl.
11143 # The nsl library prevents programs from opening the X display
11144 # on Irix 5.2, according to T.E. Dickey.
11145 # The functions gethostbyname, getservbyname, and inet_addr are
11146 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11147 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11148 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11152 if test $ac_cv_func_gethostbyname = no; then
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11154 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11155 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11156 $as_echo_n "(cached) " >&6
11157 else
11158 ac_check_lib_save_LIBS=$LIBS
11159 LIBS="-lnsl $LIBS"
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11163 /* Override any GCC internal prototype to avoid an error.
11164 Use char because int might match the return type of a GCC
11165 builtin and then its argument prototype would still apply. */
11166 #ifdef __cplusplus
11167 extern "C"
11168 #endif
11169 char gethostbyname ();
11171 main ()
11173 return gethostbyname ();
11175 return 0;
11177 _ACEOF
11178 if ac_fn_c_try_link "$LINENO"; then :
11179 ac_cv_lib_nsl_gethostbyname=yes
11180 else
11181 ac_cv_lib_nsl_gethostbyname=no
11183 rm -f core conftest.err conftest.$ac_objext \
11184 conftest$ac_exeext conftest.$ac_ext
11185 LIBS=$ac_check_lib_save_LIBS
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11188 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11189 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11190 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11193 if test $ac_cv_lib_nsl_gethostbyname = no; then
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11195 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11196 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11197 $as_echo_n "(cached) " >&6
11198 else
11199 ac_check_lib_save_LIBS=$LIBS
11200 LIBS="-lbsd $LIBS"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11207 #ifdef __cplusplus
11208 extern "C"
11209 #endif
11210 char gethostbyname ();
11212 main ()
11214 return gethostbyname ();
11216 return 0;
11218 _ACEOF
11219 if ac_fn_c_try_link "$LINENO"; then :
11220 ac_cv_lib_bsd_gethostbyname=yes
11221 else
11222 ac_cv_lib_bsd_gethostbyname=no
11224 rm -f core conftest.err conftest.$ac_objext \
11225 conftest$ac_exeext conftest.$ac_ext
11226 LIBS=$ac_check_lib_save_LIBS
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11229 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11230 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11231 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11237 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11238 # socket/setsockopt and other routines are undefined under SCO ODT
11239 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11240 # on later versions), says Simon Leinen: it contains gethostby*
11241 # variants that don't use the name server (or something). -lsocket
11242 # must be given before -lnsl if both are needed. We assume that
11243 # if connect needs -lnsl, so does gethostbyname.
11244 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11245 if test "x$ac_cv_func_connect" = xyes; then :
11249 if test $ac_cv_func_connect = no; then
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11251 $as_echo_n "checking for connect in -lsocket... " >&6; }
11252 if ${ac_cv_lib_socket_connect+:} false; then :
11253 $as_echo_n "(cached) " >&6
11254 else
11255 ac_check_lib_save_LIBS=$LIBS
11256 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11260 /* Override any GCC internal prototype to avoid an error.
11261 Use char because int might match the return type of a GCC
11262 builtin and then its argument prototype would still apply. */
11263 #ifdef __cplusplus
11264 extern "C"
11265 #endif
11266 char connect ();
11268 main ()
11270 return connect ();
11272 return 0;
11274 _ACEOF
11275 if ac_fn_c_try_link "$LINENO"; then :
11276 ac_cv_lib_socket_connect=yes
11277 else
11278 ac_cv_lib_socket_connect=no
11280 rm -f core conftest.err conftest.$ac_objext \
11281 conftest$ac_exeext conftest.$ac_ext
11282 LIBS=$ac_check_lib_save_LIBS
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11285 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11286 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11287 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11292 # Guillermo Gomez says -lposix is necessary on A/UX.
11293 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11294 if test "x$ac_cv_func_remove" = xyes; then :
11298 if test $ac_cv_func_remove = no; then
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11300 $as_echo_n "checking for remove in -lposix... " >&6; }
11301 if ${ac_cv_lib_posix_remove+:} false; then :
11302 $as_echo_n "(cached) " >&6
11303 else
11304 ac_check_lib_save_LIBS=$LIBS
11305 LIBS="-lposix $LIBS"
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char remove ();
11317 main ()
11319 return remove ();
11321 return 0;
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"; then :
11325 ac_cv_lib_posix_remove=yes
11326 else
11327 ac_cv_lib_posix_remove=no
11329 rm -f core conftest.err conftest.$ac_objext \
11330 conftest$ac_exeext conftest.$ac_ext
11331 LIBS=$ac_check_lib_save_LIBS
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11334 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11335 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11336 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11341 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11342 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11343 if test "x$ac_cv_func_shmat" = xyes; then :
11347 if test $ac_cv_func_shmat = no; then
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11349 $as_echo_n "checking for shmat in -lipc... " >&6; }
11350 if ${ac_cv_lib_ipc_shmat+:} false; then :
11351 $as_echo_n "(cached) " >&6
11352 else
11353 ac_check_lib_save_LIBS=$LIBS
11354 LIBS="-lipc $LIBS"
11355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11356 /* end confdefs.h. */
11358 /* Override any GCC internal prototype to avoid an error.
11359 Use char because int might match the return type of a GCC
11360 builtin and then its argument prototype would still apply. */
11361 #ifdef __cplusplus
11362 extern "C"
11363 #endif
11364 char shmat ();
11366 main ()
11368 return shmat ();
11370 return 0;
11372 _ACEOF
11373 if ac_fn_c_try_link "$LINENO"; then :
11374 ac_cv_lib_ipc_shmat=yes
11375 else
11376 ac_cv_lib_ipc_shmat=no
11378 rm -f core conftest.err conftest.$ac_objext \
11379 conftest$ac_exeext conftest.$ac_ext
11380 LIBS=$ac_check_lib_save_LIBS
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11383 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11384 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11385 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11391 # Check for libraries that X11R6 Xt/Xaw programs need.
11392 ac_save_LDFLAGS=$LDFLAGS
11393 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11394 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11395 # check for ICE first), but we must link in the order -lSM -lICE or
11396 # we get undefined symbols. So assume we have SM if we have ICE.
11397 # These have to be linked with before -lX11, unlike the other
11398 # libraries we check for below, so use a different variable.
11399 # John Interrante, Karl Berry
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11401 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11402 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11403 $as_echo_n "(cached) " >&6
11404 else
11405 ac_check_lib_save_LIBS=$LIBS
11406 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11408 /* end confdefs.h. */
11410 /* Override any GCC internal prototype to avoid an error.
11411 Use char because int might match the return type of a GCC
11412 builtin and then its argument prototype would still apply. */
11413 #ifdef __cplusplus
11414 extern "C"
11415 #endif
11416 char IceConnectionNumber ();
11418 main ()
11420 return IceConnectionNumber ();
11422 return 0;
11424 _ACEOF
11425 if ac_fn_c_try_link "$LINENO"; then :
11426 ac_cv_lib_ICE_IceConnectionNumber=yes
11427 else
11428 ac_cv_lib_ICE_IceConnectionNumber=no
11430 rm -f core conftest.err conftest.$ac_objext \
11431 conftest$ac_exeext conftest.$ac_ext
11432 LIBS=$ac_check_lib_save_LIBS
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11435 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11436 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11437 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11440 LDFLAGS=$ac_save_LDFLAGS
11445 if test "$have_x" = "yes"
11446 then
11447 ac_save_CPPFLAGS="$CPPFLAGS"
11448 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11451 $as_echo_n "checking for -lX11... " >&6; }
11452 if ${ac_cv_lib_soname_X11+:} false; then :
11453 $as_echo_n "(cached) " >&6
11454 else
11455 ac_check_soname_save_LIBS=$LIBS
11456 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h. */
11460 /* Override any GCC internal prototype to avoid an error.
11461 Use char because int might match the return type of a GCC
11462 builtin and then its argument prototype would still apply. */
11463 #ifdef __cplusplus
11464 extern "C"
11465 #endif
11466 char XCreateWindow ();
11468 main ()
11470 return XCreateWindow ();
11472 return 0;
11474 _ACEOF
11475 if ac_fn_c_try_link "$LINENO"; then :
11476 case "$LIBEXT" in
11477 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11478 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'` ;;
11479 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11480 if ${ac_cv_lib_soname_X11:+false} :; then :
11481 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11482 fi ;;
11483 esac
11484 else
11485 ac_cv_lib_soname_X11=
11487 rm -f core conftest.err conftest.$ac_objext \
11488 conftest$ac_exeext conftest.$ac_ext
11489 LIBS=$ac_check_soname_save_LIBS
11491 if ${ac_cv_lib_soname_X11:+false} :; then :
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11493 $as_echo "not found" >&6; }
11495 else
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11497 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11499 cat >>confdefs.h <<_ACEOF
11500 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11501 _ACEOF
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11506 $as_echo_n "checking for -lXext... " >&6; }
11507 if ${ac_cv_lib_soname_Xext+:} false; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 ac_check_soname_save_LIBS=$LIBS
11511 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11513 /* end confdefs.h. */
11515 /* Override any GCC internal prototype to avoid an error.
11516 Use char because int might match the return type of a GCC
11517 builtin and then its argument prototype would still apply. */
11518 #ifdef __cplusplus
11519 extern "C"
11520 #endif
11521 char XextCreateExtension ();
11523 main ()
11525 return XextCreateExtension ();
11527 return 0;
11529 _ACEOF
11530 if ac_fn_c_try_link "$LINENO"; then :
11531 case "$LIBEXT" in
11532 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11533 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'` ;;
11534 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11535 if ${ac_cv_lib_soname_Xext:+false} :; then :
11536 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11537 fi ;;
11538 esac
11539 else
11540 ac_cv_lib_soname_Xext=
11542 rm -f core conftest.err conftest.$ac_objext \
11543 conftest$ac_exeext conftest.$ac_ext
11544 LIBS=$ac_check_soname_save_LIBS
11546 if ${ac_cv_lib_soname_Xext:+false} :; then :
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11548 $as_echo "not found" >&6; }
11550 else
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11552 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11554 cat >>confdefs.h <<_ACEOF
11555 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11556 _ACEOF
11558 X_LIBS="$X_LIBS -lXext"
11560 X_LIBS="$X_LIBS -lX11"
11562 for ac_header in X11/Xlib.h \
11563 X11/XKBlib.h \
11564 X11/Xutil.h \
11565 X11/Xcursor/Xcursor.h \
11566 X11/extensions/shape.h \
11567 X11/extensions/XInput.h \
11568 X11/extensions/XInput2.h \
11569 X11/extensions/XShm.h \
11570 X11/extensions/Xcomposite.h \
11571 X11/extensions/Xfixes.h \
11572 X11/extensions/Xinerama.h \
11573 X11/extensions/Xrandr.h \
11574 X11/extensions/Xrender.h \
11575 X11/extensions/xf86vmode.h \
11576 X11/extensions/xf86vmproto.h
11577 do :
11578 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11579 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11580 # include <X11/Xlib.h>
11581 #endif
11582 #ifdef HAVE_X11_XUTIL_H
11583 # include <X11/Xutil.h>
11584 #endif
11586 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11587 cat >>confdefs.h <<_ACEOF
11588 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11589 _ACEOF
11593 done
11596 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11597 then
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11599 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11600 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11601 $as_echo_n "(cached) " >&6
11602 else
11603 ac_check_lib_save_LIBS=$LIBS
11604 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11608 /* Override any GCC internal prototype to avoid an error.
11609 Use char because int might match the return type of a GCC
11610 builtin and then its argument prototype would still apply. */
11611 #ifdef __cplusplus
11612 extern "C"
11613 #endif
11614 char XkbQueryExtension ();
11616 main ()
11618 return XkbQueryExtension ();
11620 return 0;
11622 _ACEOF
11623 if ac_fn_c_try_link "$LINENO"; then :
11624 ac_cv_lib_X11_XkbQueryExtension=yes
11625 else
11626 ac_cv_lib_X11_XkbQueryExtension=no
11628 rm -f core conftest.err conftest.$ac_objext \
11629 conftest$ac_exeext conftest.$ac_ext
11630 LIBS=$ac_check_lib_save_LIBS
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11633 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11634 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11636 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11642 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11643 then
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11645 $as_echo_n "checking for -lXcursor... " >&6; }
11646 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11647 $as_echo_n "(cached) " >&6
11648 else
11649 ac_check_soname_save_LIBS=$LIBS
11650 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11657 #ifdef __cplusplus
11658 extern "C"
11659 #endif
11660 char XcursorImageLoadCursor ();
11662 main ()
11664 return XcursorImageLoadCursor ();
11666 return 0;
11668 _ACEOF
11669 if ac_fn_c_try_link "$LINENO"; then :
11670 case "$LIBEXT" in
11671 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11672 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'` ;;
11673 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11674 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11675 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11676 fi ;;
11677 esac
11678 else
11679 ac_cv_lib_soname_Xcursor=
11681 rm -f core conftest.err conftest.$ac_objext \
11682 conftest$ac_exeext conftest.$ac_ext
11683 LIBS=$ac_check_soname_save_LIBS
11685 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11687 $as_echo "not found" >&6; }
11689 else
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11691 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11693 cat >>confdefs.h <<_ACEOF
11694 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11695 _ACEOF
11700 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11701 case "x$with_xcursor" in
11702 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11703 xno) ;;
11704 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11705 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11706 esac
11710 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11711 then
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11713 $as_echo_n "checking for -lXi... " >&6; }
11714 if ${ac_cv_lib_soname_Xi+:} false; then :
11715 $as_echo_n "(cached) " >&6
11716 else
11717 ac_check_soname_save_LIBS=$LIBS
11718 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11722 /* Override any GCC internal prototype to avoid an error.
11723 Use char because int might match the return type of a GCC
11724 builtin and then its argument prototype would still apply. */
11725 #ifdef __cplusplus
11726 extern "C"
11727 #endif
11728 char XOpenDevice ();
11730 main ()
11732 return XOpenDevice ();
11734 return 0;
11736 _ACEOF
11737 if ac_fn_c_try_link "$LINENO"; then :
11738 case "$LIBEXT" in
11739 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11740 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'` ;;
11741 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11742 if ${ac_cv_lib_soname_Xi:+false} :; then :
11743 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11744 fi ;;
11745 esac
11746 else
11747 ac_cv_lib_soname_Xi=
11749 rm -f core conftest.err conftest.$ac_objext \
11750 conftest$ac_exeext conftest.$ac_ext
11751 LIBS=$ac_check_soname_save_LIBS
11753 if ${ac_cv_lib_soname_Xi:+false} :; then :
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11755 $as_echo "not found" >&6; }
11757 else
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11759 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11761 cat >>confdefs.h <<_ACEOF
11762 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11763 _ACEOF
11768 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11769 case "x$with_xinput" in
11770 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11771 xno) ;;
11772 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11773 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11774 esac
11778 if test "x$ac_cv_lib_soname_Xi" != x
11779 then
11780 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11781 case "x$with_xinput2" in
11782 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11783 xno) ;;
11784 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11785 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11786 esac
11791 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11792 then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11794 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11795 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11796 $as_echo_n "(cached) " >&6
11797 else
11798 ac_check_lib_save_LIBS=$LIBS
11799 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11803 /* Override any GCC internal prototype to avoid an error.
11804 Use char because int might match the return type of a GCC
11805 builtin and then its argument prototype would still apply. */
11806 #ifdef __cplusplus
11807 extern "C"
11808 #endif
11809 char XShmQueryExtension ();
11811 main ()
11813 return XShmQueryExtension ();
11815 return 0;
11817 _ACEOF
11818 if ac_fn_c_try_link "$LINENO"; then :
11819 ac_cv_lib_Xext_XShmQueryExtension=yes
11820 else
11821 ac_cv_lib_Xext_XShmQueryExtension=no
11823 rm -f core conftest.err conftest.$ac_objext \
11824 conftest$ac_exeext conftest.$ac_ext
11825 LIBS=$ac_check_lib_save_LIBS
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11828 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11829 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11831 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11836 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11837 case "x$with_xshm" in
11838 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11839 xno) ;;
11840 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11841 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11842 esac
11846 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11847 then
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11849 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11850 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11851 $as_echo_n "(cached) " >&6
11852 else
11853 ac_check_lib_save_LIBS=$LIBS
11854 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11856 /* end confdefs.h. */
11858 /* Override any GCC internal prototype to avoid an error.
11859 Use char because int might match the return type of a GCC
11860 builtin and then its argument prototype would still apply. */
11861 #ifdef __cplusplus
11862 extern "C"
11863 #endif
11864 char XShapeQueryExtension ();
11866 main ()
11868 return XShapeQueryExtension ();
11870 return 0;
11872 _ACEOF
11873 if ac_fn_c_try_link "$LINENO"; then :
11874 ac_cv_lib_Xext_XShapeQueryExtension=yes
11875 else
11876 ac_cv_lib_Xext_XShapeQueryExtension=no
11878 rm -f core conftest.err conftest.$ac_objext \
11879 conftest$ac_exeext conftest.$ac_ext
11880 LIBS=$ac_check_lib_save_LIBS
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11883 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11884 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11886 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11891 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11892 case "x$with_xshape" in
11893 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11894 xno) ;;
11895 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11896 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11897 esac
11901 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11902 then
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11904 $as_echo_n "checking for -lXxf86vm... " >&6; }
11905 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11906 $as_echo_n "(cached) " >&6
11907 else
11908 ac_check_soname_save_LIBS=$LIBS
11909 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11911 /* end confdefs.h. */
11913 /* Override any GCC internal prototype to avoid an error.
11914 Use char because int might match the return type of a GCC
11915 builtin and then its argument prototype would still apply. */
11916 #ifdef __cplusplus
11917 extern "C"
11918 #endif
11919 char XF86VidModeQueryExtension ();
11921 main ()
11923 return XF86VidModeQueryExtension ();
11925 return 0;
11927 _ACEOF
11928 if ac_fn_c_try_link "$LINENO"; then :
11929 case "$LIBEXT" in
11930 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11931 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'` ;;
11932 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11933 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11934 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11935 fi ;;
11936 esac
11937 else
11938 ac_cv_lib_soname_Xxf86vm=
11940 rm -f core conftest.err conftest.$ac_objext \
11941 conftest$ac_exeext conftest.$ac_ext
11942 LIBS=$ac_check_soname_save_LIBS
11944 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11946 $as_echo "not found" >&6; }
11948 else
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11950 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11952 cat >>confdefs.h <<_ACEOF
11953 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11954 _ACEOF
11959 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11960 case "x$with_xxf86vm" in
11961 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11962 xno) ;;
11963 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11964 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11965 esac
11969 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11970 then
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11972 $as_echo_n "checking for -lXrender... " >&6; }
11973 if ${ac_cv_lib_soname_Xrender+:} false; then :
11974 $as_echo_n "(cached) " >&6
11975 else
11976 ac_check_soname_save_LIBS=$LIBS
11977 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11979 /* end confdefs.h. */
11981 /* Override any GCC internal prototype to avoid an error.
11982 Use char because int might match the return type of a GCC
11983 builtin and then its argument prototype would still apply. */
11984 #ifdef __cplusplus
11985 extern "C"
11986 #endif
11987 char XRenderQueryExtension ();
11989 main ()
11991 return XRenderQueryExtension ();
11993 return 0;
11995 _ACEOF
11996 if ac_fn_c_try_link "$LINENO"; then :
11997 case "$LIBEXT" in
11998 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11999 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'` ;;
12000 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12001 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12002 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12003 fi ;;
12004 esac
12005 else
12006 ac_cv_lib_soname_Xrender=
12008 rm -f core conftest.err conftest.$ac_objext \
12009 conftest$ac_exeext conftest.$ac_ext
12010 LIBS=$ac_check_soname_save_LIBS
12012 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12014 $as_echo "not found" >&6; }
12016 else
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12018 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12020 cat >>confdefs.h <<_ACEOF
12021 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12022 _ACEOF
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12025 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12026 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12027 $as_echo_n "(cached) " >&6
12028 else
12029 ac_check_lib_save_LIBS=$LIBS
12030 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12037 #ifdef __cplusplus
12038 extern "C"
12039 #endif
12040 char XRenderSetPictureTransform ();
12042 main ()
12044 return XRenderSetPictureTransform ();
12046 return 0;
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"; then :
12050 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12051 else
12052 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12054 rm -f core conftest.err conftest.$ac_objext \
12055 conftest$ac_exeext conftest.$ac_ext
12056 LIBS=$ac_check_lib_save_LIBS
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12059 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12060 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12062 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12067 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12068 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12069 $as_echo_n "(cached) " >&6
12070 else
12071 ac_check_lib_save_LIBS=$LIBS
12072 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12079 #ifdef __cplusplus
12080 extern "C"
12081 #endif
12082 char XRenderCreateLinearGradient ();
12084 main ()
12086 return XRenderCreateLinearGradient ();
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"; then :
12092 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12093 else
12094 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12096 rm -f core conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098 LIBS=$ac_check_lib_save_LIBS
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12101 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12102 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12104 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12111 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12112 case "x$with_xrender" in
12113 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12114 xno) ;;
12115 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12116 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12117 esac
12121 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12122 then
12123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12124 /* end confdefs.h. */
12125 #include <X11/Xlib.h>
12126 #include <X11/extensions/Xrandr.h>
12128 main ()
12130 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12132 return 0;
12134 _ACEOF
12135 if ac_fn_c_try_compile "$LINENO"; then :
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12137 $as_echo_n "checking for -lXrandr... " >&6; }
12138 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12139 $as_echo_n "(cached) " >&6
12140 else
12141 ac_check_soname_save_LIBS=$LIBS
12142 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12146 /* Override any GCC internal prototype to avoid an error.
12147 Use char because int might match the return type of a GCC
12148 builtin and then its argument prototype would still apply. */
12149 #ifdef __cplusplus
12150 extern "C"
12151 #endif
12152 char XRRQueryExtension ();
12154 main ()
12156 return XRRQueryExtension ();
12158 return 0;
12160 _ACEOF
12161 if ac_fn_c_try_link "$LINENO"; then :
12162 case "$LIBEXT" in
12163 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12164 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'` ;;
12165 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12166 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12167 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12168 fi ;;
12169 esac
12170 else
12171 ac_cv_lib_soname_Xrandr=
12173 rm -f core conftest.err conftest.$ac_objext \
12174 conftest$ac_exeext conftest.$ac_ext
12175 LIBS=$ac_check_soname_save_LIBS
12177 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12179 $as_echo "not found" >&6; }
12181 else
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12183 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12185 cat >>confdefs.h <<_ACEOF
12186 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12187 _ACEOF
12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12191 #include <X11/Xlib.h>
12192 #include <X11/extensions/Xrandr.h>
12194 main ()
12196 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12198 return 0;
12200 _ACEOF
12201 if ac_fn_c_try_compile "$LINENO"; then :
12203 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12205 else
12206 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12213 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12214 case "x$with_xrandr" in
12215 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12216 xno) ;;
12217 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12218 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12219 esac
12223 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12224 then
12225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12227 #include <X11/Xlib.h>
12228 #include <X11/extensions/Xfixes.h>
12230 main ()
12232 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12234 return 0;
12236 _ACEOF
12237 if ac_fn_c_try_compile "$LINENO"; then :
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12239 $as_echo_n "checking for -lXfixes... " >&6; }
12240 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12241 $as_echo_n "(cached) " >&6
12242 else
12243 ac_check_soname_save_LIBS=$LIBS
12244 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12246 /* end confdefs.h. */
12248 /* Override any GCC internal prototype to avoid an error.
12249 Use char because int might match the return type of a GCC
12250 builtin and then its argument prototype would still apply. */
12251 #ifdef __cplusplus
12252 extern "C"
12253 #endif
12254 char XFixesQueryVersion ();
12256 main ()
12258 return XFixesQueryVersion ();
12260 return 0;
12262 _ACEOF
12263 if ac_fn_c_try_link "$LINENO"; then :
12264 case "$LIBEXT" in
12265 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12266 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'` ;;
12267 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12268 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12269 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12270 fi ;;
12271 esac
12272 else
12273 ac_cv_lib_soname_Xfixes=
12275 rm -f core conftest.err conftest.$ac_objext \
12276 conftest$ac_exeext conftest.$ac_ext
12277 LIBS=$ac_check_soname_save_LIBS
12279 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12281 $as_echo "not found" >&6; }
12283 else
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12285 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12287 cat >>confdefs.h <<_ACEOF
12288 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12289 _ACEOF
12294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12296 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12297 case "x$with_xfixes" in
12298 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12299 xno) ;;
12300 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12301 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12302 esac
12306 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12307 then
12308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12309 /* end confdefs.h. */
12310 #include <X11/Xlib.h>
12311 #include <X11/extensions/Xinerama.h>
12313 main ()
12315 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12317 return 0;
12319 _ACEOF
12320 if ac_fn_c_try_compile "$LINENO"; then :
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12322 $as_echo_n "checking for -lXinerama... " >&6; }
12323 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12324 $as_echo_n "(cached) " >&6
12325 else
12326 ac_check_soname_save_LIBS=$LIBS
12327 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h. */
12331 /* Override any GCC internal prototype to avoid an error.
12332 Use char because int might match the return type of a GCC
12333 builtin and then its argument prototype would still apply. */
12334 #ifdef __cplusplus
12335 extern "C"
12336 #endif
12337 char XineramaQueryScreens ();
12339 main ()
12341 return XineramaQueryScreens ();
12343 return 0;
12345 _ACEOF
12346 if ac_fn_c_try_link "$LINENO"; then :
12347 case "$LIBEXT" in
12348 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12349 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'` ;;
12350 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12351 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12352 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12353 fi ;;
12354 esac
12355 else
12356 ac_cv_lib_soname_Xinerama=
12358 rm -f core conftest.err conftest.$ac_objext \
12359 conftest$ac_exeext conftest.$ac_ext
12360 LIBS=$ac_check_soname_save_LIBS
12362 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12364 $as_echo "not found" >&6; }
12366 else
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12368 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12370 cat >>confdefs.h <<_ACEOF
12371 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12372 _ACEOF
12377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12379 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12380 case "x$with_xinerama" in
12381 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12382 xno) ;;
12383 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12384 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12385 esac
12389 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12390 then
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12392 $as_echo_n "checking for -lXcomposite... " >&6; }
12393 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12394 $as_echo_n "(cached) " >&6
12395 else
12396 ac_check_soname_save_LIBS=$LIBS
12397 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12401 /* Override any GCC internal prototype to avoid an error.
12402 Use char because int might match the return type of a GCC
12403 builtin and then its argument prototype would still apply. */
12404 #ifdef __cplusplus
12405 extern "C"
12406 #endif
12407 char XCompositeRedirectWindow ();
12409 main ()
12411 return XCompositeRedirectWindow ();
12413 return 0;
12415 _ACEOF
12416 if ac_fn_c_try_link "$LINENO"; then :
12417 case "$LIBEXT" in
12418 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12419 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'` ;;
12420 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12421 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12422 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12423 fi ;;
12424 esac
12425 else
12426 ac_cv_lib_soname_Xcomposite=
12428 rm -f core conftest.err conftest.$ac_objext \
12429 conftest$ac_exeext conftest.$ac_ext
12430 LIBS=$ac_check_soname_save_LIBS
12432 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12434 $as_echo "not found" >&6; }
12436 else
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12438 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12440 cat >>confdefs.h <<_ACEOF
12441 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12442 _ACEOF
12447 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12448 case "x$with_xcomposite" in
12449 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12450 xno) ;;
12451 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12452 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12453 esac
12457 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12458 #include <X11/Xlib.h>
12459 #endif
12461 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12463 cat >>confdefs.h <<_ACEOF
12464 #define HAVE_XICCALLBACK_CALLBACK 1
12465 _ACEOF
12469 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12470 #include <X11/Xlib.h>
12471 #endif
12473 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12475 cat >>confdefs.h <<_ACEOF
12476 #define HAVE_XEVENT_XCOOKIE 1
12477 _ACEOF
12484 opengl_msg=""
12485 if test "x$with_opengl" != "xno"
12486 then
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12488 $as_echo_n "checking for -lGL... " >&6; }
12489 if ${ac_cv_lib_soname_GL+:} false; then :
12490 $as_echo_n "(cached) " >&6
12491 else
12492 ac_check_soname_save_LIBS=$LIBS
12493 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12497 /* Override any GCC internal prototype to avoid an error.
12498 Use char because int might match the return type of a GCC
12499 builtin and then its argument prototype would still apply. */
12500 #ifdef __cplusplus
12501 extern "C"
12502 #endif
12503 char glXCreateContext ();
12505 main ()
12507 return glXCreateContext ();
12509 return 0;
12511 _ACEOF
12512 if ac_fn_c_try_link "$LINENO"; then :
12513 case "$LIBEXT" in
12514 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12515 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'` ;;
12516 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12517 if ${ac_cv_lib_soname_GL:+false} :; then :
12518 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12519 fi ;;
12520 esac
12521 else
12522 ac_cv_lib_soname_GL=
12524 rm -f core conftest.err conftest.$ac_objext \
12525 conftest$ac_exeext conftest.$ac_ext
12526 LIBS=$ac_check_soname_save_LIBS
12528 if ${ac_cv_lib_soname_GL:+false} :; then :
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12530 $as_echo "not found" >&6; }
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12532 $as_echo_n "checking for -lGL... " >&6; }
12533 if ${ac_cv_lib_soname_GL+:} false; then :
12534 $as_echo_n "(cached) " >&6
12535 else
12536 ac_check_soname_save_LIBS=$LIBS
12537 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"
12538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12541 /* Override any GCC internal prototype to avoid an error.
12542 Use char because int might match the return type of a GCC
12543 builtin and then its argument prototype would still apply. */
12544 #ifdef __cplusplus
12545 extern "C"
12546 #endif
12547 char glXCreateContext ();
12549 main ()
12551 return glXCreateContext ();
12553 return 0;
12555 _ACEOF
12556 if ac_fn_c_try_link "$LINENO"; then :
12557 case "$LIBEXT" in
12558 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12559 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'` ;;
12560 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12561 if ${ac_cv_lib_soname_GL:+false} :; then :
12562 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12563 fi ;;
12564 esac
12565 else
12566 ac_cv_lib_soname_GL=
12568 rm -f core conftest.err conftest.$ac_objext \
12569 conftest$ac_exeext conftest.$ac_ext
12570 LIBS=$ac_check_soname_save_LIBS
12572 if ${ac_cv_lib_soname_GL:+false} :; then :
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12574 $as_echo "not found" >&6; }
12575 if test -f /usr/X11R6/lib/libGL.a
12576 then
12577 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12578 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12579 else
12580 opengl_msg="No OpenGL library found on this system."
12582 else
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12584 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12586 cat >>confdefs.h <<_ACEOF
12587 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12588 _ACEOF
12590 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"
12592 else
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12594 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12596 cat >>confdefs.h <<_ACEOF
12597 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12598 _ACEOF
12600 OPENGL_LIBS="-lGL"
12602 if test "x$with_osmesa" != "xno"
12603 then
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12605 $as_echo_n "checking for -lOSMesa... " >&6; }
12606 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12607 $as_echo_n "(cached) " >&6
12608 else
12609 ac_check_soname_save_LIBS=$LIBS
12610 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 /* Override any GCC internal prototype to avoid an error.
12615 Use char because int might match the return type of a GCC
12616 builtin and then its argument prototype would still apply. */
12617 #ifdef __cplusplus
12618 extern "C"
12619 #endif
12620 char OSMesaGetProcAddress ();
12622 main ()
12624 return OSMesaGetProcAddress ();
12626 return 0;
12628 _ACEOF
12629 if ac_fn_c_try_link "$LINENO"; then :
12630 case "$LIBEXT" in
12631 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12632 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'` ;;
12633 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12634 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12635 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12636 fi ;;
12637 esac
12638 else
12639 ac_cv_lib_soname_OSMesa=
12641 rm -f core conftest.err conftest.$ac_objext \
12642 conftest$ac_exeext conftest.$ac_ext
12643 LIBS=$ac_check_soname_save_LIBS
12645 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12647 $as_echo "not found" >&6; }
12649 else
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12651 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12653 cat >>confdefs.h <<_ACEOF
12654 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12655 _ACEOF
12659 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12660 case "x$with_osmesa" in
12661 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12662 xno) ;;
12663 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12664 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12665 esac
12670 if test -n "$opengl_msg"; then :
12671 case "x$with_opengl" in
12672 x) as_fn_append wine_warnings "|$opengl_msg
12673 OpenGL and Direct3D won't be supported." ;;
12674 xno) ;;
12675 *) as_fn_error $? "$opengl_msg
12676 OpenGL and Direct3D won't be supported.
12677 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12678 esac
12682 CPPFLAGS="$ac_save_CPPFLAGS"
12683 else
12684 X_CFLAGS=""
12685 X_LIBS=""
12688 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12689 then
12690 if test "x$X_LIBS" = "x"; then :
12691 case "x$with_x" in
12692 xno) ;;
12693 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12694 without X support, which probably isn't what you want. You will need
12695 to install ${notice_platform}development packages of Xlib at the very least.
12696 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12697 esac
12698 enable_winex11_drv=${enable_winex11_drv:-no}
12700 else
12701 if test "x$X_LIBS" = "x"; then :
12702 case "x$with_x" in
12703 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12704 xno) ;;
12705 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12706 This is an error since --with-x was requested." "$LINENO" 5 ;;
12707 esac
12708 enable_winex11_drv=${enable_winex11_drv:-no}
12712 if test "$ac_cv_header_CL_cl_h" = "yes"
12713 then
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12715 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12716 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12717 $as_echo_n "(cached) " >&6
12718 else
12719 ac_check_lib_save_LIBS=$LIBS
12720 LIBS="-lOpenCL $LIBS"
12721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12724 /* Override any GCC internal prototype to avoid an error.
12725 Use char because int might match the return type of a GCC
12726 builtin and then its argument prototype would still apply. */
12727 #ifdef __cplusplus
12728 extern "C"
12729 #endif
12730 char clGetPlatformInfo ();
12732 main ()
12734 return clGetPlatformInfo ();
12736 return 0;
12738 _ACEOF
12739 if ac_fn_c_try_link "$LINENO"; then :
12740 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12741 else
12742 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12744 rm -f core conftest.err conftest.$ac_objext \
12745 conftest$ac_exeext conftest.$ac_ext
12746 LIBS=$ac_check_lib_save_LIBS
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12749 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12750 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12751 OPENCL_LIBS="-lOpenCL"
12756 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12757 case "x$with_opencl" in
12758 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12759 xno) ;;
12760 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12761 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12762 esac
12763 enable_opencl=${enable_opencl:-no}
12766 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12767 then
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12769 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12770 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12771 $as_echo_n "(cached) " >&6
12772 else
12773 ac_check_lib_save_LIBS=$LIBS
12774 LIBS="-lpcap $LIBS"
12775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12778 /* Override any GCC internal prototype to avoid an error.
12779 Use char because int might match the return type of a GCC
12780 builtin and then its argument prototype would still apply. */
12781 #ifdef __cplusplus
12782 extern "C"
12783 #endif
12784 char pcap_create ();
12786 main ()
12788 return pcap_create ();
12790 return 0;
12792 _ACEOF
12793 if ac_fn_c_try_link "$LINENO"; then :
12794 ac_cv_lib_pcap_pcap_create=yes
12795 else
12796 ac_cv_lib_pcap_pcap_create=no
12798 rm -f core conftest.err conftest.$ac_objext \
12799 conftest$ac_exeext conftest.$ac_ext
12800 LIBS=$ac_check_lib_save_LIBS
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12803 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12804 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12805 PCAP_LIBS="-lpcap"
12810 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12811 case "x$with_pcap" in
12812 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12813 xno) ;;
12814 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12815 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12816 esac
12817 enable_wpcap=${enable_wpcap:-no}
12821 if test "x$with_xml" != "xno"
12822 then
12823 if ${XML2_CFLAGS:+false} :; then :
12824 if ${PKG_CONFIG+:} false; then :
12825 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12828 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12829 if ${XML2_LIBS:+false} :; then :
12830 if ${PKG_CONFIG+:} false; then :
12831 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12834 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12835 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12836 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12837 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12838 ac_save_CPPFLAGS=$CPPFLAGS
12839 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12840 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12841 do :
12842 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12843 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12844 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12845 cat >>confdefs.h <<_ACEOF
12846 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12847 _ACEOF
12851 done
12853 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"
12854 then
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12856 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12857 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12858 $as_echo_n "(cached) " >&6
12859 else
12860 ac_check_lib_save_LIBS=$LIBS
12861 LIBS="-lxml2 $XML2_LIBS $LIBS"
12862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12863 /* end confdefs.h. */
12865 /* Override any GCC internal prototype to avoid an error.
12866 Use char because int might match the return type of a GCC
12867 builtin and then its argument prototype would still apply. */
12868 #ifdef __cplusplus
12869 extern "C"
12870 #endif
12871 char xmlParseMemory ();
12873 main ()
12875 return xmlParseMemory ();
12877 return 0;
12879 _ACEOF
12880 if ac_fn_c_try_link "$LINENO"; then :
12881 ac_cv_lib_xml2_xmlParseMemory=yes
12882 else
12883 ac_cv_lib_xml2_xmlParseMemory=no
12885 rm -f core conftest.err conftest.$ac_objext \
12886 conftest$ac_exeext conftest.$ac_ext
12887 LIBS=$ac_check_lib_save_LIBS
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12890 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12891 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12893 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12895 else
12896 XML2_LIBS=""
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12900 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12901 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12902 $as_echo_n "(cached) " >&6
12903 else
12904 ac_check_lib_save_LIBS=$LIBS
12905 LIBS="-lxml2 $XML2_LIBS $LIBS"
12906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12907 /* end confdefs.h. */
12909 /* Override any GCC internal prototype to avoid an error.
12910 Use char because int might match the return type of a GCC
12911 builtin and then its argument prototype would still apply. */
12912 #ifdef __cplusplus
12913 extern "C"
12914 #endif
12915 char xmlReadMemory ();
12917 main ()
12919 return xmlReadMemory ();
12921 return 0;
12923 _ACEOF
12924 if ac_fn_c_try_link "$LINENO"; then :
12925 ac_cv_lib_xml2_xmlReadMemory=yes
12926 else
12927 ac_cv_lib_xml2_xmlReadMemory=no
12929 rm -f core conftest.err conftest.$ac_objext \
12930 conftest$ac_exeext conftest.$ac_ext
12931 LIBS=$ac_check_lib_save_LIBS
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12934 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12935 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12937 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12942 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12943 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12944 $as_echo_n "(cached) " >&6
12945 else
12946 ac_check_lib_save_LIBS=$LIBS
12947 LIBS="-lxml2 $XML2_LIBS $LIBS"
12948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12949 /* end confdefs.h. */
12951 /* Override any GCC internal prototype to avoid an error.
12952 Use char because int might match the return type of a GCC
12953 builtin and then its argument prototype would still apply. */
12954 #ifdef __cplusplus
12955 extern "C"
12956 #endif
12957 char xmlNewDocPI ();
12959 main ()
12961 return xmlNewDocPI ();
12963 return 0;
12965 _ACEOF
12966 if ac_fn_c_try_link "$LINENO"; then :
12967 ac_cv_lib_xml2_xmlNewDocPI=yes
12968 else
12969 ac_cv_lib_xml2_xmlNewDocPI=no
12971 rm -f core conftest.err conftest.$ac_objext \
12972 conftest$ac_exeext conftest.$ac_ext
12973 LIBS=$ac_check_lib_save_LIBS
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12976 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12977 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12979 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12984 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12985 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12986 $as_echo_n "(cached) " >&6
12987 else
12988 ac_check_lib_save_LIBS=$LIBS
12989 LIBS="-lxml2 $XML2_LIBS $LIBS"
12990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
12993 /* Override any GCC internal prototype to avoid an error.
12994 Use char because int might match the return type of a GCC
12995 builtin and then its argument prototype would still apply. */
12996 #ifdef __cplusplus
12997 extern "C"
12998 #endif
12999 char xmlSchemaSetParserStructuredErrors ();
13001 main ()
13003 return xmlSchemaSetParserStructuredErrors ();
13005 return 0;
13007 _ACEOF
13008 if ac_fn_c_try_link "$LINENO"; then :
13009 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13010 else
13011 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13013 rm -f core conftest.err conftest.$ac_objext \
13014 conftest$ac_exeext conftest.$ac_ext
13015 LIBS=$ac_check_lib_save_LIBS
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13018 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13019 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13021 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13026 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13027 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13028 $as_echo_n "(cached) " >&6
13029 else
13030 ac_check_lib_save_LIBS=$LIBS
13031 LIBS="-lxml2 $XML2_LIBS $LIBS"
13032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033 /* end confdefs.h. */
13035 /* Override any GCC internal prototype to avoid an error.
13036 Use char because int might match the return type of a GCC
13037 builtin and then its argument prototype would still apply. */
13038 #ifdef __cplusplus
13039 extern "C"
13040 #endif
13041 char xmlSchemaSetValidStructuredErrors ();
13043 main ()
13045 return xmlSchemaSetValidStructuredErrors ();
13047 return 0;
13049 _ACEOF
13050 if ac_fn_c_try_link "$LINENO"; then :
13051 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13052 else
13053 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13055 rm -f core conftest.err conftest.$ac_objext \
13056 conftest$ac_exeext conftest.$ac_ext
13057 LIBS=$ac_check_lib_save_LIBS
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13060 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13061 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13063 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13068 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13069 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13070 $as_echo_n "(cached) " >&6
13071 else
13072 ac_check_lib_save_LIBS=$LIBS
13073 LIBS="-lxml2 $XML2_LIBS $LIBS"
13074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13075 /* end confdefs.h. */
13077 /* Override any GCC internal prototype to avoid an error.
13078 Use char because int might match the return type of a GCC
13079 builtin and then its argument prototype would still apply. */
13080 #ifdef __cplusplus
13081 extern "C"
13082 #endif
13083 char xmlFirstElementChild ();
13085 main ()
13087 return xmlFirstElementChild ();
13089 return 0;
13091 _ACEOF
13092 if ac_fn_c_try_link "$LINENO"; then :
13093 ac_cv_lib_xml2_xmlFirstElementChild=yes
13094 else
13095 ac_cv_lib_xml2_xmlFirstElementChild=no
13097 rm -f core conftest.err conftest.$ac_objext \
13098 conftest$ac_exeext conftest.$ac_ext
13099 LIBS=$ac_check_lib_save_LIBS
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13102 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13103 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13105 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13109 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13111 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13113 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13117 else
13118 XML2_CFLAGS=""
13119 XML2_LIBS=""
13121 CPPFLAGS=$ac_save_CPPFLAGS
13124 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13125 case "x$with_xml" in
13126 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13127 xno) ;;
13128 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13129 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13130 esac
13134 if test "x$with_xslt" != "xno"
13135 then
13136 if ${XSLT_CFLAGS:+false} :; then :
13137 if ${PKG_CONFIG+:} false; then :
13138 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13141 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13142 if ${XSLT_LIBS:+false} :; then :
13143 if ${PKG_CONFIG+:} false; then :
13144 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13147 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13148 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13149 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13150 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13151 ac_save_CPPFLAGS=$CPPFLAGS
13152 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13153 for ac_header in libxslt/pattern.h libxslt/transform.h
13154 do :
13155 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13156 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13157 # include <libxslt/pattern.h>
13158 #endif
13160 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13161 cat >>confdefs.h <<_ACEOF
13162 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13163 _ACEOF
13167 done
13169 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13170 then
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13172 $as_echo_n "checking for -lxslt... " >&6; }
13173 if ${ac_cv_lib_soname_xslt+:} false; then :
13174 $as_echo_n "(cached) " >&6
13175 else
13176 ac_check_soname_save_LIBS=$LIBS
13177 LIBS="-lxslt $XSLT_LIBS $LIBS"
13178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13181 /* Override any GCC internal prototype to avoid an error.
13182 Use char because int might match the return type of a GCC
13183 builtin and then its argument prototype would still apply. */
13184 #ifdef __cplusplus
13185 extern "C"
13186 #endif
13187 char xsltCompilePattern ();
13189 main ()
13191 return xsltCompilePattern ();
13193 return 0;
13195 _ACEOF
13196 if ac_fn_c_try_link "$LINENO"; then :
13197 case "$LIBEXT" in
13198 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13199 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'` ;;
13200 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13201 if ${ac_cv_lib_soname_xslt:+false} :; then :
13202 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13203 fi ;;
13204 esac
13205 else
13206 ac_cv_lib_soname_xslt=
13208 rm -f core conftest.err conftest.$ac_objext \
13209 conftest$ac_exeext conftest.$ac_ext
13210 LIBS=$ac_check_soname_save_LIBS
13212 if ${ac_cv_lib_soname_xslt:+false} :; then :
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13214 $as_echo "not found" >&6; }
13216 else
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13218 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13220 cat >>confdefs.h <<_ACEOF
13221 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13222 _ACEOF
13226 else
13227 XSLT_CFLAGS=""
13229 CPPFLAGS=$ac_save_CPPFLAGS
13232 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13233 case "x$with_xslt" in
13234 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13235 xno) ;;
13236 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13237 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13238 esac
13242 if test "x$with_inotify" != "xno"
13243 then
13244 if ${INOTIFY_CFLAGS:+false} :; then :
13245 if ${PKG_CONFIG+:} false; then :
13246 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13250 if ${INOTIFY_LIBS:+false} :; then :
13251 if ${PKG_CONFIG+:} false; then :
13252 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13257 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13258 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13259 ac_save_CPPFLAGS=$CPPFLAGS
13260 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13261 for ac_header in sys/inotify.h
13262 do :
13263 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13264 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13265 cat >>confdefs.h <<_ACEOF
13266 #define HAVE_SYS_INOTIFY_H 1
13267 _ACEOF
13271 done
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13274 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13275 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13276 $as_echo_n "(cached) " >&6
13277 else
13278 ac_check_lib_save_LIBS=$LIBS
13279 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13281 /* end confdefs.h. */
13283 /* Override any GCC internal prototype to avoid an error.
13284 Use char because int might match the return type of a GCC
13285 builtin and then its argument prototype would still apply. */
13286 #ifdef __cplusplus
13287 extern "C"
13288 #endif
13289 char inotify_add_watch ();
13291 main ()
13293 return inotify_add_watch ();
13295 return 0;
13297 _ACEOF
13298 if ac_fn_c_try_link "$LINENO"; then :
13299 ac_cv_lib_inotify_inotify_add_watch=yes
13300 else
13301 ac_cv_lib_inotify_inotify_add_watch=no
13303 rm -f core conftest.err conftest.$ac_objext \
13304 conftest$ac_exeext conftest.$ac_ext
13305 LIBS=$ac_check_lib_save_LIBS
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13308 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13309 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13311 else
13312 INOTIFY_LIBS=""
13315 CPPFLAGS=$ac_save_CPPFLAGS
13318 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13319 case "x$with_inotify" in
13320 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13321 xno) ;;
13322 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13323 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13324 esac
13328 if test "x$with_dbus" != "xno"
13329 then
13330 if ${DBUS_CFLAGS:+false} :; then :
13331 if ${PKG_CONFIG+:} false; then :
13332 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13336 if ${DBUS_LIBS:+false} :; then :
13337 if ${PKG_CONFIG+:} false; then :
13338 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13343 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13344 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13345 ac_save_CPPFLAGS=$CPPFLAGS
13346 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13347 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13348 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13350 $as_echo_n "checking for -ldbus-1... " >&6; }
13351 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13352 $as_echo_n "(cached) " >&6
13353 else
13354 ac_check_soname_save_LIBS=$LIBS
13355 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13359 /* Override any GCC internal prototype to avoid an error.
13360 Use char because int might match the return type of a GCC
13361 builtin and then its argument prototype would still apply. */
13362 #ifdef __cplusplus
13363 extern "C"
13364 #endif
13365 char dbus_connection_close ();
13367 main ()
13369 return dbus_connection_close ();
13371 return 0;
13373 _ACEOF
13374 if ac_fn_c_try_link "$LINENO"; then :
13375 case "$LIBEXT" in
13376 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13377 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'` ;;
13378 *) 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'`
13379 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13380 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13381 fi ;;
13382 esac
13383 else
13384 ac_cv_lib_soname_dbus_1=
13386 rm -f core conftest.err conftest.$ac_objext \
13387 conftest$ac_exeext conftest.$ac_ext
13388 LIBS=$ac_check_soname_save_LIBS
13390 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13392 $as_echo "not found" >&6; }
13393 DBUS_CFLAGS=""
13394 else
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13396 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13398 cat >>confdefs.h <<_ACEOF
13399 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13400 _ACEOF
13404 else
13405 DBUS_CFLAGS=""
13409 CPPFLAGS=$ac_save_CPPFLAGS
13412 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13413 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13414 case "x$with_dbus" in
13415 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13416 xno) ;;
13417 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13418 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13419 esac
13423 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13424 then
13425 if ${HAL_CFLAGS:+false} :; then :
13426 if ${PKG_CONFIG+:} false; then :
13427 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13431 if ${HAL_LIBS:+false} :; then :
13432 if ${PKG_CONFIG+:} false; then :
13433 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13437 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13438 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13439 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13440 ac_save_CPPFLAGS=$CPPFLAGS
13441 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13442 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13443 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13445 $as_echo_n "checking for -lhal... " >&6; }
13446 if ${ac_cv_lib_soname_hal+:} false; then :
13447 $as_echo_n "(cached) " >&6
13448 else
13449 ac_check_soname_save_LIBS=$LIBS
13450 LIBS="-lhal $HAL_LIBS $LIBS"
13451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h. */
13454 /* Override any GCC internal prototype to avoid an error.
13455 Use char because int might match the return type of a GCC
13456 builtin and then its argument prototype would still apply. */
13457 #ifdef __cplusplus
13458 extern "C"
13459 #endif
13460 char libhal_ctx_new ();
13462 main ()
13464 return libhal_ctx_new ();
13466 return 0;
13468 _ACEOF
13469 if ac_fn_c_try_link "$LINENO"; then :
13470 case "$LIBEXT" in
13471 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13472 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'` ;;
13473 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13474 if ${ac_cv_lib_soname_hal:+false} :; then :
13475 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13476 fi ;;
13477 esac
13478 else
13479 ac_cv_lib_soname_hal=
13481 rm -f core conftest.err conftest.$ac_objext \
13482 conftest$ac_exeext conftest.$ac_ext
13483 LIBS=$ac_check_soname_save_LIBS
13485 if ${ac_cv_lib_soname_hal:+false} :; then :
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13487 $as_echo "not found" >&6; }
13488 HAL_CFLAGS=""
13489 else
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13491 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13493 cat >>confdefs.h <<_ACEOF
13494 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13495 _ACEOF
13499 else
13500 HAL_CFLAGS=""
13504 CPPFLAGS=$ac_save_CPPFLAGS
13506 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13507 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13508 case "x$with_hal" in
13509 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13510 xno) ;;
13511 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13512 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13513 esac
13518 if test "x$with_gnutls" != "xno"
13519 then
13520 if ${GNUTLS_CFLAGS:+false} :; then :
13521 if ${PKG_CONFIG+:} false; then :
13522 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13526 if ${GNUTLS_LIBS:+false} :; then :
13527 if ${PKG_CONFIG+:} false; then :
13528 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13532 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13533 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13534 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13535 ac_save_CPPFLAGS=$CPPFLAGS
13536 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13537 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13538 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13540 /* end confdefs.h. */
13541 #include <gnutls/gnutls.h>
13542 #include <gnutls/crypto.h>
13544 main ()
13546 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13548 return 0;
13550 _ACEOF
13551 if ac_fn_c_try_compile "$LINENO"; then :
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13553 $as_echo_n "checking for -lgnutls... " >&6; }
13554 if ${ac_cv_lib_soname_gnutls+:} false; then :
13555 $as_echo_n "(cached) " >&6
13556 else
13557 ac_check_soname_save_LIBS=$LIBS
13558 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13560 /* end confdefs.h. */
13562 /* Override any GCC internal prototype to avoid an error.
13563 Use char because int might match the return type of a GCC
13564 builtin and then its argument prototype would still apply. */
13565 #ifdef __cplusplus
13566 extern "C"
13567 #endif
13568 char gnutls_global_init ();
13570 main ()
13572 return gnutls_global_init ();
13574 return 0;
13576 _ACEOF
13577 if ac_fn_c_try_link "$LINENO"; then :
13578 case "$LIBEXT" in
13579 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13580 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'` ;;
13581 *) 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'`
13582 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13583 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'`
13584 fi ;;
13585 esac
13586 else
13587 ac_cv_lib_soname_gnutls=
13589 rm -f core conftest.err conftest.$ac_objext \
13590 conftest$ac_exeext conftest.$ac_ext
13591 LIBS=$ac_check_soname_save_LIBS
13593 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13595 $as_echo "not found" >&6; }
13596 GNUTLS_CFLAGS=""
13597 else
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13599 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13601 cat >>confdefs.h <<_ACEOF
13602 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13603 _ACEOF
13607 ac_wine_check_funcs_save_LIBS="$LIBS"
13608 LIBS="$LIBS $GNUTLS_LIBS"
13609 for ac_func in gnutls_cipher_init
13610 do :
13611 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13612 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13613 cat >>confdefs.h <<_ACEOF
13614 #define HAVE_GNUTLS_CIPHER_INIT 1
13615 _ACEOF
13617 else
13618 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13620 done
13622 LIBS="$ac_wine_check_funcs_save_LIBS"
13624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13625 else
13626 GNUTLS_CFLAGS=""
13630 CPPFLAGS=$ac_save_CPPFLAGS
13633 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13634 case "x$with_gnutls" in
13635 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13636 xno) ;;
13637 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13638 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13639 esac
13643 if test "x$with_sane" != "xno"
13644 then
13645 if ${SANE_CFLAGS:+false} :; then :
13646 if ${PKG_CONFIG+:} false; then :
13647 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13650 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13651 if ${SANE_LIBS:+false} :; then :
13652 if ${PKG_CONFIG+:} false; then :
13653 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13656 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13658 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13659 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13660 ac_save_CPPFLAGS=$CPPFLAGS
13661 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13662 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13663 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13665 $as_echo_n "checking for -lsane... " >&6; }
13666 if ${ac_cv_lib_soname_sane+:} false; then :
13667 $as_echo_n "(cached) " >&6
13668 else
13669 ac_check_soname_save_LIBS=$LIBS
13670 LIBS="-lsane $SANE_LIBS $LIBS"
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13674 /* Override any GCC internal prototype to avoid an error.
13675 Use char because int might match the return type of a GCC
13676 builtin and then its argument prototype would still apply. */
13677 #ifdef __cplusplus
13678 extern "C"
13679 #endif
13680 char sane_init ();
13682 main ()
13684 return sane_init ();
13686 return 0;
13688 _ACEOF
13689 if ac_fn_c_try_link "$LINENO"; then :
13690 case "$LIBEXT" in
13691 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13692 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'` ;;
13693 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13694 if ${ac_cv_lib_soname_sane:+false} :; then :
13695 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13696 fi ;;
13697 esac
13698 else
13699 ac_cv_lib_soname_sane=
13701 rm -f core conftest.err conftest.$ac_objext \
13702 conftest$ac_exeext conftest.$ac_ext
13703 LIBS=$ac_check_soname_save_LIBS
13705 if ${ac_cv_lib_soname_sane:+false} :; then :
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13707 $as_echo "not found" >&6; }
13708 SANE_CFLAGS=""
13709 else
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13711 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13713 cat >>confdefs.h <<_ACEOF
13714 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13715 _ACEOF
13719 else
13720 SANE_CFLAGS=""
13724 CPPFLAGS=$ac_save_CPPFLAGS
13727 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13728 case "x$with_sane" in
13729 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13730 xno) ;;
13731 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13732 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13733 esac
13737 if test "x$with_usb" != "xno"
13738 then
13739 if ${USB_CFLAGS:+false} :; then :
13740 if ${PKG_CONFIG+:} false; then :
13741 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13745 if ${USB_LIBS:+false} :; then :
13746 if ${PKG_CONFIG+:} false; then :
13747 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13751 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13752 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13753 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13754 ac_save_CPPFLAGS=$CPPFLAGS
13755 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13756 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13757 if test "x$ac_cv_header_libusb_h" = xyes; then :
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13759 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13760 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13761 $as_echo_n "(cached) " >&6
13762 else
13763 ac_check_lib_save_LIBS=$LIBS
13764 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13766 /* end confdefs.h. */
13768 /* Override any GCC internal prototype to avoid an error.
13769 Use char because int might match the return type of a GCC
13770 builtin and then its argument prototype would still apply. */
13771 #ifdef __cplusplus
13772 extern "C"
13773 #endif
13774 char libusb_interrupt_event_handler ();
13776 main ()
13778 return libusb_interrupt_event_handler ();
13780 return 0;
13782 _ACEOF
13783 if ac_fn_c_try_link "$LINENO"; then :
13784 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13785 else
13786 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13788 rm -f core conftest.err conftest.$ac_objext \
13789 conftest$ac_exeext conftest.$ac_ext
13790 LIBS=$ac_check_lib_save_LIBS
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13793 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13794 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13796 else
13797 USB_LIBS=""
13800 else
13801 USB_LIBS=""
13805 CPPFLAGS=$ac_save_CPPFLAGS
13808 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13809 case "x$with_usb" in
13810 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13811 xno) ;;
13812 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13813 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13814 esac
13815 enable_wineusb_sys=${enable_wineusb_sys:-no}
13818 if test "x$with_v4l2" != "xno"
13819 then
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13821 $as_echo_n "checking for -lv4l2... " >&6; }
13822 if ${ac_cv_lib_soname_v4l2+:} false; then :
13823 $as_echo_n "(cached) " >&6
13824 else
13825 ac_check_soname_save_LIBS=$LIBS
13826 LIBS="-lv4l2 $LIBS"
13827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13828 /* end confdefs.h. */
13830 /* Override any GCC internal prototype to avoid an error.
13831 Use char because int might match the return type of a GCC
13832 builtin and then its argument prototype would still apply. */
13833 #ifdef __cplusplus
13834 extern "C"
13835 #endif
13836 char v4l2_open ();
13838 main ()
13840 return v4l2_open ();
13842 return 0;
13844 _ACEOF
13845 if ac_fn_c_try_link "$LINENO"; then :
13846 case "$LIBEXT" in
13847 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13848 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'` ;;
13849 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13850 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13851 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13852 fi ;;
13853 esac
13854 else
13855 ac_cv_lib_soname_v4l2=
13857 rm -f core conftest.err conftest.$ac_objext \
13858 conftest$ac_exeext conftest.$ac_ext
13859 LIBS=$ac_check_soname_save_LIBS
13861 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13863 $as_echo "not found" >&6; }
13865 else
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13867 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13869 cat >>confdefs.h <<_ACEOF
13870 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13871 _ACEOF
13876 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13877 case "x$with_v4l2" in
13878 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13879 xno) ;;
13880 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13881 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13882 esac
13886 if test "x$with_gphoto" != "xno"
13887 then
13888 if ${GPHOTO2_CFLAGS:+false} :; then :
13889 if ${PKG_CONFIG+:} false; then :
13890 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13893 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13894 if ${GPHOTO2_LIBS:+false} :; then :
13895 if ${PKG_CONFIG+:} false; then :
13896 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13899 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13900 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13901 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13902 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13903 ac_save_CPPFLAGS=$CPPFLAGS
13904 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13905 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13906 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13908 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13909 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13910 $as_echo_n "(cached) " >&6
13911 else
13912 ac_check_lib_save_LIBS=$LIBS
13913 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13917 /* Override any GCC internal prototype to avoid an error.
13918 Use char because int might match the return type of a GCC
13919 builtin and then its argument prototype would still apply. */
13920 #ifdef __cplusplus
13921 extern "C"
13922 #endif
13923 char gp_camera_new ();
13925 main ()
13927 return gp_camera_new ();
13929 return 0;
13931 _ACEOF
13932 if ac_fn_c_try_link "$LINENO"; then :
13933 ac_cv_lib_gphoto2_gp_camera_new=yes
13934 else
13935 ac_cv_lib_gphoto2_gp_camera_new=no
13937 rm -f core conftest.err conftest.$ac_objext \
13938 conftest$ac_exeext conftest.$ac_ext
13939 LIBS=$ac_check_lib_save_LIBS
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13942 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13943 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13945 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13947 else
13948 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13951 else
13952 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13956 CPPFLAGS=$ac_save_CPPFLAGS
13958 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13959 if ${PKG_CONFIG+:} false; then :
13960 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13963 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13964 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13965 if ${PKG_CONFIG+:} false; then :
13966 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13969 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13970 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13971 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13972 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13973 ac_save_CPPFLAGS=$CPPFLAGS
13974 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13975 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13976 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13978 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13979 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13980 $as_echo_n "(cached) " >&6
13981 else
13982 ac_check_lib_save_LIBS=$LIBS
13983 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13985 /* end confdefs.h. */
13987 /* Override any GCC internal prototype to avoid an error.
13988 Use char because int might match the return type of a GCC
13989 builtin and then its argument prototype would still apply. */
13990 #ifdef __cplusplus
13991 extern "C"
13992 #endif
13993 char gp_port_info_list_new ();
13995 main ()
13997 return gp_port_info_list_new ();
13999 return 0;
14001 _ACEOF
14002 if ac_fn_c_try_link "$LINENO"; then :
14003 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14004 else
14005 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14007 rm -f core conftest.err conftest.$ac_objext \
14008 conftest$ac_exeext conftest.$ac_ext
14009 LIBS=$ac_check_lib_save_LIBS
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14012 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14013 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14015 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14017 else
14018 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14021 else
14022 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14026 CPPFLAGS=$ac_save_CPPFLAGS
14029 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14030 case "x$with_gphoto" in
14031 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14032 xno) ;;
14033 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14034 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14035 esac
14038 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14039 case "x$with_gphoto" in
14040 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14041 xno) ;;
14042 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14043 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14044 esac
14049 if test "$ac_cv_header_resolv_h" = "yes"
14050 then
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14052 $as_echo_n "checking for resolver library... " >&6; }
14053 if ${ac_cv_have_resolv+:} false; then :
14054 $as_echo_n "(cached) " >&6
14055 else
14056 ac_save_LIBS="$LIBS"
14057 for lib in '' -lresolv
14059 LIBS="$lib $ac_save_LIBS"
14060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14062 #ifdef HAVE_NETINET_IN_H
14063 #include <netinet/in.h>
14064 #endif
14065 #include <resolv.h>
14067 main ()
14069 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
14071 return 0;
14073 _ACEOF
14074 if ac_fn_c_try_link "$LINENO"; then :
14075 ac_cv_have_resolv=${lib:-"none required"}
14076 else
14077 ac_cv_have_resolv="not found"
14079 rm -f core conftest.err conftest.$ac_objext \
14080 conftest$ac_exeext conftest.$ac_ext
14081 test "x$ac_cv_have_resolv" = "xnot found" || break
14082 done
14083 LIBS="$ac_save_LIBS"
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14086 $as_echo "$ac_cv_have_resolv" >&6; }
14088 case "$ac_cv_have_resolv" in
14089 "not found") ;;
14090 "none required")
14092 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14095 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14097 RESOLV_LIBS=$ac_cv_have_resolv
14099 esac
14101 if test "x$ac_cv_have_resolv" != "xnot found"
14102 then
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14104 $as_echo_n "checking for res_getservers... " >&6; }
14105 if ${ac_cv_have_res_getservers+:} false; then :
14106 $as_echo_n "(cached) " >&6
14107 else
14108 ac_save_LIBS="$LIBS"
14109 LIBS="$RESOLV_LIBS $LIBS"
14110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14111 /* end confdefs.h. */
14112 #include <resolv.h>
14114 main ()
14116 res_getservers(NULL, NULL, 0);
14118 return 0;
14120 _ACEOF
14121 if ac_fn_c_try_link "$LINENO"; then :
14122 ac_cv_have_res_getservers=yes
14123 else
14124 ac_cv_have_res_getservers=no
14126 rm -f core conftest.err conftest.$ac_objext \
14127 conftest$ac_exeext conftest.$ac_ext
14128 LIBS="$ac_save_LIBS"
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14131 $as_echo "$ac_cv_have_res_getservers" >&6; }
14132 if test "$ac_cv_have_res_getservers" = "yes"
14133 then
14135 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14141 if test "x$with_cms" != "xno"
14142 then
14143 if ${LCMS2_CFLAGS:+false} :; then :
14144 if ${PKG_CONFIG+:} false; then :
14145 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14149 if ${LCMS2_LIBS:+false} :; then :
14150 if ${PKG_CONFIG+:} false; then :
14151 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14155 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14156 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14157 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14158 ac_save_CPPFLAGS=$CPPFLAGS
14159 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14160 for ac_header in lcms2.h
14161 do :
14162 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14163 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14164 cat >>confdefs.h <<_ACEOF
14165 #define HAVE_LCMS2_H 1
14166 _ACEOF
14170 done
14172 if test "$ac_cv_header_lcms2_h" = "yes"
14173 then
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14175 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14176 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14177 $as_echo_n "(cached) " >&6
14178 else
14179 ac_check_lib_save_LIBS=$LIBS
14180 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14184 /* Override any GCC internal prototype to avoid an error.
14185 Use char because int might match the return type of a GCC
14186 builtin and then its argument prototype would still apply. */
14187 #ifdef __cplusplus
14188 extern "C"
14189 #endif
14190 char cmsOpenProfileFromFile ();
14192 main ()
14194 return cmsOpenProfileFromFile ();
14196 return 0;
14198 _ACEOF
14199 if ac_fn_c_try_link "$LINENO"; then :
14200 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14201 else
14202 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14204 rm -f core conftest.err conftest.$ac_objext \
14205 conftest$ac_exeext conftest.$ac_ext
14206 LIBS=$ac_check_lib_save_LIBS
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14209 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14210 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14212 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14214 else
14215 LCMS2_LIBS=""
14218 else
14219 LCMS2_CFLAGS=""
14220 LCMS2_LIBS=""
14222 CPPFLAGS=$ac_save_CPPFLAGS
14225 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14226 case "x$with_cms" in
14227 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14228 xno) ;;
14229 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14230 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14231 esac
14235 if test "x$with_freetype" != "xno"
14236 then
14237 if ${FREETYPE_CFLAGS:+false} :; then :
14238 if ${PKG_CONFIG+:} false; then :
14239 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14242 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14243 if ${FREETYPE_LIBS:+false} :; then :
14244 if ${PKG_CONFIG+:} false; then :
14245 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14248 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14249 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14250 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14251 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14252 ac_save_CPPFLAGS=$CPPFLAGS
14253 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14254 for ac_header in ft2build.h
14255 do :
14256 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14257 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14258 cat >>confdefs.h <<_ACEOF
14259 #define HAVE_FT2BUILD_H 1
14260 _ACEOF
14264 done
14266 if test "$ac_cv_header_ft2build_h" = "yes"
14267 then
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14269 $as_echo_n "checking for -lfreetype... " >&6; }
14270 if ${ac_cv_lib_soname_freetype+:} false; then :
14271 $as_echo_n "(cached) " >&6
14272 else
14273 ac_check_soname_save_LIBS=$LIBS
14274 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276 /* end confdefs.h. */
14278 /* Override any GCC internal prototype to avoid an error.
14279 Use char because int might match the return type of a GCC
14280 builtin and then its argument prototype would still apply. */
14281 #ifdef __cplusplus
14282 extern "C"
14283 #endif
14284 char FT_Init_FreeType ();
14286 main ()
14288 return FT_Init_FreeType ();
14290 return 0;
14292 _ACEOF
14293 if ac_fn_c_try_link "$LINENO"; then :
14294 case "$LIBEXT" in
14295 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14296 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'` ;;
14297 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14298 if ${ac_cv_lib_soname_freetype:+false} :; then :
14299 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14300 fi ;;
14301 esac
14302 else
14303 ac_cv_lib_soname_freetype=
14305 rm -f core conftest.err conftest.$ac_objext \
14306 conftest$ac_exeext conftest.$ac_ext
14307 LIBS=$ac_check_soname_save_LIBS
14309 if ${ac_cv_lib_soname_freetype:+false} :; then :
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14311 $as_echo "not found" >&6; }
14312 FREETYPE_LIBS=""
14313 else
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14315 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14317 cat >>confdefs.h <<_ACEOF
14318 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14319 _ACEOF
14322 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14324 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14325 #include FT_MODULE_H
14327 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14329 cat >>confdefs.h <<_ACEOF
14330 #define HAVE_FT_TRUETYPEENGINETYPE 1
14331 _ACEOF
14337 else
14338 FREETYPE_CFLAGS=""
14339 FREETYPE_LIBS=""
14341 CPPFLAGS=$ac_save_CPPFLAGS
14344 if test "x$ac_cv_lib_soname_freetype" = x; then :
14345 case "x$with_freetype" in
14346 xno) ;;
14347 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14348 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14349 esac
14350 enable_fonts=${enable_fonts:-no}
14353 ac_wine_check_funcs_save_LIBS="$LIBS"
14354 LIBS="$LIBS $PTHREAD_LIBS"
14355 for ac_func in \
14356 pthread_getthreadid_np
14357 do :
14358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14360 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14361 cat >>confdefs.h <<_ACEOF
14362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14363 _ACEOF
14366 done
14368 LIBS="$ac_wine_check_funcs_save_LIBS"
14370 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14371 then
14372 if test "$ac_cv_header_gettext_po_h" = "yes"
14373 then
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14375 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14376 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14377 $as_echo_n "(cached) " >&6
14378 else
14379 ac_check_lib_save_LIBS=$LIBS
14380 LIBS="-lgettextpo $LIBS"
14381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14382 /* end confdefs.h. */
14384 /* Override any GCC internal prototype to avoid an error.
14385 Use char because int might match the return type of a GCC
14386 builtin and then its argument prototype would still apply. */
14387 #ifdef __cplusplus
14388 extern "C"
14389 #endif
14390 char po_message_msgctxt ();
14392 main ()
14394 return po_message_msgctxt ();
14396 return 0;
14398 _ACEOF
14399 if ac_fn_c_try_link "$LINENO"; then :
14400 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14401 else
14402 ac_cv_lib_gettextpo_po_message_msgctxt=no
14404 rm -f core conftest.err conftest.$ac_objext \
14405 conftest$ac_exeext conftest.$ac_ext
14406 LIBS=$ac_check_lib_save_LIBS
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14409 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14410 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14412 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14414 GETTEXTPO_LIBS="-lgettextpo"
14419 if test "x$GETTEXTPO_LIBS" = "x"; then :
14420 case "x$with_gettextpo" in
14421 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14422 xno) ;;
14423 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14424 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14425 esac
14428 if test "$srcdir" != .; then :
14429 case "x$with_gettextpo" in
14430 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14431 xno) ;;
14432 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14433 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14434 esac
14439 if test "x$with_pulse" != "xno";
14440 then
14441 if ${PULSE_CFLAGS:+false} :; then :
14442 if ${PKG_CONFIG+:} false; then :
14443 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14447 if ${PULSE_LIBS:+false} :; then :
14448 if ${PKG_CONFIG+:} false; then :
14449 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14454 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14455 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14456 ac_save_CPPFLAGS=$CPPFLAGS
14457 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14458 for ac_header in pulse/pulseaudio.h
14459 do :
14460 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14461 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14462 cat >>confdefs.h <<_ACEOF
14463 #define HAVE_PULSE_PULSEAUDIO_H 1
14464 _ACEOF
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14466 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14467 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14468 $as_echo_n "(cached) " >&6
14469 else
14470 ac_check_lib_save_LIBS=$LIBS
14471 LIBS="-lpulse $PULSE_LIBS $LIBS"
14472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14475 /* Override any GCC internal prototype to avoid an error.
14476 Use char because int might match the return type of a GCC
14477 builtin and then its argument prototype would still apply. */
14478 #ifdef __cplusplus
14479 extern "C"
14480 #endif
14481 char pa_stream_is_corked ();
14483 main ()
14485 return pa_stream_is_corked ();
14487 return 0;
14489 _ACEOF
14490 if ac_fn_c_try_link "$LINENO"; then :
14491 ac_cv_lib_pulse_pa_stream_is_corked=yes
14492 else
14493 ac_cv_lib_pulse_pa_stream_is_corked=no
14495 rm -f core conftest.err conftest.$ac_objext \
14496 conftest$ac_exeext conftest.$ac_ext
14497 LIBS=$ac_check_lib_save_LIBS
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14500 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14501 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14503 else
14504 PULSE_LIBS=""
14507 else
14508 PULSE_LIBS=""
14511 done
14513 CPPFLAGS=$ac_save_CPPFLAGS
14516 if test -z "$PULSE_LIBS"; then :
14517 case "x$with_pulse" in
14518 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14519 xno) ;;
14520 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14521 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14522 esac
14523 enable_winepulse_drv=${enable_winepulse_drv:-no}
14526 if test "x$with_gstreamer" != "xno"
14527 then
14528 if ${GSTREAMER_CFLAGS:+false} :; then :
14529 if ${PKG_CONFIG+:} false; then :
14530 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14534 if ${GSTREAMER_LIBS:+false} :; then :
14535 if ${PKG_CONFIG+:} false; then :
14536 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14541 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14542 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14543 ac_save_CPPFLAGS=$CPPFLAGS
14544 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14545 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14546 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14548 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14551 #include <gst/gst.h>
14553 main ()
14555 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14557 return 0;
14559 _ACEOF
14560 if ac_fn_c_try_compile "$LINENO"; then :
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14562 $as_echo "yes" >&6; }
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14564 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14565 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14566 $as_echo_n "(cached) " >&6
14567 else
14568 ac_check_lib_save_LIBS=$LIBS
14569 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14573 /* Override any GCC internal prototype to avoid an error.
14574 Use char because int might match the return type of a GCC
14575 builtin and then its argument prototype would still apply. */
14576 #ifdef __cplusplus
14577 extern "C"
14578 #endif
14579 char gst_pad_new ();
14581 main ()
14583 return gst_pad_new ();
14585 return 0;
14587 _ACEOF
14588 if ac_fn_c_try_link "$LINENO"; then :
14589 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14590 else
14591 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14593 rm -f core conftest.err conftest.$ac_objext \
14594 conftest$ac_exeext conftest.$ac_ext
14595 LIBS=$ac_check_lib_save_LIBS
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14598 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14599 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14603 else
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14605 $as_echo "no" >&6; }
14606 ac_glib2_broken=yes
14607 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14613 CPPFLAGS=$ac_save_CPPFLAGS
14616 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14617 then
14618 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14619 case "x$with_gstreamer" in
14620 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14621 xno) ;;
14622 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14623 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14624 esac
14628 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14630 ALSA_LIBS=""
14632 if test "x$with_alsa" != "xno"
14633 then
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14635 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14636 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14637 $as_echo_n "(cached) " >&6
14638 else
14639 ac_check_lib_save_LIBS=$LIBS
14640 LIBS="-lasound $LIBS"
14641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14642 /* end confdefs.h. */
14644 /* Override any GCC internal prototype to avoid an error.
14645 Use char because int might match the return type of a GCC
14646 builtin and then its argument prototype would still apply. */
14647 #ifdef __cplusplus
14648 extern "C"
14649 #endif
14650 char snd_pcm_hw_params_get_access_mask ();
14652 main ()
14654 return snd_pcm_hw_params_get_access_mask ();
14656 return 0;
14658 _ACEOF
14659 if ac_fn_c_try_link "$LINENO"; then :
14660 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14661 else
14662 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14664 rm -f core conftest.err conftest.$ac_objext \
14665 conftest$ac_exeext conftest.$ac_ext
14666 LIBS=$ac_check_lib_save_LIBS
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14669 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14670 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14673 #include <alsa/asoundlib.h>
14675 main ()
14677 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14679 return 0;
14681 _ACEOF
14682 if ac_fn_c_try_compile "$LINENO"; then :
14683 ALSA_LIBS="-lasound"
14685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14689 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14691 if test "x$with_oss" != xno
14692 then
14693 ac_save_CPPFLAGS="$CPPFLAGS"
14694 if test -f /etc/oss.conf
14695 then
14696 . /etc/oss.conf
14698 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14699 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14700 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14701 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14702 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14704 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14706 cat >>confdefs.h <<_ACEOF
14707 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14708 _ACEOF
14710 OSS4_CFLAGS="$ac_oss_incl"
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14713 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14714 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14715 $as_echo_n "(cached) " >&6
14716 else
14717 ac_check_lib_save_LIBS=$LIBS
14718 LIBS="-lossaudio $LIBS"
14719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14720 /* end confdefs.h. */
14722 /* Override any GCC internal prototype to avoid an error.
14723 Use char because int might match the return type of a GCC
14724 builtin and then its argument prototype would still apply. */
14725 #ifdef __cplusplus
14726 extern "C"
14727 #endif
14728 char _oss_ioctl ();
14730 main ()
14732 return _oss_ioctl ();
14734 return 0;
14736 _ACEOF
14737 if ac_fn_c_try_link "$LINENO"; then :
14738 ac_cv_lib_ossaudio__oss_ioctl=yes
14739 else
14740 ac_cv_lib_ossaudio__oss_ioctl=no
14742 rm -f core conftest.err conftest.$ac_objext \
14743 conftest$ac_exeext conftest.$ac_ext
14744 LIBS=$ac_check_lib_save_LIBS
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14747 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14748 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14749 OSS4_LIBS="-lossaudio"
14758 CPPFLAGS="$ac_save_CPPFLAGS"
14760 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14761 case "x$with_oss" in
14762 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14763 xno) ;;
14764 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14765 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14766 esac
14767 enable_wineoss_drv=${enable_wineoss_drv:-no}
14770 if test "x$with_udev" != "xno"
14771 then
14772 if ${UDEV_CFLAGS:+false} :; then :
14773 if ${PKG_CONFIG+:} false; then :
14774 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14778 if ${UDEV_LIBS:+false} :; then :
14779 if ${PKG_CONFIG+:} false; then :
14780 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14784 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14785 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14786 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14787 ac_save_CPPFLAGS=$CPPFLAGS
14788 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14789 for ac_header in libudev.h
14790 do :
14791 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14792 if test "x$ac_cv_header_libudev_h" = xyes; then :
14793 cat >>confdefs.h <<_ACEOF
14794 #define HAVE_LIBUDEV_H 1
14795 _ACEOF
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14797 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14798 if ${ac_cv_lib_udev_udev_new+:} false; then :
14799 $as_echo_n "(cached) " >&6
14800 else
14801 ac_check_lib_save_LIBS=$LIBS
14802 LIBS="-ludev $UDEV_LIBS $LIBS"
14803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14804 /* end confdefs.h. */
14806 /* Override any GCC internal prototype to avoid an error.
14807 Use char because int might match the return type of a GCC
14808 builtin and then its argument prototype would still apply. */
14809 #ifdef __cplusplus
14810 extern "C"
14811 #endif
14812 char udev_new ();
14814 main ()
14816 return udev_new ();
14818 return 0;
14820 _ACEOF
14821 if ac_fn_c_try_link "$LINENO"; then :
14822 ac_cv_lib_udev_udev_new=yes
14823 else
14824 ac_cv_lib_udev_udev_new=no
14826 rm -f core conftest.err conftest.$ac_objext \
14827 conftest$ac_exeext conftest.$ac_ext
14828 LIBS=$ac_check_lib_save_LIBS
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14831 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14832 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14834 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14836 else
14837 UDEV_LIBS=""
14840 else
14841 UDEV_LIBS=""
14844 done
14846 CPPFLAGS=$ac_save_CPPFLAGS
14849 if test "x$UDEV_LIBS" = "x"; then :
14850 case "x$with_udev" in
14851 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14852 xno) ;;
14853 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14854 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14855 esac
14859 if test "x$with_unwind" != xno
14860 then
14861 if ${UNWIND_CFLAGS:+false} :; then :
14862 if ${PKG_CONFIG+:} false; then :
14863 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14867 if ${UNWIND_LIBS:+false} :; then :
14868 if ${PKG_CONFIG+:} false; then :
14869 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14873 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14874 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14875 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14876 ac_save_CPPFLAGS=$CPPFLAGS
14877 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14879 $as_echo_n "checking for unw_step... " >&6; }
14880 if ${wine_cv_have_unw_step+:} false; then :
14881 $as_echo_n "(cached) " >&6
14882 else
14883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14885 #define UNW_LOCAL_ONLY
14886 #include <libunwind.h>
14888 main ()
14890 unw_cursor_t cursor; unw_step( &cursor );
14892 return 0;
14894 _ACEOF
14895 if ac_fn_c_try_link "$LINENO"; then :
14896 wine_cv_have_unw_step="yes"
14897 else
14898 wine_cv_have_unw_step="no"
14900 rm -f core conftest.err conftest.$ac_objext \
14901 conftest$ac_exeext conftest.$ac_ext
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14904 $as_echo "$wine_cv_have_unw_step" >&6; }
14905 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14906 then
14907 save_libs=$LIBS
14908 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14909 LIBS="$UNWIND_LIBS $LIBS"
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14911 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14912 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14913 $as_echo_n "(cached) " >&6
14914 else
14915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14916 /* end confdefs.h. */
14917 #define UNW_LOCAL_ONLY
14918 #include <libunwind.h>
14920 main ()
14922 unw_cursor_t cursor; unw_step( &cursor );
14924 return 0;
14926 _ACEOF
14927 if ac_fn_c_try_link "$LINENO"; then :
14928 wine_cv_have_libunwind_unw_step="yes"
14929 else
14930 wine_cv_have_libunwind_unw_step="no"
14932 rm -f core conftest.err conftest.$ac_objext \
14933 conftest$ac_exeext conftest.$ac_ext
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14936 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14937 LIBS=$save_libs
14939 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14940 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14941 then
14943 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14946 CPPFLAGS=$ac_save_CPPFLAGS
14949 case $host in
14950 aarch64*|*-darwin*)
14951 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14952 case "x$with_unwind" in
14953 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14954 xno) ;;
14955 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14956 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14957 esac
14959 fi ;;
14960 esac
14962 if test "x$with_sdl" != "xno"
14963 then
14964 if ${SDL2_CFLAGS:+false} :; then :
14965 if ${PKG_CONFIG+:} false; then :
14966 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14970 if ${SDL2_LIBS:+false} :; then :
14971 if ${PKG_CONFIG+:} false; then :
14972 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14976 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14977 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14978 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14979 ac_save_CPPFLAGS=$CPPFLAGS
14980 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14981 for ac_header in SDL.h
14982 do :
14983 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
14984 if test "x$ac_cv_header_SDL_h" = xyes; then :
14985 cat >>confdefs.h <<_ACEOF
14986 #define HAVE_SDL_H 1
14987 _ACEOF
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14989 $as_echo_n "checking for -lSDL2... " >&6; }
14990 if ${ac_cv_lib_soname_SDL2+:} false; then :
14991 $as_echo_n "(cached) " >&6
14992 else
14993 ac_check_soname_save_LIBS=$LIBS
14994 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14996 /* end confdefs.h. */
14998 /* Override any GCC internal prototype to avoid an error.
14999 Use char because int might match the return type of a GCC
15000 builtin and then its argument prototype would still apply. */
15001 #ifdef __cplusplus
15002 extern "C"
15003 #endif
15004 char SDL_Init ();
15006 main ()
15008 return SDL_Init ();
15010 return 0;
15012 _ACEOF
15013 if ac_fn_c_try_link "$LINENO"; then :
15014 case "$LIBEXT" in
15015 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15016 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'` ;;
15017 *) 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'`
15018 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15019 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15020 fi ;;
15021 esac
15022 else
15023 ac_cv_lib_soname_SDL2=
15025 rm -f core conftest.err conftest.$ac_objext \
15026 conftest$ac_exeext conftest.$ac_ext
15027 LIBS=$ac_check_soname_save_LIBS
15029 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15031 $as_echo "not found" >&6; }
15033 else
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15035 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15037 cat >>confdefs.h <<_ACEOF
15038 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15039 _ACEOF
15045 done
15047 CPPFLAGS=$ac_save_CPPFLAGS
15050 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15051 case "x$with_sdl" in
15052 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15053 xno) ;;
15054 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15055 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15056 esac
15060 if test "x$with_faudio" != "xno"
15061 then
15062 if ${FAUDIO_CFLAGS:+false} :; then :
15063 if ${PKG_CONFIG+:} false; then :
15064 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15068 if ${FAUDIO_LIBS:+false} :; then :
15069 if ${PKG_CONFIG+:} false; then :
15070 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15074 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15075 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15076 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15077 ac_save_CPPFLAGS=$CPPFLAGS
15078 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15079 for ac_header in FAudio.h
15080 do :
15081 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15082 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15083 cat >>confdefs.h <<_ACEOF
15084 #define HAVE_FAUDIO_H 1
15085 _ACEOF
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15087 $as_echo_n "checking for -lFAudio... " >&6; }
15088 if ${ac_cv_lib_soname_FAudio+:} false; then :
15089 $as_echo_n "(cached) " >&6
15090 else
15091 ac_check_soname_save_LIBS=$LIBS
15092 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15096 /* Override any GCC internal prototype to avoid an error.
15097 Use char because int might match the return type of a GCC
15098 builtin and then its argument prototype would still apply. */
15099 #ifdef __cplusplus
15100 extern "C"
15101 #endif
15102 char FAudioCreate ();
15104 main ()
15106 return FAudioCreate ();
15108 return 0;
15110 _ACEOF
15111 if ac_fn_c_try_link "$LINENO"; then :
15112 case "$LIBEXT" in
15113 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15114 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'` ;;
15115 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15116 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15117 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15118 fi ;;
15119 esac
15120 else
15121 ac_cv_lib_soname_FAudio=
15123 rm -f core conftest.err conftest.$ac_objext \
15124 conftest$ac_exeext conftest.$ac_ext
15125 LIBS=$ac_check_soname_save_LIBS
15127 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15129 $as_echo "not found" >&6; }
15131 else
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15133 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15135 cat >>confdefs.h <<_ACEOF
15136 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15137 _ACEOF
15143 done
15145 ac_wine_check_funcs_save_LIBS="$LIBS"
15146 LIBS="$LIBS $FAUDIO_LIBS"
15147 for ac_func in FAudio_CommitOperationSet \
15148 F3DAudioInitialize8 \
15149 FAudioLinkedVersion \
15150 FAudioCreateReverb9WithCustomAllocatorEXT
15151 do :
15152 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15153 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15154 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15155 cat >>confdefs.h <<_ACEOF
15156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15157 _ACEOF
15160 done
15162 LIBS="$ac_wine_check_funcs_save_LIBS"
15164 CPPFLAGS=$ac_save_CPPFLAGS
15167 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15168 case "x$with_faudio" in
15169 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15170 xno) ;;
15171 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15172 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15173 esac
15177 if test "x$with_capi" != "xno"
15178 then
15179 if ${CAPI20_CFLAGS:+false} :; then :
15180 if ${PKG_CONFIG+:} false; then :
15181 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15185 if ${CAPI20_LIBS:+false} :; then :
15186 if ${PKG_CONFIG+:} false; then :
15187 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15192 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15193 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15194 ac_save_CPPFLAGS=$CPPFLAGS
15195 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15196 for ac_header in capi20.h linux/capi.h
15197 do :
15198 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15199 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15201 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15202 cat >>confdefs.h <<_ACEOF
15203 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15204 _ACEOF
15208 done
15210 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15211 then
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15213 $as_echo_n "checking for -lcapi20... " >&6; }
15214 if ${ac_cv_lib_soname_capi20+:} false; then :
15215 $as_echo_n "(cached) " >&6
15216 else
15217 ac_check_soname_save_LIBS=$LIBS
15218 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15220 /* end confdefs.h. */
15222 /* Override any GCC internal prototype to avoid an error.
15223 Use char because int might match the return type of a GCC
15224 builtin and then its argument prototype would still apply. */
15225 #ifdef __cplusplus
15226 extern "C"
15227 #endif
15228 char capi20_register ();
15230 main ()
15232 return capi20_register ();
15234 return 0;
15236 _ACEOF
15237 if ac_fn_c_try_link "$LINENO"; then :
15238 case "$LIBEXT" in
15239 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15240 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'` ;;
15241 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15242 if ${ac_cv_lib_soname_capi20:+false} :; then :
15243 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15244 fi ;;
15245 esac
15246 else
15247 ac_cv_lib_soname_capi20=
15249 rm -f core conftest.err conftest.$ac_objext \
15250 conftest$ac_exeext conftest.$ac_ext
15251 LIBS=$ac_check_soname_save_LIBS
15253 if ${ac_cv_lib_soname_capi20:+false} :; then :
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15255 $as_echo "not found" >&6; }
15257 else
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15259 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15261 cat >>confdefs.h <<_ACEOF
15262 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15263 _ACEOF
15268 CPPFLAGS=$ac_save_CPPFLAGS
15271 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15272 case "x$with_capi" in
15273 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15274 xno) ;;
15275 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15276 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15277 esac
15281 if test "x$with_cups" != "xno"
15282 then
15283 if ${CUPS_CFLAGS:+false} :; then :
15284 if ${PKG_CONFIG+:} false; then :
15285 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15288 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15289 if ${CUPS_LIBS:+false} :; then :
15290 if ${PKG_CONFIG+:} false; then :
15291 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15294 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15295 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15296 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15297 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15298 ac_save_CPPFLAGS=$CPPFLAGS
15299 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15300 for ac_header in cups/cups.h cups/ppd.h
15301 do :
15302 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15303 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15304 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15305 cat >>confdefs.h <<_ACEOF
15306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15307 _ACEOF
15311 done
15313 if test "$ac_cv_header_cups_cups_h" = "yes"
15314 then
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15316 $as_echo_n "checking for -lcups... " >&6; }
15317 if ${ac_cv_lib_soname_cups+:} false; then :
15318 $as_echo_n "(cached) " >&6
15319 else
15320 ac_check_soname_save_LIBS=$LIBS
15321 LIBS="-lcups $CUPS_LIBS $LIBS"
15322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15325 /* Override any GCC internal prototype to avoid an error.
15326 Use char because int might match the return type of a GCC
15327 builtin and then its argument prototype would still apply. */
15328 #ifdef __cplusplus
15329 extern "C"
15330 #endif
15331 char cupsGetDefault ();
15333 main ()
15335 return cupsGetDefault ();
15337 return 0;
15339 _ACEOF
15340 if ac_fn_c_try_link "$LINENO"; then :
15341 case "$LIBEXT" in
15342 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15343 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'` ;;
15344 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15345 if ${ac_cv_lib_soname_cups:+false} :; then :
15346 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15347 fi ;;
15348 esac
15349 else
15350 ac_cv_lib_soname_cups=
15352 rm -f core conftest.err conftest.$ac_objext \
15353 conftest$ac_exeext conftest.$ac_ext
15354 LIBS=$ac_check_soname_save_LIBS
15356 if ${ac_cv_lib_soname_cups:+false} :; then :
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15358 $as_echo "not found" >&6; }
15359 CUPS_LIBS=""
15360 else
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15362 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15364 cat >>confdefs.h <<_ACEOF
15365 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15366 _ACEOF
15370 else
15371 CUPS_CFLAGS=""
15372 CUPS_LIBS=""
15374 CPPFLAGS=$ac_save_CPPFLAGS
15377 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15378 case "x$with_cups" in
15379 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15380 xno) ;;
15381 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15382 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15383 esac
15387 if test "x$with_fontconfig" != "xno"
15388 then
15389 if ${FONTCONFIG_CFLAGS:+false} :; then :
15390 if ${PKG_CONFIG+:} false; then :
15391 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15394 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15395 if ${FONTCONFIG_LIBS:+false} :; then :
15396 if ${PKG_CONFIG+:} false; then :
15397 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15400 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15402 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15403 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15404 ac_save_CPPFLAGS=$CPPFLAGS
15405 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15406 for ac_header in fontconfig/fontconfig.h
15407 do :
15408 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15409 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15410 cat >>confdefs.h <<_ACEOF
15411 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15412 _ACEOF
15416 done
15418 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15419 then
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15421 $as_echo_n "checking for -lfontconfig... " >&6; }
15422 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15423 $as_echo_n "(cached) " >&6
15424 else
15425 ac_check_soname_save_LIBS=$LIBS
15426 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15428 /* end confdefs.h. */
15430 /* Override any GCC internal prototype to avoid an error.
15431 Use char because int might match the return type of a GCC
15432 builtin and then its argument prototype would still apply. */
15433 #ifdef __cplusplus
15434 extern "C"
15435 #endif
15436 char FcInit ();
15438 main ()
15440 return FcInit ();
15442 return 0;
15444 _ACEOF
15445 if ac_fn_c_try_link "$LINENO"; then :
15446 case "$LIBEXT" in
15447 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15448 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'` ;;
15449 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15450 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15451 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15452 fi ;;
15453 esac
15454 else
15455 ac_cv_lib_soname_fontconfig=
15457 rm -f core conftest.err conftest.$ac_objext \
15458 conftest$ac_exeext conftest.$ac_ext
15459 LIBS=$ac_check_soname_save_LIBS
15461 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15463 $as_echo "not found" >&6; }
15464 FONTCONFIG_CFLAGS=""
15465 else
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15467 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15469 cat >>confdefs.h <<_ACEOF
15470 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15471 _ACEOF
15475 else
15476 FONTCONFIG_CFLAGS=""
15478 CPPFLAGS=$ac_save_CPPFLAGS
15481 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15482 case "x$with_fontconfig" in
15483 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15484 xno) ;;
15485 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15486 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15487 esac
15491 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15492 then
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15494 $as_echo_n "checking for -lgsm... " >&6; }
15495 if ${ac_cv_lib_soname_gsm+:} false; then :
15496 $as_echo_n "(cached) " >&6
15497 else
15498 ac_check_soname_save_LIBS=$LIBS
15499 LIBS="-lgsm $LIBS"
15500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15501 /* end confdefs.h. */
15503 /* Override any GCC internal prototype to avoid an error.
15504 Use char because int might match the return type of a GCC
15505 builtin and then its argument prototype would still apply. */
15506 #ifdef __cplusplus
15507 extern "C"
15508 #endif
15509 char gsm_create ();
15511 main ()
15513 return gsm_create ();
15515 return 0;
15517 _ACEOF
15518 if ac_fn_c_try_link "$LINENO"; then :
15519 case "$LIBEXT" in
15520 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15521 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'` ;;
15522 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15523 if ${ac_cv_lib_soname_gsm:+false} :; then :
15524 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15525 fi ;;
15526 esac
15527 else
15528 ac_cv_lib_soname_gsm=
15530 rm -f core conftest.err conftest.$ac_objext \
15531 conftest$ac_exeext conftest.$ac_ext
15532 LIBS=$ac_check_soname_save_LIBS
15534 if ${ac_cv_lib_soname_gsm:+false} :; then :
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15536 $as_echo "not found" >&6; }
15538 else
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15540 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15542 cat >>confdefs.h <<_ACEOF
15543 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15544 _ACEOF
15549 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15550 case "x$with_gsm" in
15551 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15552 xno) ;;
15553 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15554 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15555 esac
15559 if test "x$with_krb5" != "xno"
15560 then
15561 if ${KRB5_CFLAGS:+false} :; then :
15562 if ${PKG_CONFIG+:} false; then :
15563 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15566 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15567 if ${KRB5_LIBS:+false} :; then :
15568 if ${PKG_CONFIG+:} false; then :
15569 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15572 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15574 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15575 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15576 ac_save_CPPFLAGS=$CPPFLAGS
15577 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15578 for ac_header in krb5/krb5.h
15579 do :
15580 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15581 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15582 cat >>confdefs.h <<_ACEOF
15583 #define HAVE_KRB5_KRB5_H 1
15584 _ACEOF
15588 done
15590 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15591 then
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15593 $as_echo_n "checking for -lkrb5... " >&6; }
15594 if ${ac_cv_lib_soname_krb5+:} false; then :
15595 $as_echo_n "(cached) " >&6
15596 else
15597 ac_check_soname_save_LIBS=$LIBS
15598 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15600 /* end confdefs.h. */
15602 /* Override any GCC internal prototype to avoid an error.
15603 Use char because int might match the return type of a GCC
15604 builtin and then its argument prototype would still apply. */
15605 #ifdef __cplusplus
15606 extern "C"
15607 #endif
15608 char krb5_is_config_principal ();
15610 main ()
15612 return krb5_is_config_principal ();
15614 return 0;
15616 _ACEOF
15617 if ac_fn_c_try_link "$LINENO"; then :
15618 case "$LIBEXT" in
15619 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15620 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'` ;;
15621 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15622 if ${ac_cv_lib_soname_krb5:+false} :; then :
15623 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15624 fi ;;
15625 esac
15626 else
15627 ac_cv_lib_soname_krb5=
15629 rm -f core conftest.err conftest.$ac_objext \
15630 conftest$ac_exeext conftest.$ac_ext
15631 LIBS=$ac_check_soname_save_LIBS
15633 if ${ac_cv_lib_soname_krb5:+false} :; then :
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15635 $as_echo "not found" >&6; }
15636 KRB5_CFLAGS=""
15637 else
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15639 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15641 cat >>confdefs.h <<_ACEOF
15642 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15643 _ACEOF
15647 else
15648 KRB5_CFLAGS=""
15650 CPPFLAGS=$ac_save_CPPFLAGS
15653 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15654 case "x$with_krb5" in
15655 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15656 xno) ;;
15657 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15658 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15659 esac
15662 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15664 if test "x$with_gssapi" != "xno"
15665 then
15666 if ${GSSAPI_CFLAGS:+false} :; then :
15667 if ${PKG_CONFIG+:} false; then :
15668 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15671 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15672 if ${GSSAPI_LIBS:+false} :; then :
15673 if ${PKG_CONFIG+:} false; then :
15674 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15677 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15679 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15680 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15681 ac_save_CPPFLAGS=$CPPFLAGS
15682 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15683 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15684 do :
15685 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15686 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15687 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15688 cat >>confdefs.h <<_ACEOF
15689 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15690 _ACEOF
15694 done
15696 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15697 then
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15699 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15700 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15701 $as_echo_n "(cached) " >&6
15702 else
15703 ac_check_soname_save_LIBS=$LIBS
15704 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15706 /* end confdefs.h. */
15708 /* Override any GCC internal prototype to avoid an error.
15709 Use char because int might match the return type of a GCC
15710 builtin and then its argument prototype would still apply. */
15711 #ifdef __cplusplus
15712 extern "C"
15713 #endif
15714 char gss_init_sec_context ();
15716 main ()
15718 return gss_init_sec_context ();
15720 return 0;
15722 _ACEOF
15723 if ac_fn_c_try_link "$LINENO"; then :
15724 case "$LIBEXT" in
15725 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15726 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'` ;;
15727 *) 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'`
15728 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15729 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15730 fi ;;
15731 esac
15732 else
15733 ac_cv_lib_soname_gssapi_krb5=
15735 rm -f core conftest.err conftest.$ac_objext \
15736 conftest$ac_exeext conftest.$ac_ext
15737 LIBS=$ac_check_soname_save_LIBS
15739 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15741 $as_echo "not found" >&6; }
15742 GSSAPI_CFLAGS=""
15743 else
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15745 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15747 cat >>confdefs.h <<_ACEOF
15748 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15749 _ACEOF
15753 else
15754 GSSAPI_CFLAGS=""
15756 CPPFLAGS=$ac_save_CPPFLAGS
15759 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15760 case "x$with_gssapi" in
15761 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15762 xno) ;;
15763 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15764 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15765 esac
15769 if test "x$with_jpeg" != "xno"
15770 then
15771 if ${JPEG_CFLAGS:+false} :; then :
15772 if ${PKG_CONFIG+:} false; then :
15773 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15777 if ${JPEG_LIBS:+false} :; then :
15778 if ${PKG_CONFIG+:} false; then :
15779 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15784 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15785 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15786 ac_save_CPPFLAGS=$CPPFLAGS
15787 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15788 for ac_header in jpeglib.h
15789 do :
15790 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15791 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15792 cat >>confdefs.h <<_ACEOF
15793 #define HAVE_JPEGLIB_H 1
15794 _ACEOF
15798 done
15800 if test "$ac_cv_header_jpeglib_h" = "yes"
15801 then
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15803 $as_echo_n "checking for -ljpeg... " >&6; }
15804 if ${ac_cv_lib_soname_jpeg+:} false; then :
15805 $as_echo_n "(cached) " >&6
15806 else
15807 ac_check_soname_save_LIBS=$LIBS
15808 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15810 /* end confdefs.h. */
15812 /* Override any GCC internal prototype to avoid an error.
15813 Use char because int might match the return type of a GCC
15814 builtin and then its argument prototype would still apply. */
15815 #ifdef __cplusplus
15816 extern "C"
15817 #endif
15818 char jpeg_start_decompress ();
15820 main ()
15822 return jpeg_start_decompress ();
15824 return 0;
15826 _ACEOF
15827 if ac_fn_c_try_link "$LINENO"; then :
15828 case "$LIBEXT" in
15829 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15830 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'` ;;
15831 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15832 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15833 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15834 fi ;;
15835 esac
15836 else
15837 ac_cv_lib_soname_jpeg=
15839 rm -f core conftest.err conftest.$ac_objext \
15840 conftest$ac_exeext conftest.$ac_ext
15841 LIBS=$ac_check_soname_save_LIBS
15843 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15845 $as_echo "not found" >&6; }
15846 JPEG_CFLAGS=""
15847 else
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15849 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15851 cat >>confdefs.h <<_ACEOF
15852 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15853 _ACEOF
15857 else
15858 JPEG_CFLAGS=""
15860 CPPFLAGS=$ac_save_CPPFLAGS
15863 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15864 case "x$with_jpeg" in
15865 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15866 xno) ;;
15867 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15868 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15869 esac
15873 if test "x$with_jxrlib" != "xno"
15874 then
15875 if ${JXRLIB_CFLAGS:+false} :; then :
15876 if ${PKG_CONFIG+:} false; then :
15877 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15880 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15881 if ${JXRLIB_LIBS:+false} :; then :
15882 if ${PKG_CONFIG+:} false; then :
15883 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15888 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15889 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15890 ac_save_CPPFLAGS=$CPPFLAGS
15891 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15892 for ac_header in JXRGlue.h
15893 do :
15894 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15896 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15897 cat >>confdefs.h <<_ACEOF
15898 #define HAVE_JXRGLUE_H 1
15899 _ACEOF
15903 done
15905 if test "$ac_cv_header_JXRGlue_h" = "yes"
15906 then
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15908 $as_echo_n "checking for -ljxrglue... " >&6; }
15909 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15910 $as_echo_n "(cached) " >&6
15911 else
15912 ac_check_soname_save_LIBS=$LIBS
15913 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15915 /* end confdefs.h. */
15917 /* Override any GCC internal prototype to avoid an error.
15918 Use char because int might match the return type of a GCC
15919 builtin and then its argument prototype would still apply. */
15920 #ifdef __cplusplus
15921 extern "C"
15922 #endif
15923 char PKImageDecode_Create_WMP ();
15925 main ()
15927 return PKImageDecode_Create_WMP ();
15929 return 0;
15931 _ACEOF
15932 if ac_fn_c_try_link "$LINENO"; then :
15933 case "$LIBEXT" in
15934 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15935 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'` ;;
15936 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15937 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15938 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15939 fi ;;
15940 esac
15941 else
15942 ac_cv_lib_soname_jxrglue=
15944 rm -f core conftest.err conftest.$ac_objext \
15945 conftest$ac_exeext conftest.$ac_ext
15946 LIBS=$ac_check_soname_save_LIBS
15948 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15950 $as_echo "not found" >&6; }
15951 JXRLIB_CFLAGS=""
15952 else
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
15954 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
15956 cat >>confdefs.h <<_ACEOF
15957 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
15958 _ACEOF
15962 else
15963 JXRLIB_CFLAGS=""
15965 CPPFLAGS=$ac_save_CPPFLAGS
15968 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
15969 case "x$with_jxrlib" in
15970 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
15971 xno) ;;
15972 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
15973 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
15974 esac
15978 if test "x$with_png" != "xno"
15979 then
15980 if ${PNG_CFLAGS:+false} :; then :
15981 if ${PKG_CONFIG+:} false; then :
15982 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15985 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15986 if ${PNG_LIBS:+false} :; then :
15987 if ${PKG_CONFIG+:} false; then :
15988 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15991 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15993 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15994 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15995 ac_save_CPPFLAGS=$CPPFLAGS
15996 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15997 for ac_header in png.h
15998 do :
15999 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16000 if test "x$ac_cv_header_png_h" = xyes; then :
16001 cat >>confdefs.h <<_ACEOF
16002 #define HAVE_PNG_H 1
16003 _ACEOF
16007 done
16009 if test "$ac_cv_header_png_h" = "yes"
16010 then
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16012 $as_echo_n "checking for -lpng... " >&6; }
16013 if ${ac_cv_lib_soname_png+:} false; then :
16014 $as_echo_n "(cached) " >&6
16015 else
16016 ac_check_soname_save_LIBS=$LIBS
16017 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16019 /* end confdefs.h. */
16021 /* Override any GCC internal prototype to avoid an error.
16022 Use char because int might match the return type of a GCC
16023 builtin and then its argument prototype would still apply. */
16024 #ifdef __cplusplus
16025 extern "C"
16026 #endif
16027 char png_create_read_struct ();
16029 main ()
16031 return png_create_read_struct ();
16033 return 0;
16035 _ACEOF
16036 if ac_fn_c_try_link "$LINENO"; then :
16037 case "$LIBEXT" in
16038 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16039 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'` ;;
16040 *) 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'`
16041 if ${ac_cv_lib_soname_png:+false} :; then :
16042 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16043 fi ;;
16044 esac
16045 else
16046 ac_cv_lib_soname_png=
16048 rm -f core conftest.err conftest.$ac_objext \
16049 conftest$ac_exeext conftest.$ac_ext
16050 LIBS=$ac_check_soname_save_LIBS
16052 if ${ac_cv_lib_soname_png:+false} :; then :
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16054 $as_echo "not found" >&6; }
16055 PNG_CFLAGS=""
16056 else
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16058 $as_echo "$ac_cv_lib_soname_png" >&6; }
16060 cat >>confdefs.h <<_ACEOF
16061 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16062 _ACEOF
16066 else
16067 PNG_CFLAGS=""
16069 CPPFLAGS=$ac_save_CPPFLAGS
16072 if test "x$ac_cv_lib_soname_png" = "x"; then :
16073 case "x$with_png" in
16074 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16075 xno) ;;
16076 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16077 This is an error since --with-png was requested." "$LINENO" 5 ;;
16078 esac
16082 if test "x$with_tiff" != "xno"
16083 then
16084 if ${TIFF_CFLAGS:+false} :; then :
16085 if ${PKG_CONFIG+:} false; then :
16086 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16090 if ${TIFF_LIBS:+false} :; then :
16091 if ${PKG_CONFIG+:} false; then :
16092 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16097 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16098 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16099 ac_save_CPPFLAGS=$CPPFLAGS
16100 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16101 for ac_header in tiffio.h
16102 do :
16103 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16104 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16105 cat >>confdefs.h <<_ACEOF
16106 #define HAVE_TIFFIO_H 1
16107 _ACEOF
16111 done
16113 if test "$ac_cv_header_tiffio_h" = "yes"
16114 then
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16116 $as_echo_n "checking for -ltiff... " >&6; }
16117 if ${ac_cv_lib_soname_tiff+:} false; then :
16118 $as_echo_n "(cached) " >&6
16119 else
16120 ac_check_soname_save_LIBS=$LIBS
16121 LIBS="-ltiff $TIFF_LIBS $LIBS"
16122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16123 /* end confdefs.h. */
16125 /* Override any GCC internal prototype to avoid an error.
16126 Use char because int might match the return type of a GCC
16127 builtin and then its argument prototype would still apply. */
16128 #ifdef __cplusplus
16129 extern "C"
16130 #endif
16131 char TIFFClientOpen ();
16133 main ()
16135 return TIFFClientOpen ();
16137 return 0;
16139 _ACEOF
16140 if ac_fn_c_try_link "$LINENO"; then :
16141 case "$LIBEXT" in
16142 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16143 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'` ;;
16144 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16145 if ${ac_cv_lib_soname_tiff:+false} :; then :
16146 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16147 fi ;;
16148 esac
16149 else
16150 ac_cv_lib_soname_tiff=
16152 rm -f core conftest.err conftest.$ac_objext \
16153 conftest$ac_exeext conftest.$ac_ext
16154 LIBS=$ac_check_soname_save_LIBS
16156 if ${ac_cv_lib_soname_tiff:+false} :; then :
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16158 $as_echo "not found" >&6; }
16160 else
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16162 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16164 cat >>confdefs.h <<_ACEOF
16165 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16166 _ACEOF
16171 CPPFLAGS=$ac_save_CPPFLAGS
16174 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16175 case "x$with_tiff" in
16176 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16177 xno) ;;
16178 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16179 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16180 esac
16184 if test "x$with_mpg123" != "xno"
16185 then
16186 if ${MPG123_CFLAGS:+false} :; then :
16187 if ${PKG_CONFIG+:} false; then :
16188 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16192 if ${MPG123_LIBS:+false} :; then :
16193 if ${PKG_CONFIG+:} false; then :
16194 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16198 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16199 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16200 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16201 ac_save_CPPFLAGS=$CPPFLAGS
16202 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16203 for ac_header in mpg123.h
16204 do :
16205 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16206 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16207 cat >>confdefs.h <<_ACEOF
16208 #define HAVE_MPG123_H 1
16209 _ACEOF
16213 done
16215 if test "$ac_cv_header_mpg123_h" = "yes"
16216 then
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16218 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16219 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16220 $as_echo_n "(cached) " >&6
16221 else
16222 ac_check_lib_save_LIBS=$LIBS
16223 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h. */
16227 /* Override any GCC internal prototype to avoid an error.
16228 Use char because int might match the return type of a GCC
16229 builtin and then its argument prototype would still apply. */
16230 #ifdef __cplusplus
16231 extern "C"
16232 #endif
16233 char mpg123_feed ();
16235 main ()
16237 return mpg123_feed ();
16239 return 0;
16241 _ACEOF
16242 if ac_fn_c_try_link "$LINENO"; then :
16243 ac_cv_lib_mpg123_mpg123_feed=yes
16244 else
16245 ac_cv_lib_mpg123_mpg123_feed=no
16247 rm -f core conftest.err conftest.$ac_objext \
16248 conftest$ac_exeext conftest.$ac_ext
16249 LIBS=$ac_check_lib_save_LIBS
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16252 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16253 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16255 else
16256 MPG123_LIBS=""
16259 else
16260 MPG123_CFLAGS=""
16261 MPG123_LIBS=""
16263 CPPFLAGS=$ac_save_CPPFLAGS
16266 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16267 case "x$with_mpg123" in
16268 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16269 xno) ;;
16270 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16271 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16272 esac
16273 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16275 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16277 if test "$ac_cv_header_AL_al_h" = "yes"
16278 then
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16280 $as_echo_n "checking for -lopenal... " >&6; }
16281 if ${ac_cv_lib_soname_openal+:} false; then :
16282 $as_echo_n "(cached) " >&6
16283 else
16284 ac_check_soname_save_LIBS=$LIBS
16285 LIBS="-lopenal $LIBS"
16286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16287 /* end confdefs.h. */
16289 /* Override any GCC internal prototype to avoid an error.
16290 Use char because int might match the return type of a GCC
16291 builtin and then its argument prototype would still apply. */
16292 #ifdef __cplusplus
16293 extern "C"
16294 #endif
16295 char alGetSource3i ();
16297 main ()
16299 return alGetSource3i ();
16301 return 0;
16303 _ACEOF
16304 if ac_fn_c_try_link "$LINENO"; then :
16305 case "$LIBEXT" in
16306 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16307 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'` ;;
16308 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16309 if ${ac_cv_lib_soname_openal:+false} :; then :
16310 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16311 fi ;;
16312 esac
16313 else
16314 ac_cv_lib_soname_openal=
16316 rm -f core conftest.err conftest.$ac_objext \
16317 conftest$ac_exeext conftest.$ac_ext
16318 LIBS=$ac_check_soname_save_LIBS
16320 if ${ac_cv_lib_soname_openal:+false} :; then :
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16322 $as_echo "not found" >&6; }
16324 else
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16326 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16328 cat >>confdefs.h <<_ACEOF
16329 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16330 _ACEOF
16332 OPENAL_LIBS="-lopenal"
16334 ac_cv_lib_openal=yes
16336 cat >>confdefs.h <<_ACEOF
16337 #define HAVE_OPENAL 1
16338 _ACEOF
16342 if test "x$ac_cv_lib_openal" != xyes; then :
16343 case "x$with_openal" in
16344 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16345 xno) ;;
16346 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16347 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16348 esac
16349 enable_openal32=${enable_openal32:-no}
16352 if test "x$ac_cv_lib_soname_FAudio" = "x"
16353 then
16354 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16355 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16356 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16357 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16358 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16359 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16360 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16361 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16362 enable_xactengine2_0=${enable_xactengine2_0:-no}
16363 enable_xactengine2_4=${enable_xactengine2_4:-no}
16364 enable_xactengine2_7=${enable_xactengine2_7:-no}
16365 enable_xactengine2_9=${enable_xactengine2_9:-no}
16366 enable_xactengine3_0=${enable_xactengine3_0:-no}
16367 enable_xactengine3_1=${enable_xactengine3_1:-no}
16368 enable_xactengine3_2=${enable_xactengine3_2:-no}
16369 enable_xactengine3_3=${enable_xactengine3_3:-no}
16370 enable_xactengine3_4=${enable_xactengine3_4:-no}
16371 enable_xactengine3_5=${enable_xactengine3_5:-no}
16372 enable_xactengine3_6=${enable_xactengine3_6:-no}
16373 enable_xactengine3_7=${enable_xactengine3_7:-no}
16374 enable_xapofx1_1=${enable_xapofx1_1:-no}
16375 enable_xapofx1_2=${enable_xapofx1_2:-no}
16376 enable_xapofx1_3=${enable_xapofx1_3:-no}
16377 enable_xapofx1_4=${enable_xapofx1_4:-no}
16378 enable_xapofx1_5=${enable_xapofx1_5:-no}
16379 enable_xaudio2_0=${enable_xaudio2_0:-no}
16380 enable_xaudio2_1=${enable_xaudio2_1:-no}
16381 enable_xaudio2_2=${enable_xaudio2_2:-no}
16382 enable_xaudio2_3=${enable_xaudio2_3:-no}
16383 enable_xaudio2_4=${enable_xaudio2_4:-no}
16384 enable_xaudio2_5=${enable_xaudio2_5:-no}
16385 enable_xaudio2_6=${enable_xaudio2_6:-no}
16386 enable_xaudio2_7=${enable_xaudio2_7:-no}
16387 enable_xaudio2_8=${enable_xaudio2_8:-no}
16388 enable_xaudio2_9=${enable_xaudio2_9:-no}
16391 if test "$ac_cv_header_libprocstat_h" = "yes"
16392 then
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16394 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16395 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16396 $as_echo_n "(cached) " >&6
16397 else
16398 ac_check_lib_save_LIBS=$LIBS
16399 LIBS="-lprocstat $LIBS"
16400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16401 /* end confdefs.h. */
16403 /* Override any GCC internal prototype to avoid an error.
16404 Use char because int might match the return type of a GCC
16405 builtin and then its argument prototype would still apply. */
16406 #ifdef __cplusplus
16407 extern "C"
16408 #endif
16409 char procstat_open_sysctl ();
16411 main ()
16413 return procstat_open_sysctl ();
16415 return 0;
16417 _ACEOF
16418 if ac_fn_c_try_link "$LINENO"; then :
16419 ac_cv_lib_procstat_procstat_open_sysctl=yes
16420 else
16421 ac_cv_lib_procstat_procstat_open_sysctl=no
16423 rm -f core conftest.err conftest.$ac_objext \
16424 conftest$ac_exeext conftest.$ac_ext
16425 LIBS=$ac_check_lib_save_LIBS
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16428 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16429 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16431 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16433 PROCSTAT_LIBS="-lprocstat"
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16440 $as_echo_n "checking for -lodbc... " >&6; }
16441 if ${ac_cv_lib_soname_odbc+:} false; then :
16442 $as_echo_n "(cached) " >&6
16443 else
16444 ac_check_soname_save_LIBS=$LIBS
16445 LIBS="-lodbc $LIBS"
16446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16447 /* end confdefs.h. */
16449 /* Override any GCC internal prototype to avoid an error.
16450 Use char because int might match the return type of a GCC
16451 builtin and then its argument prototype would still apply. */
16452 #ifdef __cplusplus
16453 extern "C"
16454 #endif
16455 char SQLConnect ();
16457 main ()
16459 return SQLConnect ();
16461 return 0;
16463 _ACEOF
16464 if ac_fn_c_try_link "$LINENO"; then :
16465 case "$LIBEXT" in
16466 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16467 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'` ;;
16468 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16469 if ${ac_cv_lib_soname_odbc:+false} :; then :
16470 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16471 fi ;;
16472 esac
16473 else
16474 ac_cv_lib_soname_odbc=
16476 rm -f core conftest.err conftest.$ac_objext \
16477 conftest$ac_exeext conftest.$ac_ext
16478 LIBS=$ac_check_soname_save_LIBS
16480 if ${ac_cv_lib_soname_odbc:+false} :; then :
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16482 $as_echo "not found" >&6; }
16483 cat >>confdefs.h <<_ACEOF
16484 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16485 _ACEOF
16487 else
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16489 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16491 cat >>confdefs.h <<_ACEOF
16492 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16493 _ACEOF
16498 if test "x$with_netapi" != "xno"
16499 then
16500 if ${NETAPI_CFLAGS:+false} :; then :
16501 if ${PKG_CONFIG+:} false; then :
16502 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16506 if ${NETAPI_LIBS:+false} :; then :
16507 if ${PKG_CONFIG+:} false; then :
16508 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16513 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16514 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16515 ac_save_CPPFLAGS=$CPPFLAGS
16516 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16518 $as_echo_n "checking for -lnetapi... " >&6; }
16519 if ${ac_cv_lib_soname_netapi+:} false; then :
16520 $as_echo_n "(cached) " >&6
16521 else
16522 ac_check_soname_save_LIBS=$LIBS
16523 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16525 /* end confdefs.h. */
16527 /* Override any GCC internal prototype to avoid an error.
16528 Use char because int might match the return type of a GCC
16529 builtin and then its argument prototype would still apply. */
16530 #ifdef __cplusplus
16531 extern "C"
16532 #endif
16533 char libnetapi_init ();
16535 main ()
16537 return libnetapi_init ();
16539 return 0;
16541 _ACEOF
16542 if ac_fn_c_try_link "$LINENO"; then :
16543 case "$LIBEXT" in
16544 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16545 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'` ;;
16546 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16547 if ${ac_cv_lib_soname_netapi:+false} :; then :
16548 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16549 fi ;;
16550 esac
16551 else
16552 ac_cv_lib_soname_netapi=
16554 rm -f core conftest.err conftest.$ac_objext \
16555 conftest$ac_exeext conftest.$ac_ext
16556 LIBS=$ac_check_soname_save_LIBS
16558 if ${ac_cv_lib_soname_netapi:+false} :; then :
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16560 $as_echo "not found" >&6; }
16561 cat >>confdefs.h <<_ACEOF
16562 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16563 _ACEOF
16565 else
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16567 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16569 cat >>confdefs.h <<_ACEOF
16570 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16571 _ACEOF
16575 CPPFLAGS=$ac_save_CPPFLAGS
16579 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16580 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16581 then
16582 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16585 if test "x$with_vulkan" != "xno"
16586 then
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16588 $as_echo_n "checking for -lvulkan... " >&6; }
16589 if ${ac_cv_lib_soname_vulkan+:} false; then :
16590 $as_echo_n "(cached) " >&6
16591 else
16592 ac_check_soname_save_LIBS=$LIBS
16593 LIBS="-lvulkan $LIBS"
16594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16595 /* end confdefs.h. */
16597 /* Override any GCC internal prototype to avoid an error.
16598 Use char because int might match the return type of a GCC
16599 builtin and then its argument prototype would still apply. */
16600 #ifdef __cplusplus
16601 extern "C"
16602 #endif
16603 char vkGetInstanceProcAddr ();
16605 main ()
16607 return vkGetInstanceProcAddr ();
16609 return 0;
16611 _ACEOF
16612 if ac_fn_c_try_link "$LINENO"; then :
16613 case "$LIBEXT" in
16614 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16615 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'` ;;
16616 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16617 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16618 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16619 fi ;;
16620 esac
16621 else
16622 ac_cv_lib_soname_vulkan=
16624 rm -f core conftest.err conftest.$ac_objext \
16625 conftest$ac_exeext conftest.$ac_ext
16626 LIBS=$ac_check_soname_save_LIBS
16628 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16630 $as_echo "not found" >&6; }
16632 else
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16634 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16636 cat >>confdefs.h <<_ACEOF
16637 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16638 _ACEOF
16642 if test "x$ac_cv_lib_soname_vulkan" = "x"
16643 then
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16645 $as_echo_n "checking for -lMoltenVK... " >&6; }
16646 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16647 $as_echo_n "(cached) " >&6
16648 else
16649 ac_check_soname_save_LIBS=$LIBS
16650 LIBS="-lMoltenVK $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 vkGetInstanceProcAddr ();
16662 main ()
16664 return vkGetInstanceProcAddr ();
16666 return 0;
16668 _ACEOF
16669 if ac_fn_c_try_link "$LINENO"; then :
16670 case "$LIBEXT" in
16671 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16672 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'` ;;
16673 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16674 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16675 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16676 fi ;;
16677 esac
16678 else
16679 ac_cv_lib_soname_MoltenVK=
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_MoltenVK:+false} :; then :
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16687 $as_echo "not found" >&6; }
16689 else
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16691 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16693 cat >>confdefs.h <<_ACEOF
16694 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16695 _ACEOF
16701 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16702 case "x$with_vulkan" in
16703 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16704 xno) ;;
16705 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16706 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16707 esac
16711 if test "x$with_vkd3d" != "xno"
16712 then
16713 if ${VKD3D_CFLAGS:+false} :; then :
16714 if ${PKG_CONFIG+:} false; then :
16715 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16719 if ${VKD3D_LIBS:+false} :; then :
16720 if ${PKG_CONFIG+:} false; then :
16721 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16726 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16727 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16728 ac_save_CPPFLAGS=$CPPFLAGS
16729 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16731 $as_echo_n "checking for -lvkd3d... " >&6; }
16732 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16733 $as_echo_n "(cached) " >&6
16734 else
16735 ac_check_soname_save_LIBS=$LIBS
16736 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16738 /* end confdefs.h. */
16740 /* Override any GCC internal prototype to avoid an error.
16741 Use char because int might match the return type of a GCC
16742 builtin and then its argument prototype would still apply. */
16743 #ifdef __cplusplus
16744 extern "C"
16745 #endif
16746 char vkd3d_serialize_versioned_root_signature ();
16748 main ()
16750 return vkd3d_serialize_versioned_root_signature ();
16752 return 0;
16754 _ACEOF
16755 if ac_fn_c_try_link "$LINENO"; then :
16756 case "$LIBEXT" in
16757 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16758 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'` ;;
16759 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16760 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16761 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16762 fi ;;
16763 esac
16764 else
16765 ac_cv_lib_soname_vkd3d=
16767 rm -f core conftest.err conftest.$ac_objext \
16768 conftest$ac_exeext conftest.$ac_ext
16769 LIBS=$ac_check_soname_save_LIBS
16771 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16773 $as_echo "not found" >&6; }
16775 else
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16777 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16779 cat >>confdefs.h <<_ACEOF
16780 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16781 _ACEOF
16785 CPPFLAGS=$ac_save_CPPFLAGS
16787 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16788 if ${PKG_CONFIG+:} false; then :
16789 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16793 if ${VKD3D_SHADER_LIBS:+false} :; then :
16794 if ${PKG_CONFIG+:} false; then :
16795 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16800 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16801 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16802 ac_save_CPPFLAGS=$CPPFLAGS
16803 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16805 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16806 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16807 $as_echo_n "(cached) " >&6
16808 else
16809 ac_check_soname_save_LIBS=$LIBS
16810 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16812 /* end confdefs.h. */
16814 /* Override any GCC internal prototype to avoid an error.
16815 Use char because int might match the return type of a GCC
16816 builtin and then its argument prototype would still apply. */
16817 #ifdef __cplusplus
16818 extern "C"
16819 #endif
16820 char vkd3d_shader_compile ();
16822 main ()
16824 return vkd3d_shader_compile ();
16826 return 0;
16828 _ACEOF
16829 if ac_fn_c_try_link "$LINENO"; then :
16830 case "$LIBEXT" in
16831 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16832 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'` ;;
16833 *) 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'`
16834 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16835 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16836 fi ;;
16837 esac
16838 else
16839 ac_cv_lib_soname_vkd3d_shader=
16841 rm -f core conftest.err conftest.$ac_objext \
16842 conftest$ac_exeext conftest.$ac_ext
16843 LIBS=$ac_check_soname_save_LIBS
16845 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16847 $as_echo "not found" >&6; }
16849 else
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16851 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16853 cat >>confdefs.h <<_ACEOF
16854 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16855 _ACEOF
16859 CPPFLAGS=$ac_save_CPPFLAGS
16862 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16863 case "x$with_vkd3d" in
16864 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16865 xno) ;;
16866 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16867 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16868 esac
16871 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16874 EXTRACFLAGS=""
16876 if test "x${GCC}" = "xyes"
16877 then
16878 EXTRACFLAGS="-Wall -pipe"
16880 saved_CFLAGS=$CFLAGS
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16882 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16883 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16884 $as_echo_n "(cached) " >&6
16885 else
16886 ac_wine_try_cflags_saved=$CFLAGS
16887 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16890 int main(int argc, char **argv) { return 0; }
16891 _ACEOF
16892 if ac_fn_c_try_link "$LINENO"; then :
16893 ac_cv_cflags__Werror_unknown_warning_option=yes
16894 else
16895 ac_cv_cflags__Werror_unknown_warning_option=no
16897 rm -f core conftest.err conftest.$ac_objext \
16898 conftest$ac_exeext conftest.$ac_ext
16899 CFLAGS=$ac_wine_try_cflags_saved
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16902 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16903 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16904 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16907 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16908 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16909 $as_echo_n "(cached) " >&6
16910 else
16911 ac_wine_try_cflags_saved=$CFLAGS
16912 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16915 int main(int argc, char **argv) { return 0; }
16916 _ACEOF
16917 if ac_fn_c_try_link "$LINENO"; then :
16918 ac_cv_cflags__Werror_unused_command_line_argument=yes
16919 else
16920 ac_cv_cflags__Werror_unused_command_line_argument=no
16922 rm -f core conftest.err conftest.$ac_objext \
16923 conftest$ac_exeext conftest.$ac_ext
16924 CFLAGS=$ac_wine_try_cflags_saved
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16927 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16928 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16929 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16932 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16933 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16934 $as_echo_n "(cached) " >&6
16935 else
16936 ac_wine_try_cflags_saved=$CFLAGS
16937 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16940 int main(int argc, char **argv) { return 0; }
16941 _ACEOF
16942 if ac_fn_c_try_link "$LINENO"; then :
16943 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16944 else
16945 ac_cv_cflags__Werror_ignored_optimization_argument=no
16947 rm -f core conftest.err conftest.$ac_objext \
16948 conftest$ac_exeext conftest.$ac_ext
16949 CFLAGS=$ac_wine_try_cflags_saved
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16952 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16953 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16954 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16957 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16958 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16959 $as_echo_n "(cached) " >&6
16960 else
16961 ac_wine_try_cflags_saved=$CFLAGS
16962 CFLAGS="$CFLAGS -fcf-protection=none"
16963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16965 int main(int argc, char **argv) { return 0; }
16966 _ACEOF
16967 if ac_fn_c_try_link "$LINENO"; then :
16968 ac_cv_cflags__fcf_protection_none=yes
16969 else
16970 ac_cv_cflags__fcf_protection_none=no
16972 rm -f core conftest.err conftest.$ac_objext \
16973 conftest$ac_exeext conftest.$ac_ext
16974 CFLAGS=$ac_wine_try_cflags_saved
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16977 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16978 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16979 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16982 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16983 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16984 $as_echo_n "(cached) " >&6
16985 else
16986 ac_wine_try_cflags_saved=$CFLAGS
16987 CFLAGS="$CFLAGS -fno-stack-protector"
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 int main(int argc, char **argv) { return 0; }
16991 _ACEOF
16992 if ac_fn_c_try_link "$LINENO"; then :
16993 ac_cv_cflags__fno_stack_protector=yes
16994 else
16995 ac_cv_cflags__fno_stack_protector=no
16997 rm -f core conftest.err conftest.$ac_objext \
16998 conftest$ac_exeext conftest.$ac_ext
16999 CFLAGS=$ac_wine_try_cflags_saved
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17002 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17003 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17004 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17007 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17008 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17009 $as_echo_n "(cached) " >&6
17010 else
17011 ac_wine_try_cflags_saved=$CFLAGS
17012 CFLAGS="$CFLAGS -fno-strict-aliasing"
17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17015 int main(int argc, char **argv) { return 0; }
17016 _ACEOF
17017 if ac_fn_c_try_link "$LINENO"; then :
17018 ac_cv_cflags__fno_strict_aliasing=yes
17019 else
17020 ac_cv_cflags__fno_strict_aliasing=no
17022 rm -f core conftest.err conftest.$ac_objext \
17023 conftest$ac_exeext conftest.$ac_ext
17024 CFLAGS=$ac_wine_try_cflags_saved
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17027 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17028 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17029 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17032 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17033 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17034 $as_echo_n "(cached) " >&6
17035 else
17036 ac_wine_try_cflags_saved=$CFLAGS
17037 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17040 int main(int argc, char **argv) { return 0; }
17041 _ACEOF
17042 if ac_fn_c_try_link "$LINENO"; then :
17043 ac_cv_cflags__Wdeclaration_after_statement=yes
17044 else
17045 ac_cv_cflags__Wdeclaration_after_statement=no
17047 rm -f core conftest.err conftest.$ac_objext \
17048 conftest$ac_exeext conftest.$ac_ext
17049 CFLAGS=$ac_wine_try_cflags_saved
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17052 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17053 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17054 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17057 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17058 if ${ac_cv_cflags__Wempty_body+:} false; then :
17059 $as_echo_n "(cached) " >&6
17060 else
17061 ac_wine_try_cflags_saved=$CFLAGS
17062 CFLAGS="$CFLAGS -Wempty-body"
17063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17065 int main(int argc, char **argv) { return 0; }
17066 _ACEOF
17067 if ac_fn_c_try_link "$LINENO"; then :
17068 ac_cv_cflags__Wempty_body=yes
17069 else
17070 ac_cv_cflags__Wempty_body=no
17072 rm -f core conftest.err conftest.$ac_objext \
17073 conftest$ac_exeext conftest.$ac_ext
17074 CFLAGS=$ac_wine_try_cflags_saved
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17077 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17078 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17079 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17082 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17083 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17084 $as_echo_n "(cached) " >&6
17085 else
17086 ac_wine_try_cflags_saved=$CFLAGS
17087 CFLAGS="$CFLAGS -Wignored-qualifiers"
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h. */
17090 int main(int argc, char **argv) { return 0; }
17091 _ACEOF
17092 if ac_fn_c_try_link "$LINENO"; then :
17093 ac_cv_cflags__Wignored_qualifiers=yes
17094 else
17095 ac_cv_cflags__Wignored_qualifiers=no
17097 rm -f core conftest.err conftest.$ac_objext \
17098 conftest$ac_exeext conftest.$ac_ext
17099 CFLAGS=$ac_wine_try_cflags_saved
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17102 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17103 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17104 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17107 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17108 if ${ac_cv_cflags__Winit_self+:} false; then :
17109 $as_echo_n "(cached) " >&6
17110 else
17111 ac_wine_try_cflags_saved=$CFLAGS
17112 CFLAGS="$CFLAGS -Winit-self"
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17115 int main(int argc, char **argv) { return 0; }
17116 _ACEOF
17117 if ac_fn_c_try_link "$LINENO"; then :
17118 ac_cv_cflags__Winit_self=yes
17119 else
17120 ac_cv_cflags__Winit_self=no
17122 rm -f core conftest.err conftest.$ac_objext \
17123 conftest$ac_exeext conftest.$ac_ext
17124 CFLAGS=$ac_wine_try_cflags_saved
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17127 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17128 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17129 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17132 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17133 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17134 $as_echo_n "(cached) " >&6
17135 else
17136 ac_wine_try_cflags_saved=$CFLAGS
17137 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17140 int main(int argc, char **argv) { return 0; }
17141 _ACEOF
17142 if ac_fn_c_try_link "$LINENO"; then :
17143 ac_cv_cflags__Wpacked_not_aligned=yes
17144 else
17145 ac_cv_cflags__Wpacked_not_aligned=no
17147 rm -f core conftest.err conftest.$ac_objext \
17148 conftest$ac_exeext conftest.$ac_ext
17149 CFLAGS=$ac_wine_try_cflags_saved
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17152 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17153 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17154 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17157 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17158 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17159 $as_echo_n "(cached) " >&6
17160 else
17161 ac_wine_try_cflags_saved=$CFLAGS
17162 CFLAGS="$CFLAGS -Wpragma-pack"
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 int main(int argc, char **argv) { return 0; }
17166 _ACEOF
17167 if ac_fn_c_try_link "$LINENO"; then :
17168 ac_cv_cflags__Wpragma_pack=yes
17169 else
17170 ac_cv_cflags__Wpragma_pack=no
17172 rm -f core conftest.err conftest.$ac_objext \
17173 conftest$ac_exeext conftest.$ac_ext
17174 CFLAGS=$ac_wine_try_cflags_saved
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17177 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17178 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17179 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17182 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17183 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17184 $as_echo_n "(cached) " >&6
17185 else
17186 ac_wine_try_cflags_saved=$CFLAGS
17187 CFLAGS="$CFLAGS -Wshift-overflow=2"
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17190 int main(int argc, char **argv) { return 0; }
17191 _ACEOF
17192 if ac_fn_c_try_link "$LINENO"; then :
17193 ac_cv_cflags__Wshift_overflow_2=yes
17194 else
17195 ac_cv_cflags__Wshift_overflow_2=no
17197 rm -f core conftest.err conftest.$ac_objext \
17198 conftest$ac_exeext conftest.$ac_ext
17199 CFLAGS=$ac_wine_try_cflags_saved
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17202 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17203 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17204 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17207 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17208 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17209 $as_echo_n "(cached) " >&6
17210 else
17211 ac_wine_try_cflags_saved=$CFLAGS
17212 CFLAGS="$CFLAGS -Wstrict-prototypes"
17213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17214 /* end confdefs.h. */
17215 int main(int argc, char **argv) { return 0; }
17216 _ACEOF
17217 if ac_fn_c_try_link "$LINENO"; then :
17218 ac_cv_cflags__Wstrict_prototypes=yes
17219 else
17220 ac_cv_cflags__Wstrict_prototypes=no
17222 rm -f core conftest.err conftest.$ac_objext \
17223 conftest$ac_exeext conftest.$ac_ext
17224 CFLAGS=$ac_wine_try_cflags_saved
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17227 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17228 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17229 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17232 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17233 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17234 $as_echo_n "(cached) " >&6
17235 else
17236 ac_wine_try_cflags_saved=$CFLAGS
17237 CFLAGS="$CFLAGS -Wtype-limits"
17238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17239 /* end confdefs.h. */
17240 int main(int argc, char **argv) { return 0; }
17241 _ACEOF
17242 if ac_fn_c_try_link "$LINENO"; then :
17243 ac_cv_cflags__Wtype_limits=yes
17244 else
17245 ac_cv_cflags__Wtype_limits=no
17247 rm -f core conftest.err conftest.$ac_objext \
17248 conftest$ac_exeext conftest.$ac_ext
17249 CFLAGS=$ac_wine_try_cflags_saved
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17252 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17253 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17254 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17257 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17258 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17259 $as_echo_n "(cached) " >&6
17260 else
17261 ac_wine_try_cflags_saved=$CFLAGS
17262 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17265 int main(int argc, char **argv) { return 0; }
17266 _ACEOF
17267 if ac_fn_c_try_link "$LINENO"; then :
17268 ac_cv_cflags__Wunused_but_set_parameter=yes
17269 else
17270 ac_cv_cflags__Wunused_but_set_parameter=no
17272 rm -f core conftest.err conftest.$ac_objext \
17273 conftest$ac_exeext conftest.$ac_ext
17274 CFLAGS=$ac_wine_try_cflags_saved
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17277 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17278 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17279 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17282 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17283 if ${ac_cv_cflags__Wvla+:} false; then :
17284 $as_echo_n "(cached) " >&6
17285 else
17286 ac_wine_try_cflags_saved=$CFLAGS
17287 CFLAGS="$CFLAGS -Wvla"
17288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17289 /* end confdefs.h. */
17290 int main(int argc, char **argv) { return 0; }
17291 _ACEOF
17292 if ac_fn_c_try_link "$LINENO"; then :
17293 ac_cv_cflags__Wvla=yes
17294 else
17295 ac_cv_cflags__Wvla=no
17297 rm -f core conftest.err conftest.$ac_objext \
17298 conftest$ac_exeext conftest.$ac_ext
17299 CFLAGS=$ac_wine_try_cflags_saved
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17302 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17303 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17304 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17307 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17308 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17309 $as_echo_n "(cached) " >&6
17310 else
17311 ac_wine_try_cflags_saved=$CFLAGS
17312 CFLAGS="$CFLAGS -Wwrite-strings"
17313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17315 int main(int argc, char **argv) { return 0; }
17316 _ACEOF
17317 if ac_fn_c_try_link "$LINENO"; then :
17318 ac_cv_cflags__Wwrite_strings=yes
17319 else
17320 ac_cv_cflags__Wwrite_strings=no
17322 rm -f core conftest.err conftest.$ac_objext \
17323 conftest$ac_exeext conftest.$ac_ext
17324 CFLAGS=$ac_wine_try_cflags_saved
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17327 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17328 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17329 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17332 if test -z "$CROSSTARGET"
17333 then
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17335 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17336 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17337 $as_echo_n "(cached) " >&6
17338 else
17339 ac_wine_try_cflags_saved=$CFLAGS
17340 CFLAGS="$CFLAGS -fexcess-precision=standard"
17341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17342 /* end confdefs.h. */
17343 int main(int argc, char **argv) { return 0; }
17344 _ACEOF
17345 if ac_fn_c_try_link "$LINENO"; then :
17346 ac_cv_cflags__fexcess_precision_standard=yes
17347 else
17348 ac_cv_cflags__fexcess_precision_standard=no
17350 rm -f core conftest.err conftest.$ac_objext \
17351 conftest$ac_exeext conftest.$ac_ext
17352 CFLAGS=$ac_wine_try_cflags_saved
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17355 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17356 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17357 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17363 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17364 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17365 $as_echo_n "(cached) " >&6
17366 else
17367 ac_wine_try_cflags_saved=$CFLAGS
17368 CFLAGS="$CFLAGS -Wpointer-arith"
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17371 int main(int argc, char **argv) { return 0; }
17372 _ACEOF
17373 if ac_fn_c_try_link "$LINENO"; then :
17374 ac_cv_cflags__Wpointer_arith=yes
17375 else
17376 ac_cv_cflags__Wpointer_arith=no
17378 rm -f core conftest.err conftest.$ac_objext \
17379 conftest$ac_exeext conftest.$ac_ext
17380 CFLAGS=$ac_wine_try_cflags_saved
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17383 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17384 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17385 saved_string_h_CFLAGS=$CFLAGS
17386 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17388 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17389 if ${ac_cv_c_string_h_warnings+:} false; then :
17390 $as_echo_n "(cached) " >&6
17391 else
17392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17393 /* end confdefs.h. */
17394 #include <string.h>
17396 main ()
17400 return 0;
17402 _ACEOF
17403 if ac_fn_c_try_compile "$LINENO"; then :
17404 ac_cv_c_string_h_warnings=no
17405 else
17406 ac_cv_c_string_h_warnings=yes
17408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17411 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17412 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17413 CFLAGS=$saved_string_h_CFLAGS
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17417 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17418 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17419 $as_echo_n "(cached) " >&6
17420 else
17421 ac_wine_try_cflags_saved=$CFLAGS
17422 CFLAGS="$CFLAGS -Wlogical-op"
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17425 int main(int argc, char **argv) { return 0; }
17426 _ACEOF
17427 if ac_fn_c_try_link "$LINENO"; then :
17428 ac_cv_cflags__Wlogical_op=yes
17429 else
17430 ac_cv_cflags__Wlogical_op=no
17432 rm -f core conftest.err conftest.$ac_objext \
17433 conftest$ac_exeext conftest.$ac_ext
17434 CFLAGS=$ac_wine_try_cflags_saved
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17437 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17438 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17439 saved_string_h_CFLAGS=$CFLAGS
17440 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17442 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17443 if ${ac_cv_c_logicalop_noisy+:} false; then :
17444 $as_echo_n "(cached) " >&6
17445 else
17446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17447 /* end confdefs.h. */
17448 #include <string.h>
17449 char*f(const char *h,char n) {return strchr(h,n);}
17451 main ()
17455 return 0;
17457 _ACEOF
17458 if ac_fn_c_try_compile "$LINENO"; then :
17459 ac_cv_c_logicalop_noisy=no
17460 else
17461 ac_cv_c_logicalop_noisy=yes
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17466 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17467 CFLAGS=$saved_string_h_CFLAGS
17468 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17472 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17473 if ${wine_cv_64bit_compare_swap+:} false; then :
17474 $as_echo_n "(cached) " >&6
17475 else
17476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17478 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17479 #error no
17480 #endif
17482 main ()
17486 return 0;
17488 _ACEOF
17489 if ac_fn_c_try_compile "$LINENO"; then :
17490 wine_cv_64bit_compare_swap="none needed"
17491 else
17492 case $host_cpu in
17493 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17494 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17495 *) wine_cv_64bit_compare_swap="unknown" ;;
17496 esac
17497 if test "x$wine_cv_64bit_compare_swap" != xunknown
17498 then
17499 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17501 /* end confdefs.h. */
17502 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17503 #error no
17504 #endif
17506 main ()
17510 return 0;
17512 _ACEOF
17513 if ac_fn_c_try_compile "$LINENO"; then :
17515 else
17516 wine_cv_64bit_compare_swap="unknown"
17518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17519 CFLAGS=$saved_CFLAGS
17522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17525 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17526 case "$wine_cv_64bit_compare_swap" in
17527 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17528 "none needed") ;;
17529 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17530 esac
17532 for ac_flag in $CFLAGS; do
17533 case $ac_flag in
17534 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17535 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17536 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17539 ac_wine_try_cflags_saved=$CFLAGS
17540 CFLAGS="$CFLAGS -gdwarf-2"
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h. */
17543 int main(int argc, char **argv) { return 0; }
17544 _ACEOF
17545 if ac_fn_c_try_link "$LINENO"; then :
17546 ac_cv_cflags__gdwarf_2=yes
17547 else
17548 ac_cv_cflags__gdwarf_2=no
17550 rm -f core conftest.err conftest.$ac_objext \
17551 conftest$ac_exeext conftest.$ac_ext
17552 CFLAGS=$ac_wine_try_cflags_saved
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17555 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17556 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17557 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17560 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17561 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17562 $as_echo_n "(cached) " >&6
17563 else
17564 ac_wine_try_cflags_saved=$CFLAGS
17565 CFLAGS="$CFLAGS -gstrict-dwarf"
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h. */
17568 int main(int argc, char **argv) { return 0; }
17569 _ACEOF
17570 if ac_fn_c_try_link "$LINENO"; then :
17571 ac_cv_cflags__gstrict_dwarf=yes
17572 else
17573 ac_cv_cflags__gstrict_dwarf=no
17575 rm -f core conftest.err conftest.$ac_objext \
17576 conftest$ac_exeext conftest.$ac_ext
17577 CFLAGS=$ac_wine_try_cflags_saved
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17580 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17581 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17582 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17583 fi ;;
17584 esac
17585 done
17587 MSVCRTFLAGS=""
17589 case $host_os in
17590 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17591 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17592 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17593 $as_echo_n "(cached) " >&6
17594 else
17595 ac_wine_try_cflags_saved=$CFLAGS
17596 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h. */
17599 int main(int argc, char **argv) { return 0; }
17600 _ACEOF
17601 if ac_fn_c_try_link "$LINENO"; then :
17602 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17603 else
17604 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17606 rm -f core conftest.err conftest.$ac_objext \
17607 conftest$ac_exeext conftest.$ac_ext
17608 CFLAGS=$ac_wine_try_cflags_saved
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17611 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17612 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17613 DELAYLOADFLAG="-Wl,-delayload,"
17615 fi ;;
17616 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17617 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17618 if ${ac_cv_cflags__fno_builtin+:} false; then :
17619 $as_echo_n "(cached) " >&6
17620 else
17621 ac_wine_try_cflags_saved=$CFLAGS
17622 CFLAGS="$CFLAGS -fno-builtin"
17623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h. */
17625 int main(int argc, char **argv) { return 0; }
17626 _ACEOF
17627 if ac_fn_c_try_link "$LINENO"; then :
17628 ac_cv_cflags__fno_builtin=yes
17629 else
17630 ac_cv_cflags__fno_builtin=no
17632 rm -f core conftest.err conftest.$ac_objext \
17633 conftest$ac_exeext conftest.$ac_ext
17634 CFLAGS=$ac_wine_try_cflags_saved
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17637 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17638 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17639 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17642 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17643 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17644 $as_echo_n "(cached) " >&6
17645 else
17646 ac_wine_try_cflags_saved=$CFLAGS
17647 CFLAGS="$CFLAGS -fshort-wchar"
17648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17649 /* end confdefs.h. */
17650 int main(int argc, char **argv) { return 0; }
17651 _ACEOF
17652 if ac_fn_c_try_link "$LINENO"; then :
17653 ac_cv_cflags__fshort_wchar=yes
17654 else
17655 ac_cv_cflags__fshort_wchar=no
17657 rm -f core conftest.err conftest.$ac_objext \
17658 conftest$ac_exeext conftest.$ac_ext
17659 CFLAGS=$ac_wine_try_cflags_saved
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17662 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17663 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17664 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17665 fi ;;
17666 esac
17668 case $host_cpu in
17669 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17670 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17671 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17672 $as_echo_n "(cached) " >&6
17673 else
17674 ac_wine_try_cflags_saved=$CFLAGS
17675 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17677 /* end confdefs.h. */
17678 int main(int argc, char **argv) { return 0; }
17679 _ACEOF
17680 if ac_fn_c_try_link "$LINENO"; then :
17681 ac_cv_cflags__fno_omit_frame_pointer=yes
17682 else
17683 ac_cv_cflags__fno_omit_frame_pointer=no
17685 rm -f core conftest.err conftest.$ac_objext \
17686 conftest$ac_exeext conftest.$ac_ext
17687 CFLAGS=$ac_wine_try_cflags_saved
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17690 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17691 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17692 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17693 fi ;;
17694 *x86_64*)
17695 case $host_os in
17696 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17697 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17698 if ${ac_cv_cflags__Wno_format+:} false; then :
17699 $as_echo_n "(cached) " >&6
17700 else
17701 ac_wine_try_cflags_saved=$CFLAGS
17702 CFLAGS="$CFLAGS -Wno-format"
17703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17704 /* end confdefs.h. */
17705 int main(int argc, char **argv) { return 0; }
17706 _ACEOF
17707 if ac_fn_c_try_link "$LINENO"; then :
17708 ac_cv_cflags__Wno_format=yes
17709 else
17710 ac_cv_cflags__Wno_format=no
17712 rm -f core conftest.err conftest.$ac_objext \
17713 conftest$ac_exeext conftest.$ac_ext
17714 CFLAGS=$ac_wine_try_cflags_saved
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17717 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17718 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17719 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17720 fi ;;
17721 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17722 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17723 if ${ac_cv_cflags__mabi_ms+:} false; then :
17724 $as_echo_n "(cached) " >&6
17725 else
17726 ac_wine_try_cflags_saved=$CFLAGS
17727 CFLAGS="$CFLAGS -mabi=ms"
17728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17729 /* end confdefs.h. */
17730 int main(int argc, char **argv) { return 0; }
17731 _ACEOF
17732 if ac_fn_c_try_link "$LINENO"; then :
17733 ac_cv_cflags__mabi_ms=yes
17734 else
17735 ac_cv_cflags__mabi_ms=no
17737 rm -f core conftest.err conftest.$ac_objext \
17738 conftest$ac_exeext conftest.$ac_ext
17739 CFLAGS=$ac_wine_try_cflags_saved
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17742 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17743 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17744 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17745 fi ;;
17746 esac ;;
17747 esac
17749 CFLAGS=$saved_CFLAGS
17751 if test "x$enable_werror" = "xyes"
17752 then
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17754 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17755 if ${ac_cv_cflags__Werror+:} false; then :
17756 $as_echo_n "(cached) " >&6
17757 else
17758 ac_wine_try_cflags_saved=$CFLAGS
17759 CFLAGS="$CFLAGS -Werror"
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17762 int main(int argc, char **argv) { return 0; }
17763 _ACEOF
17764 if ac_fn_c_try_link "$LINENO"; then :
17765 ac_cv_cflags__Werror=yes
17766 else
17767 ac_cv_cflags__Werror=no
17769 rm -f core conftest.err conftest.$ac_objext \
17770 conftest$ac_exeext conftest.$ac_ext
17771 CFLAGS=$ac_wine_try_cflags_saved
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17774 $as_echo "$ac_cv_cflags__Werror" >&6; }
17775 if test "x$ac_cv_cflags__Werror" = xyes; then :
17776 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17779 if test "x$enable_build_id" = "xyes"
17780 then
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17782 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17783 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17784 $as_echo_n "(cached) " >&6
17785 else
17786 ac_wine_try_cflags_saved=$CFLAGS
17787 CFLAGS="$CFLAGS -Wl,--build-id"
17788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17789 /* end confdefs.h. */
17790 int main(int argc, char **argv) { return 0; }
17791 _ACEOF
17792 if ac_fn_c_try_link "$LINENO"; then :
17793 ac_cv_cflags__Wl___build_id=yes
17794 else
17795 ac_cv_cflags__Wl___build_id=no
17797 rm -f core conftest.err conftest.$ac_objext \
17798 conftest$ac_exeext conftest.$ac_ext
17799 CFLAGS=$ac_wine_try_cflags_saved
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17802 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17803 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17804 CFLAGS="$CFLAGS -Wl,--build-id"
17805 LDFLAGS="$LDFLAGS -Wl,--build-id"
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17812 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17813 if ${ac_cv_c_fortify_enabled+:} false; then :
17814 $as_echo_n "(cached) " >&6
17815 else
17816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17817 /* end confdefs.h. */
17818 #include <string.h>
17820 main ()
17822 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17823 #error Fortify enabled
17824 #endif
17826 return 0;
17828 _ACEOF
17829 if ac_fn_c_try_compile "$LINENO"; then :
17830 ac_cv_c_fortify_enabled=no
17831 else
17832 ac_cv_c_fortify_enabled=yes
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17837 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17838 if test "$ac_cv_c_fortify_enabled" = yes
17839 then
17840 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17845 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17846 if ${ac_cv_c_cfi_support+:} false; then :
17847 $as_echo_n "(cached) " >&6
17848 else
17849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17850 /* end confdefs.h. */
17851 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17853 main ()
17857 return 0;
17859 _ACEOF
17860 if ac_fn_c_try_compile "$LINENO"; then :
17861 ac_cv_c_cfi_support="yes"
17862 else
17863 ac_cv_c_cfi_support="no"
17865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17868 $as_echo "$ac_cv_c_cfi_support" >&6; }
17869 if test "$ac_cv_c_cfi_support" = "yes"
17870 then
17871 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17872 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17873 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
17874 else
17875 if test "x$enable_win64" = "xyes"
17876 then
17877 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17882 case $build_os in
17883 cygwin*|mingw32*) TOOLSEXT=".exe"
17885 esac
17887 case $host_os in
17888 linux*)
17889 case $host_cpu in
17890 *i[3456789]86*|x86_64*|*aarch64*|arm*)
17891 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17892 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17894 esac
17896 esac
17899 ac_save_CFLAGS="$CFLAGS"
17900 CFLAGS="$CFLAGS $BUILTINFLAG"
17901 for ac_func in \
17902 __res_get_state \
17903 __res_getservers \
17904 _spawnvp \
17905 epoll_create \
17906 fnmatch \
17907 fork \
17908 fstatfs \
17909 futimens \
17910 futimes \
17911 futimesat \
17912 getattrlist \
17913 getauxval \
17914 getifaddrs \
17915 getopt_long_only \
17916 getrandom \
17917 kqueue \
17918 lstat \
17919 mach_continuous_time \
17920 pipe2 \
17921 poll \
17922 port_create \
17923 posix_fadvise \
17924 posix_fallocate \
17925 prctl \
17926 proc_pidinfo \
17927 readlink \
17928 sched_yield \
17929 setproctitle \
17930 setprogname \
17931 sigprocmask \
17932 symlink \
17933 sysinfo \
17934 tcdrain \
17935 thr_kill2
17937 do :
17938 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17939 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17940 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17941 cat >>confdefs.h <<_ACEOF
17942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17943 _ACEOF
17946 done
17948 CFLAGS="$ac_save_CFLAGS"
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17951 $as_echo_n "checking for library containing dlopen... " >&6; }
17952 if ${ac_cv_search_dlopen+:} false; then :
17953 $as_echo_n "(cached) " >&6
17954 else
17955 ac_func_search_save_LIBS=$LIBS
17956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17957 /* end confdefs.h. */
17959 /* Override any GCC internal prototype to avoid an error.
17960 Use char because int might match the return type of a GCC
17961 builtin and then its argument prototype would still apply. */
17962 #ifdef __cplusplus
17963 extern "C"
17964 #endif
17965 char dlopen ();
17967 main ()
17969 return dlopen ();
17971 return 0;
17973 _ACEOF
17974 for ac_lib in '' dl; do
17975 if test -z "$ac_lib"; then
17976 ac_res="none required"
17977 else
17978 ac_res=-l$ac_lib
17979 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17981 if ac_fn_c_try_link "$LINENO"; then :
17982 ac_cv_search_dlopen=$ac_res
17984 rm -f core conftest.err conftest.$ac_objext \
17985 conftest$ac_exeext
17986 if ${ac_cv_search_dlopen+:} false; then :
17987 break
17989 done
17990 if ${ac_cv_search_dlopen+:} false; then :
17992 else
17993 ac_cv_search_dlopen=no
17995 rm conftest.$ac_ext
17996 LIBS=$ac_func_search_save_LIBS
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17999 $as_echo "$ac_cv_search_dlopen" >&6; }
18000 ac_res=$ac_cv_search_dlopen
18001 if test "$ac_res" != no; then :
18002 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18006 ac_wine_check_funcs_save_LIBS="$LIBS"
18007 LIBS="$LIBS $DL_LIBS"
18008 for ac_func in dladdr dlinfo
18009 do :
18010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18012 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18013 cat >>confdefs.h <<_ACEOF
18014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18015 _ACEOF
18018 done
18020 LIBS="$ac_wine_check_funcs_save_LIBS"
18022 if test "$ac_cv_func_poll" = no
18023 then
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18025 $as_echo_n "checking for poll in -lpoll... " >&6; }
18026 if ${ac_cv_lib_poll_poll+:} false; then :
18027 $as_echo_n "(cached) " >&6
18028 else
18029 ac_check_lib_save_LIBS=$LIBS
18030 LIBS="-lpoll $LIBS"
18031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18032 /* end confdefs.h. */
18034 /* Override any GCC internal prototype to avoid an error.
18035 Use char because int might match the return type of a GCC
18036 builtin and then its argument prototype would still apply. */
18037 #ifdef __cplusplus
18038 extern "C"
18039 #endif
18040 char poll ();
18042 main ()
18044 return poll ();
18046 return 0;
18048 _ACEOF
18049 if ac_fn_c_try_link "$LINENO"; then :
18050 ac_cv_lib_poll_poll=yes
18051 else
18052 ac_cv_lib_poll_poll=no
18054 rm -f core conftest.err conftest.$ac_objext \
18055 conftest$ac_exeext conftest.$ac_ext
18056 LIBS=$ac_check_lib_save_LIBS
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18059 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18060 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18061 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18062 POLL_LIBS="-lpoll"
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18069 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18070 if ${ac_cv_search_gethostbyname+:} false; then :
18071 $as_echo_n "(cached) " >&6
18072 else
18073 ac_func_search_save_LIBS=$LIBS
18074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h. */
18077 /* Override any GCC internal prototype to avoid an error.
18078 Use char because int might match the return type of a GCC
18079 builtin and then its argument prototype would still apply. */
18080 #ifdef __cplusplus
18081 extern "C"
18082 #endif
18083 char gethostbyname ();
18085 main ()
18087 return gethostbyname ();
18089 return 0;
18091 _ACEOF
18092 for ac_lib in '' nsl; do
18093 if test -z "$ac_lib"; then
18094 ac_res="none required"
18095 else
18096 ac_res=-l$ac_lib
18097 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18099 if ac_fn_c_try_link "$LINENO"; then :
18100 ac_cv_search_gethostbyname=$ac_res
18102 rm -f core conftest.err conftest.$ac_objext \
18103 conftest$ac_exeext
18104 if ${ac_cv_search_gethostbyname+:} false; then :
18105 break
18107 done
18108 if ${ac_cv_search_gethostbyname+:} false; then :
18110 else
18111 ac_cv_search_gethostbyname=no
18113 rm conftest.$ac_ext
18114 LIBS=$ac_func_search_save_LIBS
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18117 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18118 ac_res=$ac_cv_search_gethostbyname
18119 if test "$ac_res" != no; then :
18120 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18126 $as_echo_n "checking for library containing connect... " >&6; }
18127 if ${ac_cv_search_connect+:} false; then :
18128 $as_echo_n "(cached) " >&6
18129 else
18130 ac_func_search_save_LIBS=$LIBS
18131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18132 /* end confdefs.h. */
18134 /* Override any GCC internal prototype to avoid an error.
18135 Use char because int might match the return type of a GCC
18136 builtin and then its argument prototype would still apply. */
18137 #ifdef __cplusplus
18138 extern "C"
18139 #endif
18140 char connect ();
18142 main ()
18144 return connect ();
18146 return 0;
18148 _ACEOF
18149 for ac_lib in '' socket; do
18150 if test -z "$ac_lib"; then
18151 ac_res="none required"
18152 else
18153 ac_res=-l$ac_lib
18154 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18156 if ac_fn_c_try_link "$LINENO"; then :
18157 ac_cv_search_connect=$ac_res
18159 rm -f core conftest.err conftest.$ac_objext \
18160 conftest$ac_exeext
18161 if ${ac_cv_search_connect+:} false; then :
18162 break
18164 done
18165 if ${ac_cv_search_connect+:} false; then :
18167 else
18168 ac_cv_search_connect=no
18170 rm conftest.$ac_ext
18171 LIBS=$ac_func_search_save_LIBS
18173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18174 $as_echo "$ac_cv_search_connect" >&6; }
18175 ac_res=$ac_cv_search_connect
18176 if test "$ac_res" != no; then :
18177 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18183 $as_echo_n "checking for library containing inet_aton... " >&6; }
18184 if ${ac_cv_search_inet_aton+:} false; then :
18185 $as_echo_n "(cached) " >&6
18186 else
18187 ac_func_search_save_LIBS=$LIBS
18188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18189 /* end confdefs.h. */
18191 /* Override any GCC internal prototype to avoid an error.
18192 Use char because int might match the return type of a GCC
18193 builtin and then its argument prototype would still apply. */
18194 #ifdef __cplusplus
18195 extern "C"
18196 #endif
18197 char inet_aton ();
18199 main ()
18201 return inet_aton ();
18203 return 0;
18205 _ACEOF
18206 for ac_lib in '' resolv; do
18207 if test -z "$ac_lib"; then
18208 ac_res="none required"
18209 else
18210 ac_res=-l$ac_lib
18211 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18213 if ac_fn_c_try_link "$LINENO"; then :
18214 ac_cv_search_inet_aton=$ac_res
18216 rm -f core conftest.err conftest.$ac_objext \
18217 conftest$ac_exeext
18218 if ${ac_cv_search_inet_aton+:} false; then :
18219 break
18221 done
18222 if ${ac_cv_search_inet_aton+:} false; then :
18224 else
18225 ac_cv_search_inet_aton=no
18227 rm conftest.$ac_ext
18228 LIBS=$ac_func_search_save_LIBS
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18231 $as_echo "$ac_cv_search_inet_aton" >&6; }
18232 ac_res=$ac_cv_search_inet_aton
18233 if test "$ac_res" != no; then :
18234 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18239 for ac_func in getaddrinfo
18240 do :
18241 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
18242 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
18243 cat >>confdefs.h <<_ACEOF
18244 #define HAVE_GETADDRINFO 1
18245 _ACEOF
18248 done
18251 case $host_os in
18252 darwin*|macosx*) ;;
18253 *) ac_save_LIBS=$LIBS
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18255 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18256 if ${ac_cv_search_clock_gettime+:} false; then :
18257 $as_echo_n "(cached) " >&6
18258 else
18259 ac_func_search_save_LIBS=$LIBS
18260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18261 /* end confdefs.h. */
18263 /* Override any GCC internal prototype to avoid an error.
18264 Use char because int might match the return type of a GCC
18265 builtin and then its argument prototype would still apply. */
18266 #ifdef __cplusplus
18267 extern "C"
18268 #endif
18269 char clock_gettime ();
18271 main ()
18273 return clock_gettime ();
18275 return 0;
18277 _ACEOF
18278 for ac_lib in '' rt; do
18279 if test -z "$ac_lib"; then
18280 ac_res="none required"
18281 else
18282 ac_res=-l$ac_lib
18283 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18285 if ac_fn_c_try_link "$LINENO"; then :
18286 ac_cv_search_clock_gettime=$ac_res
18288 rm -f core conftest.err conftest.$ac_objext \
18289 conftest$ac_exeext
18290 if ${ac_cv_search_clock_gettime+:} false; then :
18291 break
18293 done
18294 if ${ac_cv_search_clock_gettime+:} false; then :
18296 else
18297 ac_cv_search_clock_gettime=no
18299 rm conftest.$ac_ext
18300 LIBS=$ac_func_search_save_LIBS
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18303 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18304 ac_res=$ac_cv_search_clock_gettime
18305 if test "$ac_res" != no; then :
18306 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18308 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18310 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18314 LIBS=$ac_save_LIBS
18316 esac
18318 if test "x$with_ldap" != "xno"
18319 then
18320 if ${LDAP_CFLAGS:+false} :; then :
18321 if ${PKG_CONFIG+:} false; then :
18322 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18326 if ${LDAP_LIBS:+false} :; then :
18327 if ${PKG_CONFIG+:} false; then :
18328 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18332 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18333 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18334 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18335 ac_save_CPPFLAGS=$CPPFLAGS
18336 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18337 for ac_header in ldap.h lber.h
18338 do :
18339 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18340 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18341 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18342 cat >>confdefs.h <<_ACEOF
18343 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18344 _ACEOF
18348 done
18350 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18351 then
18352 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18354 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18356 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18357 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18358 $as_echo_n "(cached) " >&6
18359 else
18360 ac_check_lib_save_LIBS=$LIBS
18361 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18363 /* end confdefs.h. */
18365 /* Override any GCC internal prototype to avoid an error.
18366 Use char because int might match the return type of a GCC
18367 builtin and then its argument prototype would still apply. */
18368 #ifdef __cplusplus
18369 extern "C"
18370 #endif
18371 char ldap_initialize ();
18373 main ()
18375 return ldap_initialize ();
18377 return 0;
18379 _ACEOF
18380 if ac_fn_c_try_link "$LINENO"; then :
18381 ac_cv_lib_ldap_r_ldap_initialize=yes
18382 else
18383 ac_cv_lib_ldap_r_ldap_initialize=no
18385 rm -f core conftest.err conftest.$ac_objext \
18386 conftest$ac_exeext conftest.$ac_ext
18387 LIBS=$ac_check_lib_save_LIBS
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18390 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18391 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18393 $as_echo_n "checking for ber_init in -llber... " >&6; }
18394 if ${ac_cv_lib_lber_ber_init+:} false; then :
18395 $as_echo_n "(cached) " >&6
18396 else
18397 ac_check_lib_save_LIBS=$LIBS
18398 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18400 /* end confdefs.h. */
18402 /* Override any GCC internal prototype to avoid an error.
18403 Use char because int might match the return type of a GCC
18404 builtin and then its argument prototype would still apply. */
18405 #ifdef __cplusplus
18406 extern "C"
18407 #endif
18408 char ber_init ();
18410 main ()
18412 return ber_init ();
18414 return 0;
18416 _ACEOF
18417 if ac_fn_c_try_link "$LINENO"; then :
18418 ac_cv_lib_lber_ber_init=yes
18419 else
18420 ac_cv_lib_lber_ber_init=no
18422 rm -f core conftest.err conftest.$ac_objext \
18423 conftest$ac_exeext conftest.$ac_ext
18424 LIBS=$ac_check_lib_save_LIBS
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18427 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18428 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18430 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18432 else
18433 LDAP_LIBS=""
18436 else
18437 LDAP_LIBS=""
18440 else
18441 LDAP_LIBS=""
18444 ac_wine_check_funcs_save_LIBS="$LIBS"
18445 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18446 for ac_func in \
18447 ldap_count_references \
18448 ldap_first_reference \
18449 ldap_next_reference \
18450 ldap_parse_reference \
18451 ldap_parse_sort_control \
18452 ldap_parse_sortresponse_control \
18453 ldap_parse_vlv_control \
18454 ldap_parse_vlvresponse_control
18455 do :
18456 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18457 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18458 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18459 cat >>confdefs.h <<_ACEOF
18460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18461 _ACEOF
18464 done
18466 LIBS="$ac_wine_check_funcs_save_LIBS"
18467 else
18468 LDAP_LIBS=""
18470 CPPFLAGS=$ac_save_CPPFLAGS
18473 if test "x$LDAP_LIBS" = "x"; then :
18474 case "x$with_ldap" in
18475 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18476 xno) ;;
18477 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18478 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18479 esac
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18484 $as_echo_n "checking for sched_setaffinity... " >&6; }
18485 if ${wine_cv_have_sched_setaffinity+:} false; then :
18486 $as_echo_n "(cached) " >&6
18487 else
18488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18489 /* end confdefs.h. */
18490 #define _GNU_SOURCE
18491 #include <sched.h>
18493 main ()
18495 sched_setaffinity(0, 0, 0);
18497 return 0;
18499 _ACEOF
18500 if ac_fn_c_try_link "$LINENO"; then :
18501 wine_cv_have_sched_setaffinity=yes
18502 else
18503 wine_cv_have_sched_setaffinity=no
18505 rm -f core conftest.err conftest.$ac_objext \
18506 conftest$ac_exeext conftest.$ac_ext
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18509 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18510 if test "$wine_cv_have_sched_setaffinity" = "yes"
18511 then
18513 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18519 $as_echo_n "checking for inline... " >&6; }
18520 if ${ac_cv_c_inline+:} false; then :
18521 $as_echo_n "(cached) " >&6
18522 else
18523 ac_cv_c_inline=no
18524 for ac_kw in inline __inline__ __inline; do
18525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18526 /* end confdefs.h. */
18527 #ifndef __cplusplus
18528 typedef int foo_t;
18529 static $ac_kw foo_t static_foo () {return 0; }
18530 $ac_kw foo_t foo () {return 0; }
18531 #endif
18533 _ACEOF
18534 if ac_fn_c_try_compile "$LINENO"; then :
18535 ac_cv_c_inline=$ac_kw
18537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18538 test "$ac_cv_c_inline" != no && break
18539 done
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18543 $as_echo "$ac_cv_c_inline" >&6; }
18545 case $ac_cv_c_inline in
18546 inline | yes) ;;
18548 case $ac_cv_c_inline in
18549 no) ac_val=;;
18550 *) ac_val=$ac_cv_c_inline;;
18551 esac
18552 cat >>confdefs.h <<_ACEOF
18553 #ifndef __cplusplus
18554 #define inline $ac_val
18555 #endif
18556 _ACEOF
18558 esac
18560 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18561 #include <signal.h>
18563 if test "x$ac_cv_type_sigset_t" = xyes; then :
18565 cat >>confdefs.h <<_ACEOF
18566 #define HAVE_SIGSET_T 1
18567 _ACEOF
18572 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18574 if test "x$ac_cv_type_request_sense" = xyes; then :
18576 cat >>confdefs.h <<_ACEOF
18577 #define HAVE_REQUEST_SENSE 1
18578 _ACEOF
18584 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18585 #ifdef HAVE_SYS_SOCKET_H
18586 #include <sys/socket.h>
18587 #endif
18588 #ifdef HAVE_SYS_SOCKETVAR_H
18589 #include <sys/socketvar.h>
18590 #endif
18591 #ifdef HAVE_NET_ROUTE_H
18592 #include <net/route.h>
18593 #endif
18594 #ifdef HAVE_NETINET_IN_H
18595 #include <netinet/in.h>
18596 #endif
18597 #ifdef HAVE_NETINET_IN_SYSTM_H
18598 #include <netinet/in_systm.h>
18599 #endif
18600 #ifdef HAVE_NETINET_IP_H
18601 #include <netinet/ip.h>
18602 #endif
18603 #ifdef HAVE_NETINET_IN_PCB_H
18604 #include <netinet/in_pcb.h>
18605 #endif
18607 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18609 cat >>confdefs.h <<_ACEOF
18610 #define HAVE_STRUCT_XINPGEN 1
18611 _ACEOF
18617 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18618 #include <linux/input.h>
18619 #endif
18621 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18623 cat >>confdefs.h <<_ACEOF
18624 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18625 _ACEOF
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18632 $as_echo_n "checking for if_nameindex... " >&6; }
18633 if ${wine_cv_have_if_nameindex+:} false; then :
18634 $as_echo_n "(cached) " >&6
18635 else
18636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18637 /* end confdefs.h. */
18638 #ifdef HAVE_SYS_TYPES_H
18639 #include <sys/types.h>
18640 #endif
18641 #ifdef HAVE_SYS_SOCKET_H
18642 #include <sys/socket.h>
18643 #endif
18644 #ifdef HAVE_NET_IF_H
18645 # include <net/if.h>
18646 #endif
18648 main ()
18650 struct if_nameindex *p = if_nameindex(); return p->if_index;
18652 return 0;
18654 _ACEOF
18655 if ac_fn_c_try_link "$LINENO"; then :
18656 wine_cv_have_if_nameindex=yes
18657 else
18658 wine_cv_have_if_nameindex=no
18660 rm -f core conftest.err conftest.$ac_objext \
18661 conftest$ac_exeext conftest.$ac_ext
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18664 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18665 if test "$wine_cv_have_if_nameindex" = "yes"
18666 then
18668 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18673 $as_echo_n "checking for sigaddset... " >&6; }
18674 if ${wine_cv_have_sigaddset+:} false; then :
18675 $as_echo_n "(cached) " >&6
18676 else
18677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18678 /* end confdefs.h. */
18679 #include <signal.h>
18681 main ()
18683 sigset_t set; sigaddset(&set,SIGTERM);
18685 return 0;
18687 _ACEOF
18688 if ac_fn_c_try_link "$LINENO"; then :
18689 wine_cv_have_sigaddset=yes
18690 else
18691 wine_cv_have_sigaddset=no
18693 rm -f core conftest.err conftest.$ac_objext \
18694 conftest$ac_exeext conftest.$ac_ext
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18697 $as_echo "$wine_cv_have_sigaddset" >&6; }
18698 if test "$wine_cv_have_sigaddset" = "yes"
18699 then
18701 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18707 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18708 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18709 $as_echo_n "(cached) " >&6
18710 else
18711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18712 /* end confdefs.h. */
18713 #include <netdb.h>
18715 main ()
18718 char *name=0;
18719 struct hostent he;
18720 struct hostent *result;
18721 char *buf=0;
18722 int bufsize=0;
18723 int errnr;
18724 char *addr=0;
18725 int addrlen=0;
18726 int addrtype=0;
18727 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18728 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18731 return 0;
18733 _ACEOF
18734 if ac_fn_c_try_link "$LINENO"; then :
18735 wine_cv_linux_gethostbyname_r_6=yes
18736 else
18737 wine_cv_linux_gethostbyname_r_6=no
18740 rm -f core conftest.err conftest.$ac_objext \
18741 conftest$ac_exeext conftest.$ac_ext
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18745 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18746 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18747 then
18749 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18753 if test "$ac_cv_header_linux_joystick_h" = "yes"
18754 then
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18756 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18757 if ${wine_cv_linux_joystick_22_api+:} false; then :
18758 $as_echo_n "(cached) " >&6
18759 else
18760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18761 /* end confdefs.h. */
18763 #include <sys/ioctl.h>
18764 #include <sys/types.h>
18765 #include <linux/joystick.h>
18767 struct js_event blub;
18768 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18769 #error "no 2.2 header"
18770 #endif
18773 main ()
18775 /*empty*/
18777 return 0;
18779 _ACEOF
18780 if ac_fn_c_try_compile "$LINENO"; then :
18781 wine_cv_linux_joystick_22_api=yes
18782 else
18783 wine_cv_linux_joystick_22_api=no
18785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18789 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18790 if test "$wine_cv_linux_joystick_22_api" = "yes"
18791 then
18793 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18798 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18799 #ifdef HAVE_SYS_SOCKET_H
18800 # include <sys/socket.h>
18801 #endif
18802 #ifdef HAVE_SYS_UN_H
18803 # include <sys/un.h>
18804 #endif
18806 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18808 cat >>confdefs.h <<_ACEOF
18809 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18810 _ACEOF
18814 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18815 #ifdef HAVE_SYS_SOCKET_H
18816 # include <sys/socket.h>
18817 #endif
18818 #ifdef HAVE_SYS_UN_H
18819 # include <sys/un.h>
18820 #endif
18822 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18824 cat >>confdefs.h <<_ACEOF
18825 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18826 _ACEOF
18830 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18831 #ifdef HAVE_SYS_SOCKET_H
18832 # include <sys/socket.h>
18833 #endif
18834 #ifdef HAVE_SYS_UN_H
18835 # include <sys/un.h>
18836 #endif
18838 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18840 cat >>confdefs.h <<_ACEOF
18841 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18842 _ACEOF
18848 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18849 #ifdef HAVE_SCSI_SG_H
18850 #include <scsi/sg.h>
18851 #endif
18853 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18855 cat >>confdefs.h <<_ACEOF
18856 #define HAVE_SCSIREQ_T_CMD 1
18857 _ACEOF
18861 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>
18862 #ifdef HAVE_SCSI_SG_H
18863 #include <scsi/sg.h>
18864 #endif
18866 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18868 cat >>confdefs.h <<_ACEOF
18869 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18870 _ACEOF
18876 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18878 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18880 cat >>confdefs.h <<_ACEOF
18881 #define HAVE_SIGINFO_T_SI_FD 1
18882 _ACEOF
18888 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18889 #ifdef HAVE_SYS_MTIO_H
18890 #include <sys/mtio.h>
18891 #endif
18893 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18897 _ACEOF
18901 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18902 #ifdef HAVE_SYS_MTIO_H
18903 #include <sys/mtio.h>
18904 #endif
18906 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18908 cat >>confdefs.h <<_ACEOF
18909 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18910 _ACEOF
18914 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18915 #ifdef HAVE_SYS_MTIO_H
18916 #include <sys/mtio.h>
18917 #endif
18919 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18921 cat >>confdefs.h <<_ACEOF
18922 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18923 _ACEOF
18929 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18930 #include <getopt.h>
18931 #endif
18933 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18935 cat >>confdefs.h <<_ACEOF
18936 #define HAVE_STRUCT_OPTION_NAME 1
18937 _ACEOF
18943 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18944 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18946 cat >>confdefs.h <<_ACEOF
18947 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18948 _ACEOF
18952 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18953 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18955 cat >>confdefs.h <<_ACEOF
18956 #define HAVE_STRUCT_STAT_ST_MTIM 1
18957 _ACEOF
18961 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18962 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18964 cat >>confdefs.h <<_ACEOF
18965 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18966 _ACEOF
18970 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18971 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18973 cat >>confdefs.h <<_ACEOF
18974 #define HAVE_STRUCT_STAT_ST_CTIM 1
18975 _ACEOF
18979 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18980 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18982 cat >>confdefs.h <<_ACEOF
18983 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18984 _ACEOF
18988 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18989 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18991 cat >>confdefs.h <<_ACEOF
18992 #define HAVE_STRUCT_STAT_ST_ATIM 1
18993 _ACEOF
18997 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18998 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19000 cat >>confdefs.h <<_ACEOF
19001 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19002 _ACEOF
19006 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19007 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19009 cat >>confdefs.h <<_ACEOF
19010 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19011 _ACEOF
19015 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19016 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19018 cat >>confdefs.h <<_ACEOF
19019 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19020 _ACEOF
19024 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19025 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19027 cat >>confdefs.h <<_ACEOF
19028 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19029 _ACEOF
19033 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19034 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19036 cat >>confdefs.h <<_ACEOF
19037 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19038 _ACEOF
19042 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19043 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19045 cat >>confdefs.h <<_ACEOF
19046 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19047 _ACEOF
19053 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
19054 #include <sys/types.h>
19055 #endif
19056 #ifdef HAVE_NETINET_IN_H
19057 #include <netinet/in.h>
19058 #endif
19060 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19062 cat >>confdefs.h <<_ACEOF
19063 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19064 _ACEOF
19070 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19071 #include <sys/types.h>
19072 #endif
19073 #ifdef HAVE_NETINET_IN_H
19074 #include <netinet/in.h>
19075 #endif
19076 #ifdef HAVE_RESOLV_H
19077 #include <resolv.h>
19078 #endif
19080 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19082 cat >>confdefs.h <<_ACEOF
19083 #define HAVE_STRUCT___RES_STATE 1
19084 _ACEOF
19090 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
19091 #include <resolv.h>
19092 #endif
19094 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19096 cat >>confdefs.h <<_ACEOF
19097 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19098 _ACEOF
19104 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19105 #include <sys/types.h>
19106 #endif
19107 #ifdef HAVE_NETINET_IN_H
19108 # include <netinet/in.h>
19109 #endif
19110 #ifdef HAVE_ARPA_NAMESER_H
19111 # include <arpa/nameser.h>
19112 #endif
19114 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19116 cat >>confdefs.h <<_ACEOF
19117 #define HAVE_NS_MSG__MSG_PTR 1
19118 _ACEOF
19124 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19125 #include <sys/types.h>
19126 #endif
19127 #ifdef HAVE_NETINET_IN_H
19128 #include <netinet/in.h>
19129 #endif
19130 #ifdef HAVE_NETINET_IP_H
19131 #include <netinet/ip.h>
19132 #endif
19133 #ifdef HAVE_NETINET_IP_ICMP_H
19134 #include <netinet/ip_icmp.h>
19135 #endif
19136 #ifdef HAVE_NETINET_ICMP_VAR_H
19137 #include <netinet/icmp_var.h>
19138 #endif
19140 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19142 cat >>confdefs.h <<_ACEOF
19143 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19144 _ACEOF
19150 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19151 #include <sys/types.h>
19152 #endif
19153 #ifdef HAVE_ALIAS_H
19154 #include <alias.h>
19155 #endif
19156 #ifdef HAVE_SYS_SOCKET_H
19157 #include <sys/socket.h>
19158 #endif
19159 #ifdef HAVE_SYS_SOCKETVAR_H
19160 #include <sys/socketvar.h>
19161 #endif
19162 #ifdef HAVE_SYS_TIMEOUT_H
19163 #include <sys/timeout.h>
19164 #endif
19165 #ifdef HAVE_NETINET_IN_H
19166 #include <netinet/in.h>
19167 #endif
19168 #ifdef HAVE_NETINET_IN_SYSTM_H
19169 #include <netinet/in_systm.h>
19170 #endif
19171 #ifdef HAVE_NETINET_IP_H
19172 #include <netinet/ip.h>
19173 #endif
19174 #ifdef HAVE_NETINET_IP_VAR_H
19175 #include <netinet/ip_var.h>
19176 #endif
19177 #ifdef HAVE_NETINET_IP_ICMP_H
19178 #include <netinet/ip_icmp.h>
19179 #endif
19180 #ifdef HAVE_NETINET_ICMP_VAR_H
19181 #include <netinet/icmp_var.h>
19182 #endif
19184 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19186 cat >>confdefs.h <<_ACEOF
19187 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19188 _ACEOF
19194 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
19195 #define _GNU_SOURCE
19196 #include <netinet/in.h>
19197 #endif
19199 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes; then :
19201 cat >>confdefs.h <<_ACEOF
19202 #define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1
19203 _ACEOF
19209 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19210 #include <sys/types.h>
19211 #endif
19212 #ifdef HAVE_SYS_SOCKETVAR_H
19213 #include <sys/socketvar.h>
19214 #endif
19215 #ifdef HAVE_NETINET_IN_H
19216 #include <netinet/in.h>
19217 #endif
19218 #ifdef HAVE_NETINET_IP_VAR_H
19219 #include <netinet/ip_var.h>
19220 #endif
19222 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19224 cat >>confdefs.h <<_ACEOF
19225 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19226 _ACEOF
19232 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
19233 #include <netinet/ip_var.h>
19234 #endif
19236 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19238 cat >>confdefs.h <<_ACEOF
19239 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19240 _ACEOF
19246 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19247 #include <sys/types.h>
19248 #endif
19249 #ifdef HAVE_SYS_SOCKETVAR_H
19250 #include <sys/socketvar.h>
19251 #endif
19252 #ifdef HAVE_NETINET_IN_H
19253 #include <netinet/in.h>
19254 #endif
19255 #ifdef HAVE_NETINET_TCP_H
19256 #include <netinet/tcp.h>
19257 #endif
19258 #ifdef HAVE_NETINET_TCP_VAR_H
19259 #include <netinet/tcp_var.h>
19260 #endif
19262 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19264 cat >>confdefs.h <<_ACEOF
19265 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19266 _ACEOF
19272 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
19273 #include <netinet/tcp_var.h>
19274 #endif
19276 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19278 cat >>confdefs.h <<_ACEOF
19279 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19280 _ACEOF
19286 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19287 #include <sys/types.h>
19288 #endif
19289 #ifdef HAVE_NETINET_IN_H
19290 #include <netinet/in.h>
19291 #endif
19292 #ifdef HAVE_NETINET_IP_VAR_H
19293 #include <netinet/ip_var.h>
19294 #endif
19295 #ifdef HAVE_NETINET_UDP_H
19296 #include <netinet/udp.h>
19297 #endif
19298 #ifdef HAVE_NETINET_UDP_VAR_H
19299 #include <netinet/udp_var.h>
19300 #endif
19302 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19304 cat >>confdefs.h <<_ACEOF
19305 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19306 _ACEOF
19312 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19313 #include <sys/types.h>
19314 #endif
19315 #ifdef HAVE_NET_IF_H
19316 # include <net/if.h>
19317 #endif
19319 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19321 cat >>confdefs.h <<_ACEOF
19322 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19323 _ACEOF
19329 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19330 # include <sys/sysinfo.h>
19331 #endif
19333 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19335 cat >>confdefs.h <<_ACEOF
19336 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19337 _ACEOF
19341 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19342 # include <sys/sysinfo.h>
19343 #endif
19345 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19347 cat >>confdefs.h <<_ACEOF
19348 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19349 _ACEOF
19355 ac_save_LIBS="$LIBS"
19356 LIBS="$LIBS -lm"
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19358 $as_echo_n "checking for isfinite... " >&6; }
19359 if ${ac_cv_have_isfinite+:} false; then :
19360 $as_echo_n "(cached) " >&6
19361 else
19362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19363 /* end confdefs.h. */
19364 #define _GNU_SOURCE
19365 #include <math.h>
19367 main ()
19369 float f = 0.0; return isfinite(f)
19371 return 0;
19373 _ACEOF
19374 if ac_fn_c_try_link "$LINENO"; then :
19375 ac_cv_have_isfinite="yes"
19376 else
19377 ac_cv_have_isfinite="no"
19379 rm -f core conftest.err conftest.$ac_objext \
19380 conftest$ac_exeext conftest.$ac_ext
19382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19383 $as_echo "$ac_cv_have_isfinite" >&6; }
19384 if test "$ac_cv_have_isfinite" = "yes"
19385 then
19387 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19392 $as_echo_n "checking for isinf... " >&6; }
19393 if ${ac_cv_have_isinf+:} false; then :
19394 $as_echo_n "(cached) " >&6
19395 else
19396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h. */
19398 #include <math.h>
19400 main ()
19402 float f = 0.0; return isinf(f)
19404 return 0;
19406 _ACEOF
19407 if ac_fn_c_try_link "$LINENO"; then :
19408 ac_cv_have_isinf="yes"
19409 else
19410 ac_cv_have_isinf="no"
19412 rm -f core conftest.err conftest.$ac_objext \
19413 conftest$ac_exeext conftest.$ac_ext
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19416 $as_echo "$ac_cv_have_isinf" >&6; }
19417 if test "$ac_cv_have_isinf" = "yes"
19418 then
19420 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19425 $as_echo_n "checking for isnan... " >&6; }
19426 if ${ac_cv_have_isnan+:} false; then :
19427 $as_echo_n "(cached) " >&6
19428 else
19429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19431 #include <math.h>
19433 main ()
19435 float f = 0.0; return isnan(f)
19437 return 0;
19439 _ACEOF
19440 if ac_fn_c_try_link "$LINENO"; then :
19441 ac_cv_have_isnan="yes"
19442 else
19443 ac_cv_have_isnan="no"
19445 rm -f core conftest.err conftest.$ac_objext \
19446 conftest$ac_exeext conftest.$ac_ext
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19449 $as_echo "$ac_cv_have_isnan" >&6; }
19450 if test "$ac_cv_have_isnan" = "yes"
19451 then
19453 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19457 LIBS="$ac_save_LIBS"
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19460 $as_echo_n "checking for __builtin_popcount... " >&6; }
19461 if ${ac_cv_have___builtin_popcount+:} false; then :
19462 $as_echo_n "(cached) " >&6
19463 else
19464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19465 /* end confdefs.h. */
19468 main ()
19470 return __builtin_popcount(1)
19472 return 0;
19474 _ACEOF
19475 if ac_fn_c_try_link "$LINENO"; then :
19476 ac_cv_have___builtin_popcount="yes"
19477 else
19478 ac_cv_have___builtin_popcount="no"
19480 rm -f core conftest.err conftest.$ac_objext \
19481 conftest$ac_exeext conftest.$ac_ext
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19484 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19485 if test "$ac_cv_have___builtin_popcount" = "yes"
19486 then
19488 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19493 $as_echo_n "checking for __clear_cache... " >&6; }
19494 if ${ac_cv_have___clear_cache+:} false; then :
19495 $as_echo_n "(cached) " >&6
19496 else
19497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19498 /* end confdefs.h. */
19501 main ()
19503 __clear_cache((void*)0, (void*)0); return 0;
19505 return 0;
19507 _ACEOF
19508 if ac_fn_c_try_link "$LINENO"; then :
19509 ac_cv_have___clear_cache="yes"
19510 else
19511 ac_cv_have___clear_cache="no"
19513 rm -f core conftest.err conftest.$ac_objext \
19514 conftest$ac_exeext conftest.$ac_ext
19516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19517 $as_echo "$ac_cv_have___clear_cache" >&6; }
19518 if test "$ac_cv_have___clear_cache" = "yes"
19519 then
19521 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19526 case $host_cpu in
19527 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19528 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19529 if ${ac_cv_cpp_def___i386__+:} false; then :
19530 $as_echo_n "(cached) " >&6
19531 else
19532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19533 /* end confdefs.h. */
19534 #ifndef __i386__
19536 #endif
19537 _ACEOF
19538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19539 $EGREP "yes" >/dev/null 2>&1; then :
19540 ac_cv_cpp_def___i386__=yes
19541 else
19542 ac_cv_cpp_def___i386__=no
19544 rm -f conftest*
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19548 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19549 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19550 CFLAGS="$CFLAGS -D__i386__"
19551 LINTFLAGS="$LINTFLAGS -D__i386__"
19552 fi ;;
19553 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19554 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19555 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19556 $as_echo_n "(cached) " >&6
19557 else
19558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19559 /* end confdefs.h. */
19560 #ifndef __x86_64__
19562 #endif
19563 _ACEOF
19564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19565 $EGREP "yes" >/dev/null 2>&1; then :
19566 ac_cv_cpp_def___x86_64__=yes
19567 else
19568 ac_cv_cpp_def___x86_64__=no
19570 rm -f conftest*
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19574 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19575 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19576 CFLAGS="$CFLAGS -D__x86_64__"
19577 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19578 fi ;;
19579 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19580 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19581 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19582 $as_echo_n "(cached) " >&6
19583 else
19584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19585 /* end confdefs.h. */
19586 #ifndef __sparc64__
19588 #endif
19589 _ACEOF
19590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19591 $EGREP "yes" >/dev/null 2>&1; then :
19592 ac_cv_cpp_def___sparc64__=yes
19593 else
19594 ac_cv_cpp_def___sparc64__=no
19596 rm -f conftest*
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19600 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19601 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19602 CFLAGS="$CFLAGS -D__sparc64__"
19603 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19604 fi ;;
19605 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19606 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19607 if ${ac_cv_cpp_def___sparc__+:} false; then :
19608 $as_echo_n "(cached) " >&6
19609 else
19610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19611 /* end confdefs.h. */
19612 #ifndef __sparc__
19614 #endif
19615 _ACEOF
19616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19617 $EGREP "yes" >/dev/null 2>&1; then :
19618 ac_cv_cpp_def___sparc__=yes
19619 else
19620 ac_cv_cpp_def___sparc__=no
19622 rm -f conftest*
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19626 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19627 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19628 CFLAGS="$CFLAGS -D__sparc__"
19629 LINTFLAGS="$LINTFLAGS -D__sparc__"
19630 fi ;;
19631 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19632 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19633 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19634 $as_echo_n "(cached) " >&6
19635 else
19636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19637 /* end confdefs.h. */
19638 #ifndef __powerpc64__
19640 #endif
19641 _ACEOF
19642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19643 $EGREP "yes" >/dev/null 2>&1; then :
19644 ac_cv_cpp_def___powerpc64__=yes
19645 else
19646 ac_cv_cpp_def___powerpc64__=no
19648 rm -f conftest*
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19652 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19653 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19654 CFLAGS="$CFLAGS -D__powerpc64__"
19655 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19656 fi ;;
19657 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19658 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19659 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19660 $as_echo_n "(cached) " >&6
19661 else
19662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19663 /* end confdefs.h. */
19664 #ifndef __powerpc__
19666 #endif
19667 _ACEOF
19668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19669 $EGREP "yes" >/dev/null 2>&1; then :
19670 ac_cv_cpp_def___powerpc__=yes
19671 else
19672 ac_cv_cpp_def___powerpc__=no
19674 rm -f conftest*
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19678 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19679 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19680 CFLAGS="$CFLAGS -D__powerpc__"
19681 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19682 fi ;;
19683 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19684 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19685 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19686 $as_echo_n "(cached) " >&6
19687 else
19688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19689 /* end confdefs.h. */
19690 #ifndef __aarch64__
19692 #endif
19693 _ACEOF
19694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19695 $EGREP "yes" >/dev/null 2>&1; then :
19696 ac_cv_cpp_def___aarch64__=yes
19697 else
19698 ac_cv_cpp_def___aarch64__=no
19700 rm -f conftest*
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19704 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19705 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19706 CFLAGS="$CFLAGS -D__aarch64__"
19707 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19708 fi ;;
19709 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19710 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19711 if ${ac_cv_cpp_def___arm__+:} false; then :
19712 $as_echo_n "(cached) " >&6
19713 else
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19716 #ifndef __arm__
19718 #endif
19719 _ACEOF
19720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19721 $EGREP "yes" >/dev/null 2>&1; then :
19722 ac_cv_cpp_def___arm__=yes
19723 else
19724 ac_cv_cpp_def___arm__=no
19726 rm -f conftest*
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19730 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19731 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19732 CFLAGS="$CFLAGS -D__arm__"
19733 LINTFLAGS="$LINTFLAGS -D__arm__"
19734 fi ;;
19735 esac
19737 case $host_vendor in
19738 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19739 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19740 if ${ac_cv_cpp_def___sun__+:} false; then :
19741 $as_echo_n "(cached) " >&6
19742 else
19743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19744 /* end confdefs.h. */
19745 #ifndef __sun__
19747 #endif
19748 _ACEOF
19749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19750 $EGREP "yes" >/dev/null 2>&1; then :
19751 ac_cv_cpp_def___sun__=yes
19752 else
19753 ac_cv_cpp_def___sun__=no
19755 rm -f conftest*
19758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19759 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19760 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19761 CFLAGS="$CFLAGS -D__sun__"
19762 LINTFLAGS="$LINTFLAGS -D__sun__"
19763 fi ;;
19764 esac
19770 ac_config_commands="$ac_config_commands include/stamp-h"
19772 $as_echo_n "creating Makefile rules..." >&6
19774 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19775 OPENGL_LIBS = $OPENGL_LIBS
19776 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19777 IOKIT_LIBS = $IOKIT_LIBS
19778 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19779 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19780 CORESERVICES_LIBS = $CORESERVICES_LIBS
19781 APPKIT_LIBS = $APPKIT_LIBS
19782 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19783 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19784 SECURITY_LIBS = $SECURITY_LIBS
19785 COREAUDIO_LIBS = $COREAUDIO_LIBS
19786 OPENAL_LIBS = $OPENAL_LIBS
19787 OPENCL_LIBS = $OPENCL_LIBS
19788 QUICKTIME_LIBS = $QUICKTIME_LIBS
19789 CARBON_LIBS = $CARBON_LIBS
19790 METAL_LIBS = $METAL_LIBS
19791 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19792 PTHREAD_LIBS = $PTHREAD_LIBS
19793 X_CFLAGS = $X_CFLAGS
19794 X_PRE_LIBS = $X_PRE_LIBS
19795 X_LIBS = $X_LIBS
19796 X_EXTRA_LIBS = $X_EXTRA_LIBS
19797 PCAP_LIBS = $PCAP_LIBS
19798 XML2_CFLAGS = $XML2_CFLAGS
19799 XML2_LIBS = $XML2_LIBS
19800 XSLT_CFLAGS = $XSLT_CFLAGS
19801 XSLT_LIBS = $XSLT_LIBS
19802 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19803 INOTIFY_LIBS = $INOTIFY_LIBS
19804 DBUS_CFLAGS = $DBUS_CFLAGS
19805 DBUS_LIBS = $DBUS_LIBS
19806 HAL_CFLAGS = $HAL_CFLAGS
19807 HAL_LIBS = $HAL_LIBS
19808 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19809 GNUTLS_LIBS = $GNUTLS_LIBS
19810 SANE_CFLAGS = $SANE_CFLAGS
19811 SANE_LIBS = $SANE_LIBS
19812 USB_CFLAGS = $USB_CFLAGS
19813 USB_LIBS = $USB_LIBS
19814 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19815 GPHOTO2_LIBS = $GPHOTO2_LIBS
19816 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19817 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19818 RESOLV_LIBS = $RESOLV_LIBS
19819 LCMS2_CFLAGS = $LCMS2_CFLAGS
19820 LCMS2_LIBS = $LCMS2_LIBS
19821 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19822 FREETYPE_LIBS = $FREETYPE_LIBS
19823 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19824 PULSE_CFLAGS = $PULSE_CFLAGS
19825 PULSE_LIBS = $PULSE_LIBS
19826 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19827 GSTREAMER_LIBS = $GSTREAMER_LIBS
19828 ALSA_LIBS = $ALSA_LIBS
19829 OSS4_CFLAGS = $OSS4_CFLAGS
19830 OSS4_LIBS = $OSS4_LIBS
19831 UDEV_CFLAGS = $UDEV_CFLAGS
19832 UDEV_LIBS = $UDEV_LIBS
19833 UNWIND_CFLAGS = $UNWIND_CFLAGS
19834 UNWIND_LIBS = $UNWIND_LIBS
19835 SDL2_CFLAGS = $SDL2_CFLAGS
19836 SDL2_LIBS = $SDL2_LIBS
19837 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19838 FAUDIO_LIBS = $FAUDIO_LIBS
19839 CAPI20_CFLAGS = $CAPI20_CFLAGS
19840 CAPI20_LIBS = $CAPI20_LIBS
19841 CUPS_CFLAGS = $CUPS_CFLAGS
19842 CUPS_LIBS = $CUPS_LIBS
19843 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19844 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19845 KRB5_CFLAGS = $KRB5_CFLAGS
19846 KRB5_LIBS = $KRB5_LIBS
19847 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19848 GSSAPI_LIBS = $GSSAPI_LIBS
19849 JPEG_CFLAGS = $JPEG_CFLAGS
19850 JPEG_LIBS = $JPEG_LIBS
19851 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
19852 JXRLIB_LIBS = $JXRLIB_LIBS
19853 PNG_CFLAGS = $PNG_CFLAGS
19854 PNG_LIBS = $PNG_LIBS
19855 TIFF_CFLAGS = $TIFF_CFLAGS
19856 TIFF_LIBS = $TIFF_LIBS
19857 MPG123_CFLAGS = $MPG123_CFLAGS
19858 MPG123_LIBS = $MPG123_LIBS
19859 PROCSTAT_LIBS = $PROCSTAT_LIBS
19860 NETAPI_CFLAGS = $NETAPI_CFLAGS
19861 NETAPI_LIBS = $NETAPI_LIBS
19862 VKD3D_CFLAGS = $VKD3D_CFLAGS
19863 VKD3D_LIBS = $VKD3D_LIBS
19864 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19865 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19866 POLL_LIBS = $POLL_LIBS
19867 RT_LIBS = $RT_LIBS
19868 LDAP_CFLAGS = $LDAP_CFLAGS
19869 LDAP_LIBS = $LDAP_LIBS
19873 makedep_flags=""
19874 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
19877 wine_fn_append_rule "
19878 # Rules automatically generated by configure
19880 .INIT: Makefile
19881 .MAKEFILEDEPS:
19882 all: Makefile
19883 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19884 @./config.status Make.tmp Makefile
19885 depend: \$(MAKEDEP)
19886 \$(MAKEDEP)$makedep_flags
19887 dummy:
19888 .PHONY: depend dummy"
19890 ac_config_links="$ac_config_links wine:tools/winewrapper"
19891 wine_fn_config_symlink wine
19892 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19893 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19894 wine_fn_config_symlink wine64
19897 wine_fn_config_makefile dlls/acledit enable_acledit
19898 wine_fn_config_makefile dlls/aclui enable_aclui
19899 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19900 wine_fn_config_makefile dlls/activeds enable_activeds
19901 wine_fn_config_makefile dlls/activeds/tests enable_tests
19902 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19903 wine_fn_config_makefile dlls/adsiid enable_adsiid
19904 wine_fn_config_makefile dlls/adsldp enable_adsldp
19905 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19906 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19907 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19908 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19909 wine_fn_config_makefile dlls/advpack enable_advpack
19910 wine_fn_config_makefile dlls/advpack/tests enable_tests
19911 wine_fn_config_makefile dlls/amsi enable_amsi
19912 wine_fn_config_makefile dlls/amstream enable_amstream
19913 wine_fn_config_makefile dlls/amstream/tests enable_tests
19914 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19915 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19916 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19917 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19918 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19919 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19920 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19921 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19922 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19923 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19924 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19925 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19926 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19927 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
19928 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19929 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
19930 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19931 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19932 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19933 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19934 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19936 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19937 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19938 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19939 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19940 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19941 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19942 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
19943 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19944 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19945 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
19946 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
19947 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19948 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19949 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19950 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19951 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19952 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19953 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19954 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19955 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19956 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19957 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19959 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19960 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19961 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19963 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19964 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19965 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19966 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19967 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
19968 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
19969 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19970 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19972 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19973 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19974 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19975 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19976 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19978 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19979 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19980 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
19981 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19984 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19985 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19989 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19990 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
19991 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
19992 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19996 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20000 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20004 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20005 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20006 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20018 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20024 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20031 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20035 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20038 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20049 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20054 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20055 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20060 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20062 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20081 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20082 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20103 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20114 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20118 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20120 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20122 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20123 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20128 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20130 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20136 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20139 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20141 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20144 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20149 wine_fn_config_makefile dlls/apphelp enable_apphelp
20150 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20151 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20152 wine_fn_config_makefile dlls/atl enable_atl
20153 wine_fn_config_makefile dlls/atl/tests enable_tests
20154 wine_fn_config_makefile dlls/atl100 enable_atl100
20155 wine_fn_config_makefile dlls/atl100/tests enable_tests
20156 wine_fn_config_makefile dlls/atl110 enable_atl110
20157 wine_fn_config_makefile dlls/atl80 enable_atl80
20158 wine_fn_config_makefile dlls/atl80/tests enable_tests
20159 wine_fn_config_makefile dlls/atl90 enable_atl90
20160 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20161 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20162 wine_fn_config_makefile dlls/atmlib enable_atmlib
20163 wine_fn_config_makefile dlls/authz enable_authz
20164 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20165 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20166 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20167 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20168 wine_fn_config_makefile dlls/avrt enable_avrt
20169 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20170 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20171 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20172 wine_fn_config_makefile dlls/browseui enable_browseui
20173 wine_fn_config_makefile dlls/browseui/tests enable_tests
20174 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20175 wine_fn_config_makefile dlls/cabinet enable_cabinet
20176 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20177 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20178 wine_fn_config_makefile dlls/cards enable_cards
20179 wine_fn_config_makefile dlls/cdosys enable_cdosys
20180 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20181 wine_fn_config_makefile dlls/clusapi enable_clusapi
20182 wine_fn_config_makefile dlls/combase enable_combase
20183 wine_fn_config_makefile dlls/combase/tests enable_tests
20184 wine_fn_config_makefile dlls/comcat enable_comcat
20185 wine_fn_config_makefile dlls/comcat/tests enable_tests
20186 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20187 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20188 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20189 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20190 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20191 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20192 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20193 wine_fn_config_makefile dlls/compstui enable_compstui
20194 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20195 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20196 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20197 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20198 wine_fn_config_makefile dlls/connect enable_connect
20199 wine_fn_config_makefile dlls/credui enable_credui
20200 wine_fn_config_makefile dlls/credui/tests enable_tests
20201 wine_fn_config_makefile dlls/crtdll enable_crtdll
20202 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20203 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20204 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20205 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20206 wine_fn_config_makefile dlls/cryptext enable_cryptext
20207 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20208 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20209 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20210 wine_fn_config_makefile dlls/cryptui enable_cryptui
20211 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20212 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20213 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20214 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20215 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20216 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20217 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20218 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20219 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20220 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20221 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20222 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20223 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20224 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20225 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20226 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20227 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20228 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20229 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20230 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20231 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20232 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20233 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20234 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20235 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20236 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20237 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20238 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20239 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20240 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20241 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20242 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20243 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20244 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20245 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20246 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
20247 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20248 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20249 wine_fn_config_makefile dlls/d3dim enable_d3dim
20250 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20251 wine_fn_config_makefile dlls/d3drm enable_d3drm
20252 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20253 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20254 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20255 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
20256 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20257 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
20258 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20259 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
20260 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20261 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
20262 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20263 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
20264 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20265 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
20266 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20267 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
20268 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20269 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
20270 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20271 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
20272 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20273 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20274 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20275 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
20276 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20277 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20278 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20279 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20280 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20281 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20282 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20283 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20284 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20285 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20286 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20287 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20288 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20289 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20290 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20291 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20292 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20293 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20294 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20295 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20296 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20297 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20298 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20299 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20300 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20301 wine_fn_config_makefile dlls/davclnt enable_davclnt
20302 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20303 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20304 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20305 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20306 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20307 wine_fn_config_makefile dlls/dcomp enable_dcomp
20308 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20309 wine_fn_config_makefile dlls/ddraw enable_ddraw
20310 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20311 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20312 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20313 wine_fn_config_makefile dlls/devenum enable_devenum
20314 wine_fn_config_makefile dlls/devenum/tests enable_tests
20315 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20316 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20317 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20318 wine_fn_config_makefile dlls/difxapi enable_difxapi
20319 wine_fn_config_makefile dlls/dinput enable_dinput
20320 wine_fn_config_makefile dlls/dinput/tests enable_tests
20321 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20322 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20323 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20324 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20325 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20326 wine_fn_config_makefile dlls/dispex enable_dispex
20327 wine_fn_config_makefile dlls/dispex/tests enable_tests
20328 wine_fn_config_makefile dlls/display.drv16 enable_win16
20329 wine_fn_config_makefile dlls/dmband enable_dmband
20330 wine_fn_config_makefile dlls/dmband/tests enable_tests
20331 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20332 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20333 wine_fn_config_makefile dlls/dmime enable_dmime
20334 wine_fn_config_makefile dlls/dmime/tests enable_tests
20335 wine_fn_config_makefile dlls/dmloader enable_dmloader
20336 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20337 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20338 wine_fn_config_makefile dlls/dmscript enable_dmscript
20339 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20340 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20341 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20342 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20343 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20344 wine_fn_config_makefile dlls/dmusic enable_dmusic
20345 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20346 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20347 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20348 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20349 wine_fn_config_makefile dlls/dplay enable_dplay
20350 wine_fn_config_makefile dlls/dplayx enable_dplayx
20351 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20352 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20353 wine_fn_config_makefile dlls/dpnet enable_dpnet
20354 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20355 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20356 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20357 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20358 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20359 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20360 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20361 wine_fn_config_makefile dlls/drmclien enable_drmclien
20362 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20363 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20364 wine_fn_config_makefile dlls/dsound enable_dsound
20365 wine_fn_config_makefile dlls/dsound/tests enable_tests
20366 wine_fn_config_makefile dlls/dsquery enable_dsquery
20367 wine_fn_config_makefile dlls/dssenh enable_dssenh
20368 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20369 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20370 wine_fn_config_makefile dlls/dswave enable_dswave
20371 wine_fn_config_makefile dlls/dswave/tests enable_tests
20372 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20373 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20374 wine_fn_config_makefile dlls/dwrite enable_dwrite
20375 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20376 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20377 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20378 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20379 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20380 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20381 wine_fn_config_makefile dlls/dxgi enable_dxgi
20382 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20383 wine_fn_config_makefile dlls/dxguid enable_dxguid
20384 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
20385 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20386 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20387 wine_fn_config_makefile dlls/esent enable_esent
20388 wine_fn_config_makefile dlls/evr enable_evr
20389 wine_fn_config_makefile dlls/evr/tests enable_tests
20390 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20391 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20392 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20393 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20394 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20395 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20396 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20397 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20398 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20399 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20400 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20401 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20402 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20403 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20404 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20405 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20406 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20407 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20408 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20409 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20410 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20411 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20412 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20413 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20414 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20415 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20416 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20417 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20418 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20419 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20420 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20421 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20422 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20423 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20424 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20425 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20426 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20427 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20428 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20429 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20430 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20431 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20432 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
20433 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20434 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20435 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20436 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20437 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20438 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20439 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20440 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20441 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20442 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20443 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20444 wine_fn_config_makefile dlls/faultrep enable_faultrep
20445 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20446 wine_fn_config_makefile dlls/feclient enable_feclient
20447 wine_fn_config_makefile dlls/fltlib enable_fltlib
20448 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20449 wine_fn_config_makefile dlls/fntcache enable_fntcache
20450 wine_fn_config_makefile dlls/fontsub enable_fontsub
20451 wine_fn_config_makefile dlls/fusion enable_fusion
20452 wine_fn_config_makefile dlls/fusion/tests enable_tests
20453 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20454 wine_fn_config_makefile dlls/gameux enable_gameux
20455 wine_fn_config_makefile dlls/gameux/tests enable_tests
20456 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20457 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20458 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20459 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20460 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20461 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20462 wine_fn_config_makefile dlls/glu32 enable_glu32
20463 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20464 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20465 wine_fn_config_makefile dlls/hal enable_hal
20466 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20467 wine_fn_config_makefile dlls/hid enable_hid
20468 wine_fn_config_makefile dlls/hid/tests enable_tests
20469 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20470 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
20471 wine_fn_config_makefile dlls/hlink enable_hlink
20472 wine_fn_config_makefile dlls/hlink/tests enable_tests
20473 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20474 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20475 wine_fn_config_makefile dlls/http.sys enable_http_sys
20476 wine_fn_config_makefile dlls/httpapi enable_httpapi
20477 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20478 wine_fn_config_makefile dlls/iccvid enable_iccvid
20479 wine_fn_config_makefile dlls/icmp enable_icmp
20480 wine_fn_config_makefile dlls/ieframe enable_ieframe
20481 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20482 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20483 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20484 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20485 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20486 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20487 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20488 wine_fn_config_makefile dlls/imm32 enable_imm32
20489 wine_fn_config_makefile dlls/imm32/tests enable_tests
20490 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20491 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20492 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20493 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20494 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20495 wine_fn_config_makefile dlls/infosoft enable_infosoft
20496 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20497 wine_fn_config_makefile dlls/initpki enable_initpki
20498 wine_fn_config_makefile dlls/inkobj enable_inkobj
20499 wine_fn_config_makefile dlls/inseng enable_inseng
20500 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20501 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20502 wine_fn_config_makefile dlls/iprop enable_iprop
20503 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20504 wine_fn_config_makefile dlls/itircl enable_itircl
20505 wine_fn_config_makefile dlls/itss enable_itss
20506 wine_fn_config_makefile dlls/itss/tests enable_tests
20507 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20508 wine_fn_config_makefile dlls/jscript enable_jscript
20509 wine_fn_config_makefile dlls/jscript/tests enable_tests
20510 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20511 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20512 wine_fn_config_makefile dlls/kerberos enable_kerberos
20513 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20514 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20515 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20516 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20517 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20518 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20519 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20520 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20521 wine_fn_config_makefile dlls/ksuser enable_ksuser
20522 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20523 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20524 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
20525 wine_fn_config_makefile dlls/loadperf enable_loadperf
20526 wine_fn_config_makefile dlls/localspl enable_localspl
20527 wine_fn_config_makefile dlls/localspl/tests enable_tests
20528 wine_fn_config_makefile dlls/localui enable_localui
20529 wine_fn_config_makefile dlls/localui/tests enable_tests
20530 wine_fn_config_makefile dlls/lz32 enable_lz32
20531 wine_fn_config_makefile dlls/lz32/tests enable_tests
20532 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20533 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20534 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20535 wine_fn_config_makefile dlls/mapistub enable_mapistub
20536 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20537 wine_fn_config_makefile dlls/mcicda enable_mcicda
20538 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20539 wine_fn_config_makefile dlls/mciseq enable_mciseq
20540 wine_fn_config_makefile dlls/mciwave enable_mciwave
20541 wine_fn_config_makefile dlls/mf enable_mf
20542 wine_fn_config_makefile dlls/mf/tests enable_tests
20543 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20544 wine_fn_config_makefile dlls/mferror enable_mferror
20545 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20546 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20547 wine_fn_config_makefile dlls/mfplat enable_mfplat
20548 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20549 wine_fn_config_makefile dlls/mfplay enable_mfplay
20550 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20551 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20552 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20553 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20554 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20555 wine_fn_config_makefile dlls/midimap enable_midimap
20556 wine_fn_config_makefile dlls/mlang enable_mlang
20557 wine_fn_config_makefile dlls/mlang/tests enable_tests
20558 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20559 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20560 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20561 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20562 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20563 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20564 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20565 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20566 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20567 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20568 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20569 wine_fn_config_makefile dlls/mpr enable_mpr
20570 wine_fn_config_makefile dlls/mpr/tests enable_tests
20571 wine_fn_config_makefile dlls/mprapi enable_mprapi
20572 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20573 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20574 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20575 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20576 wine_fn_config_makefile dlls/msado15 enable_msado15
20577 wine_fn_config_makefile dlls/msado15/tests enable_tests
20578 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20579 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20580 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20581 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20582 wine_fn_config_makefile dlls/mscms enable_mscms
20583 wine_fn_config_makefile dlls/mscms/tests enable_tests
20584 wine_fn_config_makefile dlls/mscoree enable_mscoree
20585 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20586 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20587 wine_fn_config_makefile dlls/msctf enable_msctf
20588 wine_fn_config_makefile dlls/msctf/tests enable_tests
20589 wine_fn_config_makefile dlls/msctfp enable_msctfp
20590 wine_fn_config_makefile dlls/msdaps enable_msdaps
20591 wine_fn_config_makefile dlls/msdelta enable_msdelta
20592 wine_fn_config_makefile dlls/msdmo enable_msdmo
20593 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20594 wine_fn_config_makefile dlls/msdrm enable_msdrm
20595 wine_fn_config_makefile dlls/msftedit enable_msftedit
20596 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20597 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20598 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20599 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20600 wine_fn_config_makefile dlls/mshtml enable_mshtml
20601 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20602 wine_fn_config_makefile dlls/msi enable_msi
20603 wine_fn_config_makefile dlls/msi/tests enable_tests
20604 wine_fn_config_makefile dlls/msident enable_msident
20605 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20606 wine_fn_config_makefile dlls/msimsg enable_msimsg
20607 wine_fn_config_makefile dlls/msimtf enable_msimtf
20608 wine_fn_config_makefile dlls/msisip enable_msisip
20609 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20610 wine_fn_config_makefile dlls/msls31 enable_msls31
20611 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20612 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20613 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20614 wine_fn_config_makefile dlls/msports enable_msports
20615 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20616 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20617 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20618 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20619 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20620 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20621 wine_fn_config_makefile dlls/mstask enable_mstask
20622 wine_fn_config_makefile dlls/mstask/tests enable_tests
20623 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20624 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20625 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20626 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20627 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20628 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20629 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20630 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20631 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20632 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20633 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20634 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20635 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20636 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20637 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20638 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20639 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20640 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20641 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20642 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20643 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20644 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20645 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20646 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20647 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20648 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20649 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20650 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20651 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20652 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20653 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20654 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20655 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20656 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20657 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20658 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20659 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20660 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20661 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20662 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20663 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20664 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20665 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20666 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20667 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20668 wine_fn_config_makefile dlls/mswsock enable_mswsock
20669 wine_fn_config_makefile dlls/msxml enable_msxml
20670 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20671 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20672 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20673 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20674 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20675 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20676 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20677 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20678 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20679 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20680 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20681 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20682 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20683 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20684 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20685 wine_fn_config_makefile dlls/netprofm enable_netprofm
20686 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20687 wine_fn_config_makefile dlls/netutils enable_netutils
20688 wine_fn_config_makefile dlls/newdev enable_newdev
20689 wine_fn_config_makefile dlls/ninput enable_ninput
20690 wine_fn_config_makefile dlls/ninput/tests enable_tests
20691 wine_fn_config_makefile dlls/normaliz enable_normaliz
20692 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20693 wine_fn_config_makefile dlls/npptools enable_npptools
20694 wine_fn_config_makefile dlls/nsi enable_nsi
20695 wine_fn_config_makefile dlls/nsi/tests enable_tests
20696 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
20697 wine_fn_config_makefile dlls/ntdll enable_ntdll
20698 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20699 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20700 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20701 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20702 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20703 wine_fn_config_makefile dlls/ntprint enable_ntprint
20704 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20705 wine_fn_config_makefile dlls/objsel enable_objsel
20706 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20707 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20708 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20709 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20710 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20711 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20712 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20713 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20714 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20715 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20716 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20717 wine_fn_config_makefile dlls/ole32 enable_ole32
20718 wine_fn_config_makefile dlls/ole32/tests enable_tests
20719 wine_fn_config_makefile dlls/oleacc enable_oleacc
20720 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20721 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20722 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20723 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20724 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20725 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20726 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20727 wine_fn_config_makefile dlls/oledlg enable_oledlg
20728 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20729 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20730 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20731 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20732 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20733 wine_fn_config_makefile dlls/opcservices enable_opcservices
20734 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20735 wine_fn_config_makefile dlls/openal32 enable_openal32
20736 wine_fn_config_makefile dlls/opencl enable_opencl
20737 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20738 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20739 wine_fn_config_makefile dlls/packager enable_packager
20740 wine_fn_config_makefile dlls/packager/tests enable_tests
20741 wine_fn_config_makefile dlls/pdh enable_pdh
20742 wine_fn_config_makefile dlls/pdh/tests enable_tests
20743 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20744 wine_fn_config_makefile dlls/pidgen enable_pidgen
20745 wine_fn_config_makefile dlls/powrprof enable_powrprof
20746 wine_fn_config_makefile dlls/printui enable_printui
20747 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20748 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20749 wine_fn_config_makefile dlls/propsys enable_propsys
20750 wine_fn_config_makefile dlls/propsys/tests enable_tests
20751 wine_fn_config_makefile dlls/psapi enable_psapi
20752 wine_fn_config_makefile dlls/psapi/tests enable_tests
20753 wine_fn_config_makefile dlls/pstorec enable_pstorec
20754 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20755 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20756 wine_fn_config_makefile dlls/qasf enable_qasf
20757 wine_fn_config_makefile dlls/qasf/tests enable_tests
20758 wine_fn_config_makefile dlls/qcap enable_qcap
20759 wine_fn_config_makefile dlls/qcap/tests enable_tests
20760 wine_fn_config_makefile dlls/qdvd enable_qdvd
20761 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20762 wine_fn_config_makefile dlls/qedit enable_qedit
20763 wine_fn_config_makefile dlls/qedit/tests enable_tests
20764 wine_fn_config_makefile dlls/qmgr enable_qmgr
20765 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20766 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20767 wine_fn_config_makefile dlls/quartz enable_quartz
20768 wine_fn_config_makefile dlls/quartz/tests enable_tests
20769 wine_fn_config_makefile dlls/query enable_query
20770 wine_fn_config_makefile dlls/qwave enable_qwave
20771 wine_fn_config_makefile dlls/qwave/tests enable_tests
20772 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20773 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20774 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20775 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20776 wine_fn_config_makefile dlls/regapi enable_regapi
20777 wine_fn_config_makefile dlls/resutils enable_resutils
20778 wine_fn_config_makefile dlls/riched20 enable_riched20
20779 wine_fn_config_makefile dlls/riched20/tests enable_tests
20780 wine_fn_config_makefile dlls/riched32 enable_riched32
20781 wine_fn_config_makefile dlls/riched32/tests enable_tests
20782 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20783 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20784 wine_fn_config_makefile dlls/rsabase enable_rsabase
20785 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20786 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20787 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20788 wine_fn_config_makefile dlls/rtutils enable_rtutils
20789 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20790 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20791 wine_fn_config_makefile dlls/samlib enable_samlib
20792 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20793 wine_fn_config_makefile dlls/sapi enable_sapi
20794 wine_fn_config_makefile dlls/sapi/tests enable_tests
20795 wine_fn_config_makefile dlls/sas enable_sas
20796 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20797 wine_fn_config_makefile dlls/sccbase enable_sccbase
20798 wine_fn_config_makefile dlls/schannel enable_schannel
20799 wine_fn_config_makefile dlls/schannel/tests enable_tests
20800 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20801 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20802 wine_fn_config_makefile dlls/scrobj enable_scrobj
20803 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20804 wine_fn_config_makefile dlls/scrrun enable_scrrun
20805 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20806 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20807 wine_fn_config_makefile dlls/sechost enable_sechost
20808 wine_fn_config_makefile dlls/secur32 enable_secur32
20809 wine_fn_config_makefile dlls/secur32/tests enable_tests
20810 wine_fn_config_makefile dlls/security enable_security
20811 wine_fn_config_makefile dlls/sensapi enable_sensapi
20812 wine_fn_config_makefile dlls/serialui enable_serialui
20813 wine_fn_config_makefile dlls/serialui/tests enable_tests
20814 wine_fn_config_makefile dlls/setupapi enable_setupapi
20815 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20816 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20817 wine_fn_config_makefile dlls/sfc enable_sfc
20818 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20819 wine_fn_config_makefile dlls/shcore enable_shcore
20820 wine_fn_config_makefile dlls/shcore/tests enable_tests
20821 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20822 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20823 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20824 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20825 wine_fn_config_makefile dlls/shell32 enable_shell32
20826 wine_fn_config_makefile dlls/shell32/tests enable_tests
20827 wine_fn_config_makefile dlls/shfolder enable_shfolder
20828 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20829 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20830 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20831 wine_fn_config_makefile dlls/slc enable_slc
20832 wine_fn_config_makefile dlls/slc/tests enable_tests
20833 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20834 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20835 wine_fn_config_makefile dlls/softpub enable_softpub
20836 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20837 wine_fn_config_makefile dlls/spoolss enable_spoolss
20838 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20839 wine_fn_config_makefile dlls/sppc enable_sppc
20840 wine_fn_config_makefile dlls/srclient enable_srclient
20841 wine_fn_config_makefile dlls/srvcli enable_srvcli
20842 wine_fn_config_makefile dlls/sspicli enable_sspicli
20843 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20844 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20845 wine_fn_config_makefile dlls/sti enable_sti
20846 wine_fn_config_makefile dlls/sti/tests enable_tests
20847 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20848 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20849 wine_fn_config_makefile dlls/strmbase enable_strmbase
20850 wine_fn_config_makefile dlls/strmdll enable_strmdll
20851 wine_fn_config_makefile dlls/strmiids enable_strmiids
20852 wine_fn_config_makefile dlls/svrapi enable_svrapi
20853 wine_fn_config_makefile dlls/sxs enable_sxs
20854 wine_fn_config_makefile dlls/sxs/tests enable_tests
20855 wine_fn_config_makefile dlls/system.drv16 enable_win16
20856 wine_fn_config_makefile dlls/t2embed enable_t2embed
20857 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20858 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20859 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20860 wine_fn_config_makefile dlls/taskschd enable_taskschd
20861 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20862 wine_fn_config_makefile dlls/tbs enable_tbs
20863 wine_fn_config_makefile dlls/tdh enable_tdh
20864 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20865 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20866 wine_fn_config_makefile dlls/traffic enable_traffic
20867 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20868 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20869 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20870 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20871 wine_fn_config_makefile dlls/tzres enable_tzres
20872 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20873 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20874 wine_fn_config_makefile dlls/uianimation enable_uianimation
20875 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20876 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20877 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20878 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20879 wine_fn_config_makefile dlls/unicows enable_unicows
20880 wine_fn_config_makefile dlls/updspapi enable_updspapi
20881 wine_fn_config_makefile dlls/url enable_url
20882 wine_fn_config_makefile dlls/urlmon enable_urlmon
20883 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20884 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20885 wine_fn_config_makefile dlls/user.exe16 enable_win16
20886 wine_fn_config_makefile dlls/user32 enable_user32
20887 wine_fn_config_makefile dlls/user32/tests enable_tests
20888 wine_fn_config_makefile dlls/userenv enable_userenv
20889 wine_fn_config_makefile dlls/userenv/tests enable_tests
20890 wine_fn_config_makefile dlls/usp10 enable_usp10
20891 wine_fn_config_makefile dlls/usp10/tests enable_tests
20892 wine_fn_config_makefile dlls/utildll enable_utildll
20893 wine_fn_config_makefile dlls/uuid enable_uuid
20894 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20895 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20896 wine_fn_config_makefile dlls/vbscript enable_vbscript
20897 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20898 wine_fn_config_makefile dlls/vcomp enable_vcomp
20899 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20900 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20901 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20902 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
20903 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20904 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20905 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20906 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20907 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20908 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20909 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20910 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20911 wine_fn_config_makefile dlls/version enable_version
20912 wine_fn_config_makefile dlls/version/tests enable_tests
20913 wine_fn_config_makefile dlls/vga enable_vga
20914 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20915 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20916 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20917 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20918 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20919 wine_fn_config_makefile dlls/vssapi enable_vssapi
20920 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20921 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20922 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20923 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20924 wine_fn_config_makefile dlls/w32skrnl enable_win16
20925 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20926 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20927 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20928 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20929 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20930 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20931 wine_fn_config_makefile dlls/wdscore enable_wdscore
20932 wine_fn_config_makefile dlls/webservices enable_webservices
20933 wine_fn_config_makefile dlls/webservices/tests enable_tests
20934 wine_fn_config_makefile dlls/websocket enable_websocket
20935 wine_fn_config_makefile dlls/wer enable_wer
20936 wine_fn_config_makefile dlls/wer/tests enable_tests
20937 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20938 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
20939 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
20940 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20941 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20942 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20943 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20944 wine_fn_config_makefile dlls/win32u enable_win32u
20945 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20946 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20947 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20948 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
20949 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
20950 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
20951 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
20952 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
20953 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
20954 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
20955 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
20956 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20957 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20958 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20959 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20960 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20961 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20962 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20963 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20964 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20965 wine_fn_config_makefile dlls/wined3d enable_wined3d
20966 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20967 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20968 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20969 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20970 wine_fn_config_makefile dlls/winemapi enable_winemapi
20971 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20972 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20973 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20974 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20975 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20976 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
20977 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20978 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20979 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
20980 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20981 wine_fn_config_makefile dlls/wing32 enable_wing32
20982 wine_fn_config_makefile dlls/winhttp enable_winhttp
20983 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20984 wine_fn_config_makefile dlls/wininet enable_wininet
20985 wine_fn_config_makefile dlls/wininet/tests enable_tests
20986 wine_fn_config_makefile dlls/winmm enable_winmm
20987 wine_fn_config_makefile dlls/winmm/tests enable_tests
20988 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20989 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20990 wine_fn_config_makefile dlls/winscard enable_winscard
20991 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20992 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20993 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20994 wine_fn_config_makefile dlls/winsta enable_winsta
20995 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20996 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20997 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20998 wine_fn_config_makefile dlls/wintrust enable_wintrust
20999 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21000 wine_fn_config_makefile dlls/winusb enable_winusb
21001 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21002 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21003 wine_fn_config_makefile dlls/wlanui enable_wlanui
21004 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21005 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21006 wine_fn_config_makefile dlls/wmasf enable_wmasf
21007 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21008 wine_fn_config_makefile dlls/wmi enable_wmi
21009 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21010 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21011 wine_fn_config_makefile dlls/wmp enable_wmp
21012 wine_fn_config_makefile dlls/wmp/tests enable_tests
21013 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21014 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21015 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21016 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21017 wine_fn_config_makefile dlls/wow32 enable_win16
21018 wine_fn_config_makefile dlls/wow64 enable_wow64
21019 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21020 wine_fn_config_makefile dlls/wow64win enable_wow64win
21021 wine_fn_config_makefile dlls/wpc enable_wpc
21022 wine_fn_config_makefile dlls/wpc/tests enable_tests
21023 wine_fn_config_makefile dlls/wpcap enable_wpcap
21024 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21025 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21026 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21027 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21028 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21029 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21030 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21031 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21032 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21033 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21034 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21035 wine_fn_config_makefile dlls/wuapi enable_wuapi
21036 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21037 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21038 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21039 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21040 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21041 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21042 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21043 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21044 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21045 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21046 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21047 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21048 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21049 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21050 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21051 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21052 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21053 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21054 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21055 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21056 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21057 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21058 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21059 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21060 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21061 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21062 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21063 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21064 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21065 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21066 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21067 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21068 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21069 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21070 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21071 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21072 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21073 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21074 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21075 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21076 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21077 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21078 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21079 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21080 wine_fn_config_makefile dlls/xmllite enable_xmllite
21081 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21082 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21083 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21084 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21085 wine_fn_config_makefile fonts enable_fonts
21086 wine_fn_config_makefile include enable_include
21087 wine_fn_config_makefile libs/port enable_port
21088 wine_fn_config_makefile libs/wine enable_wine
21089 wine_fn_config_makefile loader enable_loader
21090 wine_fn_config_makefile nls enable_nls
21091 wine_fn_config_makefile po enable_po
21092 wine_fn_config_makefile programs/arp enable_arp
21093 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21094 wine_fn_config_makefile programs/attrib enable_attrib
21095 wine_fn_config_makefile programs/cabarc enable_cabarc
21096 wine_fn_config_makefile programs/cacls enable_cacls
21097 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21098 wine_fn_config_makefile programs/clock enable_clock
21099 wine_fn_config_makefile programs/cmd enable_cmd
21100 wine_fn_config_makefile programs/cmd/tests enable_tests
21101 wine_fn_config_makefile programs/conhost enable_conhost
21102 wine_fn_config_makefile programs/conhost/tests enable_tests
21103 wine_fn_config_makefile programs/control enable_control
21104 wine_fn_config_makefile programs/cscript enable_cscript
21105 wine_fn_config_makefile programs/dism enable_dism
21106 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21107 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21108 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21109 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21110 wine_fn_config_makefile programs/eject enable_eject
21111 wine_fn_config_makefile programs/expand enable_expand
21112 wine_fn_config_makefile programs/explorer enable_explorer
21113 wine_fn_config_makefile programs/extrac32 enable_extrac32
21114 wine_fn_config_makefile programs/fc enable_fc
21115 wine_fn_config_makefile programs/find enable_find
21116 wine_fn_config_makefile programs/find/tests enable_tests
21117 wine_fn_config_makefile programs/findstr enable_findstr
21118 wine_fn_config_makefile programs/fsutil enable_fsutil
21119 wine_fn_config_makefile programs/fsutil/tests enable_tests
21120 wine_fn_config_makefile programs/hh enable_hh
21121 wine_fn_config_makefile programs/hostname enable_hostname
21122 wine_fn_config_makefile programs/icacls enable_icacls
21123 wine_fn_config_makefile programs/icinfo enable_icinfo
21124 wine_fn_config_makefile programs/iexplore enable_iexplore
21125 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21126 wine_fn_config_makefile programs/lodctr enable_lodctr
21127 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21128 wine_fn_config_makefile programs/mshta enable_mshta
21129 wine_fn_config_makefile programs/msidb enable_msidb
21130 wine_fn_config_makefile programs/msiexec enable_msiexec
21131 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21132 wine_fn_config_makefile programs/net enable_net
21133 wine_fn_config_makefile programs/netsh enable_netsh
21134 wine_fn_config_makefile programs/netstat enable_netstat
21135 wine_fn_config_makefile programs/ngen enable_ngen
21136 wine_fn_config_makefile programs/notepad enable_notepad
21137 wine_fn_config_makefile programs/oleview enable_oleview
21138 wine_fn_config_makefile programs/ping enable_ping
21139 wine_fn_config_makefile programs/plugplay enable_plugplay
21140 wine_fn_config_makefile programs/powershell enable_powershell
21141 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21142 wine_fn_config_makefile programs/progman enable_progman
21143 wine_fn_config_makefile programs/reg enable_reg
21144 wine_fn_config_makefile programs/reg/tests enable_tests
21145 wine_fn_config_makefile programs/regasm enable_regasm
21146 wine_fn_config_makefile programs/regedit enable_regedit
21147 wine_fn_config_makefile programs/regedit/tests enable_tests
21148 wine_fn_config_makefile programs/regini enable_regini
21149 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21150 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21151 wine_fn_config_makefile programs/rpcss enable_rpcss
21152 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21153 wine_fn_config_makefile programs/rundll32 enable_rundll32
21154 wine_fn_config_makefile programs/sc enable_sc
21155 wine_fn_config_makefile programs/schtasks enable_schtasks
21156 wine_fn_config_makefile programs/schtasks/tests enable_tests
21157 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21158 wine_fn_config_makefile programs/secedit enable_secedit
21159 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21160 wine_fn_config_makefile programs/services enable_services
21161 wine_fn_config_makefile programs/services/tests enable_tests
21162 wine_fn_config_makefile programs/shutdown enable_shutdown
21163 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21164 wine_fn_config_makefile programs/start enable_start
21165 wine_fn_config_makefile programs/subst enable_subst
21166 wine_fn_config_makefile programs/svchost enable_svchost
21167 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21168 wine_fn_config_makefile programs/taskkill enable_taskkill
21169 wine_fn_config_makefile programs/tasklist enable_tasklist
21170 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21171 wine_fn_config_makefile programs/termsv enable_termsv
21172 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21173 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21174 wine_fn_config_makefile programs/view enable_view
21175 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21176 wine_fn_config_makefile programs/where enable_where
21177 wine_fn_config_makefile programs/whoami enable_whoami
21178 wine_fn_config_makefile programs/wineboot enable_wineboot
21179 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21180 wine_fn_config_makefile programs/winecfg enable_winecfg
21181 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21182 wine_fn_config_makefile programs/winedbg enable_winedbg
21183 wine_fn_config_makefile programs/winedevice enable_winedevice
21184 wine_fn_config_makefile programs/winefile enable_winefile
21185 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21186 wine_fn_config_makefile programs/winemine enable_winemine
21187 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21188 wine_fn_config_makefile programs/winepath enable_winepath
21189 wine_fn_config_makefile programs/winetest enable_winetest
21190 wine_fn_config_makefile programs/winevdm enable_win16
21191 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21192 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21193 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21194 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21195 wine_fn_config_makefile programs/winver enable_winver
21196 wine_fn_config_makefile programs/wmic enable_wmic
21197 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21198 wine_fn_config_makefile programs/wordpad enable_wordpad
21199 wine_fn_config_makefile programs/write enable_write
21200 wine_fn_config_makefile programs/wscript enable_wscript
21201 wine_fn_config_makefile programs/wscript/tests enable_tests
21202 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21203 wine_fn_config_makefile programs/wusa enable_wusa
21204 wine_fn_config_makefile programs/xcopy enable_xcopy
21205 wine_fn_config_makefile programs/xcopy/tests enable_tests
21206 wine_fn_config_makefile server enable_server
21207 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21208 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21209 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21210 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21211 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21212 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21213 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21214 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21215 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21218 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21219 wine_fn_append_file CONFIGURE_TARGETS "tags"
21220 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21221 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21222 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21223 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21224 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21225 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21227 if test "x$enable_tools" != xno
21228 then
21229 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21230 ac_config_commands="$ac_config_commands tools/makedep"
21234 ac_config_commands="$ac_config_commands Makefile"
21237 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21241 if test "x$enable_maintainer_mode" = xyes
21242 then
21243 wine_fn_append_rule "configure: configure.ac aclocal.m4
21244 autoconf --warnings=all
21245 include/config.h.in: include/stamp-h.in
21246 include/stamp-h.in: configure.ac aclocal.m4
21247 autoheader --warnings=all
21248 @echo timestamp > \$@"
21251 if test "x$enable_tools" != xno
21252 then
21253 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21254 @./config.status tools/makedep
21255 Makefile: tools/makedep$ac_exeext"
21256 else
21257 wine_fn_append_rule "\$(MAKEDEP):
21258 @echo \"You need to run make in $TOOLSDIR first\" && false"
21261 if test -n "$with_wine64"
21262 then
21263 case "$with_wine64" in
21264 /*) reldir="" ;;
21265 *) reldir="../" ;;
21266 esac
21267 rm -f fonts server 2>/dev/null
21268 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21269 loader/wine64 loader/wine64-preloader:
21270 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21271 $with_wine64/loader/wine:
21272 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21273 $with_wine64/loader/wine-preloader:
21274 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21275 clean::
21276 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21277 else
21278 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21279 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21280 fonts \
21281 loader/wine.inf \
21282 nls \
21283 programs/msidb/msidb \
21284 programs/msiexec/msiexec \
21285 programs/notepad/notepad \
21286 programs/regedit/regedit \
21287 programs/regsvr32/regsvr32 \
21288 programs/wineboot/wineboot \
21289 programs/winecfg/winecfg \
21290 programs/wineconsole/wineconsole \
21291 programs/winedbg/winedbg \
21292 programs/winefile/winefile \
21293 programs/winemine/winemine \
21294 programs/winepath/winepath \
21295 server/wineserver"
21297 case $host_os in
21298 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21299 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21300 esac
21303 $as_echo " done" >&6
21304 cat >confcache <<\_ACEOF
21305 # This file is a shell script that caches the results of configure
21306 # tests run on this system so they can be shared between configure
21307 # scripts and configure runs, see configure's option --config-cache.
21308 # It is not useful on other systems. If it contains results you don't
21309 # want to keep, you may remove or edit it.
21311 # config.status only pays attention to the cache file if you give it
21312 # the --recheck option to rerun configure.
21314 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21315 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21316 # following values.
21318 _ACEOF
21320 # The following way of writing the cache mishandles newlines in values,
21321 # but we know of no workaround that is simple, portable, and efficient.
21322 # So, we kill variables containing newlines.
21323 # Ultrix sh set writes to stderr and can't be redirected directly,
21324 # and sets the high bit in the cache file unless we assign to the vars.
21326 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21327 eval ac_val=\$$ac_var
21328 case $ac_val in #(
21329 *${as_nl}*)
21330 case $ac_var in #(
21331 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21332 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21333 esac
21334 case $ac_var in #(
21335 _ | IFS | as_nl) ;; #(
21336 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21337 *) { eval $ac_var=; unset $ac_var;} ;;
21338 esac ;;
21339 esac
21340 done
21342 (set) 2>&1 |
21343 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21344 *${as_nl}ac_space=\ *)
21345 # `set' does not quote correctly, so add quotes: double-quote
21346 # substitution turns \\\\ into \\, and sed turns \\ into \.
21347 sed -n \
21348 "s/'/'\\\\''/g;
21349 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21350 ;; #(
21352 # `set' quotes correctly as required by POSIX, so do not add quotes.
21353 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21355 esac |
21356 sort
21358 sed '
21359 /^ac_cv_env_/b end
21360 t clear
21361 :clear
21362 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21363 t end
21364 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21365 :end' >>confcache
21366 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21367 if test -w "$cache_file"; then
21368 if test "x$cache_file" != "x/dev/null"; then
21369 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21370 $as_echo "$as_me: updating cache $cache_file" >&6;}
21371 if test ! -f "$cache_file" || test -h "$cache_file"; then
21372 cat confcache >"$cache_file"
21373 else
21374 case $cache_file in #(
21375 */* | ?:*)
21376 mv -f confcache "$cache_file"$$ &&
21377 mv -f "$cache_file"$$ "$cache_file" ;; #(
21379 mv -f confcache "$cache_file" ;;
21380 esac
21383 else
21384 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21385 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21388 rm -f confcache
21390 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21391 # Let make expand exec_prefix.
21392 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21394 DEFS=-DHAVE_CONFIG_H
21396 ac_libobjs=
21397 ac_ltlibobjs=
21399 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21400 # 1. Remove the extension, and $U if already installed.
21401 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21402 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21403 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21404 # will be set to the directory where LIBOBJS objects are built.
21405 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21406 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21407 done
21408 LIBOBJS=$ac_libobjs
21410 LTLIBOBJS=$ac_ltlibobjs
21414 : "${CONFIG_STATUS=./config.status}"
21415 ac_write_fail=0
21416 ac_clean_files_save=$ac_clean_files
21417 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21418 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21419 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21420 as_write_fail=0
21421 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21422 #! $SHELL
21423 # Generated by $as_me.
21424 # Run this file to recreate the current configuration.
21425 # Compiler output produced by configure, useful for debugging
21426 # configure, is in config.log if it exists.
21428 debug=false
21429 ac_cs_recheck=false
21430 ac_cs_silent=false
21432 SHELL=\${CONFIG_SHELL-$SHELL}
21433 export SHELL
21434 _ASEOF
21435 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21436 ## -------------------- ##
21437 ## M4sh Initialization. ##
21438 ## -------------------- ##
21440 # Be more Bourne compatible
21441 DUALCASE=1; export DUALCASE # for MKS sh
21442 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21443 emulate sh
21444 NULLCMD=:
21445 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21446 # is contrary to our usage. Disable this feature.
21447 alias -g '${1+"$@"}'='"$@"'
21448 setopt NO_GLOB_SUBST
21449 else
21450 case `(set -o) 2>/dev/null` in #(
21451 *posix*) :
21452 set -o posix ;; #(
21453 *) :
21455 esac
21459 as_nl='
21461 export as_nl
21462 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21463 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21464 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21465 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21466 # Prefer a ksh shell builtin over an external printf program on Solaris,
21467 # but without wasting forks for bash or zsh.
21468 if test -z "$BASH_VERSION$ZSH_VERSION" \
21469 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21470 as_echo='print -r --'
21471 as_echo_n='print -rn --'
21472 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21473 as_echo='printf %s\n'
21474 as_echo_n='printf %s'
21475 else
21476 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21477 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21478 as_echo_n='/usr/ucb/echo -n'
21479 else
21480 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21481 as_echo_n_body='eval
21482 arg=$1;
21483 case $arg in #(
21484 *"$as_nl"*)
21485 expr "X$arg" : "X\\(.*\\)$as_nl";
21486 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21487 esac;
21488 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21490 export as_echo_n_body
21491 as_echo_n='sh -c $as_echo_n_body as_echo'
21493 export as_echo_body
21494 as_echo='sh -c $as_echo_body as_echo'
21497 # The user is always right.
21498 if test "${PATH_SEPARATOR+set}" != set; then
21499 PATH_SEPARATOR=:
21500 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21501 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21502 PATH_SEPARATOR=';'
21507 # IFS
21508 # We need space, tab and new line, in precisely that order. Quoting is
21509 # there to prevent editors from complaining about space-tab.
21510 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21511 # splitting by setting IFS to empty value.)
21512 IFS=" "" $as_nl"
21514 # Find who we are. Look in the path if we contain no directory separator.
21515 as_myself=
21516 case $0 in #((
21517 *[\\/]* ) as_myself=$0 ;;
21518 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21519 for as_dir in $PATH
21521 IFS=$as_save_IFS
21522 test -z "$as_dir" && as_dir=.
21523 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21524 done
21525 IFS=$as_save_IFS
21528 esac
21529 # We did not find ourselves, most probably we were run as `sh COMMAND'
21530 # in which case we are not to be found in the path.
21531 if test "x$as_myself" = x; then
21532 as_myself=$0
21534 if test ! -f "$as_myself"; then
21535 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21536 exit 1
21539 # Unset variables that we do not need and which cause bugs (e.g. in
21540 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21541 # suppresses any "Segmentation fault" message there. '((' could
21542 # trigger a bug in pdksh 5.2.14.
21543 for as_var in BASH_ENV ENV MAIL MAILPATH
21544 do eval test x\${$as_var+set} = xset \
21545 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21546 done
21547 PS1='$ '
21548 PS2='> '
21549 PS4='+ '
21551 # NLS nuisances.
21552 LC_ALL=C
21553 export LC_ALL
21554 LANGUAGE=C
21555 export LANGUAGE
21557 # CDPATH.
21558 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21561 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21562 # ----------------------------------------
21563 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21564 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21565 # script with STATUS, using 1 if that was 0.
21566 as_fn_error ()
21568 as_status=$1; test $as_status -eq 0 && as_status=1
21569 if test "$4"; then
21570 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21571 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21573 $as_echo "$as_me: error: $2" >&2
21574 as_fn_exit $as_status
21575 } # as_fn_error
21578 # as_fn_set_status STATUS
21579 # -----------------------
21580 # Set $? to STATUS, without forking.
21581 as_fn_set_status ()
21583 return $1
21584 } # as_fn_set_status
21586 # as_fn_exit STATUS
21587 # -----------------
21588 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21589 as_fn_exit ()
21591 set +e
21592 as_fn_set_status $1
21593 exit $1
21594 } # as_fn_exit
21596 # as_fn_unset VAR
21597 # ---------------
21598 # Portably unset VAR.
21599 as_fn_unset ()
21601 { eval $1=; unset $1;}
21603 as_unset=as_fn_unset
21604 # as_fn_append VAR VALUE
21605 # ----------------------
21606 # Append the text in VALUE to the end of the definition contained in VAR. Take
21607 # advantage of any shell optimizations that allow amortized linear growth over
21608 # repeated appends, instead of the typical quadratic growth present in naive
21609 # implementations.
21610 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21611 eval 'as_fn_append ()
21613 eval $1+=\$2
21615 else
21616 as_fn_append ()
21618 eval $1=\$$1\$2
21620 fi # as_fn_append
21622 # as_fn_arith ARG...
21623 # ------------------
21624 # Perform arithmetic evaluation on the ARGs, and store the result in the
21625 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21626 # must be portable across $(()) and expr.
21627 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21628 eval 'as_fn_arith ()
21630 as_val=$(( $* ))
21632 else
21633 as_fn_arith ()
21635 as_val=`expr "$@" || test $? -eq 1`
21637 fi # as_fn_arith
21640 if expr a : '\(a\)' >/dev/null 2>&1 &&
21641 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21642 as_expr=expr
21643 else
21644 as_expr=false
21647 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21648 as_basename=basename
21649 else
21650 as_basename=false
21653 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21654 as_dirname=dirname
21655 else
21656 as_dirname=false
21659 as_me=`$as_basename -- "$0" ||
21660 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21661 X"$0" : 'X\(//\)$' \| \
21662 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21663 $as_echo X/"$0" |
21664 sed '/^.*\/\([^/][^/]*\)\/*$/{
21665 s//\1/
21668 /^X\/\(\/\/\)$/{
21669 s//\1/
21672 /^X\/\(\/\).*/{
21673 s//\1/
21676 s/.*/./; q'`
21678 # Avoid depending upon Character Ranges.
21679 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21680 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21681 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21682 as_cr_digits='0123456789'
21683 as_cr_alnum=$as_cr_Letters$as_cr_digits
21685 ECHO_C= ECHO_N= ECHO_T=
21686 case `echo -n x` in #(((((
21687 -n*)
21688 case `echo 'xy\c'` in
21689 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21690 xy) ECHO_C='\c';;
21691 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21692 ECHO_T=' ';;
21693 esac;;
21695 ECHO_N='-n';;
21696 esac
21698 rm -f conf$$ conf$$.exe conf$$.file
21699 if test -d conf$$.dir; then
21700 rm -f conf$$.dir/conf$$.file
21701 else
21702 rm -f conf$$.dir
21703 mkdir conf$$.dir 2>/dev/null
21705 if (echo >conf$$.file) 2>/dev/null; then
21706 if ln -s conf$$.file conf$$ 2>/dev/null; then
21707 as_ln_s='ln -s'
21708 # ... but there are two gotchas:
21709 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21710 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21711 # In both cases, we have to default to `cp -pR'.
21712 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21713 as_ln_s='cp -pR'
21714 elif ln conf$$.file conf$$ 2>/dev/null; then
21715 as_ln_s=ln
21716 else
21717 as_ln_s='cp -pR'
21719 else
21720 as_ln_s='cp -pR'
21722 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21723 rmdir conf$$.dir 2>/dev/null
21726 # as_fn_mkdir_p
21727 # -------------
21728 # Create "$as_dir" as a directory, including parents if necessary.
21729 as_fn_mkdir_p ()
21732 case $as_dir in #(
21733 -*) as_dir=./$as_dir;;
21734 esac
21735 test -d "$as_dir" || eval $as_mkdir_p || {
21736 as_dirs=
21737 while :; do
21738 case $as_dir in #(
21739 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21740 *) as_qdir=$as_dir;;
21741 esac
21742 as_dirs="'$as_qdir' $as_dirs"
21743 as_dir=`$as_dirname -- "$as_dir" ||
21744 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21745 X"$as_dir" : 'X\(//\)[^/]' \| \
21746 X"$as_dir" : 'X\(//\)$' \| \
21747 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21748 $as_echo X"$as_dir" |
21749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21750 s//\1/
21753 /^X\(\/\/\)[^/].*/{
21754 s//\1/
21757 /^X\(\/\/\)$/{
21758 s//\1/
21761 /^X\(\/\).*/{
21762 s//\1/
21765 s/.*/./; q'`
21766 test -d "$as_dir" && break
21767 done
21768 test -z "$as_dirs" || eval "mkdir $as_dirs"
21769 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21772 } # as_fn_mkdir_p
21773 if mkdir -p . 2>/dev/null; then
21774 as_mkdir_p='mkdir -p "$as_dir"'
21775 else
21776 test -d ./-p && rmdir ./-p
21777 as_mkdir_p=false
21781 # as_fn_executable_p FILE
21782 # -----------------------
21783 # Test if FILE is an executable regular file.
21784 as_fn_executable_p ()
21786 test -f "$1" && test -x "$1"
21787 } # as_fn_executable_p
21788 as_test_x='test -x'
21789 as_executable_p=as_fn_executable_p
21791 # Sed expression to map a string onto a valid CPP name.
21792 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21794 # Sed expression to map a string onto a valid variable name.
21795 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21798 exec 6>&1
21799 ## ----------------------------------- ##
21800 ## Main body of $CONFIG_STATUS script. ##
21801 ## ----------------------------------- ##
21802 _ASEOF
21803 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21806 # Save the log message, to keep $0 and so on meaningful, and to
21807 # report actual input values of CONFIG_FILES etc. instead of their
21808 # values after options handling.
21809 ac_log="
21810 This file was extended by Wine $as_me 6.18, which was
21811 generated by GNU Autoconf 2.69. Invocation command line was
21813 CONFIG_FILES = $CONFIG_FILES
21814 CONFIG_HEADERS = $CONFIG_HEADERS
21815 CONFIG_LINKS = $CONFIG_LINKS
21816 CONFIG_COMMANDS = $CONFIG_COMMANDS
21817 $ $0 $@
21819 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21822 _ACEOF
21824 case $ac_config_files in *"
21825 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21826 esac
21828 case $ac_config_headers in *"
21829 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21830 esac
21833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21834 # Files that config.status was made for.
21835 config_files="$ac_config_files"
21836 config_headers="$ac_config_headers"
21837 config_links="$ac_config_links"
21838 config_commands="$ac_config_commands"
21840 _ACEOF
21842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21843 ac_cs_usage="\
21844 \`$as_me' instantiates files and other configuration actions
21845 from templates according to the current configuration. Unless the files
21846 and actions are specified as TAGs, all are instantiated by default.
21848 Usage: $0 [OPTION]... [TAG]...
21850 -h, --help print this help, then exit
21851 -V, --version print version number and configuration settings, then exit
21852 --config print configuration, then exit
21853 -q, --quiet, --silent
21854 do not print progress messages
21855 -d, --debug don't remove temporary files
21856 --recheck update $as_me by reconfiguring in the same conditions
21857 --file=FILE[:TEMPLATE]
21858 instantiate the configuration file FILE
21859 --header=FILE[:TEMPLATE]
21860 instantiate the configuration header FILE
21862 Configuration files:
21863 $config_files
21865 Configuration headers:
21866 $config_headers
21868 Configuration links:
21869 $config_links
21871 Configuration commands:
21872 $config_commands
21874 Report bugs to <wine-devel@winehq.org>.
21875 Wine home page: <https://www.winehq.org>."
21877 _ACEOF
21878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21879 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21880 ac_cs_version="\\
21881 Wine config.status 6.18
21882 configured by $0, generated by GNU Autoconf 2.69,
21883 with options \\"\$ac_cs_config\\"
21885 Copyright (C) 2012 Free Software Foundation, Inc.
21886 This config.status script is free software; the Free Software Foundation
21887 gives unlimited permission to copy, distribute and modify it."
21889 ac_pwd='$ac_pwd'
21890 srcdir='$srcdir'
21891 test -n "\$AWK" || AWK=awk
21892 _ACEOF
21894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21895 # The default lists apply if the user does not specify any file.
21896 ac_need_defaults=:
21897 while test $# != 0
21899 case $1 in
21900 --*=?*)
21901 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21902 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21903 ac_shift=:
21905 --*=)
21906 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21907 ac_optarg=
21908 ac_shift=:
21911 ac_option=$1
21912 ac_optarg=$2
21913 ac_shift=shift
21915 esac
21917 case $ac_option in
21918 # Handling of the options.
21919 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21920 ac_cs_recheck=: ;;
21921 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21922 $as_echo "$ac_cs_version"; exit ;;
21923 --config | --confi | --conf | --con | --co | --c )
21924 $as_echo "$ac_cs_config"; exit ;;
21925 --debug | --debu | --deb | --de | --d | -d )
21926 debug=: ;;
21927 --file | --fil | --fi | --f )
21928 $ac_shift
21929 case $ac_optarg in
21930 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21931 '') as_fn_error $? "missing file argument" ;;
21932 esac
21933 as_fn_append CONFIG_FILES " '$ac_optarg'"
21934 ac_need_defaults=false;;
21935 --header | --heade | --head | --hea )
21936 $ac_shift
21937 case $ac_optarg in
21938 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21939 esac
21940 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21941 ac_need_defaults=false;;
21942 --he | --h)
21943 # Conflict between --help and --header
21944 as_fn_error $? "ambiguous option: \`$1'
21945 Try \`$0 --help' for more information.";;
21946 --help | --hel | -h )
21947 $as_echo "$ac_cs_usage"; exit ;;
21948 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21949 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21950 ac_cs_silent=: ;;
21952 # This is an error.
21953 -*) as_fn_error $? "unrecognized option: \`$1'
21954 Try \`$0 --help' for more information." ;;
21956 *) as_fn_append ac_config_targets " $1"
21957 ac_need_defaults=false ;;
21959 esac
21960 shift
21961 done
21963 ac_configure_extra_args=
21965 if $ac_cs_silent; then
21966 exec 6>/dev/null
21967 ac_configure_extra_args="$ac_configure_extra_args --silent"
21970 _ACEOF
21971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21972 if \$ac_cs_recheck; then
21973 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21974 shift
21975 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21976 CONFIG_SHELL='$SHELL'
21977 export CONFIG_SHELL
21978 exec "\$@"
21981 _ACEOF
21982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21983 exec 5>>config.log
21985 echo
21986 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21987 ## Running $as_me. ##
21988 _ASBOX
21989 $as_echo "$ac_log"
21990 } >&5
21992 _ACEOF
21993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21995 # INIT-COMMANDS
21997 wine_fn_output_makedep ()
21999 as_dir=tools; as_fn_mkdir_p
22000 $CC -I$srcdir/tools -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22002 wine_fn_output_makefile ()
22004 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22005 `cat $wine_rules_file`
22006 _WINE_EOF
22007 as_fn_error $? "could not create Makefile" "$LINENO" 5
22010 _ACEOF
22012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22014 # Handling of arguments.
22015 for ac_config_target in $ac_config_targets
22017 case $ac_config_target in
22018 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22019 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22020 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22021 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22022 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22023 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22024 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22026 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22027 esac
22028 done
22031 # If the user did not use the arguments to specify the items to instantiate,
22032 # then the envvar interface is used. Set only those that are not.
22033 # We use the long form for the default assignment because of an extremely
22034 # bizarre bug on SunOS 4.1.3.
22035 if $ac_need_defaults; then
22036 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22037 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22038 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22039 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22042 # Have a temporary directory for convenience. Make it in the build tree
22043 # simply because there is no reason against having it here, and in addition,
22044 # creating and moving files from /tmp can sometimes cause problems.
22045 # Hook for its removal unless debugging.
22046 # Note that there is a small window in which the directory will not be cleaned:
22047 # after its creation but before its name has been assigned to `$tmp'.
22048 $debug ||
22050 tmp= ac_tmp=
22051 trap 'exit_status=$?
22052 : "${ac_tmp:=$tmp}"
22053 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22055 trap 'as_fn_exit 1' 1 2 13 15
22057 # Create a (secure) tmp directory for tmp files.
22060 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22061 test -d "$tmp"
22062 } ||
22064 tmp=./conf$$-$RANDOM
22065 (umask 077 && mkdir "$tmp")
22066 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22067 ac_tmp=$tmp
22069 # Set up the scripts for CONFIG_FILES section.
22070 # No need to generate them if there are no CONFIG_FILES.
22071 # This happens for instance with `./config.status config.h'.
22072 if test -n "$CONFIG_FILES"; then
22075 ac_cr=`echo X | tr X '\015'`
22076 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22077 # But we know of no other shell where ac_cr would be empty at this
22078 # point, so we can use a bashism as a fallback.
22079 if test "x$ac_cr" = x; then
22080 eval ac_cr=\$\'\\r\'
22082 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22083 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22084 ac_cs_awk_cr='\\r'
22085 else
22086 ac_cs_awk_cr=$ac_cr
22089 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22090 _ACEOF
22094 echo "cat >conf$$subs.awk <<_ACEOF" &&
22095 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22096 echo "_ACEOF"
22097 } >conf$$subs.sh ||
22098 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22099 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22100 ac_delim='%!_!# '
22101 for ac_last_try in false false false false false :; do
22102 . ./conf$$subs.sh ||
22103 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22105 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22106 if test $ac_delim_n = $ac_delim_num; then
22107 break
22108 elif $ac_last_try; then
22109 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22110 else
22111 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22113 done
22114 rm -f conf$$subs.sh
22116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22117 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22118 _ACEOF
22119 sed -n '
22121 s/^/S["/; s/!.*/"]=/
22124 s/^[^!]*!//
22125 :repl
22126 t repl
22127 s/'"$ac_delim"'$//
22128 t delim
22131 s/\(.\{148\}\)..*/\1/
22132 t more1
22133 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22136 b repl
22137 :more1
22138 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22141 s/.\{148\}//
22142 t nl
22143 :delim
22145 s/\(.\{148\}\)..*/\1/
22146 t more2
22147 s/["\\]/\\&/g; s/^/"/; s/$/"/
22150 :more2
22151 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22154 s/.\{148\}//
22155 t delim
22156 ' <conf$$subs.awk | sed '
22157 /^[^""]/{
22159 s/\n//
22161 ' >>$CONFIG_STATUS || ac_write_fail=1
22162 rm -f conf$$subs.awk
22163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22164 _ACAWK
22165 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22166 for (key in S) S_is_set[key] = 1
22167 FS = "\a"
22171 line = $ 0
22172 nfields = split(line, field, "@")
22173 substed = 0
22174 len = length(field[1])
22175 for (i = 2; i < nfields; i++) {
22176 key = field[i]
22177 keylen = length(key)
22178 if (S_is_set[key]) {
22179 value = S[key]
22180 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22181 len += length(value) + length(field[++i])
22182 substed = 1
22183 } else
22184 len += 1 + keylen
22187 print line
22190 _ACAWK
22191 _ACEOF
22192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22193 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22194 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22195 else
22197 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22198 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22199 _ACEOF
22201 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22202 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22203 # trailing colons and then remove the whole line if VPATH becomes empty
22204 # (actually we leave an empty line to preserve line numbers).
22205 if test "x$srcdir" = x.; then
22206 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22208 s///
22209 s/^/:/
22210 s/[ ]*$/:/
22211 s/:\$(srcdir):/:/g
22212 s/:\${srcdir}:/:/g
22213 s/:@srcdir@:/:/g
22214 s/^:*//
22215 s/:*$//
22217 s/\(=[ ]*\).*/\1/
22219 s/\n//
22220 s/^[^=]*=[ ]*$//
22224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22225 fi # test -n "$CONFIG_FILES"
22227 # Set up the scripts for CONFIG_HEADERS section.
22228 # No need to generate them if there are no CONFIG_HEADERS.
22229 # This happens for instance with `./config.status Makefile'.
22230 if test -n "$CONFIG_HEADERS"; then
22231 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22232 BEGIN {
22233 _ACEOF
22235 # Transform confdefs.h into an awk script `defines.awk', embedded as
22236 # here-document in config.status, that substitutes the proper values into
22237 # config.h.in to produce config.h.
22239 # Create a delimiter string that does not exist in confdefs.h, to ease
22240 # handling of long lines.
22241 ac_delim='%!_!# '
22242 for ac_last_try in false false :; do
22243 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22244 if test -z "$ac_tt"; then
22245 break
22246 elif $ac_last_try; then
22247 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22248 else
22249 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22251 done
22253 # For the awk script, D is an array of macro values keyed by name,
22254 # likewise P contains macro parameters if any. Preserve backslash
22255 # newline sequences.
22257 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22258 sed -n '
22259 s/.\{148\}/&'"$ac_delim"'/g
22260 t rset
22261 :rset
22262 s/^[ ]*#[ ]*define[ ][ ]*/ /
22263 t def
22265 :def
22266 s/\\$//
22267 t bsnl
22268 s/["\\]/\\&/g
22269 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22270 D["\1"]=" \3"/p
22271 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22273 :bsnl
22274 s/["\\]/\\&/g
22275 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22276 D["\1"]=" \3\\\\\\n"\\/p
22277 t cont
22278 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22279 t cont
22281 :cont
22283 s/.\{148\}/&'"$ac_delim"'/g
22284 t clear
22285 :clear
22286 s/\\$//
22287 t bsnlc
22288 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22290 :bsnlc
22291 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22292 b cont
22293 ' <confdefs.h | sed '
22294 s/'"$ac_delim"'/"\\\
22295 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22298 for (key in D) D_is_set[key] = 1
22299 FS = "\a"
22301 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22302 line = \$ 0
22303 split(line, arg, " ")
22304 if (arg[1] == "#") {
22305 defundef = arg[2]
22306 mac1 = arg[3]
22307 } else {
22308 defundef = substr(arg[1], 2)
22309 mac1 = arg[2]
22311 split(mac1, mac2, "(") #)
22312 macro = mac2[1]
22313 prefix = substr(line, 1, index(line, defundef) - 1)
22314 if (D_is_set[macro]) {
22315 # Preserve the white space surrounding the "#".
22316 print prefix "define", macro P[macro] D[macro]
22317 next
22318 } else {
22319 # Replace #undef with comments. This is necessary, for example,
22320 # in the case of _POSIX_SOURCE, which is predefined and required
22321 # on some systems where configure will not decide to define it.
22322 if (defundef == "undef") {
22323 print "/*", prefix defundef, macro, "*/"
22324 next
22328 { print }
22329 _ACAWK
22330 _ACEOF
22331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22332 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22333 fi # test -n "$CONFIG_HEADERS"
22336 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22337 shift
22338 for ac_tag
22340 case $ac_tag in
22341 :[FHLC]) ac_mode=$ac_tag; continue;;
22342 esac
22343 case $ac_mode$ac_tag in
22344 :[FHL]*:*);;
22345 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22346 :[FH]-) ac_tag=-:-;;
22347 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22348 esac
22349 ac_save_IFS=$IFS
22350 IFS=:
22351 set x $ac_tag
22352 IFS=$ac_save_IFS
22353 shift
22354 ac_file=$1
22355 shift
22357 case $ac_mode in
22358 :L) ac_source=$1;;
22359 :[FH])
22360 ac_file_inputs=
22361 for ac_f
22363 case $ac_f in
22364 -) ac_f="$ac_tmp/stdin";;
22365 *) # Look for the file first in the build tree, then in the source tree
22366 # (if the path is not absolute). The absolute path cannot be DOS-style,
22367 # because $ac_f cannot contain `:'.
22368 test -f "$ac_f" ||
22369 case $ac_f in
22370 [\\/$]*) false;;
22371 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22372 esac ||
22373 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22374 esac
22375 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22376 as_fn_append ac_file_inputs " '$ac_f'"
22377 done
22379 # Let's still pretend it is `configure' which instantiates (i.e., don't
22380 # use $as_me), people would be surprised to read:
22381 # /* config.h. Generated by config.status. */
22382 configure_input='Generated from '`
22383 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22384 `' by configure.'
22385 if test x"$ac_file" != x-; then
22386 configure_input="$ac_file. $configure_input"
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22388 $as_echo "$as_me: creating $ac_file" >&6;}
22390 # Neutralize special characters interpreted by sed in replacement strings.
22391 case $configure_input in #(
22392 *\&* | *\|* | *\\* )
22393 ac_sed_conf_input=`$as_echo "$configure_input" |
22394 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22395 *) ac_sed_conf_input=$configure_input;;
22396 esac
22398 case $ac_tag in
22399 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22400 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22401 esac
22403 esac
22405 ac_dir=`$as_dirname -- "$ac_file" ||
22406 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22407 X"$ac_file" : 'X\(//\)[^/]' \| \
22408 X"$ac_file" : 'X\(//\)$' \| \
22409 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22410 $as_echo X"$ac_file" |
22411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22412 s//\1/
22415 /^X\(\/\/\)[^/].*/{
22416 s//\1/
22419 /^X\(\/\/\)$/{
22420 s//\1/
22423 /^X\(\/\).*/{
22424 s//\1/
22427 s/.*/./; q'`
22428 as_dir="$ac_dir"; as_fn_mkdir_p
22429 ac_builddir=.
22431 case "$ac_dir" in
22432 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22434 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22435 # A ".." for each directory in $ac_dir_suffix.
22436 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22437 case $ac_top_builddir_sub in
22438 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22439 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22440 esac ;;
22441 esac
22442 ac_abs_top_builddir=$ac_pwd
22443 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22444 # for backward compatibility:
22445 ac_top_builddir=$ac_top_build_prefix
22447 case $srcdir in
22448 .) # We are building in place.
22449 ac_srcdir=.
22450 ac_top_srcdir=$ac_top_builddir_sub
22451 ac_abs_top_srcdir=$ac_pwd ;;
22452 [\\/]* | ?:[\\/]* ) # Absolute name.
22453 ac_srcdir=$srcdir$ac_dir_suffix;
22454 ac_top_srcdir=$srcdir
22455 ac_abs_top_srcdir=$srcdir ;;
22456 *) # Relative name.
22457 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22458 ac_top_srcdir=$ac_top_build_prefix$srcdir
22459 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22460 esac
22461 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22464 case $ac_mode in
22467 # CONFIG_FILE
22470 _ACEOF
22472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22473 # If the template does not know about datarootdir, expand it.
22474 # FIXME: This hack should be removed a few years after 2.60.
22475 ac_datarootdir_hack=; ac_datarootdir_seen=
22476 ac_sed_dataroot='
22477 /datarootdir/ {
22481 /@datadir@/p
22482 /@docdir@/p
22483 /@infodir@/p
22484 /@localedir@/p
22485 /@mandir@/p'
22486 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22487 *datarootdir*) ac_datarootdir_seen=yes;;
22488 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22490 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22491 _ACEOF
22492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22493 ac_datarootdir_hack='
22494 s&@datadir@&$datadir&g
22495 s&@docdir@&$docdir&g
22496 s&@infodir@&$infodir&g
22497 s&@localedir@&$localedir&g
22498 s&@mandir@&$mandir&g
22499 s&\\\${datarootdir}&$datarootdir&g' ;;
22500 esac
22501 _ACEOF
22503 # Neutralize VPATH when `$srcdir' = `.'.
22504 # Shell code in configure.ac might set extrasub.
22505 # FIXME: do we really want to maintain this feature?
22506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22507 ac_sed_extra="$ac_vpsub
22508 $extrasub
22509 _ACEOF
22510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22512 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22513 s|@configure_input@|$ac_sed_conf_input|;t t
22514 s&@top_builddir@&$ac_top_builddir_sub&;t t
22515 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22516 s&@srcdir@&$ac_srcdir&;t t
22517 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22518 s&@top_srcdir@&$ac_top_srcdir&;t t
22519 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22520 s&@builddir@&$ac_builddir&;t t
22521 s&@abs_builddir@&$ac_abs_builddir&;t t
22522 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22523 $ac_datarootdir_hack
22525 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22526 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22528 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22529 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22530 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22531 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22533 which seems to be undefined. Please make sure it is defined" >&5
22534 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22535 which seems to be undefined. Please make sure it is defined" >&2;}
22537 rm -f "$ac_tmp/stdin"
22538 case $ac_file in
22539 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22540 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22541 esac \
22542 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22546 # CONFIG_HEADER
22548 if test x"$ac_file" != x-; then
22550 $as_echo "/* $configure_input */" \
22551 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22552 } >"$ac_tmp/config.h" \
22553 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22554 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22555 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22556 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22557 else
22558 rm -f "$ac_file"
22559 mv "$ac_tmp/config.h" "$ac_file" \
22560 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22562 else
22563 $as_echo "/* $configure_input */" \
22564 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22565 || as_fn_error $? "could not create -" "$LINENO" 5
22570 # CONFIG_LINK
22573 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22575 else
22576 # Prefer the file from the source tree if names are identical.
22577 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22578 ac_source=$srcdir/$ac_source
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22582 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22584 if test ! -r "$ac_source"; then
22585 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22587 rm -f "$ac_file"
22589 # Try a relative symlink, then a hard link, then a copy.
22590 case $ac_source in
22591 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22592 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22593 esac
22594 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22595 ln "$ac_source" "$ac_file" 2>/dev/null ||
22596 cp -p "$ac_source" "$ac_file" ||
22597 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22600 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22601 $as_echo "$as_me: executing $ac_file commands" >&6;}
22603 esac
22606 case $ac_file$ac_mode in
22607 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22608 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22609 "Makefile":C) wine_fn_output_makefile Makefile ;;
22611 esac
22612 done # for ac_tag
22615 as_fn_exit 0
22616 _ACEOF
22617 ac_clean_files=$ac_clean_files_save
22619 test $ac_write_fail = 0 ||
22620 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22623 # configure is writing to config.log, and then calls config.status.
22624 # config.status does its own redirection, appending to config.log.
22625 # Unfortunately, on DOS this fails, as config.log is still kept open
22626 # by configure, so config.status won't be able to write to it; its
22627 # output is simply discarded. So we exec the FD to /dev/null,
22628 # effectively closing config.log, so it can be properly (re)opened and
22629 # appended to by config.status. When coming back to configure, we
22630 # need to make the FD available again.
22631 if test "$no_create" != yes; then
22632 ac_cs_success=:
22633 ac_config_status_args=
22634 test "$silent" = yes &&
22635 ac_config_status_args="$ac_config_status_args --quiet"
22636 exec 5>/dev/null
22637 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22638 exec 5>>config.log
22639 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22640 # would make configure fail if this is the last instruction.
22641 $ac_cs_success || as_fn_exit 1
22643 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22645 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22649 if test "$no_create" = "yes"
22650 then
22651 exit 0
22654 ac_save_IFS="$IFS"
22655 if test "x$wine_notices" != x; then
22656 echo >&6
22657 IFS="|"
22658 for msg in $wine_notices; do
22659 IFS="$ac_save_IFS"
22660 if ${msg:+false} :; then :
22662 else
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22664 $as_echo "$as_me: $msg" >&6;}
22666 done
22668 IFS="|"
22669 for msg in $wine_warnings; do
22670 IFS="$ac_save_IFS"
22671 if ${msg:+false} :; then :
22673 else
22674 echo >&2
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22676 $as_echo "$as_me: WARNING: $msg" >&2;}
22678 done
22679 IFS="$ac_save_IFS"
22681 $as_echo "
22682 $as_me: Finished. Do '${ac_make}' to compile Wine.
22683 " >&6